@kl1/contracts 1.3.71 → 1.3.74
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/channel/index.d.ts +0 -64
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -64
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +430 -213
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +0 -26
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +0 -18
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +0 -5
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +0 -3
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +0 -438
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +0 -54
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/index.js +1565 -1590
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1565 -1589
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -4923,76 +4923,12 @@ export declare const apiContract: {
|
|
4923
4923
|
updateChannelCsatPreference: {
|
4924
4924
|
body: import("zod").ZodObject<{
|
4925
4925
|
isCSATEnabled: import("zod").ZodBoolean;
|
4926
|
-
headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
4927
|
-
image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
4928
|
-
bucketName: import("zod").ZodString;
|
4929
|
-
fileName: import("zod").ZodString;
|
4930
|
-
fileSize: import("zod").ZodNumber;
|
4931
|
-
fileKey: import("zod").ZodString;
|
4932
|
-
originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
4933
|
-
}, "strip", import("zod").ZodTypeAny, {
|
4934
|
-
fileName: string;
|
4935
|
-
fileKey: string;
|
4936
|
-
bucketName: string;
|
4937
|
-
fileSize: number;
|
4938
|
-
originalUrl?: string | null | undefined;
|
4939
|
-
}, {
|
4940
|
-
fileName: string;
|
4941
|
-
fileKey: string;
|
4942
|
-
bucketName: string;
|
4943
|
-
fileSize: number;
|
4944
|
-
originalUrl?: string | null | undefined;
|
4945
|
-
}>>>;
|
4946
|
-
scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
4947
|
-
value: import("zod").ZodString;
|
4948
|
-
label: import("zod").ZodString;
|
4949
|
-
color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
4950
|
-
style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
4951
|
-
}, "strip", import("zod").ZodTypeAny, {
|
4952
|
-
value: string;
|
4953
|
-
label: string;
|
4954
|
-
color?: string | null | undefined;
|
4955
|
-
style?: string | null | undefined;
|
4956
|
-
}, {
|
4957
|
-
value: string;
|
4958
|
-
label: string;
|
4959
|
-
color?: string | null | undefined;
|
4960
|
-
style?: string | null | undefined;
|
4961
|
-
}>, "many">>>;
|
4962
4926
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
4963
4927
|
}, "strip", import("zod").ZodTypeAny, {
|
4964
4928
|
isCSATEnabled: boolean;
|
4965
|
-
headline?: string | null | undefined;
|
4966
|
-
image?: {
|
4967
|
-
fileName: string;
|
4968
|
-
fileKey: string;
|
4969
|
-
bucketName: string;
|
4970
|
-
fileSize: number;
|
4971
|
-
originalUrl?: string | null | undefined;
|
4972
|
-
} | null | undefined;
|
4973
|
-
scaleOptions?: {
|
4974
|
-
value: string;
|
4975
|
-
label: string;
|
4976
|
-
color?: string | null | undefined;
|
4977
|
-
style?: string | null | undefined;
|
4978
|
-
}[] | null | undefined;
|
4979
4929
|
dispositions?: string[] | undefined;
|
4980
4930
|
}, {
|
4981
4931
|
isCSATEnabled: boolean;
|
4982
|
-
headline?: string | null | undefined;
|
4983
|
-
image?: {
|
4984
|
-
fileName: string;
|
4985
|
-
fileKey: string;
|
4986
|
-
bucketName: string;
|
4987
|
-
fileSize: number;
|
4988
|
-
originalUrl?: string | null | undefined;
|
4989
|
-
} | null | undefined;
|
4990
|
-
scaleOptions?: {
|
4991
|
-
value: string;
|
4992
|
-
label: string;
|
4993
|
-
color?: string | null | undefined;
|
4994
|
-
style?: string | null | undefined;
|
4995
|
-
}[] | null | undefined;
|
4996
4932
|
dispositions?: string[] | undefined;
|
4997
4933
|
}>;
|
4998
4934
|
summary: "Enable or Disable CSAT for channel";
|
@@ -19475,16 +19411,6 @@ export declare const apiContract: {
|
|
19475
19411
|
}, {
|
19476
19412
|
queueName?: string | null | undefined;
|
19477
19413
|
}>>;
|
19478
|
-
automationQueue: import("zod").ZodNullable<import("zod").ZodObject<{
|
19479
|
-
id: import("zod").ZodString;
|
19480
|
-
name: import("zod").ZodString;
|
19481
|
-
}, "strip", import("zod").ZodTypeAny, {
|
19482
|
-
name: string;
|
19483
|
-
id: string;
|
19484
|
-
}, {
|
19485
|
-
name: string;
|
19486
|
-
id: string;
|
19487
|
-
}>>;
|
19488
19414
|
contact: import("zod").ZodNullable<import("zod").ZodObject<{
|
19489
19415
|
id: import("zod").ZodString;
|
19490
19416
|
createdAt: import("zod").ZodDate;
|
@@ -21696,10 +21622,6 @@ export declare const apiContract: {
|
|
21696
21622
|
queue: {
|
21697
21623
|
queueName?: string | null | undefined;
|
21698
21624
|
} | null;
|
21699
|
-
automationQueue: {
|
21700
|
-
name: string;
|
21701
|
-
id: string;
|
21702
|
-
} | null;
|
21703
21625
|
firstAssignee: {
|
21704
21626
|
name: string;
|
21705
21627
|
id: string;
|
@@ -22643,10 +22565,6 @@ export declare const apiContract: {
|
|
22643
22565
|
queue: {
|
22644
22566
|
queueName?: string | null | undefined;
|
22645
22567
|
} | null;
|
22646
|
-
automationQueue: {
|
22647
|
-
name: string;
|
22648
|
-
id: string;
|
22649
|
-
} | null;
|
22650
22568
|
firstAssignee: {
|
22651
22569
|
name: string;
|
22652
22570
|
id: string;
|
@@ -23596,10 +23514,6 @@ export declare const apiContract: {
|
|
23596
23514
|
queue: {
|
23597
23515
|
queueName?: string | null | undefined;
|
23598
23516
|
} | null;
|
23599
|
-
automationQueue: {
|
23600
|
-
name: string;
|
23601
|
-
id: string;
|
23602
|
-
} | null;
|
23603
23517
|
firstAssignee: {
|
23604
23518
|
name: string;
|
23605
23519
|
id: string;
|
@@ -24549,10 +24463,6 @@ export declare const apiContract: {
|
|
24549
24463
|
queue: {
|
24550
24464
|
queueName?: string | null | undefined;
|
24551
24465
|
} | null;
|
24552
|
-
automationQueue: {
|
24553
|
-
name: string;
|
24554
|
-
id: string;
|
24555
|
-
} | null;
|
24556
24466
|
firstAssignee: {
|
24557
24467
|
name: string;
|
24558
24468
|
id: string;
|
@@ -26346,7 +26256,6 @@ export declare const apiContract: {
|
|
26346
26256
|
closed: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26347
26257
|
unassignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26348
26258
|
assignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26349
|
-
botRoom: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26350
26259
|
hold: import("zod").ZodNumber;
|
26351
26260
|
}, "strip", import("zod").ZodTypeAny, {
|
26352
26261
|
total: number | null;
|
@@ -26354,14 +26263,12 @@ export declare const apiContract: {
|
|
26354
26263
|
hold: number;
|
26355
26264
|
unassignedOpen: number | null;
|
26356
26265
|
assignedOpen: number | null;
|
26357
|
-
botRoom: number | null;
|
26358
26266
|
}, {
|
26359
26267
|
total: number | null;
|
26360
26268
|
closed: number | null;
|
26361
26269
|
hold: number;
|
26362
26270
|
unassignedOpen: number | null;
|
26363
26271
|
assignedOpen: number | null;
|
26364
|
-
botRoom: number | null;
|
26365
26272
|
}>;
|
26366
26273
|
}, "strip", import("zod").ZodTypeAny, {
|
26367
26274
|
requestId: string;
|
@@ -26371,7 +26278,6 @@ export declare const apiContract: {
|
|
26371
26278
|
hold: number;
|
26372
26279
|
unassignedOpen: number | null;
|
26373
26280
|
assignedOpen: number | null;
|
26374
|
-
botRoom: number | null;
|
26375
26281
|
};
|
26376
26282
|
}, {
|
26377
26283
|
requestId: string;
|
@@ -26381,7 +26287,6 @@ export declare const apiContract: {
|
|
26381
26287
|
hold: number;
|
26382
26288
|
unassignedOpen: number | null;
|
26383
26289
|
assignedOpen: number | null;
|
26384
|
-
botRoom: number | null;
|
26385
26290
|
};
|
26386
26291
|
}>;
|
26387
26292
|
401: import("zod").ZodObject<{
|
@@ -36595,6 +36500,425 @@ export declare const apiContract: {
|
|
36595
36500
|
};
|
36596
36501
|
};
|
36597
36502
|
agentPresenceStatus: {
|
36503
|
+
getAllAgentStatus: {
|
36504
|
+
summary: "Get all user presence status list.";
|
36505
|
+
method: "GET";
|
36506
|
+
responses: {
|
36507
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
36508
|
+
id: import("zod").ZodString;
|
36509
|
+
createdAt: import("zod").ZodDate;
|
36510
|
+
updatedAt: import("zod").ZodDate;
|
36511
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36512
|
+
user: import("zod").ZodObject<{
|
36513
|
+
name: import("zod").ZodString;
|
36514
|
+
id: import("zod").ZodString;
|
36515
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
36516
|
+
email: import("zod").ZodString;
|
36517
|
+
createdAt: import("zod").ZodDate;
|
36518
|
+
updatedAt: import("zod").ZodDate;
|
36519
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36520
|
+
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36521
|
+
password: import("zod").ZodString;
|
36522
|
+
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
36523
|
+
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
36524
|
+
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
36525
|
+
id: import("zod").ZodString;
|
36526
|
+
createdAt: import("zod").ZodDate;
|
36527
|
+
updatedAt: import("zod").ZodDate;
|
36528
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36529
|
+
systemName: import("zod").ZodString;
|
36530
|
+
displayName: import("zod").ZodString;
|
36531
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36532
|
+
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
36533
|
+
id: import("zod").ZodString;
|
36534
|
+
createdAt: import("zod").ZodDate;
|
36535
|
+
updatedAt: import("zod").ZodDate;
|
36536
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36537
|
+
systemName: import("zod").ZodString;
|
36538
|
+
displayName: import("zod").ZodString;
|
36539
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36540
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36541
|
+
id: string;
|
36542
|
+
description: string | null;
|
36543
|
+
createdAt: Date;
|
36544
|
+
updatedAt: Date;
|
36545
|
+
deletedAt: Date | null;
|
36546
|
+
systemName: string;
|
36547
|
+
displayName: string;
|
36548
|
+
}, {
|
36549
|
+
id: string;
|
36550
|
+
description: string | null;
|
36551
|
+
createdAt: Date;
|
36552
|
+
updatedAt: Date;
|
36553
|
+
deletedAt: Date | null;
|
36554
|
+
systemName: string;
|
36555
|
+
displayName: string;
|
36556
|
+
}>, "many">;
|
36557
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36558
|
+
id: string;
|
36559
|
+
description: string | null;
|
36560
|
+
createdAt: Date;
|
36561
|
+
updatedAt: Date;
|
36562
|
+
deletedAt: Date | null;
|
36563
|
+
systemName: string;
|
36564
|
+
displayName: string;
|
36565
|
+
permissions: {
|
36566
|
+
id: string;
|
36567
|
+
description: string | null;
|
36568
|
+
createdAt: Date;
|
36569
|
+
updatedAt: Date;
|
36570
|
+
deletedAt: Date | null;
|
36571
|
+
systemName: string;
|
36572
|
+
displayName: string;
|
36573
|
+
}[];
|
36574
|
+
}, {
|
36575
|
+
id: string;
|
36576
|
+
description: string | null;
|
36577
|
+
createdAt: Date;
|
36578
|
+
updatedAt: Date;
|
36579
|
+
deletedAt: Date | null;
|
36580
|
+
systemName: string;
|
36581
|
+
displayName: string;
|
36582
|
+
permissions: {
|
36583
|
+
id: string;
|
36584
|
+
description: string | null;
|
36585
|
+
createdAt: Date;
|
36586
|
+
updatedAt: Date;
|
36587
|
+
deletedAt: Date | null;
|
36588
|
+
systemName: string;
|
36589
|
+
displayName: string;
|
36590
|
+
}[];
|
36591
|
+
}>, "many">;
|
36592
|
+
extension: import("zod").ZodObject<{
|
36593
|
+
id: import("zod").ZodString;
|
36594
|
+
createdAt: import("zod").ZodDate;
|
36595
|
+
updatedAt: import("zod").ZodDate;
|
36596
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36597
|
+
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
36598
|
+
sipServerUrl: import("zod").ZodString;
|
36599
|
+
sipUserName: import("zod").ZodString;
|
36600
|
+
webphoneLoginUser: import("zod").ZodString;
|
36601
|
+
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
36602
|
+
extensionName: import("zod").ZodString;
|
36603
|
+
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
36604
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36605
|
+
id: string;
|
36606
|
+
createdAt: Date;
|
36607
|
+
updatedAt: Date;
|
36608
|
+
deletedAt: Date | null;
|
36609
|
+
userId: string | null;
|
36610
|
+
sipServerUrl: string;
|
36611
|
+
sipUserName: string;
|
36612
|
+
webphoneLoginUser: string;
|
36613
|
+
extensionId: string | null;
|
36614
|
+
extensionName: string;
|
36615
|
+
telephonySignature: string | null;
|
36616
|
+
}, {
|
36617
|
+
id: string;
|
36618
|
+
createdAt: Date;
|
36619
|
+
updatedAt: Date;
|
36620
|
+
deletedAt: Date | null;
|
36621
|
+
userId: string | null;
|
36622
|
+
sipServerUrl: string;
|
36623
|
+
sipUserName: string;
|
36624
|
+
webphoneLoginUser: string;
|
36625
|
+
extensionId: string | null;
|
36626
|
+
extensionName: string;
|
36627
|
+
telephonySignature: string | null;
|
36628
|
+
}>;
|
36629
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36630
|
+
name: string;
|
36631
|
+
id: string;
|
36632
|
+
address: string | null;
|
36633
|
+
email: string;
|
36634
|
+
createdAt: Date;
|
36635
|
+
updatedAt: Date;
|
36636
|
+
deletedAt: Date | null;
|
36637
|
+
emailVerifiedAt: Date | null;
|
36638
|
+
password: string;
|
36639
|
+
phone: string | null;
|
36640
|
+
notificationCount: number | null;
|
36641
|
+
roles: {
|
36642
|
+
id: string;
|
36643
|
+
description: string | null;
|
36644
|
+
createdAt: Date;
|
36645
|
+
updatedAt: Date;
|
36646
|
+
deletedAt: Date | null;
|
36647
|
+
systemName: string;
|
36648
|
+
displayName: string;
|
36649
|
+
permissions: {
|
36650
|
+
id: string;
|
36651
|
+
description: string | null;
|
36652
|
+
createdAt: Date;
|
36653
|
+
updatedAt: Date;
|
36654
|
+
deletedAt: Date | null;
|
36655
|
+
systemName: string;
|
36656
|
+
displayName: string;
|
36657
|
+
}[];
|
36658
|
+
}[];
|
36659
|
+
extension: {
|
36660
|
+
id: string;
|
36661
|
+
createdAt: Date;
|
36662
|
+
updatedAt: Date;
|
36663
|
+
deletedAt: Date | null;
|
36664
|
+
userId: string | null;
|
36665
|
+
sipServerUrl: string;
|
36666
|
+
sipUserName: string;
|
36667
|
+
webphoneLoginUser: string;
|
36668
|
+
extensionId: string | null;
|
36669
|
+
extensionName: string;
|
36670
|
+
telephonySignature: string | null;
|
36671
|
+
};
|
36672
|
+
}, {
|
36673
|
+
name: string;
|
36674
|
+
id: string;
|
36675
|
+
address: string | null;
|
36676
|
+
email: string;
|
36677
|
+
createdAt: Date;
|
36678
|
+
updatedAt: Date;
|
36679
|
+
deletedAt: Date | null;
|
36680
|
+
emailVerifiedAt: Date | null;
|
36681
|
+
password: string;
|
36682
|
+
phone: string | null;
|
36683
|
+
notificationCount: number | null;
|
36684
|
+
roles: {
|
36685
|
+
id: string;
|
36686
|
+
description: string | null;
|
36687
|
+
createdAt: Date;
|
36688
|
+
updatedAt: Date;
|
36689
|
+
deletedAt: Date | null;
|
36690
|
+
systemName: string;
|
36691
|
+
displayName: string;
|
36692
|
+
permissions: {
|
36693
|
+
id: string;
|
36694
|
+
description: string | null;
|
36695
|
+
createdAt: Date;
|
36696
|
+
updatedAt: Date;
|
36697
|
+
deletedAt: Date | null;
|
36698
|
+
systemName: string;
|
36699
|
+
displayName: string;
|
36700
|
+
}[];
|
36701
|
+
}[];
|
36702
|
+
extension: {
|
36703
|
+
id: string;
|
36704
|
+
createdAt: Date;
|
36705
|
+
updatedAt: Date;
|
36706
|
+
deletedAt: Date | null;
|
36707
|
+
userId: string | null;
|
36708
|
+
sipServerUrl: string;
|
36709
|
+
sipUserName: string;
|
36710
|
+
webphoneLoginUser: string;
|
36711
|
+
extensionId: string | null;
|
36712
|
+
extensionName: string;
|
36713
|
+
telephonySignature: string | null;
|
36714
|
+
};
|
36715
|
+
}>;
|
36716
|
+
presenceStatus: import("zod").ZodObject<{
|
36717
|
+
id: import("zod").ZodString;
|
36718
|
+
createdAt: import("zod").ZodDate;
|
36719
|
+
updatedAt: import("zod").ZodDate;
|
36720
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36721
|
+
systemName: import("zod").ZodString;
|
36722
|
+
displayName: import("zod").ZodString;
|
36723
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36724
|
+
position: import("zod").ZodNumber;
|
36725
|
+
emoji: import("zod").ZodNullable<import("zod").ZodString>;
|
36726
|
+
presenceStatusOption: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"receive_call">, import("zod").ZodLiteral<"do_not_receive_call">, import("zod").ZodLiteral<"receive_chat_message">, import("zod").ZodLiteral<"do_not_receive_chat_message">]>, "many">;
|
36727
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36728
|
+
emoji: string | null;
|
36729
|
+
id: string;
|
36730
|
+
position: number;
|
36731
|
+
description: string | null;
|
36732
|
+
createdAt: Date;
|
36733
|
+
updatedAt: Date;
|
36734
|
+
deletedAt: Date | null;
|
36735
|
+
systemName: string;
|
36736
|
+
displayName: string;
|
36737
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36738
|
+
}, {
|
36739
|
+
emoji: string | null;
|
36740
|
+
id: string;
|
36741
|
+
position: number;
|
36742
|
+
description: string | null;
|
36743
|
+
createdAt: Date;
|
36744
|
+
updatedAt: Date;
|
36745
|
+
deletedAt: Date | null;
|
36746
|
+
systemName: string;
|
36747
|
+
displayName: string;
|
36748
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36749
|
+
}>;
|
36750
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
36751
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36752
|
+
id: string;
|
36753
|
+
user: {
|
36754
|
+
name: string;
|
36755
|
+
id: string;
|
36756
|
+
address: string | null;
|
36757
|
+
email: string;
|
36758
|
+
createdAt: Date;
|
36759
|
+
updatedAt: Date;
|
36760
|
+
deletedAt: Date | null;
|
36761
|
+
emailVerifiedAt: Date | null;
|
36762
|
+
password: string;
|
36763
|
+
phone: string | null;
|
36764
|
+
notificationCount: number | null;
|
36765
|
+
roles: {
|
36766
|
+
id: string;
|
36767
|
+
description: string | null;
|
36768
|
+
createdAt: Date;
|
36769
|
+
updatedAt: Date;
|
36770
|
+
deletedAt: Date | null;
|
36771
|
+
systemName: string;
|
36772
|
+
displayName: string;
|
36773
|
+
permissions: {
|
36774
|
+
id: string;
|
36775
|
+
description: string | null;
|
36776
|
+
createdAt: Date;
|
36777
|
+
updatedAt: Date;
|
36778
|
+
deletedAt: Date | null;
|
36779
|
+
systemName: string;
|
36780
|
+
displayName: string;
|
36781
|
+
}[];
|
36782
|
+
}[];
|
36783
|
+
extension: {
|
36784
|
+
id: string;
|
36785
|
+
createdAt: Date;
|
36786
|
+
updatedAt: Date;
|
36787
|
+
deletedAt: Date | null;
|
36788
|
+
userId: string | null;
|
36789
|
+
sipServerUrl: string;
|
36790
|
+
sipUserName: string;
|
36791
|
+
webphoneLoginUser: string;
|
36792
|
+
extensionId: string | null;
|
36793
|
+
extensionName: string;
|
36794
|
+
telephonySignature: string | null;
|
36795
|
+
};
|
36796
|
+
};
|
36797
|
+
createdAt: Date;
|
36798
|
+
updatedAt: Date;
|
36799
|
+
deletedAt: Date | null;
|
36800
|
+
presenceStatus: {
|
36801
|
+
emoji: string | null;
|
36802
|
+
id: string;
|
36803
|
+
position: number;
|
36804
|
+
description: string | null;
|
36805
|
+
createdAt: Date;
|
36806
|
+
updatedAt: Date;
|
36807
|
+
deletedAt: Date | null;
|
36808
|
+
systemName: string;
|
36809
|
+
displayName: string;
|
36810
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36811
|
+
};
|
36812
|
+
customPresenceStatus?: string | null | undefined;
|
36813
|
+
}, {
|
36814
|
+
id: string;
|
36815
|
+
user: {
|
36816
|
+
name: string;
|
36817
|
+
id: string;
|
36818
|
+
address: string | null;
|
36819
|
+
email: string;
|
36820
|
+
createdAt: Date;
|
36821
|
+
updatedAt: Date;
|
36822
|
+
deletedAt: Date | null;
|
36823
|
+
emailVerifiedAt: Date | null;
|
36824
|
+
password: string;
|
36825
|
+
phone: string | null;
|
36826
|
+
notificationCount: number | null;
|
36827
|
+
roles: {
|
36828
|
+
id: string;
|
36829
|
+
description: string | null;
|
36830
|
+
createdAt: Date;
|
36831
|
+
updatedAt: Date;
|
36832
|
+
deletedAt: Date | null;
|
36833
|
+
systemName: string;
|
36834
|
+
displayName: string;
|
36835
|
+
permissions: {
|
36836
|
+
id: string;
|
36837
|
+
description: string | null;
|
36838
|
+
createdAt: Date;
|
36839
|
+
updatedAt: Date;
|
36840
|
+
deletedAt: Date | null;
|
36841
|
+
systemName: string;
|
36842
|
+
displayName: string;
|
36843
|
+
}[];
|
36844
|
+
}[];
|
36845
|
+
extension: {
|
36846
|
+
id: string;
|
36847
|
+
createdAt: Date;
|
36848
|
+
updatedAt: Date;
|
36849
|
+
deletedAt: Date | null;
|
36850
|
+
userId: string | null;
|
36851
|
+
sipServerUrl: string;
|
36852
|
+
sipUserName: string;
|
36853
|
+
webphoneLoginUser: string;
|
36854
|
+
extensionId: string | null;
|
36855
|
+
extensionName: string;
|
36856
|
+
telephonySignature: string | null;
|
36857
|
+
};
|
36858
|
+
};
|
36859
|
+
createdAt: Date;
|
36860
|
+
updatedAt: Date;
|
36861
|
+
deletedAt: Date | null;
|
36862
|
+
presenceStatus: {
|
36863
|
+
emoji: string | null;
|
36864
|
+
id: string;
|
36865
|
+
position: number;
|
36866
|
+
description: string | null;
|
36867
|
+
createdAt: Date;
|
36868
|
+
updatedAt: Date;
|
36869
|
+
deletedAt: Date | null;
|
36870
|
+
systemName: string;
|
36871
|
+
displayName: string;
|
36872
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36873
|
+
};
|
36874
|
+
customPresenceStatus?: string | null | undefined;
|
36875
|
+
}>, "many">;
|
36876
|
+
400: import("zod").ZodObject<{
|
36877
|
+
message: import("zod").ZodString;
|
36878
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36879
|
+
message: string;
|
36880
|
+
}, {
|
36881
|
+
message: string;
|
36882
|
+
}>;
|
36883
|
+
401: import("zod").ZodObject<{
|
36884
|
+
message: import("zod").ZodString;
|
36885
|
+
error: import("zod").ZodAny;
|
36886
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36887
|
+
message: string;
|
36888
|
+
error?: any;
|
36889
|
+
}, {
|
36890
|
+
message: string;
|
36891
|
+
error?: any;
|
36892
|
+
}>;
|
36893
|
+
500: import("zod").ZodObject<{
|
36894
|
+
message: import("zod").ZodString;
|
36895
|
+
error: import("zod").ZodAny;
|
36896
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36897
|
+
message: string;
|
36898
|
+
error?: any;
|
36899
|
+
}, {
|
36900
|
+
message: string;
|
36901
|
+
error?: any;
|
36902
|
+
}>;
|
36903
|
+
};
|
36904
|
+
path: "ms/telephony/agents/presence_status";
|
36905
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36906
|
+
'x-tenant': import("zod").ZodString;
|
36907
|
+
'x-service-token': import("zod").ZodString;
|
36908
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
36909
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
36910
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36911
|
+
'x-tenant': string;
|
36912
|
+
'x-service-token': string;
|
36913
|
+
'x-client-timezone': string;
|
36914
|
+
'x-code'?: string | undefined;
|
36915
|
+
}, {
|
36916
|
+
'x-tenant': string;
|
36917
|
+
'x-service-token': string;
|
36918
|
+
'x-code'?: string | undefined;
|
36919
|
+
'x-client-timezone'?: string | undefined;
|
36920
|
+
}>>>;
|
36921
|
+
};
|
36598
36922
|
getAgentStatus: {
|
36599
36923
|
summary: "Check and update user agent status before getting from telephony server.";
|
36600
36924
|
method: "GET";
|
@@ -36849,6 +37173,7 @@ export declare const apiContract: {
|
|
36849
37173
|
displayName: string;
|
36850
37174
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36851
37175
|
}>;
|
37176
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
36852
37177
|
}, "strip", import("zod").ZodTypeAny, {
|
36853
37178
|
id: string;
|
36854
37179
|
user: {
|
@@ -36910,6 +37235,7 @@ export declare const apiContract: {
|
|
36910
37235
|
displayName: string;
|
36911
37236
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36912
37237
|
};
|
37238
|
+
customPresenceStatus?: string | null | undefined;
|
36913
37239
|
}, {
|
36914
37240
|
id: string;
|
36915
37241
|
user: {
|
@@ -36971,6 +37297,7 @@ export declare const apiContract: {
|
|
36971
37297
|
displayName: string;
|
36972
37298
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36973
37299
|
};
|
37300
|
+
customPresenceStatus?: string | null | undefined;
|
36974
37301
|
}>;
|
36975
37302
|
400: import("zod").ZodObject<{
|
36976
37303
|
message: import("zod").ZodString;
|
@@ -37022,15 +37349,18 @@ export declare const apiContract: {
|
|
37022
37349
|
body: import("zod").ZodObject<{
|
37023
37350
|
userId: import("zod").ZodString;
|
37024
37351
|
presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37352
|
+
customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37025
37353
|
reason: import("zod").ZodString;
|
37026
37354
|
}, "strip", import("zod").ZodTypeAny, {
|
37027
37355
|
reason: string;
|
37028
37356
|
userId: string;
|
37029
37357
|
presenceStatusId?: string | null | undefined;
|
37358
|
+
customPreseneStatus?: string | null | undefined;
|
37030
37359
|
}, {
|
37031
37360
|
reason: string;
|
37032
37361
|
userId: string;
|
37033
37362
|
presenceStatusId?: string | null | undefined;
|
37363
|
+
customPreseneStatus?: string | null | undefined;
|
37034
37364
|
}>;
|
37035
37365
|
summary: "Update presence status";
|
37036
37366
|
method: "POST";
|
@@ -37280,6 +37610,7 @@ export declare const apiContract: {
|
|
37280
37610
|
displayName: string;
|
37281
37611
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37282
37612
|
}>;
|
37613
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37283
37614
|
}, "strip", import("zod").ZodTypeAny, {
|
37284
37615
|
id: string;
|
37285
37616
|
user: {
|
@@ -37341,6 +37672,7 @@ export declare const apiContract: {
|
|
37341
37672
|
displayName: string;
|
37342
37673
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37343
37674
|
};
|
37675
|
+
customPresenceStatus?: string | null | undefined;
|
37344
37676
|
}, {
|
37345
37677
|
id: string;
|
37346
37678
|
user: {
|
@@ -37402,6 +37734,7 @@ export declare const apiContract: {
|
|
37402
37734
|
displayName: string;
|
37403
37735
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37404
37736
|
};
|
37737
|
+
customPresenceStatus?: string | null | undefined;
|
37405
37738
|
}>;
|
37406
37739
|
}, "strip", import("zod").ZodTypeAny, {
|
37407
37740
|
requestId: string;
|
@@ -37466,6 +37799,7 @@ export declare const apiContract: {
|
|
37466
37799
|
displayName: string;
|
37467
37800
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37468
37801
|
};
|
37802
|
+
customPresenceStatus?: string | null | undefined;
|
37469
37803
|
};
|
37470
37804
|
}, {
|
37471
37805
|
requestId: string;
|
@@ -37530,6 +37864,7 @@ export declare const apiContract: {
|
|
37530
37864
|
displayName: string;
|
37531
37865
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37532
37866
|
};
|
37867
|
+
customPresenceStatus?: string | null | undefined;
|
37533
37868
|
};
|
37534
37869
|
}>;
|
37535
37870
|
400: import("zod").ZodObject<{
|
@@ -308641,60 +308976,6 @@ export declare const workflowContract: {
|
|
308641
308976
|
'x-code'?: string | undefined;
|
308642
308977
|
}>;
|
308643
308978
|
};
|
308644
|
-
tagContact: {
|
308645
|
-
body: import("zod").ZodObject<{
|
308646
|
-
contactId: import("zod").ZodString;
|
308647
|
-
tagId: import("zod").ZodString;
|
308648
|
-
}, "strip", import("zod").ZodTypeAny, {
|
308649
|
-
contactId: string;
|
308650
|
-
tagId: string;
|
308651
|
-
}, {
|
308652
|
-
contactId: string;
|
308653
|
-
tagId: string;
|
308654
|
-
}>;
|
308655
|
-
summary: "Attach Tag to Contact";
|
308656
|
-
method: "POST";
|
308657
|
-
responses: {
|
308658
|
-
200: import("zod").ZodObject<{
|
308659
|
-
requestId: import("zod").ZodString;
|
308660
|
-
}, "strip", import("zod").ZodTypeAny, {
|
308661
|
-
requestId: string;
|
308662
|
-
}, {
|
308663
|
-
requestId: string;
|
308664
|
-
}>;
|
308665
|
-
403: import("zod").ZodObject<{
|
308666
|
-
message: import("zod").ZodString;
|
308667
|
-
error: import("zod").ZodAny;
|
308668
|
-
}, "strip", import("zod").ZodTypeAny, {
|
308669
|
-
message: string;
|
308670
|
-
error?: any;
|
308671
|
-
}, {
|
308672
|
-
message: string;
|
308673
|
-
error?: any;
|
308674
|
-
}>;
|
308675
|
-
404: import("zod").ZodObject<{
|
308676
|
-
message: import("zod").ZodString;
|
308677
|
-
error: import("zod").ZodAny;
|
308678
|
-
}, "strip", import("zod").ZodTypeAny, {
|
308679
|
-
message: string;
|
308680
|
-
error?: any;
|
308681
|
-
}, {
|
308682
|
-
message: string;
|
308683
|
-
error?: any;
|
308684
|
-
}>;
|
308685
|
-
};
|
308686
|
-
path: "ms/workflow/chat/contact/tag";
|
308687
|
-
headers: import("zod").ZodObject<{
|
308688
|
-
'x-tenant': import("zod").ZodString;
|
308689
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
308690
|
-
}, "strip", import("zod").ZodTypeAny, {
|
308691
|
-
'x-tenant': string;
|
308692
|
-
'x-code'?: string | undefined;
|
308693
|
-
}, {
|
308694
|
-
'x-tenant': string;
|
308695
|
-
'x-code'?: string | undefined;
|
308696
|
-
}>;
|
308697
|
-
};
|
308698
308979
|
};
|
308699
308980
|
};
|
308700
308981
|
export declare const ticketSettingContract: {
|
@@ -320850,76 +321131,12 @@ export declare const channelSettingContract: {
|
|
320850
321131
|
updateChannelCsatPreference: {
|
320851
321132
|
body: import("zod").ZodObject<{
|
320852
321133
|
isCSATEnabled: import("zod").ZodBoolean;
|
320853
|
-
headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320854
|
-
image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
320855
|
-
bucketName: import("zod").ZodString;
|
320856
|
-
fileName: import("zod").ZodString;
|
320857
|
-
fileSize: import("zod").ZodNumber;
|
320858
|
-
fileKey: import("zod").ZodString;
|
320859
|
-
originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320860
|
-
}, "strip", import("zod").ZodTypeAny, {
|
320861
|
-
fileName: string;
|
320862
|
-
fileKey: string;
|
320863
|
-
bucketName: string;
|
320864
|
-
fileSize: number;
|
320865
|
-
originalUrl?: string | null | undefined;
|
320866
|
-
}, {
|
320867
|
-
fileName: string;
|
320868
|
-
fileKey: string;
|
320869
|
-
bucketName: string;
|
320870
|
-
fileSize: number;
|
320871
|
-
originalUrl?: string | null | undefined;
|
320872
|
-
}>>>;
|
320873
|
-
scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
320874
|
-
value: import("zod").ZodString;
|
320875
|
-
label: import("zod").ZodString;
|
320876
|
-
color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320877
|
-
style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320878
|
-
}, "strip", import("zod").ZodTypeAny, {
|
320879
|
-
value: string;
|
320880
|
-
label: string;
|
320881
|
-
color?: string | null | undefined;
|
320882
|
-
style?: string | null | undefined;
|
320883
|
-
}, {
|
320884
|
-
value: string;
|
320885
|
-
label: string;
|
320886
|
-
color?: string | null | undefined;
|
320887
|
-
style?: string | null | undefined;
|
320888
|
-
}>, "many">>>;
|
320889
321134
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
320890
321135
|
}, "strip", import("zod").ZodTypeAny, {
|
320891
321136
|
isCSATEnabled: boolean;
|
320892
|
-
headline?: string | null | undefined;
|
320893
|
-
image?: {
|
320894
|
-
fileName: string;
|
320895
|
-
fileKey: string;
|
320896
|
-
bucketName: string;
|
320897
|
-
fileSize: number;
|
320898
|
-
originalUrl?: string | null | undefined;
|
320899
|
-
} | null | undefined;
|
320900
|
-
scaleOptions?: {
|
320901
|
-
value: string;
|
320902
|
-
label: string;
|
320903
|
-
color?: string | null | undefined;
|
320904
|
-
style?: string | null | undefined;
|
320905
|
-
}[] | null | undefined;
|
320906
321137
|
dispositions?: string[] | undefined;
|
320907
321138
|
}, {
|
320908
321139
|
isCSATEnabled: boolean;
|
320909
|
-
headline?: string | null | undefined;
|
320910
|
-
image?: {
|
320911
|
-
fileName: string;
|
320912
|
-
fileKey: string;
|
320913
|
-
bucketName: string;
|
320914
|
-
fileSize: number;
|
320915
|
-
originalUrl?: string | null | undefined;
|
320916
|
-
} | null | undefined;
|
320917
|
-
scaleOptions?: {
|
320918
|
-
value: string;
|
320919
|
-
label: string;
|
320920
|
-
color?: string | null | undefined;
|
320921
|
-
style?: string | null | undefined;
|
320922
|
-
}[] | null | undefined;
|
320923
321140
|
dispositions?: string[] | undefined;
|
320924
321141
|
}>;
|
320925
321142
|
summary: "Enable or Disable CSAT for channel";
|