@kl1/contracts 1.3.29 → 1.3.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/contract.d.ts +1244 -82
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +627 -42
- 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 +61 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -6
- 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
|
};
|
@@ -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
|
};
|
@@ -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
|
};
|
@@ -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
|
};
|
@@ -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
|
};
|
@@ -16397,6 +16592,248 @@ export declare const apiContract: {
|
|
16397
16592
|
'x-client-timezone'?: string | undefined;
|
16398
16593
|
}>>>;
|
16399
16594
|
};
|
16595
|
+
getContactProfileWidgets: {
|
16596
|
+
summary: "Get contact profile widgets";
|
16597
|
+
method: "GET";
|
16598
|
+
responses: {
|
16599
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
16600
|
+
id: import("zod").ZodString;
|
16601
|
+
createdAt: import("zod").ZodDate;
|
16602
|
+
updatedAt: import("zod").ZodDate;
|
16603
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16604
|
+
name: import("zod").ZodString;
|
16605
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
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">]>;
|
16607
|
+
fields: import("zod").ZodObject<{
|
16608
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16609
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16610
|
+
data: string[];
|
16611
|
+
}, {
|
16612
|
+
data: string[];
|
16613
|
+
}>;
|
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>;
|
16629
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16630
|
+
name: string;
|
16631
|
+
type: "custom" | "iframe" | null;
|
16632
|
+
id: string;
|
16633
|
+
url: string;
|
16634
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16635
|
+
method: "get" | "post" | null;
|
16636
|
+
description: string | null;
|
16637
|
+
createdAt: Date;
|
16638
|
+
updatedAt: Date;
|
16639
|
+
deletedAt: Date | null;
|
16640
|
+
headers: {
|
16641
|
+
key: string;
|
16642
|
+
value: string;
|
16643
|
+
}[] | null;
|
16644
|
+
fileKey: string | null;
|
16645
|
+
fileUrl: string | null;
|
16646
|
+
fields: {
|
16647
|
+
data: string[];
|
16648
|
+
};
|
16649
|
+
}, {
|
16650
|
+
name: string;
|
16651
|
+
type: "custom" | "iframe" | null;
|
16652
|
+
id: string;
|
16653
|
+
url: string;
|
16654
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16655
|
+
method: "get" | "post" | null;
|
16656
|
+
description: string | null;
|
16657
|
+
createdAt: Date;
|
16658
|
+
updatedAt: Date;
|
16659
|
+
deletedAt: Date | null;
|
16660
|
+
headers: {
|
16661
|
+
key: string;
|
16662
|
+
value: string;
|
16663
|
+
}[] | null;
|
16664
|
+
fileKey: string | null;
|
16665
|
+
fileUrl: string | null;
|
16666
|
+
fields: {
|
16667
|
+
data: string[];
|
16668
|
+
};
|
16669
|
+
}>, "many">;
|
16670
|
+
400: import("zod").ZodObject<{
|
16671
|
+
message: import("zod").ZodString;
|
16672
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16673
|
+
message: string;
|
16674
|
+
}, {
|
16675
|
+
message: string;
|
16676
|
+
}>;
|
16677
|
+
401: import("zod").ZodObject<{
|
16678
|
+
message: import("zod").ZodString;
|
16679
|
+
error: import("zod").ZodAny;
|
16680
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16681
|
+
message: string;
|
16682
|
+
error?: any;
|
16683
|
+
}, {
|
16684
|
+
message: string;
|
16685
|
+
error?: any;
|
16686
|
+
}>;
|
16687
|
+
500: import("zod").ZodObject<{
|
16688
|
+
message: import("zod").ZodString;
|
16689
|
+
error: import("zod").ZodAny;
|
16690
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16691
|
+
message: string;
|
16692
|
+
error?: any;
|
16693
|
+
}, {
|
16694
|
+
message: string;
|
16695
|
+
error?: any;
|
16696
|
+
}>;
|
16697
|
+
};
|
16698
|
+
path: "widget/contact_profile";
|
16699
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
16700
|
+
'x-tenant': import("zod").ZodString;
|
16701
|
+
'x-service-token': import("zod").ZodString;
|
16702
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
16703
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
16704
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16705
|
+
'x-tenant': string;
|
16706
|
+
'x-service-token': string;
|
16707
|
+
'x-client-timezone': string;
|
16708
|
+
'x-code'?: string | undefined;
|
16709
|
+
}, {
|
16710
|
+
'x-tenant': string;
|
16711
|
+
'x-service-token': string;
|
16712
|
+
'x-code'?: string | undefined;
|
16713
|
+
'x-client-timezone'?: string | undefined;
|
16714
|
+
}>>>;
|
16715
|
+
};
|
16716
|
+
getInboxDetailWidgets: {
|
16717
|
+
summary: "Get inbox detail widgets";
|
16718
|
+
method: "GET";
|
16719
|
+
responses: {
|
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
|
+
}>;
|
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>;
|
16750
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16751
|
+
name: string;
|
16752
|
+
type: "custom" | "iframe" | null;
|
16753
|
+
id: string;
|
16754
|
+
url: string;
|
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
|
+
};
|
16770
|
+
}, {
|
16771
|
+
name: string;
|
16772
|
+
type: "custom" | "iframe" | null;
|
16773
|
+
id: string;
|
16774
|
+
url: string;
|
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">;
|
16791
|
+
400: import("zod").ZodObject<{
|
16792
|
+
message: import("zod").ZodString;
|
16793
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16794
|
+
message: string;
|
16795
|
+
}, {
|
16796
|
+
message: string;
|
16797
|
+
}>;
|
16798
|
+
401: import("zod").ZodObject<{
|
16799
|
+
message: import("zod").ZodString;
|
16800
|
+
error: import("zod").ZodAny;
|
16801
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16802
|
+
message: string;
|
16803
|
+
error?: any;
|
16804
|
+
}, {
|
16805
|
+
message: string;
|
16806
|
+
error?: any;
|
16807
|
+
}>;
|
16808
|
+
500: import("zod").ZodObject<{
|
16809
|
+
message: import("zod").ZodString;
|
16810
|
+
error: import("zod").ZodAny;
|
16811
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16812
|
+
message: string;
|
16813
|
+
error?: any;
|
16814
|
+
}, {
|
16815
|
+
message: string;
|
16816
|
+
error?: any;
|
16817
|
+
}>;
|
16818
|
+
};
|
16819
|
+
path: "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
|
+
};
|
16400
16837
|
getWidgetById: {
|
16401
16838
|
summary: "Get widget by id";
|
16402
16839
|
method: "GET";
|
@@ -16415,7 +16852,7 @@ export declare const apiContract: {
|
|
16415
16852
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16416
16853
|
name: import("zod").ZodString;
|
16417
16854
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16418
|
-
position: import("zod").
|
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">]>;
|
16419
16856
|
fields: import("zod").ZodObject<{
|
16420
16857
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16421
16858
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16424,27 +16861,57 @@ export declare const apiContract: {
|
|
16424
16861
|
data: string[];
|
16425
16862
|
}>;
|
16426
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>;
|
16427
16878
|
}, "strip", import("zod").ZodTypeAny, {
|
16428
16879
|
name: string;
|
16880
|
+
type: "custom" | "iframe" | null;
|
16429
16881
|
id: string;
|
16430
16882
|
url: string;
|
16431
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16883
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16884
|
+
method: "get" | "post" | null;
|
16432
16885
|
description: string | null;
|
16433
16886
|
createdAt: Date;
|
16434
16887
|
updatedAt: Date;
|
16435
16888
|
deletedAt: Date | null;
|
16889
|
+
headers: {
|
16890
|
+
key: string;
|
16891
|
+
value: string;
|
16892
|
+
}[] | null;
|
16893
|
+
fileKey: string | null;
|
16894
|
+
fileUrl: string | null;
|
16436
16895
|
fields: {
|
16437
16896
|
data: string[];
|
16438
16897
|
};
|
16439
16898
|
}, {
|
16440
16899
|
name: string;
|
16900
|
+
type: "custom" | "iframe" | null;
|
16441
16901
|
id: string;
|
16442
16902
|
url: string;
|
16443
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
16903
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
16904
|
+
method: "get" | "post" | null;
|
16444
16905
|
description: string | null;
|
16445
16906
|
createdAt: Date;
|
16446
16907
|
updatedAt: Date;
|
16447
16908
|
deletedAt: Date | null;
|
16909
|
+
headers: {
|
16910
|
+
key: string;
|
16911
|
+
value: string;
|
16912
|
+
}[] | null;
|
16913
|
+
fileKey: string | null;
|
16914
|
+
fileUrl: string | null;
|
16448
16915
|
fields: {
|
16449
16916
|
data: string[];
|
16450
16917
|
};
|
@@ -16511,13 +16978,54 @@ export declare const apiContract: {
|
|
16511
16978
|
responses: {
|
16512
16979
|
201: import("zod").ZodObject<{
|
16513
16980
|
requestId: import("zod").ZodString;
|
16514
|
-
|
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
|
+
}>;
|
16515
17009
|
}, "strip", import("zod").ZodTypeAny, {
|
16516
|
-
url: string;
|
16517
17010
|
requestId: string;
|
17011
|
+
widget: {
|
17012
|
+
url: string;
|
17013
|
+
headers: {
|
17014
|
+
key: string;
|
17015
|
+
value: string;
|
17016
|
+
}[];
|
17017
|
+
token: string | null;
|
17018
|
+
};
|
16518
17019
|
}, {
|
16519
|
-
url: string;
|
16520
17020
|
requestId: string;
|
17021
|
+
widget: {
|
17022
|
+
url: string;
|
17023
|
+
headers: {
|
17024
|
+
key: string;
|
17025
|
+
value: string;
|
17026
|
+
}[];
|
17027
|
+
token: string | null;
|
17028
|
+
};
|
16521
17029
|
}>;
|
16522
17030
|
400: import("zod").ZodObject<{
|
16523
17031
|
message: import("zod").ZodString;
|
@@ -16558,9 +17066,9 @@ export declare const apiContract: {
|
|
16558
17066
|
updateWidget: {
|
16559
17067
|
body: import("zod").ZodObject<{
|
16560
17068
|
name: import("zod").ZodString;
|
16561
|
-
description: import("zod").ZodString
|
17069
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
16562
17070
|
url: import("zod").ZodString;
|
16563
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
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">]>;
|
16564
17072
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
16565
17073
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16566
17074
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16568,22 +17076,49 @@ export declare const apiContract: {
|
|
16568
17076
|
}, {
|
16569
17077
|
data: string[];
|
16570
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>;
|
16571
17092
|
}, "strip", import("zod").ZodTypeAny, {
|
16572
17093
|
name: string;
|
17094
|
+
type: "custom" | "iframe";
|
16573
17095
|
url: string;
|
16574
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
16575
|
-
|
17096
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17097
|
+
fileKey: string | null;
|
17098
|
+
description?: string | undefined;
|
16576
17099
|
fields?: {
|
16577
17100
|
data: string[];
|
16578
17101
|
} | undefined;
|
17102
|
+
headers?: {
|
17103
|
+
key: string;
|
17104
|
+
value: string;
|
17105
|
+
}[] | undefined;
|
17106
|
+
method?: "get" | "post" | undefined;
|
16579
17107
|
}, {
|
16580
17108
|
name: string;
|
17109
|
+
type: "custom" | "iframe";
|
16581
17110
|
url: string;
|
16582
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
16583
|
-
|
17111
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17112
|
+
fileKey: string | null;
|
17113
|
+
description?: string | undefined;
|
16584
17114
|
fields?: {
|
16585
17115
|
data: string[];
|
16586
17116
|
} | undefined;
|
17117
|
+
headers?: {
|
17118
|
+
key: string;
|
17119
|
+
value: string;
|
17120
|
+
}[] | undefined;
|
17121
|
+
method?: "get" | "post" | undefined;
|
16587
17122
|
}>;
|
16588
17123
|
summary: "Update a widget.";
|
16589
17124
|
method: "PATCH";
|
@@ -16604,7 +17139,7 @@ export declare const apiContract: {
|
|
16604
17139
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
16605
17140
|
name: import("zod").ZodString;
|
16606
17141
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
16607
|
-
position: import("zod").
|
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">]>;
|
16608
17143
|
fields: import("zod").ZodObject<{
|
16609
17144
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
16610
17145
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -16613,27 +17148,57 @@ export declare const apiContract: {
|
|
16613
17148
|
data: string[];
|
16614
17149
|
}>;
|
16615
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>;
|
16616
17165
|
}, "strip", import("zod").ZodTypeAny, {
|
16617
17166
|
name: string;
|
17167
|
+
type: "custom" | "iframe" | null;
|
16618
17168
|
id: string;
|
16619
17169
|
url: string;
|
16620
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
17170
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17171
|
+
method: "get" | "post" | null;
|
16621
17172
|
description: string | null;
|
16622
17173
|
createdAt: Date;
|
16623
17174
|
updatedAt: Date;
|
16624
17175
|
deletedAt: Date | null;
|
17176
|
+
headers: {
|
17177
|
+
key: string;
|
17178
|
+
value: string;
|
17179
|
+
}[] | null;
|
17180
|
+
fileKey: string | null;
|
17181
|
+
fileUrl: string | null;
|
16625
17182
|
fields: {
|
16626
17183
|
data: string[];
|
16627
17184
|
};
|
16628
17185
|
}, {
|
16629
17186
|
name: string;
|
17187
|
+
type: "custom" | "iframe" | null;
|
16630
17188
|
id: string;
|
16631
17189
|
url: string;
|
16632
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
17190
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17191
|
+
method: "get" | "post" | null;
|
16633
17192
|
description: string | null;
|
16634
17193
|
createdAt: Date;
|
16635
17194
|
updatedAt: Date;
|
16636
17195
|
deletedAt: Date | null;
|
17196
|
+
headers: {
|
17197
|
+
key: string;
|
17198
|
+
value: string;
|
17199
|
+
}[] | null;
|
17200
|
+
fileKey: string | null;
|
17201
|
+
fileUrl: string | null;
|
16637
17202
|
fields: {
|
16638
17203
|
data: string[];
|
16639
17204
|
};
|
@@ -16642,13 +17207,21 @@ export declare const apiContract: {
|
|
16642
17207
|
requestId: string;
|
16643
17208
|
widget: {
|
16644
17209
|
name: string;
|
17210
|
+
type: "custom" | "iframe" | null;
|
16645
17211
|
id: string;
|
16646
17212
|
url: string;
|
16647
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
17213
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17214
|
+
method: "get" | "post" | null;
|
16648
17215
|
description: string | null;
|
16649
17216
|
createdAt: Date;
|
16650
17217
|
updatedAt: Date;
|
16651
17218
|
deletedAt: Date | null;
|
17219
|
+
headers: {
|
17220
|
+
key: string;
|
17221
|
+
value: string;
|
17222
|
+
}[] | null;
|
17223
|
+
fileKey: string | null;
|
17224
|
+
fileUrl: string | null;
|
16652
17225
|
fields: {
|
16653
17226
|
data: string[];
|
16654
17227
|
};
|
@@ -16657,13 +17230,21 @@ export declare const apiContract: {
|
|
16657
17230
|
requestId: string;
|
16658
17231
|
widget: {
|
16659
17232
|
name: string;
|
17233
|
+
type: "custom" | "iframe" | null;
|
16660
17234
|
id: string;
|
16661
17235
|
url: string;
|
16662
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
17236
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
17237
|
+
method: "get" | "post" | null;
|
16663
17238
|
description: string | null;
|
16664
17239
|
createdAt: Date;
|
16665
17240
|
updatedAt: Date;
|
16666
17241
|
deletedAt: Date | null;
|
17242
|
+
headers: {
|
17243
|
+
key: string;
|
17244
|
+
value: string;
|
17245
|
+
}[] | null;
|
17246
|
+
fileKey: string | null;
|
17247
|
+
fileUrl: string | null;
|
16667
17248
|
fields: {
|
16668
17249
|
data: string[];
|
16669
17250
|
};
|
@@ -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
|
};
|
@@ -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
|
};
|
@@ -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
|
};
|
@@ -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
|
};
|
@@ -322164,7 +322910,7 @@ 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">]>;
|
322168
322914
|
fields: import("zod").ZodObject<{
|
322169
322915
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
322170
322916
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -322173,27 +322919,57 @@ export declare const widgetSettingContract: {
|
|
322173
322919
|
data: string[];
|
322174
322920
|
}>;
|
322175
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>;
|
322176
322936
|
}, "strip", import("zod").ZodTypeAny, {
|
322177
322937
|
name: string;
|
322938
|
+
type: "custom" | "iframe" | null;
|
322178
322939
|
id: string;
|
322179
322940
|
url: string;
|
322180
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322941
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322942
|
+
method: "get" | "post" | null;
|
322181
322943
|
description: string | null;
|
322182
322944
|
createdAt: Date;
|
322183
322945
|
updatedAt: Date;
|
322184
322946
|
deletedAt: Date | null;
|
322947
|
+
headers: {
|
322948
|
+
key: string;
|
322949
|
+
value: string;
|
322950
|
+
}[] | null;
|
322951
|
+
fileKey: string | null;
|
322952
|
+
fileUrl: string | null;
|
322185
322953
|
fields: {
|
322186
322954
|
data: string[];
|
322187
322955
|
};
|
322188
322956
|
}, {
|
322189
322957
|
name: string;
|
322958
|
+
type: "custom" | "iframe" | null;
|
322190
322959
|
id: string;
|
322191
322960
|
url: string;
|
322192
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
322961
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
322962
|
+
method: "get" | "post" | null;
|
322193
322963
|
description: string | null;
|
322194
322964
|
createdAt: Date;
|
322195
322965
|
updatedAt: Date;
|
322196
322966
|
deletedAt: Date | null;
|
322967
|
+
headers: {
|
322968
|
+
key: string;
|
322969
|
+
value: string;
|
322970
|
+
}[] | null;
|
322971
|
+
fileKey: string | null;
|
322972
|
+
fileUrl: string | null;
|
322197
322973
|
fields: {
|
322198
322974
|
data: string[];
|
322199
322975
|
};
|
@@ -322244,6 +323020,248 @@ export declare const widgetSettingContract: {
|
|
322244
323020
|
'x-client-timezone'?: string | undefined;
|
322245
323021
|
}>>>;
|
322246
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/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">]>;
|
323156
|
+
fields: import("zod").ZodObject<{
|
323157
|
+
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
323158
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323159
|
+
data: string[];
|
323160
|
+
}, {
|
323161
|
+
data: string[];
|
323162
|
+
}>;
|
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>;
|
323178
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323179
|
+
name: string;
|
323180
|
+
type: "custom" | "iframe" | null;
|
323181
|
+
id: string;
|
323182
|
+
url: string;
|
323183
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323184
|
+
method: "get" | "post" | null;
|
323185
|
+
description: string | null;
|
323186
|
+
createdAt: Date;
|
323187
|
+
updatedAt: Date;
|
323188
|
+
deletedAt: Date | null;
|
323189
|
+
headers: {
|
323190
|
+
key: string;
|
323191
|
+
value: string;
|
323192
|
+
}[] | null;
|
323193
|
+
fileKey: string | null;
|
323194
|
+
fileUrl: string | null;
|
323195
|
+
fields: {
|
323196
|
+
data: string[];
|
323197
|
+
};
|
323198
|
+
}, {
|
323199
|
+
name: string;
|
323200
|
+
type: "custom" | "iframe" | null;
|
323201
|
+
id: string;
|
323202
|
+
url: string;
|
323203
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
323204
|
+
method: "get" | "post" | null;
|
323205
|
+
description: string | null;
|
323206
|
+
createdAt: Date;
|
323207
|
+
updatedAt: Date;
|
323208
|
+
deletedAt: Date | null;
|
323209
|
+
headers: {
|
323210
|
+
key: string;
|
323211
|
+
value: string;
|
323212
|
+
}[] | null;
|
323213
|
+
fileKey: string | null;
|
323214
|
+
fileUrl: string | null;
|
323215
|
+
fields: {
|
323216
|
+
data: string[];
|
323217
|
+
};
|
323218
|
+
}>, "many">;
|
323219
|
+
400: import("zod").ZodObject<{
|
323220
|
+
message: import("zod").ZodString;
|
323221
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323222
|
+
message: string;
|
323223
|
+
}, {
|
323224
|
+
message: string;
|
323225
|
+
}>;
|
323226
|
+
401: import("zod").ZodObject<{
|
323227
|
+
message: import("zod").ZodString;
|
323228
|
+
error: import("zod").ZodAny;
|
323229
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323230
|
+
message: string;
|
323231
|
+
error?: any;
|
323232
|
+
}, {
|
323233
|
+
message: string;
|
323234
|
+
error?: any;
|
323235
|
+
}>;
|
323236
|
+
500: import("zod").ZodObject<{
|
323237
|
+
message: import("zod").ZodString;
|
323238
|
+
error: import("zod").ZodAny;
|
323239
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323240
|
+
message: string;
|
323241
|
+
error?: any;
|
323242
|
+
}, {
|
323243
|
+
message: string;
|
323244
|
+
error?: any;
|
323245
|
+
}>;
|
323246
|
+
};
|
323247
|
+
path: "settings/widget/inbox_detail";
|
323248
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
323249
|
+
'x-tenant': import("zod").ZodString;
|
323250
|
+
'x-service-token': import("zod").ZodString;
|
323251
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
323252
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
323253
|
+
}, "strip", import("zod").ZodTypeAny, {
|
323254
|
+
'x-tenant': string;
|
323255
|
+
'x-service-token': string;
|
323256
|
+
'x-client-timezone': string;
|
323257
|
+
'x-code'?: string | undefined;
|
323258
|
+
}, {
|
323259
|
+
'x-tenant': string;
|
323260
|
+
'x-service-token': string;
|
323261
|
+
'x-code'?: string | undefined;
|
323262
|
+
'x-client-timezone'?: string | undefined;
|
323263
|
+
}>>>;
|
323264
|
+
};
|
322247
323265
|
getWidgetById: {
|
322248
323266
|
summary: "Get widget by id";
|
322249
323267
|
method: "GET";
|
@@ -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
|
};
|
@@ -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;
|
@@ -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
|
};
|