@solibo/solibo-query 1.20.2 → 1.22.0-d3ccd84-1790375326997-SNAPSHOT

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,31 @@
1
1
  # @solibo/solibo-query
2
2
 
3
- Framework-agnostic TanStack Query option factories, mutation options, query keys, and utilities for the Solibo SDK.
3
+ Framework-agnostic TanStack Query options, mutation options and query keys for the Solibo Home SDK.
4
+ Solibo Home is the platform for owning and managing homes in Norway. Today it serves housing
5
+ communities (borettslag, sameier and similar) and the boards, owners, residents and property
6
+ managers around them.
4
7
 
5
- For installation, configuration, API usage, and examples, visit the [Solibo SDK documentation](https://sdk.solibo.no).
8
+ You need credentials issued by Solibo: see [Getting credentials](https://developers.solibo.no/authentication#credentials)
9
+ or write to [solibohome@solibo.no](mailto:solibohome@solibo.no).
6
10
 
7
11
  ## Installation
8
12
 
9
13
  ```sh
10
14
  npm install @solibo/solibo-sdk @solibo/solibo-query @tanstack/query-core
11
15
  ```
16
+
17
+ ## First query
18
+
19
+ ```ts
20
+ import { createSoliboClient } from '@solibo/solibo-sdk'
21
+ import { companyByIdQueryOptions } from '@solibo/solibo-query'
22
+ import { QueryClient } from '@tanstack/query-core'
23
+
24
+ // On your server; needs the read, company:list and company:show scopes.
25
+ const sdk = createSoliboClient({ auth: { kind: 'm2m', clientId: 'YOUR_CLIENT_ID', clientSecret: process.env.SOLIBO_CLIENT_SECRET! } })
26
+ const queryClient = new QueryClient()
27
+ const companyId = (await sdk.api.companies.indexCompany({})).items[0].id
28
+ const company = await queryClient.fetchQuery(companyByIdQueryOptions(sdk, { id: companyId }))
29
+ ```
30
+
31
+ Guides, examples and the changelog are at [sdk.solibo.no](https://sdk.solibo.no).
@@ -20,3 +20,13 @@ export declare function publicConversationDocumentQueryOptions(sdk: SoliboClient
20
20
  queryFn: () => Promise<import("@solibo/solibo-sdk").UrlWrapper>;
21
21
  enabled: boolean;
22
22
  };
23
+ /**
24
+ * The signed URL of a public conversation document. The endpoint answers with a redirect unless
25
+ * asked not to, so this always asks for the URL, and shares the cache entry that
26
+ * publicConversationDocumentQueryOptions uses with `redirect: false`.
27
+ */
28
+ export declare function publicConversationDocumentURLQueryOptions(sdk: SoliboClient, params: Omit<Parameters<typeof publicConversationDocumentQueryOptions>[1], "redirect">): {
29
+ queryKey: (string | boolean | readonly ["conversations", "publicDocument", string | number | null | undefined, string | number | null | undefined] | null | undefined)[];
30
+ queryFn: () => Promise<import("@solibo/solibo-sdk").UrlWrapper>;
31
+ enabled: boolean;
32
+ };
@@ -36,4 +36,15 @@ export function publicConversationDocumentQueryOptions(sdk, params) {
36
36
  enabled: !!params.companySlug && !!params.conversationId && !!params.documentId,
37
37
  };
38
38
  }
39
+ /**
40
+ * The signed URL of a public conversation document. The endpoint answers with a redirect unless
41
+ * asked not to, so this always asks for the URL, and shares the cache entry that
42
+ * publicConversationDocumentQueryOptions uses with `redirect: false`.
43
+ */
44
+ export function publicConversationDocumentURLQueryOptions(sdk, params) {
45
+ return publicConversationDocumentQueryOptions(sdk, {
46
+ ...params,
47
+ redirect: false,
48
+ });
49
+ }
39
50
  //# sourceMappingURL=publicConversation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"publicConversation.js","sourceRoot":"","sources":["../../../../src/api/queries/conversation/publicConversation.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,MAAM,UAAU,8BAA8B,CAC5C,GAAiB,EACjB,MAIC;IAED,OAAO;QACL,QAAQ,EAAE;YACR,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC;YAC9C,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,MAAM;SACd;QACD,OAAO,EAAE,GAAG,EAAE,CACZ,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,sBAAsB,CAAC;YAC3C,WAAW,EAAE,MAAM,CAAC,WAAY;YAChC,cAAc,EAAE,MAAM,CAAC,cAAe;YACtC,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;QACJ,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc;KACzD,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,sCAAsC,CACpD,GAAiB,EACjB,MAMC;IAED,OAAO;QACL,QAAQ,EAAE;YACR,gBAAgB,CAAC,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,UAAU,CAAC;YACzE,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,QAAQ;YACf,MAAM,CAAC,IAAI;YACX,MAAM,CAAC,MAAM;YACb,GAAG,iBAAiB,CAAC,MAAM,CAAC;SAC7B;QACD,OAAO,EAAE,GAAG,EAAE,CACZ,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,8BAA8B,CAAC;YACnD,WAAW,EAAE,MAAM,CAAC,WAAY;YAChC,cAAc,EAAE,MAAM,CAAC,cAAe;YACtC,UAAU,EAAE,MAAM,CAAC,UAAW;YAC9B,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,GAAG,qBAAqB,CAAC,MAAM,CAAC;YAChC,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;QACJ,OAAO,EACL,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU;KACzE,CAAC;AACJ,CAAC","sourcesContent":["import { Id, SoliboClient } from \"@solibo/solibo-sdk\";\nimport {\n type ImageTransformOptions,\n imageTransformKey,\n imageTransformOptions,\n} from \"../../imageTransformOptions.js\";\nimport { conversationKeys } from \"./conversations.js\";\nexport function publicConversationQueryOptions(\n sdk: SoliboClient,\n params: {\n companySlug?: string;\n conversationId?: Id | null | undefined;\n fields?: string;\n },\n) {\n return {\n queryKey: [\n conversationKeys.public(params.conversationId),\n params.companySlug,\n params.fields,\n ],\n queryFn: () =>\n sdk.api.conversations.showConversationPublic({\n companySlug: params.companySlug!,\n conversationId: params.conversationId!,\n fields: params.fields,\n }),\n enabled: !!params.companySlug && !!params.conversationId,\n };\n}\nexport function publicConversationDocumentQueryOptions(\n sdk: SoliboClient,\n params: ImageTransformOptions & {\n companySlug?: string;\n conversationId?: Id | null | undefined;\n documentId?: Id | null | undefined;\n redirect?: boolean | null;\n fields?: string;\n },\n) {\n return {\n queryKey: [\n conversationKeys.publicDocument(params.conversationId, params.documentId),\n params.companySlug,\n params.redirect,\n params.size,\n params.fields,\n ...imageTransformKey(params),\n ],\n queryFn: () =>\n sdk.api.conversations.showDocumentPublicConversation({\n companySlug: params.companySlug!,\n conversationId: params.conversationId!,\n documentId: params.documentId!,\n redirect: params.redirect,\n ...imageTransformOptions(params),\n fields: params.fields,\n }),\n enabled:\n !!params.companySlug && !!params.conversationId && !!params.documentId,\n };\n}\n"]}
1
+ {"version":3,"file":"publicConversation.js","sourceRoot":"","sources":["../../../../src/api/queries/conversation/publicConversation.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,MAAM,UAAU,8BAA8B,CAC5C,GAAiB,EACjB,MAIC;IAED,OAAO;QACL,QAAQ,EAAE;YACR,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC;YAC9C,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,MAAM;SACd;QACD,OAAO,EAAE,GAAG,EAAE,CACZ,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,sBAAsB,CAAC;YAC3C,WAAW,EAAE,MAAM,CAAC,WAAY;YAChC,cAAc,EAAE,MAAM,CAAC,cAAe;YACtC,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;QACJ,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc;KACzD,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,sCAAsC,CACpD,GAAiB,EACjB,MAMC;IAED,OAAO;QACL,QAAQ,EAAE;YACR,gBAAgB,CAAC,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,UAAU,CAAC;YACzE,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,QAAQ;YACf,MAAM,CAAC,IAAI;YACX,MAAM,CAAC,MAAM;YACb,GAAG,iBAAiB,CAAC,MAAM,CAAC;SAC7B;QACD,OAAO,EAAE,GAAG,EAAE,CACZ,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,8BAA8B,CAAC;YACnD,WAAW,EAAE,MAAM,CAAC,WAAY;YAChC,cAAc,EAAE,MAAM,CAAC,cAAe;YACtC,UAAU,EAAE,MAAM,CAAC,UAAW;YAC9B,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,GAAG,qBAAqB,CAAC,MAAM,CAAC;YAChC,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;QACJ,OAAO,EACL,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU;KACzE,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,yCAAyC,CACvD,GAAiB,EACjB,MAGC;IAED,OAAO,sCAAsC,CAAC,GAAG,EAAE;QACjD,GAAG,MAAM;QACT,QAAQ,EAAE,KAAK;KAChB,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { Id, SoliboClient } from \"@solibo/solibo-sdk\";\nimport {\n type ImageTransformOptions,\n imageTransformKey,\n imageTransformOptions,\n} from \"../../imageTransformOptions.js\";\nimport { conversationKeys } from \"./conversations.js\";\nexport function publicConversationQueryOptions(\n sdk: SoliboClient,\n params: {\n companySlug?: string;\n conversationId?: Id | null | undefined;\n fields?: string;\n },\n) {\n return {\n queryKey: [\n conversationKeys.public(params.conversationId),\n params.companySlug,\n params.fields,\n ],\n queryFn: () =>\n sdk.api.conversations.showConversationPublic({\n companySlug: params.companySlug!,\n conversationId: params.conversationId!,\n fields: params.fields,\n }),\n enabled: !!params.companySlug && !!params.conversationId,\n };\n}\nexport function publicConversationDocumentQueryOptions(\n sdk: SoliboClient,\n params: ImageTransformOptions & {\n companySlug?: string;\n conversationId?: Id | null | undefined;\n documentId?: Id | null | undefined;\n redirect?: boolean | null;\n fields?: string;\n },\n) {\n return {\n queryKey: [\n conversationKeys.publicDocument(params.conversationId, params.documentId),\n params.companySlug,\n params.redirect,\n params.size,\n params.fields,\n ...imageTransformKey(params),\n ],\n queryFn: () =>\n sdk.api.conversations.showDocumentPublicConversation({\n companySlug: params.companySlug!,\n conversationId: params.conversationId!,\n documentId: params.documentId!,\n redirect: params.redirect,\n ...imageTransformOptions(params),\n fields: params.fields,\n }),\n enabled:\n !!params.companySlug && !!params.conversationId && !!params.documentId,\n };\n}\n\n/**\n * The signed URL of a public conversation document. The endpoint answers with a redirect unless\n * asked not to, so this always asks for the URL, and shares the cache entry that\n * publicConversationDocumentQueryOptions uses with `redirect: false`.\n */\nexport function publicConversationDocumentURLQueryOptions(\n sdk: SoliboClient,\n params: Omit<\n Parameters<typeof publicConversationDocumentQueryOptions>[1],\n \"redirect\"\n >,\n) {\n return publicConversationDocumentQueryOptions(sdk, {\n ...params,\n redirect: false,\n });\n}\n"]}
@@ -0,0 +1,62 @@
1
+ import type { SoliboClient } from "@solibo/solibo-sdk";
2
+ import { nextPageParam, prevPageParam } from "../../../utils/pageUtils.js";
3
+ export type DocumentURLsQueryParams = Parameters<SoliboClient["api"]["documents"]["showDocumentUrls"]>[0];
4
+ export type PublicDocumentURLsQueryParams = Parameters<SoliboClient["api"]["documents"]["showPublicDocumentUrls"]>[0];
5
+ /**
6
+ * Signed URLs for up to 100 documents in one request, in request order, each with its `expiresAt`.
7
+ * A document the caller may not download is left out. Pass `autoPaginate: true` for every URL in
8
+ * one page. To show a single document, getDocumentURLQueryOptions already batches lookups made
9
+ * together into this endpoint.
10
+ */
11
+ export declare function documentURLsQueryOptions(sdk: SoliboClient, params: DocumentURLsQueryParams): {
12
+ initialPageParam: string | undefined;
13
+ queryKey: (readonly ["documents", "urls", {
14
+ readonly companyId: string | null | undefined;
15
+ readonly documentIds: readonly string[] | null | undefined;
16
+ readonly size?: string | null | undefined;
17
+ readonly fit?: string | null | undefined;
18
+ readonly position?: string | null | undefined;
19
+ readonly format?: string | null | undefined;
20
+ readonly quality?: string | null | undefined;
21
+ readonly upscale?: string | null | undefined;
22
+ readonly background?: string | null | undefined;
23
+ readonly fields?: string | null | undefined;
24
+ readonly pageToken?: string | null | undefined;
25
+ readonly autoPaginate?: boolean | null | undefined;
26
+ readonly count?: number | null | undefined;
27
+ }])[];
28
+ queryFn: ({ pageParam }: {
29
+ pageParam: string | undefined;
30
+ }) => Promise<import("@solibo/solibo-sdk").PagedListDocumentUrl>;
31
+ getNextPageParam: typeof nextPageParam;
32
+ getPreviousPageParam: typeof prevPageParam;
33
+ enabled: boolean;
34
+ };
35
+ /**
36
+ * The public counterpart of documentURLsQueryOptions: only documents the open homepage shows are
37
+ * signed. publicGetDocumentURLQueryOptions batches lookups made together into this endpoint.
38
+ */
39
+ export declare function publicDocumentURLsQueryOptions(sdk: SoliboClient, params: PublicDocumentURLsQueryParams): {
40
+ initialPageParam: string | undefined;
41
+ queryKey: (readonly ["documents", "publicUrls", {
42
+ readonly companyId: string | null | undefined;
43
+ readonly documentIds: readonly string[] | null | undefined;
44
+ readonly size?: string | null | undefined;
45
+ readonly fit?: string | null | undefined;
46
+ readonly position?: string | null | undefined;
47
+ readonly format?: string | null | undefined;
48
+ readonly quality?: string | null | undefined;
49
+ readonly upscale?: string | null | undefined;
50
+ readonly background?: string | null | undefined;
51
+ readonly fields?: string | null | undefined;
52
+ readonly pageToken?: string | null | undefined;
53
+ readonly autoPaginate?: boolean | null | undefined;
54
+ readonly count?: number | null | undefined;
55
+ }])[];
56
+ queryFn: ({ pageParam }: {
57
+ pageParam: string | undefined;
58
+ }) => Promise<import("@solibo/solibo-sdk").PagedListDocumentUrl>;
59
+ getNextPageParam: typeof nextPageParam;
60
+ getPreviousPageParam: typeof prevPageParam;
61
+ enabled: boolean;
62
+ };
@@ -0,0 +1,39 @@
1
+ import { nextPageParam, prevPageParam } from "../../../utils/pageUtils.js";
2
+ import { documentKeys } from "./documents.js";
3
+ /**
4
+ * Signed URLs for up to 100 documents in one request, in request order, each with its `expiresAt`.
5
+ * A document the caller may not download is left out. Pass `autoPaginate: true` for every URL in
6
+ * one page. To show a single document, getDocumentURLQueryOptions already batches lookups made
7
+ * together into this endpoint.
8
+ */
9
+ export function documentURLsQueryOptions(sdk, params) {
10
+ return {
11
+ initialPageParam: params.pageToken ?? undefined,
12
+ queryKey: [documentKeys.urls(params)],
13
+ queryFn: ({ pageParam }) => sdk.api.documents.showDocumentUrls({
14
+ ...params,
15
+ pageToken: pageParam,
16
+ }),
17
+ getNextPageParam: nextPageParam,
18
+ getPreviousPageParam: prevPageParam,
19
+ enabled: !!params.companyId && !!params.documentIds?.length,
20
+ };
21
+ }
22
+ /**
23
+ * The public counterpart of documentURLsQueryOptions: only documents the open homepage shows are
24
+ * signed. publicGetDocumentURLQueryOptions batches lookups made together into this endpoint.
25
+ */
26
+ export function publicDocumentURLsQueryOptions(sdk, params) {
27
+ return {
28
+ initialPageParam: params.pageToken ?? undefined,
29
+ queryKey: [documentKeys.publicUrls(params)],
30
+ queryFn: ({ pageParam }) => sdk.api.documents.showPublicDocumentUrls({
31
+ ...params,
32
+ pageToken: pageParam,
33
+ }),
34
+ getNextPageParam: nextPageParam,
35
+ getPreviousPageParam: prevPageParam,
36
+ enabled: !!params.companyId && !!params.documentIds?.length,
37
+ };
38
+ }
39
+ //# sourceMappingURL=documentURLs.js.map
@@ -0,0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AAM,CAAC,WAAW,EAAE,MAAM;KAC5D,CAAC;AACJ,CAAC","sourcesContent":["import type { SoliboClient } from \"@solibo/solibo-sdk\";\nimport { nextPageParam, prevPageParam } from \"../../../utils/pageUtils.js\";\nimport { documentKeys } from \"./documents.js\";\n\nexport type DocumentURLsQueryParams = Parameters<\n SoliboClient[\"api\"][\"documents\"][\"showDocumentUrls\"]\n>[0];\nexport type PublicDocumentURLsQueryParams = Parameters<\n SoliboClient[\"api\"][\"documents\"][\"showPublicDocumentUrls\"]\n>[0];\n\n/**\n * Signed URLs for up to 100 documents in one request, in request order, each with its `expiresAt`.\n * A document the caller may not download is left out. Pass `autoPaginate: true` for every URL in\n * one page. To show a single document, getDocumentURLQueryOptions already batches lookups made\n * together into this endpoint.\n */\nexport function documentURLsQueryOptions(\n sdk: SoliboClient,\n params: DocumentURLsQueryParams,\n) {\n return {\n initialPageParam: params.pageToken ?? undefined,\n queryKey: [documentKeys.urls(params)],\n queryFn: ({ pageParam }: { pageParam: string | undefined }) =>\n sdk.api.documents.showDocumentUrls({\n ...params,\n pageToken: pageParam,\n }),\n getNextPageParam: nextPageParam,\n getPreviousPageParam: prevPageParam,\n enabled: !!params.companyId && !!params.documentIds?.length,\n };\n}\n\n/**\n * The public counterpart of documentURLsQueryOptions: only documents the open homepage shows are\n * signed. publicGetDocumentURLQueryOptions batches lookups made together into this endpoint.\n */\nexport function publicDocumentURLsQueryOptions(\n sdk: SoliboClient,\n params: PublicDocumentURLsQueryParams,\n) {\n return {\n initialPageParam: params.pageToken ?? undefined,\n queryKey: [documentKeys.publicUrls(params)],\n queryFn: ({ pageParam }: { pageParam: string | undefined }) =>\n sdk.api.documents.showPublicDocumentUrls({\n ...params,\n pageToken: pageParam,\n }),\n getNextPageParam: nextPageParam,\n getPreviousPageParam: prevPageParam,\n enabled: !!params.companyId && !!params.documentIds?.length,\n };\n}\n"]}
@@ -1,5 +1,6 @@
1
1
  import { DocumentType, Id, SoliboClient } from "@solibo/solibo-sdk";
2
2
  import { nextPageParam, prevPageParam } from "../../../utils/pageUtils.js";
3
+ type DocumentURLsParams = Parameters<SoliboClient["api"]["documents"]["showDocumentUrls"]>[0];
3
4
  export declare const documentKeys: {
4
5
  all: readonly ["documents"];
5
6
  list: (companyId?: Id | null | undefined) => readonly ["documents", "list", string | number | null | undefined];
@@ -7,6 +8,36 @@ export declare const documentKeys: {
7
8
  ofType: (type?: DocumentType, companyId?: Id | null | undefined, parentId?: Id | null | undefined, isDirectory?: boolean) => readonly ["documents", "ofType", string | number | null | undefined, DocumentType | undefined] | readonly ["documents", "ofType", string | number | null | undefined, DocumentType | undefined, string | number | null | undefined, boolean] | readonly ["documents", "ofType", string | number | null | undefined, DocumentType | undefined, string | number | null | undefined] | readonly ["documents", "ofType", string | number | null | undefined, DocumentType | undefined, boolean];
8
9
  url: (companyId?: Id | null | undefined, documentId?: Id | null | undefined) => readonly ["documents", "url", string | number | null | undefined, string | number | null | undefined];
9
10
  publicUrl: (companyId?: Id | null | undefined, documentId?: Id | null | undefined) => readonly ["documents", "publicUrl", string | number | null | undefined, string | number | null | undefined];
11
+ urls: (params: DocumentURLsParams) => readonly ["documents", "urls", {
12
+ readonly companyId: string | null | undefined;
13
+ readonly documentIds: readonly string[] | null | undefined;
14
+ readonly size?: string | null | undefined;
15
+ readonly fit?: string | null | undefined;
16
+ readonly position?: string | null | undefined;
17
+ readonly format?: string | null | undefined;
18
+ readonly quality?: string | null | undefined;
19
+ readonly upscale?: string | null | undefined;
20
+ readonly background?: string | null | undefined;
21
+ readonly fields?: string | null | undefined;
22
+ readonly pageToken?: string | null | undefined;
23
+ readonly autoPaginate?: boolean | null | undefined;
24
+ readonly count?: number | null | undefined;
25
+ }];
26
+ publicUrls: (params: DocumentURLsParams) => readonly ["documents", "publicUrls", {
27
+ readonly companyId: string | null | undefined;
28
+ readonly documentIds: readonly string[] | null | undefined;
29
+ readonly size?: string | null | undefined;
30
+ readonly fit?: string | null | undefined;
31
+ readonly position?: string | null | undefined;
32
+ readonly format?: string | null | undefined;
33
+ readonly quality?: string | null | undefined;
34
+ readonly upscale?: string | null | undefined;
35
+ readonly background?: string | null | undefined;
36
+ readonly fields?: string | null | undefined;
37
+ readonly pageToken?: string | null | undefined;
38
+ readonly autoPaginate?: boolean | null | undefined;
39
+ readonly count?: number | null | undefined;
40
+ }];
10
41
  search: (companyId?: Id | null | undefined, searchString?: string) => readonly ["documents", "search", string | number | null | undefined, string | undefined];
11
42
  };
12
43
  export declare function documentsQueryOptions(sdk: SoliboClient, params: {
@@ -49,3 +80,4 @@ export declare function documentsBelongingToIdQueryOptions(sdk: SoliboClient, pa
49
80
  getNextPageParam: typeof nextPageParam;
50
81
  getPreviousPageParam: typeof prevPageParam;
51
82
  };
83
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { toKeyId } from "../../../utils/kt-bridge.js";
2
2
  import { nextPageParam, prevPageParam } from "../../../utils/pageUtils.js";
3
3
  import { trimTrailingUndefined } from "../../../utils/queryKeys.js";
4
+ import { canonicalQueryId, canonicalQueryIds, } from "../residentsAndSections/queryIdentity.js";
4
5
  export const documentKeys = {
5
6
  all: ["documents"],
6
7
  list: (companyId) => trimTrailingUndefined([
@@ -51,6 +52,24 @@ export const documentKeys = {
51
52
  toKeyId(companyId),
52
53
  toKeyId(documentId),
53
54
  ]),
55
+ urls: (params) => [
56
+ ...documentKeys.all,
57
+ "urls",
58
+ {
59
+ ...params,
60
+ companyId: canonicalQueryId(params.companyId),
61
+ documentIds: canonicalQueryIds(params.documentIds),
62
+ },
63
+ ],
64
+ publicUrls: (params) => [
65
+ ...documentKeys.all,
66
+ "publicUrls",
67
+ {
68
+ ...params,
69
+ companyId: canonicalQueryId(params.companyId),
70
+ documentIds: canonicalQueryIds(params.documentIds),
71
+ },
72
+ ],
54
73
  search: (companyId, searchString) => trimTrailingUndefined([
55
74
  ...documentKeys.all,
56
75
  "search",
@@ -1 +1 @@
1
- {"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../src/api/queries/document/documents.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AE,MAAM,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;YAC1D,aAAa,EAAE,MAAM,CAAC,aAAa;YACnC,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,SAAS,EAAE,SAAS;YACpB,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;QACJ,OAAO,EACL,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,CAAC,MAAM,CAAC,WAAW;QACrE,gBAAgB,EAAE,aAAa;QAC/B,oBAAoB,EAAE,aAAa;KACpC,CAAC;AACJ,CAAC","sourcesContent":["import { DocumentType, Id, SoliboClient } from \"@solibo/solibo-sdk\";\nimport { toKeyId } from \"../../../utils/kt-bridge.js\";\nimport { nextPageParam, prevPageParam } from \"../../../utils/pageUtils.js\";\nimport { trimTrailingUndefined } from \"../../../utils/queryKeys.js\";\nexport const documentKeys = {\n all: [\"documents\"] as const,\n list: (companyId?: Id | null | undefined) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"list\",\n toKeyId(companyId),\n ] as const),\n belongingToId: (\n companyId?: Id | null | undefined,\n documentType?: DocumentType,\n id?: Id | null | undefined,\n parentId?: Id | null | undefined,\n ) => {\n const key = [\n ...documentKeys.all,\n \"belongingToId\",\n toKeyId(companyId),\n documentType,\n toKeyId(id),\n ] as const;\n if (parentId !== undefined) {\n return [...key, toKeyId(parentId)] as const;\n }\n return key;\n },\n ofType: (\n type?: DocumentType,\n companyId?: Id | null | undefined,\n parentId?: Id | null | undefined,\n isDirectory?: boolean,\n ) => {\n const base = [\n ...documentKeys.all,\n \"ofType\",\n toKeyId(companyId),\n type,\n ] as const;\n if (parentId !== undefined && isDirectory !== undefined) {\n return [...base, toKeyId(parentId), isDirectory] as const;\n }\n if (parentId !== undefined) {\n return [...base, toKeyId(parentId)] as const;\n }\n if (isDirectory !== undefined) {\n return [...base, isDirectory] as const;\n }\n return trimTrailingUndefined(base);\n },\n url: (\n companyId?: Id | null | undefined,\n documentId?: Id | null | undefined,\n ) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"url\",\n toKeyId(companyId),\n toKeyId(documentId),\n ] as const),\n publicUrl: (\n companyId?: Id | null | undefined,\n documentId?: Id | null | undefined,\n ) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"publicUrl\",\n toKeyId(companyId),\n toKeyId(documentId),\n ] as const),\n search: (companyId?: Id | null | undefined, searchString?: string) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"search\",\n toKeyId(companyId),\n searchString,\n ] as const),\n};\nexport function documentsQueryOptions(\n sdk: SoliboClient,\n params: {\n companyId?: Id | null | undefined;\n search?: string | null | undefined;\n type?: DocumentType[] | null | undefined;\n createdAtFrom?: number | null | undefined;\n createdAtTo?: number | null | undefined;\n fields?: string;\n pageToken?: string;\n autoPaginate?: boolean | null;\n count?: number;\n },\n) {\n return {\n initialPageParam: params.pageToken,\n queryKey: [\n documentKeys.list(params.companyId),\n params.search,\n params.type,\n params.createdAtFrom,\n params.createdAtTo,\n params.fields,\n params.count,\n ],\n queryFn: ({ pageParam }: { pageParam: any }) =>\n sdk.api.documents.listDocument({\n companyId: params.companyId!,\n search: params.search,\n type: params.type ? params.type : undefined,\n createdAtFrom:\n params.createdAtFrom != null ? params.createdAtFrom : undefined,\n createdAtTo:\n params.createdAtTo != null ? params.createdAtTo : undefined,\n fields: params.fields,\n pageToken: pageParam,\n autoPaginate: params.autoPaginate,\n count: params.count,\n }),\n enabled: !!params.companyId,\n getNextPageParam: nextPageParam,\n getPreviousPageParam: prevPageParam,\n };\n}\nexport function documentsBelongingToIdQueryOptions(\n sdk: SoliboClient,\n params: {\n companyId?: Id | null | undefined;\n documentType?: DocumentType;\n belongsToId?: Id | null | undefined;\n parentId?: Id | null | undefined;\n uploadGroupId?: string;\n fields?: string;\n pageToken?: string;\n autoPaginate?: boolean | null;\n count?: number;\n },\n) {\n return {\n initialPageParam: params.pageToken,\n queryKey: [\n documentKeys.belongingToId(\n params.companyId,\n params.documentType,\n params.belongsToId,\n params.parentId,\n ),\n params.documentType?.name,\n params.uploadGroupId,\n params.fields,\n params.count,\n ],\n queryFn: ({ pageParam }: { pageParam: any }) =>\n sdk.api.documents.indexDocumentBelongsTo({\n companyId: params.companyId!,\n documentType: params.documentType!.name,\n belongsToId: params.belongsToId!,\n parentId: params.parentId != null ? params.parentId : null,\n uploadGroupId: params.uploadGroupId,\n fields: params.fields,\n pageToken: pageParam,\n autoPaginate: params.autoPaginate,\n count: params.count,\n }),\n enabled:\n !!params.companyId && !!params.documentType && !!params.belongsToId,\n getNextPageParam: nextPageParam,\n getPreviousPageParam: prevPageParam,\n };\n}\n"]}
1
+ {"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../src/api/queries/document/documents.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,0CAA0C,CAAC;AAMlD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,GAAG,EAAE,CAAC,WAAW,CAAU;IAC3B,IAAI,EAAE,CAAC,SAAiC,EAAE,EAAE,CAC1C,qBAAqB,CAAC;QACpB,GAAG,YAAY,CAAC,GAAG;QACnB,MAAM;QACN,OAAO,CAAC,SAAS,CAAC;KACV,CAAC;IACb,aAAa,EAAE,CACb,SAAiC,EACjC,YAA2B,EAC3B,EAA0B,EAC1B,QAAgC,EAChC,EAAE;QACF,MAAM,GAAG,GAAG;YACV,GAAG,YAAY,CAAC,GAAG;YACnB,eAAe;YACf,OAAO,CAAC,SAAS,CAAC;YAClB,YA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AAM,CAAC,aAAa;YACnC,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,SAAS,EAAE,SAAS;YACpB,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;QACJ,OAAO,EACL,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,CAAC,MAAM,CAAC,WAAW;QACrE,gBAAgB,EAAE,aAAa;QAC/B,oBAAoB,EAAE,aAAa;KACpC,CAAC;AACJ,CAAC","sourcesContent":["import { DocumentType, Id, SoliboClient } from \"@solibo/solibo-sdk\";\nimport { toKeyId } from \"../../../utils/kt-bridge.js\";\nimport { nextPageParam, prevPageParam } from \"../../../utils/pageUtils.js\";\nimport { trimTrailingUndefined } from \"../../../utils/queryKeys.js\";\nimport {\n canonicalQueryId,\n canonicalQueryIds,\n} from \"../residentsAndSections/queryIdentity.js\";\n\ntype DocumentURLsParams = Parameters<\n SoliboClient[\"api\"][\"documents\"][\"showDocumentUrls\"]\n>[0];\n\nexport const documentKeys = {\n all: [\"documents\"] as const,\n list: (companyId?: Id | null | undefined) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"list\",\n toKeyId(companyId),\n ] as const),\n belongingToId: (\n companyId?: Id | null | undefined,\n documentType?: DocumentType,\n id?: Id | null | undefined,\n parentId?: Id | null | undefined,\n ) => {\n const key = [\n ...documentKeys.all,\n \"belongingToId\",\n toKeyId(companyId),\n documentType,\n toKeyId(id),\n ] as const;\n if (parentId !== undefined) {\n return [...key, toKeyId(parentId)] as const;\n }\n return key;\n },\n ofType: (\n type?: DocumentType,\n companyId?: Id | null | undefined,\n parentId?: Id | null | undefined,\n isDirectory?: boolean,\n ) => {\n const base = [\n ...documentKeys.all,\n \"ofType\",\n toKeyId(companyId),\n type,\n ] as const;\n if (parentId !== undefined && isDirectory !== undefined) {\n return [...base, toKeyId(parentId), isDirectory] as const;\n }\n if (parentId !== undefined) {\n return [...base, toKeyId(parentId)] as const;\n }\n if (isDirectory !== undefined) {\n return [...base, isDirectory] as const;\n }\n return trimTrailingUndefined(base);\n },\n url: (\n companyId?: Id | null | undefined,\n documentId?: Id | null | undefined,\n ) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"url\",\n toKeyId(companyId),\n toKeyId(documentId),\n ] as const),\n publicUrl: (\n companyId?: Id | null | undefined,\n documentId?: Id | null | undefined,\n ) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"publicUrl\",\n toKeyId(companyId),\n toKeyId(documentId),\n ] as const),\n urls: (params: DocumentURLsParams) =>\n [\n ...documentKeys.all,\n \"urls\",\n {\n ...params,\n companyId: canonicalQueryId(params.companyId),\n documentIds: canonicalQueryIds(params.documentIds),\n },\n ] as const,\n publicUrls: (params: DocumentURLsParams) =>\n [\n ...documentKeys.all,\n \"publicUrls\",\n {\n ...params,\n companyId: canonicalQueryId(params.companyId),\n documentIds: canonicalQueryIds(params.documentIds),\n },\n ] as const,\n search: (companyId?: Id | null | undefined, searchString?: string) =>\n trimTrailingUndefined([\n ...documentKeys.all,\n \"search\",\n toKeyId(companyId),\n searchString,\n ] as const),\n};\nexport function documentsQueryOptions(\n sdk: SoliboClient,\n params: {\n companyId?: Id | null | undefined;\n search?: string | null | undefined;\n type?: DocumentType[] | null | undefined;\n createdAtFrom?: number | null | undefined;\n createdAtTo?: number | null | undefined;\n fields?: string;\n pageToken?: string;\n autoPaginate?: boolean | null;\n count?: number;\n },\n) {\n return {\n initialPageParam: params.pageToken,\n queryKey: [\n documentKeys.list(params.companyId),\n params.search,\n params.type,\n params.createdAtFrom,\n params.createdAtTo,\n params.fields,\n params.count,\n ],\n queryFn: ({ pageParam }: { pageParam: any }) =>\n sdk.api.documents.listDocument({\n companyId: params.companyId!,\n search: params.search,\n type: params.type ? params.type : undefined,\n createdAtFrom:\n params.createdAtFrom != null ? params.createdAtFrom : undefined,\n createdAtTo:\n params.createdAtTo != null ? params.createdAtTo : undefined,\n fields: params.fields,\n pageToken: pageParam,\n autoPaginate: params.autoPaginate,\n count: params.count,\n }),\n enabled: !!params.companyId,\n getNextPageParam: nextPageParam,\n getPreviousPageParam: prevPageParam,\n };\n}\nexport function documentsBelongingToIdQueryOptions(\n sdk: SoliboClient,\n params: {\n companyId?: Id | null | undefined;\n documentType?: DocumentType;\n belongsToId?: Id | null | undefined;\n parentId?: Id | null | undefined;\n uploadGroupId?: string;\n fields?: string;\n pageToken?: string;\n autoPaginate?: boolean | null;\n count?: number;\n },\n) {\n return {\n initialPageParam: params.pageToken,\n queryKey: [\n documentKeys.belongingToId(\n params.companyId,\n params.documentType,\n params.belongsToId,\n params.parentId,\n ),\n params.documentType?.name,\n params.uploadGroupId,\n params.fields,\n params.count,\n ],\n queryFn: ({ pageParam }: { pageParam: any }) =>\n sdk.api.documents.indexDocumentBelongsTo({\n companyId: params.companyId!,\n documentType: params.documentType!.name,\n belongsToId: params.belongsToId!,\n parentId: params.parentId != null ? params.parentId : null,\n uploadGroupId: params.uploadGroupId,\n fields: params.fields,\n pageToken: pageParam,\n autoPaginate: params.autoPaginate,\n count: params.count,\n }),\n enabled:\n !!params.companyId && !!params.documentType && !!params.belongsToId,\n getNextPageParam: nextPageParam,\n getPreviousPageParam: prevPageParam,\n };\n}\n"]}
@@ -1,20 +1,18 @@
1
1
  import { Id, SoliboClient } from "@solibo/solibo-sdk";
2
2
  import { type ImageTransformOptions } from "../../imageTransformOptions.js";
3
- export declare function getDocumentURLQueryOptions(sdk: SoliboClient, params: ImageTransformOptions & {
3
+ type DocumentURLParams = ImageTransformOptions & {
4
4
  companyId?: Id | null | undefined;
5
5
  documentId?: Id | null | undefined;
6
6
  fields?: string;
7
- }): {
7
+ };
8
+ export declare function getDocumentURLQueryOptions(sdk: SoliboClient, params: DocumentURLParams): {
8
9
  queryKey: (string | readonly ["documents", "url", string | number | null | undefined, string | number | null | undefined] | null | undefined)[];
9
10
  queryFn: () => Promise<import("@solibo/solibo-sdk").UrlWrapper>;
10
11
  enabled: boolean;
11
12
  };
12
- export declare function publicGetDocumentURLQueryOptions(sdk: SoliboClient, params: ImageTransformOptions & {
13
- companyId?: Id | null | undefined;
14
- documentId?: Id | null | undefined;
15
- fields?: string;
16
- }): {
13
+ export declare function publicGetDocumentURLQueryOptions(sdk: SoliboClient, params: DocumentURLParams): {
17
14
  queryKey: (string | readonly ["documents", "publicUrl", string | number | null | undefined, string | number | null | undefined] | null | undefined)[];
18
15
  queryFn: () => Promise<import("@solibo/solibo-sdk").UrlWrapper>;
19
16
  enabled: boolean;
20
17
  };
18
+ export {};
@@ -1,5 +1,114 @@
1
+ import { SoliboApiError } from "@solibo/solibo-sdk";
1
2
  import { imageTransformKey, imageTransformOptions, } from "../../imageTransformOptions.js";
2
3
  import { documentKeys } from "./documents.js";
4
+ const privateDocumentURLs = {
5
+ name: "private",
6
+ one: (sdk, params) => sdk.api.documents.showDocument({
7
+ companyId: params.companyId,
8
+ documentId: params.documentId,
9
+ redirect: false,
10
+ ...imageTransformOptions(params),
11
+ fields: params.fields,
12
+ }),
13
+ many: async (sdk, params, documentIds) => (await sdk.api.documents.showDocumentUrls({
14
+ companyId: params.companyId,
15
+ documentIds,
16
+ ...imageTransformOptions(params),
17
+ autoPaginate: true,
18
+ })).items,
19
+ };
20
+ const publicDocumentURLs = {
21
+ name: "public",
22
+ one: (sdk, params) => sdk.api.documents.showPublicDocument({
23
+ companyId: params.companyId,
24
+ documentId: params.documentId,
25
+ redirect: false,
26
+ ...imageTransformOptions(params),
27
+ fields: params.fields,
28
+ }),
29
+ many: async (sdk, params, documentIds) => (await sdk.api.documents.showPublicDocumentUrls({
30
+ companyId: params.companyId,
31
+ documentIds,
32
+ ...imageTransformOptions(params),
33
+ autoPaginate: true,
34
+ })).items,
35
+ };
36
+ const MAX_DOCUMENT_URLS_PER_REQUEST = 100;
37
+ const openBatches = new WeakMap();
38
+ /**
39
+ * Resolve a document URL together with every lookup made in the same task for the same company and
40
+ * rendition. A list mounts its pictures in one render, so a page of pictures costs one request
41
+ * instead of one each. A lookup made alone keeps the single-document endpoint.
42
+ */
43
+ function batchedDocumentURL(sdk, endpoints, params) {
44
+ const batchKey = JSON.stringify([
45
+ endpoints.name,
46
+ String(params.companyId),
47
+ params.size,
48
+ ...imageTransformKey(params),
49
+ ]);
50
+ const batches = openBatches.get(sdk) ?? new Map();
51
+ openBatches.set(sdk, batches);
52
+ let batch = batches.get(batchKey);
53
+ if (!batch) {
54
+ const opened = { endpoints, params, lookups: new Map() };
55
+ batches.set(batchKey, opened);
56
+ setTimeout(() => {
57
+ batches.delete(batchKey);
58
+ settle(sdk, opened);
59
+ }, 0);
60
+ batch = opened;
61
+ }
62
+ const documentId = params.documentId;
63
+ const lookup = batch.lookups.get(String(documentId)) ?? {
64
+ documentId,
65
+ settlers: [],
66
+ };
67
+ batch.lookups.set(String(documentId), lookup);
68
+ return new Promise((resolve, reject) => lookup.settlers.push({ resolve, reject }));
69
+ }
70
+ function settle(sdk, batch) {
71
+ const lookups = [...batch.lookups.values()];
72
+ if (lookups.length === 1) {
73
+ const [{ documentId, settlers }] = lookups;
74
+ batch.endpoints.one(sdk, { ...batch.params, documentId }).then((url) => settlers.forEach(({ resolve }) => resolve(url)), (error) => settlers.forEach(({ reject }) => reject(error)));
75
+ return;
76
+ }
77
+ for (let start = 0; start < lookups.length; start += MAX_DOCUMENT_URLS_PER_REQUEST) {
78
+ const chunk = lookups.slice(start, start + MAX_DOCUMENT_URLS_PER_REQUEST);
79
+ batch.endpoints
80
+ .many(sdk, batch.params, chunk.map(({ documentId }) => documentId))
81
+ .then((items) => {
82
+ const signed = new Map(items.map((item) => [String(item.documentId), item]));
83
+ for (const { documentId, settlers } of chunk) {
84
+ const url = signed.get(String(documentId));
85
+ for (const { resolve, reject } of settlers) {
86
+ if (url)
87
+ resolve(url);
88
+ else
89
+ reject(unavailable(documentId));
90
+ }
91
+ }
92
+ }, (error) => {
93
+ for (const { settlers } of chunk) {
94
+ for (const { reject } of settlers)
95
+ reject(error);
96
+ }
97
+ });
98
+ }
99
+ }
100
+ // The batch leaves out what it cannot sign, which is what a 404 from the single endpoint means.
101
+ function unavailable(documentId) {
102
+ return new SoliboApiError(`Document ${String(documentId)} is not available`, {
103
+ status: 404,
104
+ });
105
+ }
106
+ // A projection means nothing to the batch endpoint, so such a lookup keeps its own request.
107
+ function documentURL(sdk, endpoints, params) {
108
+ return params.fields === undefined
109
+ ? batchedDocumentURL(sdk, endpoints, params)
110
+ : endpoints.one(sdk, params);
111
+ }
3
112
  export function getDocumentURLQueryOptions(sdk, params) {
4
113
  return {
5
114
  queryKey: [
@@ -8,13 +117,7 @@ export function getDocumentURLQueryOptions(sdk, params) {
8
117
  params.fields,
9
118
  ...imageTransformKey(params),
10
119
  ],
11
- queryFn: () => sdk.api.documents.showDocument({
12
- companyId: params.companyId,
13
- documentId: params.documentId,
14
- redirect: false,
15
- ...imageTransformOptions(params),
16
- fields: params.fields,
17
- }),
120
+ queryFn: () => documentURL(sdk, privateDocumentURLs, params),
18
121
  enabled: !!params.companyId && !!params.documentId,
19
122
  };
20
123
  }
@@ -26,13 +129,7 @@ export function publicGetDocumentURLQueryOptions(sdk, params) {
26
129
  params.fields,
27
130
  ...imageTransformKey(params),
28
131
  ],
29
- queryFn: () => sdk.api.documents.showPublicDocument({
30
- companyId: params.companyId,
31
- documentId: params.documentId,
32
- redirect: false,
33
- ...imageTransformOptions(params),
34
- fields: params.fields,
35
- }),
132
+ queryFn: () => documentURL(sdk, publicDocumentURLs, params),
36
133
  enabled: !!params.companyId && !!params.documentId,
37
134
  };
38
135
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getDocumentURL.js","sourceRoot":"","sources":["../../../../src/api/queries/document/getDocumentURL.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,MAAM,UAAU,0BAA0B,CACx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ent":["import { Id, SoliboClient } from \"@solibo/solibo-sdk\";\nimport {\n type ImageTransformOptions,\n imageTransformKey,\n imageTransformOptions,\n} from \"../../imageTransformOptions.js\";\nimport { documentKeys } from \"./documents.js\";\nexport function getDocumentURLQueryOptions(\n sdk: SoliboClient,\n params: ImageTransformOptions & {\n companyId?: Id | null | undefined;\n documentId?: Id | null | undefined;\n fields?: string;\n },\n) {\n return {\n queryKey: [\n documentKeys.url(params.companyId, params.documentId),\n params.size,\n params.fields,\n ...imageTransformKey(params),\n ],\n queryFn: () =>\n sdk.api.documents.showDocument({\n companyId: params.companyId!,\n documentId: params.documentId!,\n redirect: false,\n ...imageTransformOptions(params),\n fields: params.fields,\n }),\n enabled: !!params.companyId && !!params.documentId,\n };\n}\n\nexport function publicGetDocumentURLQueryOptions(\n sdk: SoliboClient,\n params: ImageTransformOptions & {\n companyId?: Id | null | undefined;\n documentId?: Id | null | undefined;\n fields?: string;\n },\n) {\n return {\n queryKey: [\n documentKeys.publicUrl(params.companyId, params.documentId),\n params.size,\n params.fields,\n ...imageTransformKey(params),\n ],\n queryFn: () =>\n sdk.api.documents.showPublicDocument({\n companyId: params.companyId!,\n documentId: params.documentId!,\n redirect: false,\n ...imageTransformOptions(params),\n fields: params.fields,\n }),\n enabled: !!params.companyId && !!params.documentId,\n };\n}\n"]}
1
+ {"version":3,"file":"getDocumentURL.js","sourceRoot":"","sources":["../../../../src/api/queries/document/getDocumentURL.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,cAAc,EAAgB,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAEL,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AA2B9C,MAAM,mBAAmB,GAAyB;IAChD,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,CACnB,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,YAAY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OAAO;QACL,QAAQ,EAAE;YACR,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;YACrD,MAAM,CAAC,IAAI;YACX,MAAM,CAAC,MAAM;YACb,GAAG,iBAAiB,CAAC,MAAM,CAAC;SAC7B;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,mBAAmB,EAAE,MAAM,CAAC;QAC5D,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU;KACnD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,GAAiB,EACjB,MAAyB;IAEzB,OAAO;QACL,QAAQ,EAAE;YACR,YAAY,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;YAC3D,MAAM,CAAC,IAAI;YACX,MAAM,CAAC,MAAM;YACb,GAAG,iBAAiB,CAAC,MAAM,CAAC;SAC7B;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,kBAAkB,EAAE,MAAM,CAAC;QAC3D,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU;KACnD,CAAC;AACJ,CAAC","sourcesContent":["import { Id, SoliboApiError, SoliboClient } from \"@solibo/solibo-sdk\";\nimport {\n type ImageTransformOptions,\n imageTransformKey,\n imageTransformOptions,\n} from \"../../imageTransformOptions.js\";\nimport { documentKeys } from \"./documents.js\";\n\ntype DocumentURLParams = ImageTransformOptions & {\n companyId?: Id | null | undefined;\n documentId?: Id | null | undefined;\n fields?: string;\n};\n\ntype DocumentURL = Awaited<\n ReturnType<SoliboClient[\"api\"][\"documents\"][\"showDocument\"]>\n>;\n\ntype SignedDocumentURLs = Awaited<\n ReturnType<SoliboClient[\"api\"][\"documents\"][\"showDocumentUrls\"]>\n>[\"items\"];\n\n/** One variant of the document URL endpoints: a single document, or up to 100 at once. */\ninterface DocumentURLEndpoints {\n name: string;\n one: (sdk: SoliboClient, params: DocumentURLParams) => Promise<DocumentURL>;\n many: (\n sdk: SoliboClient,\n params: DocumentURLParams,\n documentIds: Id[],\n ) => Promise<SignedDocumentURLs>;\n}\n\nconst privateDocumentURLs: DocumentURLEndpoints = {\n name: \"private\",\n one: (sdk, params) =>\n sdk.api.documents.showDocument({\n companyId: params.companyId!,\n documentId: params.documentId!,\n redirect: false,\n ...imageTransformOptions(params),\n fields: params.fields,\n }),\n many: async (sdk, params, documentIds) =>\n (\n await sdk.api.documents.showDocumentUrls({\n companyId: params.companyId!,\n documentIds,\n ...imageTransformOptions(params),\n autoPaginate: true,\n })\n ).items,\n};\n\nconst publicDocumentURLs: DocumentURLEndpoints = {\n name: \"public\",\n one: (sdk, params) =>\n sdk.api.documents.showPublicDocument({\n companyId: params.companyId!,\n documentId: params.documentId!,\n redirect: false,\n ...imageTransformOptions(params),\n fields: params.fields,\n }),\n many: async (sdk, params, documentIds) =>\n (\n await sdk.api.documents.showPublicDocumentUrls({\n companyId: params.companyId!,\n documentIds,\n ...imageTransformOptions(params),\n autoPaginate: true,\n })\n ).items,\n};\n\nconst MAX_DOCUMENT_URLS_PER_REQUEST = 100;\n\ninterface Lookup {\n documentId: Id;\n settlers: {\n resolve: (url: DocumentURL) => void;\n reject: (error: unknown) => void;\n }[];\n}\n\ninterface Batch {\n endpoints: DocumentURLEndpoints;\n params: DocumentURLParams;\n lookups: Map<string, Lookup>;\n}\n\nconst openBatches = new WeakMap<SoliboClient, Map<string, Batch>>();\n\n/**\n * Resolve a document URL together with every lookup made in the same task for the same company and\n * rendition. A list mounts its pictures in one render, so a page of pictures costs one request\n * instead of one each. A lookup made alone keeps the single-document endpoint.\n */\nfunction batchedDocumentURL(\n sdk: SoliboClient,\n endpoints: DocumentURLEndpoints,\n params: DocumentURLParams,\n): Promise<DocumentURL> {\n const batchKey = JSON.stringify([\n endpoints.name,\n String(params.companyId),\n params.size,\n ...imageTransformKey(params),\n ]);\n const batches = openBatches.get(sdk) ?? new Map<string, Batch>();\n openBatches.set(sdk, batches);\n let batch = batches.get(batchKey);\n if (!batch) {\n const opened: Batch = { endpoints, params, lookups: new Map() };\n batches.set(batchKey, opened);\n setTimeout(() => {\n batches.delete(batchKey);\n settle(sdk, opened);\n }, 0);\n batch = opened;\n }\n const documentId = params.documentId!;\n const lookup = batch.lookups.get(String(documentId)) ?? {\n documentId,\n settlers: [],\n };\n batch.lookups.set(String(documentId), lookup);\n return new Promise((resolve, reject) =>\n lookup.settlers.push({ resolve, reject }),\n );\n}\n\nfunction settle(sdk: SoliboClient, batch: Batch) {\n const lookups = [...batch.lookups.values()];\n if (lookups.length === 1) {\n const [{ documentId, settlers }] = lookups;\n batch.endpoints.one(sdk, { ...batch.params, documentId }).then(\n (url) => settlers.forEach(({ resolve }) => resolve(url)),\n (error) => settlers.forEach(({ reject }) => reject(error)),\n );\n return;\n }\n for (\n let start = 0;\n start < lookups.length;\n start += MAX_DOCUMENT_URLS_PER_REQUEST\n ) {\n const chunk = lookups.slice(start, start + MAX_DOCUMENT_URLS_PER_REQUEST);\n batch.endpoints\n .many(\n sdk,\n batch.params,\n chunk.map(({ documentId }) => documentId),\n )\n .then(\n (items) => {\n const signed = new Map(\n items.map((item) => [String(item.documentId), item]),\n );\n for (const { documentId, settlers } of chunk) {\n const url = signed.get(String(documentId));\n for (const { resolve, reject } of settlers) {\n if (url) resolve(url);\n else reject(unavailable(documentId));\n }\n }\n },\n (error) => {\n for (const { settlers } of chunk) {\n for (const { reject } of settlers) reject(error);\n }\n },\n );\n }\n}\n\n// The batch leaves out what it cannot sign, which is what a 404 from the single endpoint means.\nfunction unavailable(documentId: Id) {\n return new SoliboApiError(`Document ${String(documentId)} is not available`, {\n status: 404,\n });\n}\n\n// A projection means nothing to the batch endpoint, so such a lookup keeps its own request.\nfunction documentURL(\n sdk: SoliboClient,\n endpoints: DocumentURLEndpoints,\n params: DocumentURLParams,\n) {\n return params.fields === undefined\n ? batchedDocumentURL(sdk, endpoints, params)\n : endpoints.one(sdk, params);\n}\n\nexport function getDocumentURLQueryOptions(\n sdk: SoliboClient,\n params: DocumentURLParams,\n) {\n return {\n queryKey: [\n documentKeys.url(params.companyId, params.documentId),\n params.size,\n params.fields,\n ...imageTransformKey(params),\n ],\n queryFn: () => documentURL(sdk, privateDocumentURLs, params),\n enabled: !!params.companyId && !!params.documentId,\n };\n}\n\nexport function publicGetDocumentURLQueryOptions(\n sdk: SoliboClient,\n params: DocumentURLParams,\n) {\n return {\n queryKey: [\n documentKeys.publicUrl(params.companyId, params.documentId),\n params.size,\n params.fields,\n ...imageTransformKey(params),\n ],\n queryFn: () => documentURL(sdk, publicDocumentURLs, params),\n enabled: !!params.companyId && !!params.documentId,\n };\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -348,6 +348,7 @@ export * from "./api/queries/countries/countries.js";
348
348
  export * from "./api/queries/document/documentActions.js";
349
349
  export * from "./api/queries/document/documents.js";
350
350
  export * from "./api/queries/document/documentsOfTypeForCompany.js";
351
+ export * from "./api/queries/document/documentURLs.js";
351
352
  export * from "./api/queries/document/getDocumentURL.js";
352
353
  export * from "./api/queries/document/officeDocumentCandidates.js";
353
354
  export * from "./api/queries/document/searchDocumentsForCompany.js";
package/dist/index.js CHANGED
@@ -345,6 +345,7 @@ export * from "./api/queries/countries/countries.js";
345
345
  export * from "./api/queries/document/documentActions.js";
346
346
  export * from "./api/queries/document/documents.js";
347
347
  export * from "./api/queries/document/documentsOfTypeForCompany.js";
348
+ export * from "./api/queries/document/documentURLs.js";
348
349
  export * from "./api/queries/document/getDocumentURL.js";
349
350
  export * from "./api/queries/document/officeDocumentCandidates.js";
350
351
  export * from "./api/queries/document/searchDocumentsForCompany.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,CA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AAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AACjE,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oDAAoD,CAAC;AACnE,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\nexport * from \"./api/queries/accounting/accounting.js\";\nexport * from \"./api/queries/bankAccounts/bankAccounts.js\";\n\n// TanStack Query utilities. SDK clients, models, and Kotlin interop stay in\n// @solibo/solibo-sdk so each package has one clear abstraction boundary.\nexport { toKeyId } from \"./utils/kt-bridge.js\";\nexport {\n nextPageParam,\n prevPageParam,\n totalCountFromPages,\n} from \"./utils/pageUtils.js\";\nexport type { PagedPage } from \"./utils/pageUtils.js\";\nexport type { ImageTransformOptions } from \"./api/imageTransformOptions.js\";\nexport { seconds, minutes, hours } from \"./utils/dateTime.js\";\nexport type {\n FileSlingShotParams,\n SignedUploadCompleter,\n UploadHeaderFactory,\n UploadProgressListener,\n} from \"./api/documentApi.js\";\nexport {\n openApiOperationMutationOptions,\n openApiOperationQueryOptions,\n} from \"./api/openApiOperation.js\";\nexport type {\n OpenApiMutationDefinition,\n OpenApiOperationArgs,\n OpenApiQueryDefinition,\n} from \"./api/openApiOperation.js\";\nexport type {\n ExistingIntegratedDocumentInput,\n InlineDocumentSources,\n IntegratedDocumentSource,\n IntegratedDocumentSources,\n IntegratedUploadProgress,\n PreparedIntegratedDocumentSources,\n UploadIntegratedDocumentInput,\n UploadIntegratedDocumentBytesInput,\n} from \"./api/integratedDocumentApi.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/createPushNotificationRead.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/reportPushNotificationReceived.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/conversationMessageMutations.js\";\nexport * from \"./api/commands/conversation/conversationSpamMutations.js\";\nexport * from \"./api/commands/conversation/conversationTrashMutations.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/multipleConversationMutations.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/conversation/pushFallbackSettings.js\";\nexport * from \"./api/commands/conversation/conversationSettings.js\";\nexport * from \"./api/commands/document/createDocumentDirectory.js\";\nexport * from \"./api/commands/document/createDocumentReference.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/multipleDocumentMutations.js\";\nexport * from \"./api/commands/document/officeDocumentMutations.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/document/integratedDocumentMutations.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/deleteEconomicReport.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/residentCommunication/residentCommunicationMutations.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/directSendInvoice.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/invoicing/updateSectionInvoiceRecipient.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/resident/typedResidentMutations.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/scopedContact/createScopedContact.js\";\nexport * from \"./api/commands/scopedContact/deleteScopedContact.js\";\nexport * from \"./api/commands/scopedContact/expireScopedContact.js\";\nexport * from \"./api/commands/scopedContact/resolveUserContact.js\";\nexport * from \"./api/commands/scopedContact/updateScopedContact.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/ownershipChangeMutations.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/section/sectionMappers.js\";\nexport * from \"./api/commands/section/sectionStructureMutations.js\";\nexport * from \"./api/commands/residentsAndSections/cacheInvalidation.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/createSupplier.js\";\nexport * from \"./api/commands/supplier/updateSupplierComment.js\";\nexport * from \"./api/commands/supplier/deleteSupplierComment.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/updateSupplier.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/pushNotificationInbox.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/conversationMessageHistory.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/conversation/pushFallbackSettings.js\";\nexport * from \"./api/queries/conversation/conversationSettings.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/officeDocumentCandidates.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/supplierInvoiceApprovalCounts.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/homepageFeedPost.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/residentCommunication/residentCommunication.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/meetingSummonsPdf.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/parkingSpaces/parkingSpaceOperations.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/scopedContact/scopedContacts.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/storageRoom/storageRoomOperations.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,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;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,CAAC;AACjE,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oDAAoD,CAAC;AACnE,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\nexport * from \"./api/queries/accounting/accounting.js\";\nexport * from \"./api/queries/bankAccounts/bankAccounts.js\";\n\n// TanStack Query utilities. SDK clients, models, and Kotlin interop stay in\n// @solibo/solibo-sdk so each package has one clear abstraction boundary.\nexport { toKeyId } from \"./utils/kt-bridge.js\";\nexport {\n nextPageParam,\n prevPageParam,\n totalCountFromPages,\n} from \"./utils/pageUtils.js\";\nexport type { PagedPage } from \"./utils/pageUtils.js\";\nexport type { ImageTransformOptions } from \"./api/imageTransformOptions.js\";\nexport { seconds, minutes, hours } from \"./utils/dateTime.js\";\nexport type {\n FileSlingShotParams,\n SignedUploadCompleter,\n UploadHeaderFactory,\n UploadProgressListener,\n} from \"./api/documentApi.js\";\nexport {\n openApiOperationMutationOptions,\n openApiOperationQueryOptions,\n} from \"./api/openApiOperation.js\";\nexport type {\n OpenApiMutationDefinition,\n OpenApiOperationArgs,\n OpenApiQueryDefinition,\n} from \"./api/openApiOperation.js\";\nexport type {\n ExistingIntegratedDocumentInput,\n InlineDocumentSources,\n IntegratedDocumentSource,\n IntegratedDocumentSources,\n IntegratedUploadProgress,\n PreparedIntegratedDocumentSources,\n UploadIntegratedDocumentInput,\n UploadIntegratedDocumentBytesInput,\n} from \"./api/integratedDocumentApi.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/createPushNotificationRead.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/reportPushNotificationReceived.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/conversationMessageMutations.js\";\nexport * from \"./api/commands/conversation/conversationSpamMutations.js\";\nexport * from \"./api/commands/conversation/conversationTrashMutations.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/multipleConversationMutations.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/conversation/pushFallbackSettings.js\";\nexport * from \"./api/commands/conversation/conversationSettings.js\";\nexport * from \"./api/commands/document/createDocumentDirectory.js\";\nexport * from \"./api/commands/document/createDocumentReference.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/multipleDocumentMutations.js\";\nexport * from \"./api/commands/document/officeDocumentMutations.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/document/integratedDocumentMutations.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/deleteEconomicReport.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/residentCommunication/residentCommunicationMutations.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/directSendInvoice.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/invoicing/updateSectionInvoiceRecipient.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/resident/typedResidentMutations.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/scopedContact/createScopedContact.js\";\nexport * from \"./api/commands/scopedContact/deleteScopedContact.js\";\nexport * from \"./api/commands/scopedContact/expireScopedContact.js\";\nexport * from \"./api/commands/scopedContact/resolveUserContact.js\";\nexport * from \"./api/commands/scopedContact/updateScopedContact.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/ownershipChangeMutations.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/section/sectionMappers.js\";\nexport * from \"./api/commands/section/sectionStructureMutations.js\";\nexport * from \"./api/commands/residentsAndSections/cacheInvalidation.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/createSupplier.js\";\nexport * from \"./api/commands/supplier/updateSupplierComment.js\";\nexport * from \"./api/commands/supplier/deleteSupplierComment.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/updateSupplier.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/pushNotificationInbox.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/conversationMessageHistory.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/conversation/pushFallbackSettings.js\";\nexport * from \"./api/queries/conversation/conversationSettings.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/documentURLs.js\";\nexport * from \"./api/queries/document/getDocumentURL.js\";\nexport * from \"./api/queries/document/officeDocumentCandidates.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/supplierInvoiceApprovalCounts.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/homepageFeedPost.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/residentCommunication/residentCommunication.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/meetingSummonsPdf.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/parkingSpaces/parkingSpaceOperations.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/scopedContact/scopedContacts.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/storageRoom/storageRoomOperations.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"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solibo/solibo-query",
3
- "version": "1.20.2",
4
- "description": "Framework-agnostic TanStack Query options for Solibo SDK",
3
+ "version": "1.22.0-d3ccd84-1790375326997-SNAPSHOT",
4
+ "description": "Framework-agnostic TanStack Query options for the Solibo Home SDK. Solibo Home is the platform for owning and managing homes in Norway.",
5
5
  "homepage": "https://sdk.solibo.no",
6
6
  "repository": {
7
7
  "type": "git",
@@ -14,6 +14,11 @@
14
14
  "license": "MIT",
15
15
  "keywords": [
16
16
  "solibo",
17
+ "solibo-home",
18
+ "housing",
19
+ "norway",
20
+ "borettslag",
21
+ "sameie",
17
22
  "tanstack-query",
18
23
  "typescript"
19
24
  ],
@@ -35,7 +40,7 @@
35
40
  "buffer": "^6.0.3",
36
41
  "hash-wasm": "^4.12.0",
37
42
  "mime-types": "^3.0.2",
38
- "@solibo/solibo-sdk": "1.20.2"
43
+ "@solibo/solibo-sdk": "1.22.0-d3ccd84-1790375326997-SNAPSHOT"
39
44
  },
40
45
  "devDependencies": {
41
46
  "@eslint/js": "^10.0.1",