autumn-js 1.3.12 → 1.3.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.
- package/dist/backend/adapters/express.js +2 -0
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.js +2 -0
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.js +2 -0
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.js +2 -0
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.js +2 -0
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{chunk-DPUV4QAN.mjs → chunk-226XM5SA.mjs} +1 -1
- package/dist/backend/{chunk-SYMBZ24L.mjs → chunk-6E7TYYKP.mjs} +1 -1
- package/dist/backend/{chunk-C2NPCEJI.mjs → chunk-F5JBBQR7.mjs} +1 -1
- package/dist/backend/{chunk-2UUPONJZ.mjs → chunk-JA2Z7YUN.mjs} +1 -1
- package/dist/backend/{chunk-C6ZZJ7EE.mjs → chunk-MLTJG4L5.mjs} +1 -1
- package/dist/backend/{chunk-IAILCOBU.mjs → chunk-QSWSKRBY.mjs} +2 -0
- package/dist/backend/{chunk-XJWHTUI6.mjs → chunk-VWIXH32K.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +2 -0
- package/dist/backend/core/handlers/coreHandler.mjs +3 -3
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +2 -0
- package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +2 -0
- package/dist/backend/core/handlers/index.mjs +4 -4
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +2 -0
- package/dist/backend/core/index.mjs +6 -6
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +2 -0
- package/dist/backend/index.mjs +6 -6
- package/dist/backend/{routeTypes-CIZ-ZBtX.d.ts → routeTypes-CmedyIA_.d.ts} +5 -1
- package/dist/backend/{routeTypes-BoCJIb-T.d.mts → routeTypes-Pl3asdQ7.d.mts} +5 -1
- package/dist/better-auth/{chunk-C6ATXDH4.mjs → chunk-SMPAUMFA.mjs} +2 -0
- package/dist/better-auth/index.js +2 -0
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +2 -0
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +2 -0
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +6 -1
- package/dist/sdk/index.d.ts +6 -1
- package/dist/sdk/index.js +2 -0
- package/dist/sdk/index.mjs +2 -0
- package/package.json +2 -2
|
@@ -40926,6 +40926,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40926
40926
|
});
|
|
40927
40927
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40928
40928
|
z86.object({
|
|
40929
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40929
40930
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40930
40931
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40931
40932
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40934,6 +40935,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40934
40935
|
}),
|
|
40935
40936
|
z86.transform((v) => {
|
|
40936
40937
|
return remap(v, {
|
|
40938
|
+
automaticTax: "automatic_tax",
|
|
40937
40939
|
customFields: "custom_fields",
|
|
40938
40940
|
taxRateId: "tax_rate_id",
|
|
40939
40941
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JA2Z7YUN.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-6E7TYYKP.mjs";
|
|
7
|
+
import "../chunk-VWIXH32K.mjs";
|
|
8
|
+
import "../chunk-QSWSKRBY.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
|
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
14
|
import "../chunk-R6G7SG3N.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
17
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -40926,6 +40926,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40926
40926
|
});
|
|
40927
40927
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40928
40928
|
z86.object({
|
|
40929
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40929
40930
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40930
40931
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40931
40932
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40934,6 +40935,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40934
40935
|
}),
|
|
40935
40936
|
z86.transform((v) => {
|
|
40936
40937
|
return remap(v, {
|
|
40938
|
+
automaticTax: "automatic_tax",
|
|
40937
40939
|
customFields: "custom_fields",
|
|
40938
40940
|
taxRateId: "tax_rate_id",
|
|
40939
40941
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-MLTJG4L5.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-6E7TYYKP.mjs";
|
|
7
|
+
import "../chunk-VWIXH32K.mjs";
|
|
8
|
+
import "../chunk-QSWSKRBY.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
|
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
14
|
import "../chunk-R6G7SG3N.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
17
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -40926,6 +40926,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40926
40926
|
});
|
|
40927
40927
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40928
40928
|
z86.object({
|
|
40929
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40929
40930
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40930
40931
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40931
40932
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40934,6 +40935,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40934
40935
|
}),
|
|
40935
40936
|
z86.transform((v) => {
|
|
40936
40937
|
return remap(v, {
|
|
40938
|
+
automaticTax: "automatic_tax",
|
|
40937
40939
|
customFields: "custom_fields",
|
|
40938
40940
|
taxRateId: "tax_rate_id",
|
|
40939
40941
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-F5JBBQR7.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-6E7TYYKP.mjs";
|
|
7
|
+
import "../chunk-VWIXH32K.mjs";
|
|
8
|
+
import "../chunk-QSWSKRBY.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
|
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
14
|
import "../chunk-R6G7SG3N.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
17
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -40929,6 +40929,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40929
40929
|
});
|
|
40930
40930
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40931
40931
|
z86.object({
|
|
40932
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40932
40933
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40933
40934
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40934
40935
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40937,6 +40938,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40937
40938
|
}),
|
|
40938
40939
|
z86.transform((v) => {
|
|
40939
40940
|
return remap(v, {
|
|
40941
|
+
automaticTax: "automatic_tax",
|
|
40940
40942
|
customFields: "custom_fields",
|
|
40941
40943
|
taxRateId: "tax_rate_id",
|
|
40942
40944
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JA2Z7YUN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-MLTJG4L5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-F5JBBQR7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-226XM5SA.mjs";
|
|
13
13
|
import "../chunk-WYDGEDEU.mjs";
|
|
14
14
|
import "../chunk-VXND2UDT.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-6E7TYYKP.mjs";
|
|
16
|
+
import "../chunk-VWIXH32K.mjs";
|
|
17
|
+
import "../chunk-QSWSKRBY.mjs";
|
|
18
18
|
import "../chunk-MOHYGUMA.mjs";
|
|
19
19
|
import "../chunk-TBQ27LIK.mjs";
|
|
20
20
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -22,8 +22,8 @@ import "../chunk-TSF4YCUO.mjs";
|
|
|
22
22
|
import "../chunk-UAR3TMWI.mjs";
|
|
23
23
|
import "../chunk-R6G7SG3N.mjs";
|
|
24
24
|
import "../chunk-OTXV5FY7.mjs";
|
|
25
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
26
25
|
import "../chunk-VZIMT7AO.mjs";
|
|
26
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
27
27
|
import "../chunk-N7NFYY54.mjs";
|
|
28
28
|
export {
|
|
29
29
|
autumnHandler as expressAutumnHandler,
|
|
@@ -40927,6 +40927,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40927
40927
|
});
|
|
40928
40928
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40929
40929
|
z86.object({
|
|
40930
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40930
40931
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40931
40932
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40932
40933
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40935,6 +40936,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40935
40936
|
}),
|
|
40936
40937
|
z86.transform((v) => {
|
|
40937
40938
|
return remap(v, {
|
|
40939
|
+
automaticTax: "automatic_tax",
|
|
40938
40940
|
customFields: "custom_fields",
|
|
40939
40941
|
taxRateId: "tax_rate_id",
|
|
40940
40942
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-226XM5SA.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-6E7TYYKP.mjs";
|
|
7
|
+
import "../chunk-VWIXH32K.mjs";
|
|
8
|
+
import "../chunk-QSWSKRBY.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
|
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
14
|
import "../chunk-R6G7SG3N.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
17
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -40843,6 +40843,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40843
40843
|
});
|
|
40844
40844
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40845
40845
|
z86.object({
|
|
40846
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40846
40847
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40847
40848
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40848
40849
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40851,6 +40852,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40851
40852
|
}),
|
|
40852
40853
|
z86.transform((v) => {
|
|
40853
40854
|
return remap(v, {
|
|
40855
|
+
automaticTax: "automatic_tax",
|
|
40854
40856
|
customFields: "custom_fields",
|
|
40855
40857
|
taxRateId: "tax_rate_id",
|
|
40856
40858
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
|
|
2
2
|
import '../../authTypes-CE4qx_oC.mjs';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-Pl3asdQ7.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.mjs';
|
|
6
6
|
import '../types/responseTypes.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.js';
|
|
2
2
|
import '../../authTypes-CE4qx_oC.js';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-CmedyIA_.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
6
6
|
import '../types/responseTypes.js';
|
|
@@ -40926,6 +40926,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40926
40926
|
});
|
|
40927
40927
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40928
40928
|
z86.object({
|
|
40929
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40929
40930
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40930
40931
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40931
40932
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40934,6 +40935,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40934
40935
|
}),
|
|
40935
40936
|
z86.transform((v) => {
|
|
40936
40937
|
return remap(v, {
|
|
40938
|
+
automaticTax: "automatic_tax",
|
|
40937
40939
|
customFields: "custom_fields",
|
|
40938
40940
|
taxRateId: "tax_rate_id",
|
|
40939
40941
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCoreHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-VWIXH32K.mjs";
|
|
4
|
+
import "../../chunk-QSWSKRBY.mjs";
|
|
5
5
|
import "../../chunk-MOHYGUMA.mjs";
|
|
6
6
|
import "../../chunk-TBQ27LIK.mjs";
|
|
7
7
|
import "../../chunk-J44WR3QZ.mjs";
|
|
@@ -9,8 +9,8 @@ import "../../chunk-TSF4YCUO.mjs";
|
|
|
9
9
|
import "../../chunk-UAR3TMWI.mjs";
|
|
10
10
|
import "../../chunk-R6G7SG3N.mjs";
|
|
11
11
|
import "../../chunk-OTXV5FY7.mjs";
|
|
12
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
13
12
|
import "../../chunk-VZIMT7AO.mjs";
|
|
13
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
14
14
|
import "../../chunk-N7NFYY54.mjs";
|
|
15
15
|
export {
|
|
16
16
|
createCoreHandler
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-Pl3asdQ7.mjs';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-CE4qx_oC.mjs';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-CmedyIA_.js';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-CE4qx_oC.js';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
import "../../chunk-TBQ27LIK.mjs";
|
|
5
5
|
import "../../chunk-J44WR3QZ.mjs";
|
|
6
6
|
import "../../chunk-OTXV5FY7.mjs";
|
|
7
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
8
7
|
import "../../chunk-VZIMT7AO.mjs";
|
|
8
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
9
9
|
import "../../chunk-N7NFYY54.mjs";
|
|
10
10
|
export {
|
|
11
11
|
executeRoute
|
|
@@ -40926,6 +40926,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40926
40926
|
});
|
|
40927
40927
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40928
40928
|
z86.object({
|
|
40929
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40929
40930
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40930
40931
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40931
40932
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40934,6 +40935,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40934
40935
|
}),
|
|
40935
40936
|
z86.transform((v) => {
|
|
40936
40937
|
return remap(v, {
|
|
40938
|
+
automaticTax: "automatic_tax",
|
|
40937
40939
|
customFields: "custom_fields",
|
|
40938
40940
|
taxRateId: "tax_rate_id",
|
|
40939
40941
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleRouteByName
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-6E7TYYKP.mjs";
|
|
4
|
+
import "../../chunk-QSWSKRBY.mjs";
|
|
5
5
|
import "../../chunk-MOHYGUMA.mjs";
|
|
6
6
|
import "../../chunk-TBQ27LIK.mjs";
|
|
7
7
|
import "../../chunk-J44WR3QZ.mjs";
|
|
8
8
|
import "../../chunk-R6G7SG3N.mjs";
|
|
9
9
|
import "../../chunk-OTXV5FY7.mjs";
|
|
10
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
11
10
|
import "../../chunk-VZIMT7AO.mjs";
|
|
11
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
12
12
|
import "../../chunk-N7NFYY54.mjs";
|
|
13
13
|
export {
|
|
14
14
|
handleRouteByName
|
|
@@ -5,7 +5,7 @@ export { handleRouteByName } from './handleRouteByName.mjs';
|
|
|
5
5
|
export { resolveIdentity } from './resolveIdentity.mjs';
|
|
6
6
|
import '../types/handlerTypes.mjs';
|
|
7
7
|
import '../../authTypes-CE4qx_oC.mjs';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-Pl3asdQ7.mjs';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../utils/sanitizeBody.mjs';
|
|
11
11
|
import '../types/responseTypes.mjs';
|
|
@@ -5,7 +5,7 @@ export { handleRouteByName } from './handleRouteByName.js';
|
|
|
5
5
|
export { resolveIdentity } from './resolveIdentity.js';
|
|
6
6
|
import '../types/handlerTypes.js';
|
|
7
7
|
import '../../authTypes-CE4qx_oC.js';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-CmedyIA_.js';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../utils/sanitizeBody.js';
|
|
11
11
|
import '../types/responseTypes.js';
|
|
@@ -40930,6 +40930,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40930
40930
|
});
|
|
40931
40931
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40932
40932
|
z86.object({
|
|
40933
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40933
40934
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40934
40935
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40935
40936
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40938,6 +40939,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40938
40939
|
}),
|
|
40939
40940
|
z86.transform((v) => {
|
|
40940
40941
|
return remap(v, {
|
|
40942
|
+
automaticTax: "automatic_tax",
|
|
40941
40943
|
customFields: "custom_fields",
|
|
40942
40944
|
taxRateId: "tax_rate_id",
|
|
40943
40945
|
accountTaxIds: "account_tax_ids"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../chunk-VXND2UDT.mjs";
|
|
2
2
|
import {
|
|
3
3
|
handleRouteByName
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-6E7TYYKP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCoreHandler
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-VWIXH32K.mjs";
|
|
8
|
+
import "../../chunk-QSWSKRBY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
executeRoute
|
|
11
11
|
} from "../../chunk-MOHYGUMA.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../chunk-TSF4YCUO.mjs";
|
|
|
19
19
|
import "../../chunk-UAR3TMWI.mjs";
|
|
20
20
|
import "../../chunk-R6G7SG3N.mjs";
|
|
21
21
|
import "../../chunk-OTXV5FY7.mjs";
|
|
22
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
23
22
|
import "../../chunk-VZIMT7AO.mjs";
|
|
23
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
24
24
|
import "../../chunk-N7NFYY54.mjs";
|
|
25
25
|
export {
|
|
26
26
|
createCoreHandler,
|
|
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.mjs';
|
|
|
2
2
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-CE4qx_oC.mjs';
|
|
3
3
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.mjs';
|
|
4
4
|
export { BackendErrorBody, BackendResult } from './types/responseTypes.mjs';
|
|
5
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-
|
|
5
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-Pl3asdQ7.mjs';
|
|
6
6
|
export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.mjs';
|
|
7
7
|
export { buildRouter } from './routes/routeBuilder.mjs';
|
|
8
8
|
export { routeConfigs } from './routes/routeConfigs.mjs';
|
|
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.js';
|
|
|
2
2
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-CE4qx_oC.js';
|
|
3
3
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.js';
|
|
4
4
|
export { BackendErrorBody, BackendResult } from './types/responseTypes.js';
|
|
5
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-
|
|
5
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-CmedyIA_.js';
|
|
6
6
|
export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.js';
|
|
7
7
|
export { buildRouter } from './routes/routeBuilder.js';
|
|
8
8
|
export { routeConfigs } from './routes/routeConfigs.js';
|
|
@@ -40934,6 +40934,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40934
40934
|
});
|
|
40935
40935
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40936
40936
|
z86.object({
|
|
40937
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40937
40938
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40938
40939
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40939
40940
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40942,6 +40943,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40942
40943
|
}),
|
|
40943
40944
|
z86.transform((v) => {
|
|
40944
40945
|
return remap(v, {
|
|
40946
|
+
automaticTax: "automatic_tax",
|
|
40945
40947
|
customFields: "custom_fields",
|
|
40946
40948
|
taxRateId: "tax_rate_id",
|
|
40947
40949
|
accountTaxIds: "account_tax_ids"
|
|
@@ -2,11 +2,11 @@ import "../chunk-WYDGEDEU.mjs";
|
|
|
2
2
|
import "../chunk-VXND2UDT.mjs";
|
|
3
3
|
import {
|
|
4
4
|
handleRouteByName
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-6E7TYYKP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
createCoreHandler
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-VWIXH32K.mjs";
|
|
9
|
+
import "../chunk-QSWSKRBY.mjs";
|
|
10
10
|
import "../chunk-MOHYGUMA.mjs";
|
|
11
11
|
import "../chunk-TBQ27LIK.mjs";
|
|
12
12
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
routeConfigs
|
|
19
19
|
} from "../chunk-R6G7SG3N.mjs";
|
|
20
20
|
import "../chunk-OTXV5FY7.mjs";
|
|
21
|
-
import {
|
|
22
|
-
sanitizeBody
|
|
23
|
-
} from "../chunk-I7CD6EB6.mjs";
|
|
24
21
|
import {
|
|
25
22
|
secretKeyCheck
|
|
26
23
|
} from "../chunk-VZIMT7AO.mjs";
|
|
24
|
+
import {
|
|
25
|
+
sanitizeBody
|
|
26
|
+
} from "../chunk-I7CD6EB6.mjs";
|
|
27
27
|
import {
|
|
28
28
|
backendError,
|
|
29
29
|
backendSuccess,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { RouteMatch, buildRouter } from './routeBuilder.mjs';
|
|
2
2
|
export { routeConfigs } from './routeConfigs.mjs';
|
|
3
3
|
import 'rou3';
|
|
4
|
-
import '../../routeTypes-
|
|
4
|
+
import '../../routeTypes-Pl3asdQ7.mjs';
|
|
5
5
|
import '../../authTypes-CE4qx_oC.mjs';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../utils/sanitizeBody.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { RouteMatch, buildRouter } from './routeBuilder.js';
|
|
2
2
|
export { routeConfigs } from './routeConfigs.js';
|
|
3
3
|
import 'rou3';
|
|
4
|
-
import '../../routeTypes-
|
|
4
|
+
import '../../routeTypes-CmedyIA_.js';
|
|
5
5
|
import '../../authTypes-CE4qx_oC.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../utils/sanitizeBody.js';
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
routeConfigs
|
|
7
7
|
} from "../../chunk-R6G7SG3N.mjs";
|
|
8
8
|
import "../../chunk-OTXV5FY7.mjs";
|
|
9
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
10
9
|
import "../../chunk-VZIMT7AO.mjs";
|
|
10
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
11
11
|
import "../../chunk-N7NFYY54.mjs";
|
|
12
12
|
export {
|
|
13
13
|
buildRouter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouterContext } from 'rou3';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-Pl3asdQ7.mjs';
|
|
3
3
|
import '../../authTypes-CE4qx_oC.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouterContext } from 'rou3';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-CmedyIA_.js';
|
|
3
3
|
import '../../authTypes-CE4qx_oC.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
routeConfigs
|
|
3
3
|
} from "../../chunk-R6G7SG3N.mjs";
|
|
4
4
|
import "../../chunk-OTXV5FY7.mjs";
|
|
5
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
6
5
|
import "../../chunk-VZIMT7AO.mjs";
|
|
6
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
7
7
|
import "../../chunk-N7NFYY54.mjs";
|
|
8
8
|
export {
|
|
9
9
|
routeConfigs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AuthResult } from '../../authTypes-CE4qx_oC.mjs';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-Pl3asdQ7.mjs';
|
|
3
3
|
import './responseTypes.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AuthResult } from '../../authTypes-CE4qx_oC.js';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-CmedyIA_.js';
|
|
3
3
|
import './responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-CE4qx_oC.mjs';
|
|
2
2
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './handlerTypes.mjs';
|
|
3
3
|
export { BackendErrorBody, BackendResult } from './responseTypes.mjs';
|
|
4
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-
|
|
4
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-Pl3asdQ7.mjs';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../utils/sanitizeBody.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-CE4qx_oC.js';
|
|
2
2
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './handlerTypes.js';
|
|
3
3
|
export { BackendErrorBody, BackendResult } from './responseTypes.js';
|
|
4
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-
|
|
4
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-CmedyIA_.js';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../utils/sanitizeBody.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-
|
|
1
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-Pl3asdQ7.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.mjs';
|
|
4
4
|
import '../../authTypes-CE4qx_oC.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-
|
|
1
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-CmedyIA_.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.js';
|
|
4
4
|
import '../../authTypes-CE4qx_oC.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../chunk-OTXV5FY7.mjs";
|
|
2
|
+
import {
|
|
3
|
+
secretKeyCheck
|
|
4
|
+
} from "../../chunk-VZIMT7AO.mjs";
|
|
2
5
|
import {
|
|
3
6
|
CUSTOMER_PROTECTED_BODY_FIELDS,
|
|
4
7
|
DEFAULT_PROTECTED_BODY_FIELDS,
|
|
5
8
|
sanitizeBody
|
|
6
9
|
} from "../../chunk-I7CD6EB6.mjs";
|
|
7
|
-
import {
|
|
8
|
-
secretKeyCheck
|
|
9
|
-
} from "../../chunk-VZIMT7AO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
backendError,
|
|
12
12
|
backendSuccess,
|
package/dist/backend/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-CE4qx_oC.mjs';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-CE4qx_oC.mjs';
|
|
4
4
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './core/types/handlerTypes.mjs';
|
|
5
5
|
export { BackendErrorBody, BackendResult } from './core/types/responseTypes.mjs';
|
|
6
|
-
import { R as RouteDefinition } from './routeTypes-
|
|
7
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-
|
|
6
|
+
import { R as RouteDefinition } from './routeTypes-Pl3asdQ7.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-Pl3asdQ7.mjs';
|
|
8
8
|
export { buildRouter } from './core/routes/routeBuilder.mjs';
|
|
9
9
|
export { routeConfigs } from './core/routes/routeConfigs.mjs';
|
|
10
10
|
export { secretKeyCheck } from './core/utils/secretKeyCheck.mjs';
|
package/dist/backend/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-CE4qx_oC.js';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-CE4qx_oC.js';
|
|
4
4
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './core/types/handlerTypes.js';
|
|
5
5
|
export { BackendErrorBody, BackendResult } from './core/types/responseTypes.js';
|
|
6
|
-
import { R as RouteDefinition } from './routeTypes-
|
|
7
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-
|
|
6
|
+
import { R as RouteDefinition } from './routeTypes-CmedyIA_.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-CmedyIA_.js';
|
|
8
8
|
export { buildRouter } from './core/routes/routeBuilder.js';
|
|
9
9
|
export { routeConfigs } from './core/routes/routeConfigs.js';
|
|
10
10
|
export { secretKeyCheck } from './core/utils/secretKeyCheck.js';
|
package/dist/backend/index.js
CHANGED
|
@@ -40934,6 +40934,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40934
40934
|
});
|
|
40935
40935
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40936
40936
|
z86.object({
|
|
40937
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40937
40938
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40938
40939
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40939
40940
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40942,6 +40943,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40942
40943
|
}),
|
|
40943
40944
|
z86.transform((v) => {
|
|
40944
40945
|
return remap(v, {
|
|
40946
|
+
automaticTax: "automatic_tax",
|
|
40945
40947
|
customFields: "custom_fields",
|
|
40946
40948
|
taxRateId: "tax_rate_id",
|
|
40947
40949
|
accountTaxIds: "account_tax_ids"
|
package/dist/backend/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-WYDGEDEU.mjs";
|
|
2
2
|
import "./chunk-VXND2UDT.mjs";
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-6E7TYYKP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VWIXH32K.mjs";
|
|
7
|
+
import "./chunk-QSWSKRBY.mjs";
|
|
8
8
|
import "./chunk-MOHYGUMA.mjs";
|
|
9
9
|
import "./chunk-TBQ27LIK.mjs";
|
|
10
10
|
import "./chunk-J44WR3QZ.mjs";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
routeConfigs
|
|
17
17
|
} from "./chunk-R6G7SG3N.mjs";
|
|
18
18
|
import "./chunk-OTXV5FY7.mjs";
|
|
19
|
-
import {
|
|
20
|
-
sanitizeBody
|
|
21
|
-
} from "./chunk-I7CD6EB6.mjs";
|
|
22
19
|
import {
|
|
23
20
|
secretKeyCheck
|
|
24
21
|
} from "./chunk-VZIMT7AO.mjs";
|
|
22
|
+
import {
|
|
23
|
+
sanitizeBody
|
|
24
|
+
} from "./chunk-I7CD6EB6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
backendError,
|
|
27
27
|
backendSuccess,
|
|
@@ -47817,6 +47817,10 @@ type CustomField = {
|
|
|
47817
47817
|
* Changes that apply to the replacement invoice only.
|
|
47818
47818
|
*/
|
|
47819
47819
|
type ReissueInvoiceInvoiceRequestBody = {
|
|
47820
|
+
/**
|
|
47821
|
+
* Enable or disable Stripe automatic tax on the replacement. Omit to inherit. Enabling clears inherited manual tax rates; use tax_rate_id: null to remove all tax.
|
|
47822
|
+
*/
|
|
47823
|
+
automaticTax?: boolean | undefined;
|
|
47820
47824
|
/**
|
|
47821
47825
|
* Fields shown on this invoice only, such as a PO number. Up to four; pass an empty array to clear them.
|
|
47822
47826
|
*/
|
|
@@ -48494,7 +48498,7 @@ type ReissueInvoiceParams = {
|
|
|
48494
48498
|
*/
|
|
48495
48499
|
invoiceTemplateId?: string | undefined;
|
|
48496
48500
|
/**
|
|
48497
|
-
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed.
|
|
48501
|
+
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed. A card-charged invoice has no due date and its replacement is charged immediately; setting this makes the replacement a send-invoice one instead.
|
|
48498
48502
|
*/
|
|
48499
48503
|
netTermsDays?: number | undefined;
|
|
48500
48504
|
/**
|
|
@@ -47817,6 +47817,10 @@ type CustomField = {
|
|
|
47817
47817
|
* Changes that apply to the replacement invoice only.
|
|
47818
47818
|
*/
|
|
47819
47819
|
type ReissueInvoiceInvoiceRequestBody = {
|
|
47820
|
+
/**
|
|
47821
|
+
* Enable or disable Stripe automatic tax on the replacement. Omit to inherit. Enabling clears inherited manual tax rates; use tax_rate_id: null to remove all tax.
|
|
47822
|
+
*/
|
|
47823
|
+
automaticTax?: boolean | undefined;
|
|
47820
47824
|
/**
|
|
47821
47825
|
* Fields shown on this invoice only, such as a PO number. Up to four; pass an empty array to clear them.
|
|
47822
47826
|
*/
|
|
@@ -48494,7 +48498,7 @@ type ReissueInvoiceParams = {
|
|
|
48494
48498
|
*/
|
|
48495
48499
|
invoiceTemplateId?: string | undefined;
|
|
48496
48500
|
/**
|
|
48497
|
-
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed.
|
|
48501
|
+
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed. A card-charged invoice has no due date and its replacement is charged immediately; setting this makes the replacement a send-invoice one instead.
|
|
48498
48502
|
*/
|
|
48499
48503
|
netTermsDays?: number | undefined;
|
|
48500
48504
|
/**
|
|
@@ -40908,6 +40908,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40908
40908
|
});
|
|
40909
40909
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40910
40910
|
z86.object({
|
|
40911
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40911
40912
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40912
40913
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40913
40914
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40916,6 +40917,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40916
40917
|
}),
|
|
40917
40918
|
z86.transform((v) => {
|
|
40918
40919
|
return remap(v, {
|
|
40920
|
+
automaticTax: "automatic_tax",
|
|
40919
40921
|
customFields: "custom_fields",
|
|
40920
40922
|
taxRateId: "tax_rate_id",
|
|
40921
40923
|
accountTaxIds: "account_tax_ids"
|
|
@@ -47617,6 +47617,7 @@ var CustomField$outboundSchema = z105.object({
|
|
|
47617
47617
|
});
|
|
47618
47618
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z105.pipe(
|
|
47619
47619
|
z105.object({
|
|
47620
|
+
automaticTax: z105.optional(z105.boolean()),
|
|
47620
47621
|
customFields: z105.optional(z105.array(z105.lazy(() => CustomField$outboundSchema))),
|
|
47621
47622
|
taxRateId: z105.optional(z105.nullable(z105.string())),
|
|
47622
47623
|
accountTaxIds: z105.optional(z105.nullable(z105.array(z105.string()))),
|
|
@@ -47625,6 +47626,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z105.pipe(
|
|
|
47625
47626
|
}),
|
|
47626
47627
|
z105.transform((v) => {
|
|
47627
47628
|
return remap(v, {
|
|
47629
|
+
automaticTax: "automatic_tax",
|
|
47628
47630
|
customFields: "custom_fields",
|
|
47629
47631
|
taxRateId: "tax_rate_id",
|
|
47630
47632
|
accountTaxIds: "account_tax_ids"
|
|
@@ -40927,6 +40927,7 @@ var CustomField$outboundSchema = z86.object({
|
|
|
40927
40927
|
});
|
|
40928
40928
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
40929
40929
|
z86.object({
|
|
40930
|
+
automaticTax: z86.optional(z86.boolean()),
|
|
40930
40931
|
customFields: z86.optional(z86.array(z86.lazy(() => CustomField$outboundSchema))),
|
|
40931
40932
|
taxRateId: z86.optional(z86.nullable(z86.string())),
|
|
40932
40933
|
accountTaxIds: z86.optional(z86.nullable(z86.array(z86.string()))),
|
|
@@ -40935,6 +40936,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z86.pipe(
|
|
|
40935
40936
|
}),
|
|
40936
40937
|
z86.transform((v) => {
|
|
40937
40938
|
return remap(v, {
|
|
40939
|
+
automaticTax: "automatic_tax",
|
|
40938
40940
|
customFields: "custom_fields",
|
|
40939
40941
|
taxRateId: "tax_rate_id",
|
|
40940
40942
|
accountTaxIds: "account_tax_ids"
|
|
@@ -47621,6 +47621,7 @@ var CustomField$outboundSchema = z105.object({
|
|
|
47621
47621
|
});
|
|
47622
47622
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z105.pipe(
|
|
47623
47623
|
z105.object({
|
|
47624
|
+
automaticTax: z105.optional(z105.boolean()),
|
|
47624
47625
|
customFields: z105.optional(z105.array(z105.lazy(() => CustomField$outboundSchema))),
|
|
47625
47626
|
taxRateId: z105.optional(z105.nullable(z105.string())),
|
|
47626
47627
|
accountTaxIds: z105.optional(z105.nullable(z105.array(z105.string()))),
|
|
@@ -47629,6 +47630,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z105.pipe(
|
|
|
47629
47630
|
}),
|
|
47630
47631
|
z105.transform((v) => {
|
|
47631
47632
|
return remap(v, {
|
|
47633
|
+
automaticTax: "automatic_tax",
|
|
47632
47634
|
customFields: "custom_fields",
|
|
47633
47635
|
taxRateId: "tax_rate_id",
|
|
47634
47636
|
accountTaxIds: "account_tax_ids"
|
package/dist/sdk/index.d.mts
CHANGED
|
@@ -67434,6 +67434,10 @@ type CustomField = {
|
|
|
67434
67434
|
* Changes that apply to the replacement invoice only.
|
|
67435
67435
|
*/
|
|
67436
67436
|
type ReissueInvoiceInvoiceRequestBody = {
|
|
67437
|
+
/**
|
|
67438
|
+
* Enable or disable Stripe automatic tax on the replacement. Omit to inherit. Enabling clears inherited manual tax rates; use tax_rate_id: null to remove all tax.
|
|
67439
|
+
*/
|
|
67440
|
+
automaticTax?: boolean | undefined;
|
|
67437
67441
|
/**
|
|
67438
67442
|
* Fields shown on this invoice only, such as a PO number. Up to four; pass an empty array to clear them.
|
|
67439
67443
|
*/
|
|
@@ -68137,7 +68141,7 @@ type ReissueInvoiceParams = {
|
|
|
68137
68141
|
*/
|
|
68138
68142
|
invoiceTemplateId?: string | undefined;
|
|
68139
68143
|
/**
|
|
68140
|
-
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed.
|
|
68144
|
+
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed. A card-charged invoice has no due date and its replacement is charged immediately; setting this makes the replacement a send-invoice one instead.
|
|
68141
68145
|
*/
|
|
68142
68146
|
netTermsDays?: number | undefined;
|
|
68143
68147
|
/**
|
|
@@ -68376,6 +68380,7 @@ declare const CustomField$outboundSchema: z$1.ZodMiniType<CustomField$Outbound,
|
|
|
68376
68380
|
declare function customFieldToJSON(customField: CustomField): string;
|
|
68377
68381
|
/** @internal */
|
|
68378
68382
|
type ReissueInvoiceInvoiceRequestBody$Outbound = {
|
|
68383
|
+
automatic_tax?: boolean | undefined;
|
|
68379
68384
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
68380
68385
|
tax_rate_id?: string | null | undefined;
|
|
68381
68386
|
account_tax_ids?: Array<string> | null | undefined;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -67434,6 +67434,10 @@ type CustomField = {
|
|
|
67434
67434
|
* Changes that apply to the replacement invoice only.
|
|
67435
67435
|
*/
|
|
67436
67436
|
type ReissueInvoiceInvoiceRequestBody = {
|
|
67437
|
+
/**
|
|
67438
|
+
* Enable or disable Stripe automatic tax on the replacement. Omit to inherit. Enabling clears inherited manual tax rates; use tax_rate_id: null to remove all tax.
|
|
67439
|
+
*/
|
|
67440
|
+
automaticTax?: boolean | undefined;
|
|
67437
67441
|
/**
|
|
67438
67442
|
* Fields shown on this invoice only, such as a PO number. Up to four; pass an empty array to clear them.
|
|
67439
67443
|
*/
|
|
@@ -68137,7 +68141,7 @@ type ReissueInvoiceParams = {
|
|
|
68137
68141
|
*/
|
|
68138
68142
|
invoiceTemplateId?: string | undefined;
|
|
68139
68143
|
/**
|
|
68140
|
-
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed.
|
|
68144
|
+
* Number of days the customer has to pay the replacement invoice. Defaults to the original invoice's due date; required when that date has already passed. A card-charged invoice has no due date and its replacement is charged immediately; setting this makes the replacement a send-invoice one instead.
|
|
68141
68145
|
*/
|
|
68142
68146
|
netTermsDays?: number | undefined;
|
|
68143
68147
|
/**
|
|
@@ -68376,6 +68380,7 @@ declare const CustomField$outboundSchema: z$1.ZodMiniType<CustomField$Outbound,
|
|
|
68376
68380
|
declare function customFieldToJSON(customField: CustomField): string;
|
|
68377
68381
|
/** @internal */
|
|
68378
68382
|
type ReissueInvoiceInvoiceRequestBody$Outbound = {
|
|
68383
|
+
automatic_tax?: boolean | undefined;
|
|
68379
68384
|
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
68380
68385
|
tax_rate_id?: string | null | undefined;
|
|
68381
68386
|
account_tax_ids?: Array<string> | null | undefined;
|
package/dist/sdk/index.js
CHANGED
|
@@ -59476,6 +59476,7 @@ function customFieldToJSON(customField) {
|
|
|
59476
59476
|
}
|
|
59477
59477
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z34__namespace.pipe(
|
|
59478
59478
|
z34__namespace.object({
|
|
59479
|
+
automaticTax: z34__namespace.optional(z34__namespace.boolean()),
|
|
59479
59480
|
customFields: z34__namespace.optional(z34__namespace.array(z34__namespace.lazy(() => CustomField$outboundSchema))),
|
|
59480
59481
|
taxRateId: z34__namespace.optional(z34__namespace.nullable(z34__namespace.string())),
|
|
59481
59482
|
accountTaxIds: z34__namespace.optional(z34__namespace.nullable(z34__namespace.array(z34__namespace.string()))),
|
|
@@ -59484,6 +59485,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z34__namespace.pipe(
|
|
|
59484
59485
|
}),
|
|
59485
59486
|
z34__namespace.transform((v) => {
|
|
59486
59487
|
return remap(v, {
|
|
59488
|
+
automaticTax: "automatic_tax",
|
|
59487
59489
|
customFields: "custom_fields",
|
|
59488
59490
|
taxRateId: "tax_rate_id",
|
|
59489
59491
|
accountTaxIds: "account_tax_ids"
|
package/dist/sdk/index.mjs
CHANGED
|
@@ -59453,6 +59453,7 @@ function customFieldToJSON(customField) {
|
|
|
59453
59453
|
}
|
|
59454
59454
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z34.pipe(
|
|
59455
59455
|
z34.object({
|
|
59456
|
+
automaticTax: z34.optional(z34.boolean()),
|
|
59456
59457
|
customFields: z34.optional(z34.array(z34.lazy(() => CustomField$outboundSchema))),
|
|
59457
59458
|
taxRateId: z34.optional(z34.nullable(z34.string())),
|
|
59458
59459
|
accountTaxIds: z34.optional(z34.nullable(z34.array(z34.string()))),
|
|
@@ -59461,6 +59462,7 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z34.pipe(
|
|
|
59461
59462
|
}),
|
|
59462
59463
|
z34.transform((v) => {
|
|
59463
59464
|
return remap(v, {
|
|
59465
|
+
automaticTax: "automatic_tax",
|
|
59464
59466
|
customFields: "custom_fields",
|
|
59465
59467
|
taxRateId: "tax_rate_id",
|
|
59466
59468
|
accountTaxIds: "account_tax_ids"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autumn-js",
|
|
3
3
|
"description": "Autumn JS Library",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.14",
|
|
5
5
|
"repository": "github:useautumn/autumn",
|
|
6
6
|
"homepage": "https://docs.useautumn.com",
|
|
7
7
|
"main": "./dist/sdk/index.js",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"optional": true
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "31132b1389813375870c9e3bbe8beef94f500ce7"
|
|
130
130
|
}
|