@kl1/contracts 1.2.58-uat → 1.2.59-uat
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 +62 -5
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +962 -148
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +290 -1
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +71 -0
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +50 -74
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +8 -11
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +12 -18
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +439 -36
- 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 +13 -15
- 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/user-presence-status-log/index.d.ts +16 -24
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -30
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +47 -6
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
- package/dist/index.js +1610 -1488
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1610 -1488
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12567,14 +12567,17 @@ export declare const apiContract: {
|
|
|
12567
12567
|
closed: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
12568
12568
|
unassignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
12569
12569
|
assignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
12570
|
+
hold: import("zod").ZodNumber;
|
|
12570
12571
|
}, "strip", import("zod").ZodTypeAny, {
|
|
12571
12572
|
total: number | null;
|
|
12572
12573
|
closed: number | null;
|
|
12574
|
+
hold: number;
|
|
12573
12575
|
unassignedOpen: number | null;
|
|
12574
12576
|
assignedOpen: number | null;
|
|
12575
12577
|
}, {
|
|
12576
12578
|
total: number | null;
|
|
12577
12579
|
closed: number | null;
|
|
12580
|
+
hold: number;
|
|
12578
12581
|
unassignedOpen: number | null;
|
|
12579
12582
|
assignedOpen: number | null;
|
|
12580
12583
|
}>;
|
|
@@ -12583,6 +12586,7 @@ export declare const apiContract: {
|
|
|
12583
12586
|
roomStatusCountByStatus: {
|
|
12584
12587
|
total: number | null;
|
|
12585
12588
|
closed: number | null;
|
|
12589
|
+
hold: number;
|
|
12586
12590
|
unassignedOpen: number | null;
|
|
12587
12591
|
assignedOpen: number | null;
|
|
12588
12592
|
};
|
|
@@ -12591,6 +12595,7 @@ export declare const apiContract: {
|
|
|
12591
12595
|
roomStatusCountByStatus: {
|
|
12592
12596
|
total: number | null;
|
|
12593
12597
|
closed: number | null;
|
|
12598
|
+
hold: number;
|
|
12594
12599
|
unassignedOpen: number | null;
|
|
12595
12600
|
assignedOpen: number | null;
|
|
12596
12601
|
};
|
|
@@ -12648,62 +12653,77 @@ export declare const apiContract: {
|
|
|
12648
12653
|
day: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12649
12654
|
avgResolutionTime: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12650
12655
|
avgResponseTime: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12656
|
+
resolutionRate: import("zod").ZodString;
|
|
12651
12657
|
}, "strip", import("zod").ZodTypeAny, {
|
|
12652
12658
|
day: string | null;
|
|
12653
12659
|
avgResolutionTime: string | null;
|
|
12654
12660
|
avgResponseTime: string | null;
|
|
12661
|
+
resolutionRate: string;
|
|
12655
12662
|
}, {
|
|
12656
12663
|
day: string | null;
|
|
12657
12664
|
avgResolutionTime: string | null;
|
|
12658
12665
|
avgResponseTime: string | null;
|
|
12666
|
+
resolutionRate: string;
|
|
12659
12667
|
}>, "many">>>;
|
|
12660
12668
|
previousWeekAvg: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
12661
12669
|
avgResolutionTime: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12662
12670
|
avgResponseTime: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12671
|
+
resolutionRate: import("zod").ZodString;
|
|
12663
12672
|
}, "strip", import("zod").ZodTypeAny, {
|
|
12664
12673
|
avgResolutionTime: string | null;
|
|
12665
12674
|
avgResponseTime: string | null;
|
|
12675
|
+
resolutionRate: string;
|
|
12666
12676
|
}, {
|
|
12667
12677
|
avgResolutionTime: string | null;
|
|
12668
12678
|
avgResponseTime: string | null;
|
|
12679
|
+
resolutionRate: string;
|
|
12669
12680
|
}>>>;
|
|
12670
12681
|
selectedWeekAvg: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
12671
12682
|
avgResolutionTime: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12672
12683
|
avgResponseTime: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12684
|
+
resolutionRate: import("zod").ZodString;
|
|
12673
12685
|
}, "strip", import("zod").ZodTypeAny, {
|
|
12674
12686
|
avgResolutionTime: string | null;
|
|
12675
12687
|
avgResponseTime: string | null;
|
|
12688
|
+
resolutionRate: string;
|
|
12676
12689
|
}, {
|
|
12677
12690
|
avgResolutionTime: string | null;
|
|
12678
12691
|
avgResponseTime: string | null;
|
|
12692
|
+
resolutionRate: string;
|
|
12679
12693
|
}>>>;
|
|
12680
12694
|
}, "strip", import("zod").ZodTypeAny, {
|
|
12681
12695
|
selectedWeekAvgByDay?: {
|
|
12682
12696
|
day: string | null;
|
|
12683
12697
|
avgResolutionTime: string | null;
|
|
12684
12698
|
avgResponseTime: string | null;
|
|
12699
|
+
resolutionRate: string;
|
|
12685
12700
|
}[] | null | undefined;
|
|
12686
12701
|
previousWeekAvg?: {
|
|
12687
12702
|
avgResolutionTime: string | null;
|
|
12688
12703
|
avgResponseTime: string | null;
|
|
12704
|
+
resolutionRate: string;
|
|
12689
12705
|
} | null | undefined;
|
|
12690
12706
|
selectedWeekAvg?: {
|
|
12691
12707
|
avgResolutionTime: string | null;
|
|
12692
12708
|
avgResponseTime: string | null;
|
|
12709
|
+
resolutionRate: string;
|
|
12693
12710
|
} | null | undefined;
|
|
12694
12711
|
}, {
|
|
12695
12712
|
selectedWeekAvgByDay?: {
|
|
12696
12713
|
day: string | null;
|
|
12697
12714
|
avgResolutionTime: string | null;
|
|
12698
12715
|
avgResponseTime: string | null;
|
|
12716
|
+
resolutionRate: string;
|
|
12699
12717
|
}[] | null | undefined;
|
|
12700
12718
|
previousWeekAvg?: {
|
|
12701
12719
|
avgResolutionTime: string | null;
|
|
12702
12720
|
avgResponseTime: string | null;
|
|
12721
|
+
resolutionRate: string;
|
|
12703
12722
|
} | null | undefined;
|
|
12704
12723
|
selectedWeekAvg?: {
|
|
12705
12724
|
avgResolutionTime: string | null;
|
|
12706
12725
|
avgResponseTime: string | null;
|
|
12726
|
+
resolutionRate: string;
|
|
12707
12727
|
} | null | undefined;
|
|
12708
12728
|
}>;
|
|
12709
12729
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -12713,14 +12733,17 @@ export declare const apiContract: {
|
|
|
12713
12733
|
day: string | null;
|
|
12714
12734
|
avgResolutionTime: string | null;
|
|
12715
12735
|
avgResponseTime: string | null;
|
|
12736
|
+
resolutionRate: string;
|
|
12716
12737
|
}[] | null | undefined;
|
|
12717
12738
|
previousWeekAvg?: {
|
|
12718
12739
|
avgResolutionTime: string | null;
|
|
12719
12740
|
avgResponseTime: string | null;
|
|
12741
|
+
resolutionRate: string;
|
|
12720
12742
|
} | null | undefined;
|
|
12721
12743
|
selectedWeekAvg?: {
|
|
12722
12744
|
avgResolutionTime: string | null;
|
|
12723
12745
|
avgResponseTime: string | null;
|
|
12746
|
+
resolutionRate: string;
|
|
12724
12747
|
} | null | undefined;
|
|
12725
12748
|
};
|
|
12726
12749
|
}, {
|
|
@@ -12730,14 +12753,17 @@ export declare const apiContract: {
|
|
|
12730
12753
|
day: string | null;
|
|
12731
12754
|
avgResolutionTime: string | null;
|
|
12732
12755
|
avgResponseTime: string | null;
|
|
12756
|
+
resolutionRate: string;
|
|
12733
12757
|
}[] | null | undefined;
|
|
12734
12758
|
previousWeekAvg?: {
|
|
12735
12759
|
avgResolutionTime: string | null;
|
|
12736
12760
|
avgResponseTime: string | null;
|
|
12761
|
+
resolutionRate: string;
|
|
12737
12762
|
} | null | undefined;
|
|
12738
12763
|
selectedWeekAvg?: {
|
|
12739
12764
|
avgResolutionTime: string | null;
|
|
12740
12765
|
avgResponseTime: string | null;
|
|
12766
|
+
resolutionRate: string;
|
|
12741
12767
|
} | null | undefined;
|
|
12742
12768
|
};
|
|
12743
12769
|
}>;
|
|
@@ -13126,6 +13152,268 @@ export declare const apiContract: {
|
|
|
13126
13152
|
};
|
|
13127
13153
|
path: "dashboard/call-counts";
|
|
13128
13154
|
};
|
|
13155
|
+
getAllQueueSLA: {
|
|
13156
|
+
method: "GET";
|
|
13157
|
+
query: import("zod").ZodObject<{
|
|
13158
|
+
selectedDate: import("zod").ZodString;
|
|
13159
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13160
|
+
selectedDate: string;
|
|
13161
|
+
}, {
|
|
13162
|
+
selectedDate: string;
|
|
13163
|
+
}>;
|
|
13164
|
+
responses: {
|
|
13165
|
+
200: import("zod").ZodObject<{
|
|
13166
|
+
requestId: import("zod").ZodString;
|
|
13167
|
+
allQueueSLA: import("zod").ZodNumber;
|
|
13168
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13169
|
+
requestId: string;
|
|
13170
|
+
allQueueSLA: number;
|
|
13171
|
+
}, {
|
|
13172
|
+
requestId: string;
|
|
13173
|
+
allQueueSLA: number;
|
|
13174
|
+
}>;
|
|
13175
|
+
};
|
|
13176
|
+
path: "dashboard/all-queue-sla";
|
|
13177
|
+
};
|
|
13178
|
+
getAllMessageQueueData: {
|
|
13179
|
+
method: "GET";
|
|
13180
|
+
query: import("zod").ZodObject<{
|
|
13181
|
+
selectedDate: import("zod").ZodString;
|
|
13182
|
+
page: import("zod").ZodNumber;
|
|
13183
|
+
pageSize: import("zod").ZodNumber;
|
|
13184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13185
|
+
page: number;
|
|
13186
|
+
pageSize: number;
|
|
13187
|
+
selectedDate: string;
|
|
13188
|
+
}, {
|
|
13189
|
+
page: number;
|
|
13190
|
+
pageSize: number;
|
|
13191
|
+
selectedDate: string;
|
|
13192
|
+
}>;
|
|
13193
|
+
responses: {
|
|
13194
|
+
200: import("zod").ZodObject<{
|
|
13195
|
+
requestId: import("zod").ZodString;
|
|
13196
|
+
allMessageQueueData: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13197
|
+
id: import("zod").ZodNullable<import("zod").ZodString>;
|
|
13198
|
+
name: import("zod").ZodString;
|
|
13199
|
+
sla: import("zod").ZodNumber;
|
|
13200
|
+
newContactCount: import("zod").ZodNumber;
|
|
13201
|
+
existingContactCount: import("zod").ZodNumber;
|
|
13202
|
+
totalRoomCount: import("zod").ZodNumber;
|
|
13203
|
+
closedRoomCount: import("zod").ZodNumber;
|
|
13204
|
+
unassignedRoomCount: import("zod").ZodNumber;
|
|
13205
|
+
assignedRoomCount: import("zod").ZodNumber;
|
|
13206
|
+
holdRoomCount: import("zod").ZodNumber;
|
|
13207
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13208
|
+
name: string;
|
|
13209
|
+
id: string | null;
|
|
13210
|
+
sla: number;
|
|
13211
|
+
newContactCount: number;
|
|
13212
|
+
existingContactCount: number;
|
|
13213
|
+
totalRoomCount: number;
|
|
13214
|
+
closedRoomCount: number;
|
|
13215
|
+
unassignedRoomCount: number;
|
|
13216
|
+
assignedRoomCount: number;
|
|
13217
|
+
holdRoomCount: number;
|
|
13218
|
+
}, {
|
|
13219
|
+
name: string;
|
|
13220
|
+
id: string | null;
|
|
13221
|
+
sla: number;
|
|
13222
|
+
newContactCount: number;
|
|
13223
|
+
existingContactCount: number;
|
|
13224
|
+
totalRoomCount: number;
|
|
13225
|
+
closedRoomCount: number;
|
|
13226
|
+
unassignedRoomCount: number;
|
|
13227
|
+
assignedRoomCount: number;
|
|
13228
|
+
holdRoomCount: number;
|
|
13229
|
+
}>, "many">;
|
|
13230
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13231
|
+
requestId: string;
|
|
13232
|
+
allMessageQueueData: {
|
|
13233
|
+
name: string;
|
|
13234
|
+
id: string | null;
|
|
13235
|
+
sla: number;
|
|
13236
|
+
newContactCount: number;
|
|
13237
|
+
existingContactCount: number;
|
|
13238
|
+
totalRoomCount: number;
|
|
13239
|
+
closedRoomCount: number;
|
|
13240
|
+
unassignedRoomCount: number;
|
|
13241
|
+
assignedRoomCount: number;
|
|
13242
|
+
holdRoomCount: number;
|
|
13243
|
+
}[];
|
|
13244
|
+
}, {
|
|
13245
|
+
requestId: string;
|
|
13246
|
+
allMessageQueueData: {
|
|
13247
|
+
name: string;
|
|
13248
|
+
id: string | null;
|
|
13249
|
+
sla: number;
|
|
13250
|
+
newContactCount: number;
|
|
13251
|
+
existingContactCount: number;
|
|
13252
|
+
totalRoomCount: number;
|
|
13253
|
+
closedRoomCount: number;
|
|
13254
|
+
unassignedRoomCount: number;
|
|
13255
|
+
assignedRoomCount: number;
|
|
13256
|
+
holdRoomCount: number;
|
|
13257
|
+
}[];
|
|
13258
|
+
}>;
|
|
13259
|
+
};
|
|
13260
|
+
path: "dashboard/all-message-queue-data";
|
|
13261
|
+
};
|
|
13262
|
+
getMessageQueueData: {
|
|
13263
|
+
method: "GET";
|
|
13264
|
+
query: import("zod").ZodObject<{
|
|
13265
|
+
automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13266
|
+
selectedDate: import("zod").ZodString;
|
|
13267
|
+
channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
13268
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13269
|
+
selectedDate: string;
|
|
13270
|
+
automationQueueId?: string | undefined;
|
|
13271
|
+
channelIds?: string[] | undefined;
|
|
13272
|
+
}, {
|
|
13273
|
+
selectedDate: string;
|
|
13274
|
+
automationQueueId?: string | undefined;
|
|
13275
|
+
channelIds?: string[] | undefined;
|
|
13276
|
+
}>;
|
|
13277
|
+
responses: {
|
|
13278
|
+
200: import("zod").ZodObject<{
|
|
13279
|
+
requestId: import("zod").ZodString;
|
|
13280
|
+
messageQueueData: import("zod").ZodObject<{
|
|
13281
|
+
id: import("zod").ZodNullable<import("zod").ZodString>;
|
|
13282
|
+
name: import("zod").ZodString;
|
|
13283
|
+
sla: import("zod").ZodNumber;
|
|
13284
|
+
newContactCount: import("zod").ZodNumber;
|
|
13285
|
+
existingContactCount: import("zod").ZodNumber;
|
|
13286
|
+
totalRoomCount: import("zod").ZodNumber;
|
|
13287
|
+
closedRoomCount: import("zod").ZodNumber;
|
|
13288
|
+
unassignedRoomCount: import("zod").ZodNumber;
|
|
13289
|
+
assignedRoomCount: import("zod").ZodNumber;
|
|
13290
|
+
holdRoomCount: import("zod").ZodNumber;
|
|
13291
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13292
|
+
name: string;
|
|
13293
|
+
id: string | null;
|
|
13294
|
+
sla: number;
|
|
13295
|
+
newContactCount: number;
|
|
13296
|
+
existingContactCount: number;
|
|
13297
|
+
totalRoomCount: number;
|
|
13298
|
+
closedRoomCount: number;
|
|
13299
|
+
unassignedRoomCount: number;
|
|
13300
|
+
assignedRoomCount: number;
|
|
13301
|
+
holdRoomCount: number;
|
|
13302
|
+
}, {
|
|
13303
|
+
name: string;
|
|
13304
|
+
id: string | null;
|
|
13305
|
+
sla: number;
|
|
13306
|
+
newContactCount: number;
|
|
13307
|
+
existingContactCount: number;
|
|
13308
|
+
totalRoomCount: number;
|
|
13309
|
+
closedRoomCount: number;
|
|
13310
|
+
unassignedRoomCount: number;
|
|
13311
|
+
assignedRoomCount: number;
|
|
13312
|
+
holdRoomCount: number;
|
|
13313
|
+
}>;
|
|
13314
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13315
|
+
requestId: string;
|
|
13316
|
+
messageQueueData: {
|
|
13317
|
+
name: string;
|
|
13318
|
+
id: string | null;
|
|
13319
|
+
sla: number;
|
|
13320
|
+
newContactCount: number;
|
|
13321
|
+
existingContactCount: number;
|
|
13322
|
+
totalRoomCount: number;
|
|
13323
|
+
closedRoomCount: number;
|
|
13324
|
+
unassignedRoomCount: number;
|
|
13325
|
+
assignedRoomCount: number;
|
|
13326
|
+
holdRoomCount: number;
|
|
13327
|
+
};
|
|
13328
|
+
}, {
|
|
13329
|
+
requestId: string;
|
|
13330
|
+
messageQueueData: {
|
|
13331
|
+
name: string;
|
|
13332
|
+
id: string | null;
|
|
13333
|
+
sla: number;
|
|
13334
|
+
newContactCount: number;
|
|
13335
|
+
existingContactCount: number;
|
|
13336
|
+
totalRoomCount: number;
|
|
13337
|
+
closedRoomCount: number;
|
|
13338
|
+
unassignedRoomCount: number;
|
|
13339
|
+
assignedRoomCount: number;
|
|
13340
|
+
holdRoomCount: number;
|
|
13341
|
+
};
|
|
13342
|
+
}>;
|
|
13343
|
+
};
|
|
13344
|
+
path: "dashboard/message-queue-data";
|
|
13345
|
+
};
|
|
13346
|
+
getAgentMessageStatistics: {
|
|
13347
|
+
method: "GET";
|
|
13348
|
+
query: import("zod").ZodObject<{
|
|
13349
|
+
automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13350
|
+
selectedDate: import("zod").ZodString;
|
|
13351
|
+
channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
13352
|
+
page: import("zod").ZodNumber;
|
|
13353
|
+
pageSize: import("zod").ZodNumber;
|
|
13354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13355
|
+
page: number;
|
|
13356
|
+
pageSize: number;
|
|
13357
|
+
selectedDate: string;
|
|
13358
|
+
automationQueueId?: string | undefined;
|
|
13359
|
+
channelIds?: string[] | undefined;
|
|
13360
|
+
}, {
|
|
13361
|
+
page: number;
|
|
13362
|
+
pageSize: number;
|
|
13363
|
+
selectedDate: string;
|
|
13364
|
+
automationQueueId?: string | undefined;
|
|
13365
|
+
channelIds?: string[] | undefined;
|
|
13366
|
+
}>;
|
|
13367
|
+
responses: {
|
|
13368
|
+
200: import("zod").ZodObject<{
|
|
13369
|
+
requestId: import("zod").ZodString;
|
|
13370
|
+
page: import("zod").ZodNumber;
|
|
13371
|
+
pageSize: import("zod").ZodNumber;
|
|
13372
|
+
agentMessageStatistics: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13373
|
+
id: import("zod").ZodString;
|
|
13374
|
+
name: import("zod").ZodString;
|
|
13375
|
+
openedRoomCount: import("zod").ZodNumber;
|
|
13376
|
+
holdRoomCount: import("zod").ZodNumber;
|
|
13377
|
+
closedRoomCount: import("zod").ZodNumber;
|
|
13378
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13379
|
+
name: string;
|
|
13380
|
+
id: string;
|
|
13381
|
+
closedRoomCount: number;
|
|
13382
|
+
holdRoomCount: number;
|
|
13383
|
+
openedRoomCount: number;
|
|
13384
|
+
}, {
|
|
13385
|
+
name: string;
|
|
13386
|
+
id: string;
|
|
13387
|
+
closedRoomCount: number;
|
|
13388
|
+
holdRoomCount: number;
|
|
13389
|
+
openedRoomCount: number;
|
|
13390
|
+
}>, "many">;
|
|
13391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13392
|
+
page: number;
|
|
13393
|
+
pageSize: number;
|
|
13394
|
+
requestId: string;
|
|
13395
|
+
agentMessageStatistics: {
|
|
13396
|
+
name: string;
|
|
13397
|
+
id: string;
|
|
13398
|
+
closedRoomCount: number;
|
|
13399
|
+
holdRoomCount: number;
|
|
13400
|
+
openedRoomCount: number;
|
|
13401
|
+
}[];
|
|
13402
|
+
}, {
|
|
13403
|
+
page: number;
|
|
13404
|
+
pageSize: number;
|
|
13405
|
+
requestId: string;
|
|
13406
|
+
agentMessageStatistics: {
|
|
13407
|
+
name: string;
|
|
13408
|
+
id: string;
|
|
13409
|
+
closedRoomCount: number;
|
|
13410
|
+
holdRoomCount: number;
|
|
13411
|
+
openedRoomCount: number;
|
|
13412
|
+
}[];
|
|
13413
|
+
}>;
|
|
13414
|
+
};
|
|
13415
|
+
path: "dashboard/agent-message-statistics";
|
|
13416
|
+
};
|
|
13129
13417
|
};
|
|
13130
13418
|
permission: {
|
|
13131
13419
|
getPermissions: {
|
|
@@ -32246,7 +32534,7 @@ export declare const apiContract: {
|
|
|
32246
32534
|
error?: any;
|
|
32247
32535
|
}>;
|
|
32248
32536
|
};
|
|
32249
|
-
path: "channel/whatsapp/
|
|
32537
|
+
path: "channel/whatsapp/mobile";
|
|
32250
32538
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32251
32539
|
'x-tenant': import("zod").ZodString;
|
|
32252
32540
|
'x-service-token': import("zod").ZodString;
|
|
@@ -32267,11 +32555,11 @@ export declare const apiContract: {
|
|
|
32267
32555
|
getWaapiQr: {
|
|
32268
32556
|
method: "GET";
|
|
32269
32557
|
query: import("zod").ZodObject<{
|
|
32270
|
-
|
|
32558
|
+
instanceId: import("zod").ZodString;
|
|
32271
32559
|
}, "strip", import("zod").ZodTypeAny, {
|
|
32272
|
-
|
|
32560
|
+
instanceId: string;
|
|
32273
32561
|
}, {
|
|
32274
|
-
|
|
32562
|
+
instanceId: string;
|
|
32275
32563
|
}>;
|
|
32276
32564
|
responses: {
|
|
32277
32565
|
200: import("zod").ZodObject<{
|
|
@@ -32320,7 +32608,64 @@ export declare const apiContract: {
|
|
|
32320
32608
|
error?: any;
|
|
32321
32609
|
}>;
|
|
32322
32610
|
};
|
|
32323
|
-
path: "channel/whatsapp/
|
|
32611
|
+
path: "channel/whatsapp/mobile/qr";
|
|
32612
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32613
|
+
'x-tenant': import("zod").ZodString;
|
|
32614
|
+
'x-service-token': import("zod").ZodString;
|
|
32615
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
|
32616
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
|
32617
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32618
|
+
'x-tenant': string;
|
|
32619
|
+
'x-service-token': string;
|
|
32620
|
+
'x-client-timezone': string;
|
|
32621
|
+
'x-code'?: string | undefined;
|
|
32622
|
+
}, {
|
|
32623
|
+
'x-tenant': string;
|
|
32624
|
+
'x-service-token': string;
|
|
32625
|
+
'x-code'?: string | undefined;
|
|
32626
|
+
'x-client-timezone'?: string | undefined;
|
|
32627
|
+
}>>>;
|
|
32628
|
+
};
|
|
32629
|
+
deleteWaapi: {
|
|
32630
|
+
body: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
32631
|
+
method: "DELETE";
|
|
32632
|
+
pathParams: import("zod").ZodObject<{
|
|
32633
|
+
instanceId: import("zod").ZodString;
|
|
32634
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32635
|
+
instanceId: string;
|
|
32636
|
+
}, {
|
|
32637
|
+
instanceId: string;
|
|
32638
|
+
}>;
|
|
32639
|
+
responses: {
|
|
32640
|
+
200: import("zod").ZodObject<{
|
|
32641
|
+
requestId: import("zod").ZodString;
|
|
32642
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32643
|
+
requestId: string;
|
|
32644
|
+
}, {
|
|
32645
|
+
requestId: string;
|
|
32646
|
+
}>;
|
|
32647
|
+
500: import("zod").ZodObject<{
|
|
32648
|
+
message: import("zod").ZodString;
|
|
32649
|
+
error: import("zod").ZodAny;
|
|
32650
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32651
|
+
message: string;
|
|
32652
|
+
error?: any;
|
|
32653
|
+
}, {
|
|
32654
|
+
message: string;
|
|
32655
|
+
error?: any;
|
|
32656
|
+
}>;
|
|
32657
|
+
400: import("zod").ZodObject<{
|
|
32658
|
+
message: import("zod").ZodString;
|
|
32659
|
+
error: import("zod").ZodAny;
|
|
32660
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32661
|
+
message: string;
|
|
32662
|
+
error?: any;
|
|
32663
|
+
}, {
|
|
32664
|
+
message: string;
|
|
32665
|
+
error?: any;
|
|
32666
|
+
}>;
|
|
32667
|
+
};
|
|
32668
|
+
path: "channel/whatsapp/mobile/:instanceId";
|
|
32324
32669
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32325
32670
|
'x-tenant': import("zod").ZodString;
|
|
32326
32671
|
'x-service-token': import("zod").ZodString;
|
|
@@ -32517,6 +32862,410 @@ export declare const apiContract: {
|
|
|
32517
32862
|
};
|
|
32518
32863
|
};
|
|
32519
32864
|
agentPresenceStatus: {
|
|
32865
|
+
getAllAgentStatus: {
|
|
32866
|
+
summary: "Get all user presence status list.";
|
|
32867
|
+
method: "GET";
|
|
32868
|
+
responses: {
|
|
32869
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
|
32870
|
+
id: import("zod").ZodString;
|
|
32871
|
+
createdAt: import("zod").ZodDate;
|
|
32872
|
+
updatedAt: import("zod").ZodDate;
|
|
32873
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32874
|
+
user: import("zod").ZodObject<{
|
|
32875
|
+
id: import("zod").ZodString;
|
|
32876
|
+
createdAt: import("zod").ZodDate;
|
|
32877
|
+
updatedAt: import("zod").ZodDate;
|
|
32878
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32879
|
+
name: import("zod").ZodString;
|
|
32880
|
+
email: import("zod").ZodString;
|
|
32881
|
+
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32882
|
+
password: import("zod").ZodString;
|
|
32883
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32884
|
+
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32885
|
+
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
32886
|
+
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
|
32887
|
+
id: import("zod").ZodString;
|
|
32888
|
+
createdAt: import("zod").ZodDate;
|
|
32889
|
+
updatedAt: import("zod").ZodDate;
|
|
32890
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32891
|
+
systemName: import("zod").ZodString;
|
|
32892
|
+
displayName: import("zod").ZodString;
|
|
32893
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32894
|
+
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
32895
|
+
id: import("zod").ZodString;
|
|
32896
|
+
createdAt: import("zod").ZodDate;
|
|
32897
|
+
updatedAt: import("zod").ZodDate;
|
|
32898
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32899
|
+
systemName: import("zod").ZodString;
|
|
32900
|
+
displayName: import("zod").ZodString;
|
|
32901
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32902
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32903
|
+
id: string;
|
|
32904
|
+
description: string | null;
|
|
32905
|
+
createdAt: Date;
|
|
32906
|
+
updatedAt: Date;
|
|
32907
|
+
deletedAt: Date | null;
|
|
32908
|
+
systemName: string;
|
|
32909
|
+
displayName: string;
|
|
32910
|
+
}, {
|
|
32911
|
+
id: string;
|
|
32912
|
+
description: string | null;
|
|
32913
|
+
createdAt: Date;
|
|
32914
|
+
updatedAt: Date;
|
|
32915
|
+
deletedAt: Date | null;
|
|
32916
|
+
systemName: string;
|
|
32917
|
+
displayName: string;
|
|
32918
|
+
}>, "many">;
|
|
32919
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32920
|
+
id: string;
|
|
32921
|
+
description: string | null;
|
|
32922
|
+
createdAt: Date;
|
|
32923
|
+
updatedAt: Date;
|
|
32924
|
+
deletedAt: Date | null;
|
|
32925
|
+
systemName: string;
|
|
32926
|
+
displayName: string;
|
|
32927
|
+
permissions: {
|
|
32928
|
+
id: string;
|
|
32929
|
+
description: string | null;
|
|
32930
|
+
createdAt: Date;
|
|
32931
|
+
updatedAt: Date;
|
|
32932
|
+
deletedAt: Date | null;
|
|
32933
|
+
systemName: string;
|
|
32934
|
+
displayName: string;
|
|
32935
|
+
}[];
|
|
32936
|
+
}, {
|
|
32937
|
+
id: string;
|
|
32938
|
+
description: string | null;
|
|
32939
|
+
createdAt: Date;
|
|
32940
|
+
updatedAt: Date;
|
|
32941
|
+
deletedAt: Date | null;
|
|
32942
|
+
systemName: string;
|
|
32943
|
+
displayName: string;
|
|
32944
|
+
permissions: {
|
|
32945
|
+
id: string;
|
|
32946
|
+
description: string | null;
|
|
32947
|
+
createdAt: Date;
|
|
32948
|
+
updatedAt: Date;
|
|
32949
|
+
deletedAt: Date | null;
|
|
32950
|
+
systemName: string;
|
|
32951
|
+
displayName: string;
|
|
32952
|
+
}[];
|
|
32953
|
+
}>, "many">;
|
|
32954
|
+
extension: import("zod").ZodObject<{
|
|
32955
|
+
id: import("zod").ZodString;
|
|
32956
|
+
createdAt: import("zod").ZodDate;
|
|
32957
|
+
updatedAt: import("zod").ZodDate;
|
|
32958
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32959
|
+
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32960
|
+
sipServerUrl: import("zod").ZodString;
|
|
32961
|
+
sipUserName: import("zod").ZodString;
|
|
32962
|
+
webphoneLoginUser: import("zod").ZodString;
|
|
32963
|
+
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32964
|
+
extensionName: import("zod").ZodString;
|
|
32965
|
+
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32966
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32967
|
+
id: string;
|
|
32968
|
+
createdAt: Date;
|
|
32969
|
+
updatedAt: Date;
|
|
32970
|
+
deletedAt: Date | null;
|
|
32971
|
+
userId: string | null;
|
|
32972
|
+
sipServerUrl: string;
|
|
32973
|
+
sipUserName: string;
|
|
32974
|
+
webphoneLoginUser: string;
|
|
32975
|
+
extensionId: string | null;
|
|
32976
|
+
extensionName: string;
|
|
32977
|
+
telephonySignature: string | null;
|
|
32978
|
+
}, {
|
|
32979
|
+
id: string;
|
|
32980
|
+
createdAt: Date;
|
|
32981
|
+
updatedAt: Date;
|
|
32982
|
+
deletedAt: Date | null;
|
|
32983
|
+
userId: string | null;
|
|
32984
|
+
sipServerUrl: string;
|
|
32985
|
+
sipUserName: string;
|
|
32986
|
+
webphoneLoginUser: string;
|
|
32987
|
+
extensionId: string | null;
|
|
32988
|
+
extensionName: string;
|
|
32989
|
+
telephonySignature: string | null;
|
|
32990
|
+
}>;
|
|
32991
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32992
|
+
name: string;
|
|
32993
|
+
id: string;
|
|
32994
|
+
address: string | null;
|
|
32995
|
+
email: string;
|
|
32996
|
+
createdAt: Date;
|
|
32997
|
+
updatedAt: Date;
|
|
32998
|
+
deletedAt: Date | null;
|
|
32999
|
+
emailVerifiedAt: Date | null;
|
|
33000
|
+
password: string;
|
|
33001
|
+
phone: string | null;
|
|
33002
|
+
notificationCount: number | null;
|
|
33003
|
+
roles: {
|
|
33004
|
+
id: string;
|
|
33005
|
+
description: string | null;
|
|
33006
|
+
createdAt: Date;
|
|
33007
|
+
updatedAt: Date;
|
|
33008
|
+
deletedAt: Date | null;
|
|
33009
|
+
systemName: string;
|
|
33010
|
+
displayName: string;
|
|
33011
|
+
permissions: {
|
|
33012
|
+
id: string;
|
|
33013
|
+
description: string | null;
|
|
33014
|
+
createdAt: Date;
|
|
33015
|
+
updatedAt: Date;
|
|
33016
|
+
deletedAt: Date | null;
|
|
33017
|
+
systemName: string;
|
|
33018
|
+
displayName: string;
|
|
33019
|
+
}[];
|
|
33020
|
+
}[];
|
|
33021
|
+
extension: {
|
|
33022
|
+
id: string;
|
|
33023
|
+
createdAt: Date;
|
|
33024
|
+
updatedAt: Date;
|
|
33025
|
+
deletedAt: Date | null;
|
|
33026
|
+
userId: string | null;
|
|
33027
|
+
sipServerUrl: string;
|
|
33028
|
+
sipUserName: string;
|
|
33029
|
+
webphoneLoginUser: string;
|
|
33030
|
+
extensionId: string | null;
|
|
33031
|
+
extensionName: string;
|
|
33032
|
+
telephonySignature: string | null;
|
|
33033
|
+
};
|
|
33034
|
+
}, {
|
|
33035
|
+
name: string;
|
|
33036
|
+
id: string;
|
|
33037
|
+
address: string | null;
|
|
33038
|
+
email: string;
|
|
33039
|
+
createdAt: Date;
|
|
33040
|
+
updatedAt: Date;
|
|
33041
|
+
deletedAt: Date | null;
|
|
33042
|
+
emailVerifiedAt: Date | null;
|
|
33043
|
+
password: string;
|
|
33044
|
+
phone: string | null;
|
|
33045
|
+
notificationCount: number | null;
|
|
33046
|
+
roles: {
|
|
33047
|
+
id: string;
|
|
33048
|
+
description: string | null;
|
|
33049
|
+
createdAt: Date;
|
|
33050
|
+
updatedAt: Date;
|
|
33051
|
+
deletedAt: Date | null;
|
|
33052
|
+
systemName: string;
|
|
33053
|
+
displayName: string;
|
|
33054
|
+
permissions: {
|
|
33055
|
+
id: string;
|
|
33056
|
+
description: string | null;
|
|
33057
|
+
createdAt: Date;
|
|
33058
|
+
updatedAt: Date;
|
|
33059
|
+
deletedAt: Date | null;
|
|
33060
|
+
systemName: string;
|
|
33061
|
+
displayName: string;
|
|
33062
|
+
}[];
|
|
33063
|
+
}[];
|
|
33064
|
+
extension: {
|
|
33065
|
+
id: string;
|
|
33066
|
+
createdAt: Date;
|
|
33067
|
+
updatedAt: Date;
|
|
33068
|
+
deletedAt: Date | null;
|
|
33069
|
+
userId: string | null;
|
|
33070
|
+
sipServerUrl: string;
|
|
33071
|
+
sipUserName: string;
|
|
33072
|
+
webphoneLoginUser: string;
|
|
33073
|
+
extensionId: string | null;
|
|
33074
|
+
extensionName: string;
|
|
33075
|
+
telephonySignature: string | null;
|
|
33076
|
+
};
|
|
33077
|
+
}>;
|
|
33078
|
+
presenceStatus: import("zod").ZodObject<{
|
|
33079
|
+
id: import("zod").ZodString;
|
|
33080
|
+
createdAt: import("zod").ZodDate;
|
|
33081
|
+
updatedAt: import("zod").ZodDate;
|
|
33082
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
33083
|
+
status: import("zod").ZodString;
|
|
33084
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
33085
|
+
position: import("zod").ZodNumber;
|
|
33086
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33087
|
+
id: string;
|
|
33088
|
+
position: number;
|
|
33089
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33090
|
+
status: string;
|
|
33091
|
+
createdAt: Date;
|
|
33092
|
+
updatedAt: Date;
|
|
33093
|
+
deletedAt: Date | null;
|
|
33094
|
+
}, {
|
|
33095
|
+
id: string;
|
|
33096
|
+
position: number;
|
|
33097
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33098
|
+
status: string;
|
|
33099
|
+
createdAt: Date;
|
|
33100
|
+
updatedAt: Date;
|
|
33101
|
+
deletedAt: Date | null;
|
|
33102
|
+
}>;
|
|
33103
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
33104
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33105
|
+
id: string;
|
|
33106
|
+
user: {
|
|
33107
|
+
name: string;
|
|
33108
|
+
id: string;
|
|
33109
|
+
address: string | null;
|
|
33110
|
+
email: string;
|
|
33111
|
+
createdAt: Date;
|
|
33112
|
+
updatedAt: Date;
|
|
33113
|
+
deletedAt: Date | null;
|
|
33114
|
+
emailVerifiedAt: Date | null;
|
|
33115
|
+
password: string;
|
|
33116
|
+
phone: string | null;
|
|
33117
|
+
notificationCount: number | null;
|
|
33118
|
+
roles: {
|
|
33119
|
+
id: string;
|
|
33120
|
+
description: string | null;
|
|
33121
|
+
createdAt: Date;
|
|
33122
|
+
updatedAt: Date;
|
|
33123
|
+
deletedAt: Date | null;
|
|
33124
|
+
systemName: string;
|
|
33125
|
+
displayName: string;
|
|
33126
|
+
permissions: {
|
|
33127
|
+
id: string;
|
|
33128
|
+
description: string | null;
|
|
33129
|
+
createdAt: Date;
|
|
33130
|
+
updatedAt: Date;
|
|
33131
|
+
deletedAt: Date | null;
|
|
33132
|
+
systemName: string;
|
|
33133
|
+
displayName: string;
|
|
33134
|
+
}[];
|
|
33135
|
+
}[];
|
|
33136
|
+
extension: {
|
|
33137
|
+
id: string;
|
|
33138
|
+
createdAt: Date;
|
|
33139
|
+
updatedAt: Date;
|
|
33140
|
+
deletedAt: Date | null;
|
|
33141
|
+
userId: string | null;
|
|
33142
|
+
sipServerUrl: string;
|
|
33143
|
+
sipUserName: string;
|
|
33144
|
+
webphoneLoginUser: string;
|
|
33145
|
+
extensionId: string | null;
|
|
33146
|
+
extensionName: string;
|
|
33147
|
+
telephonySignature: string | null;
|
|
33148
|
+
};
|
|
33149
|
+
};
|
|
33150
|
+
createdAt: Date;
|
|
33151
|
+
updatedAt: Date;
|
|
33152
|
+
deletedAt: Date | null;
|
|
33153
|
+
presenceStatus: {
|
|
33154
|
+
id: string;
|
|
33155
|
+
position: number;
|
|
33156
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33157
|
+
status: string;
|
|
33158
|
+
createdAt: Date;
|
|
33159
|
+
updatedAt: Date;
|
|
33160
|
+
deletedAt: Date | null;
|
|
33161
|
+
};
|
|
33162
|
+
customPresenceStatus?: string | null | undefined;
|
|
33163
|
+
}, {
|
|
33164
|
+
id: string;
|
|
33165
|
+
user: {
|
|
33166
|
+
name: string;
|
|
33167
|
+
id: string;
|
|
33168
|
+
address: string | null;
|
|
33169
|
+
email: string;
|
|
33170
|
+
createdAt: Date;
|
|
33171
|
+
updatedAt: Date;
|
|
33172
|
+
deletedAt: Date | null;
|
|
33173
|
+
emailVerifiedAt: Date | null;
|
|
33174
|
+
password: string;
|
|
33175
|
+
phone: string | null;
|
|
33176
|
+
notificationCount: number | null;
|
|
33177
|
+
roles: {
|
|
33178
|
+
id: string;
|
|
33179
|
+
description: string | null;
|
|
33180
|
+
createdAt: Date;
|
|
33181
|
+
updatedAt: Date;
|
|
33182
|
+
deletedAt: Date | null;
|
|
33183
|
+
systemName: string;
|
|
33184
|
+
displayName: string;
|
|
33185
|
+
permissions: {
|
|
33186
|
+
id: string;
|
|
33187
|
+
description: string | null;
|
|
33188
|
+
createdAt: Date;
|
|
33189
|
+
updatedAt: Date;
|
|
33190
|
+
deletedAt: Date | null;
|
|
33191
|
+
systemName: string;
|
|
33192
|
+
displayName: string;
|
|
33193
|
+
}[];
|
|
33194
|
+
}[];
|
|
33195
|
+
extension: {
|
|
33196
|
+
id: string;
|
|
33197
|
+
createdAt: Date;
|
|
33198
|
+
updatedAt: Date;
|
|
33199
|
+
deletedAt: Date | null;
|
|
33200
|
+
userId: string | null;
|
|
33201
|
+
sipServerUrl: string;
|
|
33202
|
+
sipUserName: string;
|
|
33203
|
+
webphoneLoginUser: string;
|
|
33204
|
+
extensionId: string | null;
|
|
33205
|
+
extensionName: string;
|
|
33206
|
+
telephonySignature: string | null;
|
|
33207
|
+
};
|
|
33208
|
+
};
|
|
33209
|
+
createdAt: Date;
|
|
33210
|
+
updatedAt: Date;
|
|
33211
|
+
deletedAt: Date | null;
|
|
33212
|
+
presenceStatus: {
|
|
33213
|
+
id: string;
|
|
33214
|
+
position: number;
|
|
33215
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33216
|
+
status: string;
|
|
33217
|
+
createdAt: Date;
|
|
33218
|
+
updatedAt: Date;
|
|
33219
|
+
deletedAt: Date | null;
|
|
33220
|
+
};
|
|
33221
|
+
customPresenceStatus?: string | null | undefined;
|
|
33222
|
+
}>, "many">;
|
|
33223
|
+
400: import("zod").ZodObject<{
|
|
33224
|
+
message: import("zod").ZodString;
|
|
33225
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33226
|
+
message: string;
|
|
33227
|
+
}, {
|
|
33228
|
+
message: string;
|
|
33229
|
+
}>;
|
|
33230
|
+
401: import("zod").ZodObject<{
|
|
33231
|
+
message: import("zod").ZodString;
|
|
33232
|
+
error: import("zod").ZodAny;
|
|
33233
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33234
|
+
message: string;
|
|
33235
|
+
error?: any;
|
|
33236
|
+
}, {
|
|
33237
|
+
message: string;
|
|
33238
|
+
error?: any;
|
|
33239
|
+
}>;
|
|
33240
|
+
500: import("zod").ZodObject<{
|
|
33241
|
+
message: import("zod").ZodString;
|
|
33242
|
+
error: import("zod").ZodAny;
|
|
33243
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33244
|
+
message: string;
|
|
33245
|
+
error?: any;
|
|
33246
|
+
}, {
|
|
33247
|
+
message: string;
|
|
33248
|
+
error?: any;
|
|
33249
|
+
}>;
|
|
33250
|
+
};
|
|
33251
|
+
path: "telephony/agents/presence_status";
|
|
33252
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
33253
|
+
'x-tenant': import("zod").ZodString;
|
|
33254
|
+
'x-service-token': import("zod").ZodString;
|
|
33255
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
|
33256
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
|
33257
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33258
|
+
'x-tenant': string;
|
|
33259
|
+
'x-service-token': string;
|
|
33260
|
+
'x-client-timezone': string;
|
|
33261
|
+
'x-code'?: string | undefined;
|
|
33262
|
+
}, {
|
|
33263
|
+
'x-tenant': string;
|
|
33264
|
+
'x-service-token': string;
|
|
33265
|
+
'x-code'?: string | undefined;
|
|
33266
|
+
'x-client-timezone'?: string | undefined;
|
|
33267
|
+
}>>>;
|
|
33268
|
+
};
|
|
32520
33269
|
getAgentStatus: {
|
|
32521
33270
|
summary: "Check and update user agent status before getting from telephony server.";
|
|
32522
33271
|
method: "GET";
|
|
@@ -32742,29 +33491,27 @@ export declare const apiContract: {
|
|
|
32742
33491
|
createdAt: import("zod").ZodDate;
|
|
32743
33492
|
updatedAt: import("zod").ZodDate;
|
|
32744
33493
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
32745
|
-
status: import("zod").
|
|
32746
|
-
|
|
33494
|
+
status: import("zod").ZodString;
|
|
33495
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
32747
33496
|
position: import("zod").ZodNumber;
|
|
32748
|
-
emoji: import("zod").ZodString;
|
|
32749
33497
|
}, "strip", import("zod").ZodTypeAny, {
|
|
32750
|
-
emoji: string;
|
|
32751
33498
|
id: string;
|
|
32752
33499
|
position: number;
|
|
32753
|
-
|
|
33500
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33501
|
+
status: string;
|
|
32754
33502
|
createdAt: Date;
|
|
32755
33503
|
updatedAt: Date;
|
|
32756
33504
|
deletedAt: Date | null;
|
|
32757
|
-
statusName: string;
|
|
32758
33505
|
}, {
|
|
32759
|
-
emoji: string;
|
|
32760
33506
|
id: string;
|
|
32761
33507
|
position: number;
|
|
32762
|
-
|
|
33508
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33509
|
+
status: string;
|
|
32763
33510
|
createdAt: Date;
|
|
32764
33511
|
updatedAt: Date;
|
|
32765
33512
|
deletedAt: Date | null;
|
|
32766
|
-
statusName: string;
|
|
32767
33513
|
}>;
|
|
33514
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
32768
33515
|
}, "strip", import("zod").ZodTypeAny, {
|
|
32769
33516
|
id: string;
|
|
32770
33517
|
user: {
|
|
@@ -32815,15 +33562,15 @@ export declare const apiContract: {
|
|
|
32815
33562
|
updatedAt: Date;
|
|
32816
33563
|
deletedAt: Date | null;
|
|
32817
33564
|
presenceStatus: {
|
|
32818
|
-
emoji: string;
|
|
32819
33565
|
id: string;
|
|
32820
33566
|
position: number;
|
|
32821
|
-
|
|
33567
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33568
|
+
status: string;
|
|
32822
33569
|
createdAt: Date;
|
|
32823
33570
|
updatedAt: Date;
|
|
32824
33571
|
deletedAt: Date | null;
|
|
32825
|
-
statusName: string;
|
|
32826
33572
|
};
|
|
33573
|
+
customPresenceStatus?: string | null | undefined;
|
|
32827
33574
|
}, {
|
|
32828
33575
|
id: string;
|
|
32829
33576
|
user: {
|
|
@@ -32874,15 +33621,15 @@ export declare const apiContract: {
|
|
|
32874
33621
|
updatedAt: Date;
|
|
32875
33622
|
deletedAt: Date | null;
|
|
32876
33623
|
presenceStatus: {
|
|
32877
|
-
emoji: string;
|
|
32878
33624
|
id: string;
|
|
32879
33625
|
position: number;
|
|
32880
|
-
|
|
33626
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33627
|
+
status: string;
|
|
32881
33628
|
createdAt: Date;
|
|
32882
33629
|
updatedAt: Date;
|
|
32883
33630
|
deletedAt: Date | null;
|
|
32884
|
-
statusName: string;
|
|
32885
33631
|
};
|
|
33632
|
+
customPresenceStatus?: string | null | undefined;
|
|
32886
33633
|
}>;
|
|
32887
33634
|
400: import("zod").ZodObject<{
|
|
32888
33635
|
message: import("zod").ZodString;
|
|
@@ -32934,15 +33681,18 @@ export declare const apiContract: {
|
|
|
32934
33681
|
body: import("zod").ZodObject<{
|
|
32935
33682
|
userId: import("zod").ZodString;
|
|
32936
33683
|
presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
33684
|
+
customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
32937
33685
|
reason: import("zod").ZodString;
|
|
32938
33686
|
}, "strip", import("zod").ZodTypeAny, {
|
|
32939
33687
|
reason: string;
|
|
32940
33688
|
userId: string;
|
|
32941
33689
|
presenceStatusId?: string | null | undefined;
|
|
33690
|
+
customPreseneStatus?: string | null | undefined;
|
|
32942
33691
|
}, {
|
|
32943
33692
|
reason: string;
|
|
32944
33693
|
userId: string;
|
|
32945
33694
|
presenceStatusId?: string | null | undefined;
|
|
33695
|
+
customPreseneStatus?: string | null | undefined;
|
|
32946
33696
|
}>;
|
|
32947
33697
|
summary: "Update presence status";
|
|
32948
33698
|
method: "POST";
|
|
@@ -33163,29 +33913,27 @@ export declare const apiContract: {
|
|
|
33163
33913
|
createdAt: import("zod").ZodDate;
|
|
33164
33914
|
updatedAt: import("zod").ZodDate;
|
|
33165
33915
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
33166
|
-
status: import("zod").
|
|
33167
|
-
|
|
33916
|
+
status: import("zod").ZodString;
|
|
33917
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
33168
33918
|
position: import("zod").ZodNumber;
|
|
33169
|
-
emoji: import("zod").ZodString;
|
|
33170
33919
|
}, "strip", import("zod").ZodTypeAny, {
|
|
33171
|
-
emoji: string;
|
|
33172
33920
|
id: string;
|
|
33173
33921
|
position: number;
|
|
33174
|
-
|
|
33922
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33923
|
+
status: string;
|
|
33175
33924
|
createdAt: Date;
|
|
33176
33925
|
updatedAt: Date;
|
|
33177
33926
|
deletedAt: Date | null;
|
|
33178
|
-
statusName: string;
|
|
33179
33927
|
}, {
|
|
33180
|
-
emoji: string;
|
|
33181
33928
|
id: string;
|
|
33182
33929
|
position: number;
|
|
33183
|
-
|
|
33930
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33931
|
+
status: string;
|
|
33184
33932
|
createdAt: Date;
|
|
33185
33933
|
updatedAt: Date;
|
|
33186
33934
|
deletedAt: Date | null;
|
|
33187
|
-
statusName: string;
|
|
33188
33935
|
}>;
|
|
33936
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
33189
33937
|
}, "strip", import("zod").ZodTypeAny, {
|
|
33190
33938
|
id: string;
|
|
33191
33939
|
user: {
|
|
@@ -33236,15 +33984,15 @@ export declare const apiContract: {
|
|
|
33236
33984
|
updatedAt: Date;
|
|
33237
33985
|
deletedAt: Date | null;
|
|
33238
33986
|
presenceStatus: {
|
|
33239
|
-
emoji: string;
|
|
33240
33987
|
id: string;
|
|
33241
33988
|
position: number;
|
|
33242
|
-
|
|
33989
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
33990
|
+
status: string;
|
|
33243
33991
|
createdAt: Date;
|
|
33244
33992
|
updatedAt: Date;
|
|
33245
33993
|
deletedAt: Date | null;
|
|
33246
|
-
statusName: string;
|
|
33247
33994
|
};
|
|
33995
|
+
customPresenceStatus?: string | null | undefined;
|
|
33248
33996
|
}, {
|
|
33249
33997
|
id: string;
|
|
33250
33998
|
user: {
|
|
@@ -33295,15 +34043,15 @@ export declare const apiContract: {
|
|
|
33295
34043
|
updatedAt: Date;
|
|
33296
34044
|
deletedAt: Date | null;
|
|
33297
34045
|
presenceStatus: {
|
|
33298
|
-
emoji: string;
|
|
33299
34046
|
id: string;
|
|
33300
34047
|
position: number;
|
|
33301
|
-
|
|
34048
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34049
|
+
status: string;
|
|
33302
34050
|
createdAt: Date;
|
|
33303
34051
|
updatedAt: Date;
|
|
33304
34052
|
deletedAt: Date | null;
|
|
33305
|
-
statusName: string;
|
|
33306
34053
|
};
|
|
34054
|
+
customPresenceStatus?: string | null | undefined;
|
|
33307
34055
|
}>;
|
|
33308
34056
|
}, "strip", import("zod").ZodTypeAny, {
|
|
33309
34057
|
requestId: string;
|
|
@@ -33357,15 +34105,15 @@ export declare const apiContract: {
|
|
|
33357
34105
|
updatedAt: Date;
|
|
33358
34106
|
deletedAt: Date | null;
|
|
33359
34107
|
presenceStatus: {
|
|
33360
|
-
emoji: string;
|
|
33361
34108
|
id: string;
|
|
33362
34109
|
position: number;
|
|
33363
|
-
|
|
34110
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34111
|
+
status: string;
|
|
33364
34112
|
createdAt: Date;
|
|
33365
34113
|
updatedAt: Date;
|
|
33366
34114
|
deletedAt: Date | null;
|
|
33367
|
-
statusName: string;
|
|
33368
34115
|
};
|
|
34116
|
+
customPresenceStatus?: string | null | undefined;
|
|
33369
34117
|
};
|
|
33370
34118
|
}, {
|
|
33371
34119
|
requestId: string;
|
|
@@ -33419,15 +34167,15 @@ export declare const apiContract: {
|
|
|
33419
34167
|
updatedAt: Date;
|
|
33420
34168
|
deletedAt: Date | null;
|
|
33421
34169
|
presenceStatus: {
|
|
33422
|
-
emoji: string;
|
|
33423
34170
|
id: string;
|
|
33424
34171
|
position: number;
|
|
33425
|
-
|
|
34172
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34173
|
+
status: string;
|
|
33426
34174
|
createdAt: Date;
|
|
33427
34175
|
updatedAt: Date;
|
|
33428
34176
|
deletedAt: Date | null;
|
|
33429
|
-
statusName: string;
|
|
33430
34177
|
};
|
|
34178
|
+
customPresenceStatus?: string | null | undefined;
|
|
33431
34179
|
};
|
|
33432
34180
|
}>;
|
|
33433
34181
|
400: import("zod").ZodObject<{
|
|
@@ -33551,24 +34299,22 @@ export declare const apiContract: {
|
|
|
33551
34299
|
updatedAt: Date;
|
|
33552
34300
|
deletedAt: Date | null;
|
|
33553
34301
|
previousPresenceStatus: {
|
|
33554
|
-
emoji: string;
|
|
33555
34302
|
id: string;
|
|
33556
34303
|
position: number;
|
|
33557
|
-
|
|
34304
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34305
|
+
status: string;
|
|
33558
34306
|
createdAt: Date;
|
|
33559
34307
|
updatedAt: Date;
|
|
33560
34308
|
deletedAt: Date | null;
|
|
33561
|
-
statusName: string;
|
|
33562
34309
|
};
|
|
33563
34310
|
newPresenceStatus: {
|
|
33564
|
-
emoji: string;
|
|
33565
34311
|
id: string;
|
|
33566
34312
|
position: number;
|
|
33567
|
-
|
|
34313
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34314
|
+
status: string;
|
|
33568
34315
|
createdAt: Date;
|
|
33569
34316
|
updatedAt: Date;
|
|
33570
34317
|
deletedAt: Date | null;
|
|
33571
|
-
statusName: string;
|
|
33572
34318
|
};
|
|
33573
34319
|
}, import("zod").ZodTypeDef, {
|
|
33574
34320
|
reason: string;
|
|
@@ -33621,24 +34367,22 @@ export declare const apiContract: {
|
|
|
33621
34367
|
updatedAt: Date;
|
|
33622
34368
|
deletedAt: Date | null;
|
|
33623
34369
|
previousPresenceStatus: {
|
|
33624
|
-
emoji: string;
|
|
33625
34370
|
id: string;
|
|
33626
34371
|
position: number;
|
|
33627
|
-
|
|
34372
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34373
|
+
status: string;
|
|
33628
34374
|
createdAt: Date;
|
|
33629
34375
|
updatedAt: Date;
|
|
33630
34376
|
deletedAt: Date | null;
|
|
33631
|
-
statusName: string;
|
|
33632
34377
|
};
|
|
33633
34378
|
newPresenceStatus: {
|
|
33634
|
-
emoji: string;
|
|
33635
34379
|
id: string;
|
|
33636
34380
|
position: number;
|
|
33637
|
-
|
|
34381
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34382
|
+
status: string;
|
|
33638
34383
|
createdAt: Date;
|
|
33639
34384
|
updatedAt: Date;
|
|
33640
34385
|
deletedAt: Date | null;
|
|
33641
|
-
statusName: string;
|
|
33642
34386
|
};
|
|
33643
34387
|
}>, "many">;
|
|
33644
34388
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -33693,24 +34437,22 @@ export declare const apiContract: {
|
|
|
33693
34437
|
updatedAt: Date;
|
|
33694
34438
|
deletedAt: Date | null;
|
|
33695
34439
|
previousPresenceStatus: {
|
|
33696
|
-
emoji: string;
|
|
33697
34440
|
id: string;
|
|
33698
34441
|
position: number;
|
|
33699
|
-
|
|
34442
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34443
|
+
status: string;
|
|
33700
34444
|
createdAt: Date;
|
|
33701
34445
|
updatedAt: Date;
|
|
33702
34446
|
deletedAt: Date | null;
|
|
33703
|
-
statusName: string;
|
|
33704
34447
|
};
|
|
33705
34448
|
newPresenceStatus: {
|
|
33706
|
-
emoji: string;
|
|
33707
34449
|
id: string;
|
|
33708
34450
|
position: number;
|
|
33709
|
-
|
|
34451
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34452
|
+
status: string;
|
|
33710
34453
|
createdAt: Date;
|
|
33711
34454
|
updatedAt: Date;
|
|
33712
34455
|
deletedAt: Date | null;
|
|
33713
|
-
statusName: string;
|
|
33714
34456
|
};
|
|
33715
34457
|
}[];
|
|
33716
34458
|
total: number;
|
|
@@ -33769,24 +34511,22 @@ export declare const apiContract: {
|
|
|
33769
34511
|
updatedAt: Date;
|
|
33770
34512
|
deletedAt: Date | null;
|
|
33771
34513
|
previousPresenceStatus: {
|
|
33772
|
-
emoji: string;
|
|
33773
34514
|
id: string;
|
|
33774
34515
|
position: number;
|
|
33775
|
-
|
|
34516
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34517
|
+
status: string;
|
|
33776
34518
|
createdAt: Date;
|
|
33777
34519
|
updatedAt: Date;
|
|
33778
34520
|
deletedAt: Date | null;
|
|
33779
|
-
statusName: string;
|
|
33780
34521
|
};
|
|
33781
34522
|
newPresenceStatus: {
|
|
33782
|
-
emoji: string;
|
|
33783
34523
|
id: string;
|
|
33784
34524
|
position: number;
|
|
33785
|
-
|
|
34525
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
34526
|
+
status: string;
|
|
33786
34527
|
createdAt: Date;
|
|
33787
34528
|
updatedAt: Date;
|
|
33788
34529
|
deletedAt: Date | null;
|
|
33789
|
-
statusName: string;
|
|
33790
34530
|
};
|
|
33791
34531
|
}[];
|
|
33792
34532
|
total: number;
|
|
@@ -216875,16 +217615,16 @@ export declare const platformWhatsappContract: {
|
|
|
216875
217615
|
error?: any;
|
|
216876
217616
|
}>;
|
|
216877
217617
|
};
|
|
216878
|
-
path: "/
|
|
217618
|
+
path: "/mobile";
|
|
216879
217619
|
};
|
|
216880
217620
|
getWaapiQr: {
|
|
216881
217621
|
method: "GET";
|
|
216882
217622
|
query: import("zod").ZodObject<{
|
|
216883
|
-
|
|
217623
|
+
instanceId: import("zod").ZodString;
|
|
216884
217624
|
}, "strip", import("zod").ZodTypeAny, {
|
|
216885
|
-
|
|
217625
|
+
instanceId: string;
|
|
216886
217626
|
}, {
|
|
216887
|
-
|
|
217627
|
+
instanceId: string;
|
|
216888
217628
|
}>;
|
|
216889
217629
|
responses: {
|
|
216890
217630
|
200: import("zod").ZodObject<{
|
|
@@ -216933,7 +217673,48 @@ export declare const platformWhatsappContract: {
|
|
|
216933
217673
|
error?: any;
|
|
216934
217674
|
}>;
|
|
216935
217675
|
};
|
|
216936
|
-
path: "/
|
|
217676
|
+
path: "/mobile/qr";
|
|
217677
|
+
};
|
|
217678
|
+
deleteWaapi: {
|
|
217679
|
+
body: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
217680
|
+
method: "DELETE";
|
|
217681
|
+
pathParams: import("zod").ZodObject<{
|
|
217682
|
+
instanceId: import("zod").ZodString;
|
|
217683
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
217684
|
+
instanceId: string;
|
|
217685
|
+
}, {
|
|
217686
|
+
instanceId: string;
|
|
217687
|
+
}>;
|
|
217688
|
+
responses: {
|
|
217689
|
+
200: import("zod").ZodObject<{
|
|
217690
|
+
requestId: import("zod").ZodString;
|
|
217691
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
217692
|
+
requestId: string;
|
|
217693
|
+
}, {
|
|
217694
|
+
requestId: string;
|
|
217695
|
+
}>;
|
|
217696
|
+
500: import("zod").ZodObject<{
|
|
217697
|
+
message: import("zod").ZodString;
|
|
217698
|
+
error: import("zod").ZodAny;
|
|
217699
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
217700
|
+
message: string;
|
|
217701
|
+
error?: any;
|
|
217702
|
+
}, {
|
|
217703
|
+
message: string;
|
|
217704
|
+
error?: any;
|
|
217705
|
+
}>;
|
|
217706
|
+
400: import("zod").ZodObject<{
|
|
217707
|
+
message: import("zod").ZodString;
|
|
217708
|
+
error: import("zod").ZodAny;
|
|
217709
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
217710
|
+
message: string;
|
|
217711
|
+
error?: any;
|
|
217712
|
+
}, {
|
|
217713
|
+
message: string;
|
|
217714
|
+
error?: any;
|
|
217715
|
+
}>;
|
|
217716
|
+
};
|
|
217717
|
+
path: "/mobile/:instanceId";
|
|
216937
217718
|
};
|
|
216938
217719
|
sendSeenToWaapi: {
|
|
216939
217720
|
body: import("zod").ZodObject<{
|
|
@@ -216989,7 +217770,7 @@ export declare const platformWhatsappContract: {
|
|
|
216989
217770
|
error?: any;
|
|
216990
217771
|
}>;
|
|
216991
217772
|
};
|
|
216992
|
-
path: "/
|
|
217773
|
+
path: "/mobile/send-seen";
|
|
216993
217774
|
};
|
|
216994
217775
|
};
|
|
216995
217776
|
};
|
|
@@ -318295,7 +319076,7 @@ export declare const channelSettingContract: {
|
|
|
318295
319076
|
error?: any;
|
|
318296
319077
|
}>;
|
|
318297
319078
|
};
|
|
318298
|
-
path: "settings/channel/whatsapp/
|
|
319079
|
+
path: "settings/channel/whatsapp/mobile";
|
|
318299
319080
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
318300
319081
|
'x-tenant': import("zod").ZodString;
|
|
318301
319082
|
'x-service-token': import("zod").ZodString;
|
|
@@ -318316,11 +319097,11 @@ export declare const channelSettingContract: {
|
|
|
318316
319097
|
getWaapiQr: {
|
|
318317
319098
|
method: "GET";
|
|
318318
319099
|
query: import("zod").ZodObject<{
|
|
318319
|
-
|
|
319100
|
+
instanceId: import("zod").ZodString;
|
|
318320
319101
|
}, "strip", import("zod").ZodTypeAny, {
|
|
318321
|
-
|
|
319102
|
+
instanceId: string;
|
|
318322
319103
|
}, {
|
|
318323
|
-
|
|
319104
|
+
instanceId: string;
|
|
318324
319105
|
}>;
|
|
318325
319106
|
responses: {
|
|
318326
319107
|
200: import("zod").ZodObject<{
|
|
@@ -318369,7 +319150,64 @@ export declare const channelSettingContract: {
|
|
|
318369
319150
|
error?: any;
|
|
318370
319151
|
}>;
|
|
318371
319152
|
};
|
|
318372
|
-
path: "settings/channel/whatsapp/
|
|
319153
|
+
path: "settings/channel/whatsapp/mobile/qr";
|
|
319154
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
319155
|
+
'x-tenant': import("zod").ZodString;
|
|
319156
|
+
'x-service-token': import("zod").ZodString;
|
|
319157
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
|
319158
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
|
319159
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
319160
|
+
'x-tenant': string;
|
|
319161
|
+
'x-service-token': string;
|
|
319162
|
+
'x-client-timezone': string;
|
|
319163
|
+
'x-code'?: string | undefined;
|
|
319164
|
+
}, {
|
|
319165
|
+
'x-tenant': string;
|
|
319166
|
+
'x-service-token': string;
|
|
319167
|
+
'x-code'?: string | undefined;
|
|
319168
|
+
'x-client-timezone'?: string | undefined;
|
|
319169
|
+
}>>>;
|
|
319170
|
+
};
|
|
319171
|
+
deleteWaapi: {
|
|
319172
|
+
body: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
319173
|
+
method: "DELETE";
|
|
319174
|
+
pathParams: import("zod").ZodObject<{
|
|
319175
|
+
instanceId: import("zod").ZodString;
|
|
319176
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
319177
|
+
instanceId: string;
|
|
319178
|
+
}, {
|
|
319179
|
+
instanceId: string;
|
|
319180
|
+
}>;
|
|
319181
|
+
responses: {
|
|
319182
|
+
200: import("zod").ZodObject<{
|
|
319183
|
+
requestId: import("zod").ZodString;
|
|
319184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
319185
|
+
requestId: string;
|
|
319186
|
+
}, {
|
|
319187
|
+
requestId: string;
|
|
319188
|
+
}>;
|
|
319189
|
+
500: import("zod").ZodObject<{
|
|
319190
|
+
message: import("zod").ZodString;
|
|
319191
|
+
error: import("zod").ZodAny;
|
|
319192
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
319193
|
+
message: string;
|
|
319194
|
+
error?: any;
|
|
319195
|
+
}, {
|
|
319196
|
+
message: string;
|
|
319197
|
+
error?: any;
|
|
319198
|
+
}>;
|
|
319199
|
+
400: import("zod").ZodObject<{
|
|
319200
|
+
message: import("zod").ZodString;
|
|
319201
|
+
error: import("zod").ZodAny;
|
|
319202
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
319203
|
+
message: string;
|
|
319204
|
+
error?: any;
|
|
319205
|
+
}, {
|
|
319206
|
+
message: string;
|
|
319207
|
+
error?: any;
|
|
319208
|
+
}>;
|
|
319209
|
+
};
|
|
319210
|
+
path: "settings/channel/whatsapp/mobile/:instanceId";
|
|
318373
319211
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
318374
319212
|
'x-tenant': import("zod").ZodString;
|
|
318375
319213
|
'x-service-token': import("zod").ZodString;
|
|
@@ -321901,51 +322739,46 @@ export declare const presenceStatusContract: {
|
|
|
321901
322739
|
createdAt: import("zod").ZodDate;
|
|
321902
322740
|
updatedAt: import("zod").ZodDate;
|
|
321903
322741
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
321904
|
-
status: import("zod").
|
|
321905
|
-
|
|
322742
|
+
status: import("zod").ZodString;
|
|
322743
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
321906
322744
|
position: import("zod").ZodNumber;
|
|
321907
|
-
emoji: import("zod").ZodString;
|
|
321908
322745
|
}, "strip", import("zod").ZodTypeAny, {
|
|
321909
|
-
emoji: string;
|
|
321910
322746
|
id: string;
|
|
321911
322747
|
position: number;
|
|
321912
|
-
|
|
322748
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322749
|
+
status: string;
|
|
321913
322750
|
createdAt: Date;
|
|
321914
322751
|
updatedAt: Date;
|
|
321915
322752
|
deletedAt: Date | null;
|
|
321916
|
-
statusName: string;
|
|
321917
322753
|
}, {
|
|
321918
|
-
emoji: string;
|
|
321919
322754
|
id: string;
|
|
321920
322755
|
position: number;
|
|
321921
|
-
|
|
322756
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322757
|
+
status: string;
|
|
321922
322758
|
createdAt: Date;
|
|
321923
322759
|
updatedAt: Date;
|
|
321924
322760
|
deletedAt: Date | null;
|
|
321925
|
-
statusName: string;
|
|
321926
322761
|
}>, "many">;
|
|
321927
322762
|
}, "strip", import("zod").ZodTypeAny, {
|
|
321928
322763
|
data: {
|
|
321929
|
-
emoji: string;
|
|
321930
322764
|
id: string;
|
|
321931
322765
|
position: number;
|
|
321932
|
-
|
|
322766
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322767
|
+
status: string;
|
|
321933
322768
|
createdAt: Date;
|
|
321934
322769
|
updatedAt: Date;
|
|
321935
322770
|
deletedAt: Date | null;
|
|
321936
|
-
statusName: string;
|
|
321937
322771
|
}[];
|
|
321938
322772
|
total: number;
|
|
321939
322773
|
}, {
|
|
321940
322774
|
data: {
|
|
321941
|
-
emoji: string;
|
|
321942
322775
|
id: string;
|
|
321943
322776
|
position: number;
|
|
321944
|
-
|
|
322777
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322778
|
+
status: string;
|
|
321945
322779
|
createdAt: Date;
|
|
321946
322780
|
updatedAt: Date;
|
|
321947
322781
|
deletedAt: Date | null;
|
|
321948
|
-
statusName: string;
|
|
321949
322782
|
}[];
|
|
321950
322783
|
total: number;
|
|
321951
322784
|
}>;
|
|
@@ -321997,20 +322830,17 @@ export declare const presenceStatusContract: {
|
|
|
321997
322830
|
};
|
|
321998
322831
|
createPresenceStatus: {
|
|
321999
322832
|
body: import("zod").ZodObject<{
|
|
322000
|
-
status: import("zod").
|
|
322001
|
-
|
|
322833
|
+
status: import("zod").ZodString;
|
|
322834
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
322002
322835
|
position: import("zod").ZodNumber;
|
|
322003
|
-
emoji: import("zod").ZodString;
|
|
322004
322836
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322005
|
-
emoji: string;
|
|
322006
322837
|
position: number;
|
|
322007
|
-
|
|
322008
|
-
|
|
322838
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322839
|
+
status: string;
|
|
322009
322840
|
}, {
|
|
322010
|
-
emoji: string;
|
|
322011
322841
|
position: number;
|
|
322012
|
-
|
|
322013
|
-
|
|
322842
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322843
|
+
status: string;
|
|
322014
322844
|
}>;
|
|
322015
322845
|
summary: "Create a new presence status.";
|
|
322016
322846
|
method: "POST";
|
|
@@ -322022,52 +322852,47 @@ export declare const presenceStatusContract: {
|
|
|
322022
322852
|
createdAt: import("zod").ZodDate;
|
|
322023
322853
|
updatedAt: import("zod").ZodDate;
|
|
322024
322854
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
322025
|
-
status: import("zod").
|
|
322026
|
-
|
|
322855
|
+
status: import("zod").ZodString;
|
|
322856
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
322027
322857
|
position: import("zod").ZodNumber;
|
|
322028
|
-
emoji: import("zod").ZodString;
|
|
322029
322858
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322030
|
-
emoji: string;
|
|
322031
322859
|
id: string;
|
|
322032
322860
|
position: number;
|
|
322033
|
-
|
|
322861
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322862
|
+
status: string;
|
|
322034
322863
|
createdAt: Date;
|
|
322035
322864
|
updatedAt: Date;
|
|
322036
322865
|
deletedAt: Date | null;
|
|
322037
|
-
statusName: string;
|
|
322038
322866
|
}, {
|
|
322039
|
-
emoji: string;
|
|
322040
322867
|
id: string;
|
|
322041
322868
|
position: number;
|
|
322042
|
-
|
|
322869
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322870
|
+
status: string;
|
|
322043
322871
|
createdAt: Date;
|
|
322044
322872
|
updatedAt: Date;
|
|
322045
322873
|
deletedAt: Date | null;
|
|
322046
|
-
statusName: string;
|
|
322047
322874
|
}>;
|
|
322048
322875
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322049
322876
|
requestId: string;
|
|
322050
322877
|
presenceStatus: {
|
|
322051
|
-
emoji: string;
|
|
322052
322878
|
id: string;
|
|
322053
322879
|
position: number;
|
|
322054
|
-
|
|
322880
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322881
|
+
status: string;
|
|
322055
322882
|
createdAt: Date;
|
|
322056
322883
|
updatedAt: Date;
|
|
322057
322884
|
deletedAt: Date | null;
|
|
322058
|
-
statusName: string;
|
|
322059
322885
|
};
|
|
322060
322886
|
}, {
|
|
322061
322887
|
requestId: string;
|
|
322062
322888
|
presenceStatus: {
|
|
322063
|
-
emoji: string;
|
|
322064
322889
|
id: string;
|
|
322065
322890
|
position: number;
|
|
322066
|
-
|
|
322891
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322892
|
+
status: string;
|
|
322067
322893
|
createdAt: Date;
|
|
322068
322894
|
updatedAt: Date;
|
|
322069
322895
|
deletedAt: Date | null;
|
|
322070
|
-
statusName: string;
|
|
322071
322896
|
};
|
|
322072
322897
|
}>;
|
|
322073
322898
|
400: import("zod").ZodObject<{
|
|
@@ -322152,28 +322977,25 @@ export declare const presenceStatusContract: {
|
|
|
322152
322977
|
createdAt: import("zod").ZodDate;
|
|
322153
322978
|
updatedAt: import("zod").ZodDate;
|
|
322154
322979
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
322155
|
-
status: import("zod").
|
|
322156
|
-
|
|
322980
|
+
status: import("zod").ZodString;
|
|
322981
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
322157
322982
|
position: import("zod").ZodNumber;
|
|
322158
|
-
emoji: import("zod").ZodString;
|
|
322159
322983
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322160
|
-
emoji: string;
|
|
322161
322984
|
id: string;
|
|
322162
322985
|
position: number;
|
|
322163
|
-
|
|
322986
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322987
|
+
status: string;
|
|
322164
322988
|
createdAt: Date;
|
|
322165
322989
|
updatedAt: Date;
|
|
322166
322990
|
deletedAt: Date | null;
|
|
322167
|
-
statusName: string;
|
|
322168
322991
|
}, {
|
|
322169
|
-
emoji: string;
|
|
322170
322992
|
id: string;
|
|
322171
322993
|
position: number;
|
|
322172
|
-
|
|
322994
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
322995
|
+
status: string;
|
|
322173
322996
|
createdAt: Date;
|
|
322174
322997
|
updatedAt: Date;
|
|
322175
322998
|
deletedAt: Date | null;
|
|
322176
|
-
statusName: string;
|
|
322177
322999
|
}>;
|
|
322178
323000
|
400: import("zod").ZodObject<{
|
|
322179
323001
|
message: import("zod").ZodString;
|
|
@@ -322243,20 +323065,17 @@ export declare const presenceStatusContract: {
|
|
|
322243
323065
|
};
|
|
322244
323066
|
updatePresenceStatus: {
|
|
322245
323067
|
body: import("zod").ZodObject<{
|
|
322246
|
-
status: import("zod").
|
|
322247
|
-
|
|
323068
|
+
status: import("zod").ZodString;
|
|
323069
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
322248
323070
|
position: import("zod").ZodNumber;
|
|
322249
|
-
emoji: import("zod").ZodString;
|
|
322250
323071
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322251
|
-
emoji: string;
|
|
322252
323072
|
position: number;
|
|
322253
|
-
|
|
322254
|
-
|
|
323073
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
323074
|
+
status: string;
|
|
322255
323075
|
}, {
|
|
322256
|
-
emoji: string;
|
|
322257
323076
|
position: number;
|
|
322258
|
-
|
|
322259
|
-
|
|
323077
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
323078
|
+
status: string;
|
|
322260
323079
|
}>;
|
|
322261
323080
|
summary: "Update a presence status.";
|
|
322262
323081
|
method: "PATCH";
|
|
@@ -322275,52 +323094,47 @@ export declare const presenceStatusContract: {
|
|
|
322275
323094
|
createdAt: import("zod").ZodDate;
|
|
322276
323095
|
updatedAt: import("zod").ZodDate;
|
|
322277
323096
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
322278
|
-
status: import("zod").
|
|
322279
|
-
|
|
323097
|
+
status: import("zod").ZodString;
|
|
323098
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
322280
323099
|
position: import("zod").ZodNumber;
|
|
322281
|
-
emoji: import("zod").ZodString;
|
|
322282
323100
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322283
|
-
emoji: string;
|
|
322284
323101
|
id: string;
|
|
322285
323102
|
position: number;
|
|
322286
|
-
|
|
323103
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
323104
|
+
status: string;
|
|
322287
323105
|
createdAt: Date;
|
|
322288
323106
|
updatedAt: Date;
|
|
322289
323107
|
deletedAt: Date | null;
|
|
322290
|
-
statusName: string;
|
|
322291
323108
|
}, {
|
|
322292
|
-
emoji: string;
|
|
322293
323109
|
id: string;
|
|
322294
323110
|
position: number;
|
|
322295
|
-
|
|
323111
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
323112
|
+
status: string;
|
|
322296
323113
|
createdAt: Date;
|
|
322297
323114
|
updatedAt: Date;
|
|
322298
323115
|
deletedAt: Date | null;
|
|
322299
|
-
statusName: string;
|
|
322300
323116
|
}>;
|
|
322301
323117
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322302
323118
|
requestId: string;
|
|
322303
323119
|
presenceStatus: {
|
|
322304
|
-
emoji: string;
|
|
322305
323120
|
id: string;
|
|
322306
323121
|
position: number;
|
|
322307
|
-
|
|
323122
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
323123
|
+
status: string;
|
|
322308
323124
|
createdAt: Date;
|
|
322309
323125
|
updatedAt: Date;
|
|
322310
323126
|
deletedAt: Date | null;
|
|
322311
|
-
statusName: string;
|
|
322312
323127
|
};
|
|
322313
323128
|
}, {
|
|
322314
323129
|
requestId: string;
|
|
322315
323130
|
presenceStatus: {
|
|
322316
|
-
emoji: string;
|
|
322317
323131
|
id: string;
|
|
322318
323132
|
position: number;
|
|
322319
|
-
|
|
323133
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
323134
|
+
status: string;
|
|
322320
323135
|
createdAt: Date;
|
|
322321
323136
|
updatedAt: Date;
|
|
322322
323137
|
deletedAt: Date | null;
|
|
322323
|
-
statusName: string;
|
|
322324
323138
|
};
|
|
322325
323139
|
}>;
|
|
322326
323140
|
400: import("zod").ZodObject<{
|