@solibo/solibo-query 1.5.1 → 1.5.2

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.
Files changed (208) hide show
  1. package/dist/api/queries/administration/agreementDetails.d.ts +2 -2
  2. package/dist/api/queries/administration/insuranceAgreements.d.ts +3 -3
  3. package/dist/api/queries/administration/insuranceAgreements.js +8 -3
  4. package/dist/api/queries/administration/insuranceAgreements.js.map +1 -1
  5. package/dist/api/queries/administration/loanAgreements.d.ts +4 -4
  6. package/dist/api/queries/administration/loanAgreements.js +9 -4
  7. package/dist/api/queries/administration/loanAgreements.js.map +1 -1
  8. package/dist/api/queries/administration/loanChangeLog.d.ts +1 -1
  9. package/dist/api/queries/administration/tripletexDetails.d.ts +3 -3
  10. package/dist/api/queries/administration/tripletexDetails.js +6 -2
  11. package/dist/api/queries/administration/tripletexDetails.js.map +1 -1
  12. package/dist/api/queries/board/boardMembers.d.ts +3 -3
  13. package/dist/api/queries/board/boardMembers.js +8 -3
  14. package/dist/api/queries/board/boardMembers.js.map +1 -1
  15. package/dist/api/queries/board/showPersonalIdentityNumberOnBoardMember.d.ts +1 -1
  16. package/dist/api/queries/communication/availableBundles.d.ts +1 -1
  17. package/dist/api/queries/communication/availableSMS.d.ts +1 -1
  18. package/dist/api/queries/communication/communicationReport.d.ts +1 -1
  19. package/dist/api/queries/communication/newsletter.d.ts +1 -1
  20. package/dist/api/queries/communication/newsletters.d.ts +12 -12
  21. package/dist/api/queries/communication/newsletters.js +24 -16
  22. package/dist/api/queries/communication/newsletters.js.map +1 -1
  23. package/dist/api/queries/communication/notificationgroupsEmail.d.ts +1 -1
  24. package/dist/api/queries/communication/notificationgroupsSms.d.ts +1 -1
  25. package/dist/api/queries/communication/sMSAvailableForSMSBroadcastPost.d.ts +1 -1
  26. package/dist/api/queries/communication/sMSBroadcast.d.ts +1 -1
  27. package/dist/api/queries/communication/sMSBroadcasts.d.ts +1 -1
  28. package/dist/api/queries/communication/sMSPurchases.d.ts +1 -1
  29. package/dist/api/queries/company/administratorsForCompany.d.ts +1 -1
  30. package/dist/api/queries/company/availableAdministratorsForCompany.d.ts +1 -1
  31. package/dist/api/queries/company/companies.d.ts +9 -9
  32. package/dist/api/queries/company/companies.js +14 -10
  33. package/dist/api/queries/company/companies.js.map +1 -1
  34. package/dist/api/queries/company/companyAddresses.d.ts +1 -1
  35. package/dist/api/queries/company/companyById.d.ts +1 -1
  36. package/dist/api/queries/company/companyDetailed.d.ts +1 -1
  37. package/dist/api/queries/company/companyDraft.d.ts +1 -1
  38. package/dist/api/queries/company/companyDrafts.d.ts +1 -1
  39. package/dist/api/queries/company/companyOrdinances.d.ts +1 -1
  40. package/dist/api/queries/company/fractions.d.ts +1 -1
  41. package/dist/api/queries/conversation/companyConversationCategoriesForRequests.d.ts +1 -1
  42. package/dist/api/queries/conversation/conversation.d.ts +1 -1
  43. package/dist/api/queries/conversation/conversationCategories.d.ts +1 -1
  44. package/dist/api/queries/conversation/conversationCount.d.ts +1 -1
  45. package/dist/api/queries/conversation/conversationFolders.d.ts +2 -2
  46. package/dist/api/queries/conversation/conversations.d.ts +13 -13
  47. package/dist/api/queries/conversation/conversations.js +23 -14
  48. package/dist/api/queries/conversation/conversations.js.map +1 -1
  49. package/dist/api/queries/conversation/conversationsByParticipant.d.ts +1 -1
  50. package/dist/api/queries/conversation/publicConversation.d.ts +2 -2
  51. package/dist/api/queries/conversation/publicConversationAuth.d.ts +1 -1
  52. package/dist/api/queries/conversation/unreadConversationsCount.d.ts +1 -1
  53. package/dist/api/queries/document/documentActions.d.ts +4 -4
  54. package/dist/api/queries/document/documentActions.js +15 -6
  55. package/dist/api/queries/document/documentActions.js.map +1 -1
  56. package/dist/api/queries/document/documents.d.ts +7 -7
  57. package/dist/api/queries/document/documents.js +20 -10
  58. package/dist/api/queries/document/documents.js.map +1 -1
  59. package/dist/api/queries/document/documentsOfTypeForCompany.d.ts +1 -1
  60. package/dist/api/queries/document/getDocumentURL.d.ts +1 -1
  61. package/dist/api/queries/document/searchDocumentsForCompany.d.ts +1 -1
  62. package/dist/api/queries/economy/checkIfAccountingAvailable.d.ts +1 -1
  63. package/dist/api/queries/economy/economicReports.d.ts +2 -2
  64. package/dist/api/queries/economy/invoiceArchive.d.ts +1 -1
  65. package/dist/api/queries/economy/invoiceForApprovalCount.d.ts +1 -1
  66. package/dist/api/queries/economy/invoiceNotification.d.ts +1 -1
  67. package/dist/api/queries/economy/invoices.d.ts +13 -13
  68. package/dist/api/queries/economy/invoices.js +26 -12
  69. package/dist/api/queries/economy/invoices.js.map +1 -1
  70. package/dist/api/queries/economy/status.d.ts +1 -1
  71. package/dist/api/queries/economy/unattestedCounts.d.ts +2 -2
  72. package/dist/api/queries/expense/expense.d.ts +1 -1
  73. package/dist/api/queries/expense/expenseList.d.ts +4 -4
  74. package/dist/api/queries/expense/expenseList.js +9 -4
  75. package/dist/api/queries/expense/expenseList.js.map +1 -1
  76. package/dist/api/queries/expense/expenseTypes.d.ts +1 -1
  77. package/dist/api/queries/hms/hMSReportRoutines.d.ts +1 -1
  78. package/dist/api/queries/hms/hMSSettings.d.ts +3 -3
  79. package/dist/api/queries/hms/hMSSettings.js +3 -3
  80. package/dist/api/queries/hms/hMSSettings.js.map +1 -1
  81. package/dist/api/queries/homepage/homepage.d.ts +10 -10
  82. package/dist/api/queries/homepage/homepage.js +26 -13
  83. package/dist/api/queries/homepage/homepage.js.map +1 -1
  84. package/dist/api/queries/homepage/homepageFeed.d.ts +2 -2
  85. package/dist/api/queries/homepage/openHomepageDocument.d.ts +1 -1
  86. package/dist/api/queries/homepage/openHomepageFeed.d.ts +2 -2
  87. package/dist/api/queries/homepage/postDocuments.d.ts +1 -1
  88. package/dist/api/queries/homepage/postNotificationgroups.d.ts +1 -1
  89. package/dist/api/queries/homepage/sMSAvailableForPost.d.ts +1 -1
  90. package/dist/api/queries/invoicing/adHocGroupById.d.ts +1 -1
  91. package/dist/api/queries/invoicing/adHocGroups.d.ts +1 -1
  92. package/dist/api/queries/invoicing/checkTriplewinActivated.d.ts +1 -1
  93. package/dist/api/queries/invoicing/creditNotes.d.ts +1 -1
  94. package/dist/api/queries/invoicing/customer.d.ts +1 -1
  95. package/dist/api/queries/invoicing/customerInvoices.d.ts +1 -1
  96. package/dist/api/queries/invoicing/customerMetadata.d.ts +1 -1
  97. package/dist/api/queries/invoicing/customerRecipient.d.ts +1 -1
  98. package/dist/api/queries/invoicing/customers.d.ts +1 -1
  99. package/dist/api/queries/invoicing/historicInvoices.d.ts +1 -1
  100. package/dist/api/queries/invoicing/invoicePlan.d.ts +1 -1
  101. package/dist/api/queries/invoicing/invoicePlanDistributions.d.ts +2 -2
  102. package/dist/api/queries/invoicing/invoicePlanLine.d.ts +1 -1
  103. package/dist/api/queries/invoicing/invoicePlanLines.d.ts +1 -1
  104. package/dist/api/queries/invoicing/invoicePlanTransactions.d.ts +2 -2
  105. package/dist/api/queries/invoicing/invoicePlans.d.ts +1 -1
  106. package/dist/api/queries/invoicing/invoicePlansForSection.d.ts +1 -1
  107. package/dist/api/queries/invoicing/invoiceSettings.d.ts +1 -1
  108. package/dist/api/queries/invoicing/invoicingAdHocLines.d.ts +4 -4
  109. package/dist/api/queries/invoicing/invoicingInvoiceDetails.d.ts +5 -5
  110. package/dist/api/queries/invoicing/invoicingKeys.d.ts +39 -39
  111. package/dist/api/queries/invoicing/invoicingKeys.js +148 -61
  112. package/dist/api/queries/invoicing/invoicingKeys.js.map +1 -1
  113. package/dist/api/queries/invoicing/invoicingPlanTypes.d.ts +1 -1
  114. package/dist/api/queries/invoicing/massInvoiceForCompany.d.ts +1 -1
  115. package/dist/api/queries/invoicing/massInvoicePdfPreview.d.ts +1 -1
  116. package/dist/api/queries/invoicing/massInvoicePreview.d.ts +1 -1
  117. package/dist/api/queries/invoicing/planSettings.d.ts +1 -1
  118. package/dist/api/queries/invoicing/preview.d.ts +1 -1
  119. package/dist/api/queries/invoicing/previewPdf.d.ts +1 -1
  120. package/dist/api/queries/invoicing/queuedInvoicePdf.d.ts +1 -1
  121. package/dist/api/queries/invoicing/queuedInvoices.d.ts +1 -1
  122. package/dist/api/queries/invoicing/recipient.d.ts +1 -1
  123. package/dist/api/queries/issue/issue.d.ts +1 -1
  124. package/dist/api/queries/issue/issues.d.ts +3 -3
  125. package/dist/api/queries/issue/issues.js +3 -3
  126. package/dist/api/queries/issue/issues.js.map +1 -1
  127. package/dist/api/queries/meeting/meetings.d.ts +4 -4
  128. package/dist/api/queries/meeting/meetings.js +3 -3
  129. package/dist/api/queries/meeting/meetings.js.map +1 -1
  130. package/dist/api/queries/organization/organization.d.ts +1 -1
  131. package/dist/api/queries/organization/organizationsInCompany.d.ts +3 -3
  132. package/dist/api/queries/organization/organizationsInCompany.js +3 -3
  133. package/dist/api/queries/organization/organizationsInCompany.js.map +1 -1
  134. package/dist/api/queries/parkingSpaces/parkingSpaces.d.ts +4 -4
  135. package/dist/api/queries/parkingSpaces/parkingSpaces.js +8 -3
  136. package/dist/api/queries/parkingSpaces/parkingSpaces.js.map +1 -1
  137. package/dist/api/queries/person/person.d.ts +1 -1
  138. package/dist/api/queries/person/persons.d.ts +3 -3
  139. package/dist/api/queries/person/persons.js +3 -3
  140. package/dist/api/queries/person/persons.js.map +1 -1
  141. package/dist/api/queries/residentsAndSections/existingSectionTagsInCompany.d.ts +1 -1
  142. package/dist/api/queries/residentsAndSections/loansByFraction.d.ts +1 -1
  143. package/dist/api/queries/residentsAndSections/ownershipChanges.d.ts +1 -1
  144. package/dist/api/queries/residentsAndSections/personalID.d.ts +1 -1
  145. package/dist/api/queries/residentsAndSections/residentHistory.d.ts +1 -1
  146. package/dist/api/queries/residentsAndSections/residentOccupancy.d.ts +1 -1
  147. package/dist/api/queries/residentsAndSections/residentSearch.d.ts +2 -2
  148. package/dist/api/queries/residentsAndSections/residentTypes.d.ts +1 -1
  149. package/dist/api/queries/residentsAndSections/residents.d.ts +8 -8
  150. package/dist/api/queries/residentsAndSections/residents.js +20 -10
  151. package/dist/api/queries/residentsAndSections/residents.js.map +1 -1
  152. package/dist/api/queries/residentsAndSections/sectionOccupancy.d.ts +1 -1
  153. package/dist/api/queries/residentsAndSections/sectionStatus.d.ts +2 -2
  154. package/dist/api/queries/residentsAndSections/sectionTags.d.ts +1 -1
  155. package/dist/api/queries/residentsAndSections/sectionTenants.d.ts +1 -1
  156. package/dist/api/queries/residentsAndSections/sections.d.ts +11 -11
  157. package/dist/api/queries/residentsAndSections/sections.js +37 -11
  158. package/dist/api/queries/residentsAndSections/sections.js.map +1 -1
  159. package/dist/api/queries/residentsAndSections/sectionsTags.d.ts +1 -1
  160. package/dist/api/queries/routines/availableRoutineTypes.d.ts +1 -1
  161. package/dist/api/queries/routines/companyFeatures.d.ts +1 -1
  162. package/dist/api/queries/routines/routine.d.ts +1 -1
  163. package/dist/api/queries/routines/routineGroupDrafts.d.ts +1 -1
  164. package/dist/api/queries/routines/routines.d.ts +6 -6
  165. package/dist/api/queries/routines/routines.js +16 -6
  166. package/dist/api/queries/routines/routines.js.map +1 -1
  167. package/dist/api/queries/settlement/settlement.d.ts +1 -1
  168. package/dist/api/queries/settlement/settlementCustomCost.d.ts +1 -1
  169. package/dist/api/queries/settlement/settlementCustomCosts.d.ts +1 -1
  170. package/dist/api/queries/settlement/settlementInvoices.d.ts +1 -1
  171. package/dist/api/queries/settlement/settlementProviderConfiguration.d.ts +1 -1
  172. package/dist/api/queries/settlement/settlementProviderConfigurations.d.ts +1 -1
  173. package/dist/api/queries/settlement/settlementProviders.d.ts +1 -1
  174. package/dist/api/queries/settlement/settlementTypes.d.ts +1 -1
  175. package/dist/api/queries/settlement/settlements.d.ts +10 -10
  176. package/dist/api/queries/settlement/settlements.js +27 -13
  177. package/dist/api/queries/settlement/settlements.js.map +1 -1
  178. package/dist/api/queries/storageRoom/storageRooms.d.ts +4 -4
  179. package/dist/api/queries/storageRoom/storageRooms.js +8 -3
  180. package/dist/api/queries/storageRoom/storageRooms.js.map +1 -1
  181. package/dist/api/queries/supplier/supplierContacts.d.ts +1 -1
  182. package/dist/api/queries/supplier/supplierDetails.d.ts +2 -2
  183. package/dist/api/queries/supplier/suppliers.d.ts +4 -4
  184. package/dist/api/queries/supplier/suppliers.js +12 -7
  185. package/dist/api/queries/supplier/suppliers.js.map +1 -1
  186. package/dist/api/queries/supplier/suppliersAndContacts.d.ts +2 -2
  187. package/dist/api/queries/task/tasks.d.ts +2 -2
  188. package/dist/api/queries/task/tasks.js +2 -2
  189. package/dist/api/queries/task/tasks.js.map +1 -1
  190. package/dist/api/queries/thirdPartyInformation/singleThirdPartyInformation.d.ts +1 -1
  191. package/dist/api/queries/thirdPartyInformation/skatteetatenDialog.d.ts +1 -1
  192. package/dist/api/queries/thirdPartyInformation/thirdPartyInformation.d.ts +8 -8
  193. package/dist/api/queries/thirdPartyInformation/thirdPartyInformation.js +18 -13
  194. package/dist/api/queries/thirdPartyInformation/thirdPartyInformation.js.map +1 -1
  195. package/dist/api/queries/thirdPartyInformation/thirdPartyInformationLetters.d.ts +2 -2
  196. package/dist/api/queries/thirdPartyInformation/totalsForThirdPartyInformation.d.ts +1 -1
  197. package/dist/api/queries/user/user.d.ts +2 -2
  198. package/dist/api/queries/user/user.js +3 -3
  199. package/dist/api/queries/user/user.js.map +1 -1
  200. package/dist/api/queries/user/userActions.d.ts +1 -1
  201. package/dist/api/queries/user/userImage.d.ts +1 -1
  202. package/dist/index.d.ts +1 -1
  203. package/dist/index.js +1 -1
  204. package/dist/index.js.map +1 -1
  205. package/dist/utils/kt-bridge.d.ts +12 -0
  206. package/dist/utils/kt-bridge.js +5 -0
  207. package/dist/utils/kt-bridge.js.map +1 -1
  208. package/package.json +2 -2
@@ -1,35 +1,40 @@
1
- import { fromKt } from "../../../utils/kt-bridge.js";
1
+ import { fromKt, toKeyId } from "../../../utils/kt-bridge.js";
2
2
  export const thirdPartyInformationKeys = {
3
3
  all: ["thirdPartyInformation"],
4
- list: (companyId) => [...thirdPartyInformationKeys.all, "list", companyId],
4
+ list: (companyId) => [...thirdPartyInformationKeys.all, "list", toKeyId(companyId)],
5
5
  detail: (thirdPartyInformationId) => [
6
6
  ...thirdPartyInformationKeys.all,
7
7
  "detail",
8
- thirdPartyInformationId,
8
+ toKeyId(thirdPartyInformationId),
9
+ ],
10
+ dialog: (companyId, year) => [
11
+ ...thirdPartyInformationKeys.all,
12
+ "dialog",
13
+ toKeyId(companyId),
14
+ year,
9
15
  ],
10
- dialog: (companyId, year) => [...thirdPartyInformationKeys.all, "dialog", companyId, year],
11
16
  letters: (companyId, sectionId, personId) => [
12
17
  ...thirdPartyInformationKeys.all,
13
18
  "letters",
14
- companyId,
15
- sectionId,
16
- personId,
19
+ toKeyId(companyId),
20
+ toKeyId(sectionId),
21
+ toKeyId(personId),
17
22
  ],
18
23
  letter: (companyId, thirdPartyInformationId) => [
19
24
  ...thirdPartyInformationKeys.all,
20
25
  "letter",
21
- companyId,
22
- thirdPartyInformationId,
26
+ toKeyId(companyId),
27
+ toKeyId(thirdPartyInformationId),
23
28
  ],
24
29
  letterByYear: (companyId, sectionId, personId, dialogYear) => [
25
30
  ...thirdPartyInformationKeys.all,
26
31
  "letterByYear",
27
- companyId,
28
- sectionId,
29
- personId,
32
+ toKeyId(companyId),
33
+ toKeyId(sectionId),
34
+ toKeyId(personId),
30
35
  dialogYear,
31
36
  ],
32
- totals: (companyId) => [...thirdPartyInformationKeys.all, "totals", companyId],
37
+ totals: (companyId) => [...thirdPartyInformationKeys.all, "totals", toKeyId(companyId)],
33
38
  };
34
39
  export function thirdPartyInformationQueryOptions(sdk, params) {
35
40
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"thirdPartyInformation.js","sourceRoot":"","sources":["../../../../src/api/queries/thirdPartyInformation/thirdPartyInformation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAM,MAAM,6BAA6B,CAAC;AAEzD,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,GAAG,EAAE,CAAC,uBAAuB,CAAU;IACvC,IAAI,EAAE,CAAC,SAAi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,GAAG,CAAC,UAAU;aACf,0BAA0B,CACzB,MAAM,CAAC,MAAM,CAAC,SAAU,CAAC,CAAC,OAAO,EAAE,EACnC,MAAM,CAAC,IAAI,EACX,MAAM,CAAC,MAAM,EACb,SAAS,EACT,MAAM,CAAC,YAAY,EACnB,MAAM,CAAC,KAAK,CACb;aACA,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;aACzB,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEjC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS;QAC3B,eAAe,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK;QAC9C,gBAAgB,EAAE,CAAC,QAAa,EAAE,EAAE,CAClC,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,aAAa;YACtC,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI;QAC5B,oBAAoB,EAAE,CAAC,QAAa,EAAE,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ;KACpE,CAAC;AACJ,CAAC","sourcesContent":["import { SoliboSDK } from \"@solibo/solibo-sdk\";\nimport { fromKt, Id } from \"../../../utils/kt-bridge.js\";\n\nexport const thirdPartyInformationKeys = {\n all: [\"thirdPartyInformation\"] as const,\n list: (companyId?: Id | null | undefined) =>\n [...thirdPartyInformationKeys.all, \"list\", companyId] as const,\n detail: (thirdPartyInformationId?: Id | null | undefined) =>\n [\n ...thirdPartyInformationKeys.all,\n \"detail\",\n thirdPartyInformationId,\n ] as const,\n dialog: (companyId?: Id | null | undefined, year?: number) =>\n [...thirdPartyInformationKeys.all, \"dialog\", companyId, year] as const,\n letters: (\n companyId?: Id | null | undefined,\n sectionId?: Id | null | undefined,\n personId?: Id | null | undefined,\n ) =>\n [\n ...thirdPartyInformationKeys.all,\n \"letters\",\n companyId,\n sectionId,\n personId,\n ] as const,\n letter: (\n companyId?: Id | null | undefined,\n thirdPartyInformationId?: Id | null | undefined,\n ) =>\n [\n ...thirdPartyInformationKeys.all,\n \"letter\",\n companyId,\n thirdPartyInformationId,\n ] as const,\n letterByYear: (\n companyId?: Id | null | undefined,\n sectionId?: Id | null | undefined,\n personId?: Id | null | undefined,\n dialogYear?: string,\n ) =>\n [\n ...thirdPartyInformationKeys.all,\n \"letterByYear\",\n companyId,\n sectionId,\n personId,\n dialogYear,\n ] as const,\n totals: (companyId?: Id | null | undefined) =>\n [...thirdPartyInformationKeys.all, \"totals\", companyId] as const,\n};\n\nexport function thirdPartyInformationQueryOptions(\n sdk: SoliboSDK,\n params: {\n companyId?: Id | null | undefined;\n polling?: boolean;\n year?: bigint | null;\n fields?: string;\n pageToken?: string;\n autoPaginate?: boolean | null;\n count?: number;\n },\n) {\n return {\n initialPageParam: params.pageToken,\n queryKey: [\n thirdPartyInformationKeys.list(params.companyId),\n params.fields,\n params.count,\n ],\n queryFn: ({ pageParam }: { pageParam: any }) =>\n sdk.api.thirdParty\n .indexThirdPartyInformation(\n BigInt(params.companyId!).valueOf(),\n params.year,\n params.fields,\n pageParam,\n params.autoPaginate,\n params.count,\n )\n .then((res) => res.body())\n .then((body) => fromKt(body)),\n\n enabled: !!params.companyId,\n refetchInterval: params.polling ? 2000 : false,\n getNextPageParam: (lastPage: any) =>\n lastPage?.paging?.next === \"END_OF_LIST\"\n ? undefined\n : lastPage?.paging?.next,\n getPreviousPageParam: (lastPage: any) => lastPage?.paging?.previous,\n };\n}\n"]}
1
+ {"version":3,"file":"thirdPartyInformation.js","sourceRoot":"","sources":["../../../../src/api/queries/thirdPartyInformation/thirdPartyInformation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAM,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAElE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,GAAG,EAAE,CAAC,uBAAuB,CA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ACd,MAQC;IAED,OAAO;QACL,gBAAgB,EAAE,MAAM,CAAC,SAAS;QAClC,QAAQ,EAAE;YACR,yBAAyB,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,MAAM;YACb,MAAM,CAAC,KAAK;SACb;QACD,OAAO,EAAE,CAAC,EAAE,SAAS,EAAsB,EAAE,EAAE,CAC7C,GAAG,CAAC,GAAG,CAAC,UAAU;aACf,0BAA0B,CACzB,MAAM,CAAC,MAAM,CAAC,SAAU,CAAC,CAAC,OAAO,EAAE,EACnC,MAAM,CAAC,IAAI,EACX,MAAM,CAAC,MAAM,EACb,SAAS,EACT,MAAM,CAAC,YAAY,EACnB,MAAM,CAAC,KAAK,CACb;aACA,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;aACzB,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEjC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS;QAC3B,eAAe,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK;QAC9C,gBAAgB,EAAE,CAAC,QAAa,EAAE,EAAE,CAClC,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,aAAa;YACtC,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI;QAC5B,oBAAoB,EAAE,CAAC,QAAa,EAAE,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ;KACpE,CAAC;AACJ,CAAC","sourcesContent":["import { SoliboSDK } from \"@solibo/solibo-sdk\";\nimport { fromKt, Id, toKeyId } from \"../../../utils/kt-bridge.js\";\n\nexport const thirdPartyInformationKeys = {\n all: [\"thirdPartyInformation\"] as const,\n list: (companyId?: Id | null | undefined) =>\n [...thirdPartyInformationKeys.all, \"list\", toKeyId(companyId)] as const,\n detail: (thirdPartyInformationId?: Id | null | undefined) =>\n [\n ...thirdPartyInformationKeys.all,\n \"detail\",\n toKeyId(thirdPartyInformationId),\n ] as const,\n dialog: (companyId?: Id | null | undefined, year?: number) =>\n [\n ...thirdPartyInformationKeys.all,\n \"dialog\",\n toKeyId(companyId),\n year,\n ] as const,\n letters: (\n companyId?: Id | null | undefined,\n sectionId?: Id | null | undefined,\n personId?: Id | null | undefined,\n ) =>\n [\n ...thirdPartyInformationKeys.all,\n \"letters\",\n toKeyId(companyId),\n toKeyId(sectionId),\n toKeyId(personId),\n ] as const,\n letter: (\n companyId?: Id | null | undefined,\n thirdPartyInformationId?: Id | null | undefined,\n ) =>\n [\n ...thirdPartyInformationKeys.all,\n \"letter\",\n toKeyId(companyId),\n toKeyId(thirdPartyInformationId),\n ] as const,\n letterByYear: (\n companyId?: Id | null | undefined,\n sectionId?: Id | null | undefined,\n personId?: Id | null | undefined,\n dialogYear?: string,\n ) =>\n [\n ...thirdPartyInformationKeys.all,\n \"letterByYear\",\n toKeyId(companyId),\n toKeyId(sectionId),\n toKeyId(personId),\n dialogYear,\n ] as const,\n totals: (companyId?: Id | null | undefined) =>\n [...thirdPartyInformationKeys.all, \"totals\", toKeyId(companyId)] as const,\n};\n\nexport function thirdPartyInformationQueryOptions(\n sdk: SoliboSDK,\n params: {\n companyId?: Id | null | undefined;\n polling?: boolean;\n year?: bigint | null;\n fields?: string;\n pageToken?: string;\n autoPaginate?: boolean | null;\n count?: number;\n },\n) {\n return {\n initialPageParam: params.pageToken,\n queryKey: [\n thirdPartyInformationKeys.list(params.companyId),\n params.fields,\n params.count,\n ],\n queryFn: ({ pageParam }: { pageParam: any }) =>\n sdk.api.thirdParty\n .indexThirdPartyInformation(\n BigInt(params.companyId!).valueOf(),\n params.year,\n params.fields,\n pageParam,\n params.autoPaginate,\n params.count,\n )\n .then((res) => res.body())\n .then((body) => fromKt(body)),\n\n enabled: !!params.companyId,\n refetchInterval: params.polling ? 2000 : false,\n getNextPageParam: (lastPage: any) =>\n lastPage?.paging?.next === \"END_OF_LIST\"\n ? undefined\n : lastPage?.paging?.next,\n getPreviousPageParam: (lastPage: any) => lastPage?.paging?.previous,\n };\n}\n"]}
@@ -11,7 +11,7 @@ export declare function thirdPartyInformationLettersQueryOptions(sdk: SoliboSDK,
11
11
  count?: number;
12
12
  }): {
13
13
  initialPageParam: string | undefined;
14
- queryKey: (string | number | readonly ["thirdPartyInformation", "letters", Id | null | undefined, Id | null | undefined, Id | null | undefined] | undefined)[];
14
+ queryKey: (string | number | readonly ["thirdPartyInformation", "letters", string | number | null | undefined, string | number | null | undefined, string | number | null | undefined] | undefined)[];
15
15
  queryFn: ({ pageParam }: {
16
16
  pageParam: any;
17
17
  }) => Promise<import("@solibo/solibo-sdk").PagedListThreePOYear>;
@@ -37,7 +37,7 @@ export declare function thirdPartyInformationLetterByYearQueryOptions(sdk: Solib
37
37
  dialogYear?: string;
38
38
  redirect?: boolean;
39
39
  }): {
40
- queryKey: (boolean | Id | null | undefined)[];
40
+ queryKey: (string | number | boolean | null | undefined)[];
41
41
  queryFn: () => Promise<import("@solibo/solibo-sdk").FilesDownload>;
42
42
  enabled: boolean;
43
43
  };
@@ -5,7 +5,7 @@ export declare function totalsForThirdPartyInformationQueryOptions(sdk: SoliboSD
5
5
  year?: bigint | null;
6
6
  fields?: string;
7
7
  }): {
8
- queryKey: (string | readonly ["thirdPartyInformation", "totals", Id | null | undefined] | undefined)[];
8
+ queryKey: (string | readonly ["thirdPartyInformation", "totals", string | number | null | undefined] | undefined)[];
9
9
  queryFn: () => Promise<import("@solibo/solibo-sdk").GenerateThirdPartyInformationCommand>;
10
10
  enabled: boolean;
11
11
  };
@@ -4,8 +4,8 @@ export declare const userKeys: {
4
4
  all: readonly ["user"];
5
5
  current: () => readonly ["user", "current"];
6
6
  authed: () => readonly ["user", "authed"];
7
- actions: (companyId?: Id | null | undefined) => readonly ["user", "actions", Id | null | undefined];
8
- image: (personId?: Id | null | undefined) => readonly ["user", "image", Id | null | undefined];
7
+ actions: (companyId?: Id | null | undefined) => readonly ["user", "actions", string | number | null | undefined];
8
+ image: (personId?: Id | null | undefined) => readonly ["user", "image", string | number | null | undefined];
9
9
  conversations: (unread?: boolean) => readonly ["user", "conversations", {
10
10
  readonly unread: boolean | undefined;
11
11
  }];
@@ -1,10 +1,10 @@
1
- import { fromKt } from "../../../utils/kt-bridge.js";
1
+ import { fromKt, toKeyId } from "../../../utils/kt-bridge.js";
2
2
  export const userKeys = {
3
3
  all: ["user"],
4
4
  current: () => [...userKeys.all, "current"],
5
5
  authed: () => [...userKeys.all, "authed"],
6
- actions: (companyId) => [...userKeys.all, "actions", companyId],
7
- image: (personId) => [...userKeys.all, "image", personId],
6
+ actions: (companyId) => [...userKeys.all, "actions", toKeyId(companyId)],
7
+ image: (personId) => [...userKeys.all, "image", toKeyId(personId)],
8
8
  conversations: (unread) => [...userKeys.all, "conversations", { unread }],
9
9
  devices: () => [...userKeys.all, "devices"],
10
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/api/queries/user/user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAM,MAAM,6BAA6B,CAAC;AAEzD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG,EAAE,CAAC,MAAM,CAAU;IACtB,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAU;IACpD,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAU;IAClD,OAAO,EAAE,CAAC,SAAiC,EAAE,EAAE,CAC7C,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,SAAS,EAAE,SAAS,CAAU;IAClD,KAAK,EAAE,CAAC,QAAgC,EAAE,EAAE,CAC1C,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAU;IAC/C,aAAa,EAAE,CAAC,MAAgB,EAAE,EAAE,CAClC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE,MAAM,EAAE,CAAU;IACzD,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAU;CACrD,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,GAAc;IAC7C,OAAO;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;QAEzE,SAAS,EAAE,EAAE,GAAG,IAAI,GAAG,EAAE;KAC1B,CAAC;AACJ,CAAC","sourcesContent":["import { SoliboSDK } from \"@solibo/solibo-sdk\";\nimport { fromKt, Id } from \"../../../utils/kt-bridge.js\";\n\nexport const userKeys = {\n all: [\"user\"] as const,\n current: () => [...userKeys.all, \"current\"] as const,\n authed: () => [...userKeys.all, \"authed\"] as const,\n actions: (companyId?: Id | null | undefined) =>\n [...userKeys.all, \"actions\", companyId] as const,\n image: (personId?: Id | null | undefined) =>\n [...userKeys.all, \"image\", personId] as const,\n conversations: (unread?: boolean) =>\n [...userKeys.all, \"conversations\", { unread }] as const,\n devices: () => [...userKeys.all, \"devices\"] as const,\n};\n\nexport function userQueryOptions(sdk: SoliboSDK) {\n return {\n queryKey: [userKeys.current()],\n queryFn: () => sdk.api.users.showUser().then((res) => fromKt(res.body())),\n\n staleTime: 60 * 1000 * 10,\n };\n}\n"]}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/api/queries/user/user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAM,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAElE,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG,EAAE,CAAC,MAAM,CAAU;IACtB,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAU;IACpD,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAU;IAClD,OAAO,EAAE,CAAC,SAAiC,EAAE,EAAE,CAC7C,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,CAAU;IAC3D,KAAK,EAAE,CAAC,QAAgC,EAAE,EAAE,CAC1C,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAU;IACxD,aAAa,EAAE,CAAC,MAAgB,EAAE,EAAE,CAClC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE,MAAM,EAAE,CAAU;IACzD,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAU;CACrD,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,GAAc;IAC7C,OAAO;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;QAEzE,SAAS,EAAE,EAAE,GAAG,IAAI,GAAG,EAAE;KAC1B,CAAC;AACJ,CAAC","sourcesContent":["import { SoliboSDK } from \"@solibo/solibo-sdk\";\nimport { fromKt, Id, toKeyId } from \"../../../utils/kt-bridge.js\";\n\nexport const userKeys = {\n all: [\"user\"] as const,\n current: () => [...userKeys.all, \"current\"] as const,\n authed: () => [...userKeys.all, \"authed\"] as const,\n actions: (companyId?: Id | null | undefined) =>\n [...userKeys.all, \"actions\", toKeyId(companyId)] as const,\n image: (personId?: Id | null | undefined) =>\n [...userKeys.all, \"image\", toKeyId(personId)] as const,\n conversations: (unread?: boolean) =>\n [...userKeys.all, \"conversations\", { unread }] as const,\n devices: () => [...userKeys.all, \"devices\"] as const,\n};\n\nexport function userQueryOptions(sdk: SoliboSDK) {\n return {\n queryKey: [userKeys.current()],\n queryFn: () => sdk.api.users.showUser().then((res) => fromKt(res.body())),\n\n staleTime: 60 * 1000 * 10,\n };\n}\n"]}
@@ -8,7 +8,7 @@ export declare function userActionsQueryOptions(sdk: SoliboSDK, params: {
8
8
  count?: number;
9
9
  }): {
10
10
  initialPageParam: string | undefined;
11
- queryKey: (string | number | readonly ["user", "actions", Id | null | undefined] | undefined)[];
11
+ queryKey: (string | number | readonly ["user", "actions", string | number | null | undefined] | undefined)[];
12
12
  queryFn: ({ pageParam }: {
13
13
  pageParam: any;
14
14
  }) => Promise<import("@solibo/solibo-sdk").PagedListString>;
@@ -5,7 +5,7 @@ export declare function userImageQueryOptions(sdk: SoliboSDK, params: {
5
5
  fileName?: string;
6
6
  size?: string;
7
7
  }): {
8
- queryKey: (string | readonly ["user", "image", Id | null | undefined] | undefined)[];
8
+ queryKey: (string | readonly ["user", "image", string | number | null | undefined] | undefined)[];
9
9
  queryFn: () => Promise<import("@solibo/solibo-sdk").HttpResponse<void>>;
10
10
  enabled: boolean;
11
11
  };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./utils/bigint-polyfill.js";
2
2
  export * from "@solibo/solibo-sdk";
3
- export { fromKt, toKtProps, toLong, toKtList, toIdList, } from "./utils/kt-bridge.js";
3
+ export { fromKt, toKtProps, toLong, toKtList, toIdList, toKeyId, } from "./utils/kt-bridge.js";
4
4
  export type { Id, JsProps, FromKt } from "./utils/kt-bridge.js";
5
5
  export { seconds, minutes, hours } from "./utils/dateTime.js";
6
6
  export { fileSlingshotRequest, completeSlingshot } from "./api/documentApi.js";
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import "./utils/bigint-polyfill.js";
2
2
  // Re-export everything from @solibo/solibo-sdk — consumers only need @solibo/solibo-query.
3
3
  export * from "@solibo/solibo-sdk";
4
4
  // Utilities
5
- export { fromKt, toKtProps, toLong, toKtList, toIdList, } from "./utils/kt-bridge.js";
5
+ export { fromKt, toKtProps, toLong, toKtList, toIdList, toKeyId, } from "./utils/kt-bridge.js";
6
6
  export { seconds, minutes, hours } from "./utils/dateTime.js";
7
7
  export { fileSlingshotRequest, completeSlingshot } from "./api/documentApi.js";
8
8
  export * from "./api/commands/board/createBoardMember.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAEpC,2FAA2F;AAC3F,cAAc,oBAAoB,CAAC;AAEnC,YAAY;AACZ,OAAO,EACL,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uDAAuD,CAAC;AACtE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,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AAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC","sourcesContent":["import \"./utils/bigint-polyfill.js\";\n\n// Re-export everything from @solibo/solibo-sdk — consumers only need @solibo/solibo-query.\nexport * from \"@solibo/solibo-sdk\";\n\n// Utilities\nexport {\n fromKt,\n toKtProps,\n toLong,\n toKtList,\n toIdList,\n} from \"./utils/kt-bridge.js\";\nexport type { Id, JsProps, FromKt } from \"./utils/kt-bridge.js\";\nexport { seconds, minutes, hours } from \"./utils/dateTime.js\";\nexport { fileSlingshotRequest, completeSlingshot } from \"./api/documentApi.js\";\n\nexport * from \"./api/commands/board/createBoardMember.js\";\nexport * from \"./api/commands/board/deleteBoardMember.js\";\nexport * from \"./api/commands/board/inviteBoardMemberToSoliboHome.js\";\nexport * from \"./api/commands/communication/buySMSBundle.js\";\nexport * from \"./api/commands/communication/createNewsletter.js\";\nexport * from \"./api/commands/communication/createSMSBroadcast.js\";\nexport * from \"./api/commands/communication/deleteDocumentFromNewsletter.js\";\nexport * from \"./api/commands/communication/deleteNewsletter.js\";\nexport * from \"./api/commands/communication/deleteSMSBroadcast.js\";\nexport * from \"./api/commands/communication/publishNewsletter.js\";\nexport * from \"./api/commands/communication/publishSMSBroadcast.js\";\nexport * from \"./api/commands/communication/reportPushNotificationRead.js\";\nexport * from \"./api/commands/communication/signupNewsletter.js\";\nexport * from \"./api/commands/communication/updateNewsletter.js\";\nexport * from \"./api/commands/communication/updateSMSBroadcast.js\";\nexport * from \"./api/commands/company/createCompanyCustomerClaim.js\";\nexport * from \"./api/commands/company/deleteFractions.js\";\nexport * from \"./api/commands/company/importCompanies.js\";\nexport * from \"./api/commands/company/importDraft.js\";\nexport * from \"./api/commands/company/importHousingAssociation.js\";\nexport * from \"./api/commands/company/importHousingCooperative.js\";\nexport * from \"./api/commands/company/importHousingCooperativeByAddress.js\";\nexport * from \"./api/commands/company/offboardCompany.js\";\nexport * from \"./api/commands/company/resetSales.js\";\nexport * from \"./api/commands/company/saveCompanyDetailed.js\";\nexport * from \"./api/commands/company/saveImportDraft.js\";\nexport * from \"./api/commands/company/updateActiveAdministrators.js\";\nexport * from \"./api/commands/company/updateAdministratorsForCompany.js\";\nexport * from \"./api/commands/company/updateCompanyDetailed.js\";\nexport * from \"./api/commands/company/updateCompanyOrdinances.js\";\nexport * from \"./api/commands/company/updateFractions.js\";\nexport * from \"./api/commands/conversation/completeConversation.js\";\nexport * from \"./api/commands/conversation/conversationBackInProgress.js\";\nexport * from \"./api/commands/conversation/conversationFolders.js\";\nexport * from \"./api/commands/conversation/createConversation.js\";\nexport * from \"./api/commands/conversation/createConversationCategory.js\";\nexport * from \"./api/commands/conversation/createConversationMessage.js\";\nexport * from \"./api/commands/conversation/createConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createExternalConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createInquiry.js\";\nexport * from \"./api/commands/conversation/createInquiryOpen.js\";\nexport * from \"./api/commands/conversation/createInternalConversationMessage.js\";\nexport * from \"./api/commands/conversation/createPublicConversationMessage.js\";\nexport * from \"./api/commands/conversation/deleteConversation.js\";\nexport * from \"./api/commands/conversation/deleteConversationCategory.js\";\nexport * from \"./api/commands/conversation/deleteConversationParticipant.js\";\nexport * from \"./api/commands/conversation/markConversationRead.js\";\nexport * from \"./api/commands/conversation/moveConversation.js\";\nexport * from \"./api/commands/conversation/publicUploadDocumentToConversation.js\";\nexport * from \"./api/commands/conversation/publishDraftConversation.js\";\nexport * from \"./api/commands/conversation/updateConversation.js\";\nexport * from \"./api/commands/conversation/updateConversationCategories.js\";\nexport * from \"./api/commands/conversation/updateConversationCategory.js\";\nexport * from \"./api/commands/document/createDocumentDirectory.js\";\nexport * from \"./api/commands/document/deleteDocument.js\";\nexport * from \"./api/commands/document/moveDocument.js\";\nexport * from \"./api/commands/document/moveDocumentToTrash.js\";\nexport * from \"./api/commands/document/removeDocumentFromTrash.js\";\nexport * from \"./api/commands/document/renameDocument.js\";\nexport * from \"./api/commands/document/uploadDocument.js\";\nexport * from \"./api/commands/economy/approveInvoice.js\";\nexport * from \"./api/commands/economy/attachDocumentToEconomicReport.js\";\nexport * from \"./api/commands/economy/createInvoiceNotice.js\";\nexport * from \"./api/commands/economy/orderEconomicReport.js\";\nexport * from \"./api/commands/economy/rejectInvoice.js\";\nexport * from \"./api/commands/economy/updateInvoiceNotification.js\";\nexport * from \"./api/commands/economy/updateRealtimeInvoiceNotification.js\";\nexport * from \"./api/commands/expense/approveExpense.js\";\nexport * from \"./api/commands/expense/createExpense.js\";\nexport * from \"./api/commands/expense/deleteExpense.js\";\nexport * from \"./api/commands/expense/rejectExpense.js\";\nexport * from \"./api/commands/hms/setupHMSSettings.js\";\nexport * from \"./api/commands/hms/updateHMSSettings.js\";\nexport * from \"./api/commands/homepage/createPost.js\";\nexport * from \"./api/commands/homepage/createPracticalInfo.js\";\nexport * from \"./api/commands/homepage/deletePost.js\";\nexport * from \"./api/commands/homepage/deletePracticalInfo.js\";\nexport * from \"./api/commands/homepage/updateFeedWeighting.js\";\nexport * from \"./api/commands/homepage/updatePost.js\";\nexport * from \"./api/commands/homepage/updatePracticalInfo.js\";\nexport * from \"./api/commands/homepage/uploadHomepageImage.js\";\nexport * from \"./api/commands/insurance/closeInsurance.js\";\nexport * from \"./api/commands/insurance/createInsurance.js\";\nexport * from \"./api/commands/insurance/deleteInsurance.js\";\nexport * from \"./api/commands/invoicing/activateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/activateInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/activateTriplewin.js\";\nexport * from \"./api/commands/invoicing/closeInvoice.js\";\nexport * from \"./api/commands/invoicing/createAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/createAllocationKey.js\";\nexport * from \"./api/commands/invoicing/createCreditNote.js\";\nexport * from \"./api/commands/invoicing/createCustomer.js\";\nexport * from \"./api/commands/invoicing/createCustomerById.js\";\nexport * from \"./api/commands/invoicing/createCustomerComment.js\";\nexport * from \"./api/commands/invoicing/createInvoicePlanLine.js\";\nexport * from \"./api/commands/invoicing/createInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/createInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/deactivateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocInvoicingLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLineGroup.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLines.js\";\nexport * from \"./api/commands/invoicing/deleteDistribution.js\";\nexport * from \"./api/commands/invoicing/deleteInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/deletePlannedInvoiceLineChanges.js\";\nexport * from \"./api/commands/invoicing/invoicingMutations.js\";\nexport * from \"./api/commands/invoicing/registerPayment.js\";\nexport * from \"./api/commands/invoicing/toggleInvoicingPlanTransactionOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdues.js\";\nexport * from \"./api/commands/invoicing/updateAdhocGroup.js\";\nexport * from \"./api/commands/invoicing/updateAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/updateAllocationKey.js\";\nexport * from \"./api/commands/invoicing/updateCommonExpensesSettings.js\";\nexport * from \"./api/commands/invoicing/updateCustomerMeta.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceDelivery.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLineName.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceSettings.js\";\nexport * from \"./api/commands/issue/changeResponsible.js\";\nexport * from \"./api/commands/issue/closeIssue.js\";\nexport * from \"./api/commands/issue/createConversationToIssue.js\";\nexport * from \"./api/commands/issue/createIssue.js\";\nexport * from \"./api/commands/issue/createIssueComment.js\";\nexport * from \"./api/commands/issue/createIssueToMeeting.js\";\nexport * from \"./api/commands/issue/createSectionToIssue.js\";\nexport * from \"./api/commands/issue/deleteSectionFromIssue.js\";\nexport * from \"./api/commands/issue/reOpenIssue.js\";\nexport * from \"./api/commands/issue/removeConversationFromIssue.js\";\nexport * from \"./api/commands/issue/removeIssueFromMeeting.js\";\nexport * from \"./api/commands/issue/reorderIssueInMeeting.js\";\nexport * from \"./api/commands/issue/updateIssue.js\";\nexport * from \"./api/commands/issue/updateIssueConclusion.js\";\nexport * from \"./api/commands/issue/updateIssueReport.js\";\nexport * from \"./api/commands/loan/createLoan.js\";\nexport * from \"./api/commands/loan/deleteLoan.js\";\nexport * from \"./api/commands/loan/setMainDocumentId.js\";\nexport * from \"./api/commands/loan/updateLoan.js\";\nexport * from \"./api/commands/meeting/closeMeeting.js\";\nexport * from \"./api/commands/meeting/createMeeting.js\";\nexport * from \"./api/commands/meeting/createMeetingSummons.js\";\nexport * from \"./api/commands/meeting/createSignatureReminder.js\";\nexport * from \"./api/commands/meeting/deleteMeeting.js\";\nexport * from \"./api/commands/meeting/followUpIssueLater.js\";\nexport * from \"./api/commands/meeting/issueTreated.js\";\nexport * from \"./api/commands/meeting/reOpenMeeting.js\";\nexport * from \"./api/commands/meeting/registerAttendance.js\";\nexport * from \"./api/commands/meeting/rsvp.js\";\nexport * from \"./api/commands/meeting/sign.js\";\nexport * from \"./api/commands/meeting/signatureUnobtainable.js\";\nexport * from \"./api/commands/meeting/startMeeting.js\";\nexport * from \"./api/commands/meeting/updateMeeting.js\";\nexport * from \"./api/commands/meeting/updateMeetingParticipants.js\";\nexport * from \"./api/commands/organization/assignParkingSpaceToOrganization.js\";\nexport * from \"./api/commands/organization/assignStorageRoomToOrganization.js\";\nexport * from \"./api/commands/organization/createEmployee.js\";\nexport * from \"./api/commands/organization/createEmployeeCompanyContactRole.js\";\nexport * from \"./api/commands/organization/createEmployeeSectionContactRole.js\";\nexport * from \"./api/commands/organization/deleteEmployee.js\";\nexport * from \"./api/commands/organization/deleteOrganizationFromSAM.js\";\nexport * from \"./api/commands/organization/massUpdateOrganizations.js\";\nexport * from \"./api/commands/organization/removeCompanyContactRole.js\";\nexport * from \"./api/commands/organization/removeOrganizationRole.js\";\nexport * from \"./api/commands/organization/removeSectionContactRole.js\";\nexport * from \"./api/commands/organization/unAssignParkingSpaceToOrganization.js\";\nexport * from \"./api/commands/organization/unAssignStorageRoomToOrganization.js\";\nexport * from \"./api/commands/organization/updateEmployee.js\";\nexport * from \"./api/commands/organization/updateOrganization.js\";\nexport * from \"./api/commands/parkingSpaces/createParkingSpace.js\";\nexport * from \"./api/commands/parkingSpaces/deleteParkingSpace.js\";\nexport * from \"./api/commands/parkingSpaces/exportParkingSpaceAssets.js\";\nexport * from \"./api/commands/parkingSpaces/updateParkingSpace.js\";\nexport * from \"./api/commands/person/assignParkingSpaceToPerson.js\";\nexport * from \"./api/commands/person/assignStorageRoomToPerson.js\";\nexport * from \"./api/commands/person/deletePersonRole.js\";\nexport * from \"./api/commands/person/massUpdatePerson.js\";\nexport * from \"./api/commands/person/massUpdateRoles.js\";\nexport * from \"./api/commands/person/mergePerson.js\";\nexport * from \"./api/commands/person/personalIdentityNumberSearch.js\";\nexport * from \"./api/commands/person/unAssignParkingSpaceToPerson.js\";\nexport * from \"./api/commands/person/unAssignStorageRoomToPerson.js\";\nexport * from \"./api/commands/person/updatePerson.js\";\nexport * from \"./api/commands/person/updateResidency.js\";\nexport * from \"./api/commands/resident/createOccupancyRecord.js\";\nexport * from \"./api/commands/resident/createPhysicalLetterToResidentInCompany.js\";\nexport * from \"./api/commands/resident/createResident.js\";\nexport * from \"./api/commands/resident/deleteOccupancyRecord.js\";\nexport * from \"./api/commands/resident/removePersonFromCompany.js\";\nexport * from \"./api/commands/resident/requestResidentChange.js\";\nexport * from \"./api/commands/resident/residentActions.js\";\nexport * from \"./api/commands/resident/updateOccupancyRecord.js\";\nexport * from \"./api/commands/resident/updateOrganizationReservations.js\";\nexport * from \"./api/commands/resident/updatePersonReservations.js\";\nexport * from \"./api/commands/resident/updateResident.js\";\nexport * from \"./api/commands/resident/updateResidentNote.js\";\nexport * from \"./api/commands/routines/createRoutine.js\";\nexport * from \"./api/commands/routines/deleteRoutine.js\";\nexport * from \"./api/commands/routines/updateRoutine.js\";\nexport * from \"./api/commands/section/assignParkingSpaceToSection.js\";\nexport * from \"./api/commands/section/assignStorageRoomToSection.js\";\nexport * from \"./api/commands/section/createSection.js\";\nexport * from \"./api/commands/section/createSectionStatus.js\";\nexport * from \"./api/commands/section/createSubSection.js\";\nexport * from \"./api/commands/section/deleteSection.js\";\nexport * from \"./api/commands/section/exportSectionAssets.js\";\nexport * from \"./api/commands/section/massUpdateSection.js\";\nexport * from \"./api/commands/section/ownershipTransferSection.js\";\nexport * from \"./api/commands/section/removeSectionStatus.js\";\nexport * from \"./api/commands/section/tagOnSection.js\";\nexport * from \"./api/commands/section/unAssignParkingSpaceToSection.js\";\nexport * from \"./api/commands/section/unAssignStorageRoomToSection.js\";\nexport * from \"./api/commands/section/updateSection.js\";\nexport * from \"./api/commands/section/updateSectionNote.js\";\nexport * from \"./api/commands/section/updateTagsOnSection.js\";\nexport * from \"./api/commands/settlement/closeSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/createSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/deleteSettlement.js\";\nexport * from \"./api/commands/settlement/deleteSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlement.js\";\nexport * from \"./api/commands/settlement/updateSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/upsertSettlementProviderCredentials.js\";\nexport * from \"./api/commands/storageRoom/createStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/deleteStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/exportStorageRooms.js\";\nexport * from \"./api/commands/storageRoom/updateStorageRoom.js\";\nexport * from \"./api/commands/supplier/createSupplierComment.js\";\nexport * from \"./api/commands/supplier/createSupplierContact.js\";\nexport * from \"./api/commands/supplier/createSupplierForCompany.js\";\nexport * from \"./api/commands/supplier/deleteCompanySupplier.js\";\nexport * from \"./api/commands/supplier/deleteSupplierContactPerson.js\";\nexport * from \"./api/commands/supplier/editSupplierContact.js\";\nexport * from \"./api/commands/supplier/editSupplierForCompany.js\";\nexport * from \"./api/commands/supplier/supplierMutations.js\";\nexport * from \"./api/commands/supplier/updateServiceCategories.js\";\nexport * from \"./api/commands/supplier/updateSupplierContactImage.js\";\nexport * from \"./api/commands/supplier/uploadSupplierLogo.js\";\nexport * from \"./api/commands/task/completeTask.js\";\nexport * from \"./api/commands/task/createTask.js\";\nexport * from \"./api/commands/task/deleteTask.js\";\nexport * from \"./api/commands/task/undoCompleteTask.js\";\nexport * from \"./api/commands/task/updateTask.js\";\nexport * from \"./api/commands/thirdPartyInformation/completeThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/createDuplicateLetter.js\";\nexport * from \"./api/commands/thirdPartyInformation/createThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/createThreePOToSkatteetaten.js\";\nexport * from \"./api/commands/thirdPartyInformation/overrideThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/reopenThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/updateThirdPartyInformation.js\";\nexport * from \"./api/commands/user/contactHooks.js\";\nexport * from \"./api/commands/user/deleteProfilePicture.js\";\nexport * from \"./api/commands/user/fCMDevice.js\";\nexport * from \"./api/commands/user/mfa.js\";\nexport * from \"./api/commands/user/resetPassword.js\";\nexport * from \"./api/commands/user/updateUser.js\";\nexport * from \"./api/commands/user/uploadProfilePicture.js\";\nexport * from \"./api/queries/administration/agreementDetails.js\";\nexport * from \"./api/queries/administration/insuranceAgreements.js\";\nexport * from \"./api/queries/administration/loanAgreements.js\";\nexport * from \"./api/queries/administration/loanChangeLog.js\";\nexport * from \"./api/queries/administration/tripletexDetails.js\";\nexport * from \"./api/queries/board/boardMembers.js\";\nexport * from \"./api/queries/board/showPersonalIdentityNumberOnBoardMember.js\";\nexport * from \"./api/queries/communication/availableBundles.js\";\nexport * from \"./api/queries/communication/availableSMS.js\";\nexport * from \"./api/queries/communication/communicationReport.js\";\nexport * from \"./api/queries/communication/newsletter.js\";\nexport * from \"./api/queries/communication/newsletters.js\";\nexport * from \"./api/queries/communication/notificationgroupsEmail.js\";\nexport * from \"./api/queries/communication/notificationgroupsSms.js\";\nexport * from \"./api/queries/communication/sMSAvailableForSMSBroadcastPost.js\";\nexport * from \"./api/queries/communication/sMSBroadcast.js\";\nexport * from \"./api/queries/communication/sMSBroadcasts.js\";\nexport * from \"./api/queries/communication/sMSPurchases.js\";\nexport * from \"./api/queries/company/activeAdministrators.js\";\nexport * from \"./api/queries/company/administratorsForCompany.js\";\nexport * from \"./api/queries/company/availableAdministrators.js\";\nexport * from \"./api/queries/company/availableAdministratorsForCompany.js\";\nexport * from \"./api/queries/company/companies.js\";\nexport * from \"./api/queries/company/companyAddresses.js\";\nexport * from \"./api/queries/company/companyById.js\";\nexport * from \"./api/queries/company/companyDetailed.js\";\nexport * from \"./api/queries/company/companyDraft.js\";\nexport * from \"./api/queries/company/companyDrafts.js\";\nexport * from \"./api/queries/company/companyOrdinances.js\";\nexport * from \"./api/queries/company/companyTypes.js\";\nexport * from \"./api/queries/company/fractions.js\";\nexport * from \"./api/queries/company/newlyManagedCompanies.js\";\nexport * from \"./api/queries/conversation/companyConversationCategoriesForRequests.js\";\nexport * from \"./api/queries/conversation/conversation.js\";\nexport * from \"./api/queries/conversation/conversationCategories.js\";\nexport * from \"./api/queries/conversation/conversationCategoriesOpen.js\";\nexport * from \"./api/queries/conversation/conversationCount.js\";\nexport * from \"./api/queries/conversation/conversationFolders.js\";\nexport * from \"./api/queries/conversation/conversations.js\";\nexport * from \"./api/queries/conversation/conversationsByParticipant.js\";\nexport * from \"./api/queries/conversation/publicConversation.js\";\nexport * from \"./api/queries/conversation/publicConversationAuth.js\";\nexport * from \"./api/queries/conversation/unreadConversationsCount.js\";\nexport * from \"./api/queries/countries/countries.js\";\nexport * from \"./api/queries/document/documentActions.js\";\nexport * from \"./api/queries/document/documents.js\";\nexport * from \"./api/queries/document/documentsOfTypeForCompany.js\";\nexport * from \"./api/queries/document/getDocumentURL.js\";\nexport * from \"./api/queries/document/searchDocumentsForCompany.js\";\nexport * from \"./api/queries/economy/checkIfAccountingAvailable.js\";\nexport * from \"./api/queries/economy/companiesEconomyStatus.js\";\nexport * from \"./api/queries/economy/economicReports.js\";\nexport * from \"./api/queries/economy/invoiceArchive.js\";\nexport * from \"./api/queries/economy/invoiceForApprovalCount.js\";\nexport * from \"./api/queries/economy/invoiceNotification.js\";\nexport * from \"./api/queries/economy/invoices.js\";\nexport * from \"./api/queries/economy/status.js\";\nexport * from \"./api/queries/economy/unattestedCounts.js\";\nexport * from \"./api/queries/expense/expense.js\";\nexport * from \"./api/queries/expense/expenseList.js\";\nexport * from \"./api/queries/expense/expenseTypes.js\";\nexport * from \"./api/queries/hms/hMSReportRoutines.js\";\nexport * from \"./api/queries/hms/hMSSettings.js\";\nexport * from \"./api/queries/homepage/homepage.js\";\nexport * from \"./api/queries/homepage/homepageFeed.js\";\nexport * from \"./api/queries/homepage/homepageRss.js\";\nexport * from \"./api/queries/homepage/openHomepage.js\";\nexport * from \"./api/queries/homepage/openHomepageDocument.js\";\nexport * from \"./api/queries/homepage/openHomepageFeed.js\";\nexport * from \"./api/queries/homepage/postDocuments.js\";\nexport * from \"./api/queries/homepage/postNotificationgroups.js\";\nexport * from \"./api/queries/homepage/sMSAvailableForPost.js\";\nexport * from \"./api/queries/invoicing/adHocGroupById.js\";\nexport * from \"./api/queries/invoicing/adHocGroups.js\";\nexport * from \"./api/queries/invoicing/checkTriplewinActivated.js\";\nexport * from \"./api/queries/invoicing/creditNotes.js\";\nexport * from \"./api/queries/invoicing/customer.js\";\nexport * from \"./api/queries/invoicing/customerInvoices.js\";\nexport * from \"./api/queries/invoicing/customerMetadata.js\";\nexport * from \"./api/queries/invoicing/customerRecipient.js\";\nexport * from \"./api/queries/invoicing/customers.js\";\nexport * from \"./api/queries/invoicing/expiredInvoices.js\";\nexport * from \"./api/queries/invoicing/historicInvoices.js\";\nexport * from \"./api/queries/invoicing/invoicePlan.js\";\nexport * from \"./api/queries/invoicing/invoicePlanDistributions.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLine.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLines.js\";\nexport * from \"./api/queries/invoicing/invoicePlanTransactions.js\";\nexport * from \"./api/queries/invoicing/invoicePlans.js\";\nexport * from \"./api/queries/invoicing/invoicePlansForSection.js\";\nexport * from \"./api/queries/invoicing/invoiceSettings.js\";\nexport * from \"./api/queries/invoicing/invoicingAdHocLines.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredByCustomer.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredTypes.js\";\nexport * from \"./api/queries/invoicing/invoicingInvoiceDetails.js\";\nexport * from \"./api/queries/invoicing/invoicingKeys.js\";\nexport * from \"./api/queries/invoicing/invoicingPlanTypes.js\";\nexport * from \"./api/queries/invoicing/massInvoiceForCompany.js\";\nexport * from \"./api/queries/invoicing/massInvoicePdfPreview.js\";\nexport * from \"./api/queries/invoicing/massInvoicePreview.js\";\nexport * from \"./api/queries/invoicing/overdueInvoices.js\";\nexport * from \"./api/queries/invoicing/planSettings.js\";\nexport * from \"./api/queries/invoicing/preview.js\";\nexport * from \"./api/queries/invoicing/previewPdf.js\";\nexport * from \"./api/queries/invoicing/processedPayments.js\";\nexport * from \"./api/queries/invoicing/queuedInvoicePdf.js\";\nexport * from \"./api/queries/invoicing/queuedInvoices.js\";\nexport * from \"./api/queries/invoicing/recipient.js\";\nexport * from \"./api/queries/invoicing/sectionInvoices.js\";\nexport * from \"./api/queries/invoicing/unprocessedPayments.js\";\nexport * from \"./api/queries/invoicing/upcomingInvoicing.js\";\nexport * from \"./api/queries/issue/issue.js\";\nexport * from \"./api/queries/issue/issues.js\";\nexport * from \"./api/queries/meeting/meetings.js\";\nexport * from \"./api/queries/organization/organization.js\";\nexport * from \"./api/queries/organization/organizationByOrgnr.js\";\nexport * from \"./api/queries/organization/organizations.js\";\nexport * from \"./api/queries/organization/organizationsInCompany.js\";\nexport * from \"./api/queries/organization/otherOrganizations.js\";\nexport * from \"./api/queries/parkingSpaces/parkingSpaces.js\";\nexport * from \"./api/queries/person/otherPersons.js\";\nexport * from \"./api/queries/person/person.js\";\nexport * from \"./api/queries/person/personSearch.js\";\nexport * from \"./api/queries/person/persons.js\";\nexport * from \"./api/queries/residentsAndSections/domain.js\";\nexport * from \"./api/queries/residentsAndSections/existingSectionTagsInCompany.js\";\nexport * from \"./api/queries/residentsAndSections/loansByFraction.js\";\nexport * from \"./api/queries/residentsAndSections/ownershipChanges.js\";\nexport * from \"./api/queries/residentsAndSections/personalID.js\";\nexport * from \"./api/queries/residentsAndSections/residentHistory.js\";\nexport * from \"./api/queries/residentsAndSections/residentOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/residentSearch.js\";\nexport * from \"./api/queries/residentsAndSections/residentTypes.js\";\nexport * from \"./api/queries/residentsAndSections/residents.js\";\nexport * from \"./api/queries/residentsAndSections/sectionOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/sectionStatus.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTags.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTenants.js\";\nexport * from \"./api/queries/residentsAndSections/sections.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsSearch.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsTags.js\";\nexport * from \"./api/queries/routines/availableRoutineTypes.js\";\nexport * from \"./api/queries/routines/companyFeatures.js\";\nexport * from \"./api/queries/routines/routine.js\";\nexport * from \"./api/queries/routines/routineGroupDrafts.js\";\nexport * from \"./api/queries/routines/routines.js\";\nexport * from \"./api/queries/settlement/settlement.js\";\nexport * from \"./api/queries/settlement/settlementCustomCost.js\";\nexport * from \"./api/queries/settlement/settlementCustomCosts.js\";\nexport * from \"./api/queries/settlement/settlementInvoices.js\";\nexport * from \"./api/queries/settlement/settlementProviderConfiguration.js\";\nexport * from \"./api/queries/settlement/settlementProviderConfigurations.js\";\nexport * from \"./api/queries/settlement/settlementProviders.js\";\nexport * from \"./api/queries/settlement/settlementTypes.js\";\nexport * from \"./api/queries/settlement/settlements.js\";\nexport * from \"./api/queries/storageRoom/storageRooms.js\";\nexport * from \"./api/queries/supplier/domain.js\";\nexport * from \"./api/queries/supplier/supplierDetails.js\";\nexport * from \"./api/queries/supplier/suppliers.js\";\nexport * from \"./api/queries/supplier/suppliersAndContacts.js\";\nexport * from \"./api/queries/supplier/suppliersLogo.js\";\nexport * from \"./api/queries/task/tasks.js\";\nexport * from \"./api/queries/thirdPartyInformation/singleThirdPartyInformation.js\";\nexport * from \"./api/queries/thirdPartyInformation/skatteetatenDialog.js\";\nexport * from \"./api/queries/thirdPartyInformation/thirdPartyInformation.js\";\nexport * from \"./api/queries/thirdPartyInformation/thirdPartyInformationLetters.js\";\nexport * from \"./api/queries/thirdPartyInformation/totalsForThirdPartyInformation.js\";\nexport * from \"./api/queries/user/authedUser.js\";\nexport * from \"./api/queries/user/user.js\";\nexport * from \"./api/queries/user/userActions.js\";\nexport * from \"./api/queries/user/userConversations.js\";\nexport * from \"./api/queries/user/userDevices.js\";\nexport * from \"./api/queries/user/userImage.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAEpC,2FAA2F;AAC3F,cAAc,oBAAoB,CAAC;AAEnC,YAAY;AACZ,OAAO,EACL,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,iBA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;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oEAAoE,CAAC;AACnF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC","sourcesContent":["import \"./utils/bigint-polyfill.js\";\n\n// Re-export everything from @solibo/solibo-sdk — consumers only need @solibo/solibo-query.\nexport * from \"@solibo/solibo-sdk\";\n\n// Utilities\nexport {\n fromKt,\n toKtProps,\n toLong,\n toKtList,\n toIdList,\n toKeyId,\n} from \"./utils/kt-bridge.js\";\nexport type { Id, JsProps, FromKt } from \"./utils/kt-bridge.js\";\nexport { seconds, minutes, hours } from \"./utils/dateTime.js\";\nexport { fileSlingshotRequest, completeSlingshot } from \"./api/documentApi.js\";\n\nexport * from \"./api/commands/board/createBoardMember.js\";\nexport * from \"./api/commands/board/deleteBoardMember.js\";\nexport * from \"./api/commands/board/inviteBoardMemberToSoliboHome.js\";\nexport * from \"./api/commands/communication/buySMSBundle.js\";\nexport * from \"./api/commands/communication/createNewsletter.js\";\nexport * from \"./api/commands/communication/createSMSBroadcast.js\";\nexport * from \"./api/commands/communication/deleteDocumentFromNewsletter.js\";\nexport * from \"./api/commands/communication/deleteNewsletter.js\";\nexport * from \"./api/commands/communication/deleteSMSBroadcast.js\";\nexport * from \"./api/commands/communication/publishNewsletter.js\";\nexport * from \"./api/commands/communication/publishSMSBroadcast.js\";\nexport * from \"./api/commands/communication/reportPushNotificationRead.js\";\nexport * from \"./api/commands/communication/signupNewsletter.js\";\nexport * from \"./api/commands/communication/updateNewsletter.js\";\nexport * from \"./api/commands/communication/updateSMSBroadcast.js\";\nexport * from \"./api/commands/company/createCompanyCustomerClaim.js\";\nexport * from \"./api/commands/company/deleteFractions.js\";\nexport * from \"./api/commands/company/importCompanies.js\";\nexport * from \"./api/commands/company/importDraft.js\";\nexport * from \"./api/commands/company/importHousingAssociation.js\";\nexport * from \"./api/commands/company/importHousingCooperative.js\";\nexport * from \"./api/commands/company/importHousingCooperativeByAddress.js\";\nexport * from \"./api/commands/company/offboardCompany.js\";\nexport * from \"./api/commands/company/resetSales.js\";\nexport * from \"./api/commands/company/saveCompanyDetailed.js\";\nexport * from \"./api/commands/company/saveImportDraft.js\";\nexport * from \"./api/commands/company/updateActiveAdministrators.js\";\nexport * from \"./api/commands/company/updateAdministratorsForCompany.js\";\nexport * from \"./api/commands/company/updateCompanyDetailed.js\";\nexport * from \"./api/commands/company/updateCompanyOrdinances.js\";\nexport * from \"./api/commands/company/updateFractions.js\";\nexport * from \"./api/commands/conversation/completeConversation.js\";\nexport * from \"./api/commands/conversation/conversationBackInProgress.js\";\nexport * from \"./api/commands/conversation/conversationFolders.js\";\nexport * from \"./api/commands/conversation/createConversation.js\";\nexport * from \"./api/commands/conversation/createConversationCategory.js\";\nexport * from \"./api/commands/conversation/createConversationMessage.js\";\nexport * from \"./api/commands/conversation/createConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createExternalConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createInquiry.js\";\nexport * from \"./api/commands/conversation/createInquiryOpen.js\";\nexport * from \"./api/commands/conversation/createInternalConversationMessage.js\";\nexport * from \"./api/commands/conversation/createPublicConversationMessage.js\";\nexport * from \"./api/commands/conversation/deleteConversation.js\";\nexport * from \"./api/commands/conversation/deleteConversationCategory.js\";\nexport * from \"./api/commands/conversation/deleteConversationParticipant.js\";\nexport * from \"./api/commands/conversation/markConversationRead.js\";\nexport * from \"./api/commands/conversation/moveConversation.js\";\nexport * from \"./api/commands/conversation/publicUploadDocumentToConversation.js\";\nexport * from \"./api/commands/conversation/publishDraftConversation.js\";\nexport * from \"./api/commands/conversation/updateConversation.js\";\nexport * from \"./api/commands/conversation/updateConversationCategories.js\";\nexport * from \"./api/commands/conversation/updateConversationCategory.js\";\nexport * from \"./api/commands/document/createDocumentDirectory.js\";\nexport * from \"./api/commands/document/deleteDocument.js\";\nexport * from \"./api/commands/document/moveDocument.js\";\nexport * from \"./api/commands/document/moveDocumentToTrash.js\";\nexport * from \"./api/commands/document/removeDocumentFromTrash.js\";\nexport * from \"./api/commands/document/renameDocument.js\";\nexport * from \"./api/commands/document/uploadDocument.js\";\nexport * from \"./api/commands/economy/approveInvoice.js\";\nexport * from \"./api/commands/economy/attachDocumentToEconomicReport.js\";\nexport * from \"./api/commands/economy/createInvoiceNotice.js\";\nexport * from \"./api/commands/economy/orderEconomicReport.js\";\nexport * from \"./api/commands/economy/rejectInvoice.js\";\nexport * from \"./api/commands/economy/updateInvoiceNotification.js\";\nexport * from \"./api/commands/economy/updateRealtimeInvoiceNotification.js\";\nexport * from \"./api/commands/expense/approveExpense.js\";\nexport * from \"./api/commands/expense/createExpense.js\";\nexport * from \"./api/commands/expense/deleteExpense.js\";\nexport * from \"./api/commands/expense/rejectExpense.js\";\nexport * from \"./api/commands/hms/setupHMSSettings.js\";\nexport * from \"./api/commands/hms/updateHMSSettings.js\";\nexport * from \"./api/commands/homepage/createPost.js\";\nexport * from \"./api/commands/homepage/createPracticalInfo.js\";\nexport * from \"./api/commands/homepage/deletePost.js\";\nexport * from \"./api/commands/homepage/deletePracticalInfo.js\";\nexport * from \"./api/commands/homepage/updateFeedWeighting.js\";\nexport * from \"./api/commands/homepage/updatePost.js\";\nexport * from \"./api/commands/homepage/updatePracticalInfo.js\";\nexport * from \"./api/commands/homepage/uploadHomepageImage.js\";\nexport * from \"./api/commands/insurance/closeInsurance.js\";\nexport * from \"./api/commands/insurance/createInsurance.js\";\nexport * from \"./api/commands/insurance/deleteInsurance.js\";\nexport * from \"./api/commands/invoicing/activateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/activateInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/activateTriplewin.js\";\nexport * from \"./api/commands/invoicing/closeInvoice.js\";\nexport * from \"./api/commands/invoicing/createAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/createAllocationKey.js\";\nexport * from \"./api/commands/invoicing/createCreditNote.js\";\nexport * from \"./api/commands/invoicing/createCustomer.js\";\nexport * from \"./api/commands/invoicing/createCustomerById.js\";\nexport * from \"./api/commands/invoicing/createCustomerComment.js\";\nexport * from \"./api/commands/invoicing/createInvoicePlanLine.js\";\nexport * from \"./api/commands/invoicing/createInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/createInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/deactivateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocInvoicingLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLineGroup.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLines.js\";\nexport * from \"./api/commands/invoicing/deleteDistribution.js\";\nexport * from \"./api/commands/invoicing/deleteInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/deletePlannedInvoiceLineChanges.js\";\nexport * from \"./api/commands/invoicing/invoicingMutations.js\";\nexport * from \"./api/commands/invoicing/registerPayment.js\";\nexport * from \"./api/commands/invoicing/toggleInvoicingPlanTransactionOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdues.js\";\nexport * from \"./api/commands/invoicing/updateAdhocGroup.js\";\nexport * from \"./api/commands/invoicing/updateAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/updateAllocationKey.js\";\nexport * from \"./api/commands/invoicing/updateCommonExpensesSettings.js\";\nexport * from \"./api/commands/invoicing/updateCustomerMeta.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceDelivery.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLineName.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceSettings.js\";\nexport * from \"./api/commands/issue/changeResponsible.js\";\nexport * from \"./api/commands/issue/closeIssue.js\";\nexport * from \"./api/commands/issue/createConversationToIssue.js\";\nexport * from \"./api/commands/issue/createIssue.js\";\nexport * from \"./api/commands/issue/createIssueComment.js\";\nexport * from \"./api/commands/issue/createIssueToMeeting.js\";\nexport * from \"./api/commands/issue/createSectionToIssue.js\";\nexport * from \"./api/commands/issue/deleteSectionFromIssue.js\";\nexport * from \"./api/commands/issue/reOpenIssue.js\";\nexport * from \"./api/commands/issue/removeConversationFromIssue.js\";\nexport * from \"./api/commands/issue/removeIssueFromMeeting.js\";\nexport * from \"./api/commands/issue/reorderIssueInMeeting.js\";\nexport * from \"./api/commands/issue/updateIssue.js\";\nexport * from \"./api/commands/issue/updateIssueConclusion.js\";\nexport * from \"./api/commands/issue/updateIssueReport.js\";\nexport * from \"./api/commands/loan/createLoan.js\";\nexport * from \"./api/commands/loan/deleteLoan.js\";\nexport * from \"./api/commands/loan/setMainDocumentId.js\";\nexport * from \"./api/commands/loan/updateLoan.js\";\nexport * from \"./api/commands/meeting/closeMeeting.js\";\nexport * from \"./api/commands/meeting/createMeeting.js\";\nexport * from \"./api/commands/meeting/createMeetingSummons.js\";\nexport * from \"./api/commands/meeting/createSignatureReminder.js\";\nexport * from \"./api/commands/meeting/deleteMeeting.js\";\nexport * from \"./api/commands/meeting/followUpIssueLater.js\";\nexport * from \"./api/commands/meeting/issueTreated.js\";\nexport * from \"./api/commands/meeting/reOpenMeeting.js\";\nexport * from \"./api/commands/meeting/registerAttendance.js\";\nexport * from \"./api/commands/meeting/rsvp.js\";\nexport * from \"./api/commands/meeting/sign.js\";\nexport * from \"./api/commands/meeting/signatureUnobtainable.js\";\nexport * from \"./api/commands/meeting/startMeeting.js\";\nexport * from \"./api/commands/meeting/updateMeeting.js\";\nexport * from \"./api/commands/meeting/updateMeetingParticipants.js\";\nexport * from \"./api/commands/organization/assignParkingSpaceToOrganization.js\";\nexport * from \"./api/commands/organization/assignStorageRoomToOrganization.js\";\nexport * from \"./api/commands/organization/createEmployee.js\";\nexport * from \"./api/commands/organization/createEmployeeCompanyContactRole.js\";\nexport * from \"./api/commands/organization/createEmployeeSectionContactRole.js\";\nexport * from \"./api/commands/organization/deleteEmployee.js\";\nexport * from \"./api/commands/organization/deleteOrganizationFromSAM.js\";\nexport * from \"./api/commands/organization/massUpdateOrganizations.js\";\nexport * from \"./api/commands/organization/removeCompanyContactRole.js\";\nexport * from \"./api/commands/organization/removeOrganizationRole.js\";\nexport * from \"./api/commands/organization/removeSectionContactRole.js\";\nexport * from \"./api/commands/organization/unAssignParkingSpaceToOrganization.js\";\nexport * from \"./api/commands/organization/unAssignStorageRoomToOrganization.js\";\nexport * from \"./api/commands/organization/updateEmployee.js\";\nexport * from \"./api/commands/organization/updateOrganization.js\";\nexport * from \"./api/commands/parkingSpaces/createParkingSpace.js\";\nexport * from \"./api/commands/parkingSpaces/deleteParkingSpace.js\";\nexport * from \"./api/commands/parkingSpaces/exportParkingSpaceAssets.js\";\nexport * from \"./api/commands/parkingSpaces/updateParkingSpace.js\";\nexport * from \"./api/commands/person/assignParkingSpaceToPerson.js\";\nexport * from \"./api/commands/person/assignStorageRoomToPerson.js\";\nexport * from \"./api/commands/person/deletePersonRole.js\";\nexport * from \"./api/commands/person/massUpdatePerson.js\";\nexport * from \"./api/commands/person/massUpdateRoles.js\";\nexport * from \"./api/commands/person/mergePerson.js\";\nexport * from \"./api/commands/person/personalIdentityNumberSearch.js\";\nexport * from \"./api/commands/person/unAssignParkingSpaceToPerson.js\";\nexport * from \"./api/commands/person/unAssignStorageRoomToPerson.js\";\nexport * from \"./api/commands/person/updatePerson.js\";\nexport * from \"./api/commands/person/updateResidency.js\";\nexport * from \"./api/commands/resident/createOccupancyRecord.js\";\nexport * from \"./api/commands/resident/createPhysicalLetterToResidentInCompany.js\";\nexport * from \"./api/commands/resident/createResident.js\";\nexport * from \"./api/commands/resident/deleteOccupancyRecord.js\";\nexport * from \"./api/commands/resident/removePersonFromCompany.js\";\nexport * from \"./api/commands/resident/requestResidentChange.js\";\nexport * from \"./api/commands/resident/residentActions.js\";\nexport * from \"./api/commands/resident/updateOccupancyRecord.js\";\nexport * from \"./api/commands/resident/updateOrganizationReservations.js\";\nexport * from \"./api/commands/resident/updatePersonReservations.js\";\nexport * from \"./api/commands/resident/updateResident.js\";\nexport * from \"./api/commands/resident/updateResidentNote.js\";\nexport * from \"./api/commands/routines/createRoutine.js\";\nexport * from \"./api/commands/routines/deleteRoutine.js\";\nexport * from \"./api/commands/routines/updateRoutine.js\";\nexport * from \"./api/commands/section/assignParkingSpaceToSection.js\";\nexport * from \"./api/commands/section/assignStorageRoomToSection.js\";\nexport * from \"./api/commands/section/createSection.js\";\nexport * from \"./api/commands/section/createSectionStatus.js\";\nexport * from \"./api/commands/section/createSubSection.js\";\nexport * from \"./api/commands/section/deleteSection.js\";\nexport * from \"./api/commands/section/exportSectionAssets.js\";\nexport * from \"./api/commands/section/massUpdateSection.js\";\nexport * from \"./api/commands/section/ownershipTransferSection.js\";\nexport * from \"./api/commands/section/removeSectionStatus.js\";\nexport * from \"./api/commands/section/tagOnSection.js\";\nexport * from \"./api/commands/section/unAssignParkingSpaceToSection.js\";\nexport * from \"./api/commands/section/unAssignStorageRoomToSection.js\";\nexport * from \"./api/commands/section/updateSection.js\";\nexport * from \"./api/commands/section/updateSectionNote.js\";\nexport * from \"./api/commands/section/updateTagsOnSection.js\";\nexport * from \"./api/commands/settlement/closeSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/createSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/deleteSettlement.js\";\nexport * from \"./api/commands/settlement/deleteSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlement.js\";\nexport * from \"./api/commands/settlement/updateSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/upsertSettlementProviderCredentials.js\";\nexport * from \"./api/commands/storageRoom/createStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/deleteStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/exportStorageRooms.js\";\nexport * from \"./api/commands/storageRoom/updateStorageRoom.js\";\nexport * from \"./api/commands/supplier/createSupplierComment.js\";\nexport * from \"./api/commands/supplier/createSupplierContact.js\";\nexport * from \"./api/commands/supplier/createSupplierForCompany.js\";\nexport * from \"./api/commands/supplier/deleteCompanySupplier.js\";\nexport * from \"./api/commands/supplier/deleteSupplierContactPerson.js\";\nexport * from \"./api/commands/supplier/editSupplierContact.js\";\nexport * from \"./api/commands/supplier/editSupplierForCompany.js\";\nexport * from \"./api/commands/supplier/supplierMutations.js\";\nexport * from \"./api/commands/supplier/updateServiceCategories.js\";\nexport * from \"./api/commands/supplier/updateSupplierContactImage.js\";\nexport * from \"./api/commands/supplier/uploadSupplierLogo.js\";\nexport * from \"./api/commands/task/completeTask.js\";\nexport * from \"./api/commands/task/createTask.js\";\nexport * from \"./api/commands/task/deleteTask.js\";\nexport * from \"./api/commands/task/undoCompleteTask.js\";\nexport * from \"./api/commands/task/updateTask.js\";\nexport * from \"./api/commands/thirdPartyInformation/completeThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/createDuplicateLetter.js\";\nexport * from \"./api/commands/thirdPartyInformation/createThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/createThreePOToSkatteetaten.js\";\nexport * from \"./api/commands/thirdPartyInformation/overrideThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/reopenThirdPartyInformation.js\";\nexport * from \"./api/commands/thirdPartyInformation/updateThirdPartyInformation.js\";\nexport * from \"./api/commands/user/contactHooks.js\";\nexport * from \"./api/commands/user/deleteProfilePicture.js\";\nexport * from \"./api/commands/user/fCMDevice.js\";\nexport * from \"./api/commands/user/mfa.js\";\nexport * from \"./api/commands/user/resetPassword.js\";\nexport * from \"./api/commands/user/updateUser.js\";\nexport * from \"./api/commands/user/uploadProfilePicture.js\";\nexport * from \"./api/queries/administration/agreementDetails.js\";\nexport * from \"./api/queries/administration/insuranceAgreements.js\";\nexport * from \"./api/queries/administration/loanAgreements.js\";\nexport * from \"./api/queries/administration/loanChangeLog.js\";\nexport * from \"./api/queries/administration/tripletexDetails.js\";\nexport * from \"./api/queries/board/boardMembers.js\";\nexport * from \"./api/queries/board/showPersonalIdentityNumberOnBoardMember.js\";\nexport * from \"./api/queries/communication/availableBundles.js\";\nexport * from \"./api/queries/communication/availableSMS.js\";\nexport * from \"./api/queries/communication/communicationReport.js\";\nexport * from \"./api/queries/communication/newsletter.js\";\nexport * from \"./api/queries/communication/newsletters.js\";\nexport * from \"./api/queries/communication/notificationgroupsEmail.js\";\nexport * from \"./api/queries/communication/notificationgroupsSms.js\";\nexport * from \"./api/queries/communication/sMSAvailableForSMSBroadcastPost.js\";\nexport * from \"./api/queries/communication/sMSBroadcast.js\";\nexport * from \"./api/queries/communication/sMSBroadcasts.js\";\nexport * from \"./api/queries/communication/sMSPurchases.js\";\nexport * from \"./api/queries/company/activeAdministrators.js\";\nexport * from \"./api/queries/company/administratorsForCompany.js\";\nexport * from \"./api/queries/company/availableAdministrators.js\";\nexport * from \"./api/queries/company/availableAdministratorsForCompany.js\";\nexport * from \"./api/queries/company/companies.js\";\nexport * from \"./api/queries/company/companyAddresses.js\";\nexport * from \"./api/queries/company/companyById.js\";\nexport * from \"./api/queries/company/companyDetailed.js\";\nexport * from \"./api/queries/company/companyDraft.js\";\nexport * from \"./api/queries/company/companyDrafts.js\";\nexport * from \"./api/queries/company/companyOrdinances.js\";\nexport * from \"./api/queries/company/companyTypes.js\";\nexport * from \"./api/queries/company/fractions.js\";\nexport * from \"./api/queries/company/newlyManagedCompanies.js\";\nexport * from \"./api/queries/conversation/companyConversationCategoriesForRequests.js\";\nexport * from \"./api/queries/conversation/conversation.js\";\nexport * from \"./api/queries/conversation/conversationCategories.js\";\nexport * from \"./api/queries/conversation/conversationCategoriesOpen.js\";\nexport * from \"./api/queries/conversation/conversationCount.js\";\nexport * from \"./api/queries/conversation/conversationFolders.js\";\nexport * from \"./api/queries/conversation/conversations.js\";\nexport * from \"./api/queries/conversation/conversationsByParticipant.js\";\nexport * from \"./api/queries/conversation/publicConversation.js\";\nexport * from \"./api/queries/conversation/publicConversationAuth.js\";\nexport * from \"./api/queries/conversation/unreadConversationsCount.js\";\nexport * from \"./api/queries/countries/countries.js\";\nexport * from \"./api/queries/document/documentActions.js\";\nexport * from \"./api/queries/document/documents.js\";\nexport * from \"./api/queries/document/documentsOfTypeForCompany.js\";\nexport * from \"./api/queries/document/getDocumentURL.js\";\nexport * from \"./api/queries/document/searchDocumentsForCompany.js\";\nexport * from \"./api/queries/economy/checkIfAccountingAvailable.js\";\nexport * from \"./api/queries/economy/companiesEconomyStatus.js\";\nexport * from \"./api/queries/economy/economicReports.js\";\nexport * from \"./api/queries/economy/invoiceArchive.js\";\nexport * from \"./api/queries/economy/invoiceForApprovalCount.js\";\nexport * from \"./api/queries/economy/invoiceNotification.js\";\nexport * from \"./api/queries/economy/invoices.js\";\nexport * from \"./api/queries/economy/status.js\";\nexport * from \"./api/queries/economy/unattestedCounts.js\";\nexport * from \"./api/queries/expense/expense.js\";\nexport * from \"./api/queries/expense/expenseList.js\";\nexport * from \"./api/queries/expense/expenseTypes.js\";\nexport * from \"./api/queries/hms/hMSReportRoutines.js\";\nexport * from \"./api/queries/hms/hMSSettings.js\";\nexport * from \"./api/queries/homepage/homepage.js\";\nexport * from \"./api/queries/homepage/homepageFeed.js\";\nexport * from \"./api/queries/homepage/homepageRss.js\";\nexport * from \"./api/queries/homepage/openHomepage.js\";\nexport * from \"./api/queries/homepage/openHomepageDocument.js\";\nexport * from \"./api/queries/homepage/openHomepageFeed.js\";\nexport * from \"./api/queries/homepage/postDocuments.js\";\nexport * from \"./api/queries/homepage/postNotificationgroups.js\";\nexport * from \"./api/queries/homepage/sMSAvailableForPost.js\";\nexport * from \"./api/queries/invoicing/adHocGroupById.js\";\nexport * from \"./api/queries/invoicing/adHocGroups.js\";\nexport * from \"./api/queries/invoicing/checkTriplewinActivated.js\";\nexport * from \"./api/queries/invoicing/creditNotes.js\";\nexport * from \"./api/queries/invoicing/customer.js\";\nexport * from \"./api/queries/invoicing/customerInvoices.js\";\nexport * from \"./api/queries/invoicing/customerMetadata.js\";\nexport * from \"./api/queries/invoicing/customerRecipient.js\";\nexport * from \"./api/queries/invoicing/customers.js\";\nexport * from \"./api/queries/invoicing/expiredInvoices.js\";\nexport * from \"./api/queries/invoicing/historicInvoices.js\";\nexport * from \"./api/queries/invoicing/invoicePlan.js\";\nexport * from \"./api/queries/invoicing/invoicePlanDistributions.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLine.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLines.js\";\nexport * from \"./api/queries/invoicing/invoicePlanTransactions.js\";\nexport * from \"./api/queries/invoicing/invoicePlans.js\";\nexport * from \"./api/queries/invoicing/invoicePlansForSection.js\";\nexport * from \"./api/queries/invoicing/invoiceSettings.js\";\nexport * from \"./api/queries/invoicing/invoicingAdHocLines.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredByCustomer.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredTypes.js\";\nexport * from \"./api/queries/invoicing/invoicingInvoiceDetails.js\";\nexport * from \"./api/queries/invoicing/invoicingKeys.js\";\nexport * from \"./api/queries/invoicing/invoicingPlanTypes.js\";\nexport * from \"./api/queries/invoicing/massInvoiceForCompany.js\";\nexport * from \"./api/queries/invoicing/massInvoicePdfPreview.js\";\nexport * from \"./api/queries/invoicing/massInvoicePreview.js\";\nexport * from \"./api/queries/invoicing/overdueInvoices.js\";\nexport * from \"./api/queries/invoicing/planSettings.js\";\nexport * from \"./api/queries/invoicing/preview.js\";\nexport * from \"./api/queries/invoicing/previewPdf.js\";\nexport * from \"./api/queries/invoicing/processedPayments.js\";\nexport * from \"./api/queries/invoicing/queuedInvoicePdf.js\";\nexport * from \"./api/queries/invoicing/queuedInvoices.js\";\nexport * from \"./api/queries/invoicing/recipient.js\";\nexport * from \"./api/queries/invoicing/sectionInvoices.js\";\nexport * from \"./api/queries/invoicing/unprocessedPayments.js\";\nexport * from \"./api/queries/invoicing/upcomingInvoicing.js\";\nexport * from \"./api/queries/issue/issue.js\";\nexport * from \"./api/queries/issue/issues.js\";\nexport * from \"./api/queries/meeting/meetings.js\";\nexport * from \"./api/queries/organization/organization.js\";\nexport * from \"./api/queries/organization/organizationByOrgnr.js\";\nexport * from \"./api/queries/organization/organizations.js\";\nexport * from \"./api/queries/organization/organizationsInCompany.js\";\nexport * from \"./api/queries/organization/otherOrganizations.js\";\nexport * from \"./api/queries/parkingSpaces/parkingSpaces.js\";\nexport * from \"./api/queries/person/otherPersons.js\";\nexport * from \"./api/queries/person/person.js\";\nexport * from \"./api/queries/person/personSearch.js\";\nexport * from \"./api/queries/person/persons.js\";\nexport * from \"./api/queries/residentsAndSections/domain.js\";\nexport * from \"./api/queries/residentsAndSections/existingSectionTagsInCompany.js\";\nexport * from \"./api/queries/residentsAndSections/loansByFraction.js\";\nexport * from \"./api/queries/residentsAndSections/ownershipChanges.js\";\nexport * from \"./api/queries/residentsAndSections/personalID.js\";\nexport * from \"./api/queries/residentsAndSections/residentHistory.js\";\nexport * from \"./api/queries/residentsAndSections/residentOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/residentSearch.js\";\nexport * from \"./api/queries/residentsAndSections/residentTypes.js\";\nexport * from \"./api/queries/residentsAndSections/residents.js\";\nexport * from \"./api/queries/residentsAndSections/sectionOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/sectionStatus.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTags.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTenants.js\";\nexport * from \"./api/queries/residentsAndSections/sections.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsSearch.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsTags.js\";\nexport * from \"./api/queries/routines/availableRoutineTypes.js\";\nexport * from \"./api/queries/routines/companyFeatures.js\";\nexport * from \"./api/queries/routines/routine.js\";\nexport * from \"./api/queries/routines/routineGroupDrafts.js\";\nexport * from \"./api/queries/routines/routines.js\";\nexport * from \"./api/queries/settlement/settlement.js\";\nexport * from \"./api/queries/settlement/settlementCustomCost.js\";\nexport * from \"./api/queries/settlement/settlementCustomCosts.js\";\nexport * from \"./api/queries/settlement/settlementInvoices.js\";\nexport * from \"./api/queries/settlement/settlementProviderConfiguration.js\";\nexport * from \"./api/queries/settlement/settlementProviderConfigurations.js\";\nexport * from \"./api/queries/settlement/settlementProviders.js\";\nexport * from \"./api/queries/settlement/settlementTypes.js\";\nexport * from \"./api/queries/settlement/settlements.js\";\nexport * from \"./api/queries/storageRoom/storageRooms.js\";\nexport * from \"./api/queries/supplier/domain.js\";\nexport * from \"./api/queries/supplier/supplierDetails.js\";\nexport * from \"./api/queries/supplier/suppliers.js\";\nexport * from \"./api/queries/supplier/suppliersAndContacts.js\";\nexport * from \"./api/queries/supplier/suppliersLogo.js\";\nexport * from \"./api/queries/task/tasks.js\";\nexport * from \"./api/queries/thirdPartyInformation/singleThirdPartyInformation.js\";\nexport * from \"./api/queries/thirdPartyInformation/skatteetatenDialog.js\";\nexport * from \"./api/queries/thirdPartyInformation/thirdPartyInformation.js\";\nexport * from \"./api/queries/thirdPartyInformation/thirdPartyInformationLetters.js\";\nexport * from \"./api/queries/thirdPartyInformation/totalsForThirdPartyInformation.js\";\nexport * from \"./api/queries/user/authedUser.js\";\nexport * from \"./api/queries/user/user.js\";\nexport * from \"./api/queries/user/userActions.js\";\nexport * from \"./api/queries/user/userConversations.js\";\nexport * from \"./api/queries/user/userDevices.js\";\nexport * from \"./api/queries/user/userImage.js\";\n"]}
@@ -5,6 +5,18 @@ import { KtList, KtMap, KtMutableList, KtMutableMap } from "@solibo/solibo-sdk";
5
5
  * seamlessly with useParams(), route params, etc.
6
6
  */
7
7
  export type Id = bigint | number | string;
8
+ /**
9
+ * Normalizes an ID for use in a TanStack Query key.
10
+ * bigint cannot be JSON.stringify'd (which TanStack Query uses to hash keys),
11
+ * so bigint values are converted to their string representation.
12
+ * number and string pass through unchanged.
13
+ */
14
+ export declare function toKeyId(id: bigint): string;
15
+ export declare function toKeyId(id: number): number;
16
+ export declare function toKeyId(id: string): string;
17
+ export declare function toKeyId(id: null): null;
18
+ export declare function toKeyId(id: undefined): undefined;
19
+ export declare function toKeyId(id?: Id | null): string | number | null | undefined;
8
20
  /**
9
21
  * Converts Kotlin collection types to their JS equivalents without making
10
22
  * the TypeScript surface readonly:
@@ -1,4 +1,9 @@
1
1
  import { KtList, KtMap } from "@solibo/solibo-sdk";
2
+ export function toKeyId(id) {
3
+ if (typeof id === "bigint")
4
+ return String(id);
5
+ return id;
6
+ }
2
7
  /**
3
8
  * Tracks objects already converted by fromKt.
4
9
  *
@@ -1 +1 @@
1
- {"version":3,"file":"kt-bridge.js","sourceRoot":"","sources":["../../src/utils/kt-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAA+B,MAAM,oBAAoB,CAAC;AAShF;;;;;GAKG;AACH,MAAM,SAAS,GAAG,IAAI,OAAO,EAAU,CAAC;AAExC,MAAM,kBAAkB,GAAG,IAAI,OAAO,EAGnC,CAAC;AACJ,MAAM,mBAAmB,GAAG,IAAI,OAAO,EAAc,CAAC;AAEtD,MAAM,cAAc,GAAG,gCAAgC,CAAC;AAExD,MAAM,8BAA8B,GAAG,MAAM,CAAC,GAAG,CAC/C,8CAA8C,CAC/C,CAAC;AAEF,SAAS,mBAAmB,CAAC,KAAc;IACzC,IAAI,KAAK,IAAI,I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C,GAAG,CAAC,CAAC,CAAC;QACjE,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["import { KtList, KtMap, KtMutableList, KtMutableMap } from \"@solibo/solibo-sdk\";\n\n/**\n * Accepts any value that can be coerced to an ID via BigInt().\n * Use this for hook parameters that represent entity IDs — works\n * seamlessly with useParams(), route params, etc.\n */\nexport type Id = bigint | number | string;\n\n/**\n * Tracks objects already converted by fromKt.\n *\n * This replaces the old symbol marker so converted objects can be frozen\n * without needing to write marker properties onto them later.\n */\nconst CONVERTED = new WeakSet<object>();\n\nconst READONLY_MAP_CACHE = new WeakMap<\n Map<unknown, unknown>,\n Map<unknown, unknown>\n>();\nconst READONLY_DATE_CACHE = new WeakMap<Date, Date>();\n\nconst READONLY_ERROR = \"Cannot mutate SDK query result\";\n\nconst KT_LIST_JS_ARRAY_COMPAT_MARKER = Symbol.for(\n \"@solibo/solibo-query/kt-list-js-array-compat\",\n);\n\nfunction ktListToJsArrayView(value: unknown): unknown[] {\n if (value == null || typeof value !== \"object\") {\n return [];\n }\n\n const anyValue = value as any;\n\n if (typeof anyValue.asJsReadonlyArrayView === \"function\") {\n return Array.from(anyValue.asJsReadonlyArrayView());\n }\n\n /**\n * Kotlin/JS ArrayList fallback.\n *\n * Current observed shape:\n * ArrayList { i5_1: size, c1_1: backingArray, d1_1: false }\n *\n * Do not rely only on exact names; keep them as fast-paths and then fall\n * back to \"first array field + plausible size field\".\n */\n const backingArray: unknown[] | undefined = Array.isArray(anyValue.c1_1)\n ? anyValue.c1_1\n : Array.isArray(anyValue.c1_l)\n ? anyValue.c1_l\n : Object.values(anyValue).find((entry): entry is unknown[] =>\n Array.isArray(entry),\n );\n\n if (!backingArray) {\n return [];\n }\n\n const explicitSize =\n typeof anyValue.i5_1 === \"number\"\n ? anyValue.i5_1\n : typeof anyValue.i5_l === \"number\"\n ? anyValue.i5_l\n : undefined;\n\n const inferredSize =\n explicitSize ??\n Object.values(anyValue).find((entry): entry is number => {\n return (\n typeof entry === \"number\" &&\n Number.isInteger(entry) &&\n entry >= 0 &&\n entry <= backingArray.length\n );\n });\n\n return backingArray.slice(0, inferredSize ?? backingArray.length);\n}\n\nfunction defineKtListArrayMethod(\n proto: object,\n name: string,\n fn: (this: unknown, ...args: any[]) => unknown,\n) {\n Object.defineProperty(proto, name, {\n value: fn,\n enumerable: false,\n configurable: true,\n writable: true,\n });\n}\n\nfunction patchKtListPrototype(proto: object) {\n if ((proto as any)[KT_LIST_JS_ARRAY_COMPAT_MARKER]) {\n return;\n }\n\n Object.defineProperty(proto, KT_LIST_JS_ARRAY_COMPAT_MARKER, {\n value: true,\n enumerable: false,\n configurable: false,\n });\n\n Object.defineProperty(proto, \"length\", {\n get() {\n return ktListToJsArrayView(this).length;\n },\n enumerable: false,\n configurable: true,\n });\n\n Object.defineProperty(proto, Symbol.iterator, {\n value: function () {\n return ktListToJsArrayView(this)[Symbol.iterator]();\n },\n enumerable: false,\n configurable: true,\n writable: true,\n });\n\n defineKtListArrayMethod(proto, \"at\", function (index: number) {\n return ktListToJsArrayView(this).at(index);\n });\n\n defineKtListArrayMethod(proto, \"slice\", function (...args: any[]) {\n return ktListToJsArrayView(this).slice(...(args as [number?, number?]));\n });\n\n defineKtListArrayMethod(proto, \"map\", function (...args: any[]) {\n return ktListToJsArrayView(this).map(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"filter\", function (...args: any[]) {\n return ktListToJsArrayView(this).filter(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"forEach\", function (...args: any[]) {\n return ktListToJsArrayView(this).forEach(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"some\", function (...args: any[]) {\n return ktListToJsArrayView(this).some(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"every\", function (...args: any[]) {\n return ktListToJsArrayView(this).every(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"find\", function (...args: any[]) {\n return ktListToJsArrayView(this).find(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"findIndex\", function (...args: any[]) {\n return ktListToJsArrayView(this).findIndex(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"includes\", function (...args: any[]) {\n return ktListToJsArrayView(this).includes(...(args as [any, number?]));\n });\n\n defineKtListArrayMethod(proto, \"indexOf\", function (...args: any[]) {\n return ktListToJsArrayView(this).indexOf(...(args as [any, number?]));\n });\n}\n\nfunction installKtListJsArrayCompat() {\n try {\n const sample = KtList.fromJsArray([]);\n\n for (\n let proto = Object.getPrototypeOf(sample);\n proto && proto !== Object.prototype;\n proto = Object.getPrototypeOf(proto)\n ) {\n const name = proto.constructor?.name ?? \"\";\n\n if (\n name.includes(\"ArrayList\") ||\n name.includes(\"AbstractMutableList\") ||\n name.includes(\"AbstractList\") ||\n typeof (proto as any).asJsReadonlyArrayView === \"function\"\n ) {\n patchKtListPrototype(proto);\n }\n }\n } catch {\n // If SDK import/initialization changes, do not break module loading.\n }\n}\n\n// Kotlin/JS ArrayList instances can leak through opaque SDK models whose\n// public fields are not discoverable by reflection. Patch the Kotlin list\n// prototype once so leaked lists still support JS array-like reads such as\n// .length, .map(), iteration, etc.\ninstallKtListJsArrayCompat();\n\n/**\n * Converts Kotlin collection types to their JS equivalents without making\n * the TypeScript surface readonly:\n *\n * KtList<E> / KtMutableList<E> → FromKt<E>[]\n * KtMap<K,V> / KtMutableMap<K,V> → Map<K, FromKt<V>>\n * readonly E[] → FromKt<E>[]\n * SDK class instances → unchanged public type\n * primitives, Date, bigint, etc. → unchanged\n *\n * Runtime immutability is enforced by fromKt(), not by this type.\n */\nexport type FromKt<T> = T extends KtList<infer E> | KtMutableList<infer E>\n ? FromKt<E>[]\n : T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V>\n ? Map<K, FromKt<V>>\n : T extends readonly (infer E)[]\n ? FromKt<E>[]\n : T;\n\n/**\n * @deprecated Use FromKt<T>.\n *\n * Kept as a compatibility alias. This is intentionally no longer deeply\n * readonly at type level; runtime immutability is enforced by fromKt().\n */\nexport type DeepReadonly<T> = FromKt<T>;\n\nfunction isKtList(v: unknown): v is KtList<unknown> {\n return (\n v != null &&\n typeof v === \"object\" &&\n typeof (v as any).asJsReadonlyArrayView === \"function\"\n );\n}\n\nfunction isKtMap(v: unknown): v is KtMap<unknown, unknown> {\n return (\n v != null &&\n typeof v === \"object\" &&\n typeof (v as any).asJsReadonlyMapView === \"function\"\n );\n}\n\nfunction throwReadonlyMutation(): never {\n throw new TypeError(READONLY_ERROR);\n}\n\nfunction readonlyArray<T>(arr: T[]): T[] {\n CONVERTED.add(arr);\n return Object.freeze(arr) as T[];\n}\n\n/**\n * Object.freeze(new Map()) does not prevent map.set/delete/clear because\n * Map entries live in internal slots. Use a Proxy to make mutation fail.\n */\nfunction readonlyMap<K, V>(map: Map<K, V>): Map<K, V> {\n const cached = READONLY_MAP_CACHE.get(map as Map<unknown, unknown>);\n if (cached) return cached as Map<K, V>;\n\n const proxy = new Proxy(map, {\n get(target, prop) {\n if (prop === \"set\" || prop === \"delete\" || prop === \"clear\") {\n return throwReadonlyMutation;\n }\n\n const value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n\n set: throwReadonlyMutation,\n defineProperty: throwReadonlyMutation,\n deleteProperty: throwReadonlyMutation,\n setPrototypeOf: throwReadonlyMutation,\n });\n\n READONLY_MAP_CACHE.set(\n map as Map<unknown, unknown>,\n proxy as Map<unknown, unknown>,\n );\n\n CONVERTED.add(map);\n CONVERTED.add(proxy);\n\n return proxy;\n}\n\nconst DATE_MUTATORS = new Set<PropertyKey>([\n \"setDate\",\n \"setFullYear\",\n \"setHours\",\n \"setMilliseconds\",\n \"setMinutes\",\n \"setMonth\",\n \"setSeconds\",\n \"setTime\",\n \"setUTCDate\",\n \"setUTCFullYear\",\n \"setUTCHours\",\n \"setUTCMilliseconds\",\n \"setUTCMinutes\",\n \"setUTCMonth\",\n \"setUTCSeconds\",\n \"setYear\",\n]);\n\n/**\n * Object.freeze(date) does not prevent date.setTime(...), because Date also\n * mutates internal slots. Use a Proxy so Date remains Date-shaped while\n * mutation methods throw.\n */\nfunction readonlyDate<T extends Date>(date: T): T {\n const cached = READONLY_DATE_CACHE.get(date);\n if (cached) return cached as T;\n\n const proxy = new Proxy(date, {\n get(target, prop) {\n if (DATE_MUTATORS.has(prop)) {\n return throwReadonlyMutation;\n }\n\n const value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n\n set: throwReadonlyMutation,\n defineProperty: throwReadonlyMutation,\n deleteProperty: throwReadonlyMutation,\n setPrototypeOf: throwReadonlyMutation,\n }) as T;\n\n READONLY_DATE_CACHE.set(date, proxy);\n\n // Do not add `date`; otherwise later fromKt(date) returns the mutable original.\n CONVERTED.add(proxy);\n\n return proxy;\n}\n\nfunction freezeObject<T extends object>(obj: T): T {\n CONVERTED.add(obj);\n return Object.freeze(obj);\n}\n\n/**\n * Recursively converts an SDK result object so that:\n *\n * KtList / KtMutableList → JS array\n * KtMap / KtMutableMap → JS Map\n * SDK class instances → same instance, converted in-place\n * Date → Date proxy whose mutators throw\n * everything else → unchanged\n *\n * The returned TypeScript type is intentionally mutable-looking. Runtime\n * immutability is enforced by freezing objects/arrays and proxying Map/Date.\n *\n * Examples:\n *\n * fromKt(KtList<Company>) → Company[]\n * fromKt(Company) → Company\n * fromKt(KtMap<K, V>) → Map<K, FromKt<V>>\n *\n * Mutations compile, but throw at runtime:\n *\n * company.name = 'New name'\n * companies.push(company)\n * companyMap.set(id, company)\n */\nexport function fromKt<E>(obj: KtList<E> | KtMutableList<E>): FromKt<E>[];\n\nexport function fromKt<K, V>(\n obj: KtMap<K, V> | KtMutableMap<K, V>,\n): Map<K, FromKt<V>>;\n\nexport function fromKt<T>(obj: T): FromKt<T>;\n\nexport function fromKt(obj: any): any {\n if (obj == null) return obj;\n\n if (typeof obj !== \"object\") {\n return obj;\n }\n\n if (CONVERTED.has(obj)) {\n return obj;\n }\n\n if (obj instanceof Date) {\n return readonlyDate(obj);\n }\n\n if (isKtList(obj)) {\n return readonlyArray(ktListToJsArrayView(obj).map((el: any) => fromKt(el)));\n }\n\n if (isKtMap(obj)) {\n const result = new Map();\n\n for (const [k, v] of (obj as any).asJsReadonlyMapView()) {\n result.set(k, fromKt(v));\n }\n\n return readonlyMap(result);\n }\n\n if (Array.isArray(obj)) {\n return readonlyArray(obj.map((el) => fromKt(el)));\n }\n\n if (obj instanceof Map) {\n const result = new Map();\n\n for (const [k, v] of obj) {\n result.set(k, fromKt(v));\n }\n\n return readonlyMap(result);\n }\n\n /**\n * SDK class instance / plain object.\n *\n * Convert object-valued properties in-place so identity, prototype,\n * methods and instanceof checks are preserved for SDK model instances.\n *\n * Mark before recursion to handle cycles.\n */\n CONVERTED.add(obj);\n\n const record = obj as Record<string, unknown>;\n\n for (const key of Object.keys(obj)) {\n const val = record[key];\n\n if (val == null || typeof val !== \"object\") {\n continue;\n }\n\n record[key] = fromKt(val);\n }\n\n return freezeObject(obj);\n}\n\n/** Converts any numeric value to the bigint Kotlin Long expects. */\nexport const toLong = (n: number | bigint | string): bigint => BigInt(n);\n\n/** Wraps a JS array for Kotlin APIs that accept List<T>. */\nexport const toKtList = <T>(arr: T[]): KtList<T> => KtList.fromJsArray(arr);\n\n/** Converts an array of numeric IDs to KtList<bigint>. */\nexport const toIdList = (arr: Id[]): KtList<bigint> =>\n KtList.fromJsArray(arr.map(toLong));\n\n/**\n * Recursively maps a Props type so that Kotlin collection types become\n * their plain JS equivalents:\n *\n * KtList<E> / KtMutableList<E> → JsProps<E>[]\n * KtMap<K,V> / KtMutableMap<K,V> → Map<K, JsProps<V>>\n * nested object types → recursed into\n * primitives, Date, bigint, etc. → unchanged\n */\nexport type JsProps<T> = T extends KtList<infer E> | KtMutableList<infer E>\n ? JsProps<E>[]\n : T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V>\n ? Map<K, JsProps<V>>\n : T extends Date | bigint | number | string | boolean | null | undefined\n ? T\n : T extends readonly (infer E)[]\n ? JsProps<E>[]\n : T extends object\n ? { [P in keyof T]: JsProps<T[P]> }\n : T;\n\n/**\n * Recursively prepares a plain JS props object for an SDK constructor.\n *\n * SDK constructors handle arrays of complex objects natively, converting\n * elements to class instances and wrapping in ArrayList. However, arrays\n * of primitives such as strings and bigints are not auto-converted and must\n * be pre-wrapped in KtList. Maps must be converted to KtMap as well.\n *\n * This function:\n *\n * - Leaves arrays of plain objects as JS arrays\n * - Converts arrays of primitives / empty arrays to KtList\n * - Converts JS Map to KtMap, recursing into values\n * - Recurses into arrays and plain objects to process nested values\n * - Passes through primitives, Date, class instances and enums unchanged\n */\nexport function toKtProps<T>(obj: T): any {\n if (obj == null) return obj;\n\n if (Array.isArray(obj)) {\n const mapped = obj.map(toKtProps);\n\n /**\n * Non-empty arrays whose first element is a plain object should stay\n * as JS arrays. SDK constructors convert elements to class instances\n * and wrap in ArrayList. Everything else — empty arrays and primitive\n * arrays — must become KtList since constructors do not handle those.\n */\n const first = mapped[0];\n\n if (\n mapped.length > 0 &&\n typeof first === \"object\" &&\n first !== null &&\n first.constructor === Object\n ) {\n return mapped;\n }\n\n return KtList.fromJsArray(mapped);\n }\n\n if (obj instanceof Map) {\n const converted = new Map();\n\n for (const [k, v] of obj) {\n converted.set(k, toKtProps(v));\n }\n\n return KtMap.fromJsMap(converted);\n }\n\n if (typeof obj === \"object\" && obj.constructor === Object) {\n const result: Record<string, unknown> = {};\n\n for (const key of Object.keys(obj)) {\n result[key] = toKtProps((obj as Record<string, unknown>)[key]);\n }\n\n return result;\n }\n\n return obj;\n}\n"]}
1
+ {"version":3,"file":"kt-bridge.js","sourceRoot":"","sources":["../../src/utils/kt-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAA+B,MAAM,oBAAoB,CAAC;AAqBhF,MAAM,UAAU,OAAO,CAAC,EAAc;IACpC,IAAI,OAAO,EAAE,KAAK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E,CAAC;YACzB,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;QACjC,CAAC;QAED,OAAO,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,WAAW,KAAK,MAAM,EAAE,CAAC;QAC1D,MAAM,MAAM,GAA4B,EAAE,CAAC;QAE3C,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAE,GAA+B,CAAC,GAAG,CAAC,CAAC,CAAC;QACjE,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["import { KtList, KtMap, KtMutableList, KtMutableMap } from \"@solibo/solibo-sdk\";\n\n/**\n * Accepts any value that can be coerced to an ID via BigInt().\n * Use this for hook parameters that represent entity IDs — works\n * seamlessly with useParams(), route params, etc.\n */\nexport type Id = bigint | number | string;\n\n/**\n * Normalizes an ID for use in a TanStack Query key.\n * bigint cannot be JSON.stringify'd (which TanStack Query uses to hash keys),\n * so bigint values are converted to their string representation.\n * number and string pass through unchanged.\n */\nexport function toKeyId(id: bigint): string;\nexport function toKeyId(id: number): number;\nexport function toKeyId(id: string): string;\nexport function toKeyId(id: null): null;\nexport function toKeyId(id: undefined): undefined;\nexport function toKeyId(id?: Id | null): string | number | null | undefined;\nexport function toKeyId(id?: Id | null): string | number | null | undefined {\n if (typeof id === \"bigint\") return String(id);\n return id as string | number | null | undefined;\n}\n\n/**\n * Tracks objects already converted by fromKt.\n *\n * This replaces the old symbol marker so converted objects can be frozen\n * without needing to write marker properties onto them later.\n */\nconst CONVERTED = new WeakSet<object>();\n\nconst READONLY_MAP_CACHE = new WeakMap<\n Map<unknown, unknown>,\n Map<unknown, unknown>\n>();\nconst READONLY_DATE_CACHE = new WeakMap<Date, Date>();\n\nconst READONLY_ERROR = \"Cannot mutate SDK query result\";\n\nconst KT_LIST_JS_ARRAY_COMPAT_MARKER = Symbol.for(\n \"@solibo/solibo-query/kt-list-js-array-compat\",\n);\n\nfunction ktListToJsArrayView(value: unknown): unknown[] {\n if (value == null || typeof value !== \"object\") {\n return [];\n }\n\n const anyValue = value as any;\n\n if (typeof anyValue.asJsReadonlyArrayView === \"function\") {\n return Array.from(anyValue.asJsReadonlyArrayView());\n }\n\n /**\n * Kotlin/JS ArrayList fallback.\n *\n * Current observed shape:\n * ArrayList { i5_1: size, c1_1: backingArray, d1_1: false }\n *\n * Do not rely only on exact names; keep them as fast-paths and then fall\n * back to \"first array field + plausible size field\".\n */\n const backingArray: unknown[] | undefined = Array.isArray(anyValue.c1_1)\n ? anyValue.c1_1\n : Array.isArray(anyValue.c1_l)\n ? anyValue.c1_l\n : Object.values(anyValue).find((entry): entry is unknown[] =>\n Array.isArray(entry),\n );\n\n if (!backingArray) {\n return [];\n }\n\n const explicitSize =\n typeof anyValue.i5_1 === \"number\"\n ? anyValue.i5_1\n : typeof anyValue.i5_l === \"number\"\n ? anyValue.i5_l\n : undefined;\n\n const inferredSize =\n explicitSize ??\n Object.values(anyValue).find((entry): entry is number => {\n return (\n typeof entry === \"number\" &&\n Number.isInteger(entry) &&\n entry >= 0 &&\n entry <= backingArray.length\n );\n });\n\n return backingArray.slice(0, inferredSize ?? backingArray.length);\n}\n\nfunction defineKtListArrayMethod(\n proto: object,\n name: string,\n fn: (this: unknown, ...args: any[]) => unknown,\n) {\n Object.defineProperty(proto, name, {\n value: fn,\n enumerable: false,\n configurable: true,\n writable: true,\n });\n}\n\nfunction patchKtListPrototype(proto: object) {\n if ((proto as any)[KT_LIST_JS_ARRAY_COMPAT_MARKER]) {\n return;\n }\n\n Object.defineProperty(proto, KT_LIST_JS_ARRAY_COMPAT_MARKER, {\n value: true,\n enumerable: false,\n configurable: false,\n });\n\n Object.defineProperty(proto, \"length\", {\n get() {\n return ktListToJsArrayView(this).length;\n },\n enumerable: false,\n configurable: true,\n });\n\n Object.defineProperty(proto, Symbol.iterator, {\n value: function () {\n return ktListToJsArrayView(this)[Symbol.iterator]();\n },\n enumerable: false,\n configurable: true,\n writable: true,\n });\n\n defineKtListArrayMethod(proto, \"at\", function (index: number) {\n return ktListToJsArrayView(this).at(index);\n });\n\n defineKtListArrayMethod(proto, \"slice\", function (...args: any[]) {\n return ktListToJsArrayView(this).slice(...(args as [number?, number?]));\n });\n\n defineKtListArrayMethod(proto, \"map\", function (...args: any[]) {\n return ktListToJsArrayView(this).map(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"filter\", function (...args: any[]) {\n return ktListToJsArrayView(this).filter(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"forEach\", function (...args: any[]) {\n return ktListToJsArrayView(this).forEach(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"some\", function (...args: any[]) {\n return ktListToJsArrayView(this).some(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"every\", function (...args: any[]) {\n return ktListToJsArrayView(this).every(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"find\", function (...args: any[]) {\n return ktListToJsArrayView(this).find(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"findIndex\", function (...args: any[]) {\n return ktListToJsArrayView(this).findIndex(...(args as [any, any?]));\n });\n\n defineKtListArrayMethod(proto, \"includes\", function (...args: any[]) {\n return ktListToJsArrayView(this).includes(...(args as [any, number?]));\n });\n\n defineKtListArrayMethod(proto, \"indexOf\", function (...args: any[]) {\n return ktListToJsArrayView(this).indexOf(...(args as [any, number?]));\n });\n}\n\nfunction installKtListJsArrayCompat() {\n try {\n const sample = KtList.fromJsArray([]);\n\n for (\n let proto = Object.getPrototypeOf(sample);\n proto && proto !== Object.prototype;\n proto = Object.getPrototypeOf(proto)\n ) {\n const name = proto.constructor?.name ?? \"\";\n\n if (\n name.includes(\"ArrayList\") ||\n name.includes(\"AbstractMutableList\") ||\n name.includes(\"AbstractList\") ||\n typeof (proto as any).asJsReadonlyArrayView === \"function\"\n ) {\n patchKtListPrototype(proto);\n }\n }\n } catch {\n // If SDK import/initialization changes, do not break module loading.\n }\n}\n\n// Kotlin/JS ArrayList instances can leak through opaque SDK models whose\n// public fields are not discoverable by reflection. Patch the Kotlin list\n// prototype once so leaked lists still support JS array-like reads such as\n// .length, .map(), iteration, etc.\ninstallKtListJsArrayCompat();\n\n/**\n * Converts Kotlin collection types to their JS equivalents without making\n * the TypeScript surface readonly:\n *\n * KtList<E> / KtMutableList<E> → FromKt<E>[]\n * KtMap<K,V> / KtMutableMap<K,V> → Map<K, FromKt<V>>\n * readonly E[] → FromKt<E>[]\n * SDK class instances → unchanged public type\n * primitives, Date, bigint, etc. → unchanged\n *\n * Runtime immutability is enforced by fromKt(), not by this type.\n */\nexport type FromKt<T> = T extends KtList<infer E> | KtMutableList<infer E>\n ? FromKt<E>[]\n : T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V>\n ? Map<K, FromKt<V>>\n : T extends readonly (infer E)[]\n ? FromKt<E>[]\n : T;\n\n/**\n * @deprecated Use FromKt<T>.\n *\n * Kept as a compatibility alias. This is intentionally no longer deeply\n * readonly at type level; runtime immutability is enforced by fromKt().\n */\nexport type DeepReadonly<T> = FromKt<T>;\n\nfunction isKtList(v: unknown): v is KtList<unknown> {\n return (\n v != null &&\n typeof v === \"object\" &&\n typeof (v as any).asJsReadonlyArrayView === \"function\"\n );\n}\n\nfunction isKtMap(v: unknown): v is KtMap<unknown, unknown> {\n return (\n v != null &&\n typeof v === \"object\" &&\n typeof (v as any).asJsReadonlyMapView === \"function\"\n );\n}\n\nfunction throwReadonlyMutation(): never {\n throw new TypeError(READONLY_ERROR);\n}\n\nfunction readonlyArray<T>(arr: T[]): T[] {\n CONVERTED.add(arr);\n return Object.freeze(arr) as T[];\n}\n\n/**\n * Object.freeze(new Map()) does not prevent map.set/delete/clear because\n * Map entries live in internal slots. Use a Proxy to make mutation fail.\n */\nfunction readonlyMap<K, V>(map: Map<K, V>): Map<K, V> {\n const cached = READONLY_MAP_CACHE.get(map as Map<unknown, unknown>);\n if (cached) return cached as Map<K, V>;\n\n const proxy = new Proxy(map, {\n get(target, prop) {\n if (prop === \"set\" || prop === \"delete\" || prop === \"clear\") {\n return throwReadonlyMutation;\n }\n\n const value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n\n set: throwReadonlyMutation,\n defineProperty: throwReadonlyMutation,\n deleteProperty: throwReadonlyMutation,\n setPrototypeOf: throwReadonlyMutation,\n });\n\n READONLY_MAP_CACHE.set(\n map as Map<unknown, unknown>,\n proxy as Map<unknown, unknown>,\n );\n\n CONVERTED.add(map);\n CONVERTED.add(proxy);\n\n return proxy;\n}\n\nconst DATE_MUTATORS = new Set<PropertyKey>([\n \"setDate\",\n \"setFullYear\",\n \"setHours\",\n \"setMilliseconds\",\n \"setMinutes\",\n \"setMonth\",\n \"setSeconds\",\n \"setTime\",\n \"setUTCDate\",\n \"setUTCFullYear\",\n \"setUTCHours\",\n \"setUTCMilliseconds\",\n \"setUTCMinutes\",\n \"setUTCMonth\",\n \"setUTCSeconds\",\n \"setYear\",\n]);\n\n/**\n * Object.freeze(date) does not prevent date.setTime(...), because Date also\n * mutates internal slots. Use a Proxy so Date remains Date-shaped while\n * mutation methods throw.\n */\nfunction readonlyDate<T extends Date>(date: T): T {\n const cached = READONLY_DATE_CACHE.get(date);\n if (cached) return cached as T;\n\n const proxy = new Proxy(date, {\n get(target, prop) {\n if (DATE_MUTATORS.has(prop)) {\n return throwReadonlyMutation;\n }\n\n const value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n\n set: throwReadonlyMutation,\n defineProperty: throwReadonlyMutation,\n deleteProperty: throwReadonlyMutation,\n setPrototypeOf: throwReadonlyMutation,\n }) as T;\n\n READONLY_DATE_CACHE.set(date, proxy);\n\n // Do not add `date`; otherwise later fromKt(date) returns the mutable original.\n CONVERTED.add(proxy);\n\n return proxy;\n}\n\nfunction freezeObject<T extends object>(obj: T): T {\n CONVERTED.add(obj);\n return Object.freeze(obj);\n}\n\n/**\n * Recursively converts an SDK result object so that:\n *\n * KtList / KtMutableList → JS array\n * KtMap / KtMutableMap → JS Map\n * SDK class instances → same instance, converted in-place\n * Date → Date proxy whose mutators throw\n * everything else → unchanged\n *\n * The returned TypeScript type is intentionally mutable-looking. Runtime\n * immutability is enforced by freezing objects/arrays and proxying Map/Date.\n *\n * Examples:\n *\n * fromKt(KtList<Company>) → Company[]\n * fromKt(Company) → Company\n * fromKt(KtMap<K, V>) → Map<K, FromKt<V>>\n *\n * Mutations compile, but throw at runtime:\n *\n * company.name = 'New name'\n * companies.push(company)\n * companyMap.set(id, company)\n */\nexport function fromKt<E>(obj: KtList<E> | KtMutableList<E>): FromKt<E>[];\n\nexport function fromKt<K, V>(\n obj: KtMap<K, V> | KtMutableMap<K, V>,\n): Map<K, FromKt<V>>;\n\nexport function fromKt<T>(obj: T): FromKt<T>;\n\nexport function fromKt(obj: any): any {\n if (obj == null) return obj;\n\n if (typeof obj !== \"object\") {\n return obj;\n }\n\n if (CONVERTED.has(obj)) {\n return obj;\n }\n\n if (obj instanceof Date) {\n return readonlyDate(obj);\n }\n\n if (isKtList(obj)) {\n return readonlyArray(ktListToJsArrayView(obj).map((el: any) => fromKt(el)));\n }\n\n if (isKtMap(obj)) {\n const result = new Map();\n\n for (const [k, v] of (obj as any).asJsReadonlyMapView()) {\n result.set(k, fromKt(v));\n }\n\n return readonlyMap(result);\n }\n\n if (Array.isArray(obj)) {\n return readonlyArray(obj.map((el) => fromKt(el)));\n }\n\n if (obj instanceof Map) {\n const result = new Map();\n\n for (const [k, v] of obj) {\n result.set(k, fromKt(v));\n }\n\n return readonlyMap(result);\n }\n\n /**\n * SDK class instance / plain object.\n *\n * Convert object-valued properties in-place so identity, prototype,\n * methods and instanceof checks are preserved for SDK model instances.\n *\n * Mark before recursion to handle cycles.\n */\n CONVERTED.add(obj);\n\n const record = obj as Record<string, unknown>;\n\n for (const key of Object.keys(obj)) {\n const val = record[key];\n\n if (val == null || typeof val !== \"object\") {\n continue;\n }\n\n record[key] = fromKt(val);\n }\n\n return freezeObject(obj);\n}\n\n/** Converts any numeric value to the bigint Kotlin Long expects. */\nexport const toLong = (n: number | bigint | string): bigint => BigInt(n);\n\n/** Wraps a JS array for Kotlin APIs that accept List<T>. */\nexport const toKtList = <T>(arr: T[]): KtList<T> => KtList.fromJsArray(arr);\n\n/** Converts an array of numeric IDs to KtList<bigint>. */\nexport const toIdList = (arr: Id[]): KtList<bigint> =>\n KtList.fromJsArray(arr.map(toLong));\n\n/**\n * Recursively maps a Props type so that Kotlin collection types become\n * their plain JS equivalents:\n *\n * KtList<E> / KtMutableList<E> → JsProps<E>[]\n * KtMap<K,V> / KtMutableMap<K,V> → Map<K, JsProps<V>>\n * nested object types → recursed into\n * primitives, Date, bigint, etc. → unchanged\n */\nexport type JsProps<T> = T extends KtList<infer E> | KtMutableList<infer E>\n ? JsProps<E>[]\n : T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V>\n ? Map<K, JsProps<V>>\n : T extends Date | bigint | number | string | boolean | null | undefined\n ? T\n : T extends readonly (infer E)[]\n ? JsProps<E>[]\n : T extends object\n ? { [P in keyof T]: JsProps<T[P]> }\n : T;\n\n/**\n * Recursively prepares a plain JS props object for an SDK constructor.\n *\n * SDK constructors handle arrays of complex objects natively, converting\n * elements to class instances and wrapping in ArrayList. However, arrays\n * of primitives such as strings and bigints are not auto-converted and must\n * be pre-wrapped in KtList. Maps must be converted to KtMap as well.\n *\n * This function:\n *\n * - Leaves arrays of plain objects as JS arrays\n * - Converts arrays of primitives / empty arrays to KtList\n * - Converts JS Map to KtMap, recursing into values\n * - Recurses into arrays and plain objects to process nested values\n * - Passes through primitives, Date, class instances and enums unchanged\n */\nexport function toKtProps<T>(obj: T): any {\n if (obj == null) return obj;\n\n if (Array.isArray(obj)) {\n const mapped = obj.map(toKtProps);\n\n /**\n * Non-empty arrays whose first element is a plain object should stay\n * as JS arrays. SDK constructors convert elements to class instances\n * and wrap in ArrayList. Everything else — empty arrays and primitive\n * arrays — must become KtList since constructors do not handle those.\n */\n const first = mapped[0];\n\n if (\n mapped.length > 0 &&\n typeof first === \"object\" &&\n first !== null &&\n first.constructor === Object\n ) {\n return mapped;\n }\n\n return KtList.fromJsArray(mapped);\n }\n\n if (obj instanceof Map) {\n const converted = new Map();\n\n for (const [k, v] of obj) {\n converted.set(k, toKtProps(v));\n }\n\n return KtMap.fromJsMap(converted);\n }\n\n if (typeof obj === \"object\" && obj.constructor === Object) {\n const result: Record<string, unknown> = {};\n\n for (const key of Object.keys(obj)) {\n result[key] = toKtProps((obj as Record<string, unknown>)[key]);\n }\n\n return result;\n }\n\n return obj;\n}\n"]}