@leaflow/sdk 0.199.0 → 0.200.0
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/billing/v1/generated/models.d.ts +8 -0
- package/dist/billing/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/v1/generated/schemas.zod.js +2 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +8 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +4 -0
- package/package.json +1 -1
|
@@ -4127,6 +4127,14 @@ export type ListPricesByPlanParams = {
|
|
|
4127
4127
|
*/
|
|
4128
4128
|
page_size?: number;
|
|
4129
4129
|
currency?: string;
|
|
4130
|
+
/**
|
|
4131
|
+
* Narrows to one price type.
|
|
4132
|
+
*/
|
|
4133
|
+
type?: PriceType;
|
|
4134
|
+
/**
|
|
4135
|
+
* Narrows to one usage type.
|
|
4136
|
+
*/
|
|
4137
|
+
usage_type?: UsageType;
|
|
4130
4138
|
};
|
|
4131
4139
|
export type ListPricesByPlanHeaders = {
|
|
4132
4140
|
/**
|
|
@@ -1163,6 +1163,14 @@ export declare const ListPricesByPlanQueryParams: zod.ZodObject<{
|
|
|
1163
1163
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
1164
1164
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
1165
1165
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
1166
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
1167
|
+
one_time: "one_time";
|
|
1168
|
+
recurring: "recurring";
|
|
1169
|
+
}>>;
|
|
1170
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
1171
|
+
licensed: "licensed";
|
|
1172
|
+
metered: "metered";
|
|
1173
|
+
}>>;
|
|
1166
1174
|
}, zod.z.core.$strict>;
|
|
1167
1175
|
export declare const ListPricesByPlanHeader: zod.ZodObject<{
|
|
1168
1176
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
@@ -1526,6 +1526,8 @@ export const ListPricesByPlanQueryParams = zod.strictObject({
|
|
|
1526
1526
|
.default(listPricesByPlanQueryPageSizeDefault)
|
|
1527
1527
|
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1528
1528
|
currency: zod.string().optional(),
|
|
1529
|
+
type: zod.enum(["one_time", "recurring"]).optional().describe("Narrows to one price type."),
|
|
1530
|
+
usage_type: zod.enum(["licensed", "metered"]).optional().describe("Narrows to one usage type."),
|
|
1529
1531
|
});
|
|
1530
1532
|
export const ListPricesByPlanHeader = zod.strictObject({
|
|
1531
1533
|
"If-None-Match": zod
|
|
@@ -14,6 +14,14 @@ export declare const ListPricesByPlanParams: zod.ZodObject<{
|
|
|
14
14
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
15
15
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
16
16
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
17
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
18
|
+
one_time: "one_time";
|
|
19
|
+
recurring: "recurring";
|
|
20
|
+
}>>;
|
|
21
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
22
|
+
licensed: "licensed";
|
|
23
|
+
metered: "metered";
|
|
24
|
+
}>>;
|
|
17
25
|
}, zod.z.core.$strict>;
|
|
18
26
|
export type ListPricesByPlanParams = zod.input<typeof ListPricesByPlanParams>;
|
|
19
27
|
export type ListPricesByPlanParamsOutput = zod.output<typeof ListPricesByPlanParams>;
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
|
+
import { PriceType } from "./priceType.zod.js";
|
|
10
|
+
import { UsageType } from "./usageType.zod.js";
|
|
9
11
|
export const listPricesByPlanParamsPageDefault = 1;
|
|
10
12
|
export const listPricesByPlanParamsPageMax = 2147483647;
|
|
11
13
|
export const listPricesByPlanParamsPageSizeDefault = 50;
|
|
@@ -22,4 +24,6 @@ export const ListPricesByPlanParams = zod.strictObject({
|
|
|
22
24
|
.max(listPricesByPlanParamsPageSizeMax)
|
|
23
25
|
.default(listPricesByPlanParamsPageSizeDefault),
|
|
24
26
|
currency: zod.string().optional(),
|
|
27
|
+
type: PriceType.optional(),
|
|
28
|
+
usage_type: UsageType.optional(),
|
|
25
29
|
});
|