@kl1/contracts 1.3.29 → 1.3.30
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/contract.d.ts +1416 -254
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +636 -51
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +46 -4
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +66 -12
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/index.js +62 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +62 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -15844,9 +15844,9 @@ export declare const apiContract: {
|
|
15844
15844
|
createWidget: {
|
15845
15845
|
body: import("zod").ZodObject<{
|
15846
15846
|
name: import("zod").ZodString;
|
15847
|
-
description: import("zod").ZodString
|
15847
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
15848
15848
|
url: import("zod").ZodString;
|
15849
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
15849
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
15850
15850
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
15851
15851
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
15852
15852
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -15854,22 +15854,49 @@ export declare const apiContract: {
|
|
15854
15854
|
}, {
|
15855
15855
|
data: string[];
|
15856
15856
|
}>>;
|
15857
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
15858
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
15859
|
+
key: import("zod").ZodString;
|
15860
|
+
value: import("zod").ZodString;
|
15861
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15862
|
+
key: string;
|
15863
|
+
value: string;
|
15864
|
+
}, {
|
15865
|
+
key: string;
|
15866
|
+
value: string;
|
15867
|
+
}>, "many">>;
|
15868
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
15869
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
15857
15870
|
}, "strip", import("zod").ZodTypeAny, {
|
15858
15871
|
name: string;
|
15872
|
+
type: "custom" | "iframe";
|
15859
15873
|
url: string;
|
15860
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
15861
|
-
|
15874
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
15875
|
+
fileKey: string | null;
|
15876
|
+
description?: string | undefined;
|
15862
15877
|
fields?: {
|
15863
15878
|
data: string[];
|
15864
15879
|
} | undefined;
|
15880
|
+
headers?: {
|
15881
|
+
key: string;
|
15882
|
+
value: string;
|
15883
|
+
}[] | undefined;
|
15884
|
+
method?: "get" | "post" | undefined;
|
15865
15885
|
}, {
|
15866
15886
|
name: string;
|
15887
|
+
type: "custom" | "iframe";
|
15867
15888
|
url: string;
|
15868
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
15869
|
-
|
15889
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
15890
|
+
fileKey: string | null;
|
15891
|
+
description?: string | undefined;
|
15870
15892
|
fields?: {
|
15871
15893
|
data: string[];
|
15872
15894
|
} | undefined;
|
15895
|
+
headers?: {
|
15896
|
+
key: string;
|
15897
|
+
value: string;
|
15898
|
+
}[] | undefined;
|
15899
|
+
method?: "get" | "post" | undefined;
|
15873
15900
|
}>;
|
15874
15901
|
summary: "Create a widget.";
|
15875
15902
|
method: "POST";
|
@@ -15883,7 +15910,7 @@ export declare const apiContract: {
|
|
15883
15910
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
15884
15911
|
name: import("zod").ZodString;
|
15885
15912
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
15886
|
-
position: import("zod").
|
15913
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
15887
15914
|
fields: import("zod").ZodObject<{
|
15888
15915
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
15889
15916
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -15892,27 +15919,57 @@ export declare const apiContract: {
|
|
15892
15919
|
data: string[];
|
15893
15920
|
}>;
|
15894
15921
|
url: import("zod").ZodString;
|
15922
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
15923
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
15924
|
+
key: import("zod").ZodString;
|
15925
|
+
value: import("zod").ZodString;
|
15926
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15927
|
+
key: string;
|
15928
|
+
value: string;
|
15929
|
+
}, {
|
15930
|
+
key: string;
|
15931
|
+
value: string;
|
15932
|
+
}>, "many">>;
|
15933
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
15934
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
15935
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
15895
15936
|
}, "strip", import("zod").ZodTypeAny, {
|
15896
15937
|
name: string;
|
15938
|
+
type: "custom" | "iframe" | null;
|
15897
15939
|
id: string;
|
15898
15940
|
url: string;
|
15899
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
15941
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
15942
|
+
method: "get" | "post" | null;
|
15900
15943
|
description: string | null;
|
15901
15944
|
createdAt: Date;
|
15902
15945
|
updatedAt: Date;
|
15903
15946
|
deletedAt: Date | null;
|
15947
|
+
headers: {
|
15948
|
+
key: string;
|
15949
|
+
value: string;
|
15950
|
+
}[] | null;
|
15951
|
+
fileKey: string | null;
|
15952
|
+
fileUrl: string | null;
|
15904
15953
|
fields: {
|
15905
15954
|
data: string[];
|
15906
15955
|
};
|
15907
15956
|
}, {
|
15908
15957
|
name: string;
|
15958
|
+
type: "custom" | "iframe" | null;
|
15909
15959
|
id: string;
|
15910
15960
|
url: string;
|
15911
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
15961
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
15962
|
+
method: "get" | "post" | null;
|
15912
15963
|
description: string | null;
|
15913
15964
|
createdAt: Date;
|
15914
15965
|
updatedAt: Date;
|
15915
15966
|
deletedAt: Date | null;
|
15967
|
+
headers: {
|
15968
|
+
key: string;
|
15969
|
+
value: string;
|
15970
|
+
}[] | null;
|
15971
|
+
fileKey: string | null;
|
15972
|
+
fileUrl: string | null;
|
15916
15973
|
fields: {
|
15917
15974
|
data: string[];
|
15918
15975
|
};
|
@@ -15921,13 +15978,21 @@ export declare const apiContract: {
|
|
15921
15978
|
requestId: string;
|
15922
15979
|
widget: {
|
15923
15980
|
name: string;
|
15981
|
+
type: "custom" | "iframe" | null;
|
15924
15982
|
id: string;
|
15925
15983
|
url: string;
|
15926
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
15984
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
15985
|
+
method: "get" | "post" | null;
|
15927
15986
|
description: string | null;
|
15928
15987
|
createdAt: Date;
|
15929
15988
|
updatedAt: Date;
|
15930
15989
|
deletedAt: Date | null;
|
15990
|
+
headers: {
|
15991
|
+
key: string;
|
15992
|
+
value: string;
|
15993
|
+
}[] | null;
|
15994
|
+
fileKey: string | null;
|
15995
|
+
fileUrl: string | null;
|
15931
15996
|
fields: {
|
15932
15997
|
data: string[];
|
15933
15998
|
};
|
@@ -15936,13 +16001,21 @@ export declare const apiContract: {
|
|
15936
16001
|
requestId: string;
|
15937
16002
|
widget: {
|
15938
16003
|
name: string;
|
16004
|
+
type: "custom" | "iframe" | null;
|
15939
16005
|
id: string;
|
15940
16006
|
url: string;
|
15941
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16007
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16008
|
+
method: "get" | "post" | null;
|
15942
16009
|
description: string | null;
|
15943
16010
|
createdAt: Date;
|
15944
16011
|
updatedAt: Date;
|
15945
16012
|
deletedAt: Date | null;
|
16013
|
+
headers: {
|
16014
|
+
key: string;
|
16015
|
+
value: string;
|
16016
|
+
}[] | null;
|
16017
|
+
fileKey: string | null;
|
16018
|
+
fileUrl: string | null;
|
15946
16019
|
fields: {
|
15947
16020
|
data: string[];
|
15948
16021
|
};
|
@@ -15976,7 +16049,7 @@ export declare const apiContract: {
|
|
15976
16049
|
error?: any;
|
15977
16050
|
}>;
|
15978
16051
|
};
|
15979
|
-
path: "widget";
|
16052
|
+
path: "ms/widget";
|
15980
16053
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
15981
16054
|
'x-tenant': import("zod").ZodString;
|
15982
16055
|
'x-service-token': import("zod").ZodString;
|
@@ -16018,25 +16091,41 @@ export declare const apiContract: {
|
|
16018
16091
|
lastPage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
16019
16092
|
data: import("zod").ZodArray<import("zod").ZodType<{
|
16020
16093
|
name: string;
|
16094
|
+
type: "custom" | "iframe" | null;
|
16021
16095
|
id: string;
|
16022
16096
|
url: string;
|
16023
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16097
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16098
|
+
method: "get" | "post" | null;
|
16024
16099
|
description: string | null;
|
16025
16100
|
createdAt: Date;
|
16026
16101
|
updatedAt: Date;
|
16027
16102
|
deletedAt: Date | null;
|
16103
|
+
headers: {
|
16104
|
+
key: string;
|
16105
|
+
value: string;
|
16106
|
+
}[] | null;
|
16107
|
+
fileKey: string | null;
|
16108
|
+
fileUrl: string | null;
|
16028
16109
|
fields: {
|
16029
16110
|
data: string[];
|
16030
16111
|
};
|
16031
16112
|
}, import("zod").ZodTypeDef, {
|
16032
16113
|
name: string;
|
16114
|
+
type: "custom" | "iframe" | null;
|
16033
16115
|
id: string;
|
16034
16116
|
url: string;
|
16035
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16117
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16118
|
+
method: "get" | "post" | null;
|
16036
16119
|
description: string | null;
|
16037
16120
|
createdAt: Date;
|
16038
16121
|
updatedAt: Date;
|
16039
16122
|
deletedAt: Date | null;
|
16123
|
+
headers: {
|
16124
|
+
key: string;
|
16125
|
+
value: string;
|
16126
|
+
}[] | null;
|
16127
|
+
fileKey: string | null;
|
16128
|
+
fileUrl: string | null;
|
16040
16129
|
fields: {
|
16041
16130
|
data: string[];
|
16042
16131
|
};
|
@@ -16044,13 +16133,21 @@ export declare const apiContract: {
|
|
16044
16133
|
}, "strip", import("zod").ZodTypeAny, {
|
16045
16134
|
data: {
|
16046
16135
|
name: string;
|
16136
|
+
type: "custom" | "iframe" | null;
|
16047
16137
|
id: string;
|
16048
16138
|
url: string;
|
16049
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16139
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16140
|
+
method: "get" | "post" | null;
|
16050
16141
|
description: string | null;
|
16051
16142
|
createdAt: Date;
|
16052
16143
|
updatedAt: Date;
|
16053
16144
|
deletedAt: Date | null;
|
16145
|
+
headers: {
|
16146
|
+
key: string;
|
16147
|
+
value: string;
|
16148
|
+
}[] | null;
|
16149
|
+
fileKey: string | null;
|
16150
|
+
fileUrl: string | null;
|
16054
16151
|
fields: {
|
16055
16152
|
data: string[];
|
16056
16153
|
};
|
@@ -16062,13 +16159,21 @@ export declare const apiContract: {
|
|
16062
16159
|
}, {
|
16063
16160
|
data: {
|
16064
16161
|
name: string;
|
16162
|
+
type: "custom" | "iframe" | null;
|
16065
16163
|
id: string;
|
16066
16164
|
url: string;
|
16067
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16165
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16166
|
+
method: "get" | "post" | null;
|
16068
16167
|
description: string | null;
|
16069
16168
|
createdAt: Date;
|
16070
16169
|
updatedAt: Date;
|
16071
16170
|
deletedAt: Date | null;
|
16171
|
+
headers: {
|
16172
|
+
key: string;
|
16173
|
+
value: string;
|
16174
|
+
}[] | null;
|
16175
|
+
fileKey: string | null;
|
16176
|
+
fileUrl: string | null;
|
16072
16177
|
fields: {
|
16073
16178
|
data: string[];
|
16074
16179
|
};
|
@@ -16106,7 +16211,7 @@ export declare const apiContract: {
|
|
16106
16211
|
error?: any;
|
16107
16212
|
}>;
|
16108
16213
|
};
|
16109
|
-
path: "widget";
|
16214
|
+
path: "ms/widget";
|
16110
16215
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16111
16216
|
'x-tenant': import("zod").ZodString;
|
16112
16217
|
'x-service-token': import("zod").ZodString;
|
@@ -16135,7 +16240,7 @@ export declare const apiContract: {
|
|
16135
16240
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16136
16241
|
name: import("zod").ZodString;
|
16137
16242
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16138
|
-
position: import("zod").
|
16243
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
16139
16244
|
fields: import("zod").ZodObject<{
|
16140
16245
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16141
16246
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16144,27 +16249,57 @@ export declare const apiContract: {
|
|
16144
16249
|
data: string[];
|
16145
16250
|
}>;
|
16146
16251
|
url: import("zod").ZodString;
|
16252
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
16253
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
16254
|
+
key: import("zod").ZodString;
|
16255
|
+
value: import("zod").ZodString;
|
16256
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16257
|
+
key: string;
|
16258
|
+
value: string;
|
16259
|
+
}, {
|
16260
|
+
key: string;
|
16261
|
+
value: string;
|
16262
|
+
}>, "many">>;
|
16263
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
16264
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
16265
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
16147
16266
|
}, "strip", import("zod").ZodTypeAny, {
|
16148
16267
|
name: string;
|
16268
|
+
type: "custom" | "iframe" | null;
|
16149
16269
|
id: string;
|
16150
16270
|
url: string;
|
16151
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16271
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16272
|
+
method: "get" | "post" | null;
|
16152
16273
|
description: string | null;
|
16153
16274
|
createdAt: Date;
|
16154
16275
|
updatedAt: Date;
|
16155
16276
|
deletedAt: Date | null;
|
16277
|
+
headers: {
|
16278
|
+
key: string;
|
16279
|
+
value: string;
|
16280
|
+
}[] | null;
|
16281
|
+
fileKey: string | null;
|
16282
|
+
fileUrl: string | null;
|
16156
16283
|
fields: {
|
16157
16284
|
data: string[];
|
16158
16285
|
};
|
16159
16286
|
}, {
|
16160
16287
|
name: string;
|
16288
|
+
type: "custom" | "iframe" | null;
|
16161
16289
|
id: string;
|
16162
16290
|
url: string;
|
16163
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16291
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16292
|
+
method: "get" | "post" | null;
|
16164
16293
|
description: string | null;
|
16165
16294
|
createdAt: Date;
|
16166
16295
|
updatedAt: Date;
|
16167
16296
|
deletedAt: Date | null;
|
16297
|
+
headers: {
|
16298
|
+
key: string;
|
16299
|
+
value: string;
|
16300
|
+
}[] | null;
|
16301
|
+
fileKey: string | null;
|
16302
|
+
fileUrl: string | null;
|
16168
16303
|
fields: {
|
16169
16304
|
data: string[];
|
16170
16305
|
};
|
@@ -16197,7 +16332,7 @@ export declare const apiContract: {
|
|
16197
16332
|
error?: any;
|
16198
16333
|
}>;
|
16199
16334
|
};
|
16200
|
-
path: "widget/menu";
|
16335
|
+
path: "ms/widget/menu";
|
16201
16336
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16202
16337
|
'x-tenant': import("zod").ZodString;
|
16203
16338
|
'x-service-token': import("zod").ZodString;
|
@@ -16226,7 +16361,7 @@ export declare const apiContract: {
|
|
16226
16361
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16227
16362
|
name: import("zod").ZodString;
|
16228
16363
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16229
|
-
position: import("zod").
|
16364
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
16230
16365
|
fields: import("zod").ZodObject<{
|
16231
16366
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16232
16367
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16235,27 +16370,57 @@ export declare const apiContract: {
|
|
16235
16370
|
data: string[];
|
16236
16371
|
}>;
|
16237
16372
|
url: import("zod").ZodString;
|
16373
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
16374
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
16375
|
+
key: import("zod").ZodString;
|
16376
|
+
value: import("zod").ZodString;
|
16377
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16378
|
+
key: string;
|
16379
|
+
value: string;
|
16380
|
+
}, {
|
16381
|
+
key: string;
|
16382
|
+
value: string;
|
16383
|
+
}>, "many">>;
|
16384
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
16385
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
16386
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
16238
16387
|
}, "strip", import("zod").ZodTypeAny, {
|
16239
16388
|
name: string;
|
16389
|
+
type: "custom" | "iframe" | null;
|
16240
16390
|
id: string;
|
16241
16391
|
url: string;
|
16242
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16392
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16393
|
+
method: "get" | "post" | null;
|
16243
16394
|
description: string | null;
|
16244
16395
|
createdAt: Date;
|
16245
16396
|
updatedAt: Date;
|
16246
16397
|
deletedAt: Date | null;
|
16398
|
+
headers: {
|
16399
|
+
key: string;
|
16400
|
+
value: string;
|
16401
|
+
}[] | null;
|
16402
|
+
fileKey: string | null;
|
16403
|
+
fileUrl: string | null;
|
16247
16404
|
fields: {
|
16248
16405
|
data: string[];
|
16249
16406
|
};
|
16250
16407
|
}, {
|
16251
16408
|
name: string;
|
16409
|
+
type: "custom" | "iframe" | null;
|
16252
16410
|
id: string;
|
16253
16411
|
url: string;
|
16254
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16412
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16413
|
+
method: "get" | "post" | null;
|
16255
16414
|
description: string | null;
|
16256
16415
|
createdAt: Date;
|
16257
16416
|
updatedAt: Date;
|
16258
16417
|
deletedAt: Date | null;
|
16418
|
+
headers: {
|
16419
|
+
key: string;
|
16420
|
+
value: string;
|
16421
|
+
}[] | null;
|
16422
|
+
fileKey: string | null;
|
16423
|
+
fileUrl: string | null;
|
16259
16424
|
fields: {
|
16260
16425
|
data: string[];
|
16261
16426
|
};
|
@@ -16288,7 +16453,7 @@ export declare const apiContract: {
|
|
16288
16453
|
error?: any;
|
16289
16454
|
}>;
|
16290
16455
|
};
|
16291
|
-
path: "widget/ticket_detail";
|
16456
|
+
path: "ms/widget/ticket_detail";
|
16292
16457
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16293
16458
|
'x-tenant': import("zod").ZodString;
|
16294
16459
|
'x-service-token': import("zod").ZodString;
|
@@ -16317,7 +16482,7 @@ export declare const apiContract: {
|
|
16317
16482
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16318
16483
|
name: import("zod").ZodString;
|
16319
16484
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16320
|
-
position: import("zod").
|
16485
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
16321
16486
|
fields: import("zod").ZodObject<{
|
16322
16487
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16323
16488
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16326,27 +16491,57 @@ export declare const apiContract: {
|
|
16326
16491
|
data: string[];
|
16327
16492
|
}>;
|
16328
16493
|
url: import("zod").ZodString;
|
16494
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
16495
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
16496
|
+
key: import("zod").ZodString;
|
16497
|
+
value: import("zod").ZodString;
|
16498
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16499
|
+
key: string;
|
16500
|
+
value: string;
|
16501
|
+
}, {
|
16502
|
+
key: string;
|
16503
|
+
value: string;
|
16504
|
+
}>, "many">>;
|
16505
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
16506
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
16507
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
16329
16508
|
}, "strip", import("zod").ZodTypeAny, {
|
16330
16509
|
name: string;
|
16510
|
+
type: "custom" | "iframe" | null;
|
16331
16511
|
id: string;
|
16332
16512
|
url: string;
|
16333
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16513
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16514
|
+
method: "get" | "post" | null;
|
16334
16515
|
description: string | null;
|
16335
16516
|
createdAt: Date;
|
16336
16517
|
updatedAt: Date;
|
16337
16518
|
deletedAt: Date | null;
|
16519
|
+
headers: {
|
16520
|
+
key: string;
|
16521
|
+
value: string;
|
16522
|
+
}[] | null;
|
16523
|
+
fileKey: string | null;
|
16524
|
+
fileUrl: string | null;
|
16338
16525
|
fields: {
|
16339
16526
|
data: string[];
|
16340
16527
|
};
|
16341
16528
|
}, {
|
16342
16529
|
name: string;
|
16530
|
+
type: "custom" | "iframe" | null;
|
16343
16531
|
id: string;
|
16344
16532
|
url: string;
|
16345
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16533
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16534
|
+
method: "get" | "post" | null;
|
16346
16535
|
description: string | null;
|
16347
16536
|
createdAt: Date;
|
16348
16537
|
updatedAt: Date;
|
16349
16538
|
deletedAt: Date | null;
|
16539
|
+
headers: {
|
16540
|
+
key: string;
|
16541
|
+
value: string;
|
16542
|
+
}[] | null;
|
16543
|
+
fileKey: string | null;
|
16544
|
+
fileUrl: string | null;
|
16350
16545
|
fields: {
|
16351
16546
|
data: string[];
|
16352
16547
|
};
|
@@ -16379,7 +16574,7 @@ export declare const apiContract: {
|
|
16379
16574
|
error?: any;
|
16380
16575
|
}>;
|
16381
16576
|
};
|
16382
|
-
path: "widget/contact_detail";
|
16577
|
+
path: "ms/widget/contact_detail";
|
16383
16578
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16384
16579
|
'x-tenant': import("zod").ZodString;
|
16385
16580
|
'x-service-token': import("zod").ZodString;
|
@@ -16397,25 +16592,18 @@ export declare const apiContract: {
|
|
16397
16592
|
'x-client-timezone'?: string | undefined;
|
16398
16593
|
}>>>;
|
16399
16594
|
};
|
16400
|
-
|
16401
|
-
summary: "Get
|
16595
|
+
getContactProfileWidgets: {
|
16596
|
+
summary: "Get contact profile widgets";
|
16402
16597
|
method: "GET";
|
16403
|
-
pathParams: import("zod").ZodObject<{
|
16404
|
-
id: import("zod").ZodString;
|
16405
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16406
|
-
id: string;
|
16407
|
-
}, {
|
16408
|
-
id: string;
|
16409
|
-
}>;
|
16410
16598
|
responses: {
|
16411
|
-
200: import("zod").ZodObject<{
|
16599
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
16412
16600
|
id: import("zod").ZodString;
|
16413
16601
|
createdAt: import("zod").ZodDate;
|
16414
16602
|
updatedAt: import("zod").ZodDate;
|
16415
16603
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16416
16604
|
name: import("zod").ZodString;
|
16417
16605
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16418
|
-
position: import("zod").
|
16606
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
16419
16607
|
fields: import("zod").ZodObject<{
|
16420
16608
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16421
16609
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16424,31 +16612,61 @@ export declare const apiContract: {
|
|
16424
16612
|
data: string[];
|
16425
16613
|
}>;
|
16426
16614
|
url: import("zod").ZodString;
|
16615
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
16616
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
16617
|
+
key: import("zod").ZodString;
|
16618
|
+
value: import("zod").ZodString;
|
16619
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16620
|
+
key: string;
|
16621
|
+
value: string;
|
16622
|
+
}, {
|
16623
|
+
key: string;
|
16624
|
+
value: string;
|
16625
|
+
}>, "many">>;
|
16626
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
16627
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
16628
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
16427
16629
|
}, "strip", import("zod").ZodTypeAny, {
|
16428
16630
|
name: string;
|
16631
|
+
type: "custom" | "iframe" | null;
|
16429
16632
|
id: string;
|
16430
16633
|
url: string;
|
16431
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16634
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16635
|
+
method: "get" | "post" | null;
|
16432
16636
|
description: string | null;
|
16433
16637
|
createdAt: Date;
|
16434
16638
|
updatedAt: Date;
|
16435
16639
|
deletedAt: Date | null;
|
16640
|
+
headers: {
|
16641
|
+
key: string;
|
16642
|
+
value: string;
|
16643
|
+
}[] | null;
|
16644
|
+
fileKey: string | null;
|
16645
|
+
fileUrl: string | null;
|
16436
16646
|
fields: {
|
16437
16647
|
data: string[];
|
16438
16648
|
};
|
16439
16649
|
}, {
|
16440
16650
|
name: string;
|
16651
|
+
type: "custom" | "iframe" | null;
|
16441
16652
|
id: string;
|
16442
16653
|
url: string;
|
16443
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16654
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16655
|
+
method: "get" | "post" | null;
|
16444
16656
|
description: string | null;
|
16445
16657
|
createdAt: Date;
|
16446
16658
|
updatedAt: Date;
|
16447
16659
|
deletedAt: Date | null;
|
16660
|
+
headers: {
|
16661
|
+
key: string;
|
16662
|
+
value: string;
|
16663
|
+
}[] | null;
|
16664
|
+
fileKey: string | null;
|
16665
|
+
fileUrl: string | null;
|
16448
16666
|
fields: {
|
16449
16667
|
data: string[];
|
16450
16668
|
};
|
16451
|
-
}>;
|
16669
|
+
}>, "many">;
|
16452
16670
|
400: import("zod").ZodObject<{
|
16453
16671
|
message: import("zod").ZodString;
|
16454
16672
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16477,7 +16695,7 @@ export declare const apiContract: {
|
|
16477
16695
|
error?: any;
|
16478
16696
|
}>;
|
16479
16697
|
};
|
16480
|
-
path: "widget
|
16698
|
+
path: "ms/widget/contact_profile";
|
16481
16699
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16482
16700
|
'x-tenant': import("zod").ZodString;
|
16483
16701
|
'x-service-token': import("zod").ZodString;
|
@@ -16495,30 +16713,81 @@ export declare const apiContract: {
|
|
16495
16713
|
'x-client-timezone'?: string | undefined;
|
16496
16714
|
}>>>;
|
16497
16715
|
};
|
16498
|
-
|
16499
|
-
summary: "
|
16716
|
+
getInboxDetailWidgets: {
|
16717
|
+
summary: "Get inbox detail widgets";
|
16500
16718
|
method: "GET";
|
16501
|
-
query: import("zod").ZodObject<{
|
16502
|
-
widgetId: import("zod").ZodString;
|
16503
|
-
positionId: import("zod").ZodString;
|
16504
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16505
|
-
widgetId: string;
|
16506
|
-
positionId: string;
|
16507
|
-
}, {
|
16508
|
-
widgetId: string;
|
16509
|
-
positionId: string;
|
16510
|
-
}>;
|
16511
16719
|
responses: {
|
16512
|
-
|
16513
|
-
|
16720
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
16721
|
+
id: import("zod").ZodString;
|
16722
|
+
createdAt: import("zod").ZodDate;
|
16723
|
+
updatedAt: import("zod").ZodDate;
|
16724
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16725
|
+
name: import("zod").ZodString;
|
16726
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16727
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
16728
|
+
fields: import("zod").ZodObject<{
|
16729
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16730
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16731
|
+
data: string[];
|
16732
|
+
}, {
|
16733
|
+
data: string[];
|
16734
|
+
}>;
|
16514
16735
|
url: import("zod").ZodString;
|
16736
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
16737
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
16738
|
+
key: import("zod").ZodString;
|
16739
|
+
value: import("zod").ZodString;
|
16740
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16741
|
+
key: string;
|
16742
|
+
value: string;
|
16743
|
+
}, {
|
16744
|
+
key: string;
|
16745
|
+
value: string;
|
16746
|
+
}>, "many">>;
|
16747
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
16748
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
16749
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
16515
16750
|
}, "strip", import("zod").ZodTypeAny, {
|
16751
|
+
name: string;
|
16752
|
+
type: "custom" | "iframe" | null;
|
16753
|
+
id: string;
|
16516
16754
|
url: string;
|
16517
|
-
|
16755
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16756
|
+
method: "get" | "post" | null;
|
16757
|
+
description: string | null;
|
16758
|
+
createdAt: Date;
|
16759
|
+
updatedAt: Date;
|
16760
|
+
deletedAt: Date | null;
|
16761
|
+
headers: {
|
16762
|
+
key: string;
|
16763
|
+
value: string;
|
16764
|
+
}[] | null;
|
16765
|
+
fileKey: string | null;
|
16766
|
+
fileUrl: string | null;
|
16767
|
+
fields: {
|
16768
|
+
data: string[];
|
16769
|
+
};
|
16518
16770
|
}, {
|
16771
|
+
name: string;
|
16772
|
+
type: "custom" | "iframe" | null;
|
16773
|
+
id: string;
|
16519
16774
|
url: string;
|
16520
|
-
|
16521
|
-
|
16775
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16776
|
+
method: "get" | "post" | null;
|
16777
|
+
description: string | null;
|
16778
|
+
createdAt: Date;
|
16779
|
+
updatedAt: Date;
|
16780
|
+
deletedAt: Date | null;
|
16781
|
+
headers: {
|
16782
|
+
key: string;
|
16783
|
+
value: string;
|
16784
|
+
}[] | null;
|
16785
|
+
fileKey: string | null;
|
16786
|
+
fileUrl: string | null;
|
16787
|
+
fields: {
|
16788
|
+
data: string[];
|
16789
|
+
};
|
16790
|
+
}>, "many">;
|
16522
16791
|
400: import("zod").ZodObject<{
|
16523
16792
|
message: import("zod").ZodString;
|
16524
16793
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16536,147 +16805,7 @@ export declare const apiContract: {
|
|
16536
16805
|
message: string;
|
16537
16806
|
error?: any;
|
16538
16807
|
}>;
|
16539
|
-
|
16540
|
-
path: "widget/url_token/generate";
|
16541
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16542
|
-
'x-tenant': import("zod").ZodString;
|
16543
|
-
'x-service-token': import("zod").ZodString;
|
16544
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
16545
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
16546
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16547
|
-
'x-tenant': string;
|
16548
|
-
'x-service-token': string;
|
16549
|
-
'x-client-timezone': string;
|
16550
|
-
'x-code'?: string | undefined;
|
16551
|
-
}, {
|
16552
|
-
'x-tenant': string;
|
16553
|
-
'x-service-token': string;
|
16554
|
-
'x-code'?: string | undefined;
|
16555
|
-
'x-client-timezone'?: string | undefined;
|
16556
|
-
}>>>;
|
16557
|
-
};
|
16558
|
-
updateWidget: {
|
16559
|
-
body: import("zod").ZodObject<{
|
16560
|
-
name: import("zod").ZodString;
|
16561
|
-
description: import("zod").ZodString;
|
16562
|
-
url: import("zod").ZodString;
|
16563
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
16564
|
-
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
16565
|
-
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16566
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16567
|
-
data: string[];
|
16568
|
-
}, {
|
16569
|
-
data: string[];
|
16570
|
-
}>>;
|
16571
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16572
|
-
name: string;
|
16573
|
-
url: string;
|
16574
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
16575
|
-
description: string;
|
16576
|
-
fields?: {
|
16577
|
-
data: string[];
|
16578
|
-
} | undefined;
|
16579
|
-
}, {
|
16580
|
-
name: string;
|
16581
|
-
url: string;
|
16582
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
16583
|
-
description: string;
|
16584
|
-
fields?: {
|
16585
|
-
data: string[];
|
16586
|
-
} | undefined;
|
16587
|
-
}>;
|
16588
|
-
summary: "Update a widget.";
|
16589
|
-
method: "PATCH";
|
16590
|
-
pathParams: import("zod").ZodObject<{
|
16591
|
-
id: import("zod").ZodString;
|
16592
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16593
|
-
id: string;
|
16594
|
-
}, {
|
16595
|
-
id: string;
|
16596
|
-
}>;
|
16597
|
-
responses: {
|
16598
|
-
201: import("zod").ZodObject<{
|
16599
|
-
requestId: import("zod").ZodString;
|
16600
|
-
widget: import("zod").ZodObject<{
|
16601
|
-
id: import("zod").ZodString;
|
16602
|
-
createdAt: import("zod").ZodDate;
|
16603
|
-
updatedAt: import("zod").ZodDate;
|
16604
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16605
|
-
name: import("zod").ZodString;
|
16606
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16607
|
-
position: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>>;
|
16608
|
-
fields: import("zod").ZodObject<{
|
16609
|
-
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16610
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16611
|
-
data: string[];
|
16612
|
-
}, {
|
16613
|
-
data: string[];
|
16614
|
-
}>;
|
16615
|
-
url: import("zod").ZodString;
|
16616
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16617
|
-
name: string;
|
16618
|
-
id: string;
|
16619
|
-
url: string;
|
16620
|
-
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
16621
|
-
description: string | null;
|
16622
|
-
createdAt: Date;
|
16623
|
-
updatedAt: Date;
|
16624
|
-
deletedAt: Date | null;
|
16625
|
-
fields: {
|
16626
|
-
data: string[];
|
16627
|
-
};
|
16628
|
-
}, {
|
16629
|
-
name: string;
|
16630
|
-
id: string;
|
16631
|
-
url: string;
|
16632
|
-
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
16633
|
-
description: string | null;
|
16634
|
-
createdAt: Date;
|
16635
|
-
updatedAt: Date;
|
16636
|
-
deletedAt: Date | null;
|
16637
|
-
fields: {
|
16638
|
-
data: string[];
|
16639
|
-
};
|
16640
|
-
}>;
|
16641
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16642
|
-
requestId: string;
|
16643
|
-
widget: {
|
16644
|
-
name: string;
|
16645
|
-
id: string;
|
16646
|
-
url: string;
|
16647
|
-
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
16648
|
-
description: string | null;
|
16649
|
-
createdAt: Date;
|
16650
|
-
updatedAt: Date;
|
16651
|
-
deletedAt: Date | null;
|
16652
|
-
fields: {
|
16653
|
-
data: string[];
|
16654
|
-
};
|
16655
|
-
};
|
16656
|
-
}, {
|
16657
|
-
requestId: string;
|
16658
|
-
widget: {
|
16659
|
-
name: string;
|
16660
|
-
id: string;
|
16661
|
-
url: string;
|
16662
|
-
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
16663
|
-
description: string | null;
|
16664
|
-
createdAt: Date;
|
16665
|
-
updatedAt: Date;
|
16666
|
-
deletedAt: Date | null;
|
16667
|
-
fields: {
|
16668
|
-
data: string[];
|
16669
|
-
};
|
16670
|
-
};
|
16671
|
-
}>;
|
16672
|
-
400: import("zod").ZodObject<{
|
16673
|
-
message: import("zod").ZodString;
|
16674
|
-
}, "strip", import("zod").ZodTypeAny, {
|
16675
|
-
message: string;
|
16676
|
-
}, {
|
16677
|
-
message: string;
|
16678
|
-
}>;
|
16679
|
-
401: import("zod").ZodObject<{
|
16808
|
+
500: import("zod").ZodObject<{
|
16680
16809
|
message: import("zod").ZodString;
|
16681
16810
|
error: import("zod").ZodAny;
|
16682
16811
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16687,7 +16816,459 @@ export declare const apiContract: {
|
|
16687
16816
|
error?: any;
|
16688
16817
|
}>;
|
16689
16818
|
};
|
16690
|
-
path: "widget
|
16819
|
+
path: "ms/widget/inbox_detail";
|
16820
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16821
|
+
'x-tenant': import("zod").ZodString;
|
16822
|
+
'x-service-token': import("zod").ZodString;
|
16823
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
16824
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
16825
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16826
|
+
'x-tenant': string;
|
16827
|
+
'x-service-token': string;
|
16828
|
+
'x-client-timezone': string;
|
16829
|
+
'x-code'?: string | undefined;
|
16830
|
+
}, {
|
16831
|
+
'x-tenant': string;
|
16832
|
+
'x-service-token': string;
|
16833
|
+
'x-code'?: string | undefined;
|
16834
|
+
'x-client-timezone'?: string | undefined;
|
16835
|
+
}>>>;
|
16836
|
+
};
|
16837
|
+
getWidgetById: {
|
16838
|
+
summary: "Get widget by id";
|
16839
|
+
method: "GET";
|
16840
|
+
pathParams: import("zod").ZodObject<{
|
16841
|
+
id: import("zod").ZodString;
|
16842
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16843
|
+
id: string;
|
16844
|
+
}, {
|
16845
|
+
id: string;
|
16846
|
+
}>;
|
16847
|
+
responses: {
|
16848
|
+
200: import("zod").ZodObject<{
|
16849
|
+
id: import("zod").ZodString;
|
16850
|
+
createdAt: import("zod").ZodDate;
|
16851
|
+
updatedAt: import("zod").ZodDate;
|
16852
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16853
|
+
name: import("zod").ZodString;
|
16854
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16855
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
16856
|
+
fields: import("zod").ZodObject<{
|
16857
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16858
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16859
|
+
data: string[];
|
16860
|
+
}, {
|
16861
|
+
data: string[];
|
16862
|
+
}>;
|
16863
|
+
url: import("zod").ZodString;
|
16864
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
16865
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
16866
|
+
key: import("zod").ZodString;
|
16867
|
+
value: import("zod").ZodString;
|
16868
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16869
|
+
key: string;
|
16870
|
+
value: string;
|
16871
|
+
}, {
|
16872
|
+
key: string;
|
16873
|
+
value: string;
|
16874
|
+
}>, "many">>;
|
16875
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
16876
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
16877
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
16878
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16879
|
+
name: string;
|
16880
|
+
type: "custom" | "iframe" | null;
|
16881
|
+
id: string;
|
16882
|
+
url: string;
|
16883
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16884
|
+
method: "get" | "post" | null;
|
16885
|
+
description: string | null;
|
16886
|
+
createdAt: Date;
|
16887
|
+
updatedAt: Date;
|
16888
|
+
deletedAt: Date | null;
|
16889
|
+
headers: {
|
16890
|
+
key: string;
|
16891
|
+
value: string;
|
16892
|
+
}[] | null;
|
16893
|
+
fileKey: string | null;
|
16894
|
+
fileUrl: string | null;
|
16895
|
+
fields: {
|
16896
|
+
data: string[];
|
16897
|
+
};
|
16898
|
+
}, {
|
16899
|
+
name: string;
|
16900
|
+
type: "custom" | "iframe" | null;
|
16901
|
+
id: string;
|
16902
|
+
url: string;
|
16903
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16904
|
+
method: "get" | "post" | null;
|
16905
|
+
description: string | null;
|
16906
|
+
createdAt: Date;
|
16907
|
+
updatedAt: Date;
|
16908
|
+
deletedAt: Date | null;
|
16909
|
+
headers: {
|
16910
|
+
key: string;
|
16911
|
+
value: string;
|
16912
|
+
}[] | null;
|
16913
|
+
fileKey: string | null;
|
16914
|
+
fileUrl: string | null;
|
16915
|
+
fields: {
|
16916
|
+
data: string[];
|
16917
|
+
};
|
16918
|
+
}>;
|
16919
|
+
400: import("zod").ZodObject<{
|
16920
|
+
message: import("zod").ZodString;
|
16921
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16922
|
+
message: string;
|
16923
|
+
}, {
|
16924
|
+
message: string;
|
16925
|
+
}>;
|
16926
|
+
401: import("zod").ZodObject<{
|
16927
|
+
message: import("zod").ZodString;
|
16928
|
+
error: import("zod").ZodAny;
|
16929
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16930
|
+
message: string;
|
16931
|
+
error?: any;
|
16932
|
+
}, {
|
16933
|
+
message: string;
|
16934
|
+
error?: any;
|
16935
|
+
}>;
|
16936
|
+
500: import("zod").ZodObject<{
|
16937
|
+
message: import("zod").ZodString;
|
16938
|
+
error: import("zod").ZodAny;
|
16939
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16940
|
+
message: string;
|
16941
|
+
error?: any;
|
16942
|
+
}, {
|
16943
|
+
message: string;
|
16944
|
+
error?: any;
|
16945
|
+
}>;
|
16946
|
+
};
|
16947
|
+
path: "ms/widget/:id";
|
16948
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16949
|
+
'x-tenant': import("zod").ZodString;
|
16950
|
+
'x-service-token': import("zod").ZodString;
|
16951
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
16952
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
16953
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16954
|
+
'x-tenant': string;
|
16955
|
+
'x-service-token': string;
|
16956
|
+
'x-client-timezone': string;
|
16957
|
+
'x-code'?: string | undefined;
|
16958
|
+
}, {
|
16959
|
+
'x-tenant': string;
|
16960
|
+
'x-service-token': string;
|
16961
|
+
'x-code'?: string | undefined;
|
16962
|
+
'x-client-timezone'?: string | undefined;
|
16963
|
+
}>>>;
|
16964
|
+
};
|
16965
|
+
getWidgetUrl: {
|
16966
|
+
summary: "Generate url token for widget.";
|
16967
|
+
method: "GET";
|
16968
|
+
query: import("zod").ZodObject<{
|
16969
|
+
widgetId: import("zod").ZodString;
|
16970
|
+
positionId: import("zod").ZodString;
|
16971
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16972
|
+
widgetId: string;
|
16973
|
+
positionId: string;
|
16974
|
+
}, {
|
16975
|
+
widgetId: string;
|
16976
|
+
positionId: string;
|
16977
|
+
}>;
|
16978
|
+
responses: {
|
16979
|
+
201: import("zod").ZodObject<{
|
16980
|
+
requestId: import("zod").ZodString;
|
16981
|
+
widget: import("zod").ZodObject<{
|
16982
|
+
token: import("zod").ZodNullable<import("zod").ZodString>;
|
16983
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
16984
|
+
key: import("zod").ZodString;
|
16985
|
+
value: import("zod").ZodString;
|
16986
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16987
|
+
key: string;
|
16988
|
+
value: string;
|
16989
|
+
}, {
|
16990
|
+
key: string;
|
16991
|
+
value: string;
|
16992
|
+
}>, "many">;
|
16993
|
+
url: import("zod").ZodString;
|
16994
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16995
|
+
url: string;
|
16996
|
+
headers: {
|
16997
|
+
key: string;
|
16998
|
+
value: string;
|
16999
|
+
}[];
|
17000
|
+
token: string | null;
|
17001
|
+
}, {
|
17002
|
+
url: string;
|
17003
|
+
headers: {
|
17004
|
+
key: string;
|
17005
|
+
value: string;
|
17006
|
+
}[];
|
17007
|
+
token: string | null;
|
17008
|
+
}>;
|
17009
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17010
|
+
requestId: string;
|
17011
|
+
widget: {
|
17012
|
+
url: string;
|
17013
|
+
headers: {
|
17014
|
+
key: string;
|
17015
|
+
value: string;
|
17016
|
+
}[];
|
17017
|
+
token: string | null;
|
17018
|
+
};
|
17019
|
+
}, {
|
17020
|
+
requestId: string;
|
17021
|
+
widget: {
|
17022
|
+
url: string;
|
17023
|
+
headers: {
|
17024
|
+
key: string;
|
17025
|
+
value: string;
|
17026
|
+
}[];
|
17027
|
+
token: string | null;
|
17028
|
+
};
|
17029
|
+
}>;
|
17030
|
+
400: import("zod").ZodObject<{
|
17031
|
+
message: import("zod").ZodString;
|
17032
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17033
|
+
message: string;
|
17034
|
+
}, {
|
17035
|
+
message: string;
|
17036
|
+
}>;
|
17037
|
+
401: import("zod").ZodObject<{
|
17038
|
+
message: import("zod").ZodString;
|
17039
|
+
error: import("zod").ZodAny;
|
17040
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17041
|
+
message: string;
|
17042
|
+
error?: any;
|
17043
|
+
}, {
|
17044
|
+
message: string;
|
17045
|
+
error?: any;
|
17046
|
+
}>;
|
17047
|
+
};
|
17048
|
+
path: "ms/widget/url_token/generate";
|
17049
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
17050
|
+
'x-tenant': import("zod").ZodString;
|
17051
|
+
'x-service-token': import("zod").ZodString;
|
17052
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
17053
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
17054
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17055
|
+
'x-tenant': string;
|
17056
|
+
'x-service-token': string;
|
17057
|
+
'x-client-timezone': string;
|
17058
|
+
'x-code'?: string | undefined;
|
17059
|
+
}, {
|
17060
|
+
'x-tenant': string;
|
17061
|
+
'x-service-token': string;
|
17062
|
+
'x-code'?: string | undefined;
|
17063
|
+
'x-client-timezone'?: string | undefined;
|
17064
|
+
}>>>;
|
17065
|
+
};
|
17066
|
+
updateWidget: {
|
17067
|
+
body: import("zod").ZodObject<{
|
17068
|
+
name: import("zod").ZodString;
|
17069
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
17070
|
+
url: import("zod").ZodString;
|
17071
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
17072
|
+
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
17073
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
17074
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17075
|
+
data: string[];
|
17076
|
+
}, {
|
17077
|
+
data: string[];
|
17078
|
+
}>>;
|
17079
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
17080
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
17081
|
+
key: import("zod").ZodString;
|
17082
|
+
value: import("zod").ZodString;
|
17083
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17084
|
+
key: string;
|
17085
|
+
value: string;
|
17086
|
+
}, {
|
17087
|
+
key: string;
|
17088
|
+
value: string;
|
17089
|
+
}>, "many">>;
|
17090
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
17091
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
17092
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17093
|
+
name: string;
|
17094
|
+
type: "custom" | "iframe";
|
17095
|
+
url: string;
|
17096
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17097
|
+
fileKey: string | null;
|
17098
|
+
description?: string | undefined;
|
17099
|
+
fields?: {
|
17100
|
+
data: string[];
|
17101
|
+
} | undefined;
|
17102
|
+
headers?: {
|
17103
|
+
key: string;
|
17104
|
+
value: string;
|
17105
|
+
}[] | undefined;
|
17106
|
+
method?: "get" | "post" | undefined;
|
17107
|
+
}, {
|
17108
|
+
name: string;
|
17109
|
+
type: "custom" | "iframe";
|
17110
|
+
url: string;
|
17111
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17112
|
+
fileKey: string | null;
|
17113
|
+
description?: string | undefined;
|
17114
|
+
fields?: {
|
17115
|
+
data: string[];
|
17116
|
+
} | undefined;
|
17117
|
+
headers?: {
|
17118
|
+
key: string;
|
17119
|
+
value: string;
|
17120
|
+
}[] | undefined;
|
17121
|
+
method?: "get" | "post" | undefined;
|
17122
|
+
}>;
|
17123
|
+
summary: "Update a widget.";
|
17124
|
+
method: "PATCH";
|
17125
|
+
pathParams: import("zod").ZodObject<{
|
17126
|
+
id: import("zod").ZodString;
|
17127
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17128
|
+
id: string;
|
17129
|
+
}, {
|
17130
|
+
id: string;
|
17131
|
+
}>;
|
17132
|
+
responses: {
|
17133
|
+
201: import("zod").ZodObject<{
|
17134
|
+
requestId: import("zod").ZodString;
|
17135
|
+
widget: import("zod").ZodObject<{
|
17136
|
+
id: import("zod").ZodString;
|
17137
|
+
createdAt: import("zod").ZodDate;
|
17138
|
+
updatedAt: import("zod").ZodDate;
|
17139
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
17140
|
+
name: import("zod").ZodString;
|
17141
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
17142
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
17143
|
+
fields: import("zod").ZodObject<{
|
17144
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
17145
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17146
|
+
data: string[];
|
17147
|
+
}, {
|
17148
|
+
data: string[];
|
17149
|
+
}>;
|
17150
|
+
url: import("zod").ZodString;
|
17151
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
17152
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
17153
|
+
key: import("zod").ZodString;
|
17154
|
+
value: import("zod").ZodString;
|
17155
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17156
|
+
key: string;
|
17157
|
+
value: string;
|
17158
|
+
}, {
|
17159
|
+
key: string;
|
17160
|
+
value: string;
|
17161
|
+
}>, "many">>;
|
17162
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
17163
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
17164
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
17165
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17166
|
+
name: string;
|
17167
|
+
type: "custom" | "iframe" | null;
|
17168
|
+
id: string;
|
17169
|
+
url: string;
|
17170
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17171
|
+
method: "get" | "post" | null;
|
17172
|
+
description: string | null;
|
17173
|
+
createdAt: Date;
|
17174
|
+
updatedAt: Date;
|
17175
|
+
deletedAt: Date | null;
|
17176
|
+
headers: {
|
17177
|
+
key: string;
|
17178
|
+
value: string;
|
17179
|
+
}[] | null;
|
17180
|
+
fileKey: string | null;
|
17181
|
+
fileUrl: string | null;
|
17182
|
+
fields: {
|
17183
|
+
data: string[];
|
17184
|
+
};
|
17185
|
+
}, {
|
17186
|
+
name: string;
|
17187
|
+
type: "custom" | "iframe" | null;
|
17188
|
+
id: string;
|
17189
|
+
url: string;
|
17190
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17191
|
+
method: "get" | "post" | null;
|
17192
|
+
description: string | null;
|
17193
|
+
createdAt: Date;
|
17194
|
+
updatedAt: Date;
|
17195
|
+
deletedAt: Date | null;
|
17196
|
+
headers: {
|
17197
|
+
key: string;
|
17198
|
+
value: string;
|
17199
|
+
}[] | null;
|
17200
|
+
fileKey: string | null;
|
17201
|
+
fileUrl: string | null;
|
17202
|
+
fields: {
|
17203
|
+
data: string[];
|
17204
|
+
};
|
17205
|
+
}>;
|
17206
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17207
|
+
requestId: string;
|
17208
|
+
widget: {
|
17209
|
+
name: string;
|
17210
|
+
type: "custom" | "iframe" | null;
|
17211
|
+
id: string;
|
17212
|
+
url: string;
|
17213
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17214
|
+
method: "get" | "post" | null;
|
17215
|
+
description: string | null;
|
17216
|
+
createdAt: Date;
|
17217
|
+
updatedAt: Date;
|
17218
|
+
deletedAt: Date | null;
|
17219
|
+
headers: {
|
17220
|
+
key: string;
|
17221
|
+
value: string;
|
17222
|
+
}[] | null;
|
17223
|
+
fileKey: string | null;
|
17224
|
+
fileUrl: string | null;
|
17225
|
+
fields: {
|
17226
|
+
data: string[];
|
17227
|
+
};
|
17228
|
+
};
|
17229
|
+
}, {
|
17230
|
+
requestId: string;
|
17231
|
+
widget: {
|
17232
|
+
name: string;
|
17233
|
+
type: "custom" | "iframe" | null;
|
17234
|
+
id: string;
|
17235
|
+
url: string;
|
17236
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17237
|
+
method: "get" | "post" | null;
|
17238
|
+
description: string | null;
|
17239
|
+
createdAt: Date;
|
17240
|
+
updatedAt: Date;
|
17241
|
+
deletedAt: Date | null;
|
17242
|
+
headers: {
|
17243
|
+
key: string;
|
17244
|
+
value: string;
|
17245
|
+
}[] | null;
|
17246
|
+
fileKey: string | null;
|
17247
|
+
fileUrl: string | null;
|
17248
|
+
fields: {
|
17249
|
+
data: string[];
|
17250
|
+
};
|
17251
|
+
};
|
17252
|
+
}>;
|
17253
|
+
400: import("zod").ZodObject<{
|
17254
|
+
message: import("zod").ZodString;
|
17255
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17256
|
+
message: string;
|
17257
|
+
}, {
|
17258
|
+
message: string;
|
17259
|
+
}>;
|
17260
|
+
401: import("zod").ZodObject<{
|
17261
|
+
message: import("zod").ZodString;
|
17262
|
+
error: import("zod").ZodAny;
|
17263
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17264
|
+
message: string;
|
17265
|
+
error?: any;
|
17266
|
+
}, {
|
17267
|
+
message: string;
|
17268
|
+
error?: any;
|
17269
|
+
}>;
|
17270
|
+
};
|
17271
|
+
path: "ms/widget/:id";
|
16691
17272
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16692
17273
|
'x-tenant': import("zod").ZodString;
|
16693
17274
|
'x-service-token': import("zod").ZodString;
|
@@ -16738,7 +17319,7 @@ export declare const apiContract: {
|
|
16738
17319
|
error?: any;
|
16739
17320
|
}>;
|
16740
17321
|
};
|
16741
|
-
path: "widget/:id";
|
17322
|
+
path: "ms/widget/:id";
|
16742
17323
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16743
17324
|
'x-tenant': import("zod").ZodString;
|
16744
17325
|
'x-service-token': import("zod").ZodString;
|
@@ -321691,9 +322272,9 @@ export declare const widgetSettingContract: {
|
|
321691
322272
|
createWidget: {
|
321692
322273
|
body: import("zod").ZodObject<{
|
321693
322274
|
name: import("zod").ZodString;
|
321694
|
-
description: import("zod").ZodString
|
322275
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
321695
322276
|
url: import("zod").ZodString;
|
321696
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
322277
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
321697
322278
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
321698
322279
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
321699
322280
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -321701,22 +322282,49 @@ export declare const widgetSettingContract: {
|
|
321701
322282
|
}, {
|
321702
322283
|
data: string[];
|
321703
322284
|
}>>;
|
322285
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
322286
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
322287
|
+
key: import("zod").ZodString;
|
322288
|
+
value: import("zod").ZodString;
|
322289
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322290
|
+
key: string;
|
322291
|
+
value: string;
|
322292
|
+
}, {
|
322293
|
+
key: string;
|
322294
|
+
value: string;
|
322295
|
+
}>, "many">>;
|
322296
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
322297
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
321704
322298
|
}, "strip", import("zod").ZodTypeAny, {
|
321705
322299
|
name: string;
|
322300
|
+
type: "custom" | "iframe";
|
321706
322301
|
url: string;
|
321707
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
321708
|
-
|
322302
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322303
|
+
fileKey: string | null;
|
322304
|
+
description?: string | undefined;
|
321709
322305
|
fields?: {
|
321710
322306
|
data: string[];
|
321711
322307
|
} | undefined;
|
322308
|
+
headers?: {
|
322309
|
+
key: string;
|
322310
|
+
value: string;
|
322311
|
+
}[] | undefined;
|
322312
|
+
method?: "get" | "post" | undefined;
|
321712
322313
|
}, {
|
321713
322314
|
name: string;
|
322315
|
+
type: "custom" | "iframe";
|
321714
322316
|
url: string;
|
321715
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
321716
|
-
|
322317
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322318
|
+
fileKey: string | null;
|
322319
|
+
description?: string | undefined;
|
321717
322320
|
fields?: {
|
321718
322321
|
data: string[];
|
321719
322322
|
} | undefined;
|
322323
|
+
headers?: {
|
322324
|
+
key: string;
|
322325
|
+
value: string;
|
322326
|
+
}[] | undefined;
|
322327
|
+
method?: "get" | "post" | undefined;
|
321720
322328
|
}>;
|
321721
322329
|
summary: "Create a widget.";
|
321722
322330
|
method: "POST";
|
@@ -321730,7 +322338,7 @@ export declare const widgetSettingContract: {
|
|
321730
322338
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
321731
322339
|
name: import("zod").ZodString;
|
321732
322340
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
321733
|
-
position: import("zod").
|
322341
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
321734
322342
|
fields: import("zod").ZodObject<{
|
321735
322343
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
321736
322344
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -321739,27 +322347,57 @@ export declare const widgetSettingContract: {
|
|
321739
322347
|
data: string[];
|
321740
322348
|
}>;
|
321741
322349
|
url: import("zod").ZodString;
|
322350
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
322351
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
322352
|
+
key: import("zod").ZodString;
|
322353
|
+
value: import("zod").ZodString;
|
322354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322355
|
+
key: string;
|
322356
|
+
value: string;
|
322357
|
+
}, {
|
322358
|
+
key: string;
|
322359
|
+
value: string;
|
322360
|
+
}>, "many">>;
|
322361
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
322362
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
322363
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
321742
322364
|
}, "strip", import("zod").ZodTypeAny, {
|
321743
322365
|
name: string;
|
322366
|
+
type: "custom" | "iframe" | null;
|
321744
322367
|
id: string;
|
321745
322368
|
url: string;
|
321746
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322369
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322370
|
+
method: "get" | "post" | null;
|
321747
322371
|
description: string | null;
|
321748
322372
|
createdAt: Date;
|
321749
322373
|
updatedAt: Date;
|
321750
322374
|
deletedAt: Date | null;
|
322375
|
+
headers: {
|
322376
|
+
key: string;
|
322377
|
+
value: string;
|
322378
|
+
}[] | null;
|
322379
|
+
fileKey: string | null;
|
322380
|
+
fileUrl: string | null;
|
321751
322381
|
fields: {
|
321752
322382
|
data: string[];
|
321753
322383
|
};
|
321754
322384
|
}, {
|
321755
322385
|
name: string;
|
322386
|
+
type: "custom" | "iframe" | null;
|
321756
322387
|
id: string;
|
321757
322388
|
url: string;
|
321758
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322389
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322390
|
+
method: "get" | "post" | null;
|
321759
322391
|
description: string | null;
|
321760
322392
|
createdAt: Date;
|
321761
322393
|
updatedAt: Date;
|
321762
322394
|
deletedAt: Date | null;
|
322395
|
+
headers: {
|
322396
|
+
key: string;
|
322397
|
+
value: string;
|
322398
|
+
}[] | null;
|
322399
|
+
fileKey: string | null;
|
322400
|
+
fileUrl: string | null;
|
321763
322401
|
fields: {
|
321764
322402
|
data: string[];
|
321765
322403
|
};
|
@@ -321768,13 +322406,21 @@ export declare const widgetSettingContract: {
|
|
321768
322406
|
requestId: string;
|
321769
322407
|
widget: {
|
321770
322408
|
name: string;
|
322409
|
+
type: "custom" | "iframe" | null;
|
321771
322410
|
id: string;
|
321772
322411
|
url: string;
|
321773
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322412
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322413
|
+
method: "get" | "post" | null;
|
321774
322414
|
description: string | null;
|
321775
322415
|
createdAt: Date;
|
321776
322416
|
updatedAt: Date;
|
321777
322417
|
deletedAt: Date | null;
|
322418
|
+
headers: {
|
322419
|
+
key: string;
|
322420
|
+
value: string;
|
322421
|
+
}[] | null;
|
322422
|
+
fileKey: string | null;
|
322423
|
+
fileUrl: string | null;
|
321778
322424
|
fields: {
|
321779
322425
|
data: string[];
|
321780
322426
|
};
|
@@ -321783,13 +322429,21 @@ export declare const widgetSettingContract: {
|
|
321783
322429
|
requestId: string;
|
321784
322430
|
widget: {
|
321785
322431
|
name: string;
|
322432
|
+
type: "custom" | "iframe" | null;
|
321786
322433
|
id: string;
|
321787
322434
|
url: string;
|
321788
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322435
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322436
|
+
method: "get" | "post" | null;
|
321789
322437
|
description: string | null;
|
321790
322438
|
createdAt: Date;
|
321791
322439
|
updatedAt: Date;
|
321792
322440
|
deletedAt: Date | null;
|
322441
|
+
headers: {
|
322442
|
+
key: string;
|
322443
|
+
value: string;
|
322444
|
+
}[] | null;
|
322445
|
+
fileKey: string | null;
|
322446
|
+
fileUrl: string | null;
|
321793
322447
|
fields: {
|
321794
322448
|
data: string[];
|
321795
322449
|
};
|
@@ -321823,7 +322477,7 @@ export declare const widgetSettingContract: {
|
|
321823
322477
|
error?: any;
|
321824
322478
|
}>;
|
321825
322479
|
};
|
321826
|
-
path: "settings/widget";
|
322480
|
+
path: "settings/ms/widget";
|
321827
322481
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
321828
322482
|
'x-tenant': import("zod").ZodString;
|
321829
322483
|
'x-service-token': import("zod").ZodString;
|
@@ -321865,25 +322519,41 @@ export declare const widgetSettingContract: {
|
|
321865
322519
|
lastPage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
321866
322520
|
data: import("zod").ZodArray<import("zod").ZodType<{
|
321867
322521
|
name: string;
|
322522
|
+
type: "custom" | "iframe" | null;
|
321868
322523
|
id: string;
|
321869
322524
|
url: string;
|
321870
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322525
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322526
|
+
method: "get" | "post" | null;
|
321871
322527
|
description: string | null;
|
321872
322528
|
createdAt: Date;
|
321873
322529
|
updatedAt: Date;
|
321874
322530
|
deletedAt: Date | null;
|
322531
|
+
headers: {
|
322532
|
+
key: string;
|
322533
|
+
value: string;
|
322534
|
+
}[] | null;
|
322535
|
+
fileKey: string | null;
|
322536
|
+
fileUrl: string | null;
|
321875
322537
|
fields: {
|
321876
322538
|
data: string[];
|
321877
322539
|
};
|
321878
322540
|
}, import("zod").ZodTypeDef, {
|
321879
322541
|
name: string;
|
322542
|
+
type: "custom" | "iframe" | null;
|
321880
322543
|
id: string;
|
321881
322544
|
url: string;
|
321882
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322545
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322546
|
+
method: "get" | "post" | null;
|
321883
322547
|
description: string | null;
|
321884
322548
|
createdAt: Date;
|
321885
322549
|
updatedAt: Date;
|
321886
322550
|
deletedAt: Date | null;
|
322551
|
+
headers: {
|
322552
|
+
key: string;
|
322553
|
+
value: string;
|
322554
|
+
}[] | null;
|
322555
|
+
fileKey: string | null;
|
322556
|
+
fileUrl: string | null;
|
321887
322557
|
fields: {
|
321888
322558
|
data: string[];
|
321889
322559
|
};
|
@@ -321891,13 +322561,21 @@ export declare const widgetSettingContract: {
|
|
321891
322561
|
}, "strip", import("zod").ZodTypeAny, {
|
321892
322562
|
data: {
|
321893
322563
|
name: string;
|
322564
|
+
type: "custom" | "iframe" | null;
|
321894
322565
|
id: string;
|
321895
322566
|
url: string;
|
321896
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322567
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322568
|
+
method: "get" | "post" | null;
|
321897
322569
|
description: string | null;
|
321898
322570
|
createdAt: Date;
|
321899
322571
|
updatedAt: Date;
|
321900
322572
|
deletedAt: Date | null;
|
322573
|
+
headers: {
|
322574
|
+
key: string;
|
322575
|
+
value: string;
|
322576
|
+
}[] | null;
|
322577
|
+
fileKey: string | null;
|
322578
|
+
fileUrl: string | null;
|
321901
322579
|
fields: {
|
321902
322580
|
data: string[];
|
321903
322581
|
};
|
@@ -321909,13 +322587,21 @@ export declare const widgetSettingContract: {
|
|
321909
322587
|
}, {
|
321910
322588
|
data: {
|
321911
322589
|
name: string;
|
322590
|
+
type: "custom" | "iframe" | null;
|
321912
322591
|
id: string;
|
321913
322592
|
url: string;
|
321914
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322593
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322594
|
+
method: "get" | "post" | null;
|
321915
322595
|
description: string | null;
|
321916
322596
|
createdAt: Date;
|
321917
322597
|
updatedAt: Date;
|
321918
322598
|
deletedAt: Date | null;
|
322599
|
+
headers: {
|
322600
|
+
key: string;
|
322601
|
+
value: string;
|
322602
|
+
}[] | null;
|
322603
|
+
fileKey: string | null;
|
322604
|
+
fileUrl: string | null;
|
321919
322605
|
fields: {
|
321920
322606
|
data: string[];
|
321921
322607
|
};
|
@@ -321953,7 +322639,7 @@ export declare const widgetSettingContract: {
|
|
321953
322639
|
error?: any;
|
321954
322640
|
}>;
|
321955
322641
|
};
|
321956
|
-
path: "settings/widget";
|
322642
|
+
path: "settings/ms/widget";
|
321957
322643
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
321958
322644
|
'x-tenant': import("zod").ZodString;
|
321959
322645
|
'x-service-token': import("zod").ZodString;
|
@@ -321982,7 +322668,7 @@ export declare const widgetSettingContract: {
|
|
321982
322668
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
321983
322669
|
name: import("zod").ZodString;
|
321984
322670
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
321985
|
-
position: import("zod").
|
322671
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
321986
322672
|
fields: import("zod").ZodObject<{
|
321987
322673
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
321988
322674
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -321991,27 +322677,57 @@ export declare const widgetSettingContract: {
|
|
321991
322677
|
data: string[];
|
321992
322678
|
}>;
|
321993
322679
|
url: import("zod").ZodString;
|
322680
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
322681
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
322682
|
+
key: import("zod").ZodString;
|
322683
|
+
value: import("zod").ZodString;
|
322684
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322685
|
+
key: string;
|
322686
|
+
value: string;
|
322687
|
+
}, {
|
322688
|
+
key: string;
|
322689
|
+
value: string;
|
322690
|
+
}>, "many">>;
|
322691
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
322692
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
322693
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
321994
322694
|
}, "strip", import("zod").ZodTypeAny, {
|
321995
322695
|
name: string;
|
322696
|
+
type: "custom" | "iframe" | null;
|
321996
322697
|
id: string;
|
321997
322698
|
url: string;
|
321998
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322699
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322700
|
+
method: "get" | "post" | null;
|
321999
322701
|
description: string | null;
|
322000
322702
|
createdAt: Date;
|
322001
322703
|
updatedAt: Date;
|
322002
322704
|
deletedAt: Date | null;
|
322705
|
+
headers: {
|
322706
|
+
key: string;
|
322707
|
+
value: string;
|
322708
|
+
}[] | null;
|
322709
|
+
fileKey: string | null;
|
322710
|
+
fileUrl: string | null;
|
322003
322711
|
fields: {
|
322004
322712
|
data: string[];
|
322005
322713
|
};
|
322006
322714
|
}, {
|
322007
322715
|
name: string;
|
322716
|
+
type: "custom" | "iframe" | null;
|
322008
322717
|
id: string;
|
322009
322718
|
url: string;
|
322010
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322719
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322720
|
+
method: "get" | "post" | null;
|
322011
322721
|
description: string | null;
|
322012
322722
|
createdAt: Date;
|
322013
322723
|
updatedAt: Date;
|
322014
322724
|
deletedAt: Date | null;
|
322725
|
+
headers: {
|
322726
|
+
key: string;
|
322727
|
+
value: string;
|
322728
|
+
}[] | null;
|
322729
|
+
fileKey: string | null;
|
322730
|
+
fileUrl: string | null;
|
322015
322731
|
fields: {
|
322016
322732
|
data: string[];
|
322017
322733
|
};
|
@@ -322044,7 +322760,7 @@ export declare const widgetSettingContract: {
|
|
322044
322760
|
error?: any;
|
322045
322761
|
}>;
|
322046
322762
|
};
|
322047
|
-
path: "settings/widget/menu";
|
322763
|
+
path: "settings/ms/widget/menu";
|
322048
322764
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322049
322765
|
'x-tenant': import("zod").ZodString;
|
322050
322766
|
'x-service-token': import("zod").ZodString;
|
@@ -322073,7 +322789,7 @@ export declare const widgetSettingContract: {
|
|
322073
322789
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
322074
322790
|
name: import("zod").ZodString;
|
322075
322791
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
322076
|
-
position: import("zod").
|
322792
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
322077
322793
|
fields: import("zod").ZodObject<{
|
322078
322794
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322079
322795
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -322082,27 +322798,57 @@ export declare const widgetSettingContract: {
|
|
322082
322798
|
data: string[];
|
322083
322799
|
}>;
|
322084
322800
|
url: import("zod").ZodString;
|
322801
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
322802
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
322803
|
+
key: import("zod").ZodString;
|
322804
|
+
value: import("zod").ZodString;
|
322805
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322806
|
+
key: string;
|
322807
|
+
value: string;
|
322808
|
+
}, {
|
322809
|
+
key: string;
|
322810
|
+
value: string;
|
322811
|
+
}>, "many">>;
|
322812
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
322813
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
322814
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
322085
322815
|
}, "strip", import("zod").ZodTypeAny, {
|
322086
322816
|
name: string;
|
322817
|
+
type: "custom" | "iframe" | null;
|
322087
322818
|
id: string;
|
322088
322819
|
url: string;
|
322089
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322820
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322821
|
+
method: "get" | "post" | null;
|
322090
322822
|
description: string | null;
|
322091
322823
|
createdAt: Date;
|
322092
322824
|
updatedAt: Date;
|
322093
322825
|
deletedAt: Date | null;
|
322826
|
+
headers: {
|
322827
|
+
key: string;
|
322828
|
+
value: string;
|
322829
|
+
}[] | null;
|
322830
|
+
fileKey: string | null;
|
322831
|
+
fileUrl: string | null;
|
322094
322832
|
fields: {
|
322095
322833
|
data: string[];
|
322096
322834
|
};
|
322097
322835
|
}, {
|
322098
322836
|
name: string;
|
322837
|
+
type: "custom" | "iframe" | null;
|
322099
322838
|
id: string;
|
322100
322839
|
url: string;
|
322101
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322840
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322841
|
+
method: "get" | "post" | null;
|
322102
322842
|
description: string | null;
|
322103
322843
|
createdAt: Date;
|
322104
322844
|
updatedAt: Date;
|
322105
322845
|
deletedAt: Date | null;
|
322846
|
+
headers: {
|
322847
|
+
key: string;
|
322848
|
+
value: string;
|
322849
|
+
}[] | null;
|
322850
|
+
fileKey: string | null;
|
322851
|
+
fileUrl: string | null;
|
322106
322852
|
fields: {
|
322107
322853
|
data: string[];
|
322108
322854
|
};
|
@@ -322135,7 +322881,7 @@ export declare const widgetSettingContract: {
|
|
322135
322881
|
error?: any;
|
322136
322882
|
}>;
|
322137
322883
|
};
|
322138
|
-
path: "settings/widget/ticket_detail";
|
322884
|
+
path: "settings/ms/widget/ticket_detail";
|
322139
322885
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322140
322886
|
'x-tenant': import("zod").ZodString;
|
322141
322887
|
'x-service-token': import("zod").ZodString;
|
@@ -322164,7 +322910,249 @@ export declare const widgetSettingContract: {
|
|
322164
322910
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
322165
322911
|
name: import("zod").ZodString;
|
322166
322912
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
322167
|
-
position: import("zod").
|
322913
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
322914
|
+
fields: import("zod").ZodObject<{
|
322915
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322916
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322917
|
+
data: string[];
|
322918
|
+
}, {
|
322919
|
+
data: string[];
|
322920
|
+
}>;
|
322921
|
+
url: import("zod").ZodString;
|
322922
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
322923
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
322924
|
+
key: import("zod").ZodString;
|
322925
|
+
value: import("zod").ZodString;
|
322926
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322927
|
+
key: string;
|
322928
|
+
value: string;
|
322929
|
+
}, {
|
322930
|
+
key: string;
|
322931
|
+
value: string;
|
322932
|
+
}>, "many">>;
|
322933
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
322934
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
322935
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
322936
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322937
|
+
name: string;
|
322938
|
+
type: "custom" | "iframe" | null;
|
322939
|
+
id: string;
|
322940
|
+
url: string;
|
322941
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322942
|
+
method: "get" | "post" | null;
|
322943
|
+
description: string | null;
|
322944
|
+
createdAt: Date;
|
322945
|
+
updatedAt: Date;
|
322946
|
+
deletedAt: Date | null;
|
322947
|
+
headers: {
|
322948
|
+
key: string;
|
322949
|
+
value: string;
|
322950
|
+
}[] | null;
|
322951
|
+
fileKey: string | null;
|
322952
|
+
fileUrl: string | null;
|
322953
|
+
fields: {
|
322954
|
+
data: string[];
|
322955
|
+
};
|
322956
|
+
}, {
|
322957
|
+
name: string;
|
322958
|
+
type: "custom" | "iframe" | null;
|
322959
|
+
id: string;
|
322960
|
+
url: string;
|
322961
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322962
|
+
method: "get" | "post" | null;
|
322963
|
+
description: string | null;
|
322964
|
+
createdAt: Date;
|
322965
|
+
updatedAt: Date;
|
322966
|
+
deletedAt: Date | null;
|
322967
|
+
headers: {
|
322968
|
+
key: string;
|
322969
|
+
value: string;
|
322970
|
+
}[] | null;
|
322971
|
+
fileKey: string | null;
|
322972
|
+
fileUrl: string | null;
|
322973
|
+
fields: {
|
322974
|
+
data: string[];
|
322975
|
+
};
|
322976
|
+
}>, "many">;
|
322977
|
+
400: import("zod").ZodObject<{
|
322978
|
+
message: import("zod").ZodString;
|
322979
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322980
|
+
message: string;
|
322981
|
+
}, {
|
322982
|
+
message: string;
|
322983
|
+
}>;
|
322984
|
+
401: import("zod").ZodObject<{
|
322985
|
+
message: import("zod").ZodString;
|
322986
|
+
error: import("zod").ZodAny;
|
322987
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322988
|
+
message: string;
|
322989
|
+
error?: any;
|
322990
|
+
}, {
|
322991
|
+
message: string;
|
322992
|
+
error?: any;
|
322993
|
+
}>;
|
322994
|
+
500: import("zod").ZodObject<{
|
322995
|
+
message: import("zod").ZodString;
|
322996
|
+
error: import("zod").ZodAny;
|
322997
|
+
}, "strip", import("zod").ZodTypeAny, {
|
322998
|
+
message: string;
|
322999
|
+
error?: any;
|
323000
|
+
}, {
|
323001
|
+
message: string;
|
323002
|
+
error?: any;
|
323003
|
+
}>;
|
323004
|
+
};
|
323005
|
+
path: "settings/ms/widget/contact_detail";
|
323006
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
323007
|
+
'x-tenant': import("zod").ZodString;
|
323008
|
+
'x-service-token': import("zod").ZodString;
|
323009
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
323010
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
323011
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323012
|
+
'x-tenant': string;
|
323013
|
+
'x-service-token': string;
|
323014
|
+
'x-client-timezone': string;
|
323015
|
+
'x-code'?: string | undefined;
|
323016
|
+
}, {
|
323017
|
+
'x-tenant': string;
|
323018
|
+
'x-service-token': string;
|
323019
|
+
'x-code'?: string | undefined;
|
323020
|
+
'x-client-timezone'?: string | undefined;
|
323021
|
+
}>>>;
|
323022
|
+
};
|
323023
|
+
getContactProfileWidgets: {
|
323024
|
+
summary: "Get contact profile widgets";
|
323025
|
+
method: "GET";
|
323026
|
+
responses: {
|
323027
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
323028
|
+
id: import("zod").ZodString;
|
323029
|
+
createdAt: import("zod").ZodDate;
|
323030
|
+
updatedAt: import("zod").ZodDate;
|
323031
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
323032
|
+
name: import("zod").ZodString;
|
323033
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
323034
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
323035
|
+
fields: import("zod").ZodObject<{
|
323036
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
323037
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323038
|
+
data: string[];
|
323039
|
+
}, {
|
323040
|
+
data: string[];
|
323041
|
+
}>;
|
323042
|
+
url: import("zod").ZodString;
|
323043
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
323044
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
323045
|
+
key: import("zod").ZodString;
|
323046
|
+
value: import("zod").ZodString;
|
323047
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323048
|
+
key: string;
|
323049
|
+
value: string;
|
323050
|
+
}, {
|
323051
|
+
key: string;
|
323052
|
+
value: string;
|
323053
|
+
}>, "many">>;
|
323054
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
323055
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
323056
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
323057
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323058
|
+
name: string;
|
323059
|
+
type: "custom" | "iframe" | null;
|
323060
|
+
id: string;
|
323061
|
+
url: string;
|
323062
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323063
|
+
method: "get" | "post" | null;
|
323064
|
+
description: string | null;
|
323065
|
+
createdAt: Date;
|
323066
|
+
updatedAt: Date;
|
323067
|
+
deletedAt: Date | null;
|
323068
|
+
headers: {
|
323069
|
+
key: string;
|
323070
|
+
value: string;
|
323071
|
+
}[] | null;
|
323072
|
+
fileKey: string | null;
|
323073
|
+
fileUrl: string | null;
|
323074
|
+
fields: {
|
323075
|
+
data: string[];
|
323076
|
+
};
|
323077
|
+
}, {
|
323078
|
+
name: string;
|
323079
|
+
type: "custom" | "iframe" | null;
|
323080
|
+
id: string;
|
323081
|
+
url: string;
|
323082
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323083
|
+
method: "get" | "post" | null;
|
323084
|
+
description: string | null;
|
323085
|
+
createdAt: Date;
|
323086
|
+
updatedAt: Date;
|
323087
|
+
deletedAt: Date | null;
|
323088
|
+
headers: {
|
323089
|
+
key: string;
|
323090
|
+
value: string;
|
323091
|
+
}[] | null;
|
323092
|
+
fileKey: string | null;
|
323093
|
+
fileUrl: string | null;
|
323094
|
+
fields: {
|
323095
|
+
data: string[];
|
323096
|
+
};
|
323097
|
+
}>, "many">;
|
323098
|
+
400: import("zod").ZodObject<{
|
323099
|
+
message: import("zod").ZodString;
|
323100
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323101
|
+
message: string;
|
323102
|
+
}, {
|
323103
|
+
message: string;
|
323104
|
+
}>;
|
323105
|
+
401: import("zod").ZodObject<{
|
323106
|
+
message: import("zod").ZodString;
|
323107
|
+
error: import("zod").ZodAny;
|
323108
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323109
|
+
message: string;
|
323110
|
+
error?: any;
|
323111
|
+
}, {
|
323112
|
+
message: string;
|
323113
|
+
error?: any;
|
323114
|
+
}>;
|
323115
|
+
500: import("zod").ZodObject<{
|
323116
|
+
message: import("zod").ZodString;
|
323117
|
+
error: import("zod").ZodAny;
|
323118
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323119
|
+
message: string;
|
323120
|
+
error?: any;
|
323121
|
+
}, {
|
323122
|
+
message: string;
|
323123
|
+
error?: any;
|
323124
|
+
}>;
|
323125
|
+
};
|
323126
|
+
path: "settings/ms/widget/contact_profile";
|
323127
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
323128
|
+
'x-tenant': import("zod").ZodString;
|
323129
|
+
'x-service-token': import("zod").ZodString;
|
323130
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
323131
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
323132
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323133
|
+
'x-tenant': string;
|
323134
|
+
'x-service-token': string;
|
323135
|
+
'x-client-timezone': string;
|
323136
|
+
'x-code'?: string | undefined;
|
323137
|
+
}, {
|
323138
|
+
'x-tenant': string;
|
323139
|
+
'x-service-token': string;
|
323140
|
+
'x-code'?: string | undefined;
|
323141
|
+
'x-client-timezone'?: string | undefined;
|
323142
|
+
}>>>;
|
323143
|
+
};
|
323144
|
+
getInboxDetailWidgets: {
|
323145
|
+
summary: "Get inbox detail widgets";
|
323146
|
+
method: "GET";
|
323147
|
+
responses: {
|
323148
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
323149
|
+
id: import("zod").ZodString;
|
323150
|
+
createdAt: import("zod").ZodDate;
|
323151
|
+
updatedAt: import("zod").ZodDate;
|
323152
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
323153
|
+
name: import("zod").ZodString;
|
323154
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
323155
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
322168
323156
|
fields: import("zod").ZodObject<{
|
322169
323157
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322170
323158
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -322173,27 +323161,57 @@ export declare const widgetSettingContract: {
|
|
322173
323161
|
data: string[];
|
322174
323162
|
}>;
|
322175
323163
|
url: import("zod").ZodString;
|
323164
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
323165
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
323166
|
+
key: import("zod").ZodString;
|
323167
|
+
value: import("zod").ZodString;
|
323168
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323169
|
+
key: string;
|
323170
|
+
value: string;
|
323171
|
+
}, {
|
323172
|
+
key: string;
|
323173
|
+
value: string;
|
323174
|
+
}>, "many">>;
|
323175
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
323176
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
323177
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
322176
323178
|
}, "strip", import("zod").ZodTypeAny, {
|
322177
323179
|
name: string;
|
323180
|
+
type: "custom" | "iframe" | null;
|
322178
323181
|
id: string;
|
322179
323182
|
url: string;
|
322180
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323183
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323184
|
+
method: "get" | "post" | null;
|
322181
323185
|
description: string | null;
|
322182
323186
|
createdAt: Date;
|
322183
323187
|
updatedAt: Date;
|
322184
323188
|
deletedAt: Date | null;
|
323189
|
+
headers: {
|
323190
|
+
key: string;
|
323191
|
+
value: string;
|
323192
|
+
}[] | null;
|
323193
|
+
fileKey: string | null;
|
323194
|
+
fileUrl: string | null;
|
322185
323195
|
fields: {
|
322186
323196
|
data: string[];
|
322187
323197
|
};
|
322188
323198
|
}, {
|
322189
323199
|
name: string;
|
323200
|
+
type: "custom" | "iframe" | null;
|
322190
323201
|
id: string;
|
322191
323202
|
url: string;
|
322192
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323203
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323204
|
+
method: "get" | "post" | null;
|
322193
323205
|
description: string | null;
|
322194
323206
|
createdAt: Date;
|
322195
323207
|
updatedAt: Date;
|
322196
323208
|
deletedAt: Date | null;
|
323209
|
+
headers: {
|
323210
|
+
key: string;
|
323211
|
+
value: string;
|
323212
|
+
}[] | null;
|
323213
|
+
fileKey: string | null;
|
323214
|
+
fileUrl: string | null;
|
322197
323215
|
fields: {
|
322198
323216
|
data: string[];
|
322199
323217
|
};
|
@@ -322226,7 +323244,7 @@ export declare const widgetSettingContract: {
|
|
322226
323244
|
error?: any;
|
322227
323245
|
}>;
|
322228
323246
|
};
|
322229
|
-
path: "settings/widget/
|
323247
|
+
path: "settings/ms/widget/inbox_detail";
|
322230
323248
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322231
323249
|
'x-tenant': import("zod").ZodString;
|
322232
323250
|
'x-service-token': import("zod").ZodString;
|
@@ -322262,7 +323280,7 @@ export declare const widgetSettingContract: {
|
|
322262
323280
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
322263
323281
|
name: import("zod").ZodString;
|
322264
323282
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
322265
|
-
position: import("zod").
|
323283
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
322266
323284
|
fields: import("zod").ZodObject<{
|
322267
323285
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322268
323286
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -322271,27 +323289,57 @@ export declare const widgetSettingContract: {
|
|
322271
323289
|
data: string[];
|
322272
323290
|
}>;
|
322273
323291
|
url: import("zod").ZodString;
|
323292
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
323293
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
323294
|
+
key: import("zod").ZodString;
|
323295
|
+
value: import("zod").ZodString;
|
323296
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323297
|
+
key: string;
|
323298
|
+
value: string;
|
323299
|
+
}, {
|
323300
|
+
key: string;
|
323301
|
+
value: string;
|
323302
|
+
}>, "many">>;
|
323303
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
323304
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
323305
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
322274
323306
|
}, "strip", import("zod").ZodTypeAny, {
|
322275
323307
|
name: string;
|
323308
|
+
type: "custom" | "iframe" | null;
|
322276
323309
|
id: string;
|
322277
323310
|
url: string;
|
322278
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323311
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323312
|
+
method: "get" | "post" | null;
|
322279
323313
|
description: string | null;
|
322280
323314
|
createdAt: Date;
|
322281
323315
|
updatedAt: Date;
|
322282
323316
|
deletedAt: Date | null;
|
323317
|
+
headers: {
|
323318
|
+
key: string;
|
323319
|
+
value: string;
|
323320
|
+
}[] | null;
|
323321
|
+
fileKey: string | null;
|
323322
|
+
fileUrl: string | null;
|
322283
323323
|
fields: {
|
322284
323324
|
data: string[];
|
322285
323325
|
};
|
322286
323326
|
}, {
|
322287
323327
|
name: string;
|
323328
|
+
type: "custom" | "iframe" | null;
|
322288
323329
|
id: string;
|
322289
323330
|
url: string;
|
322290
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323331
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323332
|
+
method: "get" | "post" | null;
|
322291
323333
|
description: string | null;
|
322292
323334
|
createdAt: Date;
|
322293
323335
|
updatedAt: Date;
|
322294
323336
|
deletedAt: Date | null;
|
323337
|
+
headers: {
|
323338
|
+
key: string;
|
323339
|
+
value: string;
|
323340
|
+
}[] | null;
|
323341
|
+
fileKey: string | null;
|
323342
|
+
fileUrl: string | null;
|
322295
323343
|
fields: {
|
322296
323344
|
data: string[];
|
322297
323345
|
};
|
@@ -322324,7 +323372,7 @@ export declare const widgetSettingContract: {
|
|
322324
323372
|
error?: any;
|
322325
323373
|
}>;
|
322326
323374
|
};
|
322327
|
-
path: "settings/widget/:id";
|
323375
|
+
path: "settings/ms/widget/:id";
|
322328
323376
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322329
323377
|
'x-tenant': import("zod").ZodString;
|
322330
323378
|
'x-service-token': import("zod").ZodString;
|
@@ -322358,13 +323406,54 @@ export declare const widgetSettingContract: {
|
|
322358
323406
|
responses: {
|
322359
323407
|
201: import("zod").ZodObject<{
|
322360
323408
|
requestId: import("zod").ZodString;
|
322361
|
-
|
323409
|
+
widget: import("zod").ZodObject<{
|
323410
|
+
token: import("zod").ZodNullable<import("zod").ZodString>;
|
323411
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
323412
|
+
key: import("zod").ZodString;
|
323413
|
+
value: import("zod").ZodString;
|
323414
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323415
|
+
key: string;
|
323416
|
+
value: string;
|
323417
|
+
}, {
|
323418
|
+
key: string;
|
323419
|
+
value: string;
|
323420
|
+
}>, "many">;
|
323421
|
+
url: import("zod").ZodString;
|
323422
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323423
|
+
url: string;
|
323424
|
+
headers: {
|
323425
|
+
key: string;
|
323426
|
+
value: string;
|
323427
|
+
}[];
|
323428
|
+
token: string | null;
|
323429
|
+
}, {
|
323430
|
+
url: string;
|
323431
|
+
headers: {
|
323432
|
+
key: string;
|
323433
|
+
value: string;
|
323434
|
+
}[];
|
323435
|
+
token: string | null;
|
323436
|
+
}>;
|
322362
323437
|
}, "strip", import("zod").ZodTypeAny, {
|
322363
|
-
url: string;
|
322364
323438
|
requestId: string;
|
323439
|
+
widget: {
|
323440
|
+
url: string;
|
323441
|
+
headers: {
|
323442
|
+
key: string;
|
323443
|
+
value: string;
|
323444
|
+
}[];
|
323445
|
+
token: string | null;
|
323446
|
+
};
|
322365
323447
|
}, {
|
322366
|
-
url: string;
|
322367
323448
|
requestId: string;
|
323449
|
+
widget: {
|
323450
|
+
url: string;
|
323451
|
+
headers: {
|
323452
|
+
key: string;
|
323453
|
+
value: string;
|
323454
|
+
}[];
|
323455
|
+
token: string | null;
|
323456
|
+
};
|
322368
323457
|
}>;
|
322369
323458
|
400: import("zod").ZodObject<{
|
322370
323459
|
message: import("zod").ZodString;
|
@@ -322384,7 +323473,7 @@ export declare const widgetSettingContract: {
|
|
322384
323473
|
error?: any;
|
322385
323474
|
}>;
|
322386
323475
|
};
|
322387
|
-
path: "settings/widget/url_token/generate";
|
323476
|
+
path: "settings/ms/widget/url_token/generate";
|
322388
323477
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322389
323478
|
'x-tenant': import("zod").ZodString;
|
322390
323479
|
'x-service-token': import("zod").ZodString;
|
@@ -322405,9 +323494,9 @@ export declare const widgetSettingContract: {
|
|
322405
323494
|
updateWidget: {
|
322406
323495
|
body: import("zod").ZodObject<{
|
322407
323496
|
name: import("zod").ZodString;
|
322408
|
-
description: import("zod").ZodString
|
323497
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
322409
323498
|
url: import("zod").ZodString;
|
322410
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
323499
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
322411
323500
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
322412
323501
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322413
323502
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -322415,22 +323504,49 @@ export declare const widgetSettingContract: {
|
|
322415
323504
|
}, {
|
322416
323505
|
data: string[];
|
322417
323506
|
}>>;
|
323507
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
323508
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
323509
|
+
key: import("zod").ZodString;
|
323510
|
+
value: import("zod").ZodString;
|
323511
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323512
|
+
key: string;
|
323513
|
+
value: string;
|
323514
|
+
}, {
|
323515
|
+
key: string;
|
323516
|
+
value: string;
|
323517
|
+
}>, "many">>;
|
323518
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
323519
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
322418
323520
|
}, "strip", import("zod").ZodTypeAny, {
|
322419
323521
|
name: string;
|
323522
|
+
type: "custom" | "iframe";
|
322420
323523
|
url: string;
|
322421
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
322422
|
-
|
323524
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323525
|
+
fileKey: string | null;
|
323526
|
+
description?: string | undefined;
|
322423
323527
|
fields?: {
|
322424
323528
|
data: string[];
|
322425
323529
|
} | undefined;
|
323530
|
+
headers?: {
|
323531
|
+
key: string;
|
323532
|
+
value: string;
|
323533
|
+
}[] | undefined;
|
323534
|
+
method?: "get" | "post" | undefined;
|
322426
323535
|
}, {
|
322427
323536
|
name: string;
|
323537
|
+
type: "custom" | "iframe";
|
322428
323538
|
url: string;
|
322429
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
322430
|
-
|
323539
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323540
|
+
fileKey: string | null;
|
323541
|
+
description?: string | undefined;
|
322431
323542
|
fields?: {
|
322432
323543
|
data: string[];
|
322433
323544
|
} | undefined;
|
323545
|
+
headers?: {
|
323546
|
+
key: string;
|
323547
|
+
value: string;
|
323548
|
+
}[] | undefined;
|
323549
|
+
method?: "get" | "post" | undefined;
|
322434
323550
|
}>;
|
322435
323551
|
summary: "Update a widget.";
|
322436
323552
|
method: "PATCH";
|
@@ -322451,7 +323567,7 @@ export declare const widgetSettingContract: {
|
|
322451
323567
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
322452
323568
|
name: import("zod").ZodString;
|
322453
323569
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
322454
|
-
position: import("zod").
|
323570
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
322455
323571
|
fields: import("zod").ZodObject<{
|
322456
323572
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322457
323573
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -322460,27 +323576,57 @@ export declare const widgetSettingContract: {
|
|
322460
323576
|
data: string[];
|
322461
323577
|
}>;
|
322462
323578
|
url: import("zod").ZodString;
|
323579
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
323580
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
323581
|
+
key: import("zod").ZodString;
|
323582
|
+
value: import("zod").ZodString;
|
323583
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323584
|
+
key: string;
|
323585
|
+
value: string;
|
323586
|
+
}, {
|
323587
|
+
key: string;
|
323588
|
+
value: string;
|
323589
|
+
}>, "many">>;
|
323590
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
323591
|
+
fileKey: import("zod").ZodNullable<import("zod").ZodString>;
|
323592
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
322463
323593
|
}, "strip", import("zod").ZodTypeAny, {
|
322464
323594
|
name: string;
|
323595
|
+
type: "custom" | "iframe" | null;
|
322465
323596
|
id: string;
|
322466
323597
|
url: string;
|
322467
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323598
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323599
|
+
method: "get" | "post" | null;
|
322468
323600
|
description: string | null;
|
322469
323601
|
createdAt: Date;
|
322470
323602
|
updatedAt: Date;
|
322471
323603
|
deletedAt: Date | null;
|
323604
|
+
headers: {
|
323605
|
+
key: string;
|
323606
|
+
value: string;
|
323607
|
+
}[] | null;
|
323608
|
+
fileKey: string | null;
|
323609
|
+
fileUrl: string | null;
|
322472
323610
|
fields: {
|
322473
323611
|
data: string[];
|
322474
323612
|
};
|
322475
323613
|
}, {
|
322476
323614
|
name: string;
|
323615
|
+
type: "custom" | "iframe" | null;
|
322477
323616
|
id: string;
|
322478
323617
|
url: string;
|
322479
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323618
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323619
|
+
method: "get" | "post" | null;
|
322480
323620
|
description: string | null;
|
322481
323621
|
createdAt: Date;
|
322482
323622
|
updatedAt: Date;
|
322483
323623
|
deletedAt: Date | null;
|
323624
|
+
headers: {
|
323625
|
+
key: string;
|
323626
|
+
value: string;
|
323627
|
+
}[] | null;
|
323628
|
+
fileKey: string | null;
|
323629
|
+
fileUrl: string | null;
|
322484
323630
|
fields: {
|
322485
323631
|
data: string[];
|
322486
323632
|
};
|
@@ -322489,13 +323635,21 @@ export declare const widgetSettingContract: {
|
|
322489
323635
|
requestId: string;
|
322490
323636
|
widget: {
|
322491
323637
|
name: string;
|
323638
|
+
type: "custom" | "iframe" | null;
|
322492
323639
|
id: string;
|
322493
323640
|
url: string;
|
322494
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323641
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323642
|
+
method: "get" | "post" | null;
|
322495
323643
|
description: string | null;
|
322496
323644
|
createdAt: Date;
|
322497
323645
|
updatedAt: Date;
|
322498
323646
|
deletedAt: Date | null;
|
323647
|
+
headers: {
|
323648
|
+
key: string;
|
323649
|
+
value: string;
|
323650
|
+
}[] | null;
|
323651
|
+
fileKey: string | null;
|
323652
|
+
fileUrl: string | null;
|
322499
323653
|
fields: {
|
322500
323654
|
data: string[];
|
322501
323655
|
};
|
@@ -322504,13 +323658,21 @@ export declare const widgetSettingContract: {
|
|
322504
323658
|
requestId: string;
|
322505
323659
|
widget: {
|
322506
323660
|
name: string;
|
323661
|
+
type: "custom" | "iframe" | null;
|
322507
323662
|
id: string;
|
322508
323663
|
url: string;
|
322509
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
323664
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323665
|
+
method: "get" | "post" | null;
|
322510
323666
|
description: string | null;
|
322511
323667
|
createdAt: Date;
|
322512
323668
|
updatedAt: Date;
|
322513
323669
|
deletedAt: Date | null;
|
323670
|
+
headers: {
|
323671
|
+
key: string;
|
323672
|
+
value: string;
|
323673
|
+
}[] | null;
|
323674
|
+
fileKey: string | null;
|
323675
|
+
fileUrl: string | null;
|
322514
323676
|
fields: {
|
322515
323677
|
data: string[];
|
322516
323678
|
};
|
@@ -322534,7 +323696,7 @@ export declare const widgetSettingContract: {
|
|
322534
323696
|
error?: any;
|
322535
323697
|
}>;
|
322536
323698
|
};
|
322537
|
-
path: "settings/widget/:id";
|
323699
|
+
path: "settings/ms/widget/:id";
|
322538
323700
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322539
323701
|
'x-tenant': import("zod").ZodString;
|
322540
323702
|
'x-service-token': import("zod").ZodString;
|
@@ -322585,7 +323747,7 @@ export declare const widgetSettingContract: {
|
|
322585
323747
|
error?: any;
|
322586
323748
|
}>;
|
322587
323749
|
};
|
322588
|
-
path: "settings/widget/:id";
|
323750
|
+
path: "settings/ms/widget/:id";
|
322589
323751
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322590
323752
|
'x-tenant': import("zod").ZodString;
|
322591
323753
|
'x-service-token': import("zod").ZodString;
|