@kl1/contracts 1.2.44-uat → 1.2.45-uat

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/index.mjs CHANGED
@@ -10125,6 +10125,10 @@ var SubscriptionSchema = DefaultEntitySchema.extend({
10125
10125
 
10126
10126
  // src/subscription/validation.ts
10127
10127
  import { z as z137 } from "zod";
10128
+ var GetAvailablePlanSchema = z137.object({
10129
+ type: z137.string(),
10130
+ currency: z137.string()
10131
+ });
10128
10132
  var UpdateSubscriptionSchema = z137.object({
10129
10133
  planProductId: z137.string(),
10130
10134
  subscriptionId: z137.string(),
@@ -10180,7 +10184,7 @@ var subscriptionContract = initContract53().router(
10180
10184
  getAvailablePlan: {
10181
10185
  method: "GET",
10182
10186
  path: "/available-plan",
10183
- query: null,
10187
+ query: GetAvailablePlanSchema,
10184
10188
  responses: {
10185
10189
  200: DefaultSuccessResponseSchema.extend({
10186
10190
  data: z138.array(ProductSchema)