@kl1/contracts 1.1.58-uat → 1.1.60-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.js CHANGED
@@ -1286,7 +1286,6 @@ var MessageTypeSchema = import_zod30.default.enum([
1286
1286
  "fallback",
1287
1287
  "location",
1288
1288
  "sticker",
1289
- "text_with_image",
1290
1289
  // botpress specific
1291
1290
  "carousel",
1292
1291
  "card",
@@ -6817,7 +6816,8 @@ var SubscriptionSchema = DefaultEntitySchema.extend({
6817
6816
  status: import_zod94.default.string(),
6818
6817
  name: import_zod94.default.string().nullable(),
6819
6818
  subscriptionProducts: import_zod94.default.array(SubscriptionProuctSchema),
6820
- productPrice: ProductPriceSchema
6819
+ productPrice: ProductPriceSchema,
6820
+ product: ProductSchema
6821
6821
  });
6822
6822
 
6823
6823
  // src/subscription/validation.ts
@@ -6858,6 +6858,17 @@ var subscriptionContract = (0, import_core34.initContract)().router(
6858
6858
  }),
6859
6859
  500: DefaultErrorResponseSchema
6860
6860
  }
6861
+ },
6862
+ getAvailablePlan: {
6863
+ method: "GET",
6864
+ path: "/available-plan",
6865
+ query: null,
6866
+ responses: {
6867
+ 200: DefaultSuccessResponseSchema.extend({
6868
+ data: import_zod96.z.array(ProductSchema)
6869
+ }),
6870
+ 500: DefaultErrorResponseSchema
6871
+ }
6861
6872
  }
6862
6873
  },
6863
6874
  {