autumn-js 1.3.15 → 1.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/backend/adapters/express.js +14 -2
  2. package/dist/backend/adapters/express.mjs +4 -4
  3. package/dist/backend/adapters/fetch.js +14 -2
  4. package/dist/backend/adapters/fetch.mjs +4 -4
  5. package/dist/backend/adapters/hono.js +14 -2
  6. package/dist/backend/adapters/hono.mjs +4 -4
  7. package/dist/backend/adapters/index.js +14 -2
  8. package/dist/backend/adapters/index.mjs +7 -7
  9. package/dist/backend/adapters/next.js +14 -2
  10. package/dist/backend/adapters/next.mjs +4 -4
  11. package/dist/backend/{chunk-5L2FQENX.mjs → chunk-2HWIH2HC.mjs} +1 -1
  12. package/dist/backend/{chunk-3NWZ5JCS.mjs → chunk-5ZJ4SMY3.mjs} +1 -1
  13. package/dist/backend/{chunk-HLTECDHI.mjs → chunk-B4CUYWLF.mjs} +14 -2
  14. package/dist/backend/{chunk-NFNIIF6U.mjs → chunk-OJMGNEVM.mjs} +1 -1
  15. package/dist/backend/{chunk-WTIOYLNM.mjs → chunk-QSHAL5TZ.mjs} +1 -1
  16. package/dist/backend/{chunk-SQEGXZCR.mjs → chunk-R2CXUYPG.mjs} +1 -1
  17. package/dist/backend/{chunk-QRHOBVQP.mjs → chunk-TQFTGTIC.mjs} +1 -1
  18. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  19. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.js +14 -2
  21. package/dist/backend/core/handlers/coreHandler.mjs +2 -2
  22. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  23. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  24. package/dist/backend/core/handlers/handleRouteByName.js +14 -2
  25. package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
  26. package/dist/backend/core/handlers/index.d.mts +1 -1
  27. package/dist/backend/core/handlers/index.d.ts +1 -1
  28. package/dist/backend/core/handlers/index.js +14 -2
  29. package/dist/backend/core/handlers/index.mjs +3 -3
  30. package/dist/backend/core/index.d.mts +1 -1
  31. package/dist/backend/core/index.d.ts +1 -1
  32. package/dist/backend/core/index.js +14 -2
  33. package/dist/backend/core/index.mjs +3 -3
  34. package/dist/backend/core/routes/index.d.mts +1 -1
  35. package/dist/backend/core/routes/index.d.ts +1 -1
  36. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  37. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  38. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  39. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  40. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  41. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  42. package/dist/backend/core/types/index.d.mts +1 -1
  43. package/dist/backend/core/types/index.d.ts +1 -1
  44. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  45. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  46. package/dist/backend/index.d.mts +2 -2
  47. package/dist/backend/index.d.ts +2 -2
  48. package/dist/backend/index.js +14 -2
  49. package/dist/backend/index.mjs +3 -3
  50. package/dist/backend/{routeTypes-BO-VBvq4.d.ts → routeTypes-DbEShvad.d.ts} +14 -0
  51. package/dist/backend/{routeTypes-BPqyn4tP.d.mts → routeTypes-TP-m0VH4.d.mts} +14 -0
  52. package/dist/better-auth/{chunk-IQCXDDKS.mjs → chunk-6ILQPBBY.mjs} +14 -2
  53. package/dist/better-auth/index.js +14 -2
  54. package/dist/better-auth/index.mjs +1 -1
  55. package/dist/better-auth/utils/handleBetterAuthRoute.js +14 -2
  56. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
  57. package/dist/better-auth/utils/index.js +14 -2
  58. package/dist/better-auth/utils/index.mjs +1 -1
  59. package/dist/sdk/index.d.mts +18 -1
  60. package/dist/sdk/index.d.ts +18 -1
  61. package/dist/sdk/index.js +16 -2
  62. package/dist/sdk/index.mjs +15 -3
  63. package/package.json +2 -2
@@ -40945,6 +40945,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40945
40945
 
40946
40946
  // ../sdk/src/models/reissue-invoice-op.ts
40947
40947
  var z88 = __toESM(require("zod/v4-mini"), 1);
40948
+ var PaymentMethodType = {
40949
+ Card: "card",
40950
+ CustomerBalance: "customer_balance",
40951
+ UsBankAccount: "us_bank_account",
40952
+ SepaDebit: "sepa_debit",
40953
+ BacsDebit: "bacs_debit",
40954
+ AcssDebit: "acss_debit",
40955
+ Link: "link"
40956
+ };
40948
40957
  var ReissueInvoiceInterval = {
40949
40958
  OneOff: "one_off",
40950
40959
  Week: "week",
@@ -41006,6 +41015,7 @@ var CustomField$outboundSchema = z88.object({
41006
41015
  name: z88.string(),
41007
41016
  value: z88.string()
41008
41017
  });
41018
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41009
41019
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41010
41020
  z88.object({
41011
41021
  automaticTax: z88.optional(z88.boolean()),
@@ -41013,14 +41023,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41013
41023
  taxRateId: z88.optional(z88.nullable(z88.string())),
41014
41024
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41015
41025
  footer: z88.optional(z88.nullable(z88.string())),
41016
- memo: z88.optional(z88.nullable(z88.string()))
41026
+ memo: z88.optional(z88.nullable(z88.string())),
41027
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41017
41028
  }),
41018
41029
  z88.transform((v) => {
41019
41030
  return remap(v, {
41020
41031
  automaticTax: "automatic_tax",
41021
41032
  customFields: "custom_fields",
41022
41033
  taxRateId: "tax_rate_id",
41023
- accountTaxIds: "account_tax_ids"
41034
+ accountTaxIds: "account_tax_ids",
41035
+ paymentMethodTypes: "payment_method_types"
41024
41036
  });
41025
41037
  })
41026
41038
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-QRHOBVQP.mjs";
3
+ } from "../chunk-TQFTGTIC.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-SQEGXZCR.mjs";
7
- import "../chunk-WTIOYLNM.mjs";
8
- import "../chunk-HLTECDHI.mjs";
6
+ import "../chunk-R2CXUYPG.mjs";
7
+ import "../chunk-QSHAL5TZ.mjs";
8
+ import "../chunk-B4CUYWLF.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -40945,6 +40945,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40945
40945
 
40946
40946
  // ../sdk/src/models/reissue-invoice-op.ts
40947
40947
  var z88 = __toESM(require("zod/v4-mini"), 1);
40948
+ var PaymentMethodType = {
40949
+ Card: "card",
40950
+ CustomerBalance: "customer_balance",
40951
+ UsBankAccount: "us_bank_account",
40952
+ SepaDebit: "sepa_debit",
40953
+ BacsDebit: "bacs_debit",
40954
+ AcssDebit: "acss_debit",
40955
+ Link: "link"
40956
+ };
40948
40957
  var ReissueInvoiceInterval = {
40949
40958
  OneOff: "one_off",
40950
40959
  Week: "week",
@@ -41006,6 +41015,7 @@ var CustomField$outboundSchema = z88.object({
41006
41015
  name: z88.string(),
41007
41016
  value: z88.string()
41008
41017
  });
41018
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41009
41019
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41010
41020
  z88.object({
41011
41021
  automaticTax: z88.optional(z88.boolean()),
@@ -41013,14 +41023,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41013
41023
  taxRateId: z88.optional(z88.nullable(z88.string())),
41014
41024
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41015
41025
  footer: z88.optional(z88.nullable(z88.string())),
41016
- memo: z88.optional(z88.nullable(z88.string()))
41026
+ memo: z88.optional(z88.nullable(z88.string())),
41027
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41017
41028
  }),
41018
41029
  z88.transform((v) => {
41019
41030
  return remap(v, {
41020
41031
  automaticTax: "automatic_tax",
41021
41032
  customFields: "custom_fields",
41022
41033
  taxRateId: "tax_rate_id",
41023
- accountTaxIds: "account_tax_ids"
41034
+ accountTaxIds: "account_tax_ids",
41035
+ paymentMethodTypes: "payment_method_types"
41024
41036
  });
41025
41037
  })
41026
41038
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-5L2FQENX.mjs";
3
+ } from "../chunk-2HWIH2HC.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-SQEGXZCR.mjs";
7
- import "../chunk-WTIOYLNM.mjs";
8
- import "../chunk-HLTECDHI.mjs";
6
+ import "../chunk-R2CXUYPG.mjs";
7
+ import "../chunk-QSHAL5TZ.mjs";
8
+ import "../chunk-B4CUYWLF.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -40945,6 +40945,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40945
40945
 
40946
40946
  // ../sdk/src/models/reissue-invoice-op.ts
40947
40947
  var z88 = __toESM(require("zod/v4-mini"), 1);
40948
+ var PaymentMethodType = {
40949
+ Card: "card",
40950
+ CustomerBalance: "customer_balance",
40951
+ UsBankAccount: "us_bank_account",
40952
+ SepaDebit: "sepa_debit",
40953
+ BacsDebit: "bacs_debit",
40954
+ AcssDebit: "acss_debit",
40955
+ Link: "link"
40956
+ };
40948
40957
  var ReissueInvoiceInterval = {
40949
40958
  OneOff: "one_off",
40950
40959
  Week: "week",
@@ -41006,6 +41015,7 @@ var CustomField$outboundSchema = z88.object({
41006
41015
  name: z88.string(),
41007
41016
  value: z88.string()
41008
41017
  });
41018
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41009
41019
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41010
41020
  z88.object({
41011
41021
  automaticTax: z88.optional(z88.boolean()),
@@ -41013,14 +41023,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41013
41023
  taxRateId: z88.optional(z88.nullable(z88.string())),
41014
41024
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41015
41025
  footer: z88.optional(z88.nullable(z88.string())),
41016
- memo: z88.optional(z88.nullable(z88.string()))
41026
+ memo: z88.optional(z88.nullable(z88.string())),
41027
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41017
41028
  }),
41018
41029
  z88.transform((v) => {
41019
41030
  return remap(v, {
41020
41031
  automaticTax: "automatic_tax",
41021
41032
  customFields: "custom_fields",
41022
41033
  taxRateId: "tax_rate_id",
41023
- accountTaxIds: "account_tax_ids"
41034
+ accountTaxIds: "account_tax_ids",
41035
+ paymentMethodTypes: "payment_method_types"
41024
41036
  });
41025
41037
  })
41026
41038
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-3NWZ5JCS.mjs";
3
+ } from "../chunk-5ZJ4SMY3.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-SQEGXZCR.mjs";
7
- import "../chunk-WTIOYLNM.mjs";
8
- import "../chunk-HLTECDHI.mjs";
6
+ import "../chunk-R2CXUYPG.mjs";
7
+ import "../chunk-QSHAL5TZ.mjs";
8
+ import "../chunk-B4CUYWLF.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -40948,6 +40948,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40948
40948
 
40949
40949
  // ../sdk/src/models/reissue-invoice-op.ts
40950
40950
  var z88 = __toESM(require("zod/v4-mini"), 1);
40951
+ var PaymentMethodType = {
40952
+ Card: "card",
40953
+ CustomerBalance: "customer_balance",
40954
+ UsBankAccount: "us_bank_account",
40955
+ SepaDebit: "sepa_debit",
40956
+ BacsDebit: "bacs_debit",
40957
+ AcssDebit: "acss_debit",
40958
+ Link: "link"
40959
+ };
40951
40960
  var ReissueInvoiceInterval = {
40952
40961
  OneOff: "one_off",
40953
40962
  Week: "week",
@@ -41009,6 +41018,7 @@ var CustomField$outboundSchema = z88.object({
41009
41018
  name: z88.string(),
41010
41019
  value: z88.string()
41011
41020
  });
41021
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41012
41022
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41013
41023
  z88.object({
41014
41024
  automaticTax: z88.optional(z88.boolean()),
@@ -41016,14 +41026,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41016
41026
  taxRateId: z88.optional(z88.nullable(z88.string())),
41017
41027
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41018
41028
  footer: z88.optional(z88.nullable(z88.string())),
41019
- memo: z88.optional(z88.nullable(z88.string()))
41029
+ memo: z88.optional(z88.nullable(z88.string())),
41030
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41020
41031
  }),
41021
41032
  z88.transform((v) => {
41022
41033
  return remap(v, {
41023
41034
  automaticTax: "automatic_tax",
41024
41035
  customFields: "custom_fields",
41025
41036
  taxRateId: "tax_rate_id",
41026
- accountTaxIds: "account_tax_ids"
41037
+ accountTaxIds: "account_tax_ids",
41038
+ paymentMethodTypes: "payment_method_types"
41027
41039
  });
41028
41040
  })
41029
41041
  );
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-QRHOBVQP.mjs";
3
+ } from "../chunk-TQFTGTIC.mjs";
4
4
  import {
5
5
  autumnHandler as autumnHandler2
6
- } from "../chunk-5L2FQENX.mjs";
6
+ } from "../chunk-2HWIH2HC.mjs";
7
7
  import {
8
8
  autumnHandler as autumnHandler3
9
- } from "../chunk-3NWZ5JCS.mjs";
9
+ } from "../chunk-5ZJ4SMY3.mjs";
10
10
  import {
11
11
  autumnHandler as autumnHandler4
12
- } from "../chunk-NFNIIF6U.mjs";
12
+ } from "../chunk-OJMGNEVM.mjs";
13
13
  import "../chunk-WYDGEDEU.mjs";
14
14
  import "../chunk-VXND2UDT.mjs";
15
- import "../chunk-SQEGXZCR.mjs";
16
- import "../chunk-WTIOYLNM.mjs";
17
- import "../chunk-HLTECDHI.mjs";
15
+ import "../chunk-R2CXUYPG.mjs";
16
+ import "../chunk-QSHAL5TZ.mjs";
17
+ import "../chunk-B4CUYWLF.mjs";
18
18
  import "../chunk-MOHYGUMA.mjs";
19
19
  import "../chunk-TBQ27LIK.mjs";
20
20
  import "../chunk-J44WR3QZ.mjs";
@@ -40946,6 +40946,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40946
40946
 
40947
40947
  // ../sdk/src/models/reissue-invoice-op.ts
40948
40948
  var z88 = __toESM(require("zod/v4-mini"), 1);
40949
+ var PaymentMethodType = {
40950
+ Card: "card",
40951
+ CustomerBalance: "customer_balance",
40952
+ UsBankAccount: "us_bank_account",
40953
+ SepaDebit: "sepa_debit",
40954
+ BacsDebit: "bacs_debit",
40955
+ AcssDebit: "acss_debit",
40956
+ Link: "link"
40957
+ };
40949
40958
  var ReissueInvoiceInterval = {
40950
40959
  OneOff: "one_off",
40951
40960
  Week: "week",
@@ -41007,6 +41016,7 @@ var CustomField$outboundSchema = z88.object({
41007
41016
  name: z88.string(),
41008
41017
  value: z88.string()
41009
41018
  });
41019
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41010
41020
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41011
41021
  z88.object({
41012
41022
  automaticTax: z88.optional(z88.boolean()),
@@ -41014,14 +41024,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41014
41024
  taxRateId: z88.optional(z88.nullable(z88.string())),
41015
41025
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41016
41026
  footer: z88.optional(z88.nullable(z88.string())),
41017
- memo: z88.optional(z88.nullable(z88.string()))
41027
+ memo: z88.optional(z88.nullable(z88.string())),
41028
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41018
41029
  }),
41019
41030
  z88.transform((v) => {
41020
41031
  return remap(v, {
41021
41032
  automaticTax: "automatic_tax",
41022
41033
  customFields: "custom_fields",
41023
41034
  taxRateId: "tax_rate_id",
41024
- accountTaxIds: "account_tax_ids"
41035
+ accountTaxIds: "account_tax_ids",
41036
+ paymentMethodTypes: "payment_method_types"
41025
41037
  });
41026
41038
  })
41027
41039
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-NFNIIF6U.mjs";
3
+ } from "../chunk-OJMGNEVM.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-SQEGXZCR.mjs";
7
- import "../chunk-WTIOYLNM.mjs";
8
- import "../chunk-HLTECDHI.mjs";
6
+ import "../chunk-R2CXUYPG.mjs";
7
+ import "../chunk-QSHAL5TZ.mjs";
8
+ import "../chunk-B4CUYWLF.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-WTIOYLNM.mjs";
3
+ } from "./chunk-QSHAL5TZ.mjs";
4
4
 
5
5
  // src/backend/adapters/fetch.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-WTIOYLNM.mjs";
3
+ } from "./chunk-QSHAL5TZ.mjs";
4
4
 
5
5
  // src/backend/adapters/hono.ts
6
6
  function autumnHandler(options) {
@@ -40862,6 +40862,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40862
40862
 
40863
40863
  // ../sdk/src/models/reissue-invoice-op.ts
40864
40864
  import * as z88 from "zod/v4-mini";
40865
+ var PaymentMethodType = {
40866
+ Card: "card",
40867
+ CustomerBalance: "customer_balance",
40868
+ UsBankAccount: "us_bank_account",
40869
+ SepaDebit: "sepa_debit",
40870
+ BacsDebit: "bacs_debit",
40871
+ AcssDebit: "acss_debit",
40872
+ Link: "link"
40873
+ };
40865
40874
  var ReissueInvoiceInterval = {
40866
40875
  OneOff: "one_off",
40867
40876
  Week: "week",
@@ -40923,6 +40932,7 @@ var CustomField$outboundSchema = z88.object({
40923
40932
  name: z88.string(),
40924
40933
  value: z88.string()
40925
40934
  });
40935
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
40926
40936
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
40927
40937
  z88.object({
40928
40938
  automaticTax: z88.optional(z88.boolean()),
@@ -40930,14 +40940,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
40930
40940
  taxRateId: z88.optional(z88.nullable(z88.string())),
40931
40941
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
40932
40942
  footer: z88.optional(z88.nullable(z88.string())),
40933
- memo: z88.optional(z88.nullable(z88.string()))
40943
+ memo: z88.optional(z88.nullable(z88.string())),
40944
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
40934
40945
  }),
40935
40946
  z88.transform((v) => {
40936
40947
  return remap(v, {
40937
40948
  automaticTax: "automatic_tax",
40938
40949
  customFields: "custom_fields",
40939
40950
  taxRateId: "tax_rate_id",
40940
- accountTaxIds: "account_tax_ids"
40951
+ accountTaxIds: "account_tax_ids",
40952
+ paymentMethodTypes: "payment_method_types"
40941
40953
  });
40942
40954
  })
40943
40955
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-WTIOYLNM.mjs";
3
+ } from "./chunk-QSHAL5TZ.mjs";
4
4
 
5
5
  // src/backend/adapters/next.ts
6
6
  import { NextResponse } from "next/server";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Autumn
3
- } from "./chunk-HLTECDHI.mjs";
3
+ } from "./chunk-B4CUYWLF.mjs";
4
4
  import {
5
5
  executeRoute
6
6
  } from "./chunk-MOHYGUMA.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Autumn
3
- } from "./chunk-HLTECDHI.mjs";
3
+ } from "./chunk-B4CUYWLF.mjs";
4
4
  import {
5
5
  executeRoute
6
6
  } from "./chunk-MOHYGUMA.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-WTIOYLNM.mjs";
3
+ } from "./chunk-QSHAL5TZ.mjs";
4
4
 
5
5
  // src/backend/adapters/express.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
2
2
  import '../../authTypes-CE4qx_oC.mjs';
3
- import '../../routeTypes-BPqyn4tP.mjs';
3
+ import '../../routeTypes-TP-m0VH4.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-BO-VBvq4.js';
3
+ import '../../routeTypes-DbEShvad.js';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.js';
6
6
  import '../types/responseTypes.js';
@@ -40945,6 +40945,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40945
40945
 
40946
40946
  // ../sdk/src/models/reissue-invoice-op.ts
40947
40947
  var z88 = __toESM(require("zod/v4-mini"), 1);
40948
+ var PaymentMethodType = {
40949
+ Card: "card",
40950
+ CustomerBalance: "customer_balance",
40951
+ UsBankAccount: "us_bank_account",
40952
+ SepaDebit: "sepa_debit",
40953
+ BacsDebit: "bacs_debit",
40954
+ AcssDebit: "acss_debit",
40955
+ Link: "link"
40956
+ };
40948
40957
  var ReissueInvoiceInterval = {
40949
40958
  OneOff: "one_off",
40950
40959
  Week: "week",
@@ -41006,6 +41015,7 @@ var CustomField$outboundSchema = z88.object({
41006
41015
  name: z88.string(),
41007
41016
  value: z88.string()
41008
41017
  });
41018
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41009
41019
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41010
41020
  z88.object({
41011
41021
  automaticTax: z88.optional(z88.boolean()),
@@ -41013,14 +41023,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41013
41023
  taxRateId: z88.optional(z88.nullable(z88.string())),
41014
41024
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41015
41025
  footer: z88.optional(z88.nullable(z88.string())),
41016
- memo: z88.optional(z88.nullable(z88.string()))
41026
+ memo: z88.optional(z88.nullable(z88.string())),
41027
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41017
41028
  }),
41018
41029
  z88.transform((v) => {
41019
41030
  return remap(v, {
41020
41031
  automaticTax: "automatic_tax",
41021
41032
  customFields: "custom_fields",
41022
41033
  taxRateId: "tax_rate_id",
41023
- accountTaxIds: "account_tax_ids"
41034
+ accountTaxIds: "account_tax_ids",
41035
+ paymentMethodTypes: "payment_method_types"
41024
41036
  });
41025
41037
  })
41026
41038
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "../../chunk-WTIOYLNM.mjs";
4
- import "../../chunk-HLTECDHI.mjs";
3
+ } from "../../chunk-QSHAL5TZ.mjs";
4
+ import "../../chunk-B4CUYWLF.mjs";
5
5
  import "../../chunk-MOHYGUMA.mjs";
6
6
  import "../../chunk-TBQ27LIK.mjs";
7
7
  import "../../chunk-J44WR3QZ.mjs";
@@ -1,4 +1,4 @@
1
- import { A as Autumn, R as RouteDefinition } from '../../routeTypes-BPqyn4tP.mjs';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-TP-m0VH4.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-BO-VBvq4.js';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-DbEShvad.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';
@@ -40945,6 +40945,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40945
40945
 
40946
40946
  // ../sdk/src/models/reissue-invoice-op.ts
40947
40947
  var z88 = __toESM(require("zod/v4-mini"), 1);
40948
+ var PaymentMethodType = {
40949
+ Card: "card",
40950
+ CustomerBalance: "customer_balance",
40951
+ UsBankAccount: "us_bank_account",
40952
+ SepaDebit: "sepa_debit",
40953
+ BacsDebit: "bacs_debit",
40954
+ AcssDebit: "acss_debit",
40955
+ Link: "link"
40956
+ };
40948
40957
  var ReissueInvoiceInterval = {
40949
40958
  OneOff: "one_off",
40950
40959
  Week: "week",
@@ -41006,6 +41015,7 @@ var CustomField$outboundSchema = z88.object({
41006
41015
  name: z88.string(),
41007
41016
  value: z88.string()
41008
41017
  });
41018
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41009
41019
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41010
41020
  z88.object({
41011
41021
  automaticTax: z88.optional(z88.boolean()),
@@ -41013,14 +41023,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41013
41023
  taxRateId: z88.optional(z88.nullable(z88.string())),
41014
41024
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41015
41025
  footer: z88.optional(z88.nullable(z88.string())),
41016
- memo: z88.optional(z88.nullable(z88.string()))
41026
+ memo: z88.optional(z88.nullable(z88.string())),
41027
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41017
41028
  }),
41018
41029
  z88.transform((v) => {
41019
41030
  return remap(v, {
41020
41031
  automaticTax: "automatic_tax",
41021
41032
  customFields: "custom_fields",
41022
41033
  taxRateId: "tax_rate_id",
41023
- accountTaxIds: "account_tax_ids"
41034
+ accountTaxIds: "account_tax_ids",
41035
+ paymentMethodTypes: "payment_method_types"
41024
41036
  });
41025
41037
  })
41026
41038
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  handleRouteByName
3
- } from "../../chunk-SQEGXZCR.mjs";
4
- import "../../chunk-HLTECDHI.mjs";
3
+ } from "../../chunk-R2CXUYPG.mjs";
4
+ import "../../chunk-B4CUYWLF.mjs";
5
5
  import "../../chunk-MOHYGUMA.mjs";
6
6
  import "../../chunk-TBQ27LIK.mjs";
7
7
  import "../../chunk-J44WR3QZ.mjs";
@@ -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-BPqyn4tP.mjs';
8
+ import '../../routeTypes-TP-m0VH4.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-BO-VBvq4.js';
8
+ import '../../routeTypes-DbEShvad.js';
9
9
  import 'zod/v4';
10
10
  import '../utils/sanitizeBody.js';
11
11
  import '../types/responseTypes.js';
@@ -40949,6 +40949,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
40949
40949
 
40950
40950
  // ../sdk/src/models/reissue-invoice-op.ts
40951
40951
  var z88 = __toESM(require("zod/v4-mini"), 1);
40952
+ var PaymentMethodType = {
40953
+ Card: "card",
40954
+ CustomerBalance: "customer_balance",
40955
+ UsBankAccount: "us_bank_account",
40956
+ SepaDebit: "sepa_debit",
40957
+ BacsDebit: "bacs_debit",
40958
+ AcssDebit: "acss_debit",
40959
+ Link: "link"
40960
+ };
40952
40961
  var ReissueInvoiceInterval = {
40953
40962
  OneOff: "one_off",
40954
40963
  Week: "week",
@@ -41010,6 +41019,7 @@ var CustomField$outboundSchema = z88.object({
41010
41019
  name: z88.string(),
41011
41020
  value: z88.string()
41012
41021
  });
41022
+ var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
41013
41023
  var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41014
41024
  z88.object({
41015
41025
  automaticTax: z88.optional(z88.boolean()),
@@ -41017,14 +41027,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
41017
41027
  taxRateId: z88.optional(z88.nullable(z88.string())),
41018
41028
  accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
41019
41029
  footer: z88.optional(z88.nullable(z88.string())),
41020
- memo: z88.optional(z88.nullable(z88.string()))
41030
+ memo: z88.optional(z88.nullable(z88.string())),
41031
+ paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
41021
41032
  }),
41022
41033
  z88.transform((v) => {
41023
41034
  return remap(v, {
41024
41035
  automaticTax: "automatic_tax",
41025
41036
  customFields: "custom_fields",
41026
41037
  taxRateId: "tax_rate_id",
41027
- accountTaxIds: "account_tax_ids"
41038
+ accountTaxIds: "account_tax_ids",
41039
+ paymentMethodTypes: "payment_method_types"
41028
41040
  });
41029
41041
  })
41030
41042
  );
@@ -1,11 +1,11 @@
1
1
  import "../../chunk-VXND2UDT.mjs";
2
2
  import {
3
3
  handleRouteByName
4
- } from "../../chunk-SQEGXZCR.mjs";
4
+ } from "../../chunk-R2CXUYPG.mjs";
5
5
  import {
6
6
  createCoreHandler
7
- } from "../../chunk-WTIOYLNM.mjs";
8
- import "../../chunk-HLTECDHI.mjs";
7
+ } from "../../chunk-QSHAL5TZ.mjs";
8
+ import "../../chunk-B4CUYWLF.mjs";
9
9
  import {
10
10
  executeRoute
11
11
  } from "../../chunk-MOHYGUMA.mjs";
@@ -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-BPqyn4tP.mjs';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-TP-m0VH4.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-BO-VBvq4.js';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-DbEShvad.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';