@kl1/contracts 1.3.46 → 1.3.48
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/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +6 -2
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +10 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +10 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +10 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +51 -16
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +0 -11
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +0 -3
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +5 -0
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +5 -0
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +5 -0
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +5 -0
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +5 -0
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +5 -0
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +5 -0
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +5 -0
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/index.js +17 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -4923,10 +4923,13 @@ export declare const apiContract: {
|
|
4923
4923
|
updateChannelCsatPreference: {
|
4924
4924
|
body: import("zod").ZodObject<{
|
4925
4925
|
isCSATEnabled: import("zod").ZodBoolean;
|
4926
|
+
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
4926
4927
|
}, "strip", import("zod").ZodTypeAny, {
|
4927
4928
|
isCSATEnabled: boolean;
|
4929
|
+
dispositions?: string[] | undefined;
|
4928
4930
|
}, {
|
4929
4931
|
isCSATEnabled: boolean;
|
4932
|
+
dispositions?: string[] | undefined;
|
4930
4933
|
}>;
|
4931
4934
|
summary: "Enable or Disable CSAT for channel";
|
4932
4935
|
method: "POST";
|
@@ -5734,7 +5737,7 @@ export declare const apiContract: {
|
|
5734
5737
|
error?: any;
|
5735
5738
|
}>;
|
5736
5739
|
};
|
5737
|
-
path: "ms
|
5740
|
+
path: "ms/csat/:channelId";
|
5738
5741
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
5739
5742
|
'x-tenant': import("zod").ZodString;
|
5740
5743
|
'x-service-token': import("zod").ZodString;
|
@@ -13218,7 +13221,6 @@ export declare const apiContract: {
|
|
13218
13221
|
type?: string | undefined;
|
13219
13222
|
}>, "many">>;
|
13220
13223
|
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
13221
|
-
uid: import("zod").ZodOptional<import("zod").ZodString>;
|
13222
13224
|
}, "strip", import("zod").ZodTypeAny, {
|
13223
13225
|
page?: number | undefined;
|
13224
13226
|
pageSize?: number | undefined;
|
@@ -13248,7 +13250,6 @@ export declare const apiContract: {
|
|
13248
13250
|
type?: string | undefined;
|
13249
13251
|
}[] | undefined;
|
13250
13252
|
selectedDate?: string | undefined;
|
13251
|
-
uid?: string | undefined;
|
13252
13253
|
}, {
|
13253
13254
|
page?: number | undefined;
|
13254
13255
|
pageSize?: number | undefined;
|
@@ -13278,7 +13279,6 @@ export declare const apiContract: {
|
|
13278
13279
|
type?: string | undefined;
|
13279
13280
|
}[] | undefined;
|
13280
13281
|
selectedDate?: string | undefined;
|
13281
|
-
uid?: string | undefined;
|
13282
13282
|
}>;
|
13283
13283
|
responses: {
|
13284
13284
|
200: import("zod").ZodObject<{
|
@@ -19966,7 +19966,6 @@ export declare const apiContract: {
|
|
19966
19966
|
usage: number;
|
19967
19967
|
usageUnit: string;
|
19968
19968
|
}>;
|
19969
|
-
uid: import("zod").ZodString;
|
19970
19969
|
}, "strip", import("zod").ZodTypeAny, {
|
19971
19970
|
id: string;
|
19972
19971
|
channel: string | null;
|
@@ -20909,7 +20908,6 @@ export declare const apiContract: {
|
|
20909
20908
|
usage: number;
|
20910
20909
|
usageUnit: string;
|
20911
20910
|
};
|
20912
|
-
uid: string;
|
20913
20911
|
}, {
|
20914
20912
|
id: string;
|
20915
20913
|
channel: string | null;
|
@@ -21852,7 +21850,6 @@ export declare const apiContract: {
|
|
21852
21850
|
usage: number;
|
21853
21851
|
usageUnit: string;
|
21854
21852
|
};
|
21855
|
-
uid: string;
|
21856
21853
|
}>, "many">;
|
21857
21854
|
}, "strip", import("zod").ZodTypeAny, {
|
21858
21855
|
total: number;
|
@@ -22801,7 +22798,6 @@ export declare const apiContract: {
|
|
22801
22798
|
usage: number;
|
22802
22799
|
usageUnit: string;
|
22803
22800
|
};
|
22804
|
-
uid: string;
|
22805
22801
|
}[];
|
22806
22802
|
}, {
|
22807
22803
|
total: number;
|
@@ -23750,7 +23746,6 @@ export declare const apiContract: {
|
|
23750
23746
|
usage: number;
|
23751
23747
|
usageUnit: string;
|
23752
23748
|
};
|
23753
|
-
uid: string;
|
23754
23749
|
}[];
|
23755
23750
|
}>;
|
23756
23751
|
401: import("zod").ZodObject<{
|
@@ -23817,7 +23812,6 @@ export declare const apiContract: {
|
|
23817
23812
|
contactId: import("zod").ZodOptional<import("zod").ZodString>;
|
23818
23813
|
trunks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
23819
23814
|
caseId: import("zod").ZodOptional<import("zod").ZodString>;
|
23820
|
-
uid: import("zod").ZodOptional<import("zod").ZodString>;
|
23821
23815
|
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
23822
23816
|
channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
23823
23817
|
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>>>;
|
@@ -23848,7 +23842,6 @@ export declare const apiContract: {
|
|
23848
23842
|
contactId?: string | undefined;
|
23849
23843
|
trunks?: string[] | undefined;
|
23850
23844
|
caseId?: string | undefined;
|
23851
|
-
uid?: string | undefined;
|
23852
23845
|
selectedDate?: string | undefined;
|
23853
23846
|
channelIds?: string[] | undefined;
|
23854
23847
|
agentIds?: string[] | undefined;
|
@@ -23879,7 +23872,6 @@ export declare const apiContract: {
|
|
23879
23872
|
contactId?: string | undefined;
|
23880
23873
|
trunks?: string[] | undefined;
|
23881
23874
|
caseId?: string | undefined;
|
23882
|
-
uid?: string | undefined;
|
23883
23875
|
selectedDate?: string | undefined;
|
23884
23876
|
channelIds?: string[] | undefined;
|
23885
23877
|
agentIds?: string[] | Record<string, string> | undefined;
|
@@ -40804,7 +40796,7 @@ export declare const apiContract: {
|
|
40804
40796
|
error?: any;
|
40805
40797
|
}>;
|
40806
40798
|
};
|
40807
|
-
path: "bots/";
|
40799
|
+
path: "ms/bots/";
|
40808
40800
|
};
|
40809
40801
|
getBots: {
|
40810
40802
|
method: "GET";
|
@@ -40860,7 +40852,7 @@ export declare const apiContract: {
|
|
40860
40852
|
error?: any;
|
40861
40853
|
}>;
|
40862
40854
|
};
|
40863
|
-
path: "bots/";
|
40855
|
+
path: "ms/bots/";
|
40864
40856
|
};
|
40865
40857
|
};
|
40866
40858
|
};
|
@@ -89721,6 +89713,7 @@ export declare const platformContract: {
|
|
89721
89713
|
}>;
|
89722
89714
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
89723
89715
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
89716
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
89724
89717
|
}, "strip", import("zod").ZodTypeAny, {
|
89725
89718
|
id: string;
|
89726
89719
|
channel: {
|
@@ -89812,6 +89805,7 @@ export declare const platformContract: {
|
|
89812
89805
|
id: string;
|
89813
89806
|
email: string;
|
89814
89807
|
} | null;
|
89808
|
+
isBotRoom: boolean | null;
|
89815
89809
|
lastMessage?: string | undefined;
|
89816
89810
|
handleTime?: number | undefined;
|
89817
89811
|
metadata?: any;
|
@@ -89913,6 +89907,7 @@ export declare const platformContract: {
|
|
89913
89907
|
metadata?: any;
|
89914
89908
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
89915
89909
|
telegramBusinessConnectionId?: string | null | undefined;
|
89910
|
+
isBotRoom?: boolean | null | undefined;
|
89916
89911
|
}>;
|
89917
89912
|
message: import("zod").ZodObject<{
|
89918
89913
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -90172,6 +90167,7 @@ export declare const platformContract: {
|
|
90172
90167
|
id: string;
|
90173
90168
|
email: string;
|
90174
90169
|
} | null;
|
90170
|
+
isBotRoom: boolean | null;
|
90175
90171
|
lastMessage?: string | undefined;
|
90176
90172
|
handleTime?: number | undefined;
|
90177
90173
|
metadata?: any;
|
@@ -90312,6 +90308,7 @@ export declare const platformContract: {
|
|
90312
90308
|
metadata?: any;
|
90313
90309
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
90314
90310
|
telegramBusinessConnectionId?: string | null | undefined;
|
90311
|
+
isBotRoom?: boolean | null | undefined;
|
90315
90312
|
};
|
90316
90313
|
isBot?: boolean | null | undefined;
|
90317
90314
|
}>;
|
@@ -109663,7 +109660,7 @@ export declare const platformContract: {
|
|
109663
109660
|
};
|
109664
109661
|
};
|
109665
109662
|
};
|
109666
|
-
export declare const
|
109663
|
+
export declare const platformLineContract: {
|
109667
109664
|
line: {
|
109668
109665
|
sendSticker: {
|
109669
109666
|
body: import("zod").ZodObject<{
|
@@ -111446,6 +111443,7 @@ export declare const tmpLineContract: {
|
|
111446
111443
|
}>;
|
111447
111444
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
111448
111445
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
111446
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
111449
111447
|
}, "strip", import("zod").ZodTypeAny, {
|
111450
111448
|
id: string;
|
111451
111449
|
channel: {
|
@@ -111537,6 +111535,7 @@ export declare const tmpLineContract: {
|
|
111537
111535
|
id: string;
|
111538
111536
|
email: string;
|
111539
111537
|
} | null;
|
111538
|
+
isBotRoom: boolean | null;
|
111540
111539
|
lastMessage?: string | undefined;
|
111541
111540
|
handleTime?: number | undefined;
|
111542
111541
|
metadata?: any;
|
@@ -111638,6 +111637,7 @@ export declare const tmpLineContract: {
|
|
111638
111637
|
metadata?: any;
|
111639
111638
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
111640
111639
|
telegramBusinessConnectionId?: string | null | undefined;
|
111640
|
+
isBotRoom?: boolean | null | undefined;
|
111641
111641
|
}>;
|
111642
111642
|
message: import("zod").ZodObject<{
|
111643
111643
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -111897,6 +111897,7 @@ export declare const tmpLineContract: {
|
|
111897
111897
|
id: string;
|
111898
111898
|
email: string;
|
111899
111899
|
} | null;
|
111900
|
+
isBotRoom: boolean | null;
|
111900
111901
|
lastMessage?: string | undefined;
|
111901
111902
|
handleTime?: number | undefined;
|
111902
111903
|
metadata?: any;
|
@@ -112037,6 +112038,7 @@ export declare const tmpLineContract: {
|
|
112037
112038
|
metadata?: any;
|
112038
112039
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
112039
112040
|
telegramBusinessConnectionId?: string | null | undefined;
|
112041
|
+
isBotRoom?: boolean | null | undefined;
|
112040
112042
|
};
|
112041
112043
|
isBot?: boolean | null | undefined;
|
112042
112044
|
}>;
|
@@ -133404,6 +133406,7 @@ export declare const platformTelegramContract: {
|
|
133404
133406
|
}>;
|
133405
133407
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
133406
133408
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
133409
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
133407
133410
|
}, "strip", import("zod").ZodTypeAny, {
|
133408
133411
|
id: string;
|
133409
133412
|
channel: {
|
@@ -133495,6 +133498,7 @@ export declare const platformTelegramContract: {
|
|
133495
133498
|
id: string;
|
133496
133499
|
email: string;
|
133497
133500
|
} | null;
|
133501
|
+
isBotRoom: boolean | null;
|
133498
133502
|
lastMessage?: string | undefined;
|
133499
133503
|
handleTime?: number | undefined;
|
133500
133504
|
metadata?: any;
|
@@ -133596,6 +133600,7 @@ export declare const platformTelegramContract: {
|
|
133596
133600
|
metadata?: any;
|
133597
133601
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
133598
133602
|
telegramBusinessConnectionId?: string | null | undefined;
|
133603
|
+
isBotRoom?: boolean | null | undefined;
|
133599
133604
|
}>;
|
133600
133605
|
message: import("zod").ZodObject<{
|
133601
133606
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -133855,6 +133860,7 @@ export declare const platformTelegramContract: {
|
|
133855
133860
|
id: string;
|
133856
133861
|
email: string;
|
133857
133862
|
} | null;
|
133863
|
+
isBotRoom: boolean | null;
|
133858
133864
|
lastMessage?: string | undefined;
|
133859
133865
|
handleTime?: number | undefined;
|
133860
133866
|
metadata?: any;
|
@@ -133995,6 +134001,7 @@ export declare const platformTelegramContract: {
|
|
133995
134001
|
metadata?: any;
|
133996
134002
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
133997
134003
|
telegramBusinessConnectionId?: string | null | undefined;
|
134004
|
+
isBotRoom?: boolean | null | undefined;
|
133998
134005
|
};
|
133999
134006
|
isBot?: boolean | null | undefined;
|
134000
134007
|
}>;
|
@@ -153359,6 +153366,7 @@ export declare const platformMessengerContract: {
|
|
153359
153366
|
}>;
|
153360
153367
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
153361
153368
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
153369
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
153362
153370
|
}, "strip", import("zod").ZodTypeAny, {
|
153363
153371
|
id: string;
|
153364
153372
|
channel: {
|
@@ -153450,6 +153458,7 @@ export declare const platformMessengerContract: {
|
|
153450
153458
|
id: string;
|
153451
153459
|
email: string;
|
153452
153460
|
} | null;
|
153461
|
+
isBotRoom: boolean | null;
|
153453
153462
|
lastMessage?: string | undefined;
|
153454
153463
|
handleTime?: number | undefined;
|
153455
153464
|
metadata?: any;
|
@@ -153551,6 +153560,7 @@ export declare const platformMessengerContract: {
|
|
153551
153560
|
metadata?: any;
|
153552
153561
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
153553
153562
|
telegramBusinessConnectionId?: string | null | undefined;
|
153563
|
+
isBotRoom?: boolean | null | undefined;
|
153554
153564
|
}>;
|
153555
153565
|
message: import("zod").ZodObject<{
|
153556
153566
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -153810,6 +153820,7 @@ export declare const platformMessengerContract: {
|
|
153810
153820
|
id: string;
|
153811
153821
|
email: string;
|
153812
153822
|
} | null;
|
153823
|
+
isBotRoom: boolean | null;
|
153813
153824
|
lastMessage?: string | undefined;
|
153814
153825
|
handleTime?: number | undefined;
|
153815
153826
|
metadata?: any;
|
@@ -153950,6 +153961,7 @@ export declare const platformMessengerContract: {
|
|
153950
153961
|
metadata?: any;
|
153951
153962
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
153952
153963
|
telegramBusinessConnectionId?: string | null | undefined;
|
153964
|
+
isBotRoom?: boolean | null | undefined;
|
153953
153965
|
};
|
153954
153966
|
isBot?: boolean | null | undefined;
|
153955
153967
|
}>;
|
@@ -175672,6 +175684,7 @@ export declare const platformInstagramContract: {
|
|
175672
175684
|
}>;
|
175673
175685
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
175674
175686
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
175687
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
175675
175688
|
}, "strip", import("zod").ZodTypeAny, {
|
175676
175689
|
id: string;
|
175677
175690
|
channel: {
|
@@ -175763,6 +175776,7 @@ export declare const platformInstagramContract: {
|
|
175763
175776
|
id: string;
|
175764
175777
|
email: string;
|
175765
175778
|
} | null;
|
175779
|
+
isBotRoom: boolean | null;
|
175766
175780
|
lastMessage?: string | undefined;
|
175767
175781
|
handleTime?: number | undefined;
|
175768
175782
|
metadata?: any;
|
@@ -175864,6 +175878,7 @@ export declare const platformInstagramContract: {
|
|
175864
175878
|
metadata?: any;
|
175865
175879
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
175866
175880
|
telegramBusinessConnectionId?: string | null | undefined;
|
175881
|
+
isBotRoom?: boolean | null | undefined;
|
175867
175882
|
}>;
|
175868
175883
|
message: import("zod").ZodObject<{
|
175869
175884
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -176123,6 +176138,7 @@ export declare const platformInstagramContract: {
|
|
176123
176138
|
id: string;
|
176124
176139
|
email: string;
|
176125
176140
|
} | null;
|
176141
|
+
isBotRoom: boolean | null;
|
176126
176142
|
lastMessage?: string | undefined;
|
176127
176143
|
handleTime?: number | undefined;
|
176128
176144
|
metadata?: any;
|
@@ -176263,6 +176279,7 @@ export declare const platformInstagramContract: {
|
|
176263
176279
|
metadata?: any;
|
176264
176280
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
176265
176281
|
telegramBusinessConnectionId?: string | null | undefined;
|
176282
|
+
isBotRoom?: boolean | null | undefined;
|
176266
176283
|
};
|
176267
176284
|
isBot?: boolean | null | undefined;
|
176268
176285
|
}>;
|
@@ -201627,6 +201644,7 @@ export declare const platformSMSContract: {
|
|
201627
201644
|
}>;
|
201628
201645
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
201629
201646
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
201647
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
201630
201648
|
}, "strip", import("zod").ZodTypeAny, {
|
201631
201649
|
id: string;
|
201632
201650
|
channel: {
|
@@ -201718,6 +201736,7 @@ export declare const platformSMSContract: {
|
|
201718
201736
|
id: string;
|
201719
201737
|
email: string;
|
201720
201738
|
} | null;
|
201739
|
+
isBotRoom: boolean | null;
|
201721
201740
|
lastMessage?: string | undefined;
|
201722
201741
|
handleTime?: number | undefined;
|
201723
201742
|
metadata?: any;
|
@@ -201819,6 +201838,7 @@ export declare const platformSMSContract: {
|
|
201819
201838
|
metadata?: any;
|
201820
201839
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
201821
201840
|
telegramBusinessConnectionId?: string | null | undefined;
|
201841
|
+
isBotRoom?: boolean | null | undefined;
|
201822
201842
|
}>;
|
201823
201843
|
message: import("zod").ZodObject<{
|
201824
201844
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -202078,6 +202098,7 @@ export declare const platformSMSContract: {
|
|
202078
202098
|
id: string;
|
202079
202099
|
email: string;
|
202080
202100
|
} | null;
|
202101
|
+
isBotRoom: boolean | null;
|
202081
202102
|
lastMessage?: string | undefined;
|
202082
202103
|
handleTime?: number | undefined;
|
202083
202104
|
metadata?: any;
|
@@ -202218,6 +202239,7 @@ export declare const platformSMSContract: {
|
|
202218
202239
|
metadata?: any;
|
202219
202240
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
202220
202241
|
telegramBusinessConnectionId?: string | null | undefined;
|
202242
|
+
isBotRoom?: boolean | null | undefined;
|
202221
202243
|
};
|
202222
202244
|
isBot?: boolean | null | undefined;
|
202223
202245
|
}>;
|
@@ -202662,6 +202684,7 @@ export declare const platformWhatsappContract: {
|
|
202662
202684
|
}>;
|
202663
202685
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
202664
202686
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
202687
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
202665
202688
|
}, "strip", import("zod").ZodTypeAny, {
|
202666
202689
|
id: string;
|
202667
202690
|
channel: {
|
@@ -202753,6 +202776,7 @@ export declare const platformWhatsappContract: {
|
|
202753
202776
|
id: string;
|
202754
202777
|
email: string;
|
202755
202778
|
} | null;
|
202779
|
+
isBotRoom: boolean | null;
|
202756
202780
|
lastMessage?: string | undefined;
|
202757
202781
|
handleTime?: number | undefined;
|
202758
202782
|
metadata?: any;
|
@@ -202854,6 +202878,7 @@ export declare const platformWhatsappContract: {
|
|
202854
202878
|
metadata?: any;
|
202855
202879
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
202856
202880
|
telegramBusinessConnectionId?: string | null | undefined;
|
202881
|
+
isBotRoom?: boolean | null | undefined;
|
202857
202882
|
}>;
|
202858
202883
|
message: import("zod").ZodObject<{
|
202859
202884
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -203113,6 +203138,7 @@ export declare const platformWhatsappContract: {
|
|
203113
203138
|
id: string;
|
203114
203139
|
email: string;
|
203115
203140
|
} | null;
|
203141
|
+
isBotRoom: boolean | null;
|
203116
203142
|
lastMessage?: string | undefined;
|
203117
203143
|
handleTime?: number | undefined;
|
203118
203144
|
metadata?: any;
|
@@ -203253,6 +203279,7 @@ export declare const platformWhatsappContract: {
|
|
203253
203279
|
metadata?: any;
|
203254
203280
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
203255
203281
|
telegramBusinessConnectionId?: string | null | undefined;
|
203282
|
+
isBotRoom?: boolean | null | undefined;
|
203256
203283
|
};
|
203257
203284
|
isBot?: boolean | null | undefined;
|
203258
203285
|
}>;
|
@@ -229363,6 +229390,7 @@ export declare const facebookFeedContract: {
|
|
229363
229390
|
}>;
|
229364
229391
|
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
229365
229392
|
telegramBusinessConnectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
229393
|
+
isBotRoom: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
229366
229394
|
}, "strip", import("zod").ZodTypeAny, {
|
229367
229395
|
id: string;
|
229368
229396
|
channel: {
|
@@ -229454,6 +229482,7 @@ export declare const facebookFeedContract: {
|
|
229454
229482
|
id: string;
|
229455
229483
|
email: string;
|
229456
229484
|
} | null;
|
229485
|
+
isBotRoom: boolean | null;
|
229457
229486
|
lastMessage?: string | undefined;
|
229458
229487
|
handleTime?: number | undefined;
|
229459
229488
|
metadata?: any;
|
@@ -229555,6 +229584,7 @@ export declare const facebookFeedContract: {
|
|
229555
229584
|
metadata?: any;
|
229556
229585
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
229557
229586
|
telegramBusinessConnectionId?: string | null | undefined;
|
229587
|
+
isBotRoom?: boolean | null | undefined;
|
229558
229588
|
}>;
|
229559
229589
|
isBot: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
229560
229590
|
params: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -229695,6 +229725,7 @@ export declare const facebookFeedContract: {
|
|
229695
229725
|
id: string;
|
229696
229726
|
email: string;
|
229697
229727
|
} | null;
|
229728
|
+
isBotRoom: boolean | null;
|
229698
229729
|
lastMessage?: string | undefined;
|
229699
229730
|
handleTime?: number | undefined;
|
229700
229731
|
metadata?: any;
|
@@ -229839,6 +229870,7 @@ export declare const facebookFeedContract: {
|
|
229839
229870
|
metadata?: any;
|
229840
229871
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
229841
229872
|
telegramBusinessConnectionId?: string | null | undefined;
|
229873
|
+
isBotRoom?: boolean | null | undefined;
|
229842
229874
|
};
|
229843
229875
|
isBot?: boolean | null | undefined;
|
229844
229876
|
params?: {
|
@@ -320087,10 +320119,13 @@ export declare const channelSettingContract: {
|
|
320087
320119
|
updateChannelCsatPreference: {
|
320088
320120
|
body: import("zod").ZodObject<{
|
320089
320121
|
isCSATEnabled: import("zod").ZodBoolean;
|
320122
|
+
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
320090
320123
|
}, "strip", import("zod").ZodTypeAny, {
|
320091
320124
|
isCSATEnabled: boolean;
|
320125
|
+
dispositions?: string[] | undefined;
|
320092
320126
|
}, {
|
320093
320127
|
isCSATEnabled: boolean;
|
320128
|
+
dispositions?: string[] | undefined;
|
320094
320129
|
}>;
|
320095
320130
|
summary: "Enable or Disable CSAT for channel";
|
320096
320131
|
method: "POST";
|
@@ -320898,7 +320933,7 @@ export declare const channelSettingContract: {
|
|
320898
320933
|
error?: any;
|
320899
320934
|
}>;
|
320900
320935
|
};
|
320901
|
-
path: "ms/settings
|
320936
|
+
path: "ms/settings/csat/:channelId";
|
320902
320937
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
320903
320938
|
'x-tenant': import("zod").ZodString;
|
320904
320939
|
'x-service-token': import("zod").ZodString;
|