@kl1/contracts 1.2.54-uat → 1.2.56-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/channel/index.d.ts +62 -5
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +174 -559
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +3 -543
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +47 -6
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
- package/dist/index.js +33 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -868,551 +868,11 @@ export declare const smsContract: {
|
|
868
868
|
};
|
869
869
|
disconnectSMSChannel: {
|
870
870
|
body: z.ZodObject<{
|
871
|
-
id: z.
|
872
|
-
createdAt: z.ZodOptional<z.ZodDate>;
|
873
|
-
updatedAt: z.ZodOptional<z.ZodDate>;
|
874
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
875
|
-
name: z.ZodOptional<z.ZodString>;
|
876
|
-
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>>;
|
877
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
878
|
-
id: z.ZodString;
|
879
|
-
name: z.ZodString;
|
880
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
881
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
882
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
883
|
-
senderId: z.ZodOptional<z.ZodString>;
|
884
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
885
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
886
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
887
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
888
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
889
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
890
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
891
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
892
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
893
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
894
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
895
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
896
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
897
|
-
}, "strip", z.ZodTypeAny, {
|
898
|
-
wabaBusinessId?: string | null | undefined;
|
899
|
-
wabaExternalId?: string | null | undefined;
|
900
|
-
phoneNumberId?: string | null | undefined;
|
901
|
-
email?: string | null | undefined;
|
902
|
-
clientId?: string | null | undefined;
|
903
|
-
channelId?: string | null | undefined;
|
904
|
-
waapiInstanceId?: string | null | undefined;
|
905
|
-
qr?: string | null | undefined;
|
906
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
907
|
-
apiKey?: string | undefined;
|
908
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
909
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
910
|
-
}, {
|
911
|
-
wabaBusinessId?: string | null | undefined;
|
912
|
-
wabaExternalId?: string | null | undefined;
|
913
|
-
phoneNumberId?: string | null | undefined;
|
914
|
-
email?: string | null | undefined;
|
915
|
-
clientId?: string | null | undefined;
|
916
|
-
channelId?: string | null | undefined;
|
917
|
-
waapiInstanceId?: string | null | undefined;
|
918
|
-
qr?: string | null | undefined;
|
919
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
920
|
-
apiKey?: string | undefined;
|
921
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
922
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
923
|
-
}>>;
|
924
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
925
|
-
mobileNumber: z.ZodString;
|
926
|
-
apiKey: z.ZodString;
|
927
|
-
apiSecret: z.ZodString;
|
928
|
-
}, "strip", z.ZodTypeAny, {
|
929
|
-
apiKey: string;
|
930
|
-
mobileNumber: string;
|
931
|
-
apiSecret: string;
|
932
|
-
}, {
|
933
|
-
apiKey: string;
|
934
|
-
mobileNumber: string;
|
935
|
-
apiSecret: string;
|
936
|
-
}>>;
|
937
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
938
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
939
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
940
|
-
}, "strip", z.ZodTypeAny, {
|
941
|
-
name: string;
|
942
|
-
id: string;
|
943
|
-
accessToken?: string | undefined;
|
944
|
-
channelSecret?: string | undefined;
|
945
|
-
additionalCredentials?: any;
|
946
|
-
senderId?: string | undefined;
|
947
|
-
whatsapp?: {
|
948
|
-
wabaBusinessId?: string | null | undefined;
|
949
|
-
wabaExternalId?: string | null | undefined;
|
950
|
-
phoneNumberId?: string | null | undefined;
|
951
|
-
email?: string | null | undefined;
|
952
|
-
clientId?: string | null | undefined;
|
953
|
-
channelId?: string | null | undefined;
|
954
|
-
waapiInstanceId?: string | null | undefined;
|
955
|
-
qr?: string | null | undefined;
|
956
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
957
|
-
apiKey?: string | undefined;
|
958
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
959
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
960
|
-
} | undefined;
|
961
|
-
vonageCredentials?: {
|
962
|
-
apiKey: string;
|
963
|
-
mobileNumber: string;
|
964
|
-
apiSecret: string;
|
965
|
-
} | undefined;
|
966
|
-
lineRichMenuId?: string | null | undefined;
|
967
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
968
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
969
|
-
}, {
|
970
|
-
name: string;
|
971
|
-
id: string;
|
972
|
-
accessToken?: string | undefined;
|
973
|
-
channelSecret?: string | undefined;
|
974
|
-
additionalCredentials?: any;
|
975
|
-
senderId?: string | undefined;
|
976
|
-
whatsapp?: {
|
977
|
-
wabaBusinessId?: string | null | undefined;
|
978
|
-
wabaExternalId?: string | null | undefined;
|
979
|
-
phoneNumberId?: string | null | undefined;
|
980
|
-
email?: string | null | undefined;
|
981
|
-
clientId?: string | null | undefined;
|
982
|
-
channelId?: string | null | undefined;
|
983
|
-
waapiInstanceId?: string | null | undefined;
|
984
|
-
qr?: string | null | undefined;
|
985
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
986
|
-
apiKey?: string | undefined;
|
987
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
988
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
989
|
-
} | undefined;
|
990
|
-
vonageCredentials?: {
|
991
|
-
apiKey: string;
|
992
|
-
mobileNumber: string;
|
993
|
-
apiSecret: string;
|
994
|
-
} | undefined;
|
995
|
-
lineRichMenuId?: string | null | undefined;
|
996
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
997
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
998
|
-
}>>;
|
999
|
-
brandName: z.ZodOptional<z.ZodString>;
|
1000
|
-
platformId: z.ZodOptional<z.ZodString>;
|
1001
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
1002
|
-
isReloginRequired: z.ZodOptional<z.ZodBoolean>;
|
1003
|
-
connectedUserName: z.ZodOptional<z.ZodString>;
|
1004
|
-
connectedUserId: z.ZodOptional<z.ZodString>;
|
1005
|
-
botpressBot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
1006
|
-
id: z.ZodString;
|
1007
|
-
name: z.ZodString;
|
1008
|
-
botId: z.ZodString;
|
1009
|
-
integrationId: z.ZodString;
|
1010
|
-
accessToken: z.ZodString;
|
1011
|
-
}, "strip", z.ZodTypeAny, {
|
1012
|
-
name: string;
|
1013
|
-
id: string;
|
1014
|
-
accessToken: string;
|
1015
|
-
botId: string;
|
1016
|
-
integrationId: string;
|
1017
|
-
}, {
|
1018
|
-
name: string;
|
1019
|
-
id: string;
|
1020
|
-
accessToken: string;
|
1021
|
-
botId: string;
|
1022
|
-
integrationId: string;
|
1023
|
-
}>>>;
|
1024
|
-
actor: z.ZodOptional<z.ZodObject<{
|
1025
|
-
id: z.ZodString;
|
1026
|
-
createdAt: z.ZodDate;
|
1027
|
-
updatedAt: z.ZodDate;
|
1028
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1029
|
-
name: z.ZodString;
|
1030
|
-
email: z.ZodString;
|
1031
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
1032
|
-
password: z.ZodString;
|
1033
|
-
address: z.ZodNullable<z.ZodString>;
|
1034
|
-
phone: z.ZodNullable<z.ZodString>;
|
1035
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1036
|
-
roles: z.ZodArray<z.ZodObject<{
|
1037
|
-
id: z.ZodString;
|
1038
|
-
createdAt: z.ZodDate;
|
1039
|
-
updatedAt: z.ZodDate;
|
1040
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1041
|
-
systemName: z.ZodString;
|
1042
|
-
displayName: z.ZodString;
|
1043
|
-
description: z.ZodNullable<z.ZodString>;
|
1044
|
-
permissions: z.ZodArray<z.ZodObject<{
|
1045
|
-
id: z.ZodString;
|
1046
|
-
createdAt: z.ZodDate;
|
1047
|
-
updatedAt: z.ZodDate;
|
1048
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1049
|
-
systemName: z.ZodString;
|
1050
|
-
displayName: z.ZodString;
|
1051
|
-
description: z.ZodNullable<z.ZodString>;
|
1052
|
-
}, "strip", z.ZodTypeAny, {
|
1053
|
-
id: string;
|
1054
|
-
description: string | null;
|
1055
|
-
createdAt: Date;
|
1056
|
-
updatedAt: Date;
|
1057
|
-
deletedAt: Date | null;
|
1058
|
-
systemName: string;
|
1059
|
-
displayName: string;
|
1060
|
-
}, {
|
1061
|
-
id: string;
|
1062
|
-
description: string | null;
|
1063
|
-
createdAt: Date;
|
1064
|
-
updatedAt: Date;
|
1065
|
-
deletedAt: Date | null;
|
1066
|
-
systemName: string;
|
1067
|
-
displayName: string;
|
1068
|
-
}>, "many">;
|
1069
|
-
}, "strip", z.ZodTypeAny, {
|
1070
|
-
id: string;
|
1071
|
-
description: string | null;
|
1072
|
-
createdAt: Date;
|
1073
|
-
updatedAt: Date;
|
1074
|
-
deletedAt: Date | null;
|
1075
|
-
systemName: string;
|
1076
|
-
displayName: string;
|
1077
|
-
permissions: {
|
1078
|
-
id: string;
|
1079
|
-
description: string | null;
|
1080
|
-
createdAt: Date;
|
1081
|
-
updatedAt: Date;
|
1082
|
-
deletedAt: Date | null;
|
1083
|
-
systemName: string;
|
1084
|
-
displayName: string;
|
1085
|
-
}[];
|
1086
|
-
}, {
|
1087
|
-
id: string;
|
1088
|
-
description: string | null;
|
1089
|
-
createdAt: Date;
|
1090
|
-
updatedAt: Date;
|
1091
|
-
deletedAt: Date | null;
|
1092
|
-
systemName: string;
|
1093
|
-
displayName: string;
|
1094
|
-
permissions: {
|
1095
|
-
id: string;
|
1096
|
-
description: string | null;
|
1097
|
-
createdAt: Date;
|
1098
|
-
updatedAt: Date;
|
1099
|
-
deletedAt: Date | null;
|
1100
|
-
systemName: string;
|
1101
|
-
displayName: string;
|
1102
|
-
}[];
|
1103
|
-
}>, "many">;
|
1104
|
-
extension: z.ZodObject<{
|
1105
|
-
id: z.ZodString;
|
1106
|
-
createdAt: z.ZodDate;
|
1107
|
-
updatedAt: z.ZodDate;
|
1108
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1109
|
-
userId: z.ZodNullable<z.ZodString>;
|
1110
|
-
sipServerUrl: z.ZodString;
|
1111
|
-
sipUserName: z.ZodString;
|
1112
|
-
webphoneLoginUser: z.ZodString;
|
1113
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
1114
|
-
extensionName: z.ZodString;
|
1115
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
1116
|
-
}, "strip", z.ZodTypeAny, {
|
1117
|
-
id: string;
|
1118
|
-
createdAt: Date;
|
1119
|
-
updatedAt: Date;
|
1120
|
-
deletedAt: Date | null;
|
1121
|
-
userId: string | null;
|
1122
|
-
sipServerUrl: string;
|
1123
|
-
sipUserName: string;
|
1124
|
-
webphoneLoginUser: string;
|
1125
|
-
extensionId: string | null;
|
1126
|
-
extensionName: string;
|
1127
|
-
telephonySignature: string | null;
|
1128
|
-
}, {
|
1129
|
-
id: string;
|
1130
|
-
createdAt: Date;
|
1131
|
-
updatedAt: Date;
|
1132
|
-
deletedAt: Date | null;
|
1133
|
-
userId: string | null;
|
1134
|
-
sipServerUrl: string;
|
1135
|
-
sipUserName: string;
|
1136
|
-
webphoneLoginUser: string;
|
1137
|
-
extensionId: string | null;
|
1138
|
-
extensionName: string;
|
1139
|
-
telephonySignature: string | null;
|
1140
|
-
}>;
|
1141
|
-
}, "strip", z.ZodTypeAny, {
|
1142
|
-
name: string;
|
1143
|
-
id: string;
|
1144
|
-
address: string | null;
|
1145
|
-
email: string;
|
1146
|
-
createdAt: Date;
|
1147
|
-
updatedAt: Date;
|
1148
|
-
deletedAt: Date | null;
|
1149
|
-
emailVerifiedAt: Date | null;
|
1150
|
-
password: string;
|
1151
|
-
phone: string | null;
|
1152
|
-
notificationCount: number | null;
|
1153
|
-
roles: {
|
1154
|
-
id: string;
|
1155
|
-
description: string | null;
|
1156
|
-
createdAt: Date;
|
1157
|
-
updatedAt: Date;
|
1158
|
-
deletedAt: Date | null;
|
1159
|
-
systemName: string;
|
1160
|
-
displayName: string;
|
1161
|
-
permissions: {
|
1162
|
-
id: string;
|
1163
|
-
description: string | null;
|
1164
|
-
createdAt: Date;
|
1165
|
-
updatedAt: Date;
|
1166
|
-
deletedAt: Date | null;
|
1167
|
-
systemName: string;
|
1168
|
-
displayName: string;
|
1169
|
-
}[];
|
1170
|
-
}[];
|
1171
|
-
extension: {
|
1172
|
-
id: string;
|
1173
|
-
createdAt: Date;
|
1174
|
-
updatedAt: Date;
|
1175
|
-
deletedAt: Date | null;
|
1176
|
-
userId: string | null;
|
1177
|
-
sipServerUrl: string;
|
1178
|
-
sipUserName: string;
|
1179
|
-
webphoneLoginUser: string;
|
1180
|
-
extensionId: string | null;
|
1181
|
-
extensionName: string;
|
1182
|
-
telephonySignature: string | null;
|
1183
|
-
};
|
1184
|
-
}, {
|
1185
|
-
name: string;
|
1186
|
-
id: string;
|
1187
|
-
address: string | null;
|
1188
|
-
email: string;
|
1189
|
-
createdAt: Date;
|
1190
|
-
updatedAt: Date;
|
1191
|
-
deletedAt: Date | null;
|
1192
|
-
emailVerifiedAt: Date | null;
|
1193
|
-
password: string;
|
1194
|
-
phone: string | null;
|
1195
|
-
notificationCount: number | null;
|
1196
|
-
roles: {
|
1197
|
-
id: string;
|
1198
|
-
description: string | null;
|
1199
|
-
createdAt: Date;
|
1200
|
-
updatedAt: Date;
|
1201
|
-
deletedAt: Date | null;
|
1202
|
-
systemName: string;
|
1203
|
-
displayName: string;
|
1204
|
-
permissions: {
|
1205
|
-
id: string;
|
1206
|
-
description: string | null;
|
1207
|
-
createdAt: Date;
|
1208
|
-
updatedAt: Date;
|
1209
|
-
deletedAt: Date | null;
|
1210
|
-
systemName: string;
|
1211
|
-
displayName: string;
|
1212
|
-
}[];
|
1213
|
-
}[];
|
1214
|
-
extension: {
|
1215
|
-
id: string;
|
1216
|
-
createdAt: Date;
|
1217
|
-
updatedAt: Date;
|
1218
|
-
deletedAt: Date | null;
|
1219
|
-
userId: string | null;
|
1220
|
-
sipServerUrl: string;
|
1221
|
-
sipUserName: string;
|
1222
|
-
webphoneLoginUser: string;
|
1223
|
-
extensionId: string | null;
|
1224
|
-
extensionName: string;
|
1225
|
-
telephonySignature: string | null;
|
1226
|
-
};
|
1227
|
-
}>>;
|
871
|
+
id: z.ZodString;
|
1228
872
|
}, "strip", z.ZodTypeAny, {
|
1229
|
-
id
|
1230
|
-
createdAt?: Date | undefined;
|
1231
|
-
updatedAt?: Date | undefined;
|
1232
|
-
deletedAt?: Date | null | undefined;
|
1233
|
-
name?: string | undefined;
|
1234
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
|
1235
|
-
metadata?: {
|
1236
|
-
name: string;
|
1237
|
-
id: string;
|
1238
|
-
accessToken?: string | undefined;
|
1239
|
-
channelSecret?: string | undefined;
|
1240
|
-
additionalCredentials?: any;
|
1241
|
-
senderId?: string | undefined;
|
1242
|
-
whatsapp?: {
|
1243
|
-
wabaBusinessId?: string | null | undefined;
|
1244
|
-
wabaExternalId?: string | null | undefined;
|
1245
|
-
phoneNumberId?: string | null | undefined;
|
1246
|
-
email?: string | null | undefined;
|
1247
|
-
clientId?: string | null | undefined;
|
1248
|
-
channelId?: string | null | undefined;
|
1249
|
-
waapiInstanceId?: string | null | undefined;
|
1250
|
-
qr?: string | null | undefined;
|
1251
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1252
|
-
apiKey?: string | undefined;
|
1253
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
1254
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1255
|
-
} | undefined;
|
1256
|
-
vonageCredentials?: {
|
1257
|
-
apiKey: string;
|
1258
|
-
mobileNumber: string;
|
1259
|
-
apiSecret: string;
|
1260
|
-
} | undefined;
|
1261
|
-
lineRichMenuId?: string | null | undefined;
|
1262
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
1263
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1264
|
-
} | undefined;
|
1265
|
-
brandName?: string | undefined;
|
1266
|
-
platformId?: string | undefined;
|
1267
|
-
status?: boolean | undefined;
|
1268
|
-
isReloginRequired?: boolean | undefined;
|
1269
|
-
connectedUserName?: string | undefined;
|
1270
|
-
connectedUserId?: string | undefined;
|
1271
|
-
botpressBot?: {
|
1272
|
-
name: string;
|
1273
|
-
id: string;
|
1274
|
-
accessToken: string;
|
1275
|
-
botId: string;
|
1276
|
-
integrationId: string;
|
1277
|
-
} | null | undefined;
|
1278
|
-
actor?: {
|
1279
|
-
name: string;
|
1280
|
-
id: string;
|
1281
|
-
address: string | null;
|
1282
|
-
email: string;
|
1283
|
-
createdAt: Date;
|
1284
|
-
updatedAt: Date;
|
1285
|
-
deletedAt: Date | null;
|
1286
|
-
emailVerifiedAt: Date | null;
|
1287
|
-
password: string;
|
1288
|
-
phone: string | null;
|
1289
|
-
notificationCount: number | null;
|
1290
|
-
roles: {
|
1291
|
-
id: string;
|
1292
|
-
description: string | null;
|
1293
|
-
createdAt: Date;
|
1294
|
-
updatedAt: Date;
|
1295
|
-
deletedAt: Date | null;
|
1296
|
-
systemName: string;
|
1297
|
-
displayName: string;
|
1298
|
-
permissions: {
|
1299
|
-
id: string;
|
1300
|
-
description: string | null;
|
1301
|
-
createdAt: Date;
|
1302
|
-
updatedAt: Date;
|
1303
|
-
deletedAt: Date | null;
|
1304
|
-
systemName: string;
|
1305
|
-
displayName: string;
|
1306
|
-
}[];
|
1307
|
-
}[];
|
1308
|
-
extension: {
|
1309
|
-
id: string;
|
1310
|
-
createdAt: Date;
|
1311
|
-
updatedAt: Date;
|
1312
|
-
deletedAt: Date | null;
|
1313
|
-
userId: string | null;
|
1314
|
-
sipServerUrl: string;
|
1315
|
-
sipUserName: string;
|
1316
|
-
webphoneLoginUser: string;
|
1317
|
-
extensionId: string | null;
|
1318
|
-
extensionName: string;
|
1319
|
-
telephonySignature: string | null;
|
1320
|
-
};
|
1321
|
-
} | undefined;
|
873
|
+
id: string;
|
1322
874
|
}, {
|
1323
|
-
id
|
1324
|
-
createdAt?: Date | undefined;
|
1325
|
-
updatedAt?: Date | undefined;
|
1326
|
-
deletedAt?: Date | null | undefined;
|
1327
|
-
name?: string | undefined;
|
1328
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
|
1329
|
-
metadata?: {
|
1330
|
-
name: string;
|
1331
|
-
id: string;
|
1332
|
-
accessToken?: string | undefined;
|
1333
|
-
channelSecret?: string | undefined;
|
1334
|
-
additionalCredentials?: any;
|
1335
|
-
senderId?: string | undefined;
|
1336
|
-
whatsapp?: {
|
1337
|
-
wabaBusinessId?: string | null | undefined;
|
1338
|
-
wabaExternalId?: string | null | undefined;
|
1339
|
-
phoneNumberId?: string | null | undefined;
|
1340
|
-
email?: string | null | undefined;
|
1341
|
-
clientId?: string | null | undefined;
|
1342
|
-
channelId?: string | null | undefined;
|
1343
|
-
waapiInstanceId?: string | null | undefined;
|
1344
|
-
qr?: string | null | undefined;
|
1345
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1346
|
-
apiKey?: string | undefined;
|
1347
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
1348
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1349
|
-
} | undefined;
|
1350
|
-
vonageCredentials?: {
|
1351
|
-
apiKey: string;
|
1352
|
-
mobileNumber: string;
|
1353
|
-
apiSecret: string;
|
1354
|
-
} | undefined;
|
1355
|
-
lineRichMenuId?: string | null | undefined;
|
1356
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
1357
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1358
|
-
} | undefined;
|
1359
|
-
brandName?: string | undefined;
|
1360
|
-
platformId?: string | undefined;
|
1361
|
-
status?: boolean | undefined;
|
1362
|
-
isReloginRequired?: boolean | undefined;
|
1363
|
-
connectedUserName?: string | undefined;
|
1364
|
-
connectedUserId?: string | undefined;
|
1365
|
-
botpressBot?: {
|
1366
|
-
name: string;
|
1367
|
-
id: string;
|
1368
|
-
accessToken: string;
|
1369
|
-
botId: string;
|
1370
|
-
integrationId: string;
|
1371
|
-
} | null | undefined;
|
1372
|
-
actor?: {
|
1373
|
-
name: string;
|
1374
|
-
id: string;
|
1375
|
-
address: string | null;
|
1376
|
-
email: string;
|
1377
|
-
createdAt: Date;
|
1378
|
-
updatedAt: Date;
|
1379
|
-
deletedAt: Date | null;
|
1380
|
-
emailVerifiedAt: Date | null;
|
1381
|
-
password: string;
|
1382
|
-
phone: string | null;
|
1383
|
-
notificationCount: number | null;
|
1384
|
-
roles: {
|
1385
|
-
id: string;
|
1386
|
-
description: string | null;
|
1387
|
-
createdAt: Date;
|
1388
|
-
updatedAt: Date;
|
1389
|
-
deletedAt: Date | null;
|
1390
|
-
systemName: string;
|
1391
|
-
displayName: string;
|
1392
|
-
permissions: {
|
1393
|
-
id: string;
|
1394
|
-
description: string | null;
|
1395
|
-
createdAt: Date;
|
1396
|
-
updatedAt: Date;
|
1397
|
-
deletedAt: Date | null;
|
1398
|
-
systemName: string;
|
1399
|
-
displayName: string;
|
1400
|
-
}[];
|
1401
|
-
}[];
|
1402
|
-
extension: {
|
1403
|
-
id: string;
|
1404
|
-
createdAt: Date;
|
1405
|
-
updatedAt: Date;
|
1406
|
-
deletedAt: Date | null;
|
1407
|
-
userId: string | null;
|
1408
|
-
sipServerUrl: string;
|
1409
|
-
sipUserName: string;
|
1410
|
-
webphoneLoginUser: string;
|
1411
|
-
extensionId: string | null;
|
1412
|
-
extensionName: string;
|
1413
|
-
telephonySignature: string | null;
|
1414
|
-
};
|
1415
|
-
} | undefined;
|
875
|
+
id: string;
|
1416
876
|
}>;
|
1417
877
|
method: "POST";
|
1418
878
|
responses: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sms/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC/E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sms/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC/E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEtB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW7B,CAAC"}
|
@@ -20993,16 +20993,16 @@ export declare const whatsappContract: {
|
|
20993
20993
|
error?: any;
|
20994
20994
|
}>;
|
20995
20995
|
};
|
20996
|
-
path: "/
|
20996
|
+
path: "/mobile";
|
20997
20997
|
};
|
20998
20998
|
getWaapiQr: {
|
20999
20999
|
method: "GET";
|
21000
21000
|
query: z.ZodObject<{
|
21001
|
-
|
21001
|
+
instanceId: z.ZodString;
|
21002
21002
|
}, "strip", z.ZodTypeAny, {
|
21003
|
-
|
21003
|
+
instanceId: string;
|
21004
21004
|
}, {
|
21005
|
-
|
21005
|
+
instanceId: string;
|
21006
21006
|
}>;
|
21007
21007
|
responses: {
|
21008
21008
|
200: z.ZodObject<{
|
@@ -21051,7 +21051,48 @@ export declare const whatsappContract: {
|
|
21051
21051
|
error?: any;
|
21052
21052
|
}>;
|
21053
21053
|
};
|
21054
|
-
path: "/
|
21054
|
+
path: "/mobile/qr";
|
21055
|
+
};
|
21056
|
+
deleteWaapi: {
|
21057
|
+
body: z.ZodOptional<z.ZodAny>;
|
21058
|
+
method: "DELETE";
|
21059
|
+
pathParams: z.ZodObject<{
|
21060
|
+
instanceId: z.ZodString;
|
21061
|
+
}, "strip", z.ZodTypeAny, {
|
21062
|
+
instanceId: string;
|
21063
|
+
}, {
|
21064
|
+
instanceId: string;
|
21065
|
+
}>;
|
21066
|
+
responses: {
|
21067
|
+
200: z.ZodObject<{
|
21068
|
+
requestId: z.ZodString;
|
21069
|
+
}, "strip", z.ZodTypeAny, {
|
21070
|
+
requestId: string;
|
21071
|
+
}, {
|
21072
|
+
requestId: string;
|
21073
|
+
}>;
|
21074
|
+
500: z.ZodObject<{
|
21075
|
+
message: z.ZodString;
|
21076
|
+
error: z.ZodAny;
|
21077
|
+
}, "strip", z.ZodTypeAny, {
|
21078
|
+
message: string;
|
21079
|
+
error?: any;
|
21080
|
+
}, {
|
21081
|
+
message: string;
|
21082
|
+
error?: any;
|
21083
|
+
}>;
|
21084
|
+
400: z.ZodObject<{
|
21085
|
+
message: z.ZodString;
|
21086
|
+
error: z.ZodAny;
|
21087
|
+
}, "strip", z.ZodTypeAny, {
|
21088
|
+
message: string;
|
21089
|
+
error?: any;
|
21090
|
+
}, {
|
21091
|
+
message: string;
|
21092
|
+
error?: any;
|
21093
|
+
}>;
|
21094
|
+
};
|
21095
|
+
path: "/mobile/:instanceId";
|
21055
21096
|
};
|
21056
21097
|
sendSeenToWaapi: {
|
21057
21098
|
body: z.ZodObject<{
|
@@ -21107,7 +21148,7 @@ export declare const whatsappContract: {
|
|
21107
21148
|
error?: any;
|
21108
21149
|
}>;
|
21109
21150
|
};
|
21110
|
-
path: "/
|
21151
|
+
path: "/mobile/send-seen";
|
21111
21152
|
};
|
21112
21153
|
};
|
21113
21154
|
//# sourceMappingURL=index.d.ts.map
|