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.
- package/dist/backend/adapters/express.js +14 -2
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +14 -2
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +14 -2
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +14 -2
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +14 -2
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-5L2FQENX.mjs → chunk-2HWIH2HC.mjs} +1 -1
- package/dist/backend/{chunk-3NWZ5JCS.mjs → chunk-5ZJ4SMY3.mjs} +1 -1
- package/dist/backend/{chunk-HLTECDHI.mjs → chunk-B4CUYWLF.mjs} +14 -2
- package/dist/backend/{chunk-NFNIIF6U.mjs → chunk-OJMGNEVM.mjs} +1 -1
- package/dist/backend/{chunk-WTIOYLNM.mjs → chunk-QSHAL5TZ.mjs} +1 -1
- package/dist/backend/{chunk-SQEGXZCR.mjs → chunk-R2CXUYPG.mjs} +1 -1
- package/dist/backend/{chunk-QRHOBVQP.mjs → chunk-TQFTGTIC.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 +14 -2
- package/dist/backend/core/handlers/coreHandler.mjs +2 -2
- 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/handleRouteByName.js +14 -2
- package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
- 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 +14 -2
- package/dist/backend/core/handlers/index.mjs +3 -3
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +14 -2
- package/dist/backend/core/index.mjs +3 -3
- 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/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/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/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +14 -2
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-BO-VBvq4.d.ts → routeTypes-DbEShvad.d.ts} +14 -0
- package/dist/backend/{routeTypes-BPqyn4tP.d.mts → routeTypes-TP-m0VH4.d.mts} +14 -0
- package/dist/better-auth/{chunk-IQCXDDKS.mjs → chunk-6ILQPBBY.mjs} +14 -2
- package/dist/better-auth/index.js +14 -2
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +14 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +14 -2
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +18 -1
- package/dist/sdk/index.d.ts +18 -1
- package/dist/sdk/index.js +16 -2
- package/dist/sdk/index.mjs +15 -3
- package/package.json +2 -2
|
@@ -40953,6 +40953,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
|
|
|
40953
40953
|
|
|
40954
40954
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
40955
40955
|
var z88 = __toESM(require("zod/v4-mini"), 1);
|
|
40956
|
+
var PaymentMethodType = {
|
|
40957
|
+
Card: "card",
|
|
40958
|
+
CustomerBalance: "customer_balance",
|
|
40959
|
+
UsBankAccount: "us_bank_account",
|
|
40960
|
+
SepaDebit: "sepa_debit",
|
|
40961
|
+
BacsDebit: "bacs_debit",
|
|
40962
|
+
AcssDebit: "acss_debit",
|
|
40963
|
+
Link: "link"
|
|
40964
|
+
};
|
|
40956
40965
|
var ReissueInvoiceInterval = {
|
|
40957
40966
|
OneOff: "one_off",
|
|
40958
40967
|
Week: "week",
|
|
@@ -41014,6 +41023,7 @@ var CustomField$outboundSchema = z88.object({
|
|
|
41014
41023
|
name: z88.string(),
|
|
41015
41024
|
value: z88.string()
|
|
41016
41025
|
});
|
|
41026
|
+
var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
|
|
41017
41027
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
|
|
41018
41028
|
z88.object({
|
|
41019
41029
|
automaticTax: z88.optional(z88.boolean()),
|
|
@@ -41021,14 +41031,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
|
|
|
41021
41031
|
taxRateId: z88.optional(z88.nullable(z88.string())),
|
|
41022
41032
|
accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
|
|
41023
41033
|
footer: z88.optional(z88.nullable(z88.string())),
|
|
41024
|
-
memo: z88.optional(z88.nullable(z88.string()))
|
|
41034
|
+
memo: z88.optional(z88.nullable(z88.string())),
|
|
41035
|
+
paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
|
|
41025
41036
|
}),
|
|
41026
41037
|
z88.transform((v) => {
|
|
41027
41038
|
return remap(v, {
|
|
41028
41039
|
automaticTax: "automatic_tax",
|
|
41029
41040
|
customFields: "custom_fields",
|
|
41030
41041
|
taxRateId: "tax_rate_id",
|
|
41031
|
-
accountTaxIds: "account_tax_ids"
|
|
41042
|
+
accountTaxIds: "account_tax_ids",
|
|
41043
|
+
paymentMethodTypes: "payment_method_types"
|
|
41032
41044
|
});
|
|
41033
41045
|
})
|
|
41034
41046
|
);
|
|
@@ -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-R2CXUYPG.mjs";
|
|
6
6
|
import {
|
|
7
7
|
createCoreHandler
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-QSHAL5TZ.mjs";
|
|
9
|
+
import "../chunk-B4CUYWLF.mjs";
|
|
10
10
|
import "../chunk-MOHYGUMA.mjs";
|
|
11
11
|
import "../chunk-TBQ27LIK.mjs";
|
|
12
12
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -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-TP-m0VH4.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-DbEShvad.js';
|
|
5
5
|
import '../../authTypes-CE4qx_oC.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../utils/sanitizeBody.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouterContext } from 'rou3';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-TP-m0VH4.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-DbEShvad.js';
|
|
3
3
|
import '../../authTypes-CE4qx_oC.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
@@ -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-TP-m0VH4.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-DbEShvad.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-TP-m0VH4.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-DbEShvad.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-TP-m0VH4.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-DbEShvad.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.js';
|
|
4
4
|
import '../../authTypes-CE4qx_oC.js';
|
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-TP-m0VH4.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-TP-m0VH4.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-DbEShvad.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-DbEShvad.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
|
@@ -40953,6 +40953,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
|
|
|
40953
40953
|
|
|
40954
40954
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
40955
40955
|
var z88 = __toESM(require("zod/v4-mini"), 1);
|
|
40956
|
+
var PaymentMethodType = {
|
|
40957
|
+
Card: "card",
|
|
40958
|
+
CustomerBalance: "customer_balance",
|
|
40959
|
+
UsBankAccount: "us_bank_account",
|
|
40960
|
+
SepaDebit: "sepa_debit",
|
|
40961
|
+
BacsDebit: "bacs_debit",
|
|
40962
|
+
AcssDebit: "acss_debit",
|
|
40963
|
+
Link: "link"
|
|
40964
|
+
};
|
|
40956
40965
|
var ReissueInvoiceInterval = {
|
|
40957
40966
|
OneOff: "one_off",
|
|
40958
40967
|
Week: "week",
|
|
@@ -41014,6 +41023,7 @@ var CustomField$outboundSchema = z88.object({
|
|
|
41014
41023
|
name: z88.string(),
|
|
41015
41024
|
value: z88.string()
|
|
41016
41025
|
});
|
|
41026
|
+
var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
|
|
41017
41027
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
|
|
41018
41028
|
z88.object({
|
|
41019
41029
|
automaticTax: z88.optional(z88.boolean()),
|
|
@@ -41021,14 +41031,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
|
|
|
41021
41031
|
taxRateId: z88.optional(z88.nullable(z88.string())),
|
|
41022
41032
|
accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
|
|
41023
41033
|
footer: z88.optional(z88.nullable(z88.string())),
|
|
41024
|
-
memo: z88.optional(z88.nullable(z88.string()))
|
|
41034
|
+
memo: z88.optional(z88.nullable(z88.string())),
|
|
41035
|
+
paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
|
|
41025
41036
|
}),
|
|
41026
41037
|
z88.transform((v) => {
|
|
41027
41038
|
return remap(v, {
|
|
41028
41039
|
automaticTax: "automatic_tax",
|
|
41029
41040
|
customFields: "custom_fields",
|
|
41030
41041
|
taxRateId: "tax_rate_id",
|
|
41031
|
-
accountTaxIds: "account_tax_ids"
|
|
41042
|
+
accountTaxIds: "account_tax_ids",
|
|
41043
|
+
paymentMethodTypes: "payment_method_types"
|
|
41032
41044
|
});
|
|
41033
41045
|
})
|
|
41034
41046
|
);
|
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-R2CXUYPG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QSHAL5TZ.mjs";
|
|
7
|
+
import "./chunk-B4CUYWLF.mjs";
|
|
8
8
|
import "./chunk-MOHYGUMA.mjs";
|
|
9
9
|
import "./chunk-TBQ27LIK.mjs";
|
|
10
10
|
import "./chunk-J44WR3QZ.mjs";
|
|
@@ -47906,6 +47906,16 @@ type CustomField = {
|
|
|
47906
47906
|
name: string;
|
|
47907
47907
|
value: string;
|
|
47908
47908
|
};
|
|
47909
|
+
declare const PaymentMethodType: {
|
|
47910
|
+
readonly Card: "card";
|
|
47911
|
+
readonly CustomerBalance: "customer_balance";
|
|
47912
|
+
readonly UsBankAccount: "us_bank_account";
|
|
47913
|
+
readonly SepaDebit: "sepa_debit";
|
|
47914
|
+
readonly BacsDebit: "bacs_debit";
|
|
47915
|
+
readonly AcssDebit: "acss_debit";
|
|
47916
|
+
readonly Link: "link";
|
|
47917
|
+
};
|
|
47918
|
+
type PaymentMethodType = ClosedEnum<typeof PaymentMethodType>;
|
|
47909
47919
|
/**
|
|
47910
47920
|
* Changes that apply to the replacement invoice only.
|
|
47911
47921
|
*/
|
|
@@ -47934,6 +47944,10 @@ type ReissueInvoiceInvoiceRequestBody = {
|
|
|
47934
47944
|
* Memo shown near the top of the invoice.
|
|
47935
47945
|
*/
|
|
47936
47946
|
memo?: string | null | undefined;
|
|
47947
|
+
/**
|
|
47948
|
+
* Payment method types the customer can pay the replacement with, e.g. card and customer_balance (bank transfer). Overrides the org's allowed payment methods. Only applies to send-invoice replacements.
|
|
47949
|
+
*/
|
|
47950
|
+
paymentMethodTypes?: Array<PaymentMethodType> | undefined;
|
|
47937
47951
|
};
|
|
47938
47952
|
/**
|
|
47939
47953
|
* Billing address. Drives tax when the org uses Stripe Tax, and is snapshotted onto the replacement.
|
|
@@ -47906,6 +47906,16 @@ type CustomField = {
|
|
|
47906
47906
|
name: string;
|
|
47907
47907
|
value: string;
|
|
47908
47908
|
};
|
|
47909
|
+
declare const PaymentMethodType: {
|
|
47910
|
+
readonly Card: "card";
|
|
47911
|
+
readonly CustomerBalance: "customer_balance";
|
|
47912
|
+
readonly UsBankAccount: "us_bank_account";
|
|
47913
|
+
readonly SepaDebit: "sepa_debit";
|
|
47914
|
+
readonly BacsDebit: "bacs_debit";
|
|
47915
|
+
readonly AcssDebit: "acss_debit";
|
|
47916
|
+
readonly Link: "link";
|
|
47917
|
+
};
|
|
47918
|
+
type PaymentMethodType = ClosedEnum<typeof PaymentMethodType>;
|
|
47909
47919
|
/**
|
|
47910
47920
|
* Changes that apply to the replacement invoice only.
|
|
47911
47921
|
*/
|
|
@@ -47934,6 +47944,10 @@ type ReissueInvoiceInvoiceRequestBody = {
|
|
|
47934
47944
|
* Memo shown near the top of the invoice.
|
|
47935
47945
|
*/
|
|
47936
47946
|
memo?: string | null | undefined;
|
|
47947
|
+
/**
|
|
47948
|
+
* Payment method types the customer can pay the replacement with, e.g. card and customer_balance (bank transfer). Overrides the org's allowed payment methods. Only applies to send-invoice replacements.
|
|
47949
|
+
*/
|
|
47950
|
+
paymentMethodTypes?: Array<PaymentMethodType> | undefined;
|
|
47937
47951
|
};
|
|
47938
47952
|
/**
|
|
47939
47953
|
* Billing address. Drives tax when the org uses Stripe Tax, and is snapshotted onto the replacement.
|
|
@@ -40927,6 +40927,15 @@ var RefreshKeyResponse$inboundSchema = z87.pipe(
|
|
|
40927
40927
|
|
|
40928
40928
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
40929
40929
|
import * as z88 from "zod/v4-mini";
|
|
40930
|
+
var PaymentMethodType = {
|
|
40931
|
+
Card: "card",
|
|
40932
|
+
CustomerBalance: "customer_balance",
|
|
40933
|
+
UsBankAccount: "us_bank_account",
|
|
40934
|
+
SepaDebit: "sepa_debit",
|
|
40935
|
+
BacsDebit: "bacs_debit",
|
|
40936
|
+
AcssDebit: "acss_debit",
|
|
40937
|
+
Link: "link"
|
|
40938
|
+
};
|
|
40930
40939
|
var ReissueInvoiceInterval = {
|
|
40931
40940
|
OneOff: "one_off",
|
|
40932
40941
|
Week: "week",
|
|
@@ -40988,6 +40997,7 @@ var CustomField$outboundSchema = z88.object({
|
|
|
40988
40997
|
name: z88.string(),
|
|
40989
40998
|
value: z88.string()
|
|
40990
40999
|
});
|
|
41000
|
+
var PaymentMethodType$outboundSchema = z88.enum(PaymentMethodType);
|
|
40991
41001
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
|
|
40992
41002
|
z88.object({
|
|
40993
41003
|
automaticTax: z88.optional(z88.boolean()),
|
|
@@ -40995,14 +41005,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z88.pipe(
|
|
|
40995
41005
|
taxRateId: z88.optional(z88.nullable(z88.string())),
|
|
40996
41006
|
accountTaxIds: z88.optional(z88.nullable(z88.array(z88.string()))),
|
|
40997
41007
|
footer: z88.optional(z88.nullable(z88.string())),
|
|
40998
|
-
memo: z88.optional(z88.nullable(z88.string()))
|
|
41008
|
+
memo: z88.optional(z88.nullable(z88.string())),
|
|
41009
|
+
paymentMethodTypes: z88.optional(z88.array(PaymentMethodType$outboundSchema))
|
|
40999
41010
|
}),
|
|
41000
41011
|
z88.transform((v) => {
|
|
41001
41012
|
return remap(v, {
|
|
41002
41013
|
automaticTax: "automatic_tax",
|
|
41003
41014
|
customFields: "custom_fields",
|
|
41004
41015
|
taxRateId: "tax_rate_id",
|
|
41005
|
-
accountTaxIds: "account_tax_ids"
|
|
41016
|
+
accountTaxIds: "account_tax_ids",
|
|
41017
|
+
paymentMethodTypes: "payment_method_types"
|
|
41006
41018
|
});
|
|
41007
41019
|
})
|
|
41008
41020
|
);
|
|
@@ -47652,6 +47652,15 @@ var RefreshKeyResponse$inboundSchema = z106.pipe(
|
|
|
47652
47652
|
|
|
47653
47653
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
47654
47654
|
var z107 = __toESM(require("zod/v4-mini"), 1);
|
|
47655
|
+
var PaymentMethodType = {
|
|
47656
|
+
Card: "card",
|
|
47657
|
+
CustomerBalance: "customer_balance",
|
|
47658
|
+
UsBankAccount: "us_bank_account",
|
|
47659
|
+
SepaDebit: "sepa_debit",
|
|
47660
|
+
BacsDebit: "bacs_debit",
|
|
47661
|
+
AcssDebit: "acss_debit",
|
|
47662
|
+
Link: "link"
|
|
47663
|
+
};
|
|
47655
47664
|
var ReissueInvoiceInterval = {
|
|
47656
47665
|
OneOff: "one_off",
|
|
47657
47666
|
Week: "week",
|
|
@@ -47713,6 +47722,7 @@ var CustomField$outboundSchema = z107.object({
|
|
|
47713
47722
|
name: z107.string(),
|
|
47714
47723
|
value: z107.string()
|
|
47715
47724
|
});
|
|
47725
|
+
var PaymentMethodType$outboundSchema = z107.enum(PaymentMethodType);
|
|
47716
47726
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z107.pipe(
|
|
47717
47727
|
z107.object({
|
|
47718
47728
|
automaticTax: z107.optional(z107.boolean()),
|
|
@@ -47720,14 +47730,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z107.pipe(
|
|
|
47720
47730
|
taxRateId: z107.optional(z107.nullable(z107.string())),
|
|
47721
47731
|
accountTaxIds: z107.optional(z107.nullable(z107.array(z107.string()))),
|
|
47722
47732
|
footer: z107.optional(z107.nullable(z107.string())),
|
|
47723
|
-
memo: z107.optional(z107.nullable(z107.string()))
|
|
47733
|
+
memo: z107.optional(z107.nullable(z107.string())),
|
|
47734
|
+
paymentMethodTypes: z107.optional(z107.array(PaymentMethodType$outboundSchema))
|
|
47724
47735
|
}),
|
|
47725
47736
|
z107.transform((v) => {
|
|
47726
47737
|
return remap(v, {
|
|
47727
47738
|
automaticTax: "automatic_tax",
|
|
47728
47739
|
customFields: "custom_fields",
|
|
47729
47740
|
taxRateId: "tax_rate_id",
|
|
47730
|
-
accountTaxIds: "account_tax_ids"
|
|
47741
|
+
accountTaxIds: "account_tax_ids",
|
|
47742
|
+
paymentMethodTypes: "payment_method_types"
|
|
47731
47743
|
});
|
|
47732
47744
|
})
|
|
47733
47745
|
);
|
|
@@ -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
|
);
|
|
@@ -47656,6 +47656,15 @@ var RefreshKeyResponse$inboundSchema = z106.pipe(
|
|
|
47656
47656
|
|
|
47657
47657
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
47658
47658
|
var z107 = __toESM(require("zod/v4-mini"), 1);
|
|
47659
|
+
var PaymentMethodType = {
|
|
47660
|
+
Card: "card",
|
|
47661
|
+
CustomerBalance: "customer_balance",
|
|
47662
|
+
UsBankAccount: "us_bank_account",
|
|
47663
|
+
SepaDebit: "sepa_debit",
|
|
47664
|
+
BacsDebit: "bacs_debit",
|
|
47665
|
+
AcssDebit: "acss_debit",
|
|
47666
|
+
Link: "link"
|
|
47667
|
+
};
|
|
47659
47668
|
var ReissueInvoiceInterval = {
|
|
47660
47669
|
OneOff: "one_off",
|
|
47661
47670
|
Week: "week",
|
|
@@ -47717,6 +47726,7 @@ var CustomField$outboundSchema = z107.object({
|
|
|
47717
47726
|
name: z107.string(),
|
|
47718
47727
|
value: z107.string()
|
|
47719
47728
|
});
|
|
47729
|
+
var PaymentMethodType$outboundSchema = z107.enum(PaymentMethodType);
|
|
47720
47730
|
var ReissueInvoiceInvoiceRequestBody$outboundSchema = z107.pipe(
|
|
47721
47731
|
z107.object({
|
|
47722
47732
|
automaticTax: z107.optional(z107.boolean()),
|
|
@@ -47724,14 +47734,16 @@ var ReissueInvoiceInvoiceRequestBody$outboundSchema = z107.pipe(
|
|
|
47724
47734
|
taxRateId: z107.optional(z107.nullable(z107.string())),
|
|
47725
47735
|
accountTaxIds: z107.optional(z107.nullable(z107.array(z107.string()))),
|
|
47726
47736
|
footer: z107.optional(z107.nullable(z107.string())),
|
|
47727
|
-
memo: z107.optional(z107.nullable(z107.string()))
|
|
47737
|
+
memo: z107.optional(z107.nullable(z107.string())),
|
|
47738
|
+
paymentMethodTypes: z107.optional(z107.array(PaymentMethodType$outboundSchema))
|
|
47728
47739
|
}),
|
|
47729
47740
|
z107.transform((v) => {
|
|
47730
47741
|
return remap(v, {
|
|
47731
47742
|
automaticTax: "automatic_tax",
|
|
47732
47743
|
customFields: "custom_fields",
|
|
47733
47744
|
taxRateId: "tax_rate_id",
|
|
47734
|
-
accountTaxIds: "account_tax_ids"
|
|
47745
|
+
accountTaxIds: "account_tax_ids",
|
|
47746
|
+
paymentMethodTypes: "payment_method_types"
|
|
47735
47747
|
});
|
|
47736
47748
|
})
|
|
47737
47749
|
);
|