@kl1/contracts 1.3.56 → 1.3.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -57368,6 +57368,102 @@ export declare const mainChatRoomContract: {
57368
57368
  'x-client-timezone'?: string | undefined;
57369
57369
  }>>>;
57370
57370
  };
57371
+ getAllRoomCount: {
57372
+ summary: "Get all opened and closed room count";
57373
+ method: "GET";
57374
+ responses: {
57375
+ 200: z.ZodObject<{
57376
+ requestId: z.ZodString;
57377
+ data: z.ZodObject<{
57378
+ allOpenedRoomCount: z.ZodNumber;
57379
+ allClosedRoomCount: z.ZodNumber;
57380
+ }, "strip", z.ZodTypeAny, {
57381
+ allOpenedRoomCount: number;
57382
+ allClosedRoomCount: number;
57383
+ }, {
57384
+ allOpenedRoomCount: number;
57385
+ allClosedRoomCount: number;
57386
+ }>;
57387
+ }, "strip", z.ZodTypeAny, {
57388
+ data: {
57389
+ allOpenedRoomCount: number;
57390
+ allClosedRoomCount: number;
57391
+ };
57392
+ requestId: string;
57393
+ }, {
57394
+ data: {
57395
+ allOpenedRoomCount: number;
57396
+ allClosedRoomCount: number;
57397
+ };
57398
+ requestId: string;
57399
+ }>;
57400
+ };
57401
+ path: "ms/chat/all-rooms-count";
57402
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
57403
+ 'x-tenant': z.ZodString;
57404
+ 'x-service-token': z.ZodString;
57405
+ 'x-code': z.ZodOptional<z.ZodString>;
57406
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
57407
+ }, "strip", z.ZodTypeAny, {
57408
+ 'x-tenant': string;
57409
+ 'x-service-token': string;
57410
+ 'x-client-timezone': string;
57411
+ 'x-code'?: string | undefined;
57412
+ }, {
57413
+ 'x-tenant': string;
57414
+ 'x-service-token': string;
57415
+ 'x-code'?: string | undefined;
57416
+ 'x-client-timezone'?: string | undefined;
57417
+ }>>>;
57418
+ };
57419
+ getAllQueueAndHoldCount: {
57420
+ summary: "Get all queue and hold rooms count";
57421
+ method: "GET";
57422
+ responses: {
57423
+ 200: z.ZodObject<{
57424
+ requestId: z.ZodString;
57425
+ data: z.ZodObject<{
57426
+ holdRoomCount: z.ZodRecord<z.ZodString, z.ZodNumber>;
57427
+ queueRoomCount: z.ZodRecord<z.ZodString, z.ZodNumber>;
57428
+ }, "strip", z.ZodTypeAny, {
57429
+ holdRoomCount: Record<string, number>;
57430
+ queueRoomCount: Record<string, number>;
57431
+ }, {
57432
+ holdRoomCount: Record<string, number>;
57433
+ queueRoomCount: Record<string, number>;
57434
+ }>;
57435
+ }, "strip", z.ZodTypeAny, {
57436
+ data: {
57437
+ holdRoomCount: Record<string, number>;
57438
+ queueRoomCount: Record<string, number>;
57439
+ };
57440
+ requestId: string;
57441
+ }, {
57442
+ data: {
57443
+ holdRoomCount: Record<string, number>;
57444
+ queueRoomCount: Record<string, number>;
57445
+ };
57446
+ requestId: string;
57447
+ }>;
57448
+ };
57449
+ path: "ms/chat/all-queue-and-hold-count";
57450
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
57451
+ 'x-tenant': z.ZodString;
57452
+ 'x-service-token': z.ZodString;
57453
+ 'x-code': z.ZodOptional<z.ZodString>;
57454
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
57455
+ }, "strip", z.ZodTypeAny, {
57456
+ 'x-tenant': string;
57457
+ 'x-service-token': string;
57458
+ 'x-client-timezone': string;
57459
+ 'x-code'?: string | undefined;
57460
+ }, {
57461
+ 'x-tenant': string;
57462
+ 'x-service-token': string;
57463
+ 'x-code'?: string | undefined;
57464
+ 'x-client-timezone'?: string | undefined;
57465
+ }>>>;
57466
+ };
57371
57467
  };
57372
57468
  export declare const mainChatContract: {
57373
57469
  sendMessage: {