@solibo/solibo-react 1.9.12 → 1.9.14
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { invoicingInvoicePaymentsQueryOptions, invoicingInvoicePdfsQueryOptions, invoicingCustomerInvoicePdfQueryOptions, invoicingCustomerInvoiceOverdueFirstPdfQueryOptions, invoicingCustomerInvoiceOverdueSecondPdfQueryOptions } from '@solibo/solibo-query';
|
|
1
|
+
import { invoicingInvoicePaymentsQueryOptions, invoicingInvoicePdfsQueryOptions, invoicingSectionInvoicePdfsQueryOptions, invoicingCustomerInvoicePdfQueryOptions, invoicingCustomerInvoiceOverdueFirstPdfQueryOptions, invoicingCustomerInvoiceOverdueSecondPdfQueryOptions } from '@solibo/solibo-query';
|
|
2
2
|
import type { RestParams } from '../../../utils/restParams.js';
|
|
3
3
|
export declare const useInvoicingInvoicePayments: (...args: RestParams<typeof invoicingInvoicePaymentsQueryOptions>) => import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/query-core").InfiniteData<import("@solibo/solibo-sdk").PagedListPaymentRecord, unknown>, Error>;
|
|
4
4
|
export declare const useInvoicingInvoicePdfs: (...args: RestParams<typeof invoicingInvoicePdfsQueryOptions>) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").Base64ByteArray, Error>;
|
|
5
|
+
export declare const useInvoicingSectionInvoicePdfs: (...args: RestParams<typeof invoicingSectionInvoicePdfsQueryOptions>) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").Base64ByteArray, Error>;
|
|
5
6
|
export declare const useInvoicingCustomerInvoicePdf: (...args: RestParams<typeof invoicingCustomerInvoicePdfQueryOptions>) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").Base64ByteArray, Error>;
|
|
6
7
|
export declare const useInvoicingCustomerInvoiceOverdueFirstPdf: (...args: RestParams<typeof invoicingCustomerInvoiceOverdueFirstPdfQueryOptions>) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").Base64ByteArray, Error>;
|
|
7
8
|
export declare const useInvoicingCustomerInvoiceOverdueSecondPdf: (...args: RestParams<typeof invoicingCustomerInvoiceOverdueSecondPdfQueryOptions>) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").Base64ByteArray, Error>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useInfiniteQuery, useQuery } from '@tanstack/react-query';
|
|
2
2
|
import { useSdk } from '../../../sdkProvider.js';
|
|
3
|
-
import { invoicingInvoicePaymentsQueryOptions, invoicingInvoicePdfsQueryOptions, invoicingCustomerInvoicePdfQueryOptions, invoicingCustomerInvoiceOverdueFirstPdfQueryOptions, invoicingCustomerInvoiceOverdueSecondPdfQueryOptions, } from '@solibo/solibo-query';
|
|
3
|
+
import { invoicingInvoicePaymentsQueryOptions, invoicingInvoicePdfsQueryOptions, invoicingSectionInvoicePdfsQueryOptions, invoicingCustomerInvoicePdfQueryOptions, invoicingCustomerInvoiceOverdueFirstPdfQueryOptions, invoicingCustomerInvoiceOverdueSecondPdfQueryOptions, } from '@solibo/solibo-query';
|
|
4
4
|
export const useInvoicingInvoicePayments = (...args) => {
|
|
5
5
|
const sdk = useSdk();
|
|
6
6
|
return useInfiniteQuery(invoicingInvoicePaymentsQueryOptions(sdk, ...args));
|
|
@@ -9,6 +9,10 @@ export const useInvoicingInvoicePdfs = (...args) => {
|
|
|
9
9
|
const sdk = useSdk();
|
|
10
10
|
return useQuery(invoicingInvoicePdfsQueryOptions(sdk, ...args));
|
|
11
11
|
};
|
|
12
|
+
export const useInvoicingSectionInvoicePdfs = (...args) => {
|
|
13
|
+
const sdk = useSdk();
|
|
14
|
+
return useQuery(invoicingSectionInvoicePdfsQueryOptions(sdk, ...args));
|
|
15
|
+
};
|
|
12
16
|
export const useInvoicingCustomerInvoicePdf = (...args) => {
|
|
13
17
|
const sdk = useSdk();
|
|
14
18
|
return useQuery(invoicingCustomerInvoicePdfQueryOptions(sdk, ...args));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInvoicingInvoiceDetails.js","sourceRoot":"","sources":["../../../../src/api/queries/invoicing/useInvoicingInvoiceDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EACH,oCAAoC,EACpC,gCAAgC,EAChC,uCAAuC,EACvC,mDAAmD,EACnD,oDAAoD,GACvD,MAAM,sBAAsB,CAAC;AAG9B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACvC,GAAG,IAA6D,EAClE,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,gBAAgB,CAAC,oCAAoC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAChF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACnC,GAAG,IAAyD,EAC9D,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CAAC,gCAAgC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC1C,GAAG,IAAgE,EACrE,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CAAC,uCAAuC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAC3E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACtD,GAAG,IAEF,EACH,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CACX,mDAAmD,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CACpE,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,2CAA2C,GAAG,CACvD,GAAG,IAEF,EACH,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CACX,oDAAoD,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CACrE,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { useInfiniteQuery, useQuery } from '@tanstack/react-query';\nimport { useSdk } from '../../../sdkProvider.js';\nimport {\n invoicingInvoicePaymentsQueryOptions,\n invoicingInvoicePdfsQueryOptions,\n invoicingCustomerInvoicePdfQueryOptions,\n invoicingCustomerInvoiceOverdueFirstPdfQueryOptions,\n invoicingCustomerInvoiceOverdueSecondPdfQueryOptions,\n} from '@solibo/solibo-query';\nimport type { RestParams } from '../../../utils/restParams.js';\n\nexport const useInvoicingInvoicePayments = (\n ...args: RestParams<typeof invoicingInvoicePaymentsQueryOptions>\n) => {\n const sdk = useSdk();\n return useInfiniteQuery(invoicingInvoicePaymentsQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingInvoicePdfs = (\n ...args: RestParams<typeof invoicingInvoicePdfsQueryOptions>\n) => {\n const sdk = useSdk();\n return useQuery(invoicingInvoicePdfsQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingCustomerInvoicePdf = (\n ...args: RestParams<typeof invoicingCustomerInvoicePdfQueryOptions>\n) => {\n const sdk = useSdk();\n return useQuery(invoicingCustomerInvoicePdfQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingCustomerInvoiceOverdueFirstPdf = (\n ...args: RestParams<\n typeof invoicingCustomerInvoiceOverdueFirstPdfQueryOptions\n >\n) => {\n const sdk = useSdk();\n return useQuery(\n invoicingCustomerInvoiceOverdueFirstPdfQueryOptions(sdk, ...args)\n );\n};\n\nexport const useInvoicingCustomerInvoiceOverdueSecondPdf = (\n ...args: RestParams<\n typeof invoicingCustomerInvoiceOverdueSecondPdfQueryOptions\n >\n) => {\n const sdk = useSdk();\n return useQuery(\n invoicingCustomerInvoiceOverdueSecondPdfQueryOptions(sdk, ...args)\n );\n};\n"]}
|
|
1
|
+
{"version":3,"file":"useInvoicingInvoiceDetails.js","sourceRoot":"","sources":["../../../../src/api/queries/invoicing/useInvoicingInvoiceDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EACH,oCAAoC,EACpC,gCAAgC,EAChC,uCAAuC,EACvC,uCAAuC,EACvC,mDAAmD,EACnD,oDAAoD,GACvD,MAAM,sBAAsB,CAAC;AAG9B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACvC,GAAG,IAA6D,EAClE,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,gBAAgB,CAAC,oCAAoC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAChF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACnC,GAAG,IAAyD,EAC9D,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CAAC,gCAAgC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC1C,GAAG,IAAgE,EACrE,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CAAC,uCAAuC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAC3E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC1C,GAAG,IAAgE,EACrE,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CAAC,uCAAuC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAC3E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACtD,GAAG,IAEF,EACH,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CACX,mDAAmD,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CACpE,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,2CAA2C,GAAG,CACvD,GAAG,IAEF,EACH,EAAE;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,QAAQ,CACX,oDAAoD,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CACrE,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { useInfiniteQuery, useQuery } from '@tanstack/react-query';\nimport { useSdk } from '../../../sdkProvider.js';\nimport {\n invoicingInvoicePaymentsQueryOptions,\n invoicingInvoicePdfsQueryOptions,\n invoicingSectionInvoicePdfsQueryOptions,\n invoicingCustomerInvoicePdfQueryOptions,\n invoicingCustomerInvoiceOverdueFirstPdfQueryOptions,\n invoicingCustomerInvoiceOverdueSecondPdfQueryOptions,\n} from '@solibo/solibo-query';\nimport type { RestParams } from '../../../utils/restParams.js';\n\nexport const useInvoicingInvoicePayments = (\n ...args: RestParams<typeof invoicingInvoicePaymentsQueryOptions>\n) => {\n const sdk = useSdk();\n return useInfiniteQuery(invoicingInvoicePaymentsQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingInvoicePdfs = (\n ...args: RestParams<typeof invoicingInvoicePdfsQueryOptions>\n) => {\n const sdk = useSdk();\n return useQuery(invoicingInvoicePdfsQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingSectionInvoicePdfs = (\n ...args: RestParams<typeof invoicingSectionInvoicePdfsQueryOptions>\n) => {\n const sdk = useSdk();\n return useQuery(invoicingSectionInvoicePdfsQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingCustomerInvoicePdf = (\n ...args: RestParams<typeof invoicingCustomerInvoicePdfQueryOptions>\n) => {\n const sdk = useSdk();\n return useQuery(invoicingCustomerInvoicePdfQueryOptions(sdk, ...args));\n};\n\nexport const useInvoicingCustomerInvoiceOverdueFirstPdf = (\n ...args: RestParams<\n typeof invoicingCustomerInvoiceOverdueFirstPdfQueryOptions\n >\n) => {\n const sdk = useSdk();\n return useQuery(\n invoicingCustomerInvoiceOverdueFirstPdfQueryOptions(sdk, ...args)\n );\n};\n\nexport const useInvoicingCustomerInvoiceOverdueSecondPdf = (\n ...args: RestParams<\n typeof invoicingCustomerInvoiceOverdueSecondPdfQueryOptions\n >\n) => {\n const sdk = useSdk();\n return useQuery(\n invoicingCustomerInvoiceOverdueSecondPdfQueryOptions(sdk, ...args)\n );\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solibo/solibo-react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.14",
|
|
4
4
|
"description": "React hooks for Solibo SDK (wraps @solibo/solibo-query)",
|
|
5
5
|
"homepage": "https://sdk.solibo.no",
|
|
6
6
|
"repository": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"react": "^19.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@solibo/solibo-query": "1.9.
|
|
37
|
-
"@solibo/solibo-sdk": "1.9.
|
|
36
|
+
"@solibo/solibo-query": "1.9.14",
|
|
37
|
+
"@solibo/solibo-sdk": "1.9.14"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@eslint/js": "^10.0.1",
|