@kl1/contracts 1.3.63 → 1.3.65
Sign up to get free protection for your applications and to get access to all the features.
- 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 +96 -0
- 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/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 +309 -451
- 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 +14 -14
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -4
- package/dist/api-contracts/src/index.d.ts +2 -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/api-contracts/src/presence-status/index.d.ts +8 -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 +1742 -1671
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1740 -1671
- 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>;
|
@@ -27001,6 +27114,7 @@ export declare const apiContract: {
|
|
27001
27114
|
}, "strip", import("zod").ZodTypeAny, {
|
27002
27115
|
name: string;
|
27003
27116
|
id: string | null;
|
27117
|
+
holdRoomCount: number;
|
27004
27118
|
sla: number;
|
27005
27119
|
newContactCount: number;
|
27006
27120
|
existingContactCount: number;
|
@@ -27008,10 +27122,10 @@ export declare const apiContract: {
|
|
27008
27122
|
closedRoomCount: number;
|
27009
27123
|
unassignedRoomCount: number;
|
27010
27124
|
assignedRoomCount: number;
|
27011
|
-
holdRoomCount: number;
|
27012
27125
|
}, {
|
27013
27126
|
name: string;
|
27014
27127
|
id: string | null;
|
27128
|
+
holdRoomCount: number;
|
27015
27129
|
sla: number;
|
27016
27130
|
newContactCount: number;
|
27017
27131
|
existingContactCount: number;
|
@@ -27019,7 +27133,6 @@ export declare const apiContract: {
|
|
27019
27133
|
closedRoomCount: number;
|
27020
27134
|
unassignedRoomCount: number;
|
27021
27135
|
assignedRoomCount: number;
|
27022
|
-
holdRoomCount: number;
|
27023
27136
|
}>, "many">;
|
27024
27137
|
page: import("zod").ZodNumber;
|
27025
27138
|
pageSize: import("zod").ZodNumber;
|
@@ -27032,6 +27145,7 @@ export declare const apiContract: {
|
|
27032
27145
|
allMessageQueueData: {
|
27033
27146
|
name: string;
|
27034
27147
|
id: string | null;
|
27148
|
+
holdRoomCount: number;
|
27035
27149
|
sla: number;
|
27036
27150
|
newContactCount: number;
|
27037
27151
|
existingContactCount: number;
|
@@ -27039,7 +27153,6 @@ export declare const apiContract: {
|
|
27039
27153
|
closedRoomCount: number;
|
27040
27154
|
unassignedRoomCount: number;
|
27041
27155
|
assignedRoomCount: number;
|
27042
|
-
holdRoomCount: number;
|
27043
27156
|
}[];
|
27044
27157
|
}, {
|
27045
27158
|
total: number;
|
@@ -27049,6 +27162,7 @@ export declare const apiContract: {
|
|
27049
27162
|
allMessageQueueData: {
|
27050
27163
|
name: string;
|
27051
27164
|
id: string | null;
|
27165
|
+
holdRoomCount: number;
|
27052
27166
|
sla: number;
|
27053
27167
|
newContactCount: number;
|
27054
27168
|
existingContactCount: number;
|
@@ -27056,7 +27170,6 @@ export declare const apiContract: {
|
|
27056
27170
|
closedRoomCount: number;
|
27057
27171
|
unassignedRoomCount: number;
|
27058
27172
|
assignedRoomCount: number;
|
27059
|
-
holdRoomCount: number;
|
27060
27173
|
}[];
|
27061
27174
|
}>;
|
27062
27175
|
};
|
@@ -27094,6 +27207,7 @@ export declare const apiContract: {
|
|
27094
27207
|
}, "strip", import("zod").ZodTypeAny, {
|
27095
27208
|
name: string;
|
27096
27209
|
id: string | null;
|
27210
|
+
holdRoomCount: number;
|
27097
27211
|
sla: number;
|
27098
27212
|
newContactCount: number;
|
27099
27213
|
existingContactCount: number;
|
@@ -27101,10 +27215,10 @@ export declare const apiContract: {
|
|
27101
27215
|
closedRoomCount: number;
|
27102
27216
|
unassignedRoomCount: number;
|
27103
27217
|
assignedRoomCount: number;
|
27104
|
-
holdRoomCount: number;
|
27105
27218
|
}, {
|
27106
27219
|
name: string;
|
27107
27220
|
id: string | null;
|
27221
|
+
holdRoomCount: number;
|
27108
27222
|
sla: number;
|
27109
27223
|
newContactCount: number;
|
27110
27224
|
existingContactCount: number;
|
@@ -27112,13 +27226,13 @@ export declare const apiContract: {
|
|
27112
27226
|
closedRoomCount: number;
|
27113
27227
|
unassignedRoomCount: number;
|
27114
27228
|
assignedRoomCount: number;
|
27115
|
-
holdRoomCount: number;
|
27116
27229
|
}>;
|
27117
27230
|
}, "strip", import("zod").ZodTypeAny, {
|
27118
27231
|
requestId: string;
|
27119
27232
|
messageQueueData: {
|
27120
27233
|
name: string;
|
27121
27234
|
id: string | null;
|
27235
|
+
holdRoomCount: number;
|
27122
27236
|
sla: number;
|
27123
27237
|
newContactCount: number;
|
27124
27238
|
existingContactCount: number;
|
@@ -27126,13 +27240,13 @@ export declare const apiContract: {
|
|
27126
27240
|
closedRoomCount: number;
|
27127
27241
|
unassignedRoomCount: number;
|
27128
27242
|
assignedRoomCount: number;
|
27129
|
-
holdRoomCount: number;
|
27130
27243
|
};
|
27131
27244
|
}, {
|
27132
27245
|
requestId: string;
|
27133
27246
|
messageQueueData: {
|
27134
27247
|
name: string;
|
27135
27248
|
id: string | null;
|
27249
|
+
holdRoomCount: number;
|
27136
27250
|
sla: number;
|
27137
27251
|
newContactCount: number;
|
27138
27252
|
existingContactCount: number;
|
@@ -27140,7 +27254,6 @@ export declare const apiContract: {
|
|
27140
27254
|
closedRoomCount: number;
|
27141
27255
|
unassignedRoomCount: number;
|
27142
27256
|
assignedRoomCount: number;
|
27143
|
-
holdRoomCount: number;
|
27144
27257
|
};
|
27145
27258
|
}>;
|
27146
27259
|
};
|
@@ -27186,18 +27299,18 @@ export declare const apiContract: {
|
|
27186
27299
|
}, "strip", import("zod").ZodTypeAny, {
|
27187
27300
|
name: string;
|
27188
27301
|
id: string;
|
27302
|
+
holdRoomCount: number;
|
27189
27303
|
closedRoomCount: number;
|
27190
27304
|
assignedRoomCount: number;
|
27191
|
-
holdRoomCount: number;
|
27192
27305
|
averageFirstResponseTime: string;
|
27193
27306
|
averageResolutionTime: string;
|
27194
27307
|
totalHandledTime: string;
|
27195
27308
|
}, {
|
27196
27309
|
name: string;
|
27197
27310
|
id: string;
|
27311
|
+
holdRoomCount: number;
|
27198
27312
|
closedRoomCount: number;
|
27199
27313
|
assignedRoomCount: number;
|
27200
|
-
holdRoomCount: number;
|
27201
27314
|
averageFirstResponseTime: string;
|
27202
27315
|
averageResolutionTime: string;
|
27203
27316
|
totalHandledTime: string;
|
@@ -27211,9 +27324,9 @@ export declare const apiContract: {
|
|
27211
27324
|
agentMessageStatistics: {
|
27212
27325
|
name: string;
|
27213
27326
|
id: string;
|
27327
|
+
holdRoomCount: number;
|
27214
27328
|
closedRoomCount: number;
|
27215
27329
|
assignedRoomCount: number;
|
27216
|
-
holdRoomCount: number;
|
27217
27330
|
averageFirstResponseTime: string;
|
27218
27331
|
averageResolutionTime: string;
|
27219
27332
|
totalHandledTime: string;
|
@@ -27227,9 +27340,9 @@ export declare const apiContract: {
|
|
27227
27340
|
agentMessageStatistics: {
|
27228
27341
|
name: string;
|
27229
27342
|
id: string;
|
27343
|
+
holdRoomCount: number;
|
27230
27344
|
closedRoomCount: number;
|
27231
27345
|
assignedRoomCount: number;
|
27232
|
-
holdRoomCount: number;
|
27233
27346
|
averageFirstResponseTime: string;
|
27234
27347
|
averageResolutionTime: string;
|
27235
27348
|
totalHandledTime: string;
|
@@ -27439,14 +27552,14 @@ export declare const apiContract: {
|
|
27439
27552
|
closedRoomCount: import("zod").ZodNumber;
|
27440
27553
|
}, "strip", import("zod").ZodTypeAny, {
|
27441
27554
|
requestId: string;
|
27555
|
+
holdRoomCount: number;
|
27442
27556
|
closedRoomCount: number;
|
27443
27557
|
assignedRoomCount: number;
|
27444
|
-
holdRoomCount: number;
|
27445
27558
|
}, {
|
27446
27559
|
requestId: string;
|
27560
|
+
holdRoomCount: number;
|
27447
27561
|
closedRoomCount: number;
|
27448
27562
|
assignedRoomCount: number;
|
27449
|
-
holdRoomCount: number;
|
27450
27563
|
}>;
|
27451
27564
|
};
|
27452
27565
|
path: "ms/dashboard/room-status-counts-by-user-id";
|
@@ -36477,425 +36590,6 @@ export declare const apiContract: {
|
|
36477
36590
|
};
|
36478
36591
|
};
|
36479
36592
|
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
36593
|
getAgentStatus: {
|
36900
36594
|
summary: "Check and update user agent status before getting from telephony server.";
|
36901
36595
|
method: "GET";
|
@@ -37150,7 +36844,6 @@ export declare const apiContract: {
|
|
37150
36844
|
displayName: string;
|
37151
36845
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37152
36846
|
}>;
|
37153
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37154
36847
|
}, "strip", import("zod").ZodTypeAny, {
|
37155
36848
|
id: string;
|
37156
36849
|
user: {
|
@@ -37212,7 +36905,6 @@ export declare const apiContract: {
|
|
37212
36905
|
displayName: string;
|
37213
36906
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37214
36907
|
};
|
37215
|
-
customPresenceStatus?: string | null | undefined;
|
37216
36908
|
}, {
|
37217
36909
|
id: string;
|
37218
36910
|
user: {
|
@@ -37274,7 +36966,6 @@ export declare const apiContract: {
|
|
37274
36966
|
displayName: string;
|
37275
36967
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37276
36968
|
};
|
37277
|
-
customPresenceStatus?: string | null | undefined;
|
37278
36969
|
}>;
|
37279
36970
|
400: import("zod").ZodObject<{
|
37280
36971
|
message: import("zod").ZodString;
|
@@ -37326,18 +37017,15 @@ export declare const apiContract: {
|
|
37326
37017
|
body: import("zod").ZodObject<{
|
37327
37018
|
userId: import("zod").ZodString;
|
37328
37019
|
presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37329
|
-
customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37330
37020
|
reason: import("zod").ZodString;
|
37331
37021
|
}, "strip", import("zod").ZodTypeAny, {
|
37332
37022
|
reason: string;
|
37333
37023
|
userId: string;
|
37334
37024
|
presenceStatusId?: string | null | undefined;
|
37335
|
-
customPreseneStatus?: string | null | undefined;
|
37336
37025
|
}, {
|
37337
37026
|
reason: string;
|
37338
37027
|
userId: string;
|
37339
37028
|
presenceStatusId?: string | null | undefined;
|
37340
|
-
customPreseneStatus?: string | null | undefined;
|
37341
37029
|
}>;
|
37342
37030
|
summary: "Update presence status";
|
37343
37031
|
method: "POST";
|
@@ -37587,7 +37275,6 @@ export declare const apiContract: {
|
|
37587
37275
|
displayName: string;
|
37588
37276
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37589
37277
|
}>;
|
37590
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37591
37278
|
}, "strip", import("zod").ZodTypeAny, {
|
37592
37279
|
id: string;
|
37593
37280
|
user: {
|
@@ -37649,7 +37336,6 @@ export declare const apiContract: {
|
|
37649
37336
|
displayName: string;
|
37650
37337
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37651
37338
|
};
|
37652
|
-
customPresenceStatus?: string | null | undefined;
|
37653
37339
|
}, {
|
37654
37340
|
id: string;
|
37655
37341
|
user: {
|
@@ -37711,7 +37397,6 @@ export declare const apiContract: {
|
|
37711
37397
|
displayName: string;
|
37712
37398
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37713
37399
|
};
|
37714
|
-
customPresenceStatus?: string | null | undefined;
|
37715
37400
|
}>;
|
37716
37401
|
}, "strip", import("zod").ZodTypeAny, {
|
37717
37402
|
requestId: string;
|
@@ -37776,7 +37461,6 @@ export declare const apiContract: {
|
|
37776
37461
|
displayName: string;
|
37777
37462
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37778
37463
|
};
|
37779
|
-
customPresenceStatus?: string | null | undefined;
|
37780
37464
|
};
|
37781
37465
|
}, {
|
37782
37466
|
requestId: string;
|
@@ -37841,7 +37525,6 @@ export declare const apiContract: {
|
|
37841
37525
|
displayName: string;
|
37842
37526
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37843
37527
|
};
|
37844
|
-
customPresenceStatus?: string | null | undefined;
|
37845
37528
|
};
|
37846
37529
|
}>;
|
37847
37530
|
400: import("zod").ZodObject<{
|
@@ -41595,6 +41278,110 @@ export declare const apiContract: {
|
|
41595
41278
|
path: "ms/bots/";
|
41596
41279
|
};
|
41597
41280
|
};
|
41281
|
+
invoice: {
|
41282
|
+
getInvoices: {
|
41283
|
+
method: "GET";
|
41284
|
+
query: null;
|
41285
|
+
responses: {
|
41286
|
+
200: import("zod").ZodObject<{
|
41287
|
+
requestId: import("zod").ZodString;
|
41288
|
+
invoices: import("zod").ZodArray<import("zod").ZodObject<{
|
41289
|
+
id: import("zod").ZodString;
|
41290
|
+
createdAt: import("zod").ZodDate;
|
41291
|
+
updatedAt: import("zod").ZodDate;
|
41292
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41293
|
+
invoiceId: import("zod").ZodString;
|
41294
|
+
amountPaid: import("zod").ZodNumber;
|
41295
|
+
billingReason: import("zod").ZodString;
|
41296
|
+
collectionMethod: import("zod").ZodString;
|
41297
|
+
created: import("zod").ZodNumber;
|
41298
|
+
currency: import("zod").ZodString;
|
41299
|
+
hostedInvoiceUrl: import("zod").ZodString;
|
41300
|
+
invoicePdf: import("zod").ZodString;
|
41301
|
+
number: import("zod").ZodString;
|
41302
|
+
paid: import("zod").ZodBoolean;
|
41303
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41304
|
+
number: string;
|
41305
|
+
currency: string;
|
41306
|
+
id: string;
|
41307
|
+
createdAt: Date;
|
41308
|
+
updatedAt: Date;
|
41309
|
+
deletedAt: Date | null;
|
41310
|
+
invoiceId: string;
|
41311
|
+
amountPaid: number;
|
41312
|
+
billingReason: string;
|
41313
|
+
collectionMethod: string;
|
41314
|
+
created: number;
|
41315
|
+
hostedInvoiceUrl: string;
|
41316
|
+
invoicePdf: string;
|
41317
|
+
paid: boolean;
|
41318
|
+
}, {
|
41319
|
+
number: string;
|
41320
|
+
currency: string;
|
41321
|
+
id: string;
|
41322
|
+
createdAt: Date;
|
41323
|
+
updatedAt: Date;
|
41324
|
+
deletedAt: Date | null;
|
41325
|
+
invoiceId: string;
|
41326
|
+
amountPaid: number;
|
41327
|
+
billingReason: string;
|
41328
|
+
collectionMethod: string;
|
41329
|
+
created: number;
|
41330
|
+
hostedInvoiceUrl: string;
|
41331
|
+
invoicePdf: string;
|
41332
|
+
paid: boolean;
|
41333
|
+
}>, "many">;
|
41334
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41335
|
+
requestId: string;
|
41336
|
+
invoices: {
|
41337
|
+
number: string;
|
41338
|
+
currency: string;
|
41339
|
+
id: string;
|
41340
|
+
createdAt: Date;
|
41341
|
+
updatedAt: Date;
|
41342
|
+
deletedAt: Date | null;
|
41343
|
+
invoiceId: string;
|
41344
|
+
amountPaid: number;
|
41345
|
+
billingReason: string;
|
41346
|
+
collectionMethod: string;
|
41347
|
+
created: number;
|
41348
|
+
hostedInvoiceUrl: string;
|
41349
|
+
invoicePdf: string;
|
41350
|
+
paid: boolean;
|
41351
|
+
}[];
|
41352
|
+
}, {
|
41353
|
+
requestId: string;
|
41354
|
+
invoices: {
|
41355
|
+
number: string;
|
41356
|
+
currency: string;
|
41357
|
+
id: string;
|
41358
|
+
createdAt: Date;
|
41359
|
+
updatedAt: Date;
|
41360
|
+
deletedAt: Date | null;
|
41361
|
+
invoiceId: string;
|
41362
|
+
amountPaid: number;
|
41363
|
+
billingReason: string;
|
41364
|
+
collectionMethod: string;
|
41365
|
+
created: number;
|
41366
|
+
hostedInvoiceUrl: string;
|
41367
|
+
invoicePdf: string;
|
41368
|
+
paid: boolean;
|
41369
|
+
}[];
|
41370
|
+
}>;
|
41371
|
+
500: import("zod").ZodObject<{
|
41372
|
+
message: import("zod").ZodString;
|
41373
|
+
error: import("zod").ZodAny;
|
41374
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41375
|
+
message: string;
|
41376
|
+
error?: any;
|
41377
|
+
}, {
|
41378
|
+
message: string;
|
41379
|
+
error?: any;
|
41380
|
+
}>;
|
41381
|
+
};
|
41382
|
+
path: "ms/invoices/";
|
41383
|
+
};
|
41384
|
+
};
|
41598
41385
|
};
|
41599
41386
|
export declare const contactContract: {
|
41600
41387
|
contact: {
|
@@ -321004,12 +320791,76 @@ export declare const channelSettingContract: {
|
|
321004
320791
|
updateChannelCsatPreference: {
|
321005
320792
|
body: import("zod").ZodObject<{
|
321006
320793
|
isCSATEnabled: import("zod").ZodBoolean;
|
320794
|
+
headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320795
|
+
image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
320796
|
+
bucketName: import("zod").ZodString;
|
320797
|
+
fileName: import("zod").ZodString;
|
320798
|
+
fileSize: import("zod").ZodNumber;
|
320799
|
+
fileKey: import("zod").ZodString;
|
320800
|
+
originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320801
|
+
}, "strip", import("zod").ZodTypeAny, {
|
320802
|
+
fileName: string;
|
320803
|
+
fileKey: string;
|
320804
|
+
bucketName: string;
|
320805
|
+
fileSize: number;
|
320806
|
+
originalUrl?: string | null | undefined;
|
320807
|
+
}, {
|
320808
|
+
fileName: string;
|
320809
|
+
fileKey: string;
|
320810
|
+
bucketName: string;
|
320811
|
+
fileSize: number;
|
320812
|
+
originalUrl?: string | null | undefined;
|
320813
|
+
}>>>;
|
320814
|
+
scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
320815
|
+
value: import("zod").ZodString;
|
320816
|
+
label: import("zod").ZodString;
|
320817
|
+
color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320818
|
+
style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
320819
|
+
}, "strip", import("zod").ZodTypeAny, {
|
320820
|
+
value: string;
|
320821
|
+
label: string;
|
320822
|
+
color?: string | null | undefined;
|
320823
|
+
style?: string | null | undefined;
|
320824
|
+
}, {
|
320825
|
+
value: string;
|
320826
|
+
label: string;
|
320827
|
+
color?: string | null | undefined;
|
320828
|
+
style?: string | null | undefined;
|
320829
|
+
}>, "many">>>;
|
321007
320830
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
321008
320831
|
}, "strip", import("zod").ZodTypeAny, {
|
321009
320832
|
isCSATEnabled: boolean;
|
320833
|
+
headline?: string | null | undefined;
|
320834
|
+
image?: {
|
320835
|
+
fileName: string;
|
320836
|
+
fileKey: string;
|
320837
|
+
bucketName: string;
|
320838
|
+
fileSize: number;
|
320839
|
+
originalUrl?: string | null | undefined;
|
320840
|
+
} | null | undefined;
|
320841
|
+
scaleOptions?: {
|
320842
|
+
value: string;
|
320843
|
+
label: string;
|
320844
|
+
color?: string | null | undefined;
|
320845
|
+
style?: string | null | undefined;
|
320846
|
+
}[] | null | undefined;
|
321010
320847
|
dispositions?: string[] | undefined;
|
321011
320848
|
}, {
|
321012
320849
|
isCSATEnabled: boolean;
|
320850
|
+
headline?: string | null | undefined;
|
320851
|
+
image?: {
|
320852
|
+
fileName: string;
|
320853
|
+
fileKey: string;
|
320854
|
+
bucketName: string;
|
320855
|
+
fileSize: number;
|
320856
|
+
originalUrl?: string | null | undefined;
|
320857
|
+
} | null | undefined;
|
320858
|
+
scaleOptions?: {
|
320859
|
+
value: string;
|
320860
|
+
label: string;
|
320861
|
+
color?: string | null | undefined;
|
320862
|
+
style?: string | null | undefined;
|
320863
|
+
}[] | null | undefined;
|
321013
320864
|
dispositions?: string[] | undefined;
|
321014
320865
|
}>;
|
321015
320866
|
summary: "Enable or Disable CSAT for channel";
|
@@ -333951,6 +333802,13 @@ export declare const presenceStatusContract: {
|
|
333951
333802
|
getAllStatus: {
|
333952
333803
|
summary: "Get all presence status list.";
|
333953
333804
|
method: "GET";
|
333805
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
333806
|
+
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
333807
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333808
|
+
keyword?: string | undefined;
|
333809
|
+
}, {
|
333810
|
+
keyword?: string | undefined;
|
333811
|
+
}>>;
|
333954
333812
|
responses: {
|
333955
333813
|
200: import("zod").ZodObject<{
|
333956
333814
|
total: import("zod").ZodNumber;
|