@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.js CHANGED
@@ -901,6 +901,11 @@ var ChannelSchema = import_zod18.default.object({
901
901
  })
902
902
  })
903
903
  });
904
+ var tenantCheckedSchema = import_zod18.default.object({
905
+ isNewTenant: import_zod18.default.boolean(),
906
+ isChannelExist: import_zod18.default.boolean(),
907
+ isContactExist: import_zod18.default.boolean()
908
+ });
904
909
 
905
910
  // src/chat/schema.ts
906
911
  var import_zod30 = __toESM(require("zod"));
@@ -2399,6 +2404,17 @@ var channelContract = (0, import_core6.initContract)().router(
2399
2404
  body: ConnectChannelSchema,
2400
2405
  summary: "Relogin message channel"
2401
2406
  },
2407
+ checknewTenant: {
2408
+ method: "GET",
2409
+ path: "/check-new-tenant",
2410
+ responses: {
2411
+ 200: DefaultSuccessResponseSchema.extend({
2412
+ data: tenantCheckedSchema
2413
+ }),
2414
+ 408: DefaultErrorResponseSchema
2415
+ },
2416
+ summary: "Check new tenant"
2417
+ },
2402
2418
  messenger,
2403
2419
  line,
2404
2420
  instagram,