@kl1/contracts 1.1.58-uat → 1.1.60-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -1191,7 +1191,6 @@ var MessageTypeSchema = z30.enum([
1191
1191
  "fallback",
1192
1192
  "location",
1193
1193
  "sticker",
1194
- "text_with_image",
1195
1194
  // botpress specific
1196
1195
  "carousel",
1197
1196
  "card",
@@ -6722,7 +6721,8 @@ var SubscriptionSchema = DefaultEntitySchema.extend({
6722
6721
  status: z94.string(),
6723
6722
  name: z94.string().nullable(),
6724
6723
  subscriptionProducts: z94.array(SubscriptionProuctSchema),
6725
- productPrice: ProductPriceSchema
6724
+ productPrice: ProductPriceSchema,
6725
+ product: ProductSchema
6726
6726
  });
6727
6727
 
6728
6728
  // src/subscription/validation.ts
@@ -6763,6 +6763,17 @@ var subscriptionContract = initContract34().router(
6763
6763
  }),
6764
6764
  500: DefaultErrorResponseSchema
6765
6765
  }
6766
+ },
6767
+ getAvailablePlan: {
6768
+ method: "GET",
6769
+ path: "/available-plan",
6770
+ query: null,
6771
+ responses: {
6772
+ 200: DefaultSuccessResponseSchema.extend({
6773
+ data: z96.array(ProductSchema)
6774
+ }),
6775
+ 500: DefaultErrorResponseSchema
6776
+ }
6766
6777
  }
6767
6778
  },
6768
6779
  {