@kl1/contracts 1.2.26-uat → 1.2.27-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +136 -109
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +686 -568
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +299 -218
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +23919 -22617
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1469 -1419
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +98 -98
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- 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 +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +71 -49
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- 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 +3 -2
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +722 -623
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- 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 +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +4242 -4219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4239 -4217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,7 @@
|
|
1
|
-
import { ConnectSMSChannelSchema } from './schema';
|
1
|
+
import { ConnectSMSChannelSchema, SMSNumberSchema } 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>;
|
4
5
|
export declare const smsContract: {
|
5
6
|
connect: {
|
6
7
|
body: z.ZodObject<{
|
@@ -97,9 +98,11 @@ export declare const smsContract: {
|
|
97
98
|
};
|
98
99
|
}>;
|
99
100
|
method: "POST";
|
101
|
+
path: "/connect";
|
100
102
|
responses: {
|
101
|
-
200: z.ZodObject<{
|
103
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
102
104
|
requestId: z.ZodString;
|
105
|
+
}, {
|
103
106
|
channel: z.ZodObject<{
|
104
107
|
id: z.ZodString;
|
105
108
|
createdAt: z.ZodDate;
|
@@ -127,19 +130,19 @@ export declare const smsContract: {
|
|
127
130
|
email: string;
|
128
131
|
wabaExternalId: string;
|
129
132
|
phoneNumberId: string;
|
133
|
+
status?: "active" | "pending" | undefined;
|
134
|
+
channelId?: string | undefined;
|
130
135
|
wabaBusinessId?: string | undefined;
|
131
136
|
clientId?: string | undefined;
|
132
|
-
channelId?: string | undefined;
|
133
|
-
status?: "active" | "pending" | undefined;
|
134
137
|
apiKey?: string | undefined;
|
135
138
|
}, {
|
136
139
|
email: string;
|
137
140
|
wabaExternalId: string;
|
138
141
|
phoneNumberId: string;
|
142
|
+
status?: "active" | "pending" | undefined;
|
143
|
+
channelId?: string | undefined;
|
139
144
|
wabaBusinessId?: string | undefined;
|
140
145
|
clientId?: string | undefined;
|
141
|
-
channelId?: string | undefined;
|
142
|
-
status?: "active" | "pending" | undefined;
|
143
146
|
apiKey?: string | undefined;
|
144
147
|
}>>;
|
145
148
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
@@ -161,19 +164,19 @@ export declare const smsContract: {
|
|
161
164
|
name: string;
|
162
165
|
id: string;
|
163
166
|
accessToken?: string | undefined;
|
164
|
-
channelSecret?: string | undefined;
|
165
|
-
additionalCredentials?: any;
|
166
|
-
senderId?: string | undefined;
|
167
167
|
whatsapp?: {
|
168
168
|
email: string;
|
169
169
|
wabaExternalId: string;
|
170
170
|
phoneNumberId: string;
|
171
|
+
status?: "active" | "pending" | undefined;
|
172
|
+
channelId?: string | undefined;
|
171
173
|
wabaBusinessId?: string | undefined;
|
172
174
|
clientId?: string | undefined;
|
173
|
-
channelId?: string | undefined;
|
174
|
-
status?: "active" | "pending" | undefined;
|
175
175
|
apiKey?: string | undefined;
|
176
176
|
} | undefined;
|
177
|
+
additionalCredentials?: any;
|
178
|
+
channelSecret?: string | undefined;
|
179
|
+
senderId?: string | undefined;
|
177
180
|
vonageCredentials?: {
|
178
181
|
apiKey: string;
|
179
182
|
mobileNumber: string;
|
@@ -185,19 +188,19 @@ export declare const smsContract: {
|
|
185
188
|
name: string;
|
186
189
|
id: string;
|
187
190
|
accessToken?: string | undefined;
|
188
|
-
channelSecret?: string | undefined;
|
189
|
-
additionalCredentials?: any;
|
190
|
-
senderId?: string | undefined;
|
191
191
|
whatsapp?: {
|
192
192
|
email: string;
|
193
193
|
wabaExternalId: string;
|
194
194
|
phoneNumberId: string;
|
195
|
+
status?: "active" | "pending" | undefined;
|
196
|
+
channelId?: string | undefined;
|
195
197
|
wabaBusinessId?: string | undefined;
|
196
198
|
clientId?: string | undefined;
|
197
|
-
channelId?: string | undefined;
|
198
|
-
status?: "active" | "pending" | undefined;
|
199
199
|
apiKey?: string | undefined;
|
200
200
|
} | undefined;
|
201
|
+
additionalCredentials?: any;
|
202
|
+
channelSecret?: string | undefined;
|
203
|
+
senderId?: string | undefined;
|
201
204
|
vonageCredentials?: {
|
202
205
|
apiKey: string;
|
203
206
|
mobileNumber: string;
|
@@ -443,19 +446,19 @@ export declare const smsContract: {
|
|
443
446
|
name: string;
|
444
447
|
id: string;
|
445
448
|
accessToken?: string | undefined;
|
446
|
-
channelSecret?: string | undefined;
|
447
|
-
additionalCredentials?: any;
|
448
|
-
senderId?: string | undefined;
|
449
449
|
whatsapp?: {
|
450
450
|
email: string;
|
451
451
|
wabaExternalId: string;
|
452
452
|
phoneNumberId: string;
|
453
|
+
status?: "active" | "pending" | undefined;
|
454
|
+
channelId?: string | undefined;
|
453
455
|
wabaBusinessId?: string | undefined;
|
454
456
|
clientId?: string | undefined;
|
455
|
-
channelId?: string | undefined;
|
456
|
-
status?: "active" | "pending" | undefined;
|
457
457
|
apiKey?: string | undefined;
|
458
458
|
} | undefined;
|
459
|
+
additionalCredentials?: any;
|
460
|
+
channelSecret?: string | undefined;
|
461
|
+
senderId?: string | undefined;
|
459
462
|
vonageCredentials?: {
|
460
463
|
apiKey: string;
|
461
464
|
mobileNumber: string;
|
@@ -532,19 +535,19 @@ export declare const smsContract: {
|
|
532
535
|
name: string;
|
533
536
|
id: string;
|
534
537
|
accessToken?: string | undefined;
|
535
|
-
channelSecret?: string | undefined;
|
536
|
-
additionalCredentials?: any;
|
537
|
-
senderId?: string | undefined;
|
538
538
|
whatsapp?: {
|
539
539
|
email: string;
|
540
540
|
wabaExternalId: string;
|
541
541
|
phoneNumberId: string;
|
542
|
+
status?: "active" | "pending" | undefined;
|
543
|
+
channelId?: string | undefined;
|
542
544
|
wabaBusinessId?: string | undefined;
|
543
545
|
clientId?: string | undefined;
|
544
|
-
channelId?: string | undefined;
|
545
|
-
status?: "active" | "pending" | undefined;
|
546
546
|
apiKey?: string | undefined;
|
547
547
|
} | undefined;
|
548
|
+
additionalCredentials?: any;
|
549
|
+
channelSecret?: string | undefined;
|
550
|
+
senderId?: string | undefined;
|
548
551
|
vonageCredentials?: {
|
549
552
|
apiKey: string;
|
550
553
|
mobileNumber: string;
|
@@ -614,7 +617,7 @@ export declare const smsContract: {
|
|
614
617
|
integrationId: string;
|
615
618
|
} | null;
|
616
619
|
}>;
|
617
|
-
}
|
620
|
+
}>, "strip", z.ZodTypeAny, {
|
618
621
|
channel: {
|
619
622
|
name: string;
|
620
623
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -623,19 +626,19 @@ export declare const smsContract: {
|
|
623
626
|
name: string;
|
624
627
|
id: string;
|
625
628
|
accessToken?: string | undefined;
|
626
|
-
channelSecret?: string | undefined;
|
627
|
-
additionalCredentials?: any;
|
628
|
-
senderId?: string | undefined;
|
629
629
|
whatsapp?: {
|
630
630
|
email: string;
|
631
631
|
wabaExternalId: string;
|
632
632
|
phoneNumberId: string;
|
633
|
+
status?: "active" | "pending" | undefined;
|
634
|
+
channelId?: string | undefined;
|
633
635
|
wabaBusinessId?: string | undefined;
|
634
636
|
clientId?: string | undefined;
|
635
|
-
channelId?: string | undefined;
|
636
|
-
status?: "active" | "pending" | undefined;
|
637
637
|
apiKey?: string | undefined;
|
638
638
|
} | undefined;
|
639
|
+
additionalCredentials?: any;
|
640
|
+
channelSecret?: string | undefined;
|
641
|
+
senderId?: string | undefined;
|
639
642
|
vonageCredentials?: {
|
640
643
|
apiKey: string;
|
641
644
|
mobileNumber: string;
|
@@ -715,19 +718,19 @@ export declare const smsContract: {
|
|
715
718
|
name: string;
|
716
719
|
id: string;
|
717
720
|
accessToken?: string | undefined;
|
718
|
-
channelSecret?: string | undefined;
|
719
|
-
additionalCredentials?: any;
|
720
|
-
senderId?: string | undefined;
|
721
721
|
whatsapp?: {
|
722
722
|
email: string;
|
723
723
|
wabaExternalId: string;
|
724
724
|
phoneNumberId: string;
|
725
|
+
status?: "active" | "pending" | undefined;
|
726
|
+
channelId?: string | undefined;
|
725
727
|
wabaBusinessId?: string | undefined;
|
726
728
|
clientId?: string | undefined;
|
727
|
-
channelId?: string | undefined;
|
728
|
-
status?: "active" | "pending" | undefined;
|
729
729
|
apiKey?: string | undefined;
|
730
730
|
} | undefined;
|
731
|
+
additionalCredentials?: any;
|
732
|
+
channelSecret?: string | undefined;
|
733
|
+
senderId?: string | undefined;
|
731
734
|
vonageCredentials?: {
|
732
735
|
apiKey: string;
|
733
736
|
mobileNumber: string;
|
@@ -820,7 +823,6 @@ export declare const smsContract: {
|
|
820
823
|
error?: any;
|
821
824
|
}>;
|
822
825
|
};
|
823
|
-
path: "/connect";
|
824
826
|
};
|
825
827
|
sendMessage: {
|
826
828
|
body: z.ZodObject<{
|
@@ -972,19 +974,19 @@ export declare const smsContract: {
|
|
972
974
|
email: string;
|
973
975
|
wabaExternalId: string;
|
974
976
|
phoneNumberId: string;
|
977
|
+
status?: "active" | "pending" | undefined;
|
978
|
+
channelId?: string | undefined;
|
975
979
|
wabaBusinessId?: string | undefined;
|
976
980
|
clientId?: string | undefined;
|
977
|
-
channelId?: string | undefined;
|
978
|
-
status?: "active" | "pending" | undefined;
|
979
981
|
apiKey?: string | undefined;
|
980
982
|
}, {
|
981
983
|
email: string;
|
982
984
|
wabaExternalId: string;
|
983
985
|
phoneNumberId: string;
|
986
|
+
status?: "active" | "pending" | undefined;
|
987
|
+
channelId?: string | undefined;
|
984
988
|
wabaBusinessId?: string | undefined;
|
985
989
|
clientId?: string | undefined;
|
986
|
-
channelId?: string | undefined;
|
987
|
-
status?: "active" | "pending" | undefined;
|
988
990
|
apiKey?: string | undefined;
|
989
991
|
}>>;
|
990
992
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
@@ -1006,19 +1008,19 @@ export declare const smsContract: {
|
|
1006
1008
|
name: string;
|
1007
1009
|
id: string;
|
1008
1010
|
accessToken?: string | undefined;
|
1009
|
-
channelSecret?: string | undefined;
|
1010
|
-
additionalCredentials?: any;
|
1011
|
-
senderId?: string | undefined;
|
1012
1011
|
whatsapp?: {
|
1013
1012
|
email: string;
|
1014
1013
|
wabaExternalId: string;
|
1015
1014
|
phoneNumberId: string;
|
1015
|
+
status?: "active" | "pending" | undefined;
|
1016
|
+
channelId?: string | undefined;
|
1016
1017
|
wabaBusinessId?: string | undefined;
|
1017
1018
|
clientId?: string | undefined;
|
1018
|
-
channelId?: string | undefined;
|
1019
|
-
status?: "active" | "pending" | undefined;
|
1020
1019
|
apiKey?: string | undefined;
|
1021
1020
|
} | undefined;
|
1021
|
+
additionalCredentials?: any;
|
1022
|
+
channelSecret?: string | undefined;
|
1023
|
+
senderId?: string | undefined;
|
1022
1024
|
vonageCredentials?: {
|
1023
1025
|
apiKey: string;
|
1024
1026
|
mobileNumber: string;
|
@@ -1030,19 +1032,19 @@ export declare const smsContract: {
|
|
1030
1032
|
name: string;
|
1031
1033
|
id: string;
|
1032
1034
|
accessToken?: string | undefined;
|
1033
|
-
channelSecret?: string | undefined;
|
1034
|
-
additionalCredentials?: any;
|
1035
|
-
senderId?: string | undefined;
|
1036
1035
|
whatsapp?: {
|
1037
1036
|
email: string;
|
1038
1037
|
wabaExternalId: string;
|
1039
1038
|
phoneNumberId: string;
|
1039
|
+
status?: "active" | "pending" | undefined;
|
1040
|
+
channelId?: string | undefined;
|
1040
1041
|
wabaBusinessId?: string | undefined;
|
1041
1042
|
clientId?: string | undefined;
|
1042
|
-
channelId?: string | undefined;
|
1043
|
-
status?: "active" | "pending" | undefined;
|
1044
1043
|
apiKey?: string | undefined;
|
1045
1044
|
} | undefined;
|
1045
|
+
additionalCredentials?: any;
|
1046
|
+
channelSecret?: string | undefined;
|
1047
|
+
senderId?: string | undefined;
|
1046
1048
|
vonageCredentials?: {
|
1047
1049
|
apiKey: string;
|
1048
1050
|
mobileNumber: string;
|
@@ -1084,19 +1086,19 @@ export declare const smsContract: {
|
|
1084
1086
|
name: string;
|
1085
1087
|
id: string;
|
1086
1088
|
accessToken?: string | undefined;
|
1087
|
-
channelSecret?: string | undefined;
|
1088
|
-
additionalCredentials?: any;
|
1089
|
-
senderId?: string | undefined;
|
1090
1089
|
whatsapp?: {
|
1091
1090
|
email: string;
|
1092
1091
|
wabaExternalId: string;
|
1093
1092
|
phoneNumberId: string;
|
1093
|
+
status?: "active" | "pending" | undefined;
|
1094
|
+
channelId?: string | undefined;
|
1094
1095
|
wabaBusinessId?: string | undefined;
|
1095
1096
|
clientId?: string | undefined;
|
1096
|
-
channelId?: string | undefined;
|
1097
|
-
status?: "active" | "pending" | undefined;
|
1098
1097
|
apiKey?: string | undefined;
|
1099
1098
|
} | undefined;
|
1099
|
+
additionalCredentials?: any;
|
1100
|
+
channelSecret?: string | undefined;
|
1101
|
+
senderId?: string | undefined;
|
1100
1102
|
vonageCredentials?: {
|
1101
1103
|
apiKey: string;
|
1102
1104
|
mobileNumber: string;
|
@@ -1108,9 +1110,6 @@ export declare const smsContract: {
|
|
1108
1110
|
status: boolean;
|
1109
1111
|
brandName: string;
|
1110
1112
|
platformId: string;
|
1111
|
-
connectedUserName?: string | null | undefined;
|
1112
|
-
connectedUserId?: string | null | undefined;
|
1113
|
-
lineRichMenuId?: string | null | undefined;
|
1114
1113
|
actor?: {
|
1115
1114
|
name: string;
|
1116
1115
|
id: string;
|
@@ -1118,6 +1117,9 @@ export declare const smsContract: {
|
|
1118
1117
|
email: string;
|
1119
1118
|
phone: string | null;
|
1120
1119
|
} | undefined;
|
1120
|
+
lineRichMenuId?: string | null | undefined;
|
1121
|
+
connectedUserName?: string | null | undefined;
|
1122
|
+
connectedUserId?: string | null | undefined;
|
1121
1123
|
}, {
|
1122
1124
|
name: string;
|
1123
1125
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -1126,19 +1128,19 @@ export declare const smsContract: {
|
|
1126
1128
|
name: string;
|
1127
1129
|
id: string;
|
1128
1130
|
accessToken?: string | undefined;
|
1129
|
-
channelSecret?: string | undefined;
|
1130
|
-
additionalCredentials?: any;
|
1131
|
-
senderId?: string | undefined;
|
1132
1131
|
whatsapp?: {
|
1133
1132
|
email: string;
|
1134
1133
|
wabaExternalId: string;
|
1135
1134
|
phoneNumberId: string;
|
1135
|
+
status?: "active" | "pending" | undefined;
|
1136
|
+
channelId?: string | undefined;
|
1136
1137
|
wabaBusinessId?: string | undefined;
|
1137
1138
|
clientId?: string | undefined;
|
1138
|
-
channelId?: string | undefined;
|
1139
|
-
status?: "active" | "pending" | undefined;
|
1140
1139
|
apiKey?: string | undefined;
|
1141
1140
|
} | undefined;
|
1141
|
+
additionalCredentials?: any;
|
1142
|
+
channelSecret?: string | undefined;
|
1143
|
+
senderId?: string | undefined;
|
1142
1144
|
vonageCredentials?: {
|
1143
1145
|
apiKey: string;
|
1144
1146
|
mobileNumber: string;
|
@@ -1150,9 +1152,6 @@ export declare const smsContract: {
|
|
1150
1152
|
status: boolean;
|
1151
1153
|
brandName: string;
|
1152
1154
|
platformId: string;
|
1153
|
-
connectedUserName?: string | null | undefined;
|
1154
|
-
connectedUserId?: string | null | undefined;
|
1155
|
-
lineRichMenuId?: string | null | undefined;
|
1156
1155
|
actor?: {
|
1157
1156
|
name: string;
|
1158
1157
|
id: string;
|
@@ -1160,9 +1159,12 @@ export declare const smsContract: {
|
|
1160
1159
|
email: string;
|
1161
1160
|
phone: string | null;
|
1162
1161
|
} | undefined;
|
1162
|
+
lineRichMenuId?: string | null | undefined;
|
1163
|
+
connectedUserName?: string | null | undefined;
|
1164
|
+
connectedUserId?: string | null | undefined;
|
1163
1165
|
}>;
|
1164
1166
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
1165
|
-
telegramBusinessConnectionId: z.ZodNullable<z.ZodString
|
1167
|
+
telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1166
1168
|
}, "strip", z.ZodTypeAny, {
|
1167
1169
|
id: string;
|
1168
1170
|
channel: {
|
@@ -1173,19 +1175,19 @@ export declare const smsContract: {
|
|
1173
1175
|
name: string;
|
1174
1176
|
id: string;
|
1175
1177
|
accessToken?: string | undefined;
|
1176
|
-
channelSecret?: string | undefined;
|
1177
|
-
additionalCredentials?: any;
|
1178
|
-
senderId?: string | undefined;
|
1179
1178
|
whatsapp?: {
|
1180
1179
|
email: string;
|
1181
1180
|
wabaExternalId: string;
|
1182
1181
|
phoneNumberId: string;
|
1182
|
+
status?: "active" | "pending" | undefined;
|
1183
|
+
channelId?: string | undefined;
|
1183
1184
|
wabaBusinessId?: string | undefined;
|
1184
1185
|
clientId?: string | undefined;
|
1185
|
-
channelId?: string | undefined;
|
1186
|
-
status?: "active" | "pending" | undefined;
|
1187
1186
|
apiKey?: string | undefined;
|
1188
1187
|
} | undefined;
|
1188
|
+
additionalCredentials?: any;
|
1189
|
+
channelSecret?: string | undefined;
|
1190
|
+
senderId?: string | undefined;
|
1189
1191
|
vonageCredentials?: {
|
1190
1192
|
apiKey: string;
|
1191
1193
|
mobileNumber: string;
|
@@ -1197,9 +1199,6 @@ export declare const smsContract: {
|
|
1197
1199
|
status: boolean;
|
1198
1200
|
brandName: string;
|
1199
1201
|
platformId: string;
|
1200
|
-
connectedUserName?: string | null | undefined;
|
1201
|
-
connectedUserId?: string | null | undefined;
|
1202
|
-
lineRichMenuId?: string | null | undefined;
|
1203
1202
|
actor?: {
|
1204
1203
|
name: string;
|
1205
1204
|
id: string;
|
@@ -1207,6 +1206,9 @@ export declare const smsContract: {
|
|
1207
1206
|
email: string;
|
1208
1207
|
phone: string | null;
|
1209
1208
|
} | undefined;
|
1209
|
+
lineRichMenuId?: string | null | undefined;
|
1210
|
+
connectedUserName?: string | null | undefined;
|
1211
|
+
connectedUserId?: string | null | undefined;
|
1210
1212
|
};
|
1211
1213
|
direction: "incoming" | "outgoing" | "system";
|
1212
1214
|
createdAt: string;
|
@@ -1244,11 +1246,11 @@ export declare const smsContract: {
|
|
1244
1246
|
id: string;
|
1245
1247
|
email: string;
|
1246
1248
|
} | null;
|
1247
|
-
|
1249
|
+
metadata?: any;
|
1248
1250
|
lastMessage?: string | undefined;
|
1249
1251
|
handleTime?: number | undefined;
|
1250
|
-
metadata?: any;
|
1251
1252
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1253
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
1252
1254
|
}, {
|
1253
1255
|
id: string;
|
1254
1256
|
channel: {
|
@@ -1259,19 +1261,19 @@ export declare const smsContract: {
|
|
1259
1261
|
name: string;
|
1260
1262
|
id: string;
|
1261
1263
|
accessToken?: string | undefined;
|
1262
|
-
channelSecret?: string | undefined;
|
1263
|
-
additionalCredentials?: any;
|
1264
|
-
senderId?: string | undefined;
|
1265
1264
|
whatsapp?: {
|
1266
1265
|
email: string;
|
1267
1266
|
wabaExternalId: string;
|
1268
1267
|
phoneNumberId: string;
|
1268
|
+
status?: "active" | "pending" | undefined;
|
1269
|
+
channelId?: string | undefined;
|
1269
1270
|
wabaBusinessId?: string | undefined;
|
1270
1271
|
clientId?: string | undefined;
|
1271
|
-
channelId?: string | undefined;
|
1272
|
-
status?: "active" | "pending" | undefined;
|
1273
1272
|
apiKey?: string | undefined;
|
1274
1273
|
} | undefined;
|
1274
|
+
additionalCredentials?: any;
|
1275
|
+
channelSecret?: string | undefined;
|
1276
|
+
senderId?: string | undefined;
|
1275
1277
|
vonageCredentials?: {
|
1276
1278
|
apiKey: string;
|
1277
1279
|
mobileNumber: string;
|
@@ -1283,9 +1285,6 @@ export declare const smsContract: {
|
|
1283
1285
|
status: boolean;
|
1284
1286
|
brandName: string;
|
1285
1287
|
platformId: string;
|
1286
|
-
connectedUserName?: string | null | undefined;
|
1287
|
-
connectedUserId?: string | null | undefined;
|
1288
|
-
lineRichMenuId?: string | null | undefined;
|
1289
1288
|
actor?: {
|
1290
1289
|
name: string;
|
1291
1290
|
id: string;
|
@@ -1293,6 +1292,9 @@ export declare const smsContract: {
|
|
1293
1292
|
email: string;
|
1294
1293
|
phone: string | null;
|
1295
1294
|
} | undefined;
|
1295
|
+
lineRichMenuId?: string | null | undefined;
|
1296
|
+
connectedUserName?: string | null | undefined;
|
1297
|
+
connectedUserId?: string | null | undefined;
|
1296
1298
|
};
|
1297
1299
|
direction: "incoming" | "outgoing" | "system";
|
1298
1300
|
createdAt: string;
|
@@ -1330,11 +1332,11 @@ export declare const smsContract: {
|
|
1330
1332
|
id: string;
|
1331
1333
|
email: string;
|
1332
1334
|
} | null;
|
1333
|
-
|
1335
|
+
metadata?: any;
|
1334
1336
|
lastMessage?: string | undefined;
|
1335
1337
|
handleTime?: number | undefined;
|
1336
|
-
metadata?: any;
|
1337
1338
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1339
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
1338
1340
|
}>;
|
1339
1341
|
message: z.ZodObject<{
|
1340
1342
|
id: z.ZodOptional<z.ZodString>;
|
@@ -1398,18 +1400,12 @@ export declare const smsContract: {
|
|
1398
1400
|
}, "strip", z.ZodTypeAny, {
|
1399
1401
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1400
1402
|
direction: "incoming" | "outgoing" | "system";
|
1401
|
-
id?: string | undefined;
|
1402
1403
|
message?: string | undefined;
|
1403
|
-
|
1404
|
-
metadata?: any;
|
1405
|
-
platformId?: string | undefined;
|
1406
|
-
platformMessageId?: string | undefined;
|
1407
|
-
replyPlatformMessageId?: string | null | undefined;
|
1408
|
-
template?: any;
|
1409
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1404
|
+
id?: string | undefined;
|
1410
1405
|
url?: string | undefined;
|
1411
|
-
|
1412
|
-
|
1406
|
+
label?: string | undefined;
|
1407
|
+
template?: any;
|
1408
|
+
metadata?: any;
|
1413
1409
|
upload?: {
|
1414
1410
|
fileName: string;
|
1415
1411
|
fileKey: string;
|
@@ -1417,6 +1413,13 @@ export declare const smsContract: {
|
|
1417
1413
|
fileSize: number;
|
1418
1414
|
originalUrl?: string | undefined;
|
1419
1415
|
} | undefined;
|
1416
|
+
platformId?: string | undefined;
|
1417
|
+
platformMessageId?: string | undefined;
|
1418
|
+
readAt?: string | Date | null | undefined;
|
1419
|
+
replyPlatformMessageId?: string | null | undefined;
|
1420
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1421
|
+
previewUrl?: string | null | undefined;
|
1422
|
+
imageSetId?: string | null | undefined;
|
1420
1423
|
sender?: {
|
1421
1424
|
name: string;
|
1422
1425
|
id: string;
|
@@ -1429,22 +1432,15 @@ export declare const smsContract: {
|
|
1429
1432
|
editedMessageId?: string | null | undefined;
|
1430
1433
|
isEdited?: boolean | null | undefined;
|
1431
1434
|
editedAt?: string | Date | null | undefined;
|
1432
|
-
label?: string | undefined;
|
1433
1435
|
}, {
|
1434
1436
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1435
1437
|
direction: "incoming" | "outgoing" | "system";
|
1436
|
-
id?: string | undefined;
|
1437
1438
|
message?: string | undefined;
|
1438
|
-
|
1439
|
-
metadata?: any;
|
1440
|
-
platformId?: string | undefined;
|
1441
|
-
platformMessageId?: string | undefined;
|
1442
|
-
replyPlatformMessageId?: string | null | undefined;
|
1443
|
-
template?: any;
|
1444
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1439
|
+
id?: string | undefined;
|
1445
1440
|
url?: string | undefined;
|
1446
|
-
|
1447
|
-
|
1441
|
+
label?: string | undefined;
|
1442
|
+
template?: any;
|
1443
|
+
metadata?: any;
|
1448
1444
|
upload?: {
|
1449
1445
|
fileName: string;
|
1450
1446
|
fileKey: string;
|
@@ -1452,6 +1448,13 @@ export declare const smsContract: {
|
|
1452
1448
|
fileSize: number;
|
1453
1449
|
originalUrl?: string | undefined;
|
1454
1450
|
} | undefined;
|
1451
|
+
platformId?: string | undefined;
|
1452
|
+
platformMessageId?: string | undefined;
|
1453
|
+
readAt?: string | Date | null | undefined;
|
1454
|
+
replyPlatformMessageId?: string | null | undefined;
|
1455
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1456
|
+
previewUrl?: string | null | undefined;
|
1457
|
+
imageSetId?: string | null | undefined;
|
1455
1458
|
sender?: {
|
1456
1459
|
name: string;
|
1457
1460
|
id: string;
|
@@ -1464,24 +1467,17 @@ export declare const smsContract: {
|
|
1464
1467
|
editedMessageId?: string | null | undefined;
|
1465
1468
|
isEdited?: boolean | null | undefined;
|
1466
1469
|
editedAt?: string | Date | null | undefined;
|
1467
|
-
label?: string | undefined;
|
1468
1470
|
}>;
|
1469
1471
|
}, "strip", z.ZodTypeAny, {
|
1470
1472
|
message: {
|
1471
1473
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1472
1474
|
direction: "incoming" | "outgoing" | "system";
|
1473
|
-
id?: string | undefined;
|
1474
1475
|
message?: string | undefined;
|
1475
|
-
|
1476
|
-
metadata?: any;
|
1477
|
-
platformId?: string | undefined;
|
1478
|
-
platformMessageId?: string | undefined;
|
1479
|
-
replyPlatformMessageId?: string | null | undefined;
|
1480
|
-
template?: any;
|
1481
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1476
|
+
id?: string | undefined;
|
1482
1477
|
url?: string | undefined;
|
1483
|
-
|
1484
|
-
|
1478
|
+
label?: string | undefined;
|
1479
|
+
template?: any;
|
1480
|
+
metadata?: any;
|
1485
1481
|
upload?: {
|
1486
1482
|
fileName: string;
|
1487
1483
|
fileKey: string;
|
@@ -1489,6 +1485,13 @@ export declare const smsContract: {
|
|
1489
1485
|
fileSize: number;
|
1490
1486
|
originalUrl?: string | undefined;
|
1491
1487
|
} | undefined;
|
1488
|
+
platformId?: string | undefined;
|
1489
|
+
platformMessageId?: string | undefined;
|
1490
|
+
readAt?: string | Date | null | undefined;
|
1491
|
+
replyPlatformMessageId?: string | null | undefined;
|
1492
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1493
|
+
previewUrl?: string | null | undefined;
|
1494
|
+
imageSetId?: string | null | undefined;
|
1492
1495
|
sender?: {
|
1493
1496
|
name: string;
|
1494
1497
|
id: string;
|
@@ -1501,7 +1504,6 @@ export declare const smsContract: {
|
|
1501
1504
|
editedMessageId?: string | null | undefined;
|
1502
1505
|
isEdited?: boolean | null | undefined;
|
1503
1506
|
editedAt?: string | Date | null | undefined;
|
1504
|
-
label?: string | undefined;
|
1505
1507
|
};
|
1506
1508
|
room: {
|
1507
1509
|
id: string;
|
@@ -1513,19 +1515,19 @@ export declare const smsContract: {
|
|
1513
1515
|
name: string;
|
1514
1516
|
id: string;
|
1515
1517
|
accessToken?: string | undefined;
|
1516
|
-
channelSecret?: string | undefined;
|
1517
|
-
additionalCredentials?: any;
|
1518
|
-
senderId?: string | undefined;
|
1519
1518
|
whatsapp?: {
|
1520
1519
|
email: string;
|
1521
1520
|
wabaExternalId: string;
|
1522
1521
|
phoneNumberId: string;
|
1522
|
+
status?: "active" | "pending" | undefined;
|
1523
|
+
channelId?: string | undefined;
|
1523
1524
|
wabaBusinessId?: string | undefined;
|
1524
1525
|
clientId?: string | undefined;
|
1525
|
-
channelId?: string | undefined;
|
1526
|
-
status?: "active" | "pending" | undefined;
|
1527
1526
|
apiKey?: string | undefined;
|
1528
1527
|
} | undefined;
|
1528
|
+
additionalCredentials?: any;
|
1529
|
+
channelSecret?: string | undefined;
|
1530
|
+
senderId?: string | undefined;
|
1529
1531
|
vonageCredentials?: {
|
1530
1532
|
apiKey: string;
|
1531
1533
|
mobileNumber: string;
|
@@ -1537,9 +1539,6 @@ export declare const smsContract: {
|
|
1537
1539
|
status: boolean;
|
1538
1540
|
brandName: string;
|
1539
1541
|
platformId: string;
|
1540
|
-
connectedUserName?: string | null | undefined;
|
1541
|
-
connectedUserId?: string | null | undefined;
|
1542
|
-
lineRichMenuId?: string | null | undefined;
|
1543
1542
|
actor?: {
|
1544
1543
|
name: string;
|
1545
1544
|
id: string;
|
@@ -1547,6 +1546,9 @@ export declare const smsContract: {
|
|
1547
1546
|
email: string;
|
1548
1547
|
phone: string | null;
|
1549
1548
|
} | undefined;
|
1549
|
+
lineRichMenuId?: string | null | undefined;
|
1550
|
+
connectedUserName?: string | null | undefined;
|
1551
|
+
connectedUserId?: string | null | undefined;
|
1550
1552
|
};
|
1551
1553
|
direction: "incoming" | "outgoing" | "system";
|
1552
1554
|
createdAt: string;
|
@@ -1584,29 +1586,23 @@ export declare const smsContract: {
|
|
1584
1586
|
id: string;
|
1585
1587
|
email: string;
|
1586
1588
|
} | null;
|
1587
|
-
|
1589
|
+
metadata?: any;
|
1588
1590
|
lastMessage?: string | undefined;
|
1589
1591
|
handleTime?: number | undefined;
|
1590
|
-
metadata?: any;
|
1591
1592
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1593
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
1592
1594
|
};
|
1593
1595
|
isBot: boolean | null;
|
1594
1596
|
}, {
|
1595
1597
|
message: {
|
1596
1598
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1597
1599
|
direction: "incoming" | "outgoing" | "system";
|
1598
|
-
id?: string | undefined;
|
1599
1600
|
message?: string | undefined;
|
1600
|
-
|
1601
|
-
metadata?: any;
|
1602
|
-
platformId?: string | undefined;
|
1603
|
-
platformMessageId?: string | undefined;
|
1604
|
-
replyPlatformMessageId?: string | null | undefined;
|
1605
|
-
template?: any;
|
1606
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1601
|
+
id?: string | undefined;
|
1607
1602
|
url?: string | undefined;
|
1608
|
-
|
1609
|
-
|
1603
|
+
label?: string | undefined;
|
1604
|
+
template?: any;
|
1605
|
+
metadata?: any;
|
1610
1606
|
upload?: {
|
1611
1607
|
fileName: string;
|
1612
1608
|
fileKey: string;
|
@@ -1614,6 +1610,13 @@ export declare const smsContract: {
|
|
1614
1610
|
fileSize: number;
|
1615
1611
|
originalUrl?: string | undefined;
|
1616
1612
|
} | undefined;
|
1613
|
+
platformId?: string | undefined;
|
1614
|
+
platformMessageId?: string | undefined;
|
1615
|
+
readAt?: string | Date | null | undefined;
|
1616
|
+
replyPlatformMessageId?: string | null | undefined;
|
1617
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1618
|
+
previewUrl?: string | null | undefined;
|
1619
|
+
imageSetId?: string | null | undefined;
|
1617
1620
|
sender?: {
|
1618
1621
|
name: string;
|
1619
1622
|
id: string;
|
@@ -1626,7 +1629,6 @@ export declare const smsContract: {
|
|
1626
1629
|
editedMessageId?: string | null | undefined;
|
1627
1630
|
isEdited?: boolean | null | undefined;
|
1628
1631
|
editedAt?: string | Date | null | undefined;
|
1629
|
-
label?: string | undefined;
|
1630
1632
|
};
|
1631
1633
|
room: {
|
1632
1634
|
id: string;
|
@@ -1638,19 +1640,19 @@ export declare const smsContract: {
|
|
1638
1640
|
name: string;
|
1639
1641
|
id: string;
|
1640
1642
|
accessToken?: string | undefined;
|
1641
|
-
channelSecret?: string | undefined;
|
1642
|
-
additionalCredentials?: any;
|
1643
|
-
senderId?: string | undefined;
|
1644
1643
|
whatsapp?: {
|
1645
1644
|
email: string;
|
1646
1645
|
wabaExternalId: string;
|
1647
1646
|
phoneNumberId: string;
|
1647
|
+
status?: "active" | "pending" | undefined;
|
1648
|
+
channelId?: string | undefined;
|
1648
1649
|
wabaBusinessId?: string | undefined;
|
1649
1650
|
clientId?: string | undefined;
|
1650
|
-
channelId?: string | undefined;
|
1651
|
-
status?: "active" | "pending" | undefined;
|
1652
1651
|
apiKey?: string | undefined;
|
1653
1652
|
} | undefined;
|
1653
|
+
additionalCredentials?: any;
|
1654
|
+
channelSecret?: string | undefined;
|
1655
|
+
senderId?: string | undefined;
|
1654
1656
|
vonageCredentials?: {
|
1655
1657
|
apiKey: string;
|
1656
1658
|
mobileNumber: string;
|
@@ -1662,9 +1664,6 @@ export declare const smsContract: {
|
|
1662
1664
|
status: boolean;
|
1663
1665
|
brandName: string;
|
1664
1666
|
platformId: string;
|
1665
|
-
connectedUserName?: string | null | undefined;
|
1666
|
-
connectedUserId?: string | null | undefined;
|
1667
|
-
lineRichMenuId?: string | null | undefined;
|
1668
1667
|
actor?: {
|
1669
1668
|
name: string;
|
1670
1669
|
id: string;
|
@@ -1672,6 +1671,9 @@ export declare const smsContract: {
|
|
1672
1671
|
email: string;
|
1673
1672
|
phone: string | null;
|
1674
1673
|
} | undefined;
|
1674
|
+
lineRichMenuId?: string | null | undefined;
|
1675
|
+
connectedUserName?: string | null | undefined;
|
1676
|
+
connectedUserId?: string | null | undefined;
|
1675
1677
|
};
|
1676
1678
|
direction: "incoming" | "outgoing" | "system";
|
1677
1679
|
createdAt: string;
|
@@ -1709,15 +1711,16 @@ export declare const smsContract: {
|
|
1709
1711
|
id: string;
|
1710
1712
|
email: string;
|
1711
1713
|
} | null;
|
1712
|
-
|
1714
|
+
metadata?: any;
|
1713
1715
|
lastMessage?: string | undefined;
|
1714
1716
|
handleTime?: number | undefined;
|
1715
|
-
metadata?: any;
|
1716
1717
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1718
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
1717
1719
|
};
|
1718
1720
|
isBot?: boolean | null | undefined;
|
1719
1721
|
}>;
|
1720
1722
|
method: "POST";
|
1723
|
+
path: "/message";
|
1721
1724
|
responses: {
|
1722
1725
|
200: z.ZodObject<{
|
1723
1726
|
requestId: z.ZodString;
|
@@ -1747,7 +1750,59 @@ export declare const smsContract: {
|
|
1747
1750
|
error?: any;
|
1748
1751
|
}>;
|
1749
1752
|
};
|
1750
|
-
|
1753
|
+
};
|
1754
|
+
};
|
1755
|
+
export declare const smsSettingContract: {
|
1756
|
+
getSMSNumbers: {
|
1757
|
+
method: "GET";
|
1758
|
+
path: "/sms-setting/sms-numbers";
|
1759
|
+
responses: {
|
1760
|
+
200: z.ZodObject<{
|
1761
|
+
requestId: z.ZodString;
|
1762
|
+
smsNumbers: z.ZodArray<z.ZodObject<{
|
1763
|
+
number: z.ZodString;
|
1764
|
+
senderId: z.ZodString;
|
1765
|
+
apiKey: z.ZodString;
|
1766
|
+
apiSecret: z.ZodString;
|
1767
|
+
type: z.ZodString;
|
1768
|
+
isConnected: z.ZodBoolean;
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
1770
|
+
number: string;
|
1771
|
+
type: string;
|
1772
|
+
isConnected: boolean;
|
1773
|
+
senderId: string;
|
1774
|
+
apiKey: string;
|
1775
|
+
apiSecret: string;
|
1776
|
+
}, {
|
1777
|
+
number: string;
|
1778
|
+
type: string;
|
1779
|
+
isConnected: boolean;
|
1780
|
+
senderId: string;
|
1781
|
+
apiKey: string;
|
1782
|
+
apiSecret: string;
|
1783
|
+
}>, "many">;
|
1784
|
+
}, "strip", z.ZodTypeAny, {
|
1785
|
+
requestId: string;
|
1786
|
+
smsNumbers: {
|
1787
|
+
number: string;
|
1788
|
+
type: string;
|
1789
|
+
isConnected: boolean;
|
1790
|
+
senderId: string;
|
1791
|
+
apiKey: string;
|
1792
|
+
apiSecret: string;
|
1793
|
+
}[];
|
1794
|
+
}, {
|
1795
|
+
requestId: string;
|
1796
|
+
smsNumbers: {
|
1797
|
+
number: string;
|
1798
|
+
type: string;
|
1799
|
+
isConnected: boolean;
|
1800
|
+
senderId: string;
|
1801
|
+
apiKey: string;
|
1802
|
+
apiSecret: string;
|
1803
|
+
}[];
|
1804
|
+
}>;
|
1805
|
+
};
|
1751
1806
|
};
|
1752
1807
|
};
|
1753
1808
|
//# sourceMappingURL=index.d.ts.map
|