@kl1/contracts 1.2.13-uat → 1.2.14-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -800,6 +800,11 @@ var ChannelSchema = z18.object({
800
800
  })
801
801
  })
802
802
  });
803
+ var tenantCheckedSchema = z18.object({
804
+ isNewTenant: z18.boolean(),
805
+ isChannelExist: z18.boolean(),
806
+ isContactExist: z18.boolean()
807
+ });
803
808
 
804
809
  // src/chat/schema.ts
805
810
  import z30 from "zod";
@@ -2298,6 +2303,17 @@ var channelContract = initContract6().router(
2298
2303
  body: ConnectChannelSchema,
2299
2304
  summary: "Relogin message channel"
2300
2305
  },
2306
+ checknewTenant: {
2307
+ method: "GET",
2308
+ path: "/check-new-tenant",
2309
+ responses: {
2310
+ 200: DefaultSuccessResponseSchema.extend({
2311
+ data: tenantCheckedSchema
2312
+ }),
2313
+ 408: DefaultErrorResponseSchema
2314
+ },
2315
+ summary: "Check new tenant"
2316
+ },
2301
2317
  messenger,
2302
2318
  line,
2303
2319
  instagram,