@kl1/contracts 1.3.67 → 1.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/chat/index.d.ts +96 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +20 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +118 -14
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +14 -14
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -4
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/invoice/index.d.ts +108 -0
- package/dist/api-contracts/src/invoice/index.d.ts.map +1 -0
- package/dist/api-contracts/src/invoice/schema.d.ts +48 -0
- package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -0
- package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
- package/dist/index.js +697 -627
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +696 -627
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -57416,6 +57416,102 @@ export declare const mainChatRoomContract: {
|
|
|
57416
57416
|
'x-client-timezone'?: string | undefined;
|
|
57417
57417
|
}>>>;
|
|
57418
57418
|
};
|
|
57419
|
+
getAllRoomCount: {
|
|
57420
|
+
summary: "Get all opened and closed room count";
|
|
57421
|
+
method: "GET";
|
|
57422
|
+
responses: {
|
|
57423
|
+
200: z.ZodObject<{
|
|
57424
|
+
requestId: z.ZodString;
|
|
57425
|
+
data: z.ZodObject<{
|
|
57426
|
+
allOpenedRoomCount: z.ZodNumber;
|
|
57427
|
+
allClosedRoomCount: z.ZodNumber;
|
|
57428
|
+
}, "strip", z.ZodTypeAny, {
|
|
57429
|
+
allOpenedRoomCount: number;
|
|
57430
|
+
allClosedRoomCount: number;
|
|
57431
|
+
}, {
|
|
57432
|
+
allOpenedRoomCount: number;
|
|
57433
|
+
allClosedRoomCount: number;
|
|
57434
|
+
}>;
|
|
57435
|
+
}, "strip", z.ZodTypeAny, {
|
|
57436
|
+
data: {
|
|
57437
|
+
allOpenedRoomCount: number;
|
|
57438
|
+
allClosedRoomCount: number;
|
|
57439
|
+
};
|
|
57440
|
+
requestId: string;
|
|
57441
|
+
}, {
|
|
57442
|
+
data: {
|
|
57443
|
+
allOpenedRoomCount: number;
|
|
57444
|
+
allClosedRoomCount: number;
|
|
57445
|
+
};
|
|
57446
|
+
requestId: string;
|
|
57447
|
+
}>;
|
|
57448
|
+
};
|
|
57449
|
+
path: "ms/chat/all-rooms-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
|
+
};
|
|
57467
|
+
getAllQueueAndHoldCount: {
|
|
57468
|
+
summary: "Get all queue and hold rooms count";
|
|
57469
|
+
method: "GET";
|
|
57470
|
+
responses: {
|
|
57471
|
+
200: z.ZodObject<{
|
|
57472
|
+
requestId: z.ZodString;
|
|
57473
|
+
data: z.ZodObject<{
|
|
57474
|
+
holdRoomCount: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
57475
|
+
queueRoomCount: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
57476
|
+
}, "strip", z.ZodTypeAny, {
|
|
57477
|
+
holdRoomCount: Record<string, number>;
|
|
57478
|
+
queueRoomCount: Record<string, number>;
|
|
57479
|
+
}, {
|
|
57480
|
+
holdRoomCount: Record<string, number>;
|
|
57481
|
+
queueRoomCount: Record<string, number>;
|
|
57482
|
+
}>;
|
|
57483
|
+
}, "strip", z.ZodTypeAny, {
|
|
57484
|
+
data: {
|
|
57485
|
+
holdRoomCount: Record<string, number>;
|
|
57486
|
+
queueRoomCount: Record<string, number>;
|
|
57487
|
+
};
|
|
57488
|
+
requestId: string;
|
|
57489
|
+
}, {
|
|
57490
|
+
data: {
|
|
57491
|
+
holdRoomCount: Record<string, number>;
|
|
57492
|
+
queueRoomCount: Record<string, number>;
|
|
57493
|
+
};
|
|
57494
|
+
requestId: string;
|
|
57495
|
+
}>;
|
|
57496
|
+
};
|
|
57497
|
+
path: "ms/chat/all-queue-and-hold-count";
|
|
57498
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
57499
|
+
'x-tenant': z.ZodString;
|
|
57500
|
+
'x-service-token': z.ZodString;
|
|
57501
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
57502
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
57503
|
+
}, "strip", z.ZodTypeAny, {
|
|
57504
|
+
'x-tenant': string;
|
|
57505
|
+
'x-service-token': string;
|
|
57506
|
+
'x-client-timezone': string;
|
|
57507
|
+
'x-code'?: string | undefined;
|
|
57508
|
+
}, {
|
|
57509
|
+
'x-tenant': string;
|
|
57510
|
+
'x-service-token': string;
|
|
57511
|
+
'x-code'?: string | undefined;
|
|
57512
|
+
'x-client-timezone'?: string | undefined;
|
|
57513
|
+
}>>>;
|
|
57514
|
+
};
|
|
57419
57515
|
};
|
|
57420
57516
|
export declare const mainChatContract: {
|
|
57421
57517
|
sendMessage: {
|