autumn-js 1.3.35 → 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 +22 -2
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +22 -2
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +22 -2
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +22 -2
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +22 -2
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-HS4KYMOQ.mjs → chunk-5O52SB6D.mjs} +1 -1
- package/dist/backend/{chunk-LMRT4FAW.mjs → chunk-FFYCTJNC.mjs} +1 -1
- package/dist/backend/{chunk-I2CKPS5D.mjs → chunk-FHTBT3PQ.mjs} +22 -2
- package/dist/backend/{chunk-JSLDOR53.mjs → chunk-R3K32CGC.mjs} +1 -1
- package/dist/backend/{chunk-QLIIZN47.mjs → chunk-U3ZGNGOC.mjs} +1 -1
- package/dist/backend/{chunk-JKHG2JZG.mjs → chunk-UMFFNC2A.mjs} +1 -1
- package/dist/backend/{chunk-73QHDEEQ.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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -2
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-DwU6yhOJ.d.mts → routeTypes-DCQKUwXj.d.mts} +40 -0
- package/dist/backend/{routeTypes-CyIHx1ma.d.ts → routeTypes-DZCHHDxf.d.ts} +40 -0
- package/dist/better-auth/{chunk-Y7P5GF2V.mjs → chunk-45DYRSXB.mjs} +22 -2
- package/dist/better-auth/index.js +22 -2
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +22 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +22 -2
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +49 -1
- package/dist/sdk/index.d.ts +49 -1
- package/dist/sdk/index.js +26 -2
- package/dist/sdk/index.mjs +23 -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
|
);
|
|
@@ -29109,6 +29117,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29109
29117
|
limit: z72._default(z72.int(), 50),
|
|
29110
29118
|
customerId: z72.optional(z72.string()),
|
|
29111
29119
|
entityId: z72.optional(z72.string()),
|
|
29120
|
+
invoiceId: z72.optional(z72.string()),
|
|
29121
|
+
stripeId: z72.optional(z72.string()),
|
|
29112
29122
|
status: z72.optional(z72.array(ListInvoicesStatus$outboundSchema)),
|
|
29113
29123
|
processorTypes: z72.optional(
|
|
29114
29124
|
z72.array(ListInvoicesProcessorTypeRequestBody$outboundSchema)
|
|
@@ -29119,6 +29129,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29119
29129
|
startCursor: "start_cursor",
|
|
29120
29130
|
customerId: "customer_id",
|
|
29121
29131
|
entityId: "entity_id",
|
|
29132
|
+
invoiceId: "invoice_id",
|
|
29133
|
+
stripeId: "stripe_id",
|
|
29122
29134
|
processorTypes: "processor_types"
|
|
29123
29135
|
});
|
|
29124
29136
|
})
|
|
@@ -42012,6 +42024,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42012
42024
|
|
|
42013
42025
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42014
42026
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42027
|
+
var ReissueInvoiceIssueMethod = {
|
|
42028
|
+
Draft: "draft",
|
|
42029
|
+
Finalize: "finalize",
|
|
42030
|
+
Send: "send"
|
|
42031
|
+
};
|
|
42015
42032
|
var PaymentMethodType = {
|
|
42016
42033
|
Card: "card",
|
|
42017
42034
|
CustomerBalance: "customer_balance",
|
|
@@ -42078,6 +42095,7 @@ var ReissueInvoiceStatus = {
|
|
|
42078
42095
|
Complete: "complete",
|
|
42079
42096
|
Incomplete: "incomplete"
|
|
42080
42097
|
};
|
|
42098
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42081
42099
|
var CustomField$outboundSchema = z98.object({
|
|
42082
42100
|
name: z98.string(),
|
|
42083
42101
|
value: z98.string()
|
|
@@ -42669,6 +42687,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42669
42687
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42670
42688
|
netTermsDays: z98.optional(z98.int()),
|
|
42671
42689
|
preview: z98.optional(z98.boolean()),
|
|
42690
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42672
42691
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42673
42692
|
invoice: z98.optional(
|
|
42674
42693
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42681,6 +42700,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42681
42700
|
invoiceId: "invoice_id",
|
|
42682
42701
|
invoiceTemplateId: "invoice_template_id",
|
|
42683
42702
|
netTermsDays: "net_terms_days",
|
|
42703
|
+
issueMethod: "issue_method",
|
|
42684
42704
|
updateCustomerEmail: "update_customer_email"
|
|
42685
42705
|
});
|
|
42686
42706
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FFYCTJNC.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-UMFFNC2A.mjs";
|
|
7
|
+
import "../chunk-U3ZGNGOC.mjs";
|
|
8
|
+
import "../chunk-FHTBT3PQ.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -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
|
);
|
|
@@ -29109,6 +29117,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29109
29117
|
limit: z72._default(z72.int(), 50),
|
|
29110
29118
|
customerId: z72.optional(z72.string()),
|
|
29111
29119
|
entityId: z72.optional(z72.string()),
|
|
29120
|
+
invoiceId: z72.optional(z72.string()),
|
|
29121
|
+
stripeId: z72.optional(z72.string()),
|
|
29112
29122
|
status: z72.optional(z72.array(ListInvoicesStatus$outboundSchema)),
|
|
29113
29123
|
processorTypes: z72.optional(
|
|
29114
29124
|
z72.array(ListInvoicesProcessorTypeRequestBody$outboundSchema)
|
|
@@ -29119,6 +29129,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29119
29129
|
startCursor: "start_cursor",
|
|
29120
29130
|
customerId: "customer_id",
|
|
29121
29131
|
entityId: "entity_id",
|
|
29132
|
+
invoiceId: "invoice_id",
|
|
29133
|
+
stripeId: "stripe_id",
|
|
29122
29134
|
processorTypes: "processor_types"
|
|
29123
29135
|
});
|
|
29124
29136
|
})
|
|
@@ -42012,6 +42024,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42012
42024
|
|
|
42013
42025
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42014
42026
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42027
|
+
var ReissueInvoiceIssueMethod = {
|
|
42028
|
+
Draft: "draft",
|
|
42029
|
+
Finalize: "finalize",
|
|
42030
|
+
Send: "send"
|
|
42031
|
+
};
|
|
42015
42032
|
var PaymentMethodType = {
|
|
42016
42033
|
Card: "card",
|
|
42017
42034
|
CustomerBalance: "customer_balance",
|
|
@@ -42078,6 +42095,7 @@ var ReissueInvoiceStatus = {
|
|
|
42078
42095
|
Complete: "complete",
|
|
42079
42096
|
Incomplete: "incomplete"
|
|
42080
42097
|
};
|
|
42098
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42081
42099
|
var CustomField$outboundSchema = z98.object({
|
|
42082
42100
|
name: z98.string(),
|
|
42083
42101
|
value: z98.string()
|
|
@@ -42669,6 +42687,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42669
42687
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42670
42688
|
netTermsDays: z98.optional(z98.int()),
|
|
42671
42689
|
preview: z98.optional(z98.boolean()),
|
|
42690
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42672
42691
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42673
42692
|
invoice: z98.optional(
|
|
42674
42693
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42681,6 +42700,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42681
42700
|
invoiceId: "invoice_id",
|
|
42682
42701
|
invoiceTemplateId: "invoice_template_id",
|
|
42683
42702
|
netTermsDays: "net_terms_days",
|
|
42703
|
+
issueMethod: "issue_method",
|
|
42684
42704
|
updateCustomerEmail: "update_customer_email"
|
|
42685
42705
|
});
|
|
42686
42706
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-R3K32CGC.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-UMFFNC2A.mjs";
|
|
7
|
+
import "../chunk-U3ZGNGOC.mjs";
|
|
8
|
+
import "../chunk-FHTBT3PQ.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -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
|
);
|
|
@@ -29109,6 +29117,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29109
29117
|
limit: z72._default(z72.int(), 50),
|
|
29110
29118
|
customerId: z72.optional(z72.string()),
|
|
29111
29119
|
entityId: z72.optional(z72.string()),
|
|
29120
|
+
invoiceId: z72.optional(z72.string()),
|
|
29121
|
+
stripeId: z72.optional(z72.string()),
|
|
29112
29122
|
status: z72.optional(z72.array(ListInvoicesStatus$outboundSchema)),
|
|
29113
29123
|
processorTypes: z72.optional(
|
|
29114
29124
|
z72.array(ListInvoicesProcessorTypeRequestBody$outboundSchema)
|
|
@@ -29119,6 +29129,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29119
29129
|
startCursor: "start_cursor",
|
|
29120
29130
|
customerId: "customer_id",
|
|
29121
29131
|
entityId: "entity_id",
|
|
29132
|
+
invoiceId: "invoice_id",
|
|
29133
|
+
stripeId: "stripe_id",
|
|
29122
29134
|
processorTypes: "processor_types"
|
|
29123
29135
|
});
|
|
29124
29136
|
})
|
|
@@ -42012,6 +42024,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42012
42024
|
|
|
42013
42025
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42014
42026
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42027
|
+
var ReissueInvoiceIssueMethod = {
|
|
42028
|
+
Draft: "draft",
|
|
42029
|
+
Finalize: "finalize",
|
|
42030
|
+
Send: "send"
|
|
42031
|
+
};
|
|
42015
42032
|
var PaymentMethodType = {
|
|
42016
42033
|
Card: "card",
|
|
42017
42034
|
CustomerBalance: "customer_balance",
|
|
@@ -42078,6 +42095,7 @@ var ReissueInvoiceStatus = {
|
|
|
42078
42095
|
Complete: "complete",
|
|
42079
42096
|
Incomplete: "incomplete"
|
|
42080
42097
|
};
|
|
42098
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42081
42099
|
var CustomField$outboundSchema = z98.object({
|
|
42082
42100
|
name: z98.string(),
|
|
42083
42101
|
value: z98.string()
|
|
@@ -42669,6 +42687,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42669
42687
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42670
42688
|
netTermsDays: z98.optional(z98.int()),
|
|
42671
42689
|
preview: z98.optional(z98.boolean()),
|
|
42690
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42672
42691
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42673
42692
|
invoice: z98.optional(
|
|
42674
42693
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42681,6 +42700,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42681
42700
|
invoiceId: "invoice_id",
|
|
42682
42701
|
invoiceTemplateId: "invoice_template_id",
|
|
42683
42702
|
netTermsDays: "net_terms_days",
|
|
42703
|
+
issueMethod: "issue_method",
|
|
42684
42704
|
updateCustomerEmail: "update_customer_email"
|
|
42685
42705
|
});
|
|
42686
42706
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5O52SB6D.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-UMFFNC2A.mjs";
|
|
7
|
+
import "../chunk-U3ZGNGOC.mjs";
|
|
8
|
+
import "../chunk-FHTBT3PQ.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -11817,6 +11817,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11817
11817
|
Prepaid: "prepaid",
|
|
11818
11818
|
UsageBased: "usage_based"
|
|
11819
11819
|
};
|
|
11820
|
+
var CreateInvoiceIssueMethod = {
|
|
11821
|
+
Draft: "draft",
|
|
11822
|
+
Finalize: "finalize",
|
|
11823
|
+
Send: "send"
|
|
11824
|
+
};
|
|
11820
11825
|
var CreateInvoiceProcessorType = {
|
|
11821
11826
|
Stripe: "stripe",
|
|
11822
11827
|
Revenuecat: "revenuecat"
|
|
@@ -12322,6 +12327,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12322
12327
|
});
|
|
12323
12328
|
})
|
|
12324
12329
|
);
|
|
12330
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12325
12331
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12326
12332
|
z26.object({
|
|
12327
12333
|
customerId: z26.string(),
|
|
@@ -12339,7 +12345,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12339
12345
|
taxRateId: z26.optional(z26.string()),
|
|
12340
12346
|
periodStart: z26.optional(z26.int()),
|
|
12341
12347
|
periodEnd: z26.optional(z26.int()),
|
|
12342
|
-
preview: z26.optional(z26.boolean())
|
|
12348
|
+
preview: z26.optional(z26.boolean()),
|
|
12349
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12343
12350
|
}),
|
|
12344
12351
|
z26.transform((v) => {
|
|
12345
12352
|
return remap(v, {
|
|
@@ -12351,7 +12358,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12351
12358
|
dueDate: "due_date",
|
|
12352
12359
|
taxRateId: "tax_rate_id",
|
|
12353
12360
|
periodStart: "period_start",
|
|
12354
|
-
periodEnd: "period_end"
|
|
12361
|
+
periodEnd: "period_end",
|
|
12362
|
+
issueMethod: "issue_method"
|
|
12355
12363
|
});
|
|
12356
12364
|
})
|
|
12357
12365
|
);
|
|
@@ -29112,6 +29120,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29112
29120
|
limit: z72._default(z72.int(), 50),
|
|
29113
29121
|
customerId: z72.optional(z72.string()),
|
|
29114
29122
|
entityId: z72.optional(z72.string()),
|
|
29123
|
+
invoiceId: z72.optional(z72.string()),
|
|
29124
|
+
stripeId: z72.optional(z72.string()),
|
|
29115
29125
|
status: z72.optional(z72.array(ListInvoicesStatus$outboundSchema)),
|
|
29116
29126
|
processorTypes: z72.optional(
|
|
29117
29127
|
z72.array(ListInvoicesProcessorTypeRequestBody$outboundSchema)
|
|
@@ -29122,6 +29132,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29122
29132
|
startCursor: "start_cursor",
|
|
29123
29133
|
customerId: "customer_id",
|
|
29124
29134
|
entityId: "entity_id",
|
|
29135
|
+
invoiceId: "invoice_id",
|
|
29136
|
+
stripeId: "stripe_id",
|
|
29125
29137
|
processorTypes: "processor_types"
|
|
29126
29138
|
});
|
|
29127
29139
|
})
|
|
@@ -42015,6 +42027,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42015
42027
|
|
|
42016
42028
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42017
42029
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42030
|
+
var ReissueInvoiceIssueMethod = {
|
|
42031
|
+
Draft: "draft",
|
|
42032
|
+
Finalize: "finalize",
|
|
42033
|
+
Send: "send"
|
|
42034
|
+
};
|
|
42018
42035
|
var PaymentMethodType = {
|
|
42019
42036
|
Card: "card",
|
|
42020
42037
|
CustomerBalance: "customer_balance",
|
|
@@ -42081,6 +42098,7 @@ var ReissueInvoiceStatus = {
|
|
|
42081
42098
|
Complete: "complete",
|
|
42082
42099
|
Incomplete: "incomplete"
|
|
42083
42100
|
};
|
|
42101
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42084
42102
|
var CustomField$outboundSchema = z98.object({
|
|
42085
42103
|
name: z98.string(),
|
|
42086
42104
|
value: z98.string()
|
|
@@ -42672,6 +42690,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42672
42690
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42673
42691
|
netTermsDays: z98.optional(z98.int()),
|
|
42674
42692
|
preview: z98.optional(z98.boolean()),
|
|
42693
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42675
42694
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42676
42695
|
invoice: z98.optional(
|
|
42677
42696
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42684,6 +42703,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42684
42703
|
invoiceId: "invoice_id",
|
|
42685
42704
|
invoiceTemplateId: "invoice_template_id",
|
|
42686
42705
|
netTermsDays: "net_terms_days",
|
|
42706
|
+
issueMethod: "issue_method",
|
|
42687
42707
|
updateCustomerEmail: "update_customer_email"
|
|
42688
42708
|
});
|
|
42689
42709
|
})
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FFYCTJNC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-R3K32CGC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-5O52SB6D.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-WEQOYACF.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-UMFFNC2A.mjs";
|
|
16
|
+
import "../chunk-U3ZGNGOC.mjs";
|
|
17
|
+
import "../chunk-FHTBT3PQ.mjs";
|
|
18
18
|
import "../chunk-MOHYGUMA.mjs";
|
|
19
19
|
import "../chunk-TBQ27LIK.mjs";
|
|
20
20
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -11815,6 +11815,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11815
11815
|
Prepaid: "prepaid",
|
|
11816
11816
|
UsageBased: "usage_based"
|
|
11817
11817
|
};
|
|
11818
|
+
var CreateInvoiceIssueMethod = {
|
|
11819
|
+
Draft: "draft",
|
|
11820
|
+
Finalize: "finalize",
|
|
11821
|
+
Send: "send"
|
|
11822
|
+
};
|
|
11818
11823
|
var CreateInvoiceProcessorType = {
|
|
11819
11824
|
Stripe: "stripe",
|
|
11820
11825
|
Revenuecat: "revenuecat"
|
|
@@ -12320,6 +12325,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12320
12325
|
});
|
|
12321
12326
|
})
|
|
12322
12327
|
);
|
|
12328
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12323
12329
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12324
12330
|
z26.object({
|
|
12325
12331
|
customerId: z26.string(),
|
|
@@ -12337,7 +12343,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12337
12343
|
taxRateId: z26.optional(z26.string()),
|
|
12338
12344
|
periodStart: z26.optional(z26.int()),
|
|
12339
12345
|
periodEnd: z26.optional(z26.int()),
|
|
12340
|
-
preview: z26.optional(z26.boolean())
|
|
12346
|
+
preview: z26.optional(z26.boolean()),
|
|
12347
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12341
12348
|
}),
|
|
12342
12349
|
z26.transform((v) => {
|
|
12343
12350
|
return remap(v, {
|
|
@@ -12349,7 +12356,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12349
12356
|
dueDate: "due_date",
|
|
12350
12357
|
taxRateId: "tax_rate_id",
|
|
12351
12358
|
periodStart: "period_start",
|
|
12352
|
-
periodEnd: "period_end"
|
|
12359
|
+
periodEnd: "period_end",
|
|
12360
|
+
issueMethod: "issue_method"
|
|
12353
12361
|
});
|
|
12354
12362
|
})
|
|
12355
12363
|
);
|
|
@@ -29110,6 +29118,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29110
29118
|
limit: z72._default(z72.int(), 50),
|
|
29111
29119
|
customerId: z72.optional(z72.string()),
|
|
29112
29120
|
entityId: z72.optional(z72.string()),
|
|
29121
|
+
invoiceId: z72.optional(z72.string()),
|
|
29122
|
+
stripeId: z72.optional(z72.string()),
|
|
29113
29123
|
status: z72.optional(z72.array(ListInvoicesStatus$outboundSchema)),
|
|
29114
29124
|
processorTypes: z72.optional(
|
|
29115
29125
|
z72.array(ListInvoicesProcessorTypeRequestBody$outboundSchema)
|
|
@@ -29120,6 +29130,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29120
29130
|
startCursor: "start_cursor",
|
|
29121
29131
|
customerId: "customer_id",
|
|
29122
29132
|
entityId: "entity_id",
|
|
29133
|
+
invoiceId: "invoice_id",
|
|
29134
|
+
stripeId: "stripe_id",
|
|
29123
29135
|
processorTypes: "processor_types"
|
|
29124
29136
|
});
|
|
29125
29137
|
})
|
|
@@ -42013,6 +42025,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
42013
42025
|
|
|
42014
42026
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
42015
42027
|
var z98 = __toESM(require("zod/v4-mini"), 1);
|
|
42028
|
+
var ReissueInvoiceIssueMethod = {
|
|
42029
|
+
Draft: "draft",
|
|
42030
|
+
Finalize: "finalize",
|
|
42031
|
+
Send: "send"
|
|
42032
|
+
};
|
|
42016
42033
|
var PaymentMethodType = {
|
|
42017
42034
|
Card: "card",
|
|
42018
42035
|
CustomerBalance: "customer_balance",
|
|
@@ -42079,6 +42096,7 @@ var ReissueInvoiceStatus = {
|
|
|
42079
42096
|
Complete: "complete",
|
|
42080
42097
|
Incomplete: "incomplete"
|
|
42081
42098
|
};
|
|
42099
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
42082
42100
|
var CustomField$outboundSchema = z98.object({
|
|
42083
42101
|
name: z98.string(),
|
|
42084
42102
|
value: z98.string()
|
|
@@ -42670,6 +42688,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42670
42688
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42671
42689
|
netTermsDays: z98.optional(z98.int()),
|
|
42672
42690
|
preview: z98.optional(z98.boolean()),
|
|
42691
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42673
42692
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42674
42693
|
invoice: z98.optional(
|
|
42675
42694
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42682,6 +42701,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42682
42701
|
invoiceId: "invoice_id",
|
|
42683
42702
|
invoiceTemplateId: "invoice_template_id",
|
|
42684
42703
|
netTermsDays: "net_terms_days",
|
|
42704
|
+
issueMethod: "issue_method",
|
|
42685
42705
|
updateCustomerEmail: "update_customer_email"
|
|
42686
42706
|
});
|
|
42687
42707
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WEQOYACF.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-UMFFNC2A.mjs";
|
|
7
|
+
import "../chunk-U3ZGNGOC.mjs";
|
|
8
|
+
import "../chunk-FHTBT3PQ.mjs";
|
|
9
9
|
import "../chunk-MOHYGUMA.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
@@ -11731,6 +11731,11 @@ var CreateInvoiceLicenseQuantityBillingBehavior = {
|
|
|
11731
11731
|
Prepaid: "prepaid",
|
|
11732
11732
|
UsageBased: "usage_based"
|
|
11733
11733
|
};
|
|
11734
|
+
var CreateInvoiceIssueMethod = {
|
|
11735
|
+
Draft: "draft",
|
|
11736
|
+
Finalize: "finalize",
|
|
11737
|
+
Send: "send"
|
|
11738
|
+
};
|
|
11734
11739
|
var CreateInvoiceProcessorType = {
|
|
11735
11740
|
Stripe: "stripe",
|
|
11736
11741
|
Revenuecat: "revenuecat"
|
|
@@ -12236,6 +12241,7 @@ var CreateInvoiceAttachDiscount$outboundSchema = z26.pipe(
|
|
|
12236
12241
|
});
|
|
12237
12242
|
})
|
|
12238
12243
|
);
|
|
12244
|
+
var CreateInvoiceIssueMethod$outboundSchema = z26.enum(CreateInvoiceIssueMethod);
|
|
12239
12245
|
var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
12240
12246
|
z26.object({
|
|
12241
12247
|
customerId: z26.string(),
|
|
@@ -12253,7 +12259,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12253
12259
|
taxRateId: z26.optional(z26.string()),
|
|
12254
12260
|
periodStart: z26.optional(z26.int()),
|
|
12255
12261
|
periodEnd: z26.optional(z26.int()),
|
|
12256
|
-
preview: z26.optional(z26.boolean())
|
|
12262
|
+
preview: z26.optional(z26.boolean()),
|
|
12263
|
+
issueMethod: z26.optional(CreateInvoiceIssueMethod$outboundSchema)
|
|
12257
12264
|
}),
|
|
12258
12265
|
z26.transform((v) => {
|
|
12259
12266
|
return remap(v, {
|
|
@@ -12265,7 +12272,8 @@ var CreateInvoiceParams$outboundSchema = z26.pipe(
|
|
|
12265
12272
|
dueDate: "due_date",
|
|
12266
12273
|
taxRateId: "tax_rate_id",
|
|
12267
12274
|
periodStart: "period_start",
|
|
12268
|
-
periodEnd: "period_end"
|
|
12275
|
+
periodEnd: "period_end",
|
|
12276
|
+
issueMethod: "issue_method"
|
|
12269
12277
|
});
|
|
12270
12278
|
})
|
|
12271
12279
|
);
|
|
@@ -29026,6 +29034,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29026
29034
|
limit: z72._default(z72.int(), 50),
|
|
29027
29035
|
customerId: z72.optional(z72.string()),
|
|
29028
29036
|
entityId: z72.optional(z72.string()),
|
|
29037
|
+
invoiceId: z72.optional(z72.string()),
|
|
29038
|
+
stripeId: z72.optional(z72.string()),
|
|
29029
29039
|
status: z72.optional(z72.array(ListInvoicesStatus$outboundSchema)),
|
|
29030
29040
|
processorTypes: z72.optional(
|
|
29031
29041
|
z72.array(ListInvoicesProcessorTypeRequestBody$outboundSchema)
|
|
@@ -29036,6 +29046,8 @@ var ListInvoicesParams$outboundSchema = z72.pipe(
|
|
|
29036
29046
|
startCursor: "start_cursor",
|
|
29037
29047
|
customerId: "customer_id",
|
|
29038
29048
|
entityId: "entity_id",
|
|
29049
|
+
invoiceId: "invoice_id",
|
|
29050
|
+
stripeId: "stripe_id",
|
|
29039
29051
|
processorTypes: "processor_types"
|
|
29040
29052
|
});
|
|
29041
29053
|
})
|
|
@@ -41929,6 +41941,11 @@ var RefreshKeyResponse$inboundSchema = z97.pipe(
|
|
|
41929
41941
|
|
|
41930
41942
|
// ../sdk/src/models/reissue-invoice-op.ts
|
|
41931
41943
|
import * as z98 from "zod/v4-mini";
|
|
41944
|
+
var ReissueInvoiceIssueMethod = {
|
|
41945
|
+
Draft: "draft",
|
|
41946
|
+
Finalize: "finalize",
|
|
41947
|
+
Send: "send"
|
|
41948
|
+
};
|
|
41932
41949
|
var PaymentMethodType = {
|
|
41933
41950
|
Card: "card",
|
|
41934
41951
|
CustomerBalance: "customer_balance",
|
|
@@ -41995,6 +42012,7 @@ var ReissueInvoiceStatus = {
|
|
|
41995
42012
|
Complete: "complete",
|
|
41996
42013
|
Incomplete: "incomplete"
|
|
41997
42014
|
};
|
|
42015
|
+
var ReissueInvoiceIssueMethod$outboundSchema = z98.enum(ReissueInvoiceIssueMethod);
|
|
41998
42016
|
var CustomField$outboundSchema = z98.object({
|
|
41999
42017
|
name: z98.string(),
|
|
42000
42018
|
value: z98.string()
|
|
@@ -42586,6 +42604,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42586
42604
|
invoiceTemplateId: z98.optional(z98.string()),
|
|
42587
42605
|
netTermsDays: z98.optional(z98.int()),
|
|
42588
42606
|
preview: z98.optional(z98.boolean()),
|
|
42607
|
+
issueMethod: z98.optional(ReissueInvoiceIssueMethod$outboundSchema),
|
|
42589
42608
|
updateCustomerEmail: z98.optional(z98.string()),
|
|
42590
42609
|
invoice: z98.optional(
|
|
42591
42610
|
z98.lazy(() => ReissueInvoiceInvoiceRequestBody$outboundSchema)
|
|
@@ -42598,6 +42617,7 @@ var ReissueInvoiceParams$outboundSchema = z98.pipe(
|
|
|
42598
42617
|
invoiceId: "invoice_id",
|
|
42599
42618
|
invoiceTemplateId: "invoice_template_id",
|
|
42600
42619
|
netTermsDays: "net_terms_days",
|
|
42620
|
+
issueMethod: "issue_method",
|
|
42601
42621
|
updateCustomerEmail: "update_customer_email"
|
|
42602
42622
|
});
|
|
42603
42623
|
})
|