@trigger.dev/billing
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -617,2 +617,13 @@ import { z, ZodType } from 'zod'; | ||
declare const RunPriceBracketSchema: z.ZodObject<{ | ||
upto: z.ZodOptional<z.ZodNumber>; | ||
unitCost: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
unitCost: number; | ||
upto?: number | undefined; | ||
}, { | ||
unitCost: number; | ||
upto?: number | undefined; | ||
}>; | ||
type RunPriceBracket = z.infer<typeof RunPriceBracketSchema>; | ||
declare const RunPricingSchema: z.ZodObject<{ | ||
@@ -1577,2 +1588,2 @@ pricing: z.ZodOptional<z.ZodObject<{ | ||
export { type ActiveSubscription, ActiveSubscriptionSchema, BillingClient, BracketSchema, type CanceledSubscriptionResult, type CreateSubscriptionFlowStart, type CurrentPlan, type CurrentPlanResponse, CurrentPlanSchema, type CustomerPortal, type CustomerPortalRequestBody, CustomerPortalRequestBodySchema, type CustomerPortalResponse, CustomerPortalSchema, type Error, ErrorSchema, type Plan, type PlanDefinition, PlanDefinitionSchema, PlanSchema, type Plans, type PlansResponse, PlansSchema, type PricedMetric, PricedMetricSchema, RunPricingSchema, type SetPlanBody, SetPlanBodySchema, type SetPlanResponse, type SubscribeResult, SubscribeResultSchema, type UpdatedSubscriptionResult, estimate }; | ||
export { type ActiveSubscription, ActiveSubscriptionSchema, BillingClient, BracketSchema, type CanceledSubscriptionResult, type CreateSubscriptionFlowStart, type CurrentPlan, type CurrentPlanResponse, CurrentPlanSchema, type CustomerPortal, type CustomerPortalRequestBody, CustomerPortalRequestBodySchema, type CustomerPortalResponse, CustomerPortalSchema, type Error, ErrorSchema, type Plan, type PlanDefinition, PlanDefinitionSchema, PlanSchema, type Plans, type PlansResponse, PlansSchema, type PricedMetric, PricedMetricSchema, type RunPriceBracket, RunPricingSchema, type SetPlanBody, SetPlanBodySchema, type SetPlanResponse, type SubscribeResult, SubscribeResultSchema, type UpdatedSubscriptionResult, estimate }; |
@@ -61,11 +61,10 @@ // src/schemas/planDefinitions.ts | ||
import { z as z3 } from "zod"; | ||
var RunPriceBracketSchema = z3.object({ | ||
upto: z3.number().optional(), | ||
unitCost: z3.number() | ||
}); | ||
var RunPricingSchema = z3.object({ | ||
pricing: z3.object({ | ||
code: z3.string(), | ||
brackets: z3.array( | ||
z3.object({ | ||
upto: z3.number().optional(), | ||
unitCost: z3.number() | ||
}) | ||
) | ||
brackets: z3.array(RunPriceBracketSchema) | ||
}).optional(), | ||
@@ -72,0 +71,0 @@ freeAllowance: z3.number().optional() |
{ | ||
"name": "@trigger.dev/billing", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Calculates the billing for a given organization", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
160975
2314