@solibo/solibo-query 1.7.81 → 1.7.82-cf445ae-1784116178642-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/dist/api/commands/document/createDocumentReference.d.ts +14 -0
- package/dist/api/commands/document/createDocumentReference.js +65 -0
- package/dist/api/commands/document/createDocumentReference.js.map +1 -0
- package/dist/api/commands/document/integratedDocumentMutations.d.ts +74 -0
- package/dist/api/commands/document/integratedDocumentMutations.js +137 -0
- package/dist/api/commands/document/integratedDocumentMutations.js.map +1 -0
- package/dist/api/integratedDocumentApi.d.ts +42 -0
- package/dist/api/integratedDocumentApi.js +56 -0
- package/dist/api/integratedDocumentApi.js.map +1 -0
- package/dist/api/openApiOperation.d.ts +19 -0
- package/dist/api/openApiOperation.js +49 -0
- package/dist/api/openApiOperation.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { QueryClient } from "@tanstack/query-core";
|
|
2
|
+
import { DocumentType, SoliboSDK } from "@solibo/solibo-sdk";
|
|
3
|
+
import { Id } from "../../../utils/kt-bridge.js";
|
|
4
|
+
export interface CreateDocumentReferenceParams {
|
|
5
|
+
companyId: Id;
|
|
6
|
+
sourceDocumentId: Id;
|
|
7
|
+
type: DocumentType;
|
|
8
|
+
belongsToId: Id;
|
|
9
|
+
uploadGroupId?: string | null;
|
|
10
|
+
}
|
|
11
|
+
export declare function createDocumentReferenceMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
12
|
+
mutationFn: (params: CreateDocumentReferenceParams) => Promise<import("@solibo/solibo-sdk").Document>;
|
|
13
|
+
onSuccess: (_: unknown, params: CreateDocumentReferenceParams) => Promise<[void, void, ...void[]]>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CreateDocumentReferenceCommand, DocumentType, } from "@solibo/solibo-sdk";
|
|
2
|
+
import { fromKt } from "../../../utils/kt-bridge.js";
|
|
3
|
+
import { communicationKeys } from "../../queries/communication/newsletters.js";
|
|
4
|
+
import { conversationKeys } from "../../queries/conversation/conversations.js";
|
|
5
|
+
import { documentKeys } from "../../queries/document/documents.js";
|
|
6
|
+
import { homepageKeys } from "../../queries/homepage/homepage.js";
|
|
7
|
+
export function createDocumentReferenceMutationOptions(sdk, queryClient) {
|
|
8
|
+
return {
|
|
9
|
+
mutationFn: (params) => sdk.api.documents
|
|
10
|
+
.createDocumentReference(BigInt(params.companyId).valueOf(), BigInt(params.sourceDocumentId).valueOf(), new CreateDocumentReferenceCommand({
|
|
11
|
+
type: params.type,
|
|
12
|
+
belongsToId: BigInt(params.belongsToId).valueOf(),
|
|
13
|
+
uploadGroupId: params.uploadGroupId ?? undefined,
|
|
14
|
+
}))
|
|
15
|
+
.then((response) => fromKt(response.body())),
|
|
16
|
+
onSuccess: (_, params) => Promise.all([
|
|
17
|
+
queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),
|
|
18
|
+
queryClient.invalidateQueries({
|
|
19
|
+
queryKey: [
|
|
20
|
+
documentKeys.belongingToId(params.companyId, params.type, params.belongsToId),
|
|
21
|
+
],
|
|
22
|
+
}),
|
|
23
|
+
...ownerInvalidations(queryClient, params),
|
|
24
|
+
]),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function ownerInvalidations(queryClient, params) {
|
|
28
|
+
switch (params.type) {
|
|
29
|
+
case DocumentType.Post:
|
|
30
|
+
case DocumentType.PracticalInfo:
|
|
31
|
+
return [
|
|
32
|
+
queryClient.invalidateQueries({
|
|
33
|
+
queryKey: [homepageKeys.detail(params.companyId)],
|
|
34
|
+
}),
|
|
35
|
+
queryClient.invalidateQueries({
|
|
36
|
+
queryKey: [
|
|
37
|
+
homepageKeys.postDocuments(params.companyId, params.belongsToId),
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
40
|
+
];
|
|
41
|
+
case DocumentType.Newsletter:
|
|
42
|
+
return [
|
|
43
|
+
queryClient.invalidateQueries({
|
|
44
|
+
queryKey: [communicationKeys.newsletters(params.companyId)],
|
|
45
|
+
}),
|
|
46
|
+
queryClient.invalidateQueries({
|
|
47
|
+
queryKey: [
|
|
48
|
+
communicationKeys.newsletterDetail(params.belongsToId, params.companyId),
|
|
49
|
+
],
|
|
50
|
+
}),
|
|
51
|
+
];
|
|
52
|
+
case DocumentType.Conversation:
|
|
53
|
+
return [
|
|
54
|
+
queryClient.invalidateQueries({
|
|
55
|
+
queryKey: [conversationKeys.detail(params.belongsToId)],
|
|
56
|
+
}),
|
|
57
|
+
queryClient.invalidateQueries({
|
|
58
|
+
queryKey: [conversationKeys.list(params.companyId)],
|
|
59
|
+
}),
|
|
60
|
+
];
|
|
61
|
+
default:
|
|
62
|
+
return [];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=createDocumentReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDocumentReference.js","sourceRoot":"","sources":["../../../../src/api/commands/document/createDocumentReference.ts"],"names":[],"mappings":"AACA,OAAO,EACL,8BAA8B,EAC9B,YAAY,GAEb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAM,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAUlE,MAAM,UAAU,sCAAsC,CACpD,GAAc,EACd,WAAwB;IAExB,OAAO;QACL,UAAU,EAAE,CAAC,MAAqC,EAAE,EAAE,CACpD,GAAG,CAAC,GAAG,CAAC,SAAS;aACd,uBAAuB,CACtB,MAAM,CAAC,MAAM,CAAC,SAAS,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CAAC,WAAW,CAAC;qBACjE;iBACF,CAAC;aACH,CAAC;QACJ,KAAK,YAAY,CAAC,UAAU;YAC1B,OAAO;gBACL,WAAW,CAAC,iBAAiB,CAAC;oBAC5B,QAAQ,EAAE,CAAC,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;iBAC5D,CAAC;gBACF,WAAW,CAAC,iBAAiB,CAAC;oBAC5B,QAAQ,EAAE;wBACR,iBAAiB,CAAC,gBAAgB,CAChC,MAAM,CAAC,WAAW,EAClB,MAAM,CAAC,SAAS,CACjB;qBACF;iBACF,CAAC;aACH,CAAC;QACJ,KAAK,YAAY,CAAC,YAAY;YAC5B,OAAO;gBACL,WAAW,CAAC,iBAAiB,CAAC;oBAC5B,QAAQ,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;iBACxD,CAAC;gBACF,WAAW,CAAC,iBAAiB,CAAC;oBAC5B,QAAQ,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;iBACpD,CAAC;aACH,CAAC;QACJ;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["import type { QueryClient } from \"@tanstack/query-core\";\nimport {\n CreateDocumentReferenceCommand,\n DocumentType,\n SoliboSDK,\n} from \"@solibo/solibo-sdk\";\nimport { fromKt, Id } from \"../../../utils/kt-bridge.js\";\nimport { communicationKeys } from \"../../queries/communication/newsletters.js\";\nimport { conversationKeys } from \"../../queries/conversation/conversations.js\";\nimport { documentKeys } from \"../../queries/document/documents.js\";\nimport { homepageKeys } from \"../../queries/homepage/homepage.js\";\n\nexport interface CreateDocumentReferenceParams {\n companyId: Id;\n sourceDocumentId: Id;\n type: DocumentType;\n belongsToId: Id;\n uploadGroupId?: string | null;\n}\n\nexport function createDocumentReferenceMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: (params: CreateDocumentReferenceParams) =>\n sdk.api.documents\n .createDocumentReference(\n BigInt(params.companyId).valueOf(),\n BigInt(params.sourceDocumentId).valueOf(),\n new CreateDocumentReferenceCommand({\n type: params.type,\n belongsToId: BigInt(params.belongsToId).valueOf(),\n uploadGroupId: params.uploadGroupId ?? undefined,\n }),\n )\n .then((response) => fromKt(response.body())),\n onSuccess: (_: unknown, params: CreateDocumentReferenceParams) =>\n Promise.all([\n queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),\n queryClient.invalidateQueries({\n queryKey: [\n documentKeys.belongingToId(\n params.companyId,\n params.type,\n params.belongsToId,\n ),\n ],\n }),\n ...ownerInvalidations(queryClient, params),\n ]),\n };\n}\n\nfunction ownerInvalidations(\n queryClient: QueryClient,\n params: CreateDocumentReferenceParams,\n) {\n switch (params.type) {\n case DocumentType.Post:\n case DocumentType.PracticalInfo:\n return [\n queryClient.invalidateQueries({\n queryKey: [homepageKeys.detail(params.companyId)],\n }),\n queryClient.invalidateQueries({\n queryKey: [\n homepageKeys.postDocuments(params.companyId, params.belongsToId),\n ],\n }),\n ];\n case DocumentType.Newsletter:\n return [\n queryClient.invalidateQueries({\n queryKey: [communicationKeys.newsletters(params.companyId)],\n }),\n queryClient.invalidateQueries({\n queryKey: [\n communicationKeys.newsletterDetail(\n params.belongsToId,\n params.companyId,\n ),\n ],\n }),\n ];\n case DocumentType.Conversation:\n return [\n queryClient.invalidateQueries({\n queryKey: [conversationKeys.detail(params.belongsToId)],\n }),\n queryClient.invalidateQueries({\n queryKey: [conversationKeys.list(params.companyId)],\n }),\n ];\n default:\n return [];\n }\n}\n"]}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { QueryClient } from "@tanstack/query-core";
|
|
2
|
+
import { CreateMessageCommandProps, CreateNewsletterCommandProps, CreatePostCommandProps, SoliboSDK, UpdateNewsletterCommandProps, UpdatePostCommandProps } from "@solibo/solibo-sdk";
|
|
3
|
+
import type { IntegratedDocumentSources } from "../../integratedDocumentApi.js";
|
|
4
|
+
import { Id, JsProps } from "../../../utils/kt-bridge.js";
|
|
5
|
+
export interface HomepageCreateParams extends IntegratedDocumentSources {
|
|
6
|
+
companyId: Id;
|
|
7
|
+
command: JsProps<CreatePostCommandProps>;
|
|
8
|
+
purchaseBundleId?: Id | null | undefined;
|
|
9
|
+
idempotencyKey?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface HomepageUpdateParams extends IntegratedDocumentSources {
|
|
12
|
+
companyId: Id;
|
|
13
|
+
postId: Id;
|
|
14
|
+
command: JsProps<UpdatePostCommandProps>;
|
|
15
|
+
removeDocumentIds?: readonly Id[];
|
|
16
|
+
publishChanges?: boolean;
|
|
17
|
+
purchaseBundleId?: Id | null | undefined;
|
|
18
|
+
idempotencyKey?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface PracticalInformationUpdateParams extends IntegratedDocumentSources {
|
|
21
|
+
companyId: Id;
|
|
22
|
+
practicalInformationId: Id;
|
|
23
|
+
command: JsProps<UpdatePostCommandProps>;
|
|
24
|
+
removeDocumentIds?: readonly Id[];
|
|
25
|
+
publishChanges?: boolean;
|
|
26
|
+
purchaseBundleId?: Id | null | undefined;
|
|
27
|
+
idempotencyKey?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface NewsletterCreateParams extends IntegratedDocumentSources {
|
|
30
|
+
companyId: Id;
|
|
31
|
+
command: JsProps<CreateNewsletterCommandProps>;
|
|
32
|
+
idempotencyKey?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface NewsletterUpdateParams extends IntegratedDocumentSources {
|
|
35
|
+
companyId: Id;
|
|
36
|
+
newsletterId: Id;
|
|
37
|
+
command: JsProps<UpdateNewsletterCommandProps>;
|
|
38
|
+
removeDocumentIds?: readonly Id[];
|
|
39
|
+
idempotencyKey?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ConversationMessageParams extends IntegratedDocumentSources {
|
|
42
|
+
companyId: Id;
|
|
43
|
+
conversationId: Id;
|
|
44
|
+
command: JsProps<CreateMessageCommandProps>;
|
|
45
|
+
idempotencyKey?: string;
|
|
46
|
+
}
|
|
47
|
+
export declare function createHomepagePostWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
48
|
+
mutationFn: (params: HomepageCreateParams) => Promise<unknown>;
|
|
49
|
+
onSuccess: (_: unknown, params: HomepageCreateParams) => Promise<[void, void, ...void[], void, void]>;
|
|
50
|
+
};
|
|
51
|
+
export declare function updateHomepagePostWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
52
|
+
mutationFn: (params: HomepageUpdateParams) => Promise<unknown>;
|
|
53
|
+
onSuccess: (_: unknown, params: HomepageUpdateParams) => Promise<[void, void, ...void[], void, void]>;
|
|
54
|
+
};
|
|
55
|
+
export declare function createPracticalInformationWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
56
|
+
mutationFn: (params: HomepageCreateParams) => Promise<unknown>;
|
|
57
|
+
onSuccess: (_: unknown, params: HomepageCreateParams) => Promise<[void, void, ...void[], void, void]>;
|
|
58
|
+
};
|
|
59
|
+
export declare function updatePracticalInformationWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
60
|
+
mutationFn: (params: PracticalInformationUpdateParams) => Promise<unknown>;
|
|
61
|
+
onSuccess: (_: unknown, params: PracticalInformationUpdateParams) => Promise<[void, void, ...void[], void, void]>;
|
|
62
|
+
};
|
|
63
|
+
export declare function createNewsletterWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
64
|
+
mutationFn: (params: NewsletterCreateParams) => Promise<unknown>;
|
|
65
|
+
onSuccess: (_: unknown, params: NewsletterCreateParams) => Promise<[void, void]>;
|
|
66
|
+
};
|
|
67
|
+
export declare function updateNewsletterWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
68
|
+
mutationFn: (params: NewsletterUpdateParams) => Promise<unknown>;
|
|
69
|
+
onSuccess: (_: unknown, params: NewsletterUpdateParams) => Promise<[void, void, void]>;
|
|
70
|
+
};
|
|
71
|
+
export declare function createConversationMessageWithDocumentsMutationOptions(sdk: SoliboSDK, queryClient: QueryClient): {
|
|
72
|
+
mutationFn: (params: ConversationMessageParams) => Promise<unknown>;
|
|
73
|
+
onSuccess: (_: unknown, params: ConversationMessageParams) => Promise<[void, void, void, void]>;
|
|
74
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { CreateMessageCommand, CreateNewsletterCommand, CreatePostCommand, UpdateNewsletterCommand, UpdatePostCommand, } from "@solibo/solibo-sdk";
|
|
2
|
+
import { prepareIntegratedDocumentSources } from "../../integratedDocumentApi.js";
|
|
3
|
+
import { fromKt, toKtProps } from "../../../utils/kt-bridge.js";
|
|
4
|
+
import { communicationKeys } from "../../queries/communication/newsletters.js";
|
|
5
|
+
import { conversationKeys } from "../../queries/conversation/conversations.js";
|
|
6
|
+
import { documentKeys } from "../../queries/document/documents.js";
|
|
7
|
+
import { homepageKeys } from "../../queries/homepage/homepage.js";
|
|
8
|
+
const toOptionalId = (value) => value != null ? BigInt(value).valueOf() : undefined;
|
|
9
|
+
const toIds = (values) => (values ?? []).map((value) => BigInt(value).valueOf());
|
|
10
|
+
function invalidateHomepage(queryClient, params, listKey) {
|
|
11
|
+
return Promise.all([
|
|
12
|
+
queryClient.invalidateQueries({
|
|
13
|
+
queryKey: [homepageKeys.detail(params.companyId)],
|
|
14
|
+
}),
|
|
15
|
+
queryClient.invalidateQueries({ queryKey: [listKey] }),
|
|
16
|
+
...(params.postId != null
|
|
17
|
+
? [
|
|
18
|
+
queryClient.invalidateQueries({
|
|
19
|
+
queryKey: [
|
|
20
|
+
homepageKeys.postDocuments(params.companyId, params.postId),
|
|
21
|
+
],
|
|
22
|
+
}),
|
|
23
|
+
]
|
|
24
|
+
: []),
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: [communicationKeys.availableSms(params.companyId)],
|
|
27
|
+
}),
|
|
28
|
+
queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),
|
|
29
|
+
]);
|
|
30
|
+
}
|
|
31
|
+
export function createHomepagePostWithDocumentsMutationOptions(sdk, queryClient) {
|
|
32
|
+
return {
|
|
33
|
+
mutationFn: async (params) => {
|
|
34
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
35
|
+
return sdk.api.integratedDocuments
|
|
36
|
+
.createHomepagePost(BigInt(params.companyId).valueOf(), new CreatePostCommand(toKtProps(params.command)), documents.image, documents.attachments, documents.inlineDocuments, toOptionalId(params.purchaseBundleId), params.idempotencyKey, documents.onUploadProgress)
|
|
37
|
+
.then(fromKt);
|
|
38
|
+
},
|
|
39
|
+
onSuccess: (_, params) => invalidateHomepage(queryClient, params, homepageKeys.feed(params.companyId)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function updateHomepagePostWithDocumentsMutationOptions(sdk, queryClient) {
|
|
43
|
+
return {
|
|
44
|
+
mutationFn: async (params) => {
|
|
45
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
46
|
+
return sdk.api.integratedDocuments
|
|
47
|
+
.updateHomepagePost(BigInt(params.companyId).valueOf(), BigInt(params.postId).valueOf(), new UpdatePostCommand(toKtProps(params.command)), documents.image, documents.attachments, documents.inlineDocuments, toIds(params.removeDocumentIds), params.publishChanges, toOptionalId(params.purchaseBundleId), params.idempotencyKey, documents.onUploadProgress)
|
|
48
|
+
.then(fromKt);
|
|
49
|
+
},
|
|
50
|
+
onSuccess: (_, params) => invalidateHomepage(queryClient, params, homepageKeys.feed(params.companyId)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function createPracticalInformationWithDocumentsMutationOptions(sdk, queryClient) {
|
|
54
|
+
return {
|
|
55
|
+
mutationFn: async (params) => {
|
|
56
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
57
|
+
return sdk.api.integratedDocuments
|
|
58
|
+
.createPracticalInformation(BigInt(params.companyId).valueOf(), new CreatePostCommand(toKtProps(params.command)), documents.image, documents.attachments, documents.inlineDocuments, toOptionalId(params.purchaseBundleId), params.idempotencyKey, documents.onUploadProgress)
|
|
59
|
+
.then(fromKt);
|
|
60
|
+
},
|
|
61
|
+
onSuccess: (_, params) => invalidateHomepage(queryClient, params, homepageKeys.practicalInformation(params.companyId)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export function updatePracticalInformationWithDocumentsMutationOptions(sdk, queryClient) {
|
|
65
|
+
return {
|
|
66
|
+
mutationFn: async (params) => {
|
|
67
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
68
|
+
return sdk.api.integratedDocuments
|
|
69
|
+
.updatePracticalInformation(BigInt(params.companyId).valueOf(), BigInt(params.practicalInformationId).valueOf(), new UpdatePostCommand(toKtProps(params.command)), documents.image, documents.attachments, documents.inlineDocuments, toIds(params.removeDocumentIds), params.publishChanges, toOptionalId(params.purchaseBundleId), params.idempotencyKey, documents.onUploadProgress)
|
|
70
|
+
.then(fromKt);
|
|
71
|
+
},
|
|
72
|
+
onSuccess: (_, params) => invalidateHomepage(queryClient, {
|
|
73
|
+
companyId: params.companyId,
|
|
74
|
+
postId: params.practicalInformationId,
|
|
75
|
+
}, homepageKeys.practicalInformation(params.companyId)),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export function createNewsletterWithDocumentsMutationOptions(sdk, queryClient) {
|
|
79
|
+
return {
|
|
80
|
+
mutationFn: async (params) => {
|
|
81
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
82
|
+
return sdk.api.integratedDocuments
|
|
83
|
+
.createNewsletter(BigInt(params.companyId).valueOf(), new CreateNewsletterCommand(toKtProps(params.command)), documents.attachments, documents.inlineDocuments, params.idempotencyKey, documents.onUploadProgress)
|
|
84
|
+
.then(fromKt);
|
|
85
|
+
},
|
|
86
|
+
onSuccess: (_, params) => Promise.all([
|
|
87
|
+
queryClient.invalidateQueries({
|
|
88
|
+
queryKey: [communicationKeys.newsletters(params.companyId)],
|
|
89
|
+
}),
|
|
90
|
+
queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),
|
|
91
|
+
]),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export function updateNewsletterWithDocumentsMutationOptions(sdk, queryClient) {
|
|
95
|
+
return {
|
|
96
|
+
mutationFn: async (params) => {
|
|
97
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
98
|
+
return sdk.api.integratedDocuments
|
|
99
|
+
.updateNewsletter(BigInt(params.companyId).valueOf(), BigInt(params.newsletterId).valueOf(), new UpdateNewsletterCommand(toKtProps(params.command)), documents.attachments, documents.inlineDocuments, toIds(params.removeDocumentIds), params.idempotencyKey, documents.onUploadProgress)
|
|
100
|
+
.then(fromKt);
|
|
101
|
+
},
|
|
102
|
+
onSuccess: (_, params) => Promise.all([
|
|
103
|
+
queryClient.invalidateQueries({
|
|
104
|
+
queryKey: [communicationKeys.newsletters(params.companyId)],
|
|
105
|
+
}),
|
|
106
|
+
queryClient.invalidateQueries({
|
|
107
|
+
queryKey: [
|
|
108
|
+
communicationKeys.newsletterDetail(params.newsletterId, params.companyId),
|
|
109
|
+
],
|
|
110
|
+
}),
|
|
111
|
+
queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),
|
|
112
|
+
]),
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
export function createConversationMessageWithDocumentsMutationOptions(sdk, queryClient) {
|
|
116
|
+
return {
|
|
117
|
+
mutationFn: async (params) => {
|
|
118
|
+
const documents = await prepareIntegratedDocumentSources(params);
|
|
119
|
+
return sdk.api.integratedDocuments
|
|
120
|
+
.createConversationMessage(BigInt(params.companyId).valueOf(), BigInt(params.conversationId).valueOf(), new CreateMessageCommand(toKtProps(params.command)), documents.attachments, documents.inlineDocuments, params.idempotencyKey, documents.onUploadProgress)
|
|
121
|
+
.then(fromKt);
|
|
122
|
+
},
|
|
123
|
+
onSuccess: (_, params) => Promise.all([
|
|
124
|
+
queryClient.invalidateQueries({
|
|
125
|
+
queryKey: [conversationKeys.detail(params.conversationId)],
|
|
126
|
+
}),
|
|
127
|
+
queryClient.invalidateQueries({
|
|
128
|
+
queryKey: [conversationKeys.list(params.companyId)],
|
|
129
|
+
}),
|
|
130
|
+
queryClient.invalidateQueries({
|
|
131
|
+
queryKey: [conversationKeys.unreadCount(params.companyId)],
|
|
132
|
+
}),
|
|
133
|
+
queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),
|
|
134
|
+
]),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=integratedDocumentMutations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integratedDocumentMutations.js","sourceRoot":"","sources":["../../../../src/api/commands/document/integratedDocumentMutations.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,EAEvB,iBAAiB,EAGjB,uBAAuB,EAEvB,iBAAiB,GAElB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,MAAM,EAAe,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAkDlE,MAAM,YAAY,GAAG,CAAC,KAAiB,EAAE,EAAE,CACzC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAEtD,MAAM,KAAK,GAAG,CAAC,MAAsB,EAAE,EAAE,CACvC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,M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":["import type { QueryClient } from \"@tanstack/query-core\";\nimport {\n CreateMessageCommand,\n CreateMessageCommandProps,\n CreateNewsletterCommand,\n CreateNewsletterCommandProps,\n CreatePostCommand,\n CreatePostCommandProps,\n SoliboSDK,\n UpdateNewsletterCommand,\n UpdateNewsletterCommandProps,\n UpdatePostCommand,\n UpdatePostCommandProps,\n} from \"@solibo/solibo-sdk\";\nimport type { IntegratedDocumentSources } from \"../../integratedDocumentApi.js\";\nimport { prepareIntegratedDocumentSources } from \"../../integratedDocumentApi.js\";\nimport { fromKt, Id, JsProps, toKtProps } from \"../../../utils/kt-bridge.js\";\nimport { communicationKeys } from \"../../queries/communication/newsletters.js\";\nimport { conversationKeys } from \"../../queries/conversation/conversations.js\";\nimport { documentKeys } from \"../../queries/document/documents.js\";\nimport { homepageKeys } from \"../../queries/homepage/homepage.js\";\n\nexport interface HomepageCreateParams extends IntegratedDocumentSources {\n companyId: Id;\n command: JsProps<CreatePostCommandProps>;\n purchaseBundleId?: Id | null | undefined;\n idempotencyKey?: string;\n}\n\nexport interface HomepageUpdateParams extends IntegratedDocumentSources {\n companyId: Id;\n postId: Id;\n command: JsProps<UpdatePostCommandProps>;\n removeDocumentIds?: readonly Id[];\n publishChanges?: boolean;\n purchaseBundleId?: Id | null | undefined;\n idempotencyKey?: string;\n}\n\nexport interface PracticalInformationUpdateParams extends IntegratedDocumentSources {\n companyId: Id;\n practicalInformationId: Id;\n command: JsProps<UpdatePostCommandProps>;\n removeDocumentIds?: readonly Id[];\n publishChanges?: boolean;\n purchaseBundleId?: Id | null | undefined;\n idempotencyKey?: string;\n}\n\nexport interface NewsletterCreateParams extends IntegratedDocumentSources {\n companyId: Id;\n command: JsProps<CreateNewsletterCommandProps>;\n idempotencyKey?: string;\n}\n\nexport interface NewsletterUpdateParams extends IntegratedDocumentSources {\n companyId: Id;\n newsletterId: Id;\n command: JsProps<UpdateNewsletterCommandProps>;\n removeDocumentIds?: readonly Id[];\n idempotencyKey?: string;\n}\n\nexport interface ConversationMessageParams extends IntegratedDocumentSources {\n companyId: Id;\n conversationId: Id;\n command: JsProps<CreateMessageCommandProps>;\n idempotencyKey?: string;\n}\n\nconst toOptionalId = (value?: Id | null) =>\n value != null ? BigInt(value).valueOf() : undefined;\n\nconst toIds = (values?: readonly Id[]) =>\n (values ?? []).map((value) => BigInt(value).valueOf());\n\nfunction invalidateHomepage(\n queryClient: QueryClient,\n params: { companyId: Id; postId?: Id },\n listKey: readonly unknown[],\n) {\n return Promise.all([\n queryClient.invalidateQueries({\n queryKey: [homepageKeys.detail(params.companyId)],\n }),\n queryClient.invalidateQueries({ queryKey: [listKey] }),\n ...(params.postId != null\n ? [\n queryClient.invalidateQueries({\n queryKey: [\n homepageKeys.postDocuments(params.companyId, params.postId),\n ],\n }),\n ]\n : []),\n queryClient.invalidateQueries({\n queryKey: [communicationKeys.availableSms(params.companyId)],\n }),\n queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),\n ]);\n}\n\nexport function createHomepagePostWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: HomepageCreateParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .createHomepagePost(\n BigInt(params.companyId).valueOf(),\n new CreatePostCommand(toKtProps(params.command)),\n documents.image,\n documents.attachments,\n documents.inlineDocuments,\n toOptionalId(params.purchaseBundleId),\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: HomepageCreateParams) =>\n invalidateHomepage(\n queryClient,\n params,\n homepageKeys.feed(params.companyId),\n ),\n };\n}\n\nexport function updateHomepagePostWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: HomepageUpdateParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .updateHomepagePost(\n BigInt(params.companyId).valueOf(),\n BigInt(params.postId).valueOf(),\n new UpdatePostCommand(toKtProps(params.command)),\n documents.image,\n documents.attachments,\n documents.inlineDocuments,\n toIds(params.removeDocumentIds),\n params.publishChanges,\n toOptionalId(params.purchaseBundleId),\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: HomepageUpdateParams) =>\n invalidateHomepage(\n queryClient,\n params,\n homepageKeys.feed(params.companyId),\n ),\n };\n}\n\nexport function createPracticalInformationWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: HomepageCreateParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .createPracticalInformation(\n BigInt(params.companyId).valueOf(),\n new CreatePostCommand(toKtProps(params.command)),\n documents.image,\n documents.attachments,\n documents.inlineDocuments,\n toOptionalId(params.purchaseBundleId),\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: HomepageCreateParams) =>\n invalidateHomepage(\n queryClient,\n params,\n homepageKeys.practicalInformation(params.companyId),\n ),\n };\n}\n\nexport function updatePracticalInformationWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: PracticalInformationUpdateParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .updatePracticalInformation(\n BigInt(params.companyId).valueOf(),\n BigInt(params.practicalInformationId).valueOf(),\n new UpdatePostCommand(toKtProps(params.command)),\n documents.image,\n documents.attachments,\n documents.inlineDocuments,\n toIds(params.removeDocumentIds),\n params.publishChanges,\n toOptionalId(params.purchaseBundleId),\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: PracticalInformationUpdateParams) =>\n invalidateHomepage(\n queryClient,\n {\n companyId: params.companyId,\n postId: params.practicalInformationId,\n },\n homepageKeys.practicalInformation(params.companyId),\n ),\n };\n}\n\nexport function createNewsletterWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: NewsletterCreateParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .createNewsletter(\n BigInt(params.companyId).valueOf(),\n new CreateNewsletterCommand(toKtProps(params.command)),\n documents.attachments,\n documents.inlineDocuments,\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: NewsletterCreateParams) =>\n Promise.all([\n queryClient.invalidateQueries({\n queryKey: [communicationKeys.newsletters(params.companyId)],\n }),\n queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),\n ]),\n };\n}\n\nexport function updateNewsletterWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: NewsletterUpdateParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .updateNewsletter(\n BigInt(params.companyId).valueOf(),\n BigInt(params.newsletterId).valueOf(),\n new UpdateNewsletterCommand(toKtProps(params.command)),\n documents.attachments,\n documents.inlineDocuments,\n toIds(params.removeDocumentIds),\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: NewsletterUpdateParams) =>\n Promise.all([\n queryClient.invalidateQueries({\n queryKey: [communicationKeys.newsletters(params.companyId)],\n }),\n queryClient.invalidateQueries({\n queryKey: [\n communicationKeys.newsletterDetail(\n params.newsletterId,\n params.companyId,\n ),\n ],\n }),\n queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),\n ]),\n };\n}\n\nexport function createConversationMessageWithDocumentsMutationOptions(\n sdk: SoliboSDK,\n queryClient: QueryClient,\n) {\n return {\n mutationFn: async (params: ConversationMessageParams) => {\n const documents = await prepareIntegratedDocumentSources(params);\n return sdk.api.integratedDocuments\n .createConversationMessage(\n BigInt(params.companyId).valueOf(),\n BigInt(params.conversationId).valueOf(),\n new CreateMessageCommand(toKtProps(params.command)),\n documents.attachments,\n documents.inlineDocuments,\n params.idempotencyKey,\n documents.onUploadProgress,\n )\n .then(fromKt);\n },\n onSuccess: (_: unknown, params: ConversationMessageParams) =>\n Promise.all([\n queryClient.invalidateQueries({\n queryKey: [conversationKeys.detail(params.conversationId)],\n }),\n queryClient.invalidateQueries({\n queryKey: [conversationKeys.list(params.companyId)],\n }),\n queryClient.invalidateQueries({\n queryKey: [conversationKeys.unreadCount(params.companyId)],\n }),\n queryClient.invalidateQueries({ queryKey: [documentKeys.all] }),\n ]),\n };\n}\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DocumentInput, IntegratedDocumentUploadProgress } from "@solibo/solibo-sdk";
|
|
2
|
+
import type { Id } from "../utils/kt-bridge.js";
|
|
3
|
+
export interface UploadIntegratedDocumentInput {
|
|
4
|
+
file: File;
|
|
5
|
+
sourceDocumentId?: never;
|
|
6
|
+
verifyUpload?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface UploadIntegratedDocumentBytesInput {
|
|
9
|
+
fileName: string;
|
|
10
|
+
bytes: Int8Array | Uint8Array | ArrayBuffer;
|
|
11
|
+
contentType?: string;
|
|
12
|
+
verifyUpload?: boolean;
|
|
13
|
+
file?: never;
|
|
14
|
+
sourceDocumentId?: never;
|
|
15
|
+
}
|
|
16
|
+
export interface ExistingIntegratedDocumentInput {
|
|
17
|
+
sourceDocumentId: Id;
|
|
18
|
+
file?: never;
|
|
19
|
+
verifyUpload?: never;
|
|
20
|
+
}
|
|
21
|
+
export type IntegratedDocumentSource = UploadIntegratedDocumentInput | UploadIntegratedDocumentBytesInput | ExistingIntegratedDocumentInput;
|
|
22
|
+
export interface IntegratedUploadProgress {
|
|
23
|
+
fileName: string;
|
|
24
|
+
loaded: number;
|
|
25
|
+
total: number;
|
|
26
|
+
fraction: number;
|
|
27
|
+
}
|
|
28
|
+
export type InlineDocumentSources = Readonly<Record<string, IntegratedDocumentSource>> | ReadonlyMap<string, IntegratedDocumentSource>;
|
|
29
|
+
export interface IntegratedDocumentSources {
|
|
30
|
+
image?: IntegratedDocumentSource | null | undefined;
|
|
31
|
+
attachments?: readonly IntegratedDocumentSource[];
|
|
32
|
+
inlineDocuments?: InlineDocumentSources;
|
|
33
|
+
onUploadProgress?: (progress: IntegratedUploadProgress) => void;
|
|
34
|
+
}
|
|
35
|
+
export interface PreparedIntegratedDocumentSources {
|
|
36
|
+
image?: DocumentInput;
|
|
37
|
+
attachments: DocumentInput[];
|
|
38
|
+
inlineDocuments: Map<string, DocumentInput>;
|
|
39
|
+
onUploadProgress?: (progress: IntegratedDocumentUploadProgress) => void;
|
|
40
|
+
}
|
|
41
|
+
export declare function toIntegratedDocumentInput(input: IntegratedDocumentSource): Promise<DocumentInput>;
|
|
42
|
+
export declare function prepareIntegratedDocumentSources(sources: IntegratedDocumentSources): Promise<PreparedIntegratedDocumentSources>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { DocumentInput, DocumentUpload, } from "@solibo/solibo-sdk";
|
|
2
|
+
import { fileToBytes } from "./documentApi.js";
|
|
3
|
+
export async function toIntegratedDocumentInput(input) {
|
|
4
|
+
if (input.file != null) {
|
|
5
|
+
return new DocumentInput({
|
|
6
|
+
upload: new DocumentUpload({
|
|
7
|
+
fileName: input.file.name,
|
|
8
|
+
bytes: await fileToBytes(input.file),
|
|
9
|
+
contentType: input.file.type || undefined,
|
|
10
|
+
verifyUpload: input.verifyUpload ?? true,
|
|
11
|
+
}),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
if ("bytes" in input) {
|
|
15
|
+
const bytes = input.bytes instanceof ArrayBuffer
|
|
16
|
+
? new Int8Array(input.bytes)
|
|
17
|
+
: Int8Array.from(input.bytes);
|
|
18
|
+
return new DocumentInput({
|
|
19
|
+
upload: new DocumentUpload({
|
|
20
|
+
fileName: input.fileName,
|
|
21
|
+
bytes,
|
|
22
|
+
contentType: input.contentType,
|
|
23
|
+
verifyUpload: input.verifyUpload ?? true,
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return new DocumentInput({
|
|
28
|
+
sourceDocumentId: BigInt(input.sourceDocumentId).valueOf(),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
export async function prepareIntegratedDocumentSources(sources) {
|
|
32
|
+
const inlineEntries = sources.inlineDocuments instanceof Map
|
|
33
|
+
? Array.from(sources.inlineDocuments.entries())
|
|
34
|
+
: Object.entries(sources.inlineDocuments ?? {});
|
|
35
|
+
const [image, attachments, inlineDocuments] = await Promise.all([
|
|
36
|
+
sources.image != null
|
|
37
|
+
? toIntegratedDocumentInput(sources.image)
|
|
38
|
+
: Promise.resolve(undefined),
|
|
39
|
+
Promise.all((sources.attachments ?? []).map(toIntegratedDocumentInput)),
|
|
40
|
+
Promise.all(inlineEntries.map(async ([slot, input]) => [slot, await toIntegratedDocumentInput(input)])).then((entries) => new Map(entries)),
|
|
41
|
+
]);
|
|
42
|
+
return {
|
|
43
|
+
image,
|
|
44
|
+
attachments,
|
|
45
|
+
inlineDocuments,
|
|
46
|
+
onUploadProgress: sources.onUploadProgress
|
|
47
|
+
? (progress) => sources.onUploadProgress?.({
|
|
48
|
+
fileName: progress.fileName,
|
|
49
|
+
loaded: Number(progress.loaded),
|
|
50
|
+
total: Number(progress.total),
|
|
51
|
+
fraction: progress.fraction,
|
|
52
|
+
})
|
|
53
|
+
: undefined,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=integratedDocumentApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integratedDocumentApi.js","sourceRoot":"","sources":["../../src/api/integratedDocumentApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,cAAc,GAEf,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqD/C,MAAM,CAAC,KAAK,UAAU,yBAAy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AO,CAAC,OAAO,CAAC,eAAe,IAAI,EAAE,CAAC,CAAC;IAEpD,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,eAAe,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC9D,OAAO,CAAC,KAAK,IAAI,IAAI;YACnB,CAAC,CAAC,yBAAyB,CAAC,OAAO,CAAC,KAAK,CAAC;YAC1C,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;QAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;QACvE,OAAO,CAAC,GAAG,CACT,aAAa,CAAC,GAAG,CACf,KAAK,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CACtB,CAAC,IAAI,EAAE,MAAM,yBAAyB,CAAC,KAAK,CAAC,CAAU,CAC1D,CACF,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;KACtC,CAAC,CAAC;IAEH,OAAO;QACL,KAAK;QACL,WAAW;QACX,eAAe;QACf,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;YACxC,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,CACX,OAAO,CAAC,gBAAgB,EAAE,CAAC;gBACzB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAC/B,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;gBAC7B,QAAQ,EAAE,QAAQ,CAAC,QAAQ;aAC5B,CAAC;YACN,CAAC,CAAC,SAAS;KACd,CAAC;AACJ,CAAC","sourcesContent":["import {\n DocumentInput,\n DocumentUpload,\n IntegratedDocumentUploadProgress,\n} from \"@solibo/solibo-sdk\";\nimport type { Id } from \"../utils/kt-bridge.js\";\nimport { fileToBytes } from \"./documentApi.js\";\n\nexport interface UploadIntegratedDocumentInput {\n file: File;\n sourceDocumentId?: never;\n verifyUpload?: boolean;\n}\n\nexport interface UploadIntegratedDocumentBytesInput {\n fileName: string;\n bytes: Int8Array | Uint8Array | ArrayBuffer;\n contentType?: string;\n verifyUpload?: boolean;\n file?: never;\n sourceDocumentId?: never;\n}\n\nexport interface ExistingIntegratedDocumentInput {\n sourceDocumentId: Id;\n file?: never;\n verifyUpload?: never;\n}\n\nexport type IntegratedDocumentSource =\n | UploadIntegratedDocumentInput\n | UploadIntegratedDocumentBytesInput\n | ExistingIntegratedDocumentInput;\n\nexport interface IntegratedUploadProgress {\n fileName: string;\n loaded: number;\n total: number;\n fraction: number;\n}\n\nexport type InlineDocumentSources =\n | Readonly<Record<string, IntegratedDocumentSource>>\n | ReadonlyMap<string, IntegratedDocumentSource>;\n\nexport interface IntegratedDocumentSources {\n image?: IntegratedDocumentSource | null | undefined;\n attachments?: readonly IntegratedDocumentSource[];\n inlineDocuments?: InlineDocumentSources;\n onUploadProgress?: (progress: IntegratedUploadProgress) => void;\n}\n\nexport interface PreparedIntegratedDocumentSources {\n image?: DocumentInput;\n attachments: DocumentInput[];\n inlineDocuments: Map<string, DocumentInput>;\n onUploadProgress?: (progress: IntegratedDocumentUploadProgress) => void;\n}\n\nexport async function toIntegratedDocumentInput(\n input: IntegratedDocumentSource,\n): Promise<DocumentInput> {\n if (input.file != null) {\n return new DocumentInput({\n upload: new DocumentUpload({\n fileName: input.file.name,\n bytes: await fileToBytes(input.file),\n contentType: input.file.type || undefined,\n verifyUpload: input.verifyUpload ?? true,\n }),\n });\n }\n\n if (\"bytes\" in input) {\n const bytes =\n input.bytes instanceof ArrayBuffer\n ? new Int8Array(input.bytes)\n : Int8Array.from(input.bytes);\n return new DocumentInput({\n upload: new DocumentUpload({\n fileName: input.fileName,\n bytes,\n contentType: input.contentType,\n verifyUpload: input.verifyUpload ?? true,\n }),\n });\n }\n\n return new DocumentInput({\n sourceDocumentId: BigInt(input.sourceDocumentId).valueOf(),\n });\n}\n\nexport async function prepareIntegratedDocumentSources(\n sources: IntegratedDocumentSources,\n): Promise<PreparedIntegratedDocumentSources> {\n const inlineEntries =\n sources.inlineDocuments instanceof Map\n ? Array.from(sources.inlineDocuments.entries())\n : Object.entries(sources.inlineDocuments ?? {});\n\n const [image, attachments, inlineDocuments] = await Promise.all([\n sources.image != null\n ? toIntegratedDocumentInput(sources.image)\n : Promise.resolve(undefined),\n Promise.all((sources.attachments ?? []).map(toIntegratedDocumentInput)),\n Promise.all(\n inlineEntries.map(\n async ([slot, input]) =>\n [slot, await toIntegratedDocumentInput(input)] as const,\n ),\n ).then((entries) => new Map(entries)),\n ]);\n\n return {\n image,\n attachments,\n inlineDocuments,\n onUploadProgress: sources.onUploadProgress\n ? (progress) =>\n sources.onUploadProgress?.({\n fileName: progress.fileName,\n loaded: Number(progress.loaded),\n total: Number(progress.total),\n fraction: progress.fraction,\n })\n : undefined,\n };\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HttpResponse, SoliboSDK } from "@solibo/solibo-sdk";
|
|
2
|
+
export type OpenApiOperationArgs = readonly unknown[];
|
|
3
|
+
export interface OpenApiQueryDefinition<TArgs extends OpenApiOperationArgs, TResult> {
|
|
4
|
+
operationId: string;
|
|
5
|
+
args: TArgs;
|
|
6
|
+
execute: (sdk: SoliboSDK, args: TArgs) => Promise<HttpResponse<TResult>>;
|
|
7
|
+
}
|
|
8
|
+
export interface OpenApiMutationDefinition<TArgs extends OpenApiOperationArgs, TResult> {
|
|
9
|
+
operationId: string;
|
|
10
|
+
execute: (sdk: SoliboSDK, args: TArgs) => Promise<HttpResponse<TResult>>;
|
|
11
|
+
}
|
|
12
|
+
export declare function openApiOperationQueryOptions<TArgs extends OpenApiOperationArgs, TResult>(sdk: SoliboSDK, definition: OpenApiQueryDefinition<TArgs, TResult>): {
|
|
13
|
+
queryKey: readonly ["openapi", string, unknown];
|
|
14
|
+
queryFn: () => Promise<unknown>;
|
|
15
|
+
};
|
|
16
|
+
export declare function openApiOperationMutationOptions<TArgs extends OpenApiOperationArgs, TResult>(sdk: SoliboSDK, definition: OpenApiMutationDefinition<TArgs, TResult>): {
|
|
17
|
+
mutationKey: readonly ["openapi", string];
|
|
18
|
+
mutationFn: (args: TArgs) => Promise<unknown>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { fromKt } from "../utils/kt-bridge.js";
|
|
2
|
+
export function openApiOperationQueryOptions(sdk, definition) {
|
|
3
|
+
return {
|
|
4
|
+
queryKey: [
|
|
5
|
+
"openapi",
|
|
6
|
+
definition.operationId,
|
|
7
|
+
normalizeOpenApiQueryKey(definition.args),
|
|
8
|
+
],
|
|
9
|
+
queryFn: () => definition
|
|
10
|
+
.execute(sdk, definition.args)
|
|
11
|
+
.then((response) => requireSuccessfulResponse(definition.operationId, response))
|
|
12
|
+
.then(fromKt),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export function openApiOperationMutationOptions(sdk, definition) {
|
|
16
|
+
return {
|
|
17
|
+
mutationKey: ["openapi", definition.operationId],
|
|
18
|
+
mutationFn: (args) => definition
|
|
19
|
+
.execute(sdk, args)
|
|
20
|
+
.then((response) => requireSuccessfulResponse(definition.operationId, response))
|
|
21
|
+
.then(fromKt),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function requireSuccessfulResponse(operationId, response) {
|
|
25
|
+
if (!response.success) {
|
|
26
|
+
throw new Error(`OpenAPI operation ${operationId} failed with HTTP ${response.status}`);
|
|
27
|
+
}
|
|
28
|
+
return response.body();
|
|
29
|
+
}
|
|
30
|
+
function normalizeOpenApiQueryKey(value) {
|
|
31
|
+
if (typeof value === "bigint")
|
|
32
|
+
return value.toString();
|
|
33
|
+
if (Array.isArray(value))
|
|
34
|
+
return value.map(normalizeOpenApiQueryKey);
|
|
35
|
+
if (value instanceof Map) {
|
|
36
|
+
return Array.from(value.entries()).map(([key, item]) => [
|
|
37
|
+
normalizeOpenApiQueryKey(key),
|
|
38
|
+
normalizeOpenApiQueryKey(item),
|
|
39
|
+
]);
|
|
40
|
+
}
|
|
41
|
+
if (value != null && typeof value === "object") {
|
|
42
|
+
return Object.fromEntries(Object.entries(value).map(([key, item]) => [
|
|
43
|
+
key,
|
|
44
|
+
normalizeOpenApiQueryKey(item),
|
|
45
|
+
]));
|
|
46
|
+
}
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=openApiOperation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openApiOperation.js","sourceRoot":"","sources":["../../src/api/openApiOperation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAqB/C,MAAM,UAAU,4BAA4B,CAG1C,GAAc,EAAE,UAAkD;IAClE,OAAO;QACL,QAAQ,EAAE;YACR,SAAS;YACT,UAAU,CAAC,WAAW;YACtB,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC;SACjC;QACV,OAAO,EAAE,GAAG,EAAE,CACZ,UAAU;aACP,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,IAAI,CAAC;aAC7B,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CACjB,yBAAyB,CAAC,UAAU,CAAC,WAAW,EAAE,QAAQ,CAAC,CAC5D;aACA,IAAI,CAAC,MAAM,CAAC;KAClB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,+BAA+B,CAG7C,GAAc,EAAE,UAAqD;IACrE,OAAO;QACL,WAAW,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC,WAAW,CAAU;QACzD,UAAU,EAAE,CAAC,IAAW,EAAE,EAAE,CAC1B,UAAU;aACP,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC;aAClB,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CACjB,yBAAyB,CAAC,UAAU,CAAC,WAAW,EAAE,QAAQ,CAAC,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enApiOperationArgs = readonly unknown[];\n\nexport interface OpenApiQueryDefinition<\n TArgs extends OpenApiOperationArgs,\n TResult,\n> {\n operationId: string;\n args: TArgs;\n execute: (sdk: SoliboSDK, args: TArgs) => Promise<HttpResponse<TResult>>;\n}\n\nexport interface OpenApiMutationDefinition<\n TArgs extends OpenApiOperationArgs,\n TResult,\n> {\n operationId: string;\n execute: (sdk: SoliboSDK, args: TArgs) => Promise<HttpResponse<TResult>>;\n}\n\nexport function openApiOperationQueryOptions<\n TArgs extends OpenApiOperationArgs,\n TResult,\n>(sdk: SoliboSDK, definition: OpenApiQueryDefinition<TArgs, TResult>) {\n return {\n queryKey: [\n \"openapi\",\n definition.operationId,\n normalizeOpenApiQueryKey(definition.args),\n ] as const,\n queryFn: () =>\n definition\n .execute(sdk, definition.args)\n .then((response) =>\n requireSuccessfulResponse(definition.operationId, response),\n )\n .then(fromKt),\n };\n}\n\nexport function openApiOperationMutationOptions<\n TArgs extends OpenApiOperationArgs,\n TResult,\n>(sdk: SoliboSDK, definition: OpenApiMutationDefinition<TArgs, TResult>) {\n return {\n mutationKey: [\"openapi\", definition.operationId] as const,\n mutationFn: (args: TArgs) =>\n definition\n .execute(sdk, args)\n .then((response) =>\n requireSuccessfulResponse(definition.operationId, response),\n )\n .then(fromKt),\n };\n}\n\nfunction requireSuccessfulResponse<TResult>(\n operationId: string,\n response: HttpResponse<TResult>,\n): Promise<TResult> {\n if (!response.success) {\n throw new Error(\n `OpenAPI operation ${operationId} failed with HTTP ${response.status}`,\n );\n }\n\n return response.body();\n}\n\nfunction normalizeOpenApiQueryKey(value: unknown): unknown {\n if (typeof value === \"bigint\") return value.toString();\n if (Array.isArray(value)) return value.map(normalizeOpenApiQueryKey);\n if (value instanceof Map) {\n return Array.from(value.entries()).map(([key, item]) => [\n normalizeOpenApiQueryKey(key),\n normalizeOpenApiQueryKey(item),\n ]);\n }\n if (value != null && typeof value === \"object\") {\n return Object.fromEntries(\n Object.entries(value).map(([key, item]) => [\n key,\n normalizeOpenApiQueryKey(item),\n ]),\n );\n }\n return value;\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ export type { PagedPage } from "./utils/pageUtils.js";
|
|
|
7
7
|
export { seconds, minutes, hours } from "./utils/dateTime.js";
|
|
8
8
|
export { completeSignedUpload, createUploadHeaders, fileToBytes, toKotlinUploadHeaders, toUploadBinaryRequest, } from "./api/documentApi.js";
|
|
9
9
|
export type { FileSlingShotParams, SignedUploadCompleter, UploadHeaderFactory, UploadProgressListener, } from "./api/documentApi.js";
|
|
10
|
+
export { prepareIntegratedDocumentSources, toIntegratedDocumentInput, } from "./api/integratedDocumentApi.js";
|
|
11
|
+
export { openApiOperationMutationOptions, openApiOperationQueryOptions, } from "./api/openApiOperation.js";
|
|
12
|
+
export type { OpenApiMutationDefinition, OpenApiOperationArgs, OpenApiQueryDefinition, } from "./api/openApiOperation.js";
|
|
13
|
+
export type { ExistingIntegratedDocumentInput, InlineDocumentSources, IntegratedDocumentSource, IntegratedDocumentSources, IntegratedUploadProgress, PreparedIntegratedDocumentSources, UploadIntegratedDocumentInput, UploadIntegratedDocumentBytesInput, } from "./api/integratedDocumentApi.js";
|
|
10
14
|
export * from "./api/commands/board/createBoardMember.js";
|
|
11
15
|
export * from "./api/commands/board/deleteBoardMember.js";
|
|
12
16
|
export * from "./api/commands/board/inviteBoardMemberToSoliboHome.js";
|
|
@@ -61,12 +65,14 @@ export * from "./api/commands/conversation/updateConversation.js";
|
|
|
61
65
|
export * from "./api/commands/conversation/updateConversationCategories.js";
|
|
62
66
|
export * from "./api/commands/conversation/updateConversationCategory.js";
|
|
63
67
|
export * from "./api/commands/document/createDocumentDirectory.js";
|
|
68
|
+
export * from "./api/commands/document/createDocumentReference.js";
|
|
64
69
|
export * from "./api/commands/document/deleteDocument.js";
|
|
65
70
|
export * from "./api/commands/document/moveDocument.js";
|
|
66
71
|
export * from "./api/commands/document/moveDocumentToTrash.js";
|
|
67
72
|
export * from "./api/commands/document/removeDocumentFromTrash.js";
|
|
68
73
|
export * from "./api/commands/document/renameDocument.js";
|
|
69
74
|
export * from "./api/commands/document/uploadDocument.js";
|
|
75
|
+
export * from "./api/commands/document/integratedDocumentMutations.js";
|
|
70
76
|
export * from "./api/commands/economy/approveInvoice.js";
|
|
71
77
|
export * from "./api/commands/economy/attachDocumentToEconomicReport.js";
|
|
72
78
|
export * from "./api/commands/economy/createInvoiceNotice.js";
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,8 @@ export { fromKt, toKtProps, toLong, toKtList, toIdList, toKeyId, } from "./utils
|
|
|
6
6
|
export { nextPageParam, prevPageParam, totalCountFromPages, } from "./utils/pageUtils.js";
|
|
7
7
|
export { seconds, minutes, hours } from "./utils/dateTime.js";
|
|
8
8
|
export { completeSignedUpload, createUploadHeaders, fileToBytes, toKotlinUploadHeaders, toUploadBinaryRequest, } from "./api/documentApi.js";
|
|
9
|
+
export { prepareIntegratedDocumentSources, toIntegratedDocumentInput, } from "./api/integratedDocumentApi.js";
|
|
10
|
+
export { openApiOperationMutationOptions, openApiOperationQueryOptions, } from "./api/openApiOperation.js";
|
|
9
11
|
export * from "./api/commands/board/createBoardMember.js";
|
|
10
12
|
export * from "./api/commands/board/deleteBoardMember.js";
|
|
11
13
|
export * from "./api/commands/board/inviteBoardMemberToSoliboHome.js";
|
|
@@ -60,12 +62,14 @@ export * from "./api/commands/conversation/updateConversation.js";
|
|
|
60
62
|
export * from "./api/commands/conversation/updateConversationCategories.js";
|
|
61
63
|
export * from "./api/commands/conversation/updateConversationCategory.js";
|
|
62
64
|
export * from "./api/commands/document/createDocumentDirectory.js";
|
|
65
|
+
export * from "./api/commands/document/createDocumentReference.js";
|
|
63
66
|
export * from "./api/commands/document/deleteDocument.js";
|
|
64
67
|
export * from "./api/commands/document/moveDocument.js";
|
|
65
68
|
export * from "./api/commands/document/moveDocumentToTrash.js";
|
|
66
69
|
export * from "./api/commands/document/removeDocumentFromTrash.js";
|
|
67
70
|
export * from "./api/commands/document/renameDocument.js";
|
|
68
71
|
export * from "./api/commands/document/uploadDocument.js";
|
|
72
|
+
export * from "./api/commands/document/integratedDocumentMutations.js";
|
|
69
73
|
export * from "./api/commands/economy/approveInvoice.js";
|
|
70
74
|
export * from "./api/commands/economy/attachDocumentToEconomicReport.js";
|
|
71
75
|
export * from "./api/commands/economy/createInvoiceNotice.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAEpC,2FAA2F;AAC3F,cAAc,oBAAoB,CAAC;AAEnC,YAAY;AACZ,OAAO,EACL,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,aAAa,EACb,aAAa,EACb,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAQ9B,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uDAAuD,CAAC;AACtE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,2C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A6B,CAAC;AAC5C,cAAc,oEAAoE,CAAC;AACnF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC","sourcesContent":["import \"./utils/bigint-polyfill.js\";\n\n// Re-export everything from @solibo/solibo-sdk — consumers only need @solibo/solibo-query.\nexport * from \"@solibo/solibo-sdk\";\n\n// Utilities\nexport {\n fromKt,\n toKtProps,\n toLong,\n toKtList,\n toIdList,\n toKeyId,\n} from \"./utils/kt-bridge.js\";\nexport type { Id, JsProps, FromKt } from \"./utils/kt-bridge.js\";\nexport {\n nextPageParam,\n prevPageParam,\n totalCountFromPages,\n} from \"./utils/pageUtils.js\";\nexport type { PagedPage } from \"./utils/pageUtils.js\";\nexport { seconds, minutes, hours } from \"./utils/dateTime.js\";\nexport {\n completeSignedUpload,\n createUploadHeaders,\n fileToBytes,\n toKotlinUploadHeaders,\n toUploadBinaryRequest,\n} from \"./api/documentApi.js\";\nexport type {\n FileSlingShotParams,\n SignedUploadCompleter,\n UploadHeaderFactory,\n UploadProgressListener,\n} from \"./api/documentApi.js\";\n\nexport * from \"./api/commands/board/createBoardMember.js\";\nexport * from \"./api/commands/board/deleteBoardMember.js\";\nexport * from \"./api/commands/board/inviteBoardMemberToSoliboHome.js\";\nexport * from \"./api/commands/communication/buySMSBundle.js\";\nexport * from \"./api/commands/communication/createNewsletter.js\";\nexport * from \"./api/commands/communication/createSMSBroadcast.js\";\nexport * from \"./api/commands/communication/deleteDocumentFromNewsletter.js\";\nexport * from \"./api/commands/communication/deleteNewsletter.js\";\nexport * from \"./api/commands/communication/deleteSMSBroadcast.js\";\nexport * from \"./api/commands/communication/publishNewsletter.js\";\nexport * from \"./api/commands/communication/publishSMSBroadcast.js\";\nexport * from \"./api/commands/communication/reportPushNotificationRead.js\";\nexport * from \"./api/commands/communication/signupNewsletter.js\";\nexport * from \"./api/commands/communication/updateNewsletter.js\";\nexport * from \"./api/commands/communication/updateSMSBroadcast.js\";\nexport * from \"./api/commands/company/createCompanyCustomerClaim.js\";\nexport * from \"./api/commands/company/deleteFractions.js\";\nexport * from \"./api/commands/company/importCompanies.js\";\nexport * from \"./api/commands/company/importDraft.js\";\nexport * from \"./api/commands/company/importHousingAssociation.js\";\nexport * from \"./api/commands/company/importHousingCooperative.js\";\nexport * from \"./api/commands/company/importHousingCooperativeByAddress.js\";\nexport * from \"./api/commands/company/offboardCompany.js\";\nexport * from \"./api/commands/company/resetSales.js\";\nexport * from \"./api/commands/company/saveCompanyDetailed.js\";\nexport * from \"./api/commands/company/saveImportDraft.js\";\nexport * from \"./api/commands/company/updateActiveAdministrators.js\";\nexport * from \"./api/commands/company/updateAdministratorsForCompany.js\";\nexport * from \"./api/commands/company/updateCompanyDetailed.js\";\nexport * from \"./api/commands/company/updateCompanyOrdinances.js\";\nexport * from \"./api/commands/company/updateFractions.js\";\nexport * from \"./api/commands/conversation/completeConversation.js\";\nexport * from \"./api/commands/conversation/conversationBackInProgress.js\";\nexport * from \"./api/commands/conversation/conversationFolders.js\";\nexport * from \"./api/commands/conversation/createConversation.js\";\nexport * from \"./api/commands/conversation/createConversationCategory.js\";\nexport * from \"./api/commands/conversation/createConversationMessage.js\";\nexport * from \"./api/commands/conversation/createConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createExternalConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createInquiry.js\";\nexport * from \"./api/commands/conversation/createInquiryOpen.js\";\nexport * from \"./api/commands/conversation/createInternalConversationMessage.js\";\nexport * from \"./api/commands/conversation/createPublicConversationMessage.js\";\nexport * from \"./api/commands/conversation/deleteConversation.js\";\nexport * from \"./api/commands/conversation/deleteConversationCategory.js\";\nexport * from \"./api/commands/conversation/deleteConversationParticipant.js\";\nexport * from \"./api/commands/conversation/markConversationRead.js\";\nexport * from \"./api/commands/conversation/moveConversation.js\";\nexport * from \"./api/commands/conversation/publicUploadDocumentToConversation.js\";\nexport * from \"./api/commands/conversation/publishDraftConversation.js\";\nexport * from \"./api/commands/conversation/updateConversation.js\";\nexport * from \"./api/commands/conversation/updateConversationCategories.js\";\nexport * from \"./api/commands/conversation/updateConversationCategory.js\";\nexport * from \"./api/commands/document/createDocumentDirectory.js\";\nexport * from \"./api/commands/document/deleteDocument.js\";\nexport * from \"./api/commands/document/moveDocument.js\";\nexport * from \"./api/commands/document/moveDocumentToTrash.js\";\nexport * from \"./api/commands/document/removeDocumentFromTrash.js\";\nexport * from \"./api/commands/document/renameDocument.js\";\nexport * from \"./api/commands/document/uploadDocument.js\";\nexport * from \"./api/commands/economy/approveInvoice.js\";\nexport * from \"./api/commands/economy/attachDocumentToEconomicReport.js\";\nexport * from \"./api/commands/economy/createInvoiceNotice.js\";\nexport * from \"./api/commands/economy/orderEconomicReport.js\";\nexport * from \"./api/commands/economy/rejectInvoice.js\";\nexport * from \"./api/commands/economy/updateInvoiceNotification.js\";\nexport * from \"./api/commands/economy/updateRealtimeInvoiceNotification.js\";\nexport * from \"./api/commands/expense/approveExpense.js\";\nexport * from \"./api/commands/expense/createExpense.js\";\nexport * from \"./api/commands/expense/deleteExpense.js\";\nexport * from \"./api/commands/expense/rejectExpense.js\";\nexport * from \"./api/commands/hms/setupHMSSettings.js\";\nexport * from \"./api/commands/hms/updateHMSSettings.js\";\nexport * from \"./api/commands/homepage/createPost.js\";\nexport * from \"./api/commands/homepage/createPracticalInfo.js\";\nexport * from \"./api/commands/homepage/deletePost.js\";\nexport * from \"./api/commands/homepage/deletePracticalInfo.js\";\nexport * from \"./api/commands/homepage/updateFeedWeighting.js\";\nexport * from \"./api/commands/homepage/updatePost.js\";\nexport * from \"./api/commands/homepage/updatePracticalInfo.js\";\nexport * from \"./api/commands/homepage/uploadHomepageImage.js\";\nexport * from \"./api/commands/insurance/closeInsurance.js\";\nexport * from \"./api/commands/insurance/createInsurance.js\";\nexport * from \"./api/commands/insurance/deleteInsurance.js\";\nexport * from \"./api/commands/invoicing/activateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/activateInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/activateTriplewin.js\";\nexport * from \"./api/commands/invoicing/closeInvoice.js\";\nexport * from \"./api/commands/invoicing/createAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/createAllocationKey.js\";\nexport * from \"./api/commands/invoicing/createCreditNote.js\";\nexport * from \"./api/commands/invoicing/createCustomer.js\";\nexport * from \"./api/commands/invoicing/createCustomerById.js\";\nexport * from \"./api/commands/invoicing/createCustomerComment.js\";\nexport * from \"./api/commands/invoicing/createInvoicePlanLine.js\";\nexport * from \"./api/commands/invoicing/createInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/createInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/deactivateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocInvoicingLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLineGroup.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLines.js\";\nexport * from \"./api/commands/invoicing/deleteDistribution.js\";\nexport * from \"./api/commands/invoicing/deleteInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/deletePlannedInvoiceLineChanges.js\";\nexport * from \"./api/commands/invoicing/invoicingMutations.js\";\nexport * from \"./api/commands/invoicing/registerPayment.js\";\nexport * from \"./api/commands/invoicing/toggleInvoicingPlanTransactionOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdues.js\";\nexport * from \"./api/commands/invoicing/updateAdhocGroup.js\";\nexport * from \"./api/commands/invoicing/updateAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/updateAllocationKey.js\";\nexport * from \"./api/commands/invoicing/updateCommonExpensesSettings.js\";\nexport * from \"./api/commands/invoicing/updateCustomerMeta.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceDelivery.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLineName.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceSettings.js\";\nexport * from \"./api/commands/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/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/ownershipTransferSection.js\";\nexport * from \"./api/commands/section/removeSectionStatus.js\";\nexport * from \"./api/commands/section/tagOnSection.js\";\nexport * from \"./api/commands/section/unAssignParkingSpaceToSection.js\";\nexport * from \"./api/commands/section/unAssignStorageRoomToSection.js\";\nexport * from \"./api/commands/section/updateSection.js\";\nexport * from \"./api/commands/section/updateSectionNote.js\";\nexport * from \"./api/commands/section/updateTagsOnSection.js\";\nexport * from \"./api/commands/settlement/closeSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/createSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/deleteSettlement.js\";\nexport * from \"./api/commands/settlement/deleteSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlement.js\";\nexport * from \"./api/commands/settlement/updateSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/upsertSettlementProviderCredentials.js\";\nexport * from \"./api/commands/storageRoom/createStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/deleteStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/exportStorageRooms.js\";\nexport * from \"./api/commands/storageRoom/updateStorageRoom.js\";\nexport * from \"./api/commands/supplier/createSupplier.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/sMSAvailableForSMSBroadcastPost.js\";\nexport * from \"./api/queries/communication/sMSBroadcast.js\";\nexport * from \"./api/queries/communication/sMSBroadcasts.js\";\nexport * from \"./api/queries/communication/sMSPurchases.js\";\nexport * from \"./api/queries/company/activeAdministrators.js\";\nexport * from \"./api/queries/company/administratorsForCompany.js\";\nexport * from \"./api/queries/company/availableAdministrators.js\";\nexport * from \"./api/queries/company/availableAdministratorsForCompany.js\";\nexport * from \"./api/queries/company/companies.js\";\nexport * from \"./api/queries/company/companyAddresses.js\";\nexport * from \"./api/queries/company/companyById.js\";\nexport * from \"./api/queries/company/companyDetailed.js\";\nexport * from \"./api/queries/company/companyDraft.js\";\nexport * from \"./api/queries/company/companyDrafts.js\";\nexport * from \"./api/queries/company/companyOrdinances.js\";\nexport * from \"./api/queries/company/companyTypes.js\";\nexport * from \"./api/queries/company/fractions.js\";\nexport * from \"./api/queries/company/newlyManagedCompanies.js\";\nexport * from \"./api/queries/conversation/companyConversationCategoriesForRequests.js\";\nexport * from \"./api/queries/conversation/conversation.js\";\nexport * from \"./api/queries/conversation/conversationCategories.js\";\nexport * from \"./api/queries/conversation/conversationCategoriesOpen.js\";\nexport * from \"./api/queries/conversation/conversationCount.js\";\nexport * from \"./api/queries/conversation/conversationFolders.js\";\nexport * from \"./api/queries/conversation/conversations.js\";\nexport * from \"./api/queries/conversation/conversationsByParticipant.js\";\nexport * from \"./api/queries/conversation/publicConversation.js\";\nexport * from \"./api/queries/conversation/publicConversationAuth.js\";\nexport * from \"./api/queries/conversation/unreadConversationsCount.js\";\nexport * from \"./api/queries/countries/countries.js\";\nexport * from \"./api/queries/document/documentActions.js\";\nexport * from \"./api/queries/document/documents.js\";\nexport * from \"./api/queries/document/documentsOfTypeForCompany.js\";\nexport * from \"./api/queries/document/getDocumentURL.js\";\nexport * from \"./api/queries/document/searchDocumentsForCompany.js\";\nexport * from \"./api/queries/economy/checkIfAccountingAvailable.js\";\nexport * from \"./api/queries/economy/companiesEconomyStatus.js\";\nexport * from \"./api/queries/economy/economicReports.js\";\nexport * from \"./api/queries/economy/invoiceArchive.js\";\nexport * from \"./api/queries/economy/invoiceForApprovalCount.js\";\nexport * from \"./api/queries/economy/invoiceNotification.js\";\nexport * from \"./api/queries/economy/invoices.js\";\nexport * from \"./api/queries/economy/status.js\";\nexport * from \"./api/queries/economy/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/homepageRss.js\";\nexport * from \"./api/queries/homepage/openHomepage.js\";\nexport * from \"./api/queries/homepage/openHomepageDocument.js\";\nexport * from \"./api/queries/homepage/openHomepageFeed.js\";\nexport * from \"./api/queries/homepage/postDocuments.js\";\nexport * from \"./api/queries/homepage/postNotificationgroups.js\";\nexport * from \"./api/queries/homepage/sMSAvailableForPost.js\";\nexport * from \"./api/queries/invoicing/adHocGroupById.js\";\nexport * from \"./api/queries/invoicing/adHocGroups.js\";\nexport * from \"./api/queries/invoicing/checkTriplewinActivated.js\";\nexport * from \"./api/queries/invoicing/creditNotes.js\";\nexport * from \"./api/queries/invoicing/customer.js\";\nexport * from \"./api/queries/invoicing/customerInvoices.js\";\nexport * from \"./api/queries/invoicing/customerMetadata.js\";\nexport * from \"./api/queries/invoicing/customerRecipient.js\";\nexport * from \"./api/queries/invoicing/customers.js\";\nexport * from \"./api/queries/invoicing/expiredInvoices.js\";\nexport * from \"./api/queries/invoicing/historicInvoices.js\";\nexport * from \"./api/queries/invoicing/invoicePlan.js\";\nexport * from \"./api/queries/invoicing/invoicePlanDistributions.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLine.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLines.js\";\nexport * from \"./api/queries/invoicing/invoicePlanTransactions.js\";\nexport * from \"./api/queries/invoicing/invoicePlans.js\";\nexport * from \"./api/queries/invoicing/invoicePlansForSection.js\";\nexport * from \"./api/queries/invoicing/invoiceSettings.js\";\nexport * from \"./api/queries/invoicing/invoicingAdHocLines.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredByCustomer.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredTypes.js\";\nexport * from \"./api/queries/invoicing/invoicingInvoiceDetails.js\";\nexport * from \"./api/queries/invoicing/invoicingKeys.js\";\nexport * from \"./api/queries/invoicing/invoicingPlanTypes.js\";\nexport * from \"./api/queries/invoicing/massInvoiceForCompany.js\";\nexport * from \"./api/queries/invoicing/massInvoicePdfPreview.js\";\nexport * from \"./api/queries/invoicing/massInvoicePreview.js\";\nexport * from \"./api/queries/invoicing/overdueInvoices.js\";\nexport * from \"./api/queries/invoicing/planSettings.js\";\nexport * from \"./api/queries/invoicing/preview.js\";\nexport * from \"./api/queries/invoicing/previewPdf.js\";\nexport * from \"./api/queries/invoicing/processedPayments.js\";\nexport * from \"./api/queries/invoicing/queuedInvoicePdf.js\";\nexport * from \"./api/queries/invoicing/queuedInvoices.js\";\nexport * from \"./api/queries/invoicing/recipient.js\";\nexport * from \"./api/queries/invoicing/sectionInvoices.js\";\nexport * from \"./api/queries/invoicing/unprocessedPayments.js\";\nexport * from \"./api/queries/invoicing/upcomingInvoicing.js\";\nexport * from \"./api/queries/issue/issue.js\";\nexport * from \"./api/queries/issue/issues.js\";\nexport * from \"./api/queries/meeting/meetings.js\";\nexport * from \"./api/queries/organization/organization.js\";\nexport * from \"./api/queries/organization/organizationByOrgnr.js\";\nexport * from \"./api/queries/organization/organizations.js\";\nexport * from \"./api/queries/organization/organizationsInCompany.js\";\nexport * from \"./api/queries/organization/otherOrganizations.js\";\nexport * from \"./api/queries/parkingSpaces/parkingSpaces.js\";\nexport * from \"./api/queries/person/otherPersons.js\";\nexport * from \"./api/queries/person/person.js\";\nexport * from \"./api/queries/person/personSearch.js\";\nexport * from \"./api/queries/person/persons.js\";\nexport * from \"./api/queries/residentsAndSections/domain.js\";\nexport * from \"./api/queries/residentsAndSections/existingSectionTagsInCompany.js\";\nexport * from \"./api/queries/residentsAndSections/loansByFraction.js\";\nexport * from \"./api/queries/residentsAndSections/ownershipChanges.js\";\nexport * from \"./api/queries/residentsAndSections/personalID.js\";\nexport * from \"./api/queries/residentsAndSections/residentHistory.js\";\nexport * from \"./api/queries/residentsAndSections/residentOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/residentSearch.js\";\nexport * from \"./api/queries/residentsAndSections/residentTypes.js\";\nexport * from \"./api/queries/residentsAndSections/residents.js\";\nexport * from \"./api/queries/residentsAndSections/sectionOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/sectionStatus.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTags.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTenants.js\";\nexport * from \"./api/queries/residentsAndSections/sections.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsSearch.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsTags.js\";\nexport * from \"./api/queries/routines/availableRoutineTypes.js\";\nexport * from \"./api/queries/routines/companyFeatures.js\";\nexport * from \"./api/queries/routines/routine.js\";\nexport * from \"./api/queries/routines/routineGroupDrafts.js\";\nexport * from \"./api/queries/routines/routines.js\";\nexport * from \"./api/queries/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/supplier/domain.js\";\nexport * from \"./api/queries/supplier/supplierDetails.js\";\nexport * from \"./api/queries/supplier/suppliers.js\";\nexport * from \"./api/queries/supplier/suppliersAndContacts.js\";\nexport * from \"./api/queries/supplier/suppliersLogo.js\";\nexport * from \"./api/queries/task/tasks.js\";\nexport * from \"./api/queries/thirdPartyInformation/singleThirdPartyInformation.js\";\nexport * from \"./api/queries/thirdPartyInformation/skatteetatenDialog.js\";\nexport * from \"./api/queries/thirdPartyInformation/thirdPartyInformation.js\";\nexport * from \"./api/queries/thirdPartyInformation/thirdPartyInformationLetters.js\";\nexport * from \"./api/queries/thirdPartyInformation/totalsForThirdPartyInformation.js\";\nexport * from \"./api/queries/user/authedUser.js\";\nexport * from \"./api/queries/user/user.js\";\nexport * from \"./api/queries/user/userActions.js\";\nexport * from \"./api/queries/user/userConversations.js\";\nexport * from \"./api/queries/user/userDevices.js\";\nexport * from \"./api/queries/user/userImage.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAEpC,2FAA2F;AAC3F,cAAc,oBAAoB,CAAC;AAEnC,YAAY;AACZ,OAAO,EACL,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,aAAa,EACb,aAAa,EACb,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EACL,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC;AAiBnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uDAAuD,CAAC;AACtE,cAAc,8CAA8C,CAAC;A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AAc,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,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oEAAoE,CAAC;AACnF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC","sourcesContent":["import \"./utils/bigint-polyfill.js\";\n\n// Re-export everything from @solibo/solibo-sdk — consumers only need @solibo/solibo-query.\nexport * from \"@solibo/solibo-sdk\";\n\n// Utilities\nexport {\n fromKt,\n toKtProps,\n toLong,\n toKtList,\n toIdList,\n toKeyId,\n} from \"./utils/kt-bridge.js\";\nexport type { Id, JsProps, FromKt } from \"./utils/kt-bridge.js\";\nexport {\n nextPageParam,\n prevPageParam,\n totalCountFromPages,\n} from \"./utils/pageUtils.js\";\nexport type { PagedPage } from \"./utils/pageUtils.js\";\nexport { seconds, minutes, hours } from \"./utils/dateTime.js\";\nexport {\n completeSignedUpload,\n createUploadHeaders,\n fileToBytes,\n toKotlinUploadHeaders,\n toUploadBinaryRequest,\n} from \"./api/documentApi.js\";\nexport type {\n FileSlingShotParams,\n SignedUploadCompleter,\n UploadHeaderFactory,\n UploadProgressListener,\n} from \"./api/documentApi.js\";\nexport {\n prepareIntegratedDocumentSources,\n toIntegratedDocumentInput,\n} from \"./api/integratedDocumentApi.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/createSMSBroadcast.js\";\nexport * from \"./api/commands/communication/deleteDocumentFromNewsletter.js\";\nexport * from \"./api/commands/communication/deleteNewsletter.js\";\nexport * from \"./api/commands/communication/deleteSMSBroadcast.js\";\nexport * from \"./api/commands/communication/publishNewsletter.js\";\nexport * from \"./api/commands/communication/publishSMSBroadcast.js\";\nexport * from \"./api/commands/communication/reportPushNotificationRead.js\";\nexport * from \"./api/commands/communication/signupNewsletter.js\";\nexport * from \"./api/commands/communication/updateNewsletter.js\";\nexport * from \"./api/commands/communication/updateSMSBroadcast.js\";\nexport * from \"./api/commands/company/createCompanyCustomerClaim.js\";\nexport * from \"./api/commands/company/deleteFractions.js\";\nexport * from \"./api/commands/company/importCompanies.js\";\nexport * from \"./api/commands/company/importDraft.js\";\nexport * from \"./api/commands/company/importHousingAssociation.js\";\nexport * from \"./api/commands/company/importHousingCooperative.js\";\nexport * from \"./api/commands/company/importHousingCooperativeByAddress.js\";\nexport * from \"./api/commands/company/offboardCompany.js\";\nexport * from \"./api/commands/company/resetSales.js\";\nexport * from \"./api/commands/company/saveCompanyDetailed.js\";\nexport * from \"./api/commands/company/saveImportDraft.js\";\nexport * from \"./api/commands/company/updateActiveAdministrators.js\";\nexport * from \"./api/commands/company/updateAdministratorsForCompany.js\";\nexport * from \"./api/commands/company/updateCompanyDetailed.js\";\nexport * from \"./api/commands/company/updateCompanyOrdinances.js\";\nexport * from \"./api/commands/company/updateFractions.js\";\nexport * from \"./api/commands/conversation/completeConversation.js\";\nexport * from \"./api/commands/conversation/conversationBackInProgress.js\";\nexport * from \"./api/commands/conversation/conversationFolders.js\";\nexport * from \"./api/commands/conversation/createConversation.js\";\nexport * from \"./api/commands/conversation/createConversationCategory.js\";\nexport * from \"./api/commands/conversation/createConversationMessage.js\";\nexport * from \"./api/commands/conversation/createConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createExternalConversationParticipant.js\";\nexport * from \"./api/commands/conversation/createInquiry.js\";\nexport * from \"./api/commands/conversation/createInquiryOpen.js\";\nexport * from \"./api/commands/conversation/createInternalConversationMessage.js\";\nexport * from \"./api/commands/conversation/createPublicConversationMessage.js\";\nexport * from \"./api/commands/conversation/deleteConversation.js\";\nexport * from \"./api/commands/conversation/deleteConversationCategory.js\";\nexport * from \"./api/commands/conversation/deleteConversationParticipant.js\";\nexport * from \"./api/commands/conversation/markConversationRead.js\";\nexport * from \"./api/commands/conversation/moveConversation.js\";\nexport * from \"./api/commands/conversation/publicUploadDocumentToConversation.js\";\nexport * from \"./api/commands/conversation/publishDraftConversation.js\";\nexport * from \"./api/commands/conversation/updateConversation.js\";\nexport * from \"./api/commands/conversation/updateConversationCategories.js\";\nexport * from \"./api/commands/conversation/updateConversationCategory.js\";\nexport * from \"./api/commands/document/createDocumentDirectory.js\";\nexport * from \"./api/commands/document/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/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/orderEconomicReport.js\";\nexport * from \"./api/commands/economy/rejectInvoice.js\";\nexport * from \"./api/commands/economy/updateInvoiceNotification.js\";\nexport * from \"./api/commands/economy/updateRealtimeInvoiceNotification.js\";\nexport * from \"./api/commands/expense/approveExpense.js\";\nexport * from \"./api/commands/expense/createExpense.js\";\nexport * from \"./api/commands/expense/deleteExpense.js\";\nexport * from \"./api/commands/expense/rejectExpense.js\";\nexport * from \"./api/commands/hms/setupHMSSettings.js\";\nexport * from \"./api/commands/hms/updateHMSSettings.js\";\nexport * from \"./api/commands/homepage/createPost.js\";\nexport * from \"./api/commands/homepage/createPracticalInfo.js\";\nexport * from \"./api/commands/homepage/deletePost.js\";\nexport * from \"./api/commands/homepage/deletePracticalInfo.js\";\nexport * from \"./api/commands/homepage/updateFeedWeighting.js\";\nexport * from \"./api/commands/homepage/updatePost.js\";\nexport * from \"./api/commands/homepage/updatePracticalInfo.js\";\nexport * from \"./api/commands/homepage/uploadHomepageImage.js\";\nexport * from \"./api/commands/insurance/closeInsurance.js\";\nexport * from \"./api/commands/insurance/createInsurance.js\";\nexport * from \"./api/commands/insurance/deleteInsurance.js\";\nexport * from \"./api/commands/invoicing/activateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/activateInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/activateTriplewin.js\";\nexport * from \"./api/commands/invoicing/closeInvoice.js\";\nexport * from \"./api/commands/invoicing/createAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/createAllocationKey.js\";\nexport * from \"./api/commands/invoicing/createCreditNote.js\";\nexport * from \"./api/commands/invoicing/createCustomer.js\";\nexport * from \"./api/commands/invoicing/createCustomerById.js\";\nexport * from \"./api/commands/invoicing/createCustomerComment.js\";\nexport * from \"./api/commands/invoicing/createInvoicePlanLine.js\";\nexport * from \"./api/commands/invoicing/createInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/createInvoicingPlan.js\";\nexport * from \"./api/commands/invoicing/deactivateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocInvoicingLine.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLineGroup.js\";\nexport * from \"./api/commands/invoicing/deleteAdHocLines.js\";\nexport * from \"./api/commands/invoicing/deleteDistribution.js\";\nexport * from \"./api/commands/invoicing/deleteInvoiceRecipient.js\";\nexport * from \"./api/commands/invoicing/deletePlannedInvoiceLineChanges.js\";\nexport * from \"./api/commands/invoicing/invoicingMutations.js\";\nexport * from \"./api/commands/invoicing/registerPayment.js\";\nexport * from \"./api/commands/invoicing/toggleInvoicingPlanTransactionOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdue.js\";\nexport * from \"./api/commands/invoicing/toggleOverdues.js\";\nexport * from \"./api/commands/invoicing/updateAdhocGroup.js\";\nexport * from \"./api/commands/invoicing/updateAdhocLinesForCompany.js\";\nexport * from \"./api/commands/invoicing/updateAllocationKey.js\";\nexport * from \"./api/commands/invoicing/updateCommonExpensesSettings.js\";\nexport * from \"./api/commands/invoicing/updateCustomerMeta.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceDelivery.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLine.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceLineName.js\";\nexport * from \"./api/commands/invoicing/updateInvoiceSettings.js\";\nexport * from \"./api/commands/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/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/ownershipTransferSection.js\";\nexport * from \"./api/commands/section/removeSectionStatus.js\";\nexport * from \"./api/commands/section/tagOnSection.js\";\nexport * from \"./api/commands/section/unAssignParkingSpaceToSection.js\";\nexport * from \"./api/commands/section/unAssignStorageRoomToSection.js\";\nexport * from \"./api/commands/section/updateSection.js\";\nexport * from \"./api/commands/section/updateSectionNote.js\";\nexport * from \"./api/commands/section/updateTagsOnSection.js\";\nexport * from \"./api/commands/settlement/closeSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlement.js\";\nexport * from \"./api/commands/settlement/createSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/createSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/deleteSettlement.js\";\nexport * from \"./api/commands/settlement/deleteSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlement.js\";\nexport * from \"./api/commands/settlement/updateSettlementCustomCost.js\";\nexport * from \"./api/commands/settlement/updateSettlementProviderConfiguration.js\";\nexport * from \"./api/commands/settlement/upsertSettlementProviderCredentials.js\";\nexport * from \"./api/commands/storageRoom/createStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/deleteStorageRoom.js\";\nexport * from \"./api/commands/storageRoom/exportStorageRooms.js\";\nexport * from \"./api/commands/storageRoom/updateStorageRoom.js\";\nexport * from \"./api/commands/supplier/createSupplier.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/sMSAvailableForSMSBroadcastPost.js\";\nexport * from \"./api/queries/communication/sMSBroadcast.js\";\nexport * from \"./api/queries/communication/sMSBroadcasts.js\";\nexport * from \"./api/queries/communication/sMSPurchases.js\";\nexport * from \"./api/queries/company/activeAdministrators.js\";\nexport * from \"./api/queries/company/administratorsForCompany.js\";\nexport * from \"./api/queries/company/availableAdministrators.js\";\nexport * from \"./api/queries/company/availableAdministratorsForCompany.js\";\nexport * from \"./api/queries/company/companies.js\";\nexport * from \"./api/queries/company/companyAddresses.js\";\nexport * from \"./api/queries/company/companyById.js\";\nexport * from \"./api/queries/company/companyDetailed.js\";\nexport * from \"./api/queries/company/companyDraft.js\";\nexport * from \"./api/queries/company/companyDrafts.js\";\nexport * from \"./api/queries/company/companyOrdinances.js\";\nexport * from \"./api/queries/company/companyTypes.js\";\nexport * from \"./api/queries/company/fractions.js\";\nexport * from \"./api/queries/company/newlyManagedCompanies.js\";\nexport * from \"./api/queries/conversation/companyConversationCategoriesForRequests.js\";\nexport * from \"./api/queries/conversation/conversation.js\";\nexport * from \"./api/queries/conversation/conversationCategories.js\";\nexport * from \"./api/queries/conversation/conversationCategoriesOpen.js\";\nexport * from \"./api/queries/conversation/conversationCount.js\";\nexport * from \"./api/queries/conversation/conversationFolders.js\";\nexport * from \"./api/queries/conversation/conversations.js\";\nexport * from \"./api/queries/conversation/conversationsByParticipant.js\";\nexport * from \"./api/queries/conversation/publicConversation.js\";\nexport * from \"./api/queries/conversation/publicConversationAuth.js\";\nexport * from \"./api/queries/conversation/unreadConversationsCount.js\";\nexport * from \"./api/queries/countries/countries.js\";\nexport * from \"./api/queries/document/documentActions.js\";\nexport * from \"./api/queries/document/documents.js\";\nexport * from \"./api/queries/document/documentsOfTypeForCompany.js\";\nexport * from \"./api/queries/document/getDocumentURL.js\";\nexport * from \"./api/queries/document/searchDocumentsForCompany.js\";\nexport * from \"./api/queries/economy/checkIfAccountingAvailable.js\";\nexport * from \"./api/queries/economy/companiesEconomyStatus.js\";\nexport * from \"./api/queries/economy/economicReports.js\";\nexport * from \"./api/queries/economy/invoiceArchive.js\";\nexport * from \"./api/queries/economy/invoiceForApprovalCount.js\";\nexport * from \"./api/queries/economy/invoiceNotification.js\";\nexport * from \"./api/queries/economy/invoices.js\";\nexport * from \"./api/queries/economy/status.js\";\nexport * from \"./api/queries/economy/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/homepageRss.js\";\nexport * from \"./api/queries/homepage/openHomepage.js\";\nexport * from \"./api/queries/homepage/openHomepageDocument.js\";\nexport * from \"./api/queries/homepage/openHomepageFeed.js\";\nexport * from \"./api/queries/homepage/postDocuments.js\";\nexport * from \"./api/queries/homepage/postNotificationgroups.js\";\nexport * from \"./api/queries/homepage/sMSAvailableForPost.js\";\nexport * from \"./api/queries/invoicing/adHocGroupById.js\";\nexport * from \"./api/queries/invoicing/adHocGroups.js\";\nexport * from \"./api/queries/invoicing/checkTriplewinActivated.js\";\nexport * from \"./api/queries/invoicing/creditNotes.js\";\nexport * from \"./api/queries/invoicing/customer.js\";\nexport * from \"./api/queries/invoicing/customerInvoices.js\";\nexport * from \"./api/queries/invoicing/customerMetadata.js\";\nexport * from \"./api/queries/invoicing/customerRecipient.js\";\nexport * from \"./api/queries/invoicing/customers.js\";\nexport * from \"./api/queries/invoicing/expiredInvoices.js\";\nexport * from \"./api/queries/invoicing/historicInvoices.js\";\nexport * from \"./api/queries/invoicing/invoicePlan.js\";\nexport * from \"./api/queries/invoicing/invoicePlanDistributions.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLine.js\";\nexport * from \"./api/queries/invoicing/invoicePlanLines.js\";\nexport * from \"./api/queries/invoicing/invoicePlanTransactions.js\";\nexport * from \"./api/queries/invoicing/invoicePlans.js\";\nexport * from \"./api/queries/invoicing/invoicePlansForSection.js\";\nexport * from \"./api/queries/invoicing/invoiceSettings.js\";\nexport * from \"./api/queries/invoicing/invoicingAdHocLines.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredByCustomer.js\";\nexport * from \"./api/queries/invoicing/invoicingExpiredTypes.js\";\nexport * from \"./api/queries/invoicing/invoicingInvoiceDetails.js\";\nexport * from \"./api/queries/invoicing/invoicingKeys.js\";\nexport * from \"./api/queries/invoicing/invoicingPlanTypes.js\";\nexport * from \"./api/queries/invoicing/massInvoiceForCompany.js\";\nexport * from \"./api/queries/invoicing/massInvoicePdfPreview.js\";\nexport * from \"./api/queries/invoicing/massInvoicePreview.js\";\nexport * from \"./api/queries/invoicing/overdueInvoices.js\";\nexport * from \"./api/queries/invoicing/planSettings.js\";\nexport * from \"./api/queries/invoicing/preview.js\";\nexport * from \"./api/queries/invoicing/previewPdf.js\";\nexport * from \"./api/queries/invoicing/processedPayments.js\";\nexport * from \"./api/queries/invoicing/queuedInvoicePdf.js\";\nexport * from \"./api/queries/invoicing/queuedInvoices.js\";\nexport * from \"./api/queries/invoicing/recipient.js\";\nexport * from \"./api/queries/invoicing/sectionInvoices.js\";\nexport * from \"./api/queries/invoicing/unprocessedPayments.js\";\nexport * from \"./api/queries/invoicing/upcomingInvoicing.js\";\nexport * from \"./api/queries/issue/issue.js\";\nexport * from \"./api/queries/issue/issues.js\";\nexport * from \"./api/queries/meeting/meetings.js\";\nexport * from \"./api/queries/organization/organization.js\";\nexport * from \"./api/queries/organization/organizationByOrgnr.js\";\nexport * from \"./api/queries/organization/organizations.js\";\nexport * from \"./api/queries/organization/organizationsInCompany.js\";\nexport * from \"./api/queries/organization/otherOrganizations.js\";\nexport * from \"./api/queries/parkingSpaces/parkingSpaces.js\";\nexport * from \"./api/queries/person/otherPersons.js\";\nexport * from \"./api/queries/person/person.js\";\nexport * from \"./api/queries/person/personSearch.js\";\nexport * from \"./api/queries/person/persons.js\";\nexport * from \"./api/queries/residentsAndSections/domain.js\";\nexport * from \"./api/queries/residentsAndSections/existingSectionTagsInCompany.js\";\nexport * from \"./api/queries/residentsAndSections/loansByFraction.js\";\nexport * from \"./api/queries/residentsAndSections/ownershipChanges.js\";\nexport * from \"./api/queries/residentsAndSections/personalID.js\";\nexport * from \"./api/queries/residentsAndSections/residentHistory.js\";\nexport * from \"./api/queries/residentsAndSections/residentOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/residentSearch.js\";\nexport * from \"./api/queries/residentsAndSections/residentTypes.js\";\nexport * from \"./api/queries/residentsAndSections/residents.js\";\nexport * from \"./api/queries/residentsAndSections/sectionOccupancy.js\";\nexport * from \"./api/queries/residentsAndSections/sectionStatus.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTags.js\";\nexport * from \"./api/queries/residentsAndSections/sectionTenants.js\";\nexport * from \"./api/queries/residentsAndSections/sections.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsSearch.js\";\nexport * from \"./api/queries/residentsAndSections/sectionsTags.js\";\nexport * from \"./api/queries/routines/availableRoutineTypes.js\";\nexport * from \"./api/queries/routines/companyFeatures.js\";\nexport * from \"./api/queries/routines/routine.js\";\nexport * from \"./api/queries/routines/routineGroupDrafts.js\";\nexport * from \"./api/queries/routines/routines.js\";\nexport * from \"./api/queries/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/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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solibo/solibo-query",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.82-cf445ae-1784116178642-SNAPSHOT",
|
|
4
4
|
"description": "Framework-agnostic TanStack Query options for Solibo SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"buffer": "^6.0.3",
|
|
21
21
|
"hash-wasm": "^4.12.0",
|
|
22
22
|
"mime-types": "^3.0.2",
|
|
23
|
-
"@solibo/solibo-sdk": "1.7.
|
|
23
|
+
"@solibo/solibo-sdk": "1.7.82-cf445ae-1784116178642-SNAPSHOT"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@eslint/js": "^10.0.1",
|