@kl1/contracts 1.1.83-uat → 1.1.84-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -6878,6 +6878,9 @@ var UpdateSubscriptionSchema = z96.object({
6878
6878
  })
6879
6879
  )
6880
6880
  });
6881
+ var TopUpBalanceSchema = z96.object({
6882
+ quantity: z96.number()
6883
+ });
6881
6884
 
6882
6885
  // src/subscription/index.ts
6883
6886
  var subscriptionContract = initContract34().router(
@@ -6906,6 +6909,17 @@ var subscriptionContract = initContract34().router(
6906
6909
  500: DefaultErrorResponseSchema
6907
6910
  }
6908
6911
  },
6912
+ topUpBalance: {
6913
+ method: "POST",
6914
+ path: "/top-up",
6915
+ body: TopUpBalanceSchema,
6916
+ responses: {
6917
+ 200: DefaultSuccessResponseSchema.extend({
6918
+ checkoutUrl: z97.string()
6919
+ }),
6920
+ 500: DefaultErrorResponseSchema
6921
+ }
6922
+ },
6909
6923
  getAvailablePlan: {
6910
6924
  method: "GET",
6911
6925
  path: "/available-plan",