@kl1/contracts 1.3.69 → 1.3.70
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 +64 -0
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +64 -0
- 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 +189 -437
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +56 -7
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +18 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +26 -3
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +5 -0
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +3 -0
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- 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/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/telephony-agent-presence-status/index.d.ts +0 -430
- 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 +0 -3
- 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 +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/index.js +1623 -1624
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1622 -1624
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -4923,12 +4923,76 @@ 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">>>;
|
4926
4962
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
4927
4963
|
}, "strip", import("zod").ZodTypeAny, {
|
4928
4964
|
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;
|
4929
4979
|
dispositions?: string[] | undefined;
|
4930
4980
|
}, {
|
4931
4981
|
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;
|
4932
4996
|
dispositions?: string[] | undefined;
|
4933
4997
|
}>;
|
4934
4998
|
summary: "Enable or Disable CSAT for channel";
|
@@ -14037,7 +14101,20 @@ export declare const apiContract: {
|
|
14037
14101
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
14038
14102
|
address: import("zod").ZodOptional<import("zod").ZodString>;
|
14039
14103
|
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
14040
|
-
|
14104
|
+
contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
14105
|
+
attributeId: import("zod").ZodString;
|
14106
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14107
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
14108
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14109
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14110
|
+
attributeId: string;
|
14111
|
+
type?: string | undefined;
|
14112
|
+
}, {
|
14113
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14114
|
+
attributeId: string;
|
14115
|
+
type?: string | undefined;
|
14116
|
+
}>, "many">>;
|
14117
|
+
wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
14041
14118
|
attributeId: import("zod").ZodString;
|
14042
14119
|
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14043
14120
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -14075,7 +14152,12 @@ export declare const apiContract: {
|
|
14075
14152
|
notes?: string | undefined;
|
14076
14153
|
address?: string | undefined;
|
14077
14154
|
company?: string[] | undefined;
|
14078
|
-
|
14155
|
+
contactCustomFields?: {
|
14156
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14157
|
+
attributeId: string;
|
14158
|
+
type?: string | undefined;
|
14159
|
+
}[] | undefined;
|
14160
|
+
wrapUpFormCustomFields?: {
|
14079
14161
|
value: (string | string[]) & (string | string[] | undefined);
|
14080
14162
|
attributeId: string;
|
14081
14163
|
type?: string | undefined;
|
@@ -14105,7 +14187,12 @@ export declare const apiContract: {
|
|
14105
14187
|
notes?: string | undefined;
|
14106
14188
|
address?: string | undefined;
|
14107
14189
|
company?: string[] | undefined;
|
14108
|
-
|
14190
|
+
contactCustomFields?: {
|
14191
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14192
|
+
attributeId: string;
|
14193
|
+
type?: string | undefined;
|
14194
|
+
}[] | undefined;
|
14195
|
+
wrapUpFormCustomFields?: {
|
14109
14196
|
value: (string | string[]) & (string | string[] | undefined);
|
14110
14197
|
attributeId: string;
|
14111
14198
|
type?: string | undefined;
|
@@ -19388,6 +19475,16 @@ export declare const apiContract: {
|
|
19388
19475
|
}, {
|
19389
19476
|
queueName?: string | null | undefined;
|
19390
19477
|
}>>;
|
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
|
+
}>>;
|
19391
19488
|
contact: import("zod").ZodNullable<import("zod").ZodObject<{
|
19392
19489
|
id: import("zod").ZodString;
|
19393
19490
|
createdAt: import("zod").ZodDate;
|
@@ -21599,6 +21696,10 @@ export declare const apiContract: {
|
|
21599
21696
|
queue: {
|
21600
21697
|
queueName?: string | null | undefined;
|
21601
21698
|
} | null;
|
21699
|
+
automationQueue: {
|
21700
|
+
name: string;
|
21701
|
+
id: string;
|
21702
|
+
} | null;
|
21602
21703
|
firstAssignee: {
|
21603
21704
|
name: string;
|
21604
21705
|
id: string;
|
@@ -22542,6 +22643,10 @@ export declare const apiContract: {
|
|
22542
22643
|
queue: {
|
22543
22644
|
queueName?: string | null | undefined;
|
22544
22645
|
} | null;
|
22646
|
+
automationQueue: {
|
22647
|
+
name: string;
|
22648
|
+
id: string;
|
22649
|
+
} | null;
|
22545
22650
|
firstAssignee: {
|
22546
22651
|
name: string;
|
22547
22652
|
id: string;
|
@@ -23491,6 +23596,10 @@ export declare const apiContract: {
|
|
23491
23596
|
queue: {
|
23492
23597
|
queueName?: string | null | undefined;
|
23493
23598
|
} | null;
|
23599
|
+
automationQueue: {
|
23600
|
+
name: string;
|
23601
|
+
id: string;
|
23602
|
+
} | null;
|
23494
23603
|
firstAssignee: {
|
23495
23604
|
name: string;
|
23496
23605
|
id: string;
|
@@ -24440,6 +24549,10 @@ export declare const apiContract: {
|
|
24440
24549
|
queue: {
|
24441
24550
|
queueName?: string | null | undefined;
|
24442
24551
|
} | null;
|
24552
|
+
automationQueue: {
|
24553
|
+
name: string;
|
24554
|
+
id: string;
|
24555
|
+
} | null;
|
24443
24556
|
firstAssignee: {
|
24444
24557
|
name: string;
|
24445
24558
|
id: string;
|
@@ -24597,7 +24710,7 @@ export declare const apiContract: {
|
|
24597
24710
|
error?: any;
|
24598
24711
|
}>;
|
24599
24712
|
};
|
24600
|
-
path: "
|
24713
|
+
path: "/cxs/cx-logs";
|
24601
24714
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24602
24715
|
'x-tenant': import("zod").ZodString;
|
24603
24716
|
'x-service-token': import("zod").ZodString;
|
@@ -24632,7 +24745,7 @@ export declare const apiContract: {
|
|
24632
24745
|
error?: any;
|
24633
24746
|
}>;
|
24634
24747
|
};
|
24635
|
-
path: "ms/cx-logs/export";
|
24748
|
+
path: "/ms/cx-logs/export";
|
24636
24749
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24637
24750
|
'x-tenant': import("zod").ZodString;
|
24638
24751
|
'x-service-token': import("zod").ZodString;
|
@@ -24677,7 +24790,7 @@ export declare const apiContract: {
|
|
24677
24790
|
error?: any;
|
24678
24791
|
}>;
|
24679
24792
|
};
|
24680
|
-
path: "ms/cx-logs/sync-sla";
|
24793
|
+
path: "/ms/cx-logs/sync-sla";
|
24681
24794
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24682
24795
|
'x-tenant': import("zod").ZodString;
|
24683
24796
|
'x-service-token': import("zod").ZodString;
|
@@ -24740,7 +24853,7 @@ export declare const apiContract: {
|
|
24740
24853
|
error?: any;
|
24741
24854
|
}>;
|
24742
24855
|
};
|
24743
|
-
path: "ms/cx-logs";
|
24856
|
+
path: "/ms/cx-logs";
|
24744
24857
|
headers: import("zod").ZodObject<{
|
24745
24858
|
'x-tenant': import("zod").ZodString;
|
24746
24859
|
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -26233,6 +26346,7 @@ export declare const apiContract: {
|
|
26233
26346
|
closed: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26234
26347
|
unassignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26235
26348
|
assignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26349
|
+
botRoom: import("zod").ZodNullable<import("zod").ZodNumber>;
|
26236
26350
|
hold: import("zod").ZodNumber;
|
26237
26351
|
}, "strip", import("zod").ZodTypeAny, {
|
26238
26352
|
total: number | null;
|
@@ -26240,12 +26354,14 @@ export declare const apiContract: {
|
|
26240
26354
|
hold: number;
|
26241
26355
|
unassignedOpen: number | null;
|
26242
26356
|
assignedOpen: number | null;
|
26357
|
+
botRoom: number | null;
|
26243
26358
|
}, {
|
26244
26359
|
total: number | null;
|
26245
26360
|
closed: number | null;
|
26246
26361
|
hold: number;
|
26247
26362
|
unassignedOpen: number | null;
|
26248
26363
|
assignedOpen: number | null;
|
26364
|
+
botRoom: number | null;
|
26249
26365
|
}>;
|
26250
26366
|
}, "strip", import("zod").ZodTypeAny, {
|
26251
26367
|
requestId: string;
|
@@ -26255,6 +26371,7 @@ export declare const apiContract: {
|
|
26255
26371
|
hold: number;
|
26256
26372
|
unassignedOpen: number | null;
|
26257
26373
|
assignedOpen: number | null;
|
26374
|
+
botRoom: number | null;
|
26258
26375
|
};
|
26259
26376
|
}, {
|
26260
26377
|
requestId: string;
|
@@ -26264,6 +26381,7 @@ export declare const apiContract: {
|
|
26264
26381
|
hold: number;
|
26265
26382
|
unassignedOpen: number | null;
|
26266
26383
|
assignedOpen: number | null;
|
26384
|
+
botRoom: number | null;
|
26267
26385
|
};
|
26268
26386
|
}>;
|
26269
26387
|
401: import("zod").ZodObject<{
|
@@ -36477,425 +36595,6 @@ export declare const apiContract: {
|
|
36477
36595
|
};
|
36478
36596
|
};
|
36479
36597
|
agentPresenceStatus: {
|
36480
|
-
getAllAgentStatus: {
|
36481
|
-
summary: "Get all user presence status list.";
|
36482
|
-
method: "GET";
|
36483
|
-
responses: {
|
36484
|
-
200: import("zod").ZodArray<import("zod").ZodObject<{
|
36485
|
-
id: import("zod").ZodString;
|
36486
|
-
createdAt: import("zod").ZodDate;
|
36487
|
-
updatedAt: import("zod").ZodDate;
|
36488
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36489
|
-
user: import("zod").ZodObject<{
|
36490
|
-
name: import("zod").ZodString;
|
36491
|
-
id: import("zod").ZodString;
|
36492
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
36493
|
-
email: import("zod").ZodString;
|
36494
|
-
createdAt: import("zod").ZodDate;
|
36495
|
-
updatedAt: import("zod").ZodDate;
|
36496
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36497
|
-
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36498
|
-
password: import("zod").ZodString;
|
36499
|
-
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
36500
|
-
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
36501
|
-
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
36502
|
-
id: import("zod").ZodString;
|
36503
|
-
createdAt: import("zod").ZodDate;
|
36504
|
-
updatedAt: import("zod").ZodDate;
|
36505
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36506
|
-
systemName: import("zod").ZodString;
|
36507
|
-
displayName: import("zod").ZodString;
|
36508
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36509
|
-
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
36510
|
-
id: import("zod").ZodString;
|
36511
|
-
createdAt: import("zod").ZodDate;
|
36512
|
-
updatedAt: import("zod").ZodDate;
|
36513
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36514
|
-
systemName: import("zod").ZodString;
|
36515
|
-
displayName: import("zod").ZodString;
|
36516
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36517
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36518
|
-
id: string;
|
36519
|
-
description: string | null;
|
36520
|
-
createdAt: Date;
|
36521
|
-
updatedAt: Date;
|
36522
|
-
deletedAt: Date | null;
|
36523
|
-
systemName: string;
|
36524
|
-
displayName: string;
|
36525
|
-
}, {
|
36526
|
-
id: string;
|
36527
|
-
description: string | null;
|
36528
|
-
createdAt: Date;
|
36529
|
-
updatedAt: Date;
|
36530
|
-
deletedAt: Date | null;
|
36531
|
-
systemName: string;
|
36532
|
-
displayName: string;
|
36533
|
-
}>, "many">;
|
36534
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36535
|
-
id: string;
|
36536
|
-
description: string | null;
|
36537
|
-
createdAt: Date;
|
36538
|
-
updatedAt: Date;
|
36539
|
-
deletedAt: Date | null;
|
36540
|
-
systemName: string;
|
36541
|
-
displayName: string;
|
36542
|
-
permissions: {
|
36543
|
-
id: string;
|
36544
|
-
description: string | null;
|
36545
|
-
createdAt: Date;
|
36546
|
-
updatedAt: Date;
|
36547
|
-
deletedAt: Date | null;
|
36548
|
-
systemName: string;
|
36549
|
-
displayName: string;
|
36550
|
-
}[];
|
36551
|
-
}, {
|
36552
|
-
id: string;
|
36553
|
-
description: string | null;
|
36554
|
-
createdAt: Date;
|
36555
|
-
updatedAt: Date;
|
36556
|
-
deletedAt: Date | null;
|
36557
|
-
systemName: string;
|
36558
|
-
displayName: string;
|
36559
|
-
permissions: {
|
36560
|
-
id: string;
|
36561
|
-
description: string | null;
|
36562
|
-
createdAt: Date;
|
36563
|
-
updatedAt: Date;
|
36564
|
-
deletedAt: Date | null;
|
36565
|
-
systemName: string;
|
36566
|
-
displayName: string;
|
36567
|
-
}[];
|
36568
|
-
}>, "many">;
|
36569
|
-
extension: import("zod").ZodObject<{
|
36570
|
-
id: import("zod").ZodString;
|
36571
|
-
createdAt: import("zod").ZodDate;
|
36572
|
-
updatedAt: import("zod").ZodDate;
|
36573
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36574
|
-
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
36575
|
-
sipServerUrl: import("zod").ZodString;
|
36576
|
-
sipUserName: import("zod").ZodString;
|
36577
|
-
webphoneLoginUser: import("zod").ZodString;
|
36578
|
-
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
36579
|
-
extensionName: import("zod").ZodString;
|
36580
|
-
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
36581
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36582
|
-
id: string;
|
36583
|
-
createdAt: Date;
|
36584
|
-
updatedAt: Date;
|
36585
|
-
deletedAt: Date | null;
|
36586
|
-
userId: string | null;
|
36587
|
-
sipServerUrl: string;
|
36588
|
-
sipUserName: string;
|
36589
|
-
webphoneLoginUser: string;
|
36590
|
-
extensionId: string | null;
|
36591
|
-
extensionName: string;
|
36592
|
-
telephonySignature: string | null;
|
36593
|
-
}, {
|
36594
|
-
id: string;
|
36595
|
-
createdAt: Date;
|
36596
|
-
updatedAt: Date;
|
36597
|
-
deletedAt: Date | null;
|
36598
|
-
userId: string | null;
|
36599
|
-
sipServerUrl: string;
|
36600
|
-
sipUserName: string;
|
36601
|
-
webphoneLoginUser: string;
|
36602
|
-
extensionId: string | null;
|
36603
|
-
extensionName: string;
|
36604
|
-
telephonySignature: string | null;
|
36605
|
-
}>;
|
36606
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36607
|
-
name: string;
|
36608
|
-
id: string;
|
36609
|
-
address: string | null;
|
36610
|
-
email: string;
|
36611
|
-
createdAt: Date;
|
36612
|
-
updatedAt: Date;
|
36613
|
-
deletedAt: Date | null;
|
36614
|
-
emailVerifiedAt: Date | null;
|
36615
|
-
password: string;
|
36616
|
-
phone: string | null;
|
36617
|
-
notificationCount: number | null;
|
36618
|
-
roles: {
|
36619
|
-
id: string;
|
36620
|
-
description: string | null;
|
36621
|
-
createdAt: Date;
|
36622
|
-
updatedAt: Date;
|
36623
|
-
deletedAt: Date | null;
|
36624
|
-
systemName: string;
|
36625
|
-
displayName: string;
|
36626
|
-
permissions: {
|
36627
|
-
id: string;
|
36628
|
-
description: string | null;
|
36629
|
-
createdAt: Date;
|
36630
|
-
updatedAt: Date;
|
36631
|
-
deletedAt: Date | null;
|
36632
|
-
systemName: string;
|
36633
|
-
displayName: string;
|
36634
|
-
}[];
|
36635
|
-
}[];
|
36636
|
-
extension: {
|
36637
|
-
id: string;
|
36638
|
-
createdAt: Date;
|
36639
|
-
updatedAt: Date;
|
36640
|
-
deletedAt: Date | null;
|
36641
|
-
userId: string | null;
|
36642
|
-
sipServerUrl: string;
|
36643
|
-
sipUserName: string;
|
36644
|
-
webphoneLoginUser: string;
|
36645
|
-
extensionId: string | null;
|
36646
|
-
extensionName: string;
|
36647
|
-
telephonySignature: string | null;
|
36648
|
-
};
|
36649
|
-
}, {
|
36650
|
-
name: string;
|
36651
|
-
id: string;
|
36652
|
-
address: string | null;
|
36653
|
-
email: string;
|
36654
|
-
createdAt: Date;
|
36655
|
-
updatedAt: Date;
|
36656
|
-
deletedAt: Date | null;
|
36657
|
-
emailVerifiedAt: Date | null;
|
36658
|
-
password: string;
|
36659
|
-
phone: string | null;
|
36660
|
-
notificationCount: number | null;
|
36661
|
-
roles: {
|
36662
|
-
id: string;
|
36663
|
-
description: string | null;
|
36664
|
-
createdAt: Date;
|
36665
|
-
updatedAt: Date;
|
36666
|
-
deletedAt: Date | null;
|
36667
|
-
systemName: string;
|
36668
|
-
displayName: string;
|
36669
|
-
permissions: {
|
36670
|
-
id: string;
|
36671
|
-
description: string | null;
|
36672
|
-
createdAt: Date;
|
36673
|
-
updatedAt: Date;
|
36674
|
-
deletedAt: Date | null;
|
36675
|
-
systemName: string;
|
36676
|
-
displayName: string;
|
36677
|
-
}[];
|
36678
|
-
}[];
|
36679
|
-
extension: {
|
36680
|
-
id: string;
|
36681
|
-
createdAt: Date;
|
36682
|
-
updatedAt: Date;
|
36683
|
-
deletedAt: Date | null;
|
36684
|
-
userId: string | null;
|
36685
|
-
sipServerUrl: string;
|
36686
|
-
sipUserName: string;
|
36687
|
-
webphoneLoginUser: string;
|
36688
|
-
extensionId: string | null;
|
36689
|
-
extensionName: string;
|
36690
|
-
telephonySignature: string | null;
|
36691
|
-
};
|
36692
|
-
}>;
|
36693
|
-
presenceStatus: import("zod").ZodObject<{
|
36694
|
-
id: import("zod").ZodString;
|
36695
|
-
createdAt: import("zod").ZodDate;
|
36696
|
-
updatedAt: import("zod").ZodDate;
|
36697
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36698
|
-
systemName: import("zod").ZodString;
|
36699
|
-
displayName: import("zod").ZodString;
|
36700
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36701
|
-
position: import("zod").ZodNumber;
|
36702
|
-
emoji: import("zod").ZodNullable<import("zod").ZodString>;
|
36703
|
-
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">;
|
36704
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36705
|
-
emoji: string | null;
|
36706
|
-
id: string;
|
36707
|
-
position: number;
|
36708
|
-
description: string | null;
|
36709
|
-
createdAt: Date;
|
36710
|
-
updatedAt: Date;
|
36711
|
-
deletedAt: Date | null;
|
36712
|
-
systemName: string;
|
36713
|
-
displayName: string;
|
36714
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36715
|
-
}, {
|
36716
|
-
emoji: string | null;
|
36717
|
-
id: string;
|
36718
|
-
position: number;
|
36719
|
-
description: string | null;
|
36720
|
-
createdAt: Date;
|
36721
|
-
updatedAt: Date;
|
36722
|
-
deletedAt: Date | null;
|
36723
|
-
systemName: string;
|
36724
|
-
displayName: string;
|
36725
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36726
|
-
}>;
|
36727
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
36728
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36729
|
-
id: string;
|
36730
|
-
user: {
|
36731
|
-
name: string;
|
36732
|
-
id: string;
|
36733
|
-
address: string | null;
|
36734
|
-
email: string;
|
36735
|
-
createdAt: Date;
|
36736
|
-
updatedAt: Date;
|
36737
|
-
deletedAt: Date | null;
|
36738
|
-
emailVerifiedAt: Date | null;
|
36739
|
-
password: string;
|
36740
|
-
phone: string | null;
|
36741
|
-
notificationCount: number | null;
|
36742
|
-
roles: {
|
36743
|
-
id: string;
|
36744
|
-
description: string | null;
|
36745
|
-
createdAt: Date;
|
36746
|
-
updatedAt: Date;
|
36747
|
-
deletedAt: Date | null;
|
36748
|
-
systemName: string;
|
36749
|
-
displayName: string;
|
36750
|
-
permissions: {
|
36751
|
-
id: string;
|
36752
|
-
description: string | null;
|
36753
|
-
createdAt: Date;
|
36754
|
-
updatedAt: Date;
|
36755
|
-
deletedAt: Date | null;
|
36756
|
-
systemName: string;
|
36757
|
-
displayName: string;
|
36758
|
-
}[];
|
36759
|
-
}[];
|
36760
|
-
extension: {
|
36761
|
-
id: string;
|
36762
|
-
createdAt: Date;
|
36763
|
-
updatedAt: Date;
|
36764
|
-
deletedAt: Date | null;
|
36765
|
-
userId: string | null;
|
36766
|
-
sipServerUrl: string;
|
36767
|
-
sipUserName: string;
|
36768
|
-
webphoneLoginUser: string;
|
36769
|
-
extensionId: string | null;
|
36770
|
-
extensionName: string;
|
36771
|
-
telephonySignature: string | null;
|
36772
|
-
};
|
36773
|
-
};
|
36774
|
-
createdAt: Date;
|
36775
|
-
updatedAt: Date;
|
36776
|
-
deletedAt: Date | null;
|
36777
|
-
presenceStatus: {
|
36778
|
-
emoji: string | null;
|
36779
|
-
id: string;
|
36780
|
-
position: number;
|
36781
|
-
description: string | null;
|
36782
|
-
createdAt: Date;
|
36783
|
-
updatedAt: Date;
|
36784
|
-
deletedAt: Date | null;
|
36785
|
-
systemName: string;
|
36786
|
-
displayName: string;
|
36787
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36788
|
-
};
|
36789
|
-
customPresenceStatus?: string | null | undefined;
|
36790
|
-
}, {
|
36791
|
-
id: string;
|
36792
|
-
user: {
|
36793
|
-
name: string;
|
36794
|
-
id: string;
|
36795
|
-
address: string | null;
|
36796
|
-
email: string;
|
36797
|
-
createdAt: Date;
|
36798
|
-
updatedAt: Date;
|
36799
|
-
deletedAt: Date | null;
|
36800
|
-
emailVerifiedAt: Date | null;
|
36801
|
-
password: string;
|
36802
|
-
phone: string | null;
|
36803
|
-
notificationCount: number | null;
|
36804
|
-
roles: {
|
36805
|
-
id: string;
|
36806
|
-
description: string | null;
|
36807
|
-
createdAt: Date;
|
36808
|
-
updatedAt: Date;
|
36809
|
-
deletedAt: Date | null;
|
36810
|
-
systemName: string;
|
36811
|
-
displayName: string;
|
36812
|
-
permissions: {
|
36813
|
-
id: string;
|
36814
|
-
description: string | null;
|
36815
|
-
createdAt: Date;
|
36816
|
-
updatedAt: Date;
|
36817
|
-
deletedAt: Date | null;
|
36818
|
-
systemName: string;
|
36819
|
-
displayName: string;
|
36820
|
-
}[];
|
36821
|
-
}[];
|
36822
|
-
extension: {
|
36823
|
-
id: string;
|
36824
|
-
createdAt: Date;
|
36825
|
-
updatedAt: Date;
|
36826
|
-
deletedAt: Date | null;
|
36827
|
-
userId: string | null;
|
36828
|
-
sipServerUrl: string;
|
36829
|
-
sipUserName: string;
|
36830
|
-
webphoneLoginUser: string;
|
36831
|
-
extensionId: string | null;
|
36832
|
-
extensionName: string;
|
36833
|
-
telephonySignature: string | null;
|
36834
|
-
};
|
36835
|
-
};
|
36836
|
-
createdAt: Date;
|
36837
|
-
updatedAt: Date;
|
36838
|
-
deletedAt: Date | null;
|
36839
|
-
presenceStatus: {
|
36840
|
-
emoji: string | null;
|
36841
|
-
id: string;
|
36842
|
-
position: number;
|
36843
|
-
description: string | null;
|
36844
|
-
createdAt: Date;
|
36845
|
-
updatedAt: Date;
|
36846
|
-
deletedAt: Date | null;
|
36847
|
-
systemName: string;
|
36848
|
-
displayName: string;
|
36849
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36850
|
-
};
|
36851
|
-
customPresenceStatus?: string | null | undefined;
|
36852
|
-
}>, "many">;
|
36853
|
-
400: import("zod").ZodObject<{
|
36854
|
-
message: import("zod").ZodString;
|
36855
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36856
|
-
message: string;
|
36857
|
-
}, {
|
36858
|
-
message: string;
|
36859
|
-
}>;
|
36860
|
-
401: import("zod").ZodObject<{
|
36861
|
-
message: import("zod").ZodString;
|
36862
|
-
error: import("zod").ZodAny;
|
36863
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36864
|
-
message: string;
|
36865
|
-
error?: any;
|
36866
|
-
}, {
|
36867
|
-
message: string;
|
36868
|
-
error?: any;
|
36869
|
-
}>;
|
36870
|
-
500: import("zod").ZodObject<{
|
36871
|
-
message: import("zod").ZodString;
|
36872
|
-
error: import("zod").ZodAny;
|
36873
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36874
|
-
message: string;
|
36875
|
-
error?: any;
|
36876
|
-
}, {
|
36877
|
-
message: string;
|
36878
|
-
error?: any;
|
36879
|
-
}>;
|
36880
|
-
};
|
36881
|
-
path: "ms/telephony/agents/presence_status";
|
36882
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36883
|
-
'x-tenant': import("zod").ZodString;
|
36884
|
-
'x-service-token': import("zod").ZodString;
|
36885
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
36886
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
36887
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36888
|
-
'x-tenant': string;
|
36889
|
-
'x-service-token': string;
|
36890
|
-
'x-client-timezone': string;
|
36891
|
-
'x-code'?: string | undefined;
|
36892
|
-
}, {
|
36893
|
-
'x-tenant': string;
|
36894
|
-
'x-service-token': string;
|
36895
|
-
'x-code'?: string | undefined;
|
36896
|
-
'x-client-timezone'?: string | undefined;
|
36897
|
-
}>>>;
|
36898
|
-
};
|
36899
36598
|
getAgentStatus: {
|
36900
36599
|
summary: "Check and update user agent status before getting from telephony server.";
|
36901
36600
|
method: "GET";
|
@@ -37150,7 +36849,6 @@ export declare const apiContract: {
|
|
37150
36849
|
displayName: string;
|
37151
36850
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37152
36851
|
}>;
|
37153
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37154
36852
|
}, "strip", import("zod").ZodTypeAny, {
|
37155
36853
|
id: string;
|
37156
36854
|
user: {
|
@@ -37212,7 +36910,6 @@ export declare const apiContract: {
|
|
37212
36910
|
displayName: string;
|
37213
36911
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37214
36912
|
};
|
37215
|
-
customPresenceStatus?: string | null | undefined;
|
37216
36913
|
}, {
|
37217
36914
|
id: string;
|
37218
36915
|
user: {
|
@@ -37274,7 +36971,6 @@ export declare const apiContract: {
|
|
37274
36971
|
displayName: string;
|
37275
36972
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37276
36973
|
};
|
37277
|
-
customPresenceStatus?: string | null | undefined;
|
37278
36974
|
}>;
|
37279
36975
|
400: import("zod").ZodObject<{
|
37280
36976
|
message: import("zod").ZodString;
|
@@ -37326,18 +37022,15 @@ export declare const apiContract: {
|
|
37326
37022
|
body: import("zod").ZodObject<{
|
37327
37023
|
userId: import("zod").ZodString;
|
37328
37024
|
presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37329
|
-
customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37330
37025
|
reason: import("zod").ZodString;
|
37331
37026
|
}, "strip", import("zod").ZodTypeAny, {
|
37332
37027
|
reason: string;
|
37333
37028
|
userId: string;
|
37334
37029
|
presenceStatusId?: string | null | undefined;
|
37335
|
-
customPreseneStatus?: string | null | undefined;
|
37336
37030
|
}, {
|
37337
37031
|
reason: string;
|
37338
37032
|
userId: string;
|
37339
37033
|
presenceStatusId?: string | null | undefined;
|
37340
|
-
customPreseneStatus?: string | null | undefined;
|
37341
37034
|
}>;
|
37342
37035
|
summary: "Update presence status";
|
37343
37036
|
method: "POST";
|
@@ -37587,7 +37280,6 @@ export declare const apiContract: {
|
|
37587
37280
|
displayName: string;
|
37588
37281
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37589
37282
|
}>;
|
37590
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37591
37283
|
}, "strip", import("zod").ZodTypeAny, {
|
37592
37284
|
id: string;
|
37593
37285
|
user: {
|
@@ -37649,7 +37341,6 @@ export declare const apiContract: {
|
|
37649
37341
|
displayName: string;
|
37650
37342
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37651
37343
|
};
|
37652
|
-
customPresenceStatus?: string | null | undefined;
|
37653
37344
|
}, {
|
37654
37345
|
id: string;
|
37655
37346
|
user: {
|
@@ -37711,7 +37402,6 @@ export declare const apiContract: {
|
|
37711
37402
|
displayName: string;
|
37712
37403
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37713
37404
|
};
|
37714
|
-
customPresenceStatus?: string | null | undefined;
|
37715
37405
|
}>;
|
37716
37406
|
}, "strip", import("zod").ZodTypeAny, {
|
37717
37407
|
requestId: string;
|
@@ -37776,7 +37466,6 @@ export declare const apiContract: {
|
|
37776
37466
|
displayName: string;
|
37777
37467
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37778
37468
|
};
|
37779
|
-
customPresenceStatus?: string | null | undefined;
|
37780
37469
|
};
|
37781
37470
|
}, {
|
37782
37471
|
requestId: string;
|
@@ -37841,7 +37530,6 @@ export declare const apiContract: {
|
|
37841
37530
|
displayName: string;
|
37842
37531
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37843
37532
|
};
|
37844
|
-
customPresenceStatus?: string | null | undefined;
|
37845
37533
|
};
|
37846
37534
|
}>;
|
37847
37535
|
400: import("zod").ZodObject<{
|
@@ -321108,12 +320796,76 @@ export declare const channelSettingContract: {
|
|
321108
320796
|
updateChannelCsatPreference: {
|
321109
320797
|
body: import("zod").ZodObject<{
|
321110
320798
|
isCSATEnabled: import("zod").ZodBoolean;
|
320799
|
+
headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320800
|
+
image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
320801
|
+
bucketName: import("zod").ZodString;
|
320802
|
+
fileName: import("zod").ZodString;
|
320803
|
+
fileSize: import("zod").ZodNumber;
|
320804
|
+
fileKey: import("zod").ZodString;
|
320805
|
+
originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320806
|
+
}, "strip", import("zod").ZodTypeAny, {
|
320807
|
+
fileName: string;
|
320808
|
+
fileKey: string;
|
320809
|
+
bucketName: string;
|
320810
|
+
fileSize: number;
|
320811
|
+
originalUrl?: string | null | undefined;
|
320812
|
+
}, {
|
320813
|
+
fileName: string;
|
320814
|
+
fileKey: string;
|
320815
|
+
bucketName: string;
|
320816
|
+
fileSize: number;
|
320817
|
+
originalUrl?: string | null | undefined;
|
320818
|
+
}>>>;
|
320819
|
+
scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
320820
|
+
value: import("zod").ZodString;
|
320821
|
+
label: import("zod").ZodString;
|
320822
|
+
color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320823
|
+
style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320824
|
+
}, "strip", import("zod").ZodTypeAny, {
|
320825
|
+
value: string;
|
320826
|
+
label: string;
|
320827
|
+
color?: string | null | undefined;
|
320828
|
+
style?: string | null | undefined;
|
320829
|
+
}, {
|
320830
|
+
value: string;
|
320831
|
+
label: string;
|
320832
|
+
color?: string | null | undefined;
|
320833
|
+
style?: string | null | undefined;
|
320834
|
+
}>, "many">>>;
|
321111
320835
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
321112
320836
|
}, "strip", import("zod").ZodTypeAny, {
|
321113
320837
|
isCSATEnabled: boolean;
|
320838
|
+
headline?: string | null | undefined;
|
320839
|
+
image?: {
|
320840
|
+
fileName: string;
|
320841
|
+
fileKey: string;
|
320842
|
+
bucketName: string;
|
320843
|
+
fileSize: number;
|
320844
|
+
originalUrl?: string | null | undefined;
|
320845
|
+
} | null | undefined;
|
320846
|
+
scaleOptions?: {
|
320847
|
+
value: string;
|
320848
|
+
label: string;
|
320849
|
+
color?: string | null | undefined;
|
320850
|
+
style?: string | null | undefined;
|
320851
|
+
}[] | null | undefined;
|
321114
320852
|
dispositions?: string[] | undefined;
|
321115
320853
|
}, {
|
321116
320854
|
isCSATEnabled: boolean;
|
320855
|
+
headline?: string | null | undefined;
|
320856
|
+
image?: {
|
320857
|
+
fileName: string;
|
320858
|
+
fileKey: string;
|
320859
|
+
bucketName: string;
|
320860
|
+
fileSize: number;
|
320861
|
+
originalUrl?: string | null | undefined;
|
320862
|
+
} | null | undefined;
|
320863
|
+
scaleOptions?: {
|
320864
|
+
value: string;
|
320865
|
+
label: string;
|
320866
|
+
color?: string | null | undefined;
|
320867
|
+
style?: string | null | undefined;
|
320868
|
+
}[] | null | undefined;
|
321117
320869
|
dispositions?: string[] | undefined;
|
321118
320870
|
}>;
|
321119
320871
|
summary: "Enable or Disable CSAT for channel";
|