@kl1/contracts 1.2.36-uat → 1.2.38-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 +2971 -2760
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +87 -75
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +98 -84
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2629 -6954
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +721 -1675
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +818 -1512
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +68 -68
- package/dist/api-contracts/src/comment/schema.d.ts +20 -20
- package/dist/api-contracts/src/contact/index.d.ts +97 -97
- package/dist/api-contracts/src/contact/schema.d.ts +12 -12
- package/dist/api-contracts/src/contact/validation.d.ts +56 -56
- package/dist/api-contracts/src/contract.d.ts +11876 -13847
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +115 -0
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
- package/dist/api-contracts/src/cx-log/index.d.ts +143 -190
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +119 -233
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +99 -77
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +55 -12
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +0 -26
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +0 -81
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1060 -1466
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +77 -68
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +60 -53
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +0 -4
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +836 -1271
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +757 -1204
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +82 -71
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +7 -619
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +7 -619
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +0 -204
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -165
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +836 -1271
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +60 -53
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +59 -59
- package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
- package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
- package/dist/api-contracts/src/sms/index.d.ts +146 -180
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +0 -22
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +105 -105
- package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
- package/dist/api-contracts/src/telegram/index.d.ts +626 -1091
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +89 -34
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +27 -10
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
- package/dist/api-contracts/src/ticket/index.d.ts +111 -111
- package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
- package/dist/api-contracts/src/upload/schema.d.ts +3 -3
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +8 -16
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +10 -20
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +626 -1091
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +626 -1091
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +724 -1175
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +183 -569
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +0 -3
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +4369 -4862
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4339 -4827
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -7
@@ -1,7 +1,6 @@
|
|
1
|
-
import { ConnectSMSChannelSchema
|
1
|
+
import { ConnectSMSChannelSchema } from './schema';
|
2
2
|
import z from 'zod';
|
3
3
|
export type ConnectSMSChannelRequest = z.infer<typeof ConnectSMSChannelSchema>;
|
4
|
-
export type SMSNumberObject = z.infer<typeof SMSNumberSchema>;
|
5
4
|
export declare const smsContract: {
|
6
5
|
connect: {
|
7
6
|
body: z.ZodObject<{
|
@@ -116,35 +115,38 @@ export declare const smsContract: {
|
|
116
115
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
117
116
|
senderId: z.ZodOptional<z.ZodString>;
|
118
117
|
whatsapp: z.ZodOptional<z.ZodObject<{
|
119
|
-
wabaBusinessId: z.ZodOptional<z.ZodString
|
120
|
-
wabaExternalId: z.ZodString
|
121
|
-
phoneNumberId: z.ZodString
|
122
|
-
email: z.ZodString
|
123
|
-
clientId: z.ZodOptional<z.ZodString
|
124
|
-
channelId: z.ZodOptional<z.ZodString
|
118
|
+
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
119
|
+
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
120
|
+
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
121
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
122
|
+
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
123
|
+
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
125
124
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
126
125
|
apiKey: z.ZodOptional<z.ZodString>;
|
127
126
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
127
|
+
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
|
128
128
|
}, "strip", z.ZodTypeAny, {
|
129
|
-
|
130
|
-
wabaExternalId
|
131
|
-
phoneNumberId
|
132
|
-
|
133
|
-
clientId?: string | undefined;
|
134
|
-
channelId?: string | undefined;
|
129
|
+
wabaBusinessId?: string | null | undefined;
|
130
|
+
wabaExternalId?: string | null | undefined;
|
131
|
+
phoneNumberId?: string | null | undefined;
|
132
|
+
email?: string | null | undefined;
|
133
|
+
clientId?: string | null | undefined;
|
134
|
+
channelId?: string | null | undefined;
|
135
135
|
status?: "active" | "pending" | undefined;
|
136
136
|
apiKey?: string | undefined;
|
137
137
|
tier?: "basic" | "regular" | "premium" | undefined;
|
138
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
138
139
|
}, {
|
139
|
-
|
140
|
-
wabaExternalId
|
141
|
-
phoneNumberId
|
142
|
-
|
143
|
-
clientId?: string | undefined;
|
144
|
-
channelId?: string | undefined;
|
140
|
+
wabaBusinessId?: string | null | undefined;
|
141
|
+
wabaExternalId?: string | null | undefined;
|
142
|
+
phoneNumberId?: string | null | undefined;
|
143
|
+
email?: string | null | undefined;
|
144
|
+
clientId?: string | null | undefined;
|
145
|
+
channelId?: string | null | undefined;
|
145
146
|
status?: "active" | "pending" | undefined;
|
146
147
|
apiKey?: string | undefined;
|
147
148
|
tier?: "basic" | "regular" | "premium" | undefined;
|
149
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
148
150
|
}>>;
|
149
151
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
150
152
|
mobileNumber: z.ZodString;
|
@@ -169,15 +171,16 @@ export declare const smsContract: {
|
|
169
171
|
additionalCredentials?: any;
|
170
172
|
senderId?: string | undefined;
|
171
173
|
whatsapp?: {
|
172
|
-
|
173
|
-
wabaExternalId
|
174
|
-
phoneNumberId
|
175
|
-
|
176
|
-
clientId?: string | undefined;
|
177
|
-
channelId?: string | undefined;
|
174
|
+
wabaBusinessId?: string | null | undefined;
|
175
|
+
wabaExternalId?: string | null | undefined;
|
176
|
+
phoneNumberId?: string | null | undefined;
|
177
|
+
email?: string | null | undefined;
|
178
|
+
clientId?: string | null | undefined;
|
179
|
+
channelId?: string | null | undefined;
|
178
180
|
status?: "active" | "pending" | undefined;
|
179
181
|
apiKey?: string | undefined;
|
180
182
|
tier?: "basic" | "regular" | "premium" | undefined;
|
183
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
181
184
|
} | undefined;
|
182
185
|
vonageCredentials?: {
|
183
186
|
apiKey: string;
|
@@ -194,15 +197,16 @@ export declare const smsContract: {
|
|
194
197
|
additionalCredentials?: any;
|
195
198
|
senderId?: string | undefined;
|
196
199
|
whatsapp?: {
|
197
|
-
|
198
|
-
wabaExternalId
|
199
|
-
phoneNumberId
|
200
|
-
|
201
|
-
clientId?: string | undefined;
|
202
|
-
channelId?: string | undefined;
|
200
|
+
wabaBusinessId?: string | null | undefined;
|
201
|
+
wabaExternalId?: string | null | undefined;
|
202
|
+
phoneNumberId?: string | null | undefined;
|
203
|
+
email?: string | null | undefined;
|
204
|
+
clientId?: string | null | undefined;
|
205
|
+
channelId?: string | null | undefined;
|
203
206
|
status?: "active" | "pending" | undefined;
|
204
207
|
apiKey?: string | undefined;
|
205
208
|
tier?: "basic" | "regular" | "premium" | undefined;
|
209
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
206
210
|
} | undefined;
|
207
211
|
vonageCredentials?: {
|
208
212
|
apiKey: string;
|
@@ -453,15 +457,16 @@ export declare const smsContract: {
|
|
453
457
|
additionalCredentials?: any;
|
454
458
|
senderId?: string | undefined;
|
455
459
|
whatsapp?: {
|
456
|
-
|
457
|
-
wabaExternalId
|
458
|
-
phoneNumberId
|
459
|
-
|
460
|
-
clientId?: string | undefined;
|
461
|
-
channelId?: string | undefined;
|
460
|
+
wabaBusinessId?: string | null | undefined;
|
461
|
+
wabaExternalId?: string | null | undefined;
|
462
|
+
phoneNumberId?: string | null | undefined;
|
463
|
+
email?: string | null | undefined;
|
464
|
+
clientId?: string | null | undefined;
|
465
|
+
channelId?: string | null | undefined;
|
462
466
|
status?: "active" | "pending" | undefined;
|
463
467
|
apiKey?: string | undefined;
|
464
468
|
tier?: "basic" | "regular" | "premium" | undefined;
|
469
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
465
470
|
} | undefined;
|
466
471
|
vonageCredentials?: {
|
467
472
|
apiKey: string;
|
@@ -543,15 +548,16 @@ export declare const smsContract: {
|
|
543
548
|
additionalCredentials?: any;
|
544
549
|
senderId?: string | undefined;
|
545
550
|
whatsapp?: {
|
546
|
-
|
547
|
-
wabaExternalId
|
548
|
-
phoneNumberId
|
549
|
-
|
550
|
-
clientId?: string | undefined;
|
551
|
-
channelId?: string | undefined;
|
551
|
+
wabaBusinessId?: string | null | undefined;
|
552
|
+
wabaExternalId?: string | null | undefined;
|
553
|
+
phoneNumberId?: string | null | undefined;
|
554
|
+
email?: string | null | undefined;
|
555
|
+
clientId?: string | null | undefined;
|
556
|
+
channelId?: string | null | undefined;
|
552
557
|
status?: "active" | "pending" | undefined;
|
553
558
|
apiKey?: string | undefined;
|
554
559
|
tier?: "basic" | "regular" | "premium" | undefined;
|
560
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
555
561
|
} | undefined;
|
556
562
|
vonageCredentials?: {
|
557
563
|
apiKey: string;
|
@@ -635,15 +641,16 @@ export declare const smsContract: {
|
|
635
641
|
additionalCredentials?: any;
|
636
642
|
senderId?: string | undefined;
|
637
643
|
whatsapp?: {
|
638
|
-
|
639
|
-
wabaExternalId
|
640
|
-
phoneNumberId
|
641
|
-
|
642
|
-
clientId?: string | undefined;
|
643
|
-
channelId?: string | undefined;
|
644
|
+
wabaBusinessId?: string | null | undefined;
|
645
|
+
wabaExternalId?: string | null | undefined;
|
646
|
+
phoneNumberId?: string | null | undefined;
|
647
|
+
email?: string | null | undefined;
|
648
|
+
clientId?: string | null | undefined;
|
649
|
+
channelId?: string | null | undefined;
|
644
650
|
status?: "active" | "pending" | undefined;
|
645
651
|
apiKey?: string | undefined;
|
646
652
|
tier?: "basic" | "regular" | "premium" | undefined;
|
653
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
647
654
|
} | undefined;
|
648
655
|
vonageCredentials?: {
|
649
656
|
apiKey: string;
|
@@ -728,15 +735,16 @@ export declare const smsContract: {
|
|
728
735
|
additionalCredentials?: any;
|
729
736
|
senderId?: string | undefined;
|
730
737
|
whatsapp?: {
|
731
|
-
|
732
|
-
wabaExternalId
|
733
|
-
phoneNumberId
|
734
|
-
|
735
|
-
clientId?: string | undefined;
|
736
|
-
channelId?: string | undefined;
|
738
|
+
wabaBusinessId?: string | null | undefined;
|
739
|
+
wabaExternalId?: string | null | undefined;
|
740
|
+
phoneNumberId?: string | null | undefined;
|
741
|
+
email?: string | null | undefined;
|
742
|
+
clientId?: string | null | undefined;
|
743
|
+
channelId?: string | null | undefined;
|
737
744
|
status?: "active" | "pending" | undefined;
|
738
745
|
apiKey?: string | undefined;
|
739
746
|
tier?: "basic" | "regular" | "premium" | undefined;
|
747
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
740
748
|
} | undefined;
|
741
749
|
vonageCredentials?: {
|
742
750
|
apiKey: string;
|
@@ -970,35 +978,38 @@ export declare const smsContract: {
|
|
970
978
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
971
979
|
senderId: z.ZodOptional<z.ZodString>;
|
972
980
|
whatsapp: z.ZodOptional<z.ZodObject<{
|
973
|
-
wabaBusinessId: z.ZodOptional<z.ZodString
|
974
|
-
wabaExternalId: z.ZodString
|
975
|
-
phoneNumberId: z.ZodString
|
976
|
-
email: z.ZodString
|
977
|
-
clientId: z.ZodOptional<z.ZodString
|
978
|
-
channelId: z.ZodOptional<z.ZodString
|
981
|
+
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
982
|
+
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
983
|
+
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
984
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
985
|
+
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
986
|
+
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
979
987
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
980
988
|
apiKey: z.ZodOptional<z.ZodString>;
|
981
989
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
990
|
+
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
|
982
991
|
}, "strip", z.ZodTypeAny, {
|
983
|
-
|
984
|
-
wabaExternalId
|
985
|
-
phoneNumberId
|
986
|
-
|
987
|
-
clientId?: string | undefined;
|
988
|
-
channelId?: string | undefined;
|
992
|
+
wabaBusinessId?: string | null | undefined;
|
993
|
+
wabaExternalId?: string | null | undefined;
|
994
|
+
phoneNumberId?: string | null | undefined;
|
995
|
+
email?: string | null | undefined;
|
996
|
+
clientId?: string | null | undefined;
|
997
|
+
channelId?: string | null | undefined;
|
989
998
|
status?: "active" | "pending" | undefined;
|
990
999
|
apiKey?: string | undefined;
|
991
1000
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1001
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
992
1002
|
}, {
|
993
|
-
|
994
|
-
wabaExternalId
|
995
|
-
phoneNumberId
|
996
|
-
|
997
|
-
clientId?: string | undefined;
|
998
|
-
channelId?: string | undefined;
|
1003
|
+
wabaBusinessId?: string | null | undefined;
|
1004
|
+
wabaExternalId?: string | null | undefined;
|
1005
|
+
phoneNumberId?: string | null | undefined;
|
1006
|
+
email?: string | null | undefined;
|
1007
|
+
clientId?: string | null | undefined;
|
1008
|
+
channelId?: string | null | undefined;
|
999
1009
|
status?: "active" | "pending" | undefined;
|
1000
1010
|
apiKey?: string | undefined;
|
1001
1011
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1012
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1002
1013
|
}>>;
|
1003
1014
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
1004
1015
|
mobileNumber: z.ZodString;
|
@@ -1023,15 +1034,16 @@ export declare const smsContract: {
|
|
1023
1034
|
additionalCredentials?: any;
|
1024
1035
|
senderId?: string | undefined;
|
1025
1036
|
whatsapp?: {
|
1026
|
-
|
1027
|
-
wabaExternalId
|
1028
|
-
phoneNumberId
|
1029
|
-
|
1030
|
-
clientId?: string | undefined;
|
1031
|
-
channelId?: string | undefined;
|
1037
|
+
wabaBusinessId?: string | null | undefined;
|
1038
|
+
wabaExternalId?: string | null | undefined;
|
1039
|
+
phoneNumberId?: string | null | undefined;
|
1040
|
+
email?: string | null | undefined;
|
1041
|
+
clientId?: string | null | undefined;
|
1042
|
+
channelId?: string | null | undefined;
|
1032
1043
|
status?: "active" | "pending" | undefined;
|
1033
1044
|
apiKey?: string | undefined;
|
1034
1045
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1046
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1035
1047
|
} | undefined;
|
1036
1048
|
vonageCredentials?: {
|
1037
1049
|
apiKey: string;
|
@@ -1048,15 +1060,16 @@ export declare const smsContract: {
|
|
1048
1060
|
additionalCredentials?: any;
|
1049
1061
|
senderId?: string | undefined;
|
1050
1062
|
whatsapp?: {
|
1051
|
-
|
1052
|
-
wabaExternalId
|
1053
|
-
phoneNumberId
|
1054
|
-
|
1055
|
-
clientId?: string | undefined;
|
1056
|
-
channelId?: string | undefined;
|
1063
|
+
wabaBusinessId?: string | null | undefined;
|
1064
|
+
wabaExternalId?: string | null | undefined;
|
1065
|
+
phoneNumberId?: string | null | undefined;
|
1066
|
+
email?: string | null | undefined;
|
1067
|
+
clientId?: string | null | undefined;
|
1068
|
+
channelId?: string | null | undefined;
|
1057
1069
|
status?: "active" | "pending" | undefined;
|
1058
1070
|
apiKey?: string | undefined;
|
1059
1071
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1072
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1060
1073
|
} | undefined;
|
1061
1074
|
vonageCredentials?: {
|
1062
1075
|
apiKey: string;
|
@@ -1103,15 +1116,16 @@ export declare const smsContract: {
|
|
1103
1116
|
additionalCredentials?: any;
|
1104
1117
|
senderId?: string | undefined;
|
1105
1118
|
whatsapp?: {
|
1106
|
-
|
1107
|
-
wabaExternalId
|
1108
|
-
phoneNumberId
|
1109
|
-
|
1110
|
-
clientId?: string | undefined;
|
1111
|
-
channelId?: string | undefined;
|
1119
|
+
wabaBusinessId?: string | null | undefined;
|
1120
|
+
wabaExternalId?: string | null | undefined;
|
1121
|
+
phoneNumberId?: string | null | undefined;
|
1122
|
+
email?: string | null | undefined;
|
1123
|
+
clientId?: string | null | undefined;
|
1124
|
+
channelId?: string | null | undefined;
|
1112
1125
|
status?: "active" | "pending" | undefined;
|
1113
1126
|
apiKey?: string | undefined;
|
1114
1127
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1128
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1115
1129
|
} | undefined;
|
1116
1130
|
vonageCredentials?: {
|
1117
1131
|
apiKey: string;
|
@@ -1146,15 +1160,16 @@ export declare const smsContract: {
|
|
1146
1160
|
additionalCredentials?: any;
|
1147
1161
|
senderId?: string | undefined;
|
1148
1162
|
whatsapp?: {
|
1149
|
-
|
1150
|
-
wabaExternalId
|
1151
|
-
phoneNumberId
|
1152
|
-
|
1153
|
-
clientId?: string | undefined;
|
1154
|
-
channelId?: string | undefined;
|
1163
|
+
wabaBusinessId?: string | null | undefined;
|
1164
|
+
wabaExternalId?: string | null | undefined;
|
1165
|
+
phoneNumberId?: string | null | undefined;
|
1166
|
+
email?: string | null | undefined;
|
1167
|
+
clientId?: string | null | undefined;
|
1168
|
+
channelId?: string | null | undefined;
|
1155
1169
|
status?: "active" | "pending" | undefined;
|
1156
1170
|
apiKey?: string | undefined;
|
1157
1171
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1172
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1158
1173
|
} | undefined;
|
1159
1174
|
vonageCredentials?: {
|
1160
1175
|
apiKey: string;
|
@@ -1194,15 +1209,16 @@ export declare const smsContract: {
|
|
1194
1209
|
additionalCredentials?: any;
|
1195
1210
|
senderId?: string | undefined;
|
1196
1211
|
whatsapp?: {
|
1197
|
-
|
1198
|
-
wabaExternalId
|
1199
|
-
phoneNumberId
|
1200
|
-
|
1201
|
-
clientId?: string | undefined;
|
1202
|
-
channelId?: string | undefined;
|
1212
|
+
wabaBusinessId?: string | null | undefined;
|
1213
|
+
wabaExternalId?: string | null | undefined;
|
1214
|
+
phoneNumberId?: string | null | undefined;
|
1215
|
+
email?: string | null | undefined;
|
1216
|
+
clientId?: string | null | undefined;
|
1217
|
+
channelId?: string | null | undefined;
|
1203
1218
|
status?: "active" | "pending" | undefined;
|
1204
1219
|
apiKey?: string | undefined;
|
1205
1220
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1221
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1206
1222
|
} | undefined;
|
1207
1223
|
vonageCredentials?: {
|
1208
1224
|
apiKey: string;
|
@@ -1281,15 +1297,16 @@ export declare const smsContract: {
|
|
1281
1297
|
additionalCredentials?: any;
|
1282
1298
|
senderId?: string | undefined;
|
1283
1299
|
whatsapp?: {
|
1284
|
-
|
1285
|
-
wabaExternalId
|
1286
|
-
phoneNumberId
|
1287
|
-
|
1288
|
-
clientId?: string | undefined;
|
1289
|
-
channelId?: string | undefined;
|
1300
|
+
wabaBusinessId?: string | null | undefined;
|
1301
|
+
wabaExternalId?: string | null | undefined;
|
1302
|
+
phoneNumberId?: string | null | undefined;
|
1303
|
+
email?: string | null | undefined;
|
1304
|
+
clientId?: string | null | undefined;
|
1305
|
+
channelId?: string | null | undefined;
|
1290
1306
|
status?: "active" | "pending" | undefined;
|
1291
1307
|
apiKey?: string | undefined;
|
1292
1308
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1309
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1293
1310
|
} | undefined;
|
1294
1311
|
vonageCredentials?: {
|
1295
1312
|
apiKey: string;
|
@@ -1359,7 +1376,7 @@ export declare const smsContract: {
|
|
1359
1376
|
id: z.ZodOptional<z.ZodString>;
|
1360
1377
|
message: z.ZodOptional<z.ZodString>;
|
1361
1378
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1362
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
1379
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
1363
1380
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1364
1381
|
metadata: z.ZodOptional<z.ZodAny>;
|
1365
1382
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1415,7 +1432,7 @@ export declare const smsContract: {
|
|
1415
1432
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1416
1433
|
label: z.ZodOptional<z.ZodString>;
|
1417
1434
|
}, "strip", z.ZodTypeAny, {
|
1418
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1435
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1419
1436
|
direction: "incoming" | "outgoing" | "system";
|
1420
1437
|
id?: string | undefined;
|
1421
1438
|
message?: string | undefined;
|
@@ -1450,7 +1467,7 @@ export declare const smsContract: {
|
|
1450
1467
|
editedAt?: string | Date | null | undefined;
|
1451
1468
|
label?: string | undefined;
|
1452
1469
|
}, {
|
1453
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1470
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1454
1471
|
direction: "incoming" | "outgoing" | "system";
|
1455
1472
|
id?: string | undefined;
|
1456
1473
|
message?: string | undefined;
|
@@ -1487,7 +1504,7 @@ export declare const smsContract: {
|
|
1487
1504
|
}>;
|
1488
1505
|
}, "strip", z.ZodTypeAny, {
|
1489
1506
|
message: {
|
1490
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1507
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1491
1508
|
direction: "incoming" | "outgoing" | "system";
|
1492
1509
|
id?: string | undefined;
|
1493
1510
|
message?: string | undefined;
|
@@ -1536,15 +1553,16 @@ export declare const smsContract: {
|
|
1536
1553
|
additionalCredentials?: any;
|
1537
1554
|
senderId?: string | undefined;
|
1538
1555
|
whatsapp?: {
|
1539
|
-
|
1540
|
-
wabaExternalId
|
1541
|
-
phoneNumberId
|
1542
|
-
|
1543
|
-
clientId?: string | undefined;
|
1544
|
-
channelId?: string | undefined;
|
1556
|
+
wabaBusinessId?: string | null | undefined;
|
1557
|
+
wabaExternalId?: string | null | undefined;
|
1558
|
+
phoneNumberId?: string | null | undefined;
|
1559
|
+
email?: string | null | undefined;
|
1560
|
+
clientId?: string | null | undefined;
|
1561
|
+
channelId?: string | null | undefined;
|
1545
1562
|
status?: "active" | "pending" | undefined;
|
1546
1563
|
apiKey?: string | undefined;
|
1547
1564
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1565
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1548
1566
|
} | undefined;
|
1549
1567
|
vonageCredentials?: {
|
1550
1568
|
apiKey: string;
|
@@ -1613,7 +1631,7 @@ export declare const smsContract: {
|
|
1613
1631
|
isBot: boolean | null;
|
1614
1632
|
}, {
|
1615
1633
|
message: {
|
1616
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1634
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1617
1635
|
direction: "incoming" | "outgoing" | "system";
|
1618
1636
|
id?: string | undefined;
|
1619
1637
|
message?: string | undefined;
|
@@ -1662,15 +1680,16 @@ export declare const smsContract: {
|
|
1662
1680
|
additionalCredentials?: any;
|
1663
1681
|
senderId?: string | undefined;
|
1664
1682
|
whatsapp?: {
|
1665
|
-
|
1666
|
-
wabaExternalId
|
1667
|
-
phoneNumberId
|
1668
|
-
|
1669
|
-
clientId?: string | undefined;
|
1670
|
-
channelId?: string | undefined;
|
1683
|
+
wabaBusinessId?: string | null | undefined;
|
1684
|
+
wabaExternalId?: string | null | undefined;
|
1685
|
+
phoneNumberId?: string | null | undefined;
|
1686
|
+
email?: string | null | undefined;
|
1687
|
+
clientId?: string | null | undefined;
|
1688
|
+
channelId?: string | null | undefined;
|
1671
1689
|
status?: "active" | "pending" | undefined;
|
1672
1690
|
apiKey?: string | undefined;
|
1673
1691
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1692
|
+
integrationType?: "meta" | "360dialog" | undefined;
|
1674
1693
|
} | undefined;
|
1675
1694
|
vonageCredentials?: {
|
1676
1695
|
apiKey: string;
|
@@ -1771,57 +1790,4 @@ export declare const smsContract: {
|
|
1771
1790
|
path: "/message";
|
1772
1791
|
};
|
1773
1792
|
};
|
1774
|
-
export declare const smsSettingContract: {
|
1775
|
-
getSMSNumbers: {
|
1776
|
-
method: "GET";
|
1777
|
-
responses: {
|
1778
|
-
200: z.ZodObject<{
|
1779
|
-
requestId: z.ZodString;
|
1780
|
-
smsNumbers: z.ZodArray<z.ZodObject<{
|
1781
|
-
number: z.ZodString;
|
1782
|
-
senderId: z.ZodString;
|
1783
|
-
apiKey: z.ZodString;
|
1784
|
-
apiSecret: z.ZodString;
|
1785
|
-
type: z.ZodString;
|
1786
|
-
isConnected: z.ZodBoolean;
|
1787
|
-
}, "strip", z.ZodTypeAny, {
|
1788
|
-
number: string;
|
1789
|
-
type: string;
|
1790
|
-
isConnected: boolean;
|
1791
|
-
senderId: string;
|
1792
|
-
apiKey: string;
|
1793
|
-
apiSecret: string;
|
1794
|
-
}, {
|
1795
|
-
number: string;
|
1796
|
-
type: string;
|
1797
|
-
isConnected: boolean;
|
1798
|
-
senderId: string;
|
1799
|
-
apiKey: string;
|
1800
|
-
apiSecret: string;
|
1801
|
-
}>, "many">;
|
1802
|
-
}, "strip", z.ZodTypeAny, {
|
1803
|
-
requestId: string;
|
1804
|
-
smsNumbers: {
|
1805
|
-
number: string;
|
1806
|
-
type: string;
|
1807
|
-
isConnected: boolean;
|
1808
|
-
senderId: string;
|
1809
|
-
apiKey: string;
|
1810
|
-
apiSecret: string;
|
1811
|
-
}[];
|
1812
|
-
}, {
|
1813
|
-
requestId: string;
|
1814
|
-
smsNumbers: {
|
1815
|
-
number: string;
|
1816
|
-
type: string;
|
1817
|
-
isConnected: boolean;
|
1818
|
-
senderId: string;
|
1819
|
-
apiKey: string;
|
1820
|
-
apiSecret: string;
|
1821
|
-
}[];
|
1822
|
-
}>;
|
1823
|
-
};
|
1824
|
-
path: "/sms-setting/sms-numbers";
|
1825
|
-
};
|
1826
|
-
};
|
1827
1793
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sms/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sms/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBtB,CAAC"}
|
@@ -92,26 +92,4 @@ export declare const ConnectSMSChannelSchema: z.ZodObject<{
|
|
92
92
|
phone: string | null;
|
93
93
|
};
|
94
94
|
}>;
|
95
|
-
export declare const SMSNumberSchema: z.ZodObject<{
|
96
|
-
number: z.ZodString;
|
97
|
-
senderId: z.ZodString;
|
98
|
-
apiKey: z.ZodString;
|
99
|
-
apiSecret: z.ZodString;
|
100
|
-
type: z.ZodString;
|
101
|
-
isConnected: z.ZodBoolean;
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
103
|
-
number: string;
|
104
|
-
type: string;
|
105
|
-
isConnected: boolean;
|
106
|
-
senderId: string;
|
107
|
-
apiKey: string;
|
108
|
-
apiSecret: string;
|
109
|
-
}, {
|
110
|
-
number: string;
|
111
|
-
type: string;
|
112
|
-
isConnected: boolean;
|
113
|
-
senderId: string;
|
114
|
-
apiKey: string;
|
115
|
-
apiSecret: string;
|
116
|
-
}>;
|
117
95
|
//# sourceMappingURL=schema.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sms/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASlC,CAAC
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sms/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASlC,CAAC"}
|