autumn-js 1.3.36 → 1.3.37
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 +18 -2
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +18 -2
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +18 -2
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +18 -2
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +18 -2
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-V5XHIF3U.mjs → chunk-5O52SB6D.mjs} +1 -1
- package/dist/backend/{chunk-VD6R3EJF.mjs → chunk-FFYCTJNC.mjs} +1 -1
- package/dist/backend/{chunk-XYF4XA2S.mjs → chunk-FHTBT3PQ.mjs} +18 -2
- package/dist/backend/{chunk-JMH5BMF6.mjs → chunk-R3K32CGC.mjs} +1 -1
- package/dist/backend/{chunk-YIJUI4UU.mjs → chunk-U3ZGNGOC.mjs} +1 -1
- package/dist/backend/{chunk-OTKO27NT.mjs → chunk-UMFFNC2A.mjs} +1 -1
- package/dist/backend/{chunk-64OF5EVZ.mjs → chunk-WEQOYACF.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 +18 -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 +18 -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 +18 -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 +18 -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 +18 -2
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-DBKyYIgR.d.mts → routeTypes-DCQKUwXj.d.mts} +32 -0
- package/dist/backend/{routeTypes-OBaKFzEA.d.ts → routeTypes-DZCHHDxf.d.ts} +32 -0
- package/dist/better-auth/{chunk-AWKYPF6T.mjs → chunk-45DYRSXB.mjs} +18 -2
- package/dist/better-auth/index.js +18 -2
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +18 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +18 -2
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +39 -1
- package/dist/sdk/index.d.ts +39 -1
- package/dist/sdk/index.js +22 -2
- package/dist/sdk/index.mjs +19 -3
- package/package.json +2 -2
|
@@ -11814,6 +11814,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11814
11814
|
Prepaid: "prepaid",
|
|
11815
11815
|
UsageBased: "usage_based"
|
|
11816
11816
|
};
|
|
11817
|
+
var CreateInvoiceIssueMethod = {
|
|
11818
|
+
Draft: "draft",
|
|
11819
|
+
Finalize: "finalize",
|
|
11820
|
+
Send: "send"
|
|
11821
|
+
};
|
|
11817
11822
|
var CreateInvoiceProcessorType = {
|
|
11818
11823
|
Stripe: "stripe",
|
|
11819
11824
|
Revenuecat: "revenuecat"
|
|
@@ -12319,6 +12324,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12319
12324
|
});
|
|
12320
12325
|
})
|
|
12321
12326
|
);
|
|
12327
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12322
12328
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12323
12329
|
z26.object({
|
|
12324
12330
|
customerId: z26.string(),
|
|
@@ -12336,7 +12342,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12336
12342
|
taxRateId: z26.optional(z26.string()),
|
|
12337
12343
|
periodStart: z26.optional(z26.int()),
|
|
12338
12344
|
periodEnd: z26.optional(z26.int()),
|
|
12339
|
-
preview: z26.optional(z26.boolean())
|
|
12345
|
+
preview: z26.optional(z26.boolean()),
|
|
12346
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12340
12347
|
}),
|
|
12341
12348
|
z26.transform((v) => {
|
|
12342
12349
|
return remap(v, {
|
|
@@ -12348,7 +12355,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12348
12355
|
dueDate: "due_date",
|
|
12349
12356
|
taxRateId: "tax_rate_id",
|
|
12350
12357
|
periodStart: "period_start",
|
|
12351
|
-
periodEnd: "period_end"
|
|
12358
|
+
periodEnd: "period_end",
|
|
12359
|
+
issueMethod: "issue_method"
|
|
12352
12360
|
});
|
|
12353
12361
|
})
|
|
12354
12362
|
);
|
|
@@ -42016,6 +42024,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42016
42024
|
|
|
42017
42025
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42018
42026
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42027
|
+
var ReissueInvoiceIssueMethod = {
|
|
42028
|
+
Draft: "draft",
|
|
42029
|
+
Finalize: "finalize",
|
|
42030
|
+
Send: "send"
|
|
42031
|
+
};
|
|
42019
42032
|
var PaymentMethodType = {
|
|
42020
42033
|
Card: "card",
|
|
42021
42034
|
CustomerBalance: "customer_balance",
|
|
@@ -42082,6 +42095,7 @@ var ReissueInvoiceStatus = {
|
|
|
42082
42095
|
Complete: "complete",
|
|
42083
42096
|
Incomplete: "incomplete"
|
|
42084
42097
|
};
|
|
42098
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42085
42099
|
var CustomField$outboundSchema = z98.object({
|
|
42086
42100
|
name: z98.string(),
|
|
42087
42101
|
value: z98.string()
|
|
@@ -42673,6 +42687,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42673
42687
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42674
42688
|
netTermsDays: z98.optional(z98.int()),
|
|
42675
42689
|
preview: z98.optional(z98.boolean()),
|
|
42690
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42676
42691
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42677
42692
|
invoice: z98.optional(
|
|
42678
42693
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42685,6 +42700,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42685
42700
|
invoiceId: "invoice_id",
|
|
42686
42701
|
invoiceTemplateId: "invoice_template_id",
|
|
42687
42702
|
netTermsDays: "net_terms_days",
|
|
42703
|
+
issueMethod: "issue_method",
|
|
42688
42704
|
updateCustomerEmail: "update_customer_email"
|
|
42689
42705
|
});
|
|
42690
42706
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCoreHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-U3ZGNGOC.mjs";
|
|
4
|
+
import "../../chunk-FHTBT3PQ.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-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-DCQKUwXj.mjs';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-TPWTIfcM.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-DZCHHDxf.js';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-TPWTIfcM.js';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -11814,6 +11814,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11814
11814
|
Prepaid: "prepaid",
|
|
11815
11815
|
UsageBased: "usage_based"
|
|
11816
11816
|
};
|
|
11817
|
+
var CreateInvoiceIssueMethod = {
|
|
11818
|
+
Draft: "draft",
|
|
11819
|
+
Finalize: "finalize",
|
|
11820
|
+
Send: "send"
|
|
11821
|
+
};
|
|
11817
11822
|
var CreateInvoiceProcessorType = {
|
|
11818
11823
|
Stripe: "stripe",
|
|
11819
11824
|
Revenuecat: "revenuecat"
|
|
@@ -12319,6 +12324,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12319
12324
|
});
|
|
12320
12325
|
})
|
|
12321
12326
|
);
|
|
12327
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12322
12328
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12323
12329
|
z26.object({
|
|
12324
12330
|
customerId: z26.string(),
|
|
@@ -12336,7 +12342,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12336
12342
|
taxRateId: z26.optional(z26.string()),
|
|
12337
12343
|
periodStart: z26.optional(z26.int()),
|
|
12338
12344
|
periodEnd: z26.optional(z26.int()),
|
|
12339
|
-
preview: z26.optional(z26.boolean())
|
|
12345
|
+
preview: z26.optional(z26.boolean()),
|
|
12346
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12340
12347
|
}),
|
|
12341
12348
|
z26.transform((v) => {
|
|
12342
12349
|
return remap(v, {
|
|
@@ -12348,7 +12355,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12348
12355
|
dueDate: "due_date",
|
|
12349
12356
|
taxRateId: "tax_rate_id",
|
|
12350
12357
|
periodStart: "period_start",
|
|
12351
|
-
periodEnd: "period_end"
|
|
12358
|
+
periodEnd: "period_end",
|
|
12359
|
+
issueMethod: "issue_method"
|
|
12352
12360
|
});
|
|
12353
12361
|
})
|
|
12354
12362
|
);
|
|
@@ -42016,6 +42024,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42016
42024
|
|
|
42017
42025
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42018
42026
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42027
|
+
var ReissueInvoiceIssueMethod = {
|
|
42028
|
+
Draft: "draft",
|
|
42029
|
+
Finalize: "finalize",
|
|
42030
|
+
Send: "send"
|
|
42031
|
+
};
|
|
42019
42032
|
var PaymentMethodType = {
|
|
42020
42033
|
Card: "card",
|
|
42021
42034
|
CustomerBalance: "customer_balance",
|
|
@@ -42082,6 +42095,7 @@ var ReissueInvoiceStatus = {
|
|
|
42082
42095
|
Complete: "complete",
|
|
42083
42096
|
Incomplete: "incomplete"
|
|
42084
42097
|
};
|
|
42098
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42085
42099
|
var CustomField$outboundSchema = z98.object({
|
|
42086
42100
|
name: z98.string(),
|
|
42087
42101
|
value: z98.string()
|
|
@@ -42673,6 +42687,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42673
42687
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42674
42688
|
netTermsDays: z98.optional(z98.int()),
|
|
42675
42689
|
preview: z98.optional(z98.boolean()),
|
|
42690
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42676
42691
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42677
42692
|
invoice: z98.optional(
|
|
42678
42693
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42685,6 +42700,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42685
42700
|
invoiceId: "invoice_id",
|
|
42686
42701
|
invoiceTemplateId: "invoice_template_id",
|
|
42687
42702
|
netTermsDays: "net_terms_days",
|
|
42703
|
+
issueMethod: "issue_method",
|
|
42688
42704
|
updateCustomerEmail: "update_customer_email"
|
|
42689
42705
|
});
|
|
42690
42706
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleRouteByName
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-UMFFNC2A.mjs";
|
|
4
|
+
import "../../chunk-FHTBT3PQ.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-TPWTIfcM.mjs';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-DCQKUwXj.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-TPWTIfcM.js';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-DZCHHDxf.js';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../utils/sanitizeBody.js';
|
|
11
11
|
import '../types/responseTypes.js';
|
|
@@ -11818,6 +11818,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11818
11818
|
Prepaid: "prepaid",
|
|
11819
11819
|
UsageBased: "usage_based"
|
|
11820
11820
|
};
|
|
11821
|
+
var CreateInvoiceIssueMethod = {
|
|
11822
|
+
Draft: "draft",
|
|
11823
|
+
Finalize: "finalize",
|
|
11824
|
+
Send: "send"
|
|
11825
|
+
};
|
|
11821
11826
|
var CreateInvoiceProcessorType = {
|
|
11822
11827
|
Stripe: "stripe",
|
|
11823
11828
|
Revenuecat: "revenuecat"
|
|
@@ -12323,6 +12328,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12323
12328
|
});
|
|
12324
12329
|
})
|
|
12325
12330
|
);
|
|
12331
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12326
12332
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12327
12333
|
z26.object({
|
|
12328
12334
|
customerId: z26.string(),
|
|
@@ -12340,7 +12346,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12340
12346
|
taxRateId: z26.optional(z26.string()),
|
|
12341
12347
|
periodStart: z26.optional(z26.int()),
|
|
12342
12348
|
periodEnd: z26.optional(z26.int()),
|
|
12343
|
-
preview: z26.optional(z26.boolean())
|
|
12349
|
+
preview: z26.optional(z26.boolean()),
|
|
12350
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12344
12351
|
}),
|
|
12345
12352
|
z26.transform((v) => {
|
|
12346
12353
|
return remap(v, {
|
|
@@ -12352,7 +12359,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12352
12359
|
dueDate: "due_date",
|
|
12353
12360
|
taxRateId: "tax_rate_id",
|
|
12354
12361
|
periodStart: "period_start",
|
|
12355
|
-
periodEnd: "period_end"
|
|
12362
|
+
periodEnd: "period_end",
|
|
12363
|
+
issueMethod: "issue_method"
|
|
12356
12364
|
});
|
|
12357
12365
|
})
|
|
12358
12366
|
);
|
|
@@ -42020,6 +42028,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42020
42028
|
|
|
42021
42029
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42022
42030
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42031
|
+
var ReissueInvoiceIssueMethod = {
|
|
42032
|
+
Draft: "draft",
|
|
42033
|
+
Finalize: "finalize",
|
|
42034
|
+
Send: "send"
|
|
42035
|
+
};
|
|
42023
42036
|
var PaymentMethodType = {
|
|
42024
42037
|
Card: "card",
|
|
42025
42038
|
CustomerBalance: "customer_balance",
|
|
@@ -42086,6 +42099,7 @@ var ReissueInvoiceStatus = {
|
|
|
42086
42099
|
Complete: "complete",
|
|
42087
42100
|
Incomplete: "incomplete"
|
|
42088
42101
|
};
|
|
42102
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42089
42103
|
var CustomField$outboundSchema = z98.object({
|
|
42090
42104
|
name: z98.string(),
|
|
42091
42105
|
value: z98.string()
|
|
@@ -42677,6 +42691,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42677
42691
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42678
42692
|
netTermsDays: z98.optional(z98.int()),
|
|
42679
42693
|
preview: z98.optional(z98.boolean()),
|
|
42694
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42680
42695
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42681
42696
|
invoice: z98.optional(
|
|
42682
42697
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42689,6 +42704,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42689
42704
|
invoiceId: "invoice_id",
|
|
42690
42705
|
invoiceTemplateId: "invoice_template_id",
|
|
42691
42706
|
netTermsDays: "net_terms_days",
|
|
42707
|
+
issueMethod: "issue_method",
|
|
42692
42708
|
updateCustomerEmail: "update_customer_email"
|
|
42693
42709
|
});
|
|
42694
42710
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../chunk-VXND2UDT.mjs";
|
|
2
2
|
import {
|
|
3
3
|
handleRouteByName
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-UMFFNC2A.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCoreHandler
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-U3ZGNGOC.mjs";
|
|
8
|
+
import "../../chunk-FHTBT3PQ.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-TPWTIfcM.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-DCQKUwXj.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-TPWTIfcM.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-DZCHHDxf.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';
|
|
@@ -11822,6 +11822,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11822
11822
|
Prepaid: "prepaid",
|
|
11823
11823
|
UsageBased: "usage_based"
|
|
11824
11824
|
};
|
|
11825
|
+
var CreateInvoiceIssueMethod = {
|
|
11826
|
+
Draft: "draft",
|
|
11827
|
+
Finalize: "finalize",
|
|
11828
|
+
Send: "send"
|
|
11829
|
+
};
|
|
11825
11830
|
var CreateInvoiceProcessorType = {
|
|
11826
11831
|
Stripe: "stripe",
|
|
11827
11832
|
Revenuecat: "revenuecat"
|
|
@@ -12327,6 +12332,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12327
12332
|
});
|
|
12328
12333
|
})
|
|
12329
12334
|
);
|
|
12335
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12330
12336
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12331
12337
|
z26.object({
|
|
12332
12338
|
customerId: z26.string(),
|
|
@@ -12344,7 +12350,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12344
12350
|
taxRateId: z26.optional(z26.string()),
|
|
12345
12351
|
periodStart: z26.optional(z26.int()),
|
|
12346
12352
|
periodEnd: z26.optional(z26.int()),
|
|
12347
|
-
preview: z26.optional(z26.boolean())
|
|
12353
|
+
preview: z26.optional(z26.boolean()),
|
|
12354
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12348
12355
|
}),
|
|
12349
12356
|
z26.transform((v) => {
|
|
12350
12357
|
return remap(v, {
|
|
@@ -12356,7 +12363,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12356
12363
|
dueDate: "due_date",
|
|
12357
12364
|
taxRateId: "tax_rate_id",
|
|
12358
12365
|
periodStart: "period_start",
|
|
12359
|
-
periodEnd: "period_end"
|
|
12366
|
+
periodEnd: "period_end",
|
|
12367
|
+
issueMethod: "issue_method"
|
|
12360
12368
|
});
|
|
12361
12369
|
})
|
|
12362
12370
|
);
|
|
@@ -42024,6 +42032,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42024
42032
|
|
|
42025
42033
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42026
42034
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42035
|
+
var ReissueInvoiceIssueMethod = {
|
|
42036
|
+
Draft: "draft",
|
|
42037
|
+
Finalize: "finalize",
|
|
42038
|
+
Send: "send"
|
|
42039
|
+
};
|
|
42027
42040
|
var PaymentMethodType = {
|
|
42028
42041
|
Card: "card",
|
|
42029
42042
|
CustomerBalance: "customer_balance",
|
|
@@ -42090,6 +42103,7 @@ var ReissueInvoiceStatus = {
|
|
|
42090
42103
|
Complete: "complete",
|
|
42091
42104
|
Incomplete: "incomplete"
|
|
42092
42105
|
};
|
|
42106
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42093
42107
|
var CustomField$outboundSchema = z98.object({
|
|
42094
42108
|
name: z98.string(),
|
|
42095
42109
|
value: z98.string()
|
|
@@ -42681,6 +42695,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42681
42695
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42682
42696
|
netTermsDays: z98.optional(z98.int()),
|
|
42683
42697
|
preview: z98.optional(z98.boolean()),
|
|
42698
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42684
42699
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42685
42700
|
invoice: z98.optional(
|
|
42686
42701
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42693,6 +42708,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42693
42708
|
invoiceId: "invoice_id",
|
|
42694
42709
|
invoiceTemplateId: "invoice_template_id",
|
|
42695
42710
|
netTermsDays: "net_terms_days",
|
|
42711
|
+
issueMethod: "issue_method",
|
|
42696
42712
|
updateCustomerEmail: "update_customer_email"
|
|
42697
42713
|
});
|
|
42698
42714
|
})
|
|
@@ -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-UMFFNC2A.mjs";
|
|
6
6
|
import {
|
|
7
7
|
createCoreHandler
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-U3ZGNGOC.mjs";
|
|
9
|
+
import "../chunk-FHTBT3PQ.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-DCQKUwXj.mjs';
|
|
5
5
|
import '../../authTypes-TPWTIfcM.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-DZCHHDxf.js';
|
|
5
5
|
import '../../authTypes-TPWTIfcM.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-DCQKUwXj.mjs';
|
|
3
3
|
import '../../authTypes-TPWTIfcM.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-DZCHHDxf.js';
|
|
3
3
|
import '../../authTypes-TPWTIfcM.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AuthResult } from '../../authTypes-TPWTIfcM.mjs';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-DCQKUwXj.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-TPWTIfcM.js';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-DZCHHDxf.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-TPWTIfcM.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-DCQKUwXj.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-TPWTIfcM.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-DZCHHDxf.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-DCQKUwXj.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.mjs';
|
|
4
4
|
import '../../authTypes-TPWTIfcM.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-DZCHHDxf.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.js';
|
|
4
4
|
import '../../authTypes-TPWTIfcM.js';
|
package/dist/backend/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-TPWTIfcM.mjs';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-TPWTIfcM.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-DCQKUwXj.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-DCQKUwXj.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-TPWTIfcM.js';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-TPWTIfcM.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-DZCHHDxf.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-DZCHHDxf.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
|
@@ -11822,6 +11822,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11822
11822
|
Prepaid: "prepaid",
|
|
11823
11823
|
UsageBased: "usage_based"
|
|
11824
11824
|
};
|
|
11825
|
+
var CreateInvoiceIssueMethod = {
|
|
11826
|
+
Draft: "draft",
|
|
11827
|
+
Finalize: "finalize",
|
|
11828
|
+
Send: "send"
|
|
11829
|
+
};
|
|
11825
11830
|
var CreateInvoiceProcessorType = {
|
|
11826
11831
|
Stripe: "stripe",
|
|
11827
11832
|
Revenuecat: "revenuecat"
|
|
@@ -12327,6 +12332,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12327
12332
|
});
|
|
12328
12333
|
})
|
|
12329
12334
|
);
|
|
12335
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12330
12336
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12331
12337
|
z26.object({
|
|
12332
12338
|
customerId: z26.string(),
|
|
@@ -12344,7 +12350,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12344
12350
|
taxRateId: z26.optional(z26.string()),
|
|
12345
12351
|
periodStart: z26.optional(z26.int()),
|
|
12346
12352
|
periodEnd: z26.optional(z26.int()),
|
|
12347
|
-
preview: z26.optional(z26.boolean())
|
|
12353
|
+
preview: z26.optional(z26.boolean()),
|
|
12354
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12348
12355
|
}),
|
|
12349
12356
|
z26.transform((v) => {
|
|
12350
12357
|
return remap(v, {
|
|
@@ -12356,7 +12363,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12356
12363
|
dueDate: "due_date",
|
|
12357
12364
|
taxRateId: "tax_rate_id",
|
|
12358
12365
|
periodStart: "period_start",
|
|
12359
|
-
periodEnd: "period_end"
|
|
12366
|
+
periodEnd: "period_end",
|
|
12367
|
+
issueMethod: "issue_method"
|
|
12360
12368
|
});
|
|
12361
12369
|
})
|
|
12362
12370
|
);
|
|
@@ -42024,6 +42032,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42024
42032
|
|
|
42025
42033
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42026
42034
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42035
|
+
var ReissueInvoiceIssueMethod = {
|
|
42036
|
+
Draft: "draft",
|
|
42037
|
+
Finalize: "finalize",
|
|
42038
|
+
Send: "send"
|
|
42039
|
+
};
|
|
42027
42040
|
var PaymentMethodType = {
|
|
42028
42041
|
Card: "card",
|
|
42029
42042
|
CustomerBalance: "customer_balance",
|
|
@@ -42090,6 +42103,7 @@ var ReissueInvoiceStatus = {
|
|
|
42090
42103
|
Complete: "complete",
|
|
42091
42104
|
Incomplete: "incomplete"
|
|
42092
42105
|
};
|
|
42106
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42093
42107
|
var CustomField$outboundSchema = z98.object({
|
|
42094
42108
|
name: z98.string(),
|
|
42095
42109
|
value: z98.string()
|
|
@@ -42681,6 +42695,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42681
42695
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42682
42696
|
netTermsDays: z98.optional(z98.int()),
|
|
42683
42697
|
preview: z98.optional(z98.boolean()),
|
|
42698
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42684
42699
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42685
42700
|
invoice: z98.optional(
|
|
42686
42701
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42693,6 +42708,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42693
42708
|
invoiceId: "invoice_id",
|
|
42694
42709
|
invoiceTemplateId: "invoice_template_id",
|
|
42695
42710
|
netTermsDays: "net_terms_days",
|
|
42711
|
+
issueMethod: "issue_method",
|
|
42696
42712
|
updateCustomerEmail: "update_customer_email"
|
|
42697
42713
|
});
|
|
42698
42714
|
})
|
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-UMFFNC2A.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-U3ZGNGOC.mjs";
|
|
7
|
+
import "./chunk-FHTBT3PQ.mjs";
|
|
8
8
|
import "./chunk-MOHYGUMA.mjs";
|
|
9
9
|
import "./chunk-TBQ27LIK.mjs";
|
|
10
10
|
import "./chunk-J44WR3QZ.mjs";
|