@kl1/contracts 1.3.52 → 1.3.53
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 +2 -2
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +10 -10
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +104 -462
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +102 -30
- 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/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/index.js +1596 -1616
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1595 -1616
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -13636,7 +13636,7 @@ export declare const apiContract: {
|
|
13636
13636
|
error?: any;
|
13637
13637
|
}>;
|
13638
13638
|
};
|
13639
|
-
path: "ms
|
13639
|
+
path: "ms/lazada/connect";
|
13640
13640
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
13641
13641
|
'x-tenant': import("zod").ZodString;
|
13642
13642
|
'x-service-token': import("zod").ZodString;
|
@@ -14037,7 +14037,20 @@ export declare const apiContract: {
|
|
14037
14037
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
14038
14038
|
address: import("zod").ZodOptional<import("zod").ZodString>;
|
14039
14039
|
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
14040
|
-
|
14040
|
+
contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
14041
|
+
attributeId: import("zod").ZodString;
|
14042
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14043
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
14044
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14045
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14046
|
+
attributeId: string;
|
14047
|
+
type?: string | undefined;
|
14048
|
+
}, {
|
14049
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14050
|
+
attributeId: string;
|
14051
|
+
type?: string | undefined;
|
14052
|
+
}>, "many">>;
|
14053
|
+
wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
14041
14054
|
attributeId: import("zod").ZodString;
|
14042
14055
|
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14043
14056
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -14075,7 +14088,12 @@ export declare const apiContract: {
|
|
14075
14088
|
notes?: string | undefined;
|
14076
14089
|
address?: string | undefined;
|
14077
14090
|
company?: string[] | undefined;
|
14078
|
-
|
14091
|
+
contactCustomFields?: {
|
14092
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14093
|
+
attributeId: string;
|
14094
|
+
type?: string | undefined;
|
14095
|
+
}[] | undefined;
|
14096
|
+
wrapUpFormCustomFields?: {
|
14079
14097
|
value: (string | string[]) & (string | string[] | undefined);
|
14080
14098
|
attributeId: string;
|
14081
14099
|
type?: string | undefined;
|
@@ -14105,7 +14123,12 @@ export declare const apiContract: {
|
|
14105
14123
|
notes?: string | undefined;
|
14106
14124
|
address?: string | undefined;
|
14107
14125
|
company?: string[] | undefined;
|
14108
|
-
|
14126
|
+
contactCustomFields?: {
|
14127
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14128
|
+
attributeId: string;
|
14129
|
+
type?: string | undefined;
|
14130
|
+
}[] | undefined;
|
14131
|
+
wrapUpFormCustomFields?: {
|
14109
14132
|
value: (string | string[]) & (string | string[] | undefined);
|
14110
14133
|
attributeId: string;
|
14111
14134
|
type?: string | undefined;
|
@@ -19388,6 +19411,16 @@ export declare const apiContract: {
|
|
19388
19411
|
}, {
|
19389
19412
|
queueName?: string | null | undefined;
|
19390
19413
|
}>>;
|
19414
|
+
automationQueue: import("zod").ZodNullable<import("zod").ZodObject<{
|
19415
|
+
id: import("zod").ZodString;
|
19416
|
+
name: import("zod").ZodString;
|
19417
|
+
}, "strip", import("zod").ZodTypeAny, {
|
19418
|
+
name: string;
|
19419
|
+
id: string;
|
19420
|
+
}, {
|
19421
|
+
name: string;
|
19422
|
+
id: string;
|
19423
|
+
}>>;
|
19391
19424
|
contact: import("zod").ZodNullable<import("zod").ZodObject<{
|
19392
19425
|
id: import("zod").ZodString;
|
19393
19426
|
createdAt: import("zod").ZodDate;
|
@@ -21599,6 +21632,10 @@ export declare const apiContract: {
|
|
21599
21632
|
queue: {
|
21600
21633
|
queueName?: string | null | undefined;
|
21601
21634
|
} | null;
|
21635
|
+
automationQueue: {
|
21636
|
+
name: string;
|
21637
|
+
id: string;
|
21638
|
+
} | null;
|
21602
21639
|
firstAssignee: {
|
21603
21640
|
name: string;
|
21604
21641
|
id: string;
|
@@ -22542,6 +22579,10 @@ export declare const apiContract: {
|
|
22542
22579
|
queue: {
|
22543
22580
|
queueName?: string | null | undefined;
|
22544
22581
|
} | null;
|
22582
|
+
automationQueue: {
|
22583
|
+
name: string;
|
22584
|
+
id: string;
|
22585
|
+
} | null;
|
22545
22586
|
firstAssignee: {
|
22546
22587
|
name: string;
|
22547
22588
|
id: string;
|
@@ -23491,6 +23532,10 @@ export declare const apiContract: {
|
|
23491
23532
|
queue: {
|
23492
23533
|
queueName?: string | null | undefined;
|
23493
23534
|
} | null;
|
23535
|
+
automationQueue: {
|
23536
|
+
name: string;
|
23537
|
+
id: string;
|
23538
|
+
} | null;
|
23494
23539
|
firstAssignee: {
|
23495
23540
|
name: string;
|
23496
23541
|
id: string;
|
@@ -24440,6 +24485,10 @@ export declare const apiContract: {
|
|
24440
24485
|
queue: {
|
24441
24486
|
queueName?: string | null | undefined;
|
24442
24487
|
} | null;
|
24488
|
+
automationQueue: {
|
24489
|
+
name: string;
|
24490
|
+
id: string;
|
24491
|
+
} | null;
|
24443
24492
|
firstAssignee: {
|
24444
24493
|
name: string;
|
24445
24494
|
id: string;
|
@@ -24597,7 +24646,7 @@ export declare const apiContract: {
|
|
24597
24646
|
error?: any;
|
24598
24647
|
}>;
|
24599
24648
|
};
|
24600
|
-
path: "
|
24649
|
+
path: "/cxs/cx-logs";
|
24601
24650
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24602
24651
|
'x-tenant': import("zod").ZodString;
|
24603
24652
|
'x-service-token': import("zod").ZodString;
|
@@ -24628,19 +24677,6 @@ export declare const apiContract: {
|
|
24628
24677
|
email: import("zod").ZodOptional<import("zod").ZodString>;
|
24629
24678
|
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
24630
24679
|
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
24631
|
-
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24632
|
-
attributeId: import("zod").ZodString;
|
24633
|
-
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24634
|
-
type: import("zod").ZodOptional<import("zod").ZodString>;
|
24635
|
-
}, "strip", import("zod").ZodTypeAny, {
|
24636
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24637
|
-
attributeId: string;
|
24638
|
-
type?: string | undefined;
|
24639
|
-
}, {
|
24640
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24641
|
-
attributeId: string;
|
24642
|
-
type?: string | undefined;
|
24643
|
-
}>, "many">>;
|
24644
24680
|
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24645
24681
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
24646
24682
|
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -24656,6 +24692,32 @@ export declare const apiContract: {
|
|
24656
24692
|
agentIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>, string[], string[] | Record<string, string>>>;
|
24657
24693
|
sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
|
24658
24694
|
contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24695
|
+
contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24696
|
+
attributeId: import("zod").ZodString;
|
24697
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24698
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
24699
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24700
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24701
|
+
attributeId: string;
|
24702
|
+
type?: string | undefined;
|
24703
|
+
}, {
|
24704
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24705
|
+
attributeId: string;
|
24706
|
+
type?: string | undefined;
|
24707
|
+
}>, "many">>;
|
24708
|
+
wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24709
|
+
attributeId: import("zod").ZodString;
|
24710
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24711
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
24712
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24713
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24714
|
+
attributeId: string;
|
24715
|
+
type?: string | undefined;
|
24716
|
+
}, {
|
24717
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24718
|
+
attributeId: string;
|
24719
|
+
type?: string | undefined;
|
24720
|
+
}>, "many">>;
|
24659
24721
|
fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
|
24660
24722
|
}, "strip", import("zod").ZodTypeAny, {
|
24661
24723
|
name?: string | undefined;
|
@@ -24667,11 +24729,6 @@ export declare const apiContract: {
|
|
24667
24729
|
email?: string | undefined;
|
24668
24730
|
pageSize?: number | undefined;
|
24669
24731
|
phone?: string | undefined;
|
24670
|
-
customFields?: {
|
24671
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24672
|
-
attributeId: string;
|
24673
|
-
type?: string | undefined;
|
24674
|
-
}[] | undefined;
|
24675
24732
|
company?: string[] | undefined;
|
24676
24733
|
notes?: string | undefined;
|
24677
24734
|
tags?: string[] | undefined;
|
@@ -24687,6 +24744,16 @@ export declare const apiContract: {
|
|
24687
24744
|
agentIds?: string[] | undefined;
|
24688
24745
|
sla?: "meet" | "unmeet" | undefined;
|
24689
24746
|
contactLabels?: string[] | undefined;
|
24747
|
+
contactCustomFields?: {
|
24748
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24749
|
+
attributeId: string;
|
24750
|
+
type?: string | undefined;
|
24751
|
+
}[] | undefined;
|
24752
|
+
wrapUpFormCustomFields?: {
|
24753
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24754
|
+
attributeId: string;
|
24755
|
+
type?: string | undefined;
|
24756
|
+
}[] | undefined;
|
24690
24757
|
fileExtension?: "csv" | "xlsx" | undefined;
|
24691
24758
|
}, {
|
24692
24759
|
name?: string | undefined;
|
@@ -24698,11 +24765,6 @@ export declare const apiContract: {
|
|
24698
24765
|
email?: string | undefined;
|
24699
24766
|
pageSize?: number | undefined;
|
24700
24767
|
phone?: string | undefined;
|
24701
|
-
customFields?: {
|
24702
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24703
|
-
attributeId: string;
|
24704
|
-
type?: string | undefined;
|
24705
|
-
}[] | undefined;
|
24706
24768
|
company?: string[] | undefined;
|
24707
24769
|
notes?: string | undefined;
|
24708
24770
|
tags?: string[] | undefined;
|
@@ -24718,6 +24780,16 @@ export declare const apiContract: {
|
|
24718
24780
|
agentIds?: string[] | Record<string, string> | undefined;
|
24719
24781
|
sla?: "meet" | "unmeet" | undefined;
|
24720
24782
|
contactLabels?: string[] | undefined;
|
24783
|
+
contactCustomFields?: {
|
24784
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24785
|
+
attributeId: string;
|
24786
|
+
type?: string | undefined;
|
24787
|
+
}[] | undefined;
|
24788
|
+
wrapUpFormCustomFields?: {
|
24789
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24790
|
+
attributeId: string;
|
24791
|
+
type?: string | undefined;
|
24792
|
+
}[] | undefined;
|
24721
24793
|
fileExtension?: "csv" | "xlsx" | undefined;
|
24722
24794
|
}>;
|
24723
24795
|
responses: {
|
@@ -24733,7 +24805,7 @@ export declare const apiContract: {
|
|
24733
24805
|
error?: any;
|
24734
24806
|
}>;
|
24735
24807
|
};
|
24736
|
-
path: "ms/cx-logs/export";
|
24808
|
+
path: "/ms/cx-logs/export";
|
24737
24809
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24738
24810
|
'x-tenant': import("zod").ZodString;
|
24739
24811
|
'x-service-token': import("zod").ZodString;
|
@@ -24778,7 +24850,7 @@ export declare const apiContract: {
|
|
24778
24850
|
error?: any;
|
24779
24851
|
}>;
|
24780
24852
|
};
|
24781
|
-
path: "ms/cx-logs/sync-sla";
|
24853
|
+
path: "/ms/cx-logs/sync-sla";
|
24782
24854
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24783
24855
|
'x-tenant': import("zod").ZodString;
|
24784
24856
|
'x-service-token': import("zod").ZodString;
|
@@ -24841,7 +24913,7 @@ export declare const apiContract: {
|
|
24841
24913
|
error?: any;
|
24842
24914
|
}>;
|
24843
24915
|
};
|
24844
|
-
path: "ms/cx-logs";
|
24916
|
+
path: "/ms/cx-logs";
|
24845
24917
|
headers: import("zod").ZodObject<{
|
24846
24918
|
'x-tenant': import("zod").ZodString;
|
24847
24919
|
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -36578,425 +36650,6 @@ export declare const apiContract: {
|
|
36578
36650
|
};
|
36579
36651
|
};
|
36580
36652
|
agentPresenceStatus: {
|
36581
|
-
getAllAgentStatus: {
|
36582
|
-
summary: "Get all user presence status list.";
|
36583
|
-
method: "GET";
|
36584
|
-
responses: {
|
36585
|
-
200: import("zod").ZodArray<import("zod").ZodObject<{
|
36586
|
-
id: import("zod").ZodString;
|
36587
|
-
createdAt: import("zod").ZodDate;
|
36588
|
-
updatedAt: import("zod").ZodDate;
|
36589
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36590
|
-
user: import("zod").ZodObject<{
|
36591
|
-
name: import("zod").ZodString;
|
36592
|
-
id: import("zod").ZodString;
|
36593
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
36594
|
-
email: import("zod").ZodString;
|
36595
|
-
createdAt: import("zod").ZodDate;
|
36596
|
-
updatedAt: import("zod").ZodDate;
|
36597
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36598
|
-
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36599
|
-
password: import("zod").ZodString;
|
36600
|
-
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
36601
|
-
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
36602
|
-
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
36603
|
-
id: import("zod").ZodString;
|
36604
|
-
createdAt: import("zod").ZodDate;
|
36605
|
-
updatedAt: import("zod").ZodDate;
|
36606
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36607
|
-
systemName: import("zod").ZodString;
|
36608
|
-
displayName: import("zod").ZodString;
|
36609
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36610
|
-
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
36611
|
-
id: import("zod").ZodString;
|
36612
|
-
createdAt: import("zod").ZodDate;
|
36613
|
-
updatedAt: import("zod").ZodDate;
|
36614
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36615
|
-
systemName: import("zod").ZodString;
|
36616
|
-
displayName: import("zod").ZodString;
|
36617
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36618
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36619
|
-
id: string;
|
36620
|
-
description: string | null;
|
36621
|
-
createdAt: Date;
|
36622
|
-
updatedAt: Date;
|
36623
|
-
deletedAt: Date | null;
|
36624
|
-
systemName: string;
|
36625
|
-
displayName: string;
|
36626
|
-
}, {
|
36627
|
-
id: string;
|
36628
|
-
description: string | null;
|
36629
|
-
createdAt: Date;
|
36630
|
-
updatedAt: Date;
|
36631
|
-
deletedAt: Date | null;
|
36632
|
-
systemName: string;
|
36633
|
-
displayName: string;
|
36634
|
-
}>, "many">;
|
36635
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36636
|
-
id: string;
|
36637
|
-
description: string | null;
|
36638
|
-
createdAt: Date;
|
36639
|
-
updatedAt: Date;
|
36640
|
-
deletedAt: Date | null;
|
36641
|
-
systemName: string;
|
36642
|
-
displayName: string;
|
36643
|
-
permissions: {
|
36644
|
-
id: string;
|
36645
|
-
description: string | null;
|
36646
|
-
createdAt: Date;
|
36647
|
-
updatedAt: Date;
|
36648
|
-
deletedAt: Date | null;
|
36649
|
-
systemName: string;
|
36650
|
-
displayName: string;
|
36651
|
-
}[];
|
36652
|
-
}, {
|
36653
|
-
id: string;
|
36654
|
-
description: string | null;
|
36655
|
-
createdAt: Date;
|
36656
|
-
updatedAt: Date;
|
36657
|
-
deletedAt: Date | null;
|
36658
|
-
systemName: string;
|
36659
|
-
displayName: string;
|
36660
|
-
permissions: {
|
36661
|
-
id: string;
|
36662
|
-
description: string | null;
|
36663
|
-
createdAt: Date;
|
36664
|
-
updatedAt: Date;
|
36665
|
-
deletedAt: Date | null;
|
36666
|
-
systemName: string;
|
36667
|
-
displayName: string;
|
36668
|
-
}[];
|
36669
|
-
}>, "many">;
|
36670
|
-
extension: import("zod").ZodObject<{
|
36671
|
-
id: import("zod").ZodString;
|
36672
|
-
createdAt: import("zod").ZodDate;
|
36673
|
-
updatedAt: import("zod").ZodDate;
|
36674
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36675
|
-
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
36676
|
-
sipServerUrl: import("zod").ZodString;
|
36677
|
-
sipUserName: import("zod").ZodString;
|
36678
|
-
webphoneLoginUser: import("zod").ZodString;
|
36679
|
-
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
36680
|
-
extensionName: import("zod").ZodString;
|
36681
|
-
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
36682
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36683
|
-
id: string;
|
36684
|
-
createdAt: Date;
|
36685
|
-
updatedAt: Date;
|
36686
|
-
deletedAt: Date | null;
|
36687
|
-
userId: string | null;
|
36688
|
-
sipServerUrl: string;
|
36689
|
-
sipUserName: string;
|
36690
|
-
webphoneLoginUser: string;
|
36691
|
-
extensionId: string | null;
|
36692
|
-
extensionName: string;
|
36693
|
-
telephonySignature: string | null;
|
36694
|
-
}, {
|
36695
|
-
id: string;
|
36696
|
-
createdAt: Date;
|
36697
|
-
updatedAt: Date;
|
36698
|
-
deletedAt: Date | null;
|
36699
|
-
userId: string | null;
|
36700
|
-
sipServerUrl: string;
|
36701
|
-
sipUserName: string;
|
36702
|
-
webphoneLoginUser: string;
|
36703
|
-
extensionId: string | null;
|
36704
|
-
extensionName: string;
|
36705
|
-
telephonySignature: string | null;
|
36706
|
-
}>;
|
36707
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36708
|
-
name: string;
|
36709
|
-
id: string;
|
36710
|
-
address: string | null;
|
36711
|
-
email: string;
|
36712
|
-
createdAt: Date;
|
36713
|
-
updatedAt: Date;
|
36714
|
-
deletedAt: Date | null;
|
36715
|
-
emailVerifiedAt: Date | null;
|
36716
|
-
password: string;
|
36717
|
-
phone: string | null;
|
36718
|
-
notificationCount: number | null;
|
36719
|
-
roles: {
|
36720
|
-
id: string;
|
36721
|
-
description: string | null;
|
36722
|
-
createdAt: Date;
|
36723
|
-
updatedAt: Date;
|
36724
|
-
deletedAt: Date | null;
|
36725
|
-
systemName: string;
|
36726
|
-
displayName: string;
|
36727
|
-
permissions: {
|
36728
|
-
id: string;
|
36729
|
-
description: string | null;
|
36730
|
-
createdAt: Date;
|
36731
|
-
updatedAt: Date;
|
36732
|
-
deletedAt: Date | null;
|
36733
|
-
systemName: string;
|
36734
|
-
displayName: string;
|
36735
|
-
}[];
|
36736
|
-
}[];
|
36737
|
-
extension: {
|
36738
|
-
id: string;
|
36739
|
-
createdAt: Date;
|
36740
|
-
updatedAt: Date;
|
36741
|
-
deletedAt: Date | null;
|
36742
|
-
userId: string | null;
|
36743
|
-
sipServerUrl: string;
|
36744
|
-
sipUserName: string;
|
36745
|
-
webphoneLoginUser: string;
|
36746
|
-
extensionId: string | null;
|
36747
|
-
extensionName: string;
|
36748
|
-
telephonySignature: string | null;
|
36749
|
-
};
|
36750
|
-
}, {
|
36751
|
-
name: string;
|
36752
|
-
id: string;
|
36753
|
-
address: string | null;
|
36754
|
-
email: string;
|
36755
|
-
createdAt: Date;
|
36756
|
-
updatedAt: Date;
|
36757
|
-
deletedAt: Date | null;
|
36758
|
-
emailVerifiedAt: Date | null;
|
36759
|
-
password: string;
|
36760
|
-
phone: string | null;
|
36761
|
-
notificationCount: number | null;
|
36762
|
-
roles: {
|
36763
|
-
id: string;
|
36764
|
-
description: string | null;
|
36765
|
-
createdAt: Date;
|
36766
|
-
updatedAt: Date;
|
36767
|
-
deletedAt: Date | null;
|
36768
|
-
systemName: string;
|
36769
|
-
displayName: string;
|
36770
|
-
permissions: {
|
36771
|
-
id: string;
|
36772
|
-
description: string | null;
|
36773
|
-
createdAt: Date;
|
36774
|
-
updatedAt: Date;
|
36775
|
-
deletedAt: Date | null;
|
36776
|
-
systemName: string;
|
36777
|
-
displayName: string;
|
36778
|
-
}[];
|
36779
|
-
}[];
|
36780
|
-
extension: {
|
36781
|
-
id: string;
|
36782
|
-
createdAt: Date;
|
36783
|
-
updatedAt: Date;
|
36784
|
-
deletedAt: Date | null;
|
36785
|
-
userId: string | null;
|
36786
|
-
sipServerUrl: string;
|
36787
|
-
sipUserName: string;
|
36788
|
-
webphoneLoginUser: string;
|
36789
|
-
extensionId: string | null;
|
36790
|
-
extensionName: string;
|
36791
|
-
telephonySignature: string | null;
|
36792
|
-
};
|
36793
|
-
}>;
|
36794
|
-
presenceStatus: import("zod").ZodObject<{
|
36795
|
-
id: import("zod").ZodString;
|
36796
|
-
createdAt: import("zod").ZodDate;
|
36797
|
-
updatedAt: import("zod").ZodDate;
|
36798
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36799
|
-
systemName: import("zod").ZodString;
|
36800
|
-
displayName: import("zod").ZodString;
|
36801
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
36802
|
-
position: import("zod").ZodNumber;
|
36803
|
-
emoji: import("zod").ZodNullable<import("zod").ZodString>;
|
36804
|
-
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">;
|
36805
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36806
|
-
emoji: string | null;
|
36807
|
-
id: string;
|
36808
|
-
position: number;
|
36809
|
-
description: string | null;
|
36810
|
-
createdAt: Date;
|
36811
|
-
updatedAt: Date;
|
36812
|
-
deletedAt: Date | null;
|
36813
|
-
systemName: string;
|
36814
|
-
displayName: string;
|
36815
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36816
|
-
}, {
|
36817
|
-
emoji: string | null;
|
36818
|
-
id: string;
|
36819
|
-
position: number;
|
36820
|
-
description: string | null;
|
36821
|
-
createdAt: Date;
|
36822
|
-
updatedAt: Date;
|
36823
|
-
deletedAt: Date | null;
|
36824
|
-
systemName: string;
|
36825
|
-
displayName: string;
|
36826
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36827
|
-
}>;
|
36828
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
36829
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36830
|
-
id: string;
|
36831
|
-
user: {
|
36832
|
-
name: string;
|
36833
|
-
id: string;
|
36834
|
-
address: string | null;
|
36835
|
-
email: string;
|
36836
|
-
createdAt: Date;
|
36837
|
-
updatedAt: Date;
|
36838
|
-
deletedAt: Date | null;
|
36839
|
-
emailVerifiedAt: Date | null;
|
36840
|
-
password: string;
|
36841
|
-
phone: string | null;
|
36842
|
-
notificationCount: number | null;
|
36843
|
-
roles: {
|
36844
|
-
id: string;
|
36845
|
-
description: string | null;
|
36846
|
-
createdAt: Date;
|
36847
|
-
updatedAt: Date;
|
36848
|
-
deletedAt: Date | null;
|
36849
|
-
systemName: string;
|
36850
|
-
displayName: string;
|
36851
|
-
permissions: {
|
36852
|
-
id: string;
|
36853
|
-
description: string | null;
|
36854
|
-
createdAt: Date;
|
36855
|
-
updatedAt: Date;
|
36856
|
-
deletedAt: Date | null;
|
36857
|
-
systemName: string;
|
36858
|
-
displayName: string;
|
36859
|
-
}[];
|
36860
|
-
}[];
|
36861
|
-
extension: {
|
36862
|
-
id: string;
|
36863
|
-
createdAt: Date;
|
36864
|
-
updatedAt: Date;
|
36865
|
-
deletedAt: Date | null;
|
36866
|
-
userId: string | null;
|
36867
|
-
sipServerUrl: string;
|
36868
|
-
sipUserName: string;
|
36869
|
-
webphoneLoginUser: string;
|
36870
|
-
extensionId: string | null;
|
36871
|
-
extensionName: string;
|
36872
|
-
telephonySignature: string | null;
|
36873
|
-
};
|
36874
|
-
};
|
36875
|
-
createdAt: Date;
|
36876
|
-
updatedAt: Date;
|
36877
|
-
deletedAt: Date | null;
|
36878
|
-
presenceStatus: {
|
36879
|
-
emoji: string | null;
|
36880
|
-
id: string;
|
36881
|
-
position: number;
|
36882
|
-
description: string | null;
|
36883
|
-
createdAt: Date;
|
36884
|
-
updatedAt: Date;
|
36885
|
-
deletedAt: Date | null;
|
36886
|
-
systemName: string;
|
36887
|
-
displayName: string;
|
36888
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36889
|
-
};
|
36890
|
-
customPresenceStatus?: string | null | undefined;
|
36891
|
-
}, {
|
36892
|
-
id: string;
|
36893
|
-
user: {
|
36894
|
-
name: string;
|
36895
|
-
id: string;
|
36896
|
-
address: string | null;
|
36897
|
-
email: string;
|
36898
|
-
createdAt: Date;
|
36899
|
-
updatedAt: Date;
|
36900
|
-
deletedAt: Date | null;
|
36901
|
-
emailVerifiedAt: Date | null;
|
36902
|
-
password: string;
|
36903
|
-
phone: string | null;
|
36904
|
-
notificationCount: number | null;
|
36905
|
-
roles: {
|
36906
|
-
id: string;
|
36907
|
-
description: string | null;
|
36908
|
-
createdAt: Date;
|
36909
|
-
updatedAt: Date;
|
36910
|
-
deletedAt: Date | null;
|
36911
|
-
systemName: string;
|
36912
|
-
displayName: string;
|
36913
|
-
permissions: {
|
36914
|
-
id: string;
|
36915
|
-
description: string | null;
|
36916
|
-
createdAt: Date;
|
36917
|
-
updatedAt: Date;
|
36918
|
-
deletedAt: Date | null;
|
36919
|
-
systemName: string;
|
36920
|
-
displayName: string;
|
36921
|
-
}[];
|
36922
|
-
}[];
|
36923
|
-
extension: {
|
36924
|
-
id: string;
|
36925
|
-
createdAt: Date;
|
36926
|
-
updatedAt: Date;
|
36927
|
-
deletedAt: Date | null;
|
36928
|
-
userId: string | null;
|
36929
|
-
sipServerUrl: string;
|
36930
|
-
sipUserName: string;
|
36931
|
-
webphoneLoginUser: string;
|
36932
|
-
extensionId: string | null;
|
36933
|
-
extensionName: string;
|
36934
|
-
telephonySignature: string | null;
|
36935
|
-
};
|
36936
|
-
};
|
36937
|
-
createdAt: Date;
|
36938
|
-
updatedAt: Date;
|
36939
|
-
deletedAt: Date | null;
|
36940
|
-
presenceStatus: {
|
36941
|
-
emoji: string | null;
|
36942
|
-
id: string;
|
36943
|
-
position: number;
|
36944
|
-
description: string | null;
|
36945
|
-
createdAt: Date;
|
36946
|
-
updatedAt: Date;
|
36947
|
-
deletedAt: Date | null;
|
36948
|
-
systemName: string;
|
36949
|
-
displayName: string;
|
36950
|
-
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
36951
|
-
};
|
36952
|
-
customPresenceStatus?: string | null | undefined;
|
36953
|
-
}>, "many">;
|
36954
|
-
400: import("zod").ZodObject<{
|
36955
|
-
message: import("zod").ZodString;
|
36956
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36957
|
-
message: string;
|
36958
|
-
}, {
|
36959
|
-
message: string;
|
36960
|
-
}>;
|
36961
|
-
401: import("zod").ZodObject<{
|
36962
|
-
message: import("zod").ZodString;
|
36963
|
-
error: import("zod").ZodAny;
|
36964
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36965
|
-
message: string;
|
36966
|
-
error?: any;
|
36967
|
-
}, {
|
36968
|
-
message: string;
|
36969
|
-
error?: any;
|
36970
|
-
}>;
|
36971
|
-
500: import("zod").ZodObject<{
|
36972
|
-
message: import("zod").ZodString;
|
36973
|
-
error: import("zod").ZodAny;
|
36974
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36975
|
-
message: string;
|
36976
|
-
error?: any;
|
36977
|
-
}, {
|
36978
|
-
message: string;
|
36979
|
-
error?: any;
|
36980
|
-
}>;
|
36981
|
-
};
|
36982
|
-
path: "ms/telephony/agents/presence_status";
|
36983
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36984
|
-
'x-tenant': import("zod").ZodString;
|
36985
|
-
'x-service-token': import("zod").ZodString;
|
36986
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
36987
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
36988
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36989
|
-
'x-tenant': string;
|
36990
|
-
'x-service-token': string;
|
36991
|
-
'x-client-timezone': string;
|
36992
|
-
'x-code'?: string | undefined;
|
36993
|
-
}, {
|
36994
|
-
'x-tenant': string;
|
36995
|
-
'x-service-token': string;
|
36996
|
-
'x-code'?: string | undefined;
|
36997
|
-
'x-client-timezone'?: string | undefined;
|
36998
|
-
}>>>;
|
36999
|
-
};
|
37000
36653
|
getAgentStatus: {
|
37001
36654
|
summary: "Check and update user agent status before getting from telephony server.";
|
37002
36655
|
method: "GET";
|
@@ -37251,7 +36904,6 @@ export declare const apiContract: {
|
|
37251
36904
|
displayName: string;
|
37252
36905
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37253
36906
|
}>;
|
37254
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37255
36907
|
}, "strip", import("zod").ZodTypeAny, {
|
37256
36908
|
id: string;
|
37257
36909
|
user: {
|
@@ -37313,7 +36965,6 @@ export declare const apiContract: {
|
|
37313
36965
|
displayName: string;
|
37314
36966
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37315
36967
|
};
|
37316
|
-
customPresenceStatus?: string | null | undefined;
|
37317
36968
|
}, {
|
37318
36969
|
id: string;
|
37319
36970
|
user: {
|
@@ -37375,7 +37026,6 @@ export declare const apiContract: {
|
|
37375
37026
|
displayName: string;
|
37376
37027
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37377
37028
|
};
|
37378
|
-
customPresenceStatus?: string | null | undefined;
|
37379
37029
|
}>;
|
37380
37030
|
400: import("zod").ZodObject<{
|
37381
37031
|
message: import("zod").ZodString;
|
@@ -37427,18 +37077,15 @@ export declare const apiContract: {
|
|
37427
37077
|
body: import("zod").ZodObject<{
|
37428
37078
|
userId: import("zod").ZodString;
|
37429
37079
|
presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37430
|
-
customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37431
37080
|
reason: import("zod").ZodString;
|
37432
37081
|
}, "strip", import("zod").ZodTypeAny, {
|
37433
37082
|
reason: string;
|
37434
37083
|
userId: string;
|
37435
37084
|
presenceStatusId?: string | null | undefined;
|
37436
|
-
customPreseneStatus?: string | null | undefined;
|
37437
37085
|
}, {
|
37438
37086
|
reason: string;
|
37439
37087
|
userId: string;
|
37440
37088
|
presenceStatusId?: string | null | undefined;
|
37441
|
-
customPreseneStatus?: string | null | undefined;
|
37442
37089
|
}>;
|
37443
37090
|
summary: "Update presence status";
|
37444
37091
|
method: "POST";
|
@@ -37688,7 +37335,6 @@ export declare const apiContract: {
|
|
37688
37335
|
displayName: string;
|
37689
37336
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37690
37337
|
}>;
|
37691
|
-
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
37692
37338
|
}, "strip", import("zod").ZodTypeAny, {
|
37693
37339
|
id: string;
|
37694
37340
|
user: {
|
@@ -37750,7 +37396,6 @@ export declare const apiContract: {
|
|
37750
37396
|
displayName: string;
|
37751
37397
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37752
37398
|
};
|
37753
|
-
customPresenceStatus?: string | null | undefined;
|
37754
37399
|
}, {
|
37755
37400
|
id: string;
|
37756
37401
|
user: {
|
@@ -37812,7 +37457,6 @@ export declare const apiContract: {
|
|
37812
37457
|
displayName: string;
|
37813
37458
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37814
37459
|
};
|
37815
|
-
customPresenceStatus?: string | null | undefined;
|
37816
37460
|
}>;
|
37817
37461
|
}, "strip", import("zod").ZodTypeAny, {
|
37818
37462
|
requestId: string;
|
@@ -37877,7 +37521,6 @@ export declare const apiContract: {
|
|
37877
37521
|
displayName: string;
|
37878
37522
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37879
37523
|
};
|
37880
|
-
customPresenceStatus?: string | null | undefined;
|
37881
37524
|
};
|
37882
37525
|
}, {
|
37883
37526
|
requestId: string;
|
@@ -37942,7 +37585,6 @@ export declare const apiContract: {
|
|
37942
37585
|
displayName: string;
|
37943
37586
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
37944
37587
|
};
|
37945
|
-
customPresenceStatus?: string | null | undefined;
|
37946
37588
|
};
|
37947
37589
|
}>;
|
37948
37590
|
400: import("zod").ZodObject<{
|
@@ -329673,7 +329315,7 @@ export declare const channelSettingContract: {
|
|
329673
329315
|
error?: any;
|
329674
329316
|
}>;
|
329675
329317
|
};
|
329676
|
-
path: "ms/settings
|
329318
|
+
path: "ms/settings/lazada/connect";
|
329677
329319
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
329678
329320
|
'x-tenant': import("zod").ZodString;
|
329679
329321
|
'x-service-token': import("zod").ZodString;
|