@kl1/contracts 1.4.60 → 1.4.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +21 -20
- package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -3
- package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +132 -116
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +5 -2
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +1 -0
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +22 -20
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +148 -126
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +9 -6
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +4 -2
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +9 -5
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +16 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +5 -0
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +100 -91
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +1 -0
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +3087 -2046
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +90 -82
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +116 -106
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +12555 -11774
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3111 -2895
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3366 -3202
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +227 -155
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +52 -29
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +82 -55
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +15 -6
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +46 -30
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +437 -318
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +28 -14
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +137 -56
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +54224 -88410
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +686 -627
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +464 -402
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +2 -1
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +106 -100
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +3331 -3152
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +100 -81
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -83
- 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 +1 -0
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +47 -28
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +2111 -1968
- 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/invoice/index.d.ts +3 -1
- package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
- package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
- package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/index.d.ts +2649 -1693
- package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +2072 -1937
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +10 -9
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +157 -148
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +223 -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 +2 -1
- 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 +423 -303
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +102 -43
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +27 -0
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -0
- package/dist/api-contracts/src/mail/schemas/account.schema.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 +31 -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 +18 -6
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +2104 -1960
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +99 -83
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +20 -13
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +12 -9
- package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/validation.d.ts +4 -3
- package/dist/api-contracts/src/notification/validation.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 +87 -83
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +80 -75
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +583 -542
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +32 -10
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +37 -7
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +65 -58
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2500 -2381
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +45 -40
- 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 +5 -3
- 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 +756 -702
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
- 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 +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +564 -452
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +32 -30
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +1 -0
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +137 -126
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +4 -3
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +3 -2
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -32
- 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 +5 -3
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +2489 -2370
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1749 -1630
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1836 -1703
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -0
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +145 -132
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +1 -0
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +16 -16
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2023 -1928
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
- 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 +3 -0
- 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 +19 -18
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +2 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +86 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +86 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -98,9 +98,11 @@ export declare const smsContract: {
|
|
98
98
|
};
|
99
99
|
}>;
|
100
100
|
method: "POST";
|
101
|
+
path: "/connect";
|
101
102
|
responses: {
|
102
103
|
200: z.ZodObject<{
|
103
104
|
requestId: z.ZodString;
|
105
|
+
} & {
|
104
106
|
channel: z.ZodObject<{
|
105
107
|
id: z.ZodString;
|
106
108
|
createdAt: z.ZodDate;
|
@@ -129,28 +131,28 @@ export declare const smsContract: {
|
|
129
131
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
130
132
|
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
131
133
|
}, "strip", z.ZodTypeAny, {
|
134
|
+
email?: string | null | undefined;
|
135
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
136
|
+
channelId?: string | null | undefined;
|
132
137
|
wabaBusinessId?: string | null | undefined;
|
133
138
|
wabaExternalId?: string | null | undefined;
|
134
139
|
phoneNumberId?: string | null | undefined;
|
135
|
-
email?: string | null | undefined;
|
136
140
|
clientId?: string | null | undefined;
|
137
|
-
channelId?: string | null | undefined;
|
138
141
|
waapiInstanceId?: string | null | undefined;
|
139
142
|
qr?: string | null | undefined;
|
140
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
141
143
|
apiKey?: string | undefined;
|
142
144
|
tier?: "basic" | "regular" | "premium" | undefined;
|
143
145
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
144
146
|
}, {
|
147
|
+
email?: string | null | undefined;
|
148
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
149
|
+
channelId?: string | null | undefined;
|
145
150
|
wabaBusinessId?: string | null | undefined;
|
146
151
|
wabaExternalId?: string | null | undefined;
|
147
152
|
phoneNumberId?: string | null | undefined;
|
148
|
-
email?: string | null | undefined;
|
149
153
|
clientId?: string | null | undefined;
|
150
|
-
channelId?: string | null | undefined;
|
151
154
|
waapiInstanceId?: string | null | undefined;
|
152
155
|
qr?: string | null | undefined;
|
153
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
154
156
|
apiKey?: string | undefined;
|
155
157
|
tier?: "basic" | "regular" | "premium" | undefined;
|
156
158
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
@@ -182,74 +184,77 @@ export declare const smsContract: {
|
|
182
184
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
183
185
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
184
186
|
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
187
|
+
config: z.ZodOptional<z.ZodAny>;
|
185
188
|
}, "strip", z.ZodTypeAny, {
|
186
189
|
name: string;
|
187
190
|
id: string;
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
191
|
+
line?: {
|
192
|
+
channelId: string;
|
193
|
+
channelSecret: string;
|
194
|
+
} | undefined;
|
192
195
|
whatsapp?: {
|
196
|
+
email?: string | null | undefined;
|
197
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
198
|
+
channelId?: string | null | undefined;
|
193
199
|
wabaBusinessId?: string | null | undefined;
|
194
200
|
wabaExternalId?: string | null | undefined;
|
195
201
|
phoneNumberId?: string | null | undefined;
|
196
|
-
email?: string | null | undefined;
|
197
202
|
clientId?: string | null | undefined;
|
198
|
-
channelId?: string | null | undefined;
|
199
203
|
waapiInstanceId?: string | null | undefined;
|
200
204
|
qr?: string | null | undefined;
|
201
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
202
205
|
apiKey?: string | undefined;
|
203
206
|
tier?: "basic" | "regular" | "premium" | undefined;
|
204
207
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
205
208
|
} | undefined;
|
209
|
+
additionalCredentials?: any;
|
210
|
+
accessToken?: string | undefined;
|
211
|
+
channelSecret?: string | undefined;
|
212
|
+
senderId?: string | undefined;
|
206
213
|
vonageCredentials?: {
|
207
214
|
apiKey: string;
|
208
215
|
mobileNumber: string;
|
209
216
|
apiSecret: string;
|
210
217
|
} | undefined;
|
211
|
-
line?: {
|
212
|
-
channelId: string;
|
213
|
-
channelSecret: string;
|
214
|
-
} | undefined;
|
215
218
|
lineRichMenuId?: string | null | undefined;
|
216
219
|
messengerIntegrationType?: "own" | "business" | undefined;
|
217
220
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
218
221
|
isCSATEnabled?: boolean | undefined;
|
222
|
+
config?: any;
|
219
223
|
}, {
|
220
224
|
name: string;
|
221
225
|
id: string;
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
+
line?: {
|
227
|
+
channelId: string;
|
228
|
+
channelSecret: string;
|
229
|
+
} | undefined;
|
226
230
|
whatsapp?: {
|
231
|
+
email?: string | null | undefined;
|
232
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
233
|
+
channelId?: string | null | undefined;
|
227
234
|
wabaBusinessId?: string | null | undefined;
|
228
235
|
wabaExternalId?: string | null | undefined;
|
229
236
|
phoneNumberId?: string | null | undefined;
|
230
|
-
email?: string | null | undefined;
|
231
237
|
clientId?: string | null | undefined;
|
232
|
-
channelId?: string | null | undefined;
|
233
238
|
waapiInstanceId?: string | null | undefined;
|
234
239
|
qr?: string | null | undefined;
|
235
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
236
240
|
apiKey?: string | undefined;
|
237
241
|
tier?: "basic" | "regular" | "premium" | undefined;
|
238
242
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
239
243
|
} | undefined;
|
244
|
+
additionalCredentials?: any;
|
245
|
+
accessToken?: string | undefined;
|
246
|
+
channelSecret?: string | undefined;
|
247
|
+
senderId?: string | undefined;
|
240
248
|
vonageCredentials?: {
|
241
249
|
apiKey: string;
|
242
250
|
mobileNumber: string;
|
243
251
|
apiSecret: string;
|
244
252
|
} | undefined;
|
245
|
-
line?: {
|
246
|
-
channelId: string;
|
247
|
-
channelSecret: string;
|
248
|
-
} | undefined;
|
249
253
|
lineRichMenuId?: string | null | undefined;
|
250
254
|
messengerIntegrationType?: "own" | "business" | undefined;
|
251
255
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
252
256
|
isCSATEnabled?: boolean | undefined;
|
257
|
+
config?: any;
|
253
258
|
}>;
|
254
259
|
brandName: z.ZodString;
|
255
260
|
platformId: z.ZodString;
|
@@ -487,37 +492,38 @@ export declare const smsContract: {
|
|
487
492
|
metadata: {
|
488
493
|
name: string;
|
489
494
|
id: string;
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
495
|
+
line?: {
|
496
|
+
channelId: string;
|
497
|
+
channelSecret: string;
|
498
|
+
} | undefined;
|
494
499
|
whatsapp?: {
|
500
|
+
email?: string | null | undefined;
|
501
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
502
|
+
channelId?: string | null | undefined;
|
495
503
|
wabaBusinessId?: string | null | undefined;
|
496
504
|
wabaExternalId?: string | null | undefined;
|
497
505
|
phoneNumberId?: string | null | undefined;
|
498
|
-
email?: string | null | undefined;
|
499
506
|
clientId?: string | null | undefined;
|
500
|
-
channelId?: string | null | undefined;
|
501
507
|
waapiInstanceId?: string | null | undefined;
|
502
508
|
qr?: string | null | undefined;
|
503
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
504
509
|
apiKey?: string | undefined;
|
505
510
|
tier?: "basic" | "regular" | "premium" | undefined;
|
506
511
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
507
512
|
} | undefined;
|
513
|
+
additionalCredentials?: any;
|
514
|
+
accessToken?: string | undefined;
|
515
|
+
channelSecret?: string | undefined;
|
516
|
+
senderId?: string | undefined;
|
508
517
|
vonageCredentials?: {
|
509
518
|
apiKey: string;
|
510
519
|
mobileNumber: string;
|
511
520
|
apiSecret: string;
|
512
521
|
} | undefined;
|
513
|
-
line?: {
|
514
|
-
channelId: string;
|
515
|
-
channelSecret: string;
|
516
|
-
} | undefined;
|
517
522
|
lineRichMenuId?: string | null | undefined;
|
518
523
|
messengerIntegrationType?: "own" | "business" | undefined;
|
519
524
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
520
525
|
isCSATEnabled?: boolean | undefined;
|
526
|
+
config?: any;
|
521
527
|
};
|
522
528
|
status: boolean;
|
523
529
|
createdAt: Date;
|
@@ -586,37 +592,38 @@ export declare const smsContract: {
|
|
586
592
|
metadata: {
|
587
593
|
name: string;
|
588
594
|
id: string;
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
595
|
+
line?: {
|
596
|
+
channelId: string;
|
597
|
+
channelSecret: string;
|
598
|
+
} | undefined;
|
593
599
|
whatsapp?: {
|
600
|
+
email?: string | null | undefined;
|
601
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
602
|
+
channelId?: string | null | undefined;
|
594
603
|
wabaBusinessId?: string | null | undefined;
|
595
604
|
wabaExternalId?: string | null | undefined;
|
596
605
|
phoneNumberId?: string | null | undefined;
|
597
|
-
email?: string | null | undefined;
|
598
606
|
clientId?: string | null | undefined;
|
599
|
-
channelId?: string | null | undefined;
|
600
607
|
waapiInstanceId?: string | null | undefined;
|
601
608
|
qr?: string | null | undefined;
|
602
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
603
609
|
apiKey?: string | undefined;
|
604
610
|
tier?: "basic" | "regular" | "premium" | undefined;
|
605
611
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
606
612
|
} | undefined;
|
613
|
+
additionalCredentials?: any;
|
614
|
+
accessToken?: string | undefined;
|
615
|
+
channelSecret?: string | undefined;
|
616
|
+
senderId?: string | undefined;
|
607
617
|
vonageCredentials?: {
|
608
618
|
apiKey: string;
|
609
619
|
mobileNumber: string;
|
610
620
|
apiSecret: string;
|
611
621
|
} | undefined;
|
612
|
-
line?: {
|
613
|
-
channelId: string;
|
614
|
-
channelSecret: string;
|
615
|
-
} | undefined;
|
616
622
|
lineRichMenuId?: string | null | undefined;
|
617
623
|
messengerIntegrationType?: "own" | "business" | undefined;
|
618
624
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
619
625
|
isCSATEnabled?: boolean | undefined;
|
626
|
+
config?: any;
|
620
627
|
};
|
621
628
|
status: boolean;
|
622
629
|
createdAt: Date;
|
@@ -687,37 +694,38 @@ export declare const smsContract: {
|
|
687
694
|
metadata: {
|
688
695
|
name: string;
|
689
696
|
id: string;
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
697
|
+
line?: {
|
698
|
+
channelId: string;
|
699
|
+
channelSecret: string;
|
700
|
+
} | undefined;
|
694
701
|
whatsapp?: {
|
702
|
+
email?: string | null | undefined;
|
703
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
704
|
+
channelId?: string | null | undefined;
|
695
705
|
wabaBusinessId?: string | null | undefined;
|
696
706
|
wabaExternalId?: string | null | undefined;
|
697
707
|
phoneNumberId?: string | null | undefined;
|
698
|
-
email?: string | null | undefined;
|
699
708
|
clientId?: string | null | undefined;
|
700
|
-
channelId?: string | null | undefined;
|
701
709
|
waapiInstanceId?: string | null | undefined;
|
702
710
|
qr?: string | null | undefined;
|
703
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
704
711
|
apiKey?: string | undefined;
|
705
712
|
tier?: "basic" | "regular" | "premium" | undefined;
|
706
713
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
707
714
|
} | undefined;
|
715
|
+
additionalCredentials?: any;
|
716
|
+
accessToken?: string | undefined;
|
717
|
+
channelSecret?: string | undefined;
|
718
|
+
senderId?: string | undefined;
|
708
719
|
vonageCredentials?: {
|
709
720
|
apiKey: string;
|
710
721
|
mobileNumber: string;
|
711
722
|
apiSecret: string;
|
712
723
|
} | undefined;
|
713
|
-
line?: {
|
714
|
-
channelId: string;
|
715
|
-
channelSecret: string;
|
716
|
-
} | undefined;
|
717
724
|
lineRichMenuId?: string | null | undefined;
|
718
725
|
messengerIntegrationType?: "own" | "business" | undefined;
|
719
726
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
720
727
|
isCSATEnabled?: boolean | undefined;
|
728
|
+
config?: any;
|
721
729
|
};
|
722
730
|
status: boolean;
|
723
731
|
createdAt: Date;
|
@@ -789,37 +797,38 @@ export declare const smsContract: {
|
|
789
797
|
metadata: {
|
790
798
|
name: string;
|
791
799
|
id: string;
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
800
|
+
line?: {
|
801
|
+
channelId: string;
|
802
|
+
channelSecret: string;
|
803
|
+
} | undefined;
|
796
804
|
whatsapp?: {
|
805
|
+
email?: string | null | undefined;
|
806
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
807
|
+
channelId?: string | null | undefined;
|
797
808
|
wabaBusinessId?: string | null | undefined;
|
798
809
|
wabaExternalId?: string | null | undefined;
|
799
810
|
phoneNumberId?: string | null | undefined;
|
800
|
-
email?: string | null | undefined;
|
801
811
|
clientId?: string | null | undefined;
|
802
|
-
channelId?: string | null | undefined;
|
803
812
|
waapiInstanceId?: string | null | undefined;
|
804
813
|
qr?: string | null | undefined;
|
805
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
806
814
|
apiKey?: string | undefined;
|
807
815
|
tier?: "basic" | "regular" | "premium" | undefined;
|
808
816
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
809
817
|
} | undefined;
|
818
|
+
additionalCredentials?: any;
|
819
|
+
accessToken?: string | undefined;
|
820
|
+
channelSecret?: string | undefined;
|
821
|
+
senderId?: string | undefined;
|
810
822
|
vonageCredentials?: {
|
811
823
|
apiKey: string;
|
812
824
|
mobileNumber: string;
|
813
825
|
apiSecret: string;
|
814
826
|
} | undefined;
|
815
|
-
line?: {
|
816
|
-
channelId: string;
|
817
|
-
channelSecret: string;
|
818
|
-
} | undefined;
|
819
827
|
lineRichMenuId?: string | null | undefined;
|
820
828
|
messengerIntegrationType?: "own" | "business" | undefined;
|
821
829
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
822
830
|
isCSATEnabled?: boolean | undefined;
|
831
|
+
config?: any;
|
823
832
|
};
|
824
833
|
status: boolean;
|
825
834
|
createdAt: Date;
|
@@ -905,7 +914,6 @@ export declare const smsContract: {
|
|
905
914
|
error?: any;
|
906
915
|
}>;
|
907
916
|
};
|
908
|
-
path: "/connect";
|
909
917
|
};
|
910
918
|
disconnectSMSChannel: {
|
911
919
|
body: z.ZodObject<{
|
@@ -916,9 +924,11 @@ export declare const smsContract: {
|
|
916
924
|
id: string;
|
917
925
|
}>;
|
918
926
|
method: "POST";
|
927
|
+
path: "/disconnect";
|
919
928
|
responses: {
|
920
929
|
200: z.ZodObject<{
|
921
930
|
requestId: z.ZodString;
|
931
|
+
} & {
|
922
932
|
channel: z.ZodObject<{
|
923
933
|
id: z.ZodString;
|
924
934
|
createdAt: z.ZodDate;
|
@@ -947,28 +957,28 @@ export declare const smsContract: {
|
|
947
957
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
948
958
|
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
949
959
|
}, "strip", z.ZodTypeAny, {
|
960
|
+
email?: string | null | undefined;
|
961
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
962
|
+
channelId?: string | null | undefined;
|
950
963
|
wabaBusinessId?: string | null | undefined;
|
951
964
|
wabaExternalId?: string | null | undefined;
|
952
965
|
phoneNumberId?: string | null | undefined;
|
953
|
-
email?: string | null | undefined;
|
954
966
|
clientId?: string | null | undefined;
|
955
|
-
channelId?: string | null | undefined;
|
956
967
|
waapiInstanceId?: string | null | undefined;
|
957
968
|
qr?: string | null | undefined;
|
958
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
959
969
|
apiKey?: string | undefined;
|
960
970
|
tier?: "basic" | "regular" | "premium" | undefined;
|
961
971
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
962
972
|
}, {
|
973
|
+
email?: string | null | undefined;
|
974
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
975
|
+
channelId?: string | null | undefined;
|
963
976
|
wabaBusinessId?: string | null | undefined;
|
964
977
|
wabaExternalId?: string | null | undefined;
|
965
978
|
phoneNumberId?: string | null | undefined;
|
966
|
-
email?: string | null | undefined;
|
967
979
|
clientId?: string | null | undefined;
|
968
|
-
channelId?: string | null | undefined;
|
969
980
|
waapiInstanceId?: string | null | undefined;
|
970
981
|
qr?: string | null | undefined;
|
971
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
972
982
|
apiKey?: string | undefined;
|
973
983
|
tier?: "basic" | "regular" | "premium" | undefined;
|
974
984
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
@@ -1000,74 +1010,77 @@ export declare const smsContract: {
|
|
1000
1010
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
1001
1011
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
1002
1012
|
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
1013
|
+
config: z.ZodOptional<z.ZodAny>;
|
1003
1014
|
}, "strip", z.ZodTypeAny, {
|
1004
1015
|
name: string;
|
1005
1016
|
id: string;
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1017
|
+
line?: {
|
1018
|
+
channelId: string;
|
1019
|
+
channelSecret: string;
|
1020
|
+
} | undefined;
|
1010
1021
|
whatsapp?: {
|
1022
|
+
email?: string | null | undefined;
|
1023
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1024
|
+
channelId?: string | null | undefined;
|
1011
1025
|
wabaBusinessId?: string | null | undefined;
|
1012
1026
|
wabaExternalId?: string | null | undefined;
|
1013
1027
|
phoneNumberId?: string | null | undefined;
|
1014
|
-
email?: string | null | undefined;
|
1015
1028
|
clientId?: string | null | undefined;
|
1016
|
-
channelId?: string | null | undefined;
|
1017
1029
|
waapiInstanceId?: string | null | undefined;
|
1018
1030
|
qr?: string | null | undefined;
|
1019
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1020
1031
|
apiKey?: string | undefined;
|
1021
1032
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1022
1033
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1023
1034
|
} | undefined;
|
1035
|
+
additionalCredentials?: any;
|
1036
|
+
accessToken?: string | undefined;
|
1037
|
+
channelSecret?: string | undefined;
|
1038
|
+
senderId?: string | undefined;
|
1024
1039
|
vonageCredentials?: {
|
1025
1040
|
apiKey: string;
|
1026
1041
|
mobileNumber: string;
|
1027
1042
|
apiSecret: string;
|
1028
1043
|
} | undefined;
|
1029
|
-
line?: {
|
1030
|
-
channelId: string;
|
1031
|
-
channelSecret: string;
|
1032
|
-
} | undefined;
|
1033
1044
|
lineRichMenuId?: string | null | undefined;
|
1034
1045
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1035
1046
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1036
1047
|
isCSATEnabled?: boolean | undefined;
|
1048
|
+
config?: any;
|
1037
1049
|
}, {
|
1038
1050
|
name: string;
|
1039
1051
|
id: string;
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1052
|
+
line?: {
|
1053
|
+
channelId: string;
|
1054
|
+
channelSecret: string;
|
1055
|
+
} | undefined;
|
1044
1056
|
whatsapp?: {
|
1057
|
+
email?: string | null | undefined;
|
1058
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1059
|
+
channelId?: string | null | undefined;
|
1045
1060
|
wabaBusinessId?: string | null | undefined;
|
1046
1061
|
wabaExternalId?: string | null | undefined;
|
1047
1062
|
phoneNumberId?: string | null | undefined;
|
1048
|
-
email?: string | null | undefined;
|
1049
1063
|
clientId?: string | null | undefined;
|
1050
|
-
channelId?: string | null | undefined;
|
1051
1064
|
waapiInstanceId?: string | null | undefined;
|
1052
1065
|
qr?: string | null | undefined;
|
1053
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1054
1066
|
apiKey?: string | undefined;
|
1055
1067
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1056
1068
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1057
1069
|
} | undefined;
|
1070
|
+
additionalCredentials?: any;
|
1071
|
+
accessToken?: string | undefined;
|
1072
|
+
channelSecret?: string | undefined;
|
1073
|
+
senderId?: string | undefined;
|
1058
1074
|
vonageCredentials?: {
|
1059
1075
|
apiKey: string;
|
1060
1076
|
mobileNumber: string;
|
1061
1077
|
apiSecret: string;
|
1062
1078
|
} | undefined;
|
1063
|
-
line?: {
|
1064
|
-
channelId: string;
|
1065
|
-
channelSecret: string;
|
1066
|
-
} | undefined;
|
1067
1079
|
lineRichMenuId?: string | null | undefined;
|
1068
1080
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1069
1081
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1070
1082
|
isCSATEnabled?: boolean | undefined;
|
1083
|
+
config?: any;
|
1071
1084
|
}>;
|
1072
1085
|
brandName: z.ZodString;
|
1073
1086
|
platformId: z.ZodString;
|
@@ -1305,37 +1318,38 @@ export declare const smsContract: {
|
|
1305
1318
|
metadata: {
|
1306
1319
|
name: string;
|
1307
1320
|
id: string;
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1321
|
+
line?: {
|
1322
|
+
channelId: string;
|
1323
|
+
channelSecret: string;
|
1324
|
+
} | undefined;
|
1312
1325
|
whatsapp?: {
|
1326
|
+
email?: string | null | undefined;
|
1327
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1328
|
+
channelId?: string | null | undefined;
|
1313
1329
|
wabaBusinessId?: string | null | undefined;
|
1314
1330
|
wabaExternalId?: string | null | undefined;
|
1315
1331
|
phoneNumberId?: string | null | undefined;
|
1316
|
-
email?: string | null | undefined;
|
1317
1332
|
clientId?: string | null | undefined;
|
1318
|
-
channelId?: string | null | undefined;
|
1319
1333
|
waapiInstanceId?: string | null | undefined;
|
1320
1334
|
qr?: string | null | undefined;
|
1321
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1322
1335
|
apiKey?: string | undefined;
|
1323
1336
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1324
1337
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1325
1338
|
} | undefined;
|
1339
|
+
additionalCredentials?: any;
|
1340
|
+
accessToken?: string | undefined;
|
1341
|
+
channelSecret?: string | undefined;
|
1342
|
+
senderId?: string | undefined;
|
1326
1343
|
vonageCredentials?: {
|
1327
1344
|
apiKey: string;
|
1328
1345
|
mobileNumber: string;
|
1329
1346
|
apiSecret: string;
|
1330
1347
|
} | undefined;
|
1331
|
-
line?: {
|
1332
|
-
channelId: string;
|
1333
|
-
channelSecret: string;
|
1334
|
-
} | undefined;
|
1335
1348
|
lineRichMenuId?: string | null | undefined;
|
1336
1349
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1337
1350
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1338
1351
|
isCSATEnabled?: boolean | undefined;
|
1352
|
+
config?: any;
|
1339
1353
|
};
|
1340
1354
|
status: boolean;
|
1341
1355
|
createdAt: Date;
|
@@ -1404,37 +1418,38 @@ export declare const smsContract: {
|
|
1404
1418
|
metadata: {
|
1405
1419
|
name: string;
|
1406
1420
|
id: string;
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1421
|
+
line?: {
|
1422
|
+
channelId: string;
|
1423
|
+
channelSecret: string;
|
1424
|
+
} | undefined;
|
1411
1425
|
whatsapp?: {
|
1426
|
+
email?: string | null | undefined;
|
1427
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1428
|
+
channelId?: string | null | undefined;
|
1412
1429
|
wabaBusinessId?: string | null | undefined;
|
1413
1430
|
wabaExternalId?: string | null | undefined;
|
1414
1431
|
phoneNumberId?: string | null | undefined;
|
1415
|
-
email?: string | null | undefined;
|
1416
1432
|
clientId?: string | null | undefined;
|
1417
|
-
channelId?: string | null | undefined;
|
1418
1433
|
waapiInstanceId?: string | null | undefined;
|
1419
1434
|
qr?: string | null | undefined;
|
1420
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1421
1435
|
apiKey?: string | undefined;
|
1422
1436
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1423
1437
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1424
1438
|
} | undefined;
|
1439
|
+
additionalCredentials?: any;
|
1440
|
+
accessToken?: string | undefined;
|
1441
|
+
channelSecret?: string | undefined;
|
1442
|
+
senderId?: string | undefined;
|
1425
1443
|
vonageCredentials?: {
|
1426
1444
|
apiKey: string;
|
1427
1445
|
mobileNumber: string;
|
1428
1446
|
apiSecret: string;
|
1429
1447
|
} | undefined;
|
1430
|
-
line?: {
|
1431
|
-
channelId: string;
|
1432
|
-
channelSecret: string;
|
1433
|
-
} | undefined;
|
1434
1448
|
lineRichMenuId?: string | null | undefined;
|
1435
1449
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1436
1450
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1437
1451
|
isCSATEnabled?: boolean | undefined;
|
1452
|
+
config?: any;
|
1438
1453
|
};
|
1439
1454
|
status: boolean;
|
1440
1455
|
createdAt: Date;
|
@@ -1505,37 +1520,38 @@ export declare const smsContract: {
|
|
1505
1520
|
metadata: {
|
1506
1521
|
name: string;
|
1507
1522
|
id: string;
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1523
|
+
line?: {
|
1524
|
+
channelId: string;
|
1525
|
+
channelSecret: string;
|
1526
|
+
} | undefined;
|
1512
1527
|
whatsapp?: {
|
1513
|
-
|
1528
|
+
email?: string | null | undefined;
|
1529
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1530
|
+
channelId?: string | null | undefined;
|
1531
|
+
wabaBusinessId?: string | null | undefined;
|
1514
1532
|
wabaExternalId?: string | null | undefined;
|
1515
1533
|
phoneNumberId?: string | null | undefined;
|
1516
|
-
email?: string | null | undefined;
|
1517
1534
|
clientId?: string | null | undefined;
|
1518
|
-
channelId?: string | null | undefined;
|
1519
1535
|
waapiInstanceId?: string | null | undefined;
|
1520
1536
|
qr?: string | null | undefined;
|
1521
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1522
1537
|
apiKey?: string | undefined;
|
1523
1538
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1524
1539
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1525
1540
|
} | undefined;
|
1541
|
+
additionalCredentials?: any;
|
1542
|
+
accessToken?: string | undefined;
|
1543
|
+
channelSecret?: string | undefined;
|
1544
|
+
senderId?: string | undefined;
|
1526
1545
|
vonageCredentials?: {
|
1527
1546
|
apiKey: string;
|
1528
1547
|
mobileNumber: string;
|
1529
1548
|
apiSecret: string;
|
1530
1549
|
} | undefined;
|
1531
|
-
line?: {
|
1532
|
-
channelId: string;
|
1533
|
-
channelSecret: string;
|
1534
|
-
} | undefined;
|
1535
1550
|
lineRichMenuId?: string | null | undefined;
|
1536
1551
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1537
1552
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1538
1553
|
isCSATEnabled?: boolean | undefined;
|
1554
|
+
config?: any;
|
1539
1555
|
};
|
1540
1556
|
status: boolean;
|
1541
1557
|
createdAt: Date;
|
@@ -1607,37 +1623,38 @@ export declare const smsContract: {
|
|
1607
1623
|
metadata: {
|
1608
1624
|
name: string;
|
1609
1625
|
id: string;
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1626
|
+
line?: {
|
1627
|
+
channelId: string;
|
1628
|
+
channelSecret: string;
|
1629
|
+
} | undefined;
|
1614
1630
|
whatsapp?: {
|
1631
|
+
email?: string | null | undefined;
|
1632
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1633
|
+
channelId?: string | null | undefined;
|
1615
1634
|
wabaBusinessId?: string | null | undefined;
|
1616
1635
|
wabaExternalId?: string | null | undefined;
|
1617
1636
|
phoneNumberId?: string | null | undefined;
|
1618
|
-
email?: string | null | undefined;
|
1619
1637
|
clientId?: string | null | undefined;
|
1620
|
-
channelId?: string | null | undefined;
|
1621
1638
|
waapiInstanceId?: string | null | undefined;
|
1622
1639
|
qr?: string | null | undefined;
|
1623
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1624
1640
|
apiKey?: string | undefined;
|
1625
1641
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1626
1642
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1627
1643
|
} | undefined;
|
1644
|
+
additionalCredentials?: any;
|
1645
|
+
accessToken?: string | undefined;
|
1646
|
+
channelSecret?: string | undefined;
|
1647
|
+
senderId?: string | undefined;
|
1628
1648
|
vonageCredentials?: {
|
1629
1649
|
apiKey: string;
|
1630
1650
|
mobileNumber: string;
|
1631
1651
|
apiSecret: string;
|
1632
1652
|
} | undefined;
|
1633
|
-
line?: {
|
1634
|
-
channelId: string;
|
1635
|
-
channelSecret: string;
|
1636
|
-
} | undefined;
|
1637
1653
|
lineRichMenuId?: string | null | undefined;
|
1638
1654
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1639
1655
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1640
1656
|
isCSATEnabled?: boolean | undefined;
|
1657
|
+
config?: any;
|
1641
1658
|
};
|
1642
1659
|
status: boolean;
|
1643
1660
|
createdAt: Date;
|
@@ -1723,7 +1740,6 @@ export declare const smsContract: {
|
|
1723
1740
|
error?: any;
|
1724
1741
|
}>;
|
1725
1742
|
};
|
1726
|
-
path: "/disconnect";
|
1727
1743
|
};
|
1728
1744
|
reconnectSMSChannel: {
|
1729
1745
|
body: null;
|
@@ -1735,9 +1751,11 @@ export declare const smsContract: {
|
|
1735
1751
|
}, {
|
1736
1752
|
channelId: string;
|
1737
1753
|
}>;
|
1754
|
+
path: "/reconnect/:channelId";
|
1738
1755
|
responses: {
|
1739
1756
|
200: z.ZodObject<{
|
1740
1757
|
requestId: z.ZodString;
|
1758
|
+
} & {
|
1741
1759
|
channel: z.ZodObject<{
|
1742
1760
|
id: z.ZodString;
|
1743
1761
|
createdAt: z.ZodDate;
|
@@ -1766,28 +1784,28 @@ export declare const smsContract: {
|
|
1766
1784
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
1767
1785
|
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
1768
1786
|
}, "strip", z.ZodTypeAny, {
|
1787
|
+
email?: string | null | undefined;
|
1788
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1789
|
+
channelId?: string | null | undefined;
|
1769
1790
|
wabaBusinessId?: string | null | undefined;
|
1770
1791
|
wabaExternalId?: string | null | undefined;
|
1771
1792
|
phoneNumberId?: string | null | undefined;
|
1772
|
-
email?: string | null | undefined;
|
1773
1793
|
clientId?: string | null | undefined;
|
1774
|
-
channelId?: string | null | undefined;
|
1775
1794
|
waapiInstanceId?: string | null | undefined;
|
1776
1795
|
qr?: string | null | undefined;
|
1777
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1778
1796
|
apiKey?: string | undefined;
|
1779
1797
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1780
1798
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1781
1799
|
}, {
|
1800
|
+
email?: string | null | undefined;
|
1801
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1802
|
+
channelId?: string | null | undefined;
|
1782
1803
|
wabaBusinessId?: string | null | undefined;
|
1783
1804
|
wabaExternalId?: string | null | undefined;
|
1784
1805
|
phoneNumberId?: string | null | undefined;
|
1785
|
-
email?: string | null | undefined;
|
1786
1806
|
clientId?: string | null | undefined;
|
1787
|
-
channelId?: string | null | undefined;
|
1788
1807
|
waapiInstanceId?: string | null | undefined;
|
1789
1808
|
qr?: string | null | undefined;
|
1790
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1791
1809
|
apiKey?: string | undefined;
|
1792
1810
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1793
1811
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
@@ -1819,74 +1837,77 @@ export declare const smsContract: {
|
|
1819
1837
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
1820
1838
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
1821
1839
|
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
1840
|
+
config: z.ZodOptional<z.ZodAny>;
|
1822
1841
|
}, "strip", z.ZodTypeAny, {
|
1823
1842
|
name: string;
|
1824
1843
|
id: string;
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1844
|
+
line?: {
|
1845
|
+
channelId: string;
|
1846
|
+
channelSecret: string;
|
1847
|
+
} | undefined;
|
1829
1848
|
whatsapp?: {
|
1849
|
+
email?: string | null | undefined;
|
1850
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1851
|
+
channelId?: string | null | undefined;
|
1830
1852
|
wabaBusinessId?: string | null | undefined;
|
1831
1853
|
wabaExternalId?: string | null | undefined;
|
1832
1854
|
phoneNumberId?: string | null | undefined;
|
1833
|
-
email?: string | null | undefined;
|
1834
1855
|
clientId?: string | null | undefined;
|
1835
|
-
channelId?: string | null | undefined;
|
1836
1856
|
waapiInstanceId?: string | null | undefined;
|
1837
1857
|
qr?: string | null | undefined;
|
1838
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1839
1858
|
apiKey?: string | undefined;
|
1840
1859
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1841
1860
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1842
1861
|
} | undefined;
|
1862
|
+
additionalCredentials?: any;
|
1863
|
+
accessToken?: string | undefined;
|
1864
|
+
channelSecret?: string | undefined;
|
1865
|
+
senderId?: string | undefined;
|
1843
1866
|
vonageCredentials?: {
|
1844
1867
|
apiKey: string;
|
1845
1868
|
mobileNumber: string;
|
1846
1869
|
apiSecret: string;
|
1847
1870
|
} | undefined;
|
1848
|
-
line?: {
|
1849
|
-
channelId: string;
|
1850
|
-
channelSecret: string;
|
1851
|
-
} | undefined;
|
1852
1871
|
lineRichMenuId?: string | null | undefined;
|
1853
1872
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1854
1873
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1855
1874
|
isCSATEnabled?: boolean | undefined;
|
1875
|
+
config?: any;
|
1856
1876
|
}, {
|
1857
1877
|
name: string;
|
1858
1878
|
id: string;
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1879
|
+
line?: {
|
1880
|
+
channelId: string;
|
1881
|
+
channelSecret: string;
|
1882
|
+
} | undefined;
|
1863
1883
|
whatsapp?: {
|
1884
|
+
email?: string | null | undefined;
|
1885
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1886
|
+
channelId?: string | null | undefined;
|
1864
1887
|
wabaBusinessId?: string | null | undefined;
|
1865
1888
|
wabaExternalId?: string | null | undefined;
|
1866
1889
|
phoneNumberId?: string | null | undefined;
|
1867
|
-
email?: string | null | undefined;
|
1868
1890
|
clientId?: string | null | undefined;
|
1869
|
-
channelId?: string | null | undefined;
|
1870
1891
|
waapiInstanceId?: string | null | undefined;
|
1871
1892
|
qr?: string | null | undefined;
|
1872
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
1873
1893
|
apiKey?: string | undefined;
|
1874
1894
|
tier?: "basic" | "regular" | "premium" | undefined;
|
1875
1895
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
1876
1896
|
} | undefined;
|
1897
|
+
additionalCredentials?: any;
|
1898
|
+
accessToken?: string | undefined;
|
1899
|
+
channelSecret?: string | undefined;
|
1900
|
+
senderId?: string | undefined;
|
1877
1901
|
vonageCredentials?: {
|
1878
1902
|
apiKey: string;
|
1879
1903
|
mobileNumber: string;
|
1880
1904
|
apiSecret: string;
|
1881
1905
|
} | undefined;
|
1882
|
-
line?: {
|
1883
|
-
channelId: string;
|
1884
|
-
channelSecret: string;
|
1885
|
-
} | undefined;
|
1886
1906
|
lineRichMenuId?: string | null | undefined;
|
1887
1907
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1888
1908
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
1889
1909
|
isCSATEnabled?: boolean | undefined;
|
1910
|
+
config?: any;
|
1890
1911
|
}>;
|
1891
1912
|
brandName: z.ZodString;
|
1892
1913
|
platformId: z.ZodString;
|
@@ -2124,37 +2145,38 @@ export declare const smsContract: {
|
|
2124
2145
|
metadata: {
|
2125
2146
|
name: string;
|
2126
2147
|
id: string;
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
|
2148
|
+
line?: {
|
2149
|
+
channelId: string;
|
2150
|
+
channelSecret: string;
|
2151
|
+
} | undefined;
|
2131
2152
|
whatsapp?: {
|
2153
|
+
email?: string | null | undefined;
|
2154
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2155
|
+
channelId?: string | null | undefined;
|
2132
2156
|
wabaBusinessId?: string | null | undefined;
|
2133
2157
|
wabaExternalId?: string | null | undefined;
|
2134
2158
|
phoneNumberId?: string | null | undefined;
|
2135
|
-
email?: string | null | undefined;
|
2136
2159
|
clientId?: string | null | undefined;
|
2137
|
-
channelId?: string | null | undefined;
|
2138
2160
|
waapiInstanceId?: string | null | undefined;
|
2139
2161
|
qr?: string | null | undefined;
|
2140
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2141
2162
|
apiKey?: string | undefined;
|
2142
2163
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2143
2164
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2144
2165
|
} | undefined;
|
2166
|
+
additionalCredentials?: any;
|
2167
|
+
accessToken?: string | undefined;
|
2168
|
+
channelSecret?: string | undefined;
|
2169
|
+
senderId?: string | undefined;
|
2145
2170
|
vonageCredentials?: {
|
2146
2171
|
apiKey: string;
|
2147
2172
|
mobileNumber: string;
|
2148
2173
|
apiSecret: string;
|
2149
2174
|
} | undefined;
|
2150
|
-
line?: {
|
2151
|
-
channelId: string;
|
2152
|
-
channelSecret: string;
|
2153
|
-
} | undefined;
|
2154
2175
|
lineRichMenuId?: string | null | undefined;
|
2155
2176
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2156
2177
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2157
2178
|
isCSATEnabled?: boolean | undefined;
|
2179
|
+
config?: any;
|
2158
2180
|
};
|
2159
2181
|
status: boolean;
|
2160
2182
|
createdAt: Date;
|
@@ -2223,37 +2245,38 @@ export declare const smsContract: {
|
|
2223
2245
|
metadata: {
|
2224
2246
|
name: string;
|
2225
2247
|
id: string;
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
|
2248
|
+
line?: {
|
2249
|
+
channelId: string;
|
2250
|
+
channelSecret: string;
|
2251
|
+
} | undefined;
|
2230
2252
|
whatsapp?: {
|
2253
|
+
email?: string | null | undefined;
|
2254
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2255
|
+
channelId?: string | null | undefined;
|
2231
2256
|
wabaBusinessId?: string | null | undefined;
|
2232
2257
|
wabaExternalId?: string | null | undefined;
|
2233
2258
|
phoneNumberId?: string | null | undefined;
|
2234
|
-
email?: string | null | undefined;
|
2235
2259
|
clientId?: string | null | undefined;
|
2236
|
-
channelId?: string | null | undefined;
|
2237
2260
|
waapiInstanceId?: string | null | undefined;
|
2238
2261
|
qr?: string | null | undefined;
|
2239
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2240
2262
|
apiKey?: string | undefined;
|
2241
2263
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2242
2264
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2243
2265
|
} | undefined;
|
2266
|
+
additionalCredentials?: any;
|
2267
|
+
accessToken?: string | undefined;
|
2268
|
+
channelSecret?: string | undefined;
|
2269
|
+
senderId?: string | undefined;
|
2244
2270
|
vonageCredentials?: {
|
2245
2271
|
apiKey: string;
|
2246
2272
|
mobileNumber: string;
|
2247
2273
|
apiSecret: string;
|
2248
2274
|
} | undefined;
|
2249
|
-
line?: {
|
2250
|
-
channelId: string;
|
2251
|
-
channelSecret: string;
|
2252
|
-
} | undefined;
|
2253
2275
|
lineRichMenuId?: string | null | undefined;
|
2254
2276
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2255
2277
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2256
2278
|
isCSATEnabled?: boolean | undefined;
|
2279
|
+
config?: any;
|
2257
2280
|
};
|
2258
2281
|
status: boolean;
|
2259
2282
|
createdAt: Date;
|
@@ -2324,37 +2347,38 @@ export declare const smsContract: {
|
|
2324
2347
|
metadata: {
|
2325
2348
|
name: string;
|
2326
2349
|
id: string;
|
2327
|
-
|
2328
|
-
|
2329
|
-
|
2330
|
-
|
2350
|
+
line?: {
|
2351
|
+
channelId: string;
|
2352
|
+
channelSecret: string;
|
2353
|
+
} | undefined;
|
2331
2354
|
whatsapp?: {
|
2355
|
+
email?: string | null | undefined;
|
2356
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2357
|
+
channelId?: string | null | undefined;
|
2332
2358
|
wabaBusinessId?: string | null | undefined;
|
2333
2359
|
wabaExternalId?: string | null | undefined;
|
2334
2360
|
phoneNumberId?: string | null | undefined;
|
2335
|
-
email?: string | null | undefined;
|
2336
2361
|
clientId?: string | null | undefined;
|
2337
|
-
channelId?: string | null | undefined;
|
2338
2362
|
waapiInstanceId?: string | null | undefined;
|
2339
2363
|
qr?: string | null | undefined;
|
2340
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2341
2364
|
apiKey?: string | undefined;
|
2342
2365
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2343
2366
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2344
2367
|
} | undefined;
|
2368
|
+
additionalCredentials?: any;
|
2369
|
+
accessToken?: string | undefined;
|
2370
|
+
channelSecret?: string | undefined;
|
2371
|
+
senderId?: string | undefined;
|
2345
2372
|
vonageCredentials?: {
|
2346
2373
|
apiKey: string;
|
2347
2374
|
mobileNumber: string;
|
2348
2375
|
apiSecret: string;
|
2349
2376
|
} | undefined;
|
2350
|
-
line?: {
|
2351
|
-
channelId: string;
|
2352
|
-
channelSecret: string;
|
2353
|
-
} | undefined;
|
2354
2377
|
lineRichMenuId?: string | null | undefined;
|
2355
2378
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2356
2379
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2357
2380
|
isCSATEnabled?: boolean | undefined;
|
2381
|
+
config?: any;
|
2358
2382
|
};
|
2359
2383
|
status: boolean;
|
2360
2384
|
createdAt: Date;
|
@@ -2426,37 +2450,38 @@ export declare const smsContract: {
|
|
2426
2450
|
metadata: {
|
2427
2451
|
name: string;
|
2428
2452
|
id: string;
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2432
|
-
|
2453
|
+
line?: {
|
2454
|
+
channelId: string;
|
2455
|
+
channelSecret: string;
|
2456
|
+
} | undefined;
|
2433
2457
|
whatsapp?: {
|
2458
|
+
email?: string | null | undefined;
|
2459
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2460
|
+
channelId?: string | null | undefined;
|
2434
2461
|
wabaBusinessId?: string | null | undefined;
|
2435
2462
|
wabaExternalId?: string | null | undefined;
|
2436
2463
|
phoneNumberId?: string | null | undefined;
|
2437
|
-
email?: string | null | undefined;
|
2438
2464
|
clientId?: string | null | undefined;
|
2439
|
-
channelId?: string | null | undefined;
|
2440
2465
|
waapiInstanceId?: string | null | undefined;
|
2441
2466
|
qr?: string | null | undefined;
|
2442
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2443
2467
|
apiKey?: string | undefined;
|
2444
2468
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2445
2469
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2446
2470
|
} | undefined;
|
2471
|
+
additionalCredentials?: any;
|
2472
|
+
accessToken?: string | undefined;
|
2473
|
+
channelSecret?: string | undefined;
|
2474
|
+
senderId?: string | undefined;
|
2447
2475
|
vonageCredentials?: {
|
2448
2476
|
apiKey: string;
|
2449
2477
|
mobileNumber: string;
|
2450
2478
|
apiSecret: string;
|
2451
2479
|
} | undefined;
|
2452
|
-
line?: {
|
2453
|
-
channelId: string;
|
2454
|
-
channelSecret: string;
|
2455
|
-
} | undefined;
|
2456
2480
|
lineRichMenuId?: string | null | undefined;
|
2457
2481
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2458
2482
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2459
2483
|
isCSATEnabled?: boolean | undefined;
|
2484
|
+
config?: any;
|
2460
2485
|
};
|
2461
2486
|
status: boolean;
|
2462
2487
|
createdAt: Date;
|
@@ -2542,7 +2567,6 @@ export declare const smsContract: {
|
|
2542
2567
|
error?: any;
|
2543
2568
|
}>;
|
2544
2569
|
};
|
2545
|
-
path: "/reconnect/:channelId";
|
2546
2570
|
};
|
2547
2571
|
deleteSMSChannel: {
|
2548
2572
|
body: null;
|
@@ -2554,9 +2578,11 @@ export declare const smsContract: {
|
|
2554
2578
|
}, {
|
2555
2579
|
channelId: string;
|
2556
2580
|
}>;
|
2581
|
+
path: "/delete/:channelId";
|
2557
2582
|
responses: {
|
2558
2583
|
200: z.ZodObject<{
|
2559
2584
|
requestId: z.ZodString;
|
2585
|
+
} & {
|
2560
2586
|
channel: z.ZodObject<{
|
2561
2587
|
id: z.ZodString;
|
2562
2588
|
createdAt: z.ZodDate;
|
@@ -2585,28 +2611,28 @@ export declare const smsContract: {
|
|
2585
2611
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
2586
2612
|
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
2587
2613
|
}, "strip", z.ZodTypeAny, {
|
2614
|
+
email?: string | null | undefined;
|
2615
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2616
|
+
channelId?: string | null | undefined;
|
2588
2617
|
wabaBusinessId?: string | null | undefined;
|
2589
2618
|
wabaExternalId?: string | null | undefined;
|
2590
2619
|
phoneNumberId?: string | null | undefined;
|
2591
|
-
email?: string | null | undefined;
|
2592
2620
|
clientId?: string | null | undefined;
|
2593
|
-
channelId?: string | null | undefined;
|
2594
2621
|
waapiInstanceId?: string | null | undefined;
|
2595
2622
|
qr?: string | null | undefined;
|
2596
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2597
2623
|
apiKey?: string | undefined;
|
2598
2624
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2599
2625
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2600
2626
|
}, {
|
2627
|
+
email?: string | null | undefined;
|
2628
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2629
|
+
channelId?: string | null | undefined;
|
2601
2630
|
wabaBusinessId?: string | null | undefined;
|
2602
2631
|
wabaExternalId?: string | null | undefined;
|
2603
2632
|
phoneNumberId?: string | null | undefined;
|
2604
|
-
email?: string | null | undefined;
|
2605
2633
|
clientId?: string | null | undefined;
|
2606
|
-
channelId?: string | null | undefined;
|
2607
2634
|
waapiInstanceId?: string | null | undefined;
|
2608
2635
|
qr?: string | null | undefined;
|
2609
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2610
2636
|
apiKey?: string | undefined;
|
2611
2637
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2612
2638
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
@@ -2638,74 +2664,77 @@ export declare const smsContract: {
|
|
2638
2664
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
2639
2665
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
2640
2666
|
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
2667
|
+
config: z.ZodOptional<z.ZodAny>;
|
2641
2668
|
}, "strip", z.ZodTypeAny, {
|
2642
2669
|
name: string;
|
2643
2670
|
id: string;
|
2644
|
-
|
2645
|
-
|
2646
|
-
|
2647
|
-
|
2671
|
+
line?: {
|
2672
|
+
channelId: string;
|
2673
|
+
channelSecret: string;
|
2674
|
+
} | undefined;
|
2648
2675
|
whatsapp?: {
|
2676
|
+
email?: string | null | undefined;
|
2677
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2678
|
+
channelId?: string | null | undefined;
|
2649
2679
|
wabaBusinessId?: string | null | undefined;
|
2650
2680
|
wabaExternalId?: string | null | undefined;
|
2651
2681
|
phoneNumberId?: string | null | undefined;
|
2652
|
-
email?: string | null | undefined;
|
2653
2682
|
clientId?: string | null | undefined;
|
2654
|
-
channelId?: string | null | undefined;
|
2655
2683
|
waapiInstanceId?: string | null | undefined;
|
2656
2684
|
qr?: string | null | undefined;
|
2657
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2658
2685
|
apiKey?: string | undefined;
|
2659
2686
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2660
2687
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2661
2688
|
} | undefined;
|
2689
|
+
additionalCredentials?: any;
|
2690
|
+
accessToken?: string | undefined;
|
2691
|
+
channelSecret?: string | undefined;
|
2692
|
+
senderId?: string | undefined;
|
2662
2693
|
vonageCredentials?: {
|
2663
2694
|
apiKey: string;
|
2664
2695
|
mobileNumber: string;
|
2665
2696
|
apiSecret: string;
|
2666
2697
|
} | undefined;
|
2667
|
-
line?: {
|
2668
|
-
channelId: string;
|
2669
|
-
channelSecret: string;
|
2670
|
-
} | undefined;
|
2671
2698
|
lineRichMenuId?: string | null | undefined;
|
2672
2699
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2673
2700
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2674
2701
|
isCSATEnabled?: boolean | undefined;
|
2702
|
+
config?: any;
|
2675
2703
|
}, {
|
2676
2704
|
name: string;
|
2677
2705
|
id: string;
|
2678
|
-
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2706
|
+
line?: {
|
2707
|
+
channelId: string;
|
2708
|
+
channelSecret: string;
|
2709
|
+
} | undefined;
|
2682
2710
|
whatsapp?: {
|
2711
|
+
email?: string | null | undefined;
|
2712
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2713
|
+
channelId?: string | null | undefined;
|
2683
2714
|
wabaBusinessId?: string | null | undefined;
|
2684
2715
|
wabaExternalId?: string | null | undefined;
|
2685
2716
|
phoneNumberId?: string | null | undefined;
|
2686
|
-
email?: string | null | undefined;
|
2687
2717
|
clientId?: string | null | undefined;
|
2688
|
-
channelId?: string | null | undefined;
|
2689
2718
|
waapiInstanceId?: string | null | undefined;
|
2690
2719
|
qr?: string | null | undefined;
|
2691
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2692
2720
|
apiKey?: string | undefined;
|
2693
2721
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2694
2722
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2695
2723
|
} | undefined;
|
2724
|
+
additionalCredentials?: any;
|
2725
|
+
accessToken?: string | undefined;
|
2726
|
+
channelSecret?: string | undefined;
|
2727
|
+
senderId?: string | undefined;
|
2696
2728
|
vonageCredentials?: {
|
2697
2729
|
apiKey: string;
|
2698
2730
|
mobileNumber: string;
|
2699
2731
|
apiSecret: string;
|
2700
2732
|
} | undefined;
|
2701
|
-
line?: {
|
2702
|
-
channelId: string;
|
2703
|
-
channelSecret: string;
|
2704
|
-
} | undefined;
|
2705
2733
|
lineRichMenuId?: string | null | undefined;
|
2706
2734
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2707
2735
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2708
2736
|
isCSATEnabled?: boolean | undefined;
|
2737
|
+
config?: any;
|
2709
2738
|
}>;
|
2710
2739
|
brandName: z.ZodString;
|
2711
2740
|
platformId: z.ZodString;
|
@@ -2943,37 +2972,38 @@ export declare const smsContract: {
|
|
2943
2972
|
metadata: {
|
2944
2973
|
name: string;
|
2945
2974
|
id: string;
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2975
|
+
line?: {
|
2976
|
+
channelId: string;
|
2977
|
+
channelSecret: string;
|
2978
|
+
} | undefined;
|
2950
2979
|
whatsapp?: {
|
2980
|
+
email?: string | null | undefined;
|
2981
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2982
|
+
channelId?: string | null | undefined;
|
2951
2983
|
wabaBusinessId?: string | null | undefined;
|
2952
2984
|
wabaExternalId?: string | null | undefined;
|
2953
2985
|
phoneNumberId?: string | null | undefined;
|
2954
|
-
email?: string | null | undefined;
|
2955
2986
|
clientId?: string | null | undefined;
|
2956
|
-
channelId?: string | null | undefined;
|
2957
2987
|
waapiInstanceId?: string | null | undefined;
|
2958
2988
|
qr?: string | null | undefined;
|
2959
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2960
2989
|
apiKey?: string | undefined;
|
2961
2990
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2962
2991
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2963
2992
|
} | undefined;
|
2964
|
-
|
2993
|
+
additionalCredentials?: any;
|
2994
|
+
accessToken?: string | undefined;
|
2995
|
+
channelSecret?: string | undefined;
|
2996
|
+
senderId?: string | undefined;
|
2997
|
+
vonageCredentials?: {
|
2965
2998
|
apiKey: string;
|
2966
2999
|
mobileNumber: string;
|
2967
3000
|
apiSecret: string;
|
2968
3001
|
} | undefined;
|
2969
|
-
line?: {
|
2970
|
-
channelId: string;
|
2971
|
-
channelSecret: string;
|
2972
|
-
} | undefined;
|
2973
3002
|
lineRichMenuId?: string | null | undefined;
|
2974
3003
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2975
3004
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2976
3005
|
isCSATEnabled?: boolean | undefined;
|
3006
|
+
config?: any;
|
2977
3007
|
};
|
2978
3008
|
status: boolean;
|
2979
3009
|
createdAt: Date;
|
@@ -3042,37 +3072,38 @@ export declare const smsContract: {
|
|
3042
3072
|
metadata: {
|
3043
3073
|
name: string;
|
3044
3074
|
id: string;
|
3045
|
-
|
3046
|
-
|
3047
|
-
|
3048
|
-
|
3075
|
+
line?: {
|
3076
|
+
channelId: string;
|
3077
|
+
channelSecret: string;
|
3078
|
+
} | undefined;
|
3049
3079
|
whatsapp?: {
|
3080
|
+
email?: string | null | undefined;
|
3081
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3082
|
+
channelId?: string | null | undefined;
|
3050
3083
|
wabaBusinessId?: string | null | undefined;
|
3051
3084
|
wabaExternalId?: string | null | undefined;
|
3052
3085
|
phoneNumberId?: string | null | undefined;
|
3053
|
-
email?: string | null | undefined;
|
3054
3086
|
clientId?: string | null | undefined;
|
3055
|
-
channelId?: string | null | undefined;
|
3056
3087
|
waapiInstanceId?: string | null | undefined;
|
3057
3088
|
qr?: string | null | undefined;
|
3058
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3059
3089
|
apiKey?: string | undefined;
|
3060
3090
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3061
3091
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3062
3092
|
} | undefined;
|
3093
|
+
additionalCredentials?: any;
|
3094
|
+
accessToken?: string | undefined;
|
3095
|
+
channelSecret?: string | undefined;
|
3096
|
+
senderId?: string | undefined;
|
3063
3097
|
vonageCredentials?: {
|
3064
3098
|
apiKey: string;
|
3065
3099
|
mobileNumber: string;
|
3066
3100
|
apiSecret: string;
|
3067
3101
|
} | undefined;
|
3068
|
-
line?: {
|
3069
|
-
channelId: string;
|
3070
|
-
channelSecret: string;
|
3071
|
-
} | undefined;
|
3072
3102
|
lineRichMenuId?: string | null | undefined;
|
3073
3103
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3074
3104
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3075
3105
|
isCSATEnabled?: boolean | undefined;
|
3106
|
+
config?: any;
|
3076
3107
|
};
|
3077
3108
|
status: boolean;
|
3078
3109
|
createdAt: Date;
|
@@ -3143,37 +3174,38 @@ export declare const smsContract: {
|
|
3143
3174
|
metadata: {
|
3144
3175
|
name: string;
|
3145
3176
|
id: string;
|
3146
|
-
|
3147
|
-
|
3148
|
-
|
3149
|
-
|
3177
|
+
line?: {
|
3178
|
+
channelId: string;
|
3179
|
+
channelSecret: string;
|
3180
|
+
} | undefined;
|
3150
3181
|
whatsapp?: {
|
3182
|
+
email?: string | null | undefined;
|
3183
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3184
|
+
channelId?: string | null | undefined;
|
3151
3185
|
wabaBusinessId?: string | null | undefined;
|
3152
3186
|
wabaExternalId?: string | null | undefined;
|
3153
3187
|
phoneNumberId?: string | null | undefined;
|
3154
|
-
email?: string | null | undefined;
|
3155
3188
|
clientId?: string | null | undefined;
|
3156
|
-
channelId?: string | null | undefined;
|
3157
3189
|
waapiInstanceId?: string | null | undefined;
|
3158
3190
|
qr?: string | null | undefined;
|
3159
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3160
3191
|
apiKey?: string | undefined;
|
3161
3192
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3162
3193
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3163
3194
|
} | undefined;
|
3195
|
+
additionalCredentials?: any;
|
3196
|
+
accessToken?: string | undefined;
|
3197
|
+
channelSecret?: string | undefined;
|
3198
|
+
senderId?: string | undefined;
|
3164
3199
|
vonageCredentials?: {
|
3165
3200
|
apiKey: string;
|
3166
3201
|
mobileNumber: string;
|
3167
3202
|
apiSecret: string;
|
3168
3203
|
} | undefined;
|
3169
|
-
line?: {
|
3170
|
-
channelId: string;
|
3171
|
-
channelSecret: string;
|
3172
|
-
} | undefined;
|
3173
3204
|
lineRichMenuId?: string | null | undefined;
|
3174
3205
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3175
3206
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3176
3207
|
isCSATEnabled?: boolean | undefined;
|
3208
|
+
config?: any;
|
3177
3209
|
};
|
3178
3210
|
status: boolean;
|
3179
3211
|
createdAt: Date;
|
@@ -3245,37 +3277,38 @@ export declare const smsContract: {
|
|
3245
3277
|
metadata: {
|
3246
3278
|
name: string;
|
3247
3279
|
id: string;
|
3248
|
-
|
3249
|
-
|
3250
|
-
|
3251
|
-
|
3280
|
+
line?: {
|
3281
|
+
channelId: string;
|
3282
|
+
channelSecret: string;
|
3283
|
+
} | undefined;
|
3252
3284
|
whatsapp?: {
|
3285
|
+
email?: string | null | undefined;
|
3286
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3287
|
+
channelId?: string | null | undefined;
|
3253
3288
|
wabaBusinessId?: string | null | undefined;
|
3254
3289
|
wabaExternalId?: string | null | undefined;
|
3255
3290
|
phoneNumberId?: string | null | undefined;
|
3256
|
-
email?: string | null | undefined;
|
3257
3291
|
clientId?: string | null | undefined;
|
3258
|
-
channelId?: string | null | undefined;
|
3259
3292
|
waapiInstanceId?: string | null | undefined;
|
3260
3293
|
qr?: string | null | undefined;
|
3261
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3262
3294
|
apiKey?: string | undefined;
|
3263
3295
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3264
3296
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3265
3297
|
} | undefined;
|
3298
|
+
additionalCredentials?: any;
|
3299
|
+
accessToken?: string | undefined;
|
3300
|
+
channelSecret?: string | undefined;
|
3301
|
+
senderId?: string | undefined;
|
3266
3302
|
vonageCredentials?: {
|
3267
3303
|
apiKey: string;
|
3268
3304
|
mobileNumber: string;
|
3269
3305
|
apiSecret: string;
|
3270
3306
|
} | undefined;
|
3271
|
-
line?: {
|
3272
|
-
channelId: string;
|
3273
|
-
channelSecret: string;
|
3274
|
-
} | undefined;
|
3275
3307
|
lineRichMenuId?: string | null | undefined;
|
3276
3308
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3277
3309
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3278
3310
|
isCSATEnabled?: boolean | undefined;
|
3311
|
+
config?: any;
|
3279
3312
|
};
|
3280
3313
|
status: boolean;
|
3281
3314
|
createdAt: Date;
|
@@ -3361,7 +3394,6 @@ export declare const smsContract: {
|
|
3361
3394
|
error?: any;
|
3362
3395
|
}>;
|
3363
3396
|
};
|
3364
|
-
path: "/delete/:channelId";
|
3365
3397
|
};
|
3366
3398
|
sendMessage: {
|
3367
3399
|
body: z.ZodObject<{
|
@@ -3372,7 +3404,7 @@ export declare const smsContract: {
|
|
3372
3404
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
3373
3405
|
isLatest: z.ZodBoolean;
|
3374
3406
|
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
3375
|
-
metadata: z.ZodOptional<z.ZodAny
|
3407
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
3376
3408
|
createdAt: z.ZodString;
|
3377
3409
|
updatedAt: z.ZodString;
|
3378
3410
|
platformContact: z.ZodObject<{
|
@@ -3398,28 +3430,28 @@ export declare const smsContract: {
|
|
3398
3430
|
}>;
|
3399
3431
|
contact: z.ZodObject<{
|
3400
3432
|
name: z.ZodString;
|
3401
|
-
address: z.ZodNullable<z.ZodString
|
3433
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3402
3434
|
channel: z.ZodNullable<z.ZodString>;
|
3403
|
-
notes: z.ZodNullable<z.ZodString
|
3435
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3404
3436
|
contactProfile: z.ZodNullable<z.ZodString>;
|
3405
3437
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3406
3438
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3407
3439
|
}, "strip", z.ZodTypeAny, {
|
3408
3440
|
name: string;
|
3409
3441
|
channel: string | null;
|
3410
|
-
address: string | null;
|
3411
3442
|
deletedAt: Date | null;
|
3412
|
-
notes: string | null;
|
3413
3443
|
contactProfile: string | null;
|
3414
3444
|
socialProfileUrl: string | null;
|
3445
|
+
address?: string | null | undefined;
|
3446
|
+
notes?: string | null | undefined;
|
3415
3447
|
}, {
|
3416
3448
|
name: string;
|
3417
3449
|
channel: string | null;
|
3418
|
-
address: string | null;
|
3419
3450
|
deletedAt: Date | null;
|
3420
|
-
notes: string | null;
|
3421
3451
|
contactProfile: string | null;
|
3422
3452
|
socialProfileUrl: string | null;
|
3453
|
+
address?: string | null | undefined;
|
3454
|
+
notes?: string | null | undefined;
|
3423
3455
|
}>;
|
3424
3456
|
}, "strip", z.ZodTypeAny, {
|
3425
3457
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
@@ -3433,11 +3465,11 @@ export declare const smsContract: {
|
|
3433
3465
|
contact: {
|
3434
3466
|
name: string;
|
3435
3467
|
channel: string | null;
|
3436
|
-
address: string | null;
|
3437
3468
|
deletedAt: Date | null;
|
3438
|
-
notes: string | null;
|
3439
3469
|
contactProfile: string | null;
|
3440
3470
|
socialProfileUrl: string | null;
|
3471
|
+
address?: string | null | undefined;
|
3472
|
+
notes?: string | null | undefined;
|
3441
3473
|
};
|
3442
3474
|
channelId: string;
|
3443
3475
|
socialPlatformId: string | null;
|
@@ -3453,16 +3485,16 @@ export declare const smsContract: {
|
|
3453
3485
|
contact: {
|
3454
3486
|
name: string;
|
3455
3487
|
channel: string | null;
|
3456
|
-
address: string | null;
|
3457
3488
|
deletedAt: Date | null;
|
3458
|
-
notes: string | null;
|
3459
3489
|
contactProfile: string | null;
|
3460
3490
|
socialProfileUrl: string | null;
|
3491
|
+
address?: string | null | undefined;
|
3492
|
+
notes?: string | null | undefined;
|
3461
3493
|
};
|
3462
3494
|
channelId: string;
|
3463
3495
|
socialPlatformId: string | null;
|
3464
3496
|
}>;
|
3465
|
-
actor: z.ZodNullable<z.ZodObject<{
|
3497
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3466
3498
|
id: z.ZodString;
|
3467
3499
|
name: z.ZodString;
|
3468
3500
|
email: z.ZodString;
|
@@ -3480,8 +3512,8 @@ export declare const smsContract: {
|
|
3480
3512
|
address: string | null;
|
3481
3513
|
email: string;
|
3482
3514
|
phone: string | null;
|
3483
|
-
}
|
3484
|
-
assignee: z.ZodNullable<z.ZodObject<{
|
3515
|
+
}>>>;
|
3516
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3485
3517
|
id: z.ZodString;
|
3486
3518
|
name: z.ZodString;
|
3487
3519
|
email: z.ZodString;
|
@@ -3493,7 +3525,7 @@ export declare const smsContract: {
|
|
3493
3525
|
name: string;
|
3494
3526
|
id: string;
|
3495
3527
|
email: string;
|
3496
|
-
}
|
3528
|
+
}>>>;
|
3497
3529
|
channel: z.ZodObject<{
|
3498
3530
|
id: z.ZodString;
|
3499
3531
|
name: z.ZodString;
|
@@ -3519,28 +3551,28 @@ export declare const smsContract: {
|
|
3519
3551
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
3520
3552
|
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
3521
3553
|
}, "strip", z.ZodTypeAny, {
|
3554
|
+
email?: string | null | undefined;
|
3555
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3556
|
+
channelId?: string | null | undefined;
|
3522
3557
|
wabaBusinessId?: string | null | undefined;
|
3523
3558
|
wabaExternalId?: string | null | undefined;
|
3524
3559
|
phoneNumberId?: string | null | undefined;
|
3525
|
-
email?: string | null | undefined;
|
3526
3560
|
clientId?: string | null | undefined;
|
3527
|
-
channelId?: string | null | undefined;
|
3528
3561
|
waapiInstanceId?: string | null | undefined;
|
3529
3562
|
qr?: string | null | undefined;
|
3530
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3531
3563
|
apiKey?: string | undefined;
|
3532
3564
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3533
3565
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3534
3566
|
}, {
|
3567
|
+
email?: string | null | undefined;
|
3568
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3569
|
+
channelId?: string | null | undefined;
|
3535
3570
|
wabaBusinessId?: string | null | undefined;
|
3536
3571
|
wabaExternalId?: string | null | undefined;
|
3537
3572
|
phoneNumberId?: string | null | undefined;
|
3538
|
-
email?: string | null | undefined;
|
3539
3573
|
clientId?: string | null | undefined;
|
3540
|
-
channelId?: string | null | undefined;
|
3541
3574
|
waapiInstanceId?: string | null | undefined;
|
3542
3575
|
qr?: string | null | undefined;
|
3543
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3544
3576
|
apiKey?: string | undefined;
|
3545
3577
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3546
3578
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
@@ -3572,74 +3604,77 @@ export declare const smsContract: {
|
|
3572
3604
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
3573
3605
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
3574
3606
|
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
3607
|
+
config: z.ZodOptional<z.ZodAny>;
|
3575
3608
|
}, "strip", z.ZodTypeAny, {
|
3576
3609
|
name: string;
|
3577
3610
|
id: string;
|
3578
|
-
|
3579
|
-
|
3580
|
-
|
3581
|
-
|
3611
|
+
line?: {
|
3612
|
+
channelId: string;
|
3613
|
+
channelSecret: string;
|
3614
|
+
} | undefined;
|
3582
3615
|
whatsapp?: {
|
3616
|
+
email?: string | null | undefined;
|
3617
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3618
|
+
channelId?: string | null | undefined;
|
3583
3619
|
wabaBusinessId?: string | null | undefined;
|
3584
3620
|
wabaExternalId?: string | null | undefined;
|
3585
3621
|
phoneNumberId?: string | null | undefined;
|
3586
|
-
email?: string | null | undefined;
|
3587
3622
|
clientId?: string | null | undefined;
|
3588
|
-
channelId?: string | null | undefined;
|
3589
3623
|
waapiInstanceId?: string | null | undefined;
|
3590
3624
|
qr?: string | null | undefined;
|
3591
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3592
3625
|
apiKey?: string | undefined;
|
3593
3626
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3594
3627
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3595
3628
|
} | undefined;
|
3629
|
+
additionalCredentials?: any;
|
3630
|
+
accessToken?: string | undefined;
|
3631
|
+
channelSecret?: string | undefined;
|
3632
|
+
senderId?: string | undefined;
|
3596
3633
|
vonageCredentials?: {
|
3597
3634
|
apiKey: string;
|
3598
3635
|
mobileNumber: string;
|
3599
3636
|
apiSecret: string;
|
3600
3637
|
} | undefined;
|
3601
|
-
line?: {
|
3602
|
-
channelId: string;
|
3603
|
-
channelSecret: string;
|
3604
|
-
} | undefined;
|
3605
3638
|
lineRichMenuId?: string | null | undefined;
|
3606
3639
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3607
3640
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3608
3641
|
isCSATEnabled?: boolean | undefined;
|
3642
|
+
config?: any;
|
3609
3643
|
}, {
|
3610
3644
|
name: string;
|
3611
3645
|
id: string;
|
3612
|
-
|
3613
|
-
|
3614
|
-
|
3615
|
-
|
3646
|
+
line?: {
|
3647
|
+
channelId: string;
|
3648
|
+
channelSecret: string;
|
3649
|
+
} | undefined;
|
3616
3650
|
whatsapp?: {
|
3651
|
+
email?: string | null | undefined;
|
3652
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3653
|
+
channelId?: string | null | undefined;
|
3617
3654
|
wabaBusinessId?: string | null | undefined;
|
3618
3655
|
wabaExternalId?: string | null | undefined;
|
3619
3656
|
phoneNumberId?: string | null | undefined;
|
3620
|
-
email?: string | null | undefined;
|
3621
3657
|
clientId?: string | null | undefined;
|
3622
|
-
channelId?: string | null | undefined;
|
3623
3658
|
waapiInstanceId?: string | null | undefined;
|
3624
3659
|
qr?: string | null | undefined;
|
3625
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3626
3660
|
apiKey?: string | undefined;
|
3627
3661
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3628
3662
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3629
3663
|
} | undefined;
|
3664
|
+
additionalCredentials?: any;
|
3665
|
+
accessToken?: string | undefined;
|
3666
|
+
channelSecret?: string | undefined;
|
3667
|
+
senderId?: string | undefined;
|
3630
3668
|
vonageCredentials?: {
|
3631
3669
|
apiKey: string;
|
3632
3670
|
mobileNumber: string;
|
3633
3671
|
apiSecret: string;
|
3634
3672
|
} | undefined;
|
3635
|
-
line?: {
|
3636
|
-
channelId: string;
|
3637
|
-
channelSecret: string;
|
3638
|
-
} | undefined;
|
3639
3673
|
lineRichMenuId?: string | null | undefined;
|
3640
3674
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3641
3675
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3642
3676
|
isCSATEnabled?: boolean | undefined;
|
3677
|
+
config?: any;
|
3643
3678
|
}>;
|
3644
3679
|
platformId: z.ZodString;
|
3645
3680
|
brandName: z.ZodString;
|
@@ -3673,44 +3708,42 @@ export declare const smsContract: {
|
|
3673
3708
|
metadata: {
|
3674
3709
|
name: string;
|
3675
3710
|
id: string;
|
3676
|
-
|
3677
|
-
|
3678
|
-
|
3679
|
-
|
3711
|
+
line?: {
|
3712
|
+
channelId: string;
|
3713
|
+
channelSecret: string;
|
3714
|
+
} | undefined;
|
3680
3715
|
whatsapp?: {
|
3716
|
+
email?: string | null | undefined;
|
3717
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3718
|
+
channelId?: string | null | undefined;
|
3681
3719
|
wabaBusinessId?: string | null | undefined;
|
3682
3720
|
wabaExternalId?: string | null | undefined;
|
3683
3721
|
phoneNumberId?: string | null | undefined;
|
3684
|
-
email?: string | null | undefined;
|
3685
3722
|
clientId?: string | null | undefined;
|
3686
|
-
channelId?: string | null | undefined;
|
3687
3723
|
waapiInstanceId?: string | null | undefined;
|
3688
3724
|
qr?: string | null | undefined;
|
3689
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3690
3725
|
apiKey?: string | undefined;
|
3691
3726
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3692
3727
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3693
3728
|
} | undefined;
|
3729
|
+
additionalCredentials?: any;
|
3730
|
+
accessToken?: string | undefined;
|
3731
|
+
channelSecret?: string | undefined;
|
3732
|
+
senderId?: string | undefined;
|
3694
3733
|
vonageCredentials?: {
|
3695
3734
|
apiKey: string;
|
3696
3735
|
mobileNumber: string;
|
3697
3736
|
apiSecret: string;
|
3698
3737
|
} | undefined;
|
3699
|
-
line?: {
|
3700
|
-
channelId: string;
|
3701
|
-
channelSecret: string;
|
3702
|
-
} | undefined;
|
3703
3738
|
lineRichMenuId?: string | null | undefined;
|
3704
3739
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3705
3740
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3706
3741
|
isCSATEnabled?: boolean | undefined;
|
3742
|
+
config?: any;
|
3707
3743
|
};
|
3708
3744
|
status: boolean;
|
3709
3745
|
brandName: string;
|
3710
3746
|
platformId: string;
|
3711
|
-
connectedUserName?: string | null | undefined;
|
3712
|
-
connectedUserId?: string | null | undefined;
|
3713
|
-
lineRichMenuId?: string | null | undefined;
|
3714
3747
|
actor?: {
|
3715
3748
|
name: string;
|
3716
3749
|
id: string;
|
@@ -3718,6 +3751,9 @@ export declare const smsContract: {
|
|
3718
3751
|
email: string;
|
3719
3752
|
phone: string | null;
|
3720
3753
|
} | undefined;
|
3754
|
+
lineRichMenuId?: string | null | undefined;
|
3755
|
+
connectedUserName?: string | null | undefined;
|
3756
|
+
connectedUserId?: string | null | undefined;
|
3721
3757
|
}, {
|
3722
3758
|
name: string;
|
3723
3759
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
@@ -3725,44 +3761,42 @@ export declare const smsContract: {
|
|
3725
3761
|
metadata: {
|
3726
3762
|
name: string;
|
3727
3763
|
id: string;
|
3728
|
-
|
3729
|
-
|
3730
|
-
|
3731
|
-
|
3764
|
+
line?: {
|
3765
|
+
channelId: string;
|
3766
|
+
channelSecret: string;
|
3767
|
+
} | undefined;
|
3732
3768
|
whatsapp?: {
|
3769
|
+
email?: string | null | undefined;
|
3770
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3771
|
+
channelId?: string | null | undefined;
|
3733
3772
|
wabaBusinessId?: string | null | undefined;
|
3734
3773
|
wabaExternalId?: string | null | undefined;
|
3735
3774
|
phoneNumberId?: string | null | undefined;
|
3736
|
-
email?: string | null | undefined;
|
3737
3775
|
clientId?: string | null | undefined;
|
3738
|
-
channelId?: string | null | undefined;
|
3739
3776
|
waapiInstanceId?: string | null | undefined;
|
3740
3777
|
qr?: string | null | undefined;
|
3741
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3742
3778
|
apiKey?: string | undefined;
|
3743
3779
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3744
3780
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3745
3781
|
} | undefined;
|
3782
|
+
additionalCredentials?: any;
|
3783
|
+
accessToken?: string | undefined;
|
3784
|
+
channelSecret?: string | undefined;
|
3785
|
+
senderId?: string | undefined;
|
3746
3786
|
vonageCredentials?: {
|
3747
3787
|
apiKey: string;
|
3748
3788
|
mobileNumber: string;
|
3749
3789
|
apiSecret: string;
|
3750
3790
|
} | undefined;
|
3751
|
-
line?: {
|
3752
|
-
channelId: string;
|
3753
|
-
channelSecret: string;
|
3754
|
-
} | undefined;
|
3755
3791
|
lineRichMenuId?: string | null | undefined;
|
3756
3792
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3757
3793
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3758
3794
|
isCSATEnabled?: boolean | undefined;
|
3795
|
+
config?: any;
|
3759
3796
|
};
|
3760
3797
|
status: boolean;
|
3761
3798
|
brandName: string;
|
3762
3799
|
platformId: string;
|
3763
|
-
connectedUserName?: string | null | undefined;
|
3764
|
-
connectedUserId?: string | null | undefined;
|
3765
|
-
lineRichMenuId?: string | null | undefined;
|
3766
3800
|
actor?: {
|
3767
3801
|
name: string;
|
3768
3802
|
id: string;
|
@@ -3770,6 +3804,9 @@ export declare const smsContract: {
|
|
3770
3804
|
email: string;
|
3771
3805
|
phone: string | null;
|
3772
3806
|
} | undefined;
|
3807
|
+
lineRichMenuId?: string | null | undefined;
|
3808
|
+
connectedUserName?: string | null | undefined;
|
3809
|
+
connectedUserId?: string | null | undefined;
|
3773
3810
|
}>;
|
3774
3811
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
3775
3812
|
whatsappTemplateName: z.ZodOptional<z.ZodString>;
|
@@ -3784,44 +3821,42 @@ export declare const smsContract: {
|
|
3784
3821
|
metadata: {
|
3785
3822
|
name: string;
|
3786
3823
|
id: string;
|
3787
|
-
|
3788
|
-
|
3789
|
-
|
3790
|
-
|
3824
|
+
line?: {
|
3825
|
+
channelId: string;
|
3826
|
+
channelSecret: string;
|
3827
|
+
} | undefined;
|
3791
3828
|
whatsapp?: {
|
3829
|
+
email?: string | null | undefined;
|
3830
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3831
|
+
channelId?: string | null | undefined;
|
3792
3832
|
wabaBusinessId?: string | null | undefined;
|
3793
3833
|
wabaExternalId?: string | null | undefined;
|
3794
3834
|
phoneNumberId?: string | null | undefined;
|
3795
|
-
email?: string | null | undefined;
|
3796
3835
|
clientId?: string | null | undefined;
|
3797
|
-
channelId?: string | null | undefined;
|
3798
3836
|
waapiInstanceId?: string | null | undefined;
|
3799
3837
|
qr?: string | null | undefined;
|
3800
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3801
3838
|
apiKey?: string | undefined;
|
3802
3839
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3803
3840
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3804
3841
|
} | undefined;
|
3842
|
+
additionalCredentials?: any;
|
3843
|
+
accessToken?: string | undefined;
|
3844
|
+
channelSecret?: string | undefined;
|
3845
|
+
senderId?: string | undefined;
|
3805
3846
|
vonageCredentials?: {
|
3806
3847
|
apiKey: string;
|
3807
3848
|
mobileNumber: string;
|
3808
3849
|
apiSecret: string;
|
3809
3850
|
} | undefined;
|
3810
|
-
line?: {
|
3811
|
-
channelId: string;
|
3812
|
-
channelSecret: string;
|
3813
|
-
} | undefined;
|
3814
3851
|
lineRichMenuId?: string | null | undefined;
|
3815
3852
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3816
3853
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3817
3854
|
isCSATEnabled?: boolean | undefined;
|
3855
|
+
config?: any;
|
3818
3856
|
};
|
3819
3857
|
status: boolean;
|
3820
3858
|
brandName: string;
|
3821
3859
|
platformId: string;
|
3822
|
-
connectedUserName?: string | null | undefined;
|
3823
|
-
connectedUserId?: string | null | undefined;
|
3824
|
-
lineRichMenuId?: string | null | undefined;
|
3825
3860
|
actor?: {
|
3826
3861
|
name: string;
|
3827
3862
|
id: string;
|
@@ -3829,17 +3864,13 @@ export declare const smsContract: {
|
|
3829
3864
|
email: string;
|
3830
3865
|
phone: string | null;
|
3831
3866
|
} | undefined;
|
3867
|
+
lineRichMenuId?: string | null | undefined;
|
3868
|
+
connectedUserName?: string | null | undefined;
|
3869
|
+
connectedUserId?: string | null | undefined;
|
3832
3870
|
};
|
3833
3871
|
direction: "incoming" | "outgoing" | "system";
|
3834
3872
|
createdAt: string;
|
3835
3873
|
updatedAt: string;
|
3836
|
-
actor: {
|
3837
|
-
name: string;
|
3838
|
-
id: string;
|
3839
|
-
address: string | null;
|
3840
|
-
email: string;
|
3841
|
-
phone: string | null;
|
3842
|
-
} | null;
|
3843
3874
|
isLatest: boolean;
|
3844
3875
|
platformContact: {
|
3845
3876
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
@@ -3853,24 +3884,31 @@ export declare const smsContract: {
|
|
3853
3884
|
contact: {
|
3854
3885
|
name: string;
|
3855
3886
|
channel: string | null;
|
3856
|
-
address: string | null;
|
3857
3887
|
deletedAt: Date | null;
|
3858
|
-
notes: string | null;
|
3859
3888
|
contactProfile: string | null;
|
3860
3889
|
socialProfileUrl: string | null;
|
3890
|
+
address?: string | null | undefined;
|
3891
|
+
notes?: string | null | undefined;
|
3861
3892
|
};
|
3862
3893
|
channelId: string;
|
3863
3894
|
socialPlatformId: string | null;
|
3864
3895
|
};
|
3865
|
-
|
3896
|
+
isBotRoom: boolean | null;
|
3897
|
+
metadata?: any;
|
3898
|
+
actor?: {
|
3866
3899
|
name: string;
|
3867
3900
|
id: string;
|
3901
|
+
address: string | null;
|
3868
3902
|
email: string;
|
3869
|
-
|
3870
|
-
|
3903
|
+
phone: string | null;
|
3904
|
+
} | null | undefined;
|
3871
3905
|
lastMessage?: string | undefined;
|
3872
3906
|
handleTime?: number | undefined;
|
3873
|
-
|
3907
|
+
assignee?: {
|
3908
|
+
name: string;
|
3909
|
+
id: string;
|
3910
|
+
email: string;
|
3911
|
+
} | null | undefined;
|
3874
3912
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
3875
3913
|
whatsappTemplateName?: string | undefined;
|
3876
3914
|
telegramBusinessConnectionId?: string | null | undefined;
|
@@ -3883,44 +3921,42 @@ export declare const smsContract: {
|
|
3883
3921
|
metadata: {
|
3884
3922
|
name: string;
|
3885
3923
|
id: string;
|
3886
|
-
|
3887
|
-
|
3888
|
-
|
3889
|
-
|
3924
|
+
line?: {
|
3925
|
+
channelId: string;
|
3926
|
+
channelSecret: string;
|
3927
|
+
} | undefined;
|
3890
3928
|
whatsapp?: {
|
3929
|
+
email?: string | null | undefined;
|
3930
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3931
|
+
channelId?: string | null | undefined;
|
3891
3932
|
wabaBusinessId?: string | null | undefined;
|
3892
3933
|
wabaExternalId?: string | null | undefined;
|
3893
3934
|
phoneNumberId?: string | null | undefined;
|
3894
|
-
email?: string | null | undefined;
|
3895
3935
|
clientId?: string | null | undefined;
|
3896
|
-
channelId?: string | null | undefined;
|
3897
3936
|
waapiInstanceId?: string | null | undefined;
|
3898
3937
|
qr?: string | null | undefined;
|
3899
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3900
3938
|
apiKey?: string | undefined;
|
3901
3939
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3902
3940
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3903
3941
|
} | undefined;
|
3942
|
+
additionalCredentials?: any;
|
3943
|
+
accessToken?: string | undefined;
|
3944
|
+
channelSecret?: string | undefined;
|
3945
|
+
senderId?: string | undefined;
|
3904
3946
|
vonageCredentials?: {
|
3905
3947
|
apiKey: string;
|
3906
3948
|
mobileNumber: string;
|
3907
3949
|
apiSecret: string;
|
3908
3950
|
} | undefined;
|
3909
|
-
line?: {
|
3910
|
-
channelId: string;
|
3911
|
-
channelSecret: string;
|
3912
|
-
} | undefined;
|
3913
3951
|
lineRichMenuId?: string | null | undefined;
|
3914
3952
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3915
3953
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3916
3954
|
isCSATEnabled?: boolean | undefined;
|
3955
|
+
config?: any;
|
3917
3956
|
};
|
3918
3957
|
status: boolean;
|
3919
3958
|
brandName: string;
|
3920
3959
|
platformId: string;
|
3921
|
-
connectedUserName?: string | null | undefined;
|
3922
|
-
connectedUserId?: string | null | undefined;
|
3923
|
-
lineRichMenuId?: string | null | undefined;
|
3924
3960
|
actor?: {
|
3925
3961
|
name: string;
|
3926
3962
|
id: string;
|
@@ -3928,17 +3964,13 @@ export declare const smsContract: {
|
|
3928
3964
|
email: string;
|
3929
3965
|
phone: string | null;
|
3930
3966
|
} | undefined;
|
3967
|
+
lineRichMenuId?: string | null | undefined;
|
3968
|
+
connectedUserName?: string | null | undefined;
|
3969
|
+
connectedUserId?: string | null | undefined;
|
3931
3970
|
};
|
3932
3971
|
direction: "incoming" | "outgoing" | "system";
|
3933
3972
|
createdAt: string;
|
3934
3973
|
updatedAt: string;
|
3935
|
-
actor: {
|
3936
|
-
name: string;
|
3937
|
-
id: string;
|
3938
|
-
address: string | null;
|
3939
|
-
email: string;
|
3940
|
-
phone: string | null;
|
3941
|
-
} | null;
|
3942
3974
|
isLatest: boolean;
|
3943
3975
|
platformContact: {
|
3944
3976
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
@@ -3952,27 +3984,34 @@ export declare const smsContract: {
|
|
3952
3984
|
contact: {
|
3953
3985
|
name: string;
|
3954
3986
|
channel: string | null;
|
3955
|
-
address: string | null;
|
3956
3987
|
deletedAt: Date | null;
|
3957
|
-
notes: string | null;
|
3958
3988
|
contactProfile: string | null;
|
3959
3989
|
socialProfileUrl: string | null;
|
3990
|
+
address?: string | null | undefined;
|
3991
|
+
notes?: string | null | undefined;
|
3960
3992
|
};
|
3961
3993
|
channelId: string;
|
3962
3994
|
socialPlatformId: string | null;
|
3963
3995
|
};
|
3964
|
-
|
3996
|
+
metadata?: any;
|
3997
|
+
actor?: {
|
3965
3998
|
name: string;
|
3966
3999
|
id: string;
|
4000
|
+
address: string | null;
|
3967
4001
|
email: string;
|
3968
|
-
|
4002
|
+
phone: string | null;
|
4003
|
+
} | null | undefined;
|
3969
4004
|
lastMessage?: string | undefined;
|
3970
4005
|
handleTime?: number | undefined;
|
3971
|
-
|
4006
|
+
assignee?: {
|
4007
|
+
name: string;
|
4008
|
+
id: string;
|
4009
|
+
email: string;
|
4010
|
+
} | null | undefined;
|
4011
|
+
isBotRoom?: boolean | null | undefined;
|
3972
4012
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
3973
4013
|
whatsappTemplateName?: string | undefined;
|
3974
4014
|
telegramBusinessConnectionId?: string | null | undefined;
|
3975
|
-
isBotRoom?: boolean | null | undefined;
|
3976
4015
|
}>;
|
3977
4016
|
message: z.ZodObject<{
|
3978
4017
|
id: z.ZodOptional<z.ZodString>;
|
@@ -3984,12 +4023,12 @@ export declare const smsContract: {
|
|
3984
4023
|
platformId: z.ZodOptional<z.ZodString>;
|
3985
4024
|
platformMessageId: z.ZodOptional<z.ZodString>;
|
3986
4025
|
replyPlatformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3987
|
-
template: z.ZodOptional<z.ZodAny
|
4026
|
+
template: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
3988
4027
|
locale: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mm", "en", "th", ""]>>>;
|
3989
4028
|
url: z.ZodOptional<z.ZodString>;
|
3990
4029
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3991
4030
|
imageSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3992
|
-
upload: z.ZodOptional<z.ZodObject<{
|
4031
|
+
upload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3993
4032
|
bucketName: z.ZodString;
|
3994
4033
|
fileName: z.ZodString;
|
3995
4034
|
fileSize: z.ZodNumber;
|
@@ -4007,8 +4046,8 @@ export declare const smsContract: {
|
|
4007
4046
|
bucketName: string;
|
4008
4047
|
fileSize: number;
|
4009
4048
|
originalUrl?: string | undefined;
|
4010
|
-
}
|
4011
|
-
sender: z.ZodOptional<z.ZodObject<{
|
4049
|
+
}>>>;
|
4050
|
+
sender: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
4012
4051
|
id: z.ZodString;
|
4013
4052
|
name: z.ZodString;
|
4014
4053
|
email: z.ZodString;
|
@@ -4026,9 +4065,9 @@ export declare const smsContract: {
|
|
4026
4065
|
address: string | null;
|
4027
4066
|
email: string;
|
4028
4067
|
phone: string | null;
|
4029
|
-
}
|
4030
|
-
parentMessageId: z.ZodOptional<z.ZodString
|
4031
|
-
feedPostId: z.ZodOptional<z.ZodString
|
4068
|
+
}>>>;
|
4069
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4070
|
+
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4032
4071
|
editedMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4033
4072
|
isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
4034
4073
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
@@ -4036,110 +4075,110 @@ export declare const smsContract: {
|
|
4036
4075
|
}, "strip", z.ZodTypeAny, {
|
4037
4076
|
type: string;
|
4038
4077
|
direction: "incoming" | "outgoing" | "system";
|
4039
|
-
id?: string | undefined;
|
4040
4078
|
message?: string | undefined;
|
4041
|
-
|
4042
|
-
metadata?: any;
|
4043
|
-
platformId?: string | undefined;
|
4044
|
-
platformMessageId?: string | undefined;
|
4045
|
-
replyPlatformMessageId?: string | null | undefined;
|
4046
|
-
template?: any;
|
4047
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4079
|
+
id?: string | undefined;
|
4048
4080
|
url?: string | undefined;
|
4049
|
-
|
4050
|
-
|
4081
|
+
label?: string | undefined;
|
4082
|
+
template?: any;
|
4083
|
+
metadata?: any;
|
4051
4084
|
upload?: {
|
4052
4085
|
fileName: string;
|
4053
4086
|
fileKey: string;
|
4054
4087
|
bucketName: string;
|
4055
4088
|
fileSize: number;
|
4056
4089
|
originalUrl?: string | undefined;
|
4057
|
-
} | undefined;
|
4090
|
+
} | null | undefined;
|
4091
|
+
platformId?: string | undefined;
|
4092
|
+
platformMessageId?: string | undefined;
|
4093
|
+
readAt?: string | Date | null | undefined;
|
4094
|
+
replyPlatformMessageId?: string | null | undefined;
|
4095
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4096
|
+
previewUrl?: string | null | undefined;
|
4097
|
+
imageSetId?: string | null | undefined;
|
4058
4098
|
sender?: {
|
4059
4099
|
name: string;
|
4060
4100
|
id: string;
|
4061
4101
|
address: string | null;
|
4062
4102
|
email: string;
|
4063
4103
|
phone: string | null;
|
4064
|
-
} | undefined;
|
4065
|
-
parentMessageId?: string | undefined;
|
4066
|
-
feedPostId?: string | undefined;
|
4104
|
+
} | null | undefined;
|
4105
|
+
parentMessageId?: string | null | undefined;
|
4106
|
+
feedPostId?: string | null | undefined;
|
4067
4107
|
editedMessageId?: string | null | undefined;
|
4068
4108
|
isEdited?: boolean | null | undefined;
|
4069
4109
|
editedAt?: string | Date | null | undefined;
|
4070
|
-
label?: string | undefined;
|
4071
4110
|
}, {
|
4072
4111
|
type: string;
|
4073
4112
|
direction: "incoming" | "outgoing" | "system";
|
4074
|
-
id?: string | undefined;
|
4075
4113
|
message?: string | undefined;
|
4076
|
-
|
4077
|
-
metadata?: any;
|
4078
|
-
platformId?: string | undefined;
|
4079
|
-
platformMessageId?: string | undefined;
|
4080
|
-
replyPlatformMessageId?: string | null | undefined;
|
4081
|
-
template?: any;
|
4082
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4114
|
+
id?: string | undefined;
|
4083
4115
|
url?: string | undefined;
|
4084
|
-
|
4085
|
-
|
4116
|
+
label?: string | undefined;
|
4117
|
+
template?: any;
|
4118
|
+
metadata?: any;
|
4086
4119
|
upload?: {
|
4087
4120
|
fileName: string;
|
4088
4121
|
fileKey: string;
|
4089
4122
|
bucketName: string;
|
4090
4123
|
fileSize: number;
|
4091
4124
|
originalUrl?: string | undefined;
|
4092
|
-
} | undefined;
|
4125
|
+
} | null | undefined;
|
4126
|
+
platformId?: string | undefined;
|
4127
|
+
platformMessageId?: string | undefined;
|
4128
|
+
readAt?: string | Date | null | undefined;
|
4129
|
+
replyPlatformMessageId?: string | null | undefined;
|
4130
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4131
|
+
previewUrl?: string | null | undefined;
|
4132
|
+
imageSetId?: string | null | undefined;
|
4093
4133
|
sender?: {
|
4094
4134
|
name: string;
|
4095
4135
|
id: string;
|
4096
4136
|
address: string | null;
|
4097
4137
|
email: string;
|
4098
4138
|
phone: string | null;
|
4099
|
-
} | undefined;
|
4100
|
-
parentMessageId?: string | undefined;
|
4101
|
-
feedPostId?: string | undefined;
|
4139
|
+
} | null | undefined;
|
4140
|
+
parentMessageId?: string | null | undefined;
|
4141
|
+
feedPostId?: string | null | undefined;
|
4102
4142
|
editedMessageId?: string | null | undefined;
|
4103
4143
|
isEdited?: boolean | null | undefined;
|
4104
4144
|
editedAt?: string | Date | null | undefined;
|
4105
|
-
label?: string | undefined;
|
4106
4145
|
}>;
|
4107
4146
|
}, "strip", z.ZodTypeAny, {
|
4108
4147
|
message: {
|
4109
4148
|
type: string;
|
4110
4149
|
direction: "incoming" | "outgoing" | "system";
|
4111
|
-
id?: string | undefined;
|
4112
4150
|
message?: string | undefined;
|
4113
|
-
|
4114
|
-
metadata?: any;
|
4115
|
-
platformId?: string | undefined;
|
4116
|
-
platformMessageId?: string | undefined;
|
4117
|
-
replyPlatformMessageId?: string | null | undefined;
|
4118
|
-
template?: any;
|
4119
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4151
|
+
id?: string | undefined;
|
4120
4152
|
url?: string | undefined;
|
4121
|
-
|
4122
|
-
|
4153
|
+
label?: string | undefined;
|
4154
|
+
template?: any;
|
4155
|
+
metadata?: any;
|
4123
4156
|
upload?: {
|
4124
4157
|
fileName: string;
|
4125
4158
|
fileKey: string;
|
4126
4159
|
bucketName: string;
|
4127
4160
|
fileSize: number;
|
4128
4161
|
originalUrl?: string | undefined;
|
4129
|
-
} | undefined;
|
4162
|
+
} | null | undefined;
|
4163
|
+
platformId?: string | undefined;
|
4164
|
+
platformMessageId?: string | undefined;
|
4165
|
+
readAt?: string | Date | null | undefined;
|
4166
|
+
replyPlatformMessageId?: string | null | undefined;
|
4167
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4168
|
+
previewUrl?: string | null | undefined;
|
4169
|
+
imageSetId?: string | null | undefined;
|
4130
4170
|
sender?: {
|
4131
4171
|
name: string;
|
4132
4172
|
id: string;
|
4133
4173
|
address: string | null;
|
4134
4174
|
email: string;
|
4135
4175
|
phone: string | null;
|
4136
|
-
} | undefined;
|
4137
|
-
parentMessageId?: string | undefined;
|
4138
|
-
feedPostId?: string | undefined;
|
4176
|
+
} | null | undefined;
|
4177
|
+
parentMessageId?: string | null | undefined;
|
4178
|
+
feedPostId?: string | null | undefined;
|
4139
4179
|
editedMessageId?: string | null | undefined;
|
4140
4180
|
isEdited?: boolean | null | undefined;
|
4141
4181
|
editedAt?: string | Date | null | undefined;
|
4142
|
-
label?: string | undefined;
|
4143
4182
|
};
|
4144
4183
|
room: {
|
4145
4184
|
id: string;
|
@@ -4150,44 +4189,42 @@ export declare const smsContract: {
|
|
4150
4189
|
metadata: {
|
4151
4190
|
name: string;
|
4152
4191
|
id: string;
|
4153
|
-
|
4154
|
-
|
4155
|
-
|
4156
|
-
|
4192
|
+
line?: {
|
4193
|
+
channelId: string;
|
4194
|
+
channelSecret: string;
|
4195
|
+
} | undefined;
|
4157
4196
|
whatsapp?: {
|
4197
|
+
email?: string | null | undefined;
|
4198
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
4199
|
+
channelId?: string | null | undefined;
|
4158
4200
|
wabaBusinessId?: string | null | undefined;
|
4159
4201
|
wabaExternalId?: string | null | undefined;
|
4160
4202
|
phoneNumberId?: string | null | undefined;
|
4161
|
-
email?: string | null | undefined;
|
4162
4203
|
clientId?: string | null | undefined;
|
4163
|
-
channelId?: string | null | undefined;
|
4164
4204
|
waapiInstanceId?: string | null | undefined;
|
4165
4205
|
qr?: string | null | undefined;
|
4166
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
4167
4206
|
apiKey?: string | undefined;
|
4168
4207
|
tier?: "basic" | "regular" | "premium" | undefined;
|
4169
4208
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
4170
4209
|
} | undefined;
|
4210
|
+
additionalCredentials?: any;
|
4211
|
+
accessToken?: string | undefined;
|
4212
|
+
channelSecret?: string | undefined;
|
4213
|
+
senderId?: string | undefined;
|
4171
4214
|
vonageCredentials?: {
|
4172
4215
|
apiKey: string;
|
4173
4216
|
mobileNumber: string;
|
4174
4217
|
apiSecret: string;
|
4175
4218
|
} | undefined;
|
4176
|
-
line?: {
|
4177
|
-
channelId: string;
|
4178
|
-
channelSecret: string;
|
4179
|
-
} | undefined;
|
4180
4219
|
lineRichMenuId?: string | null | undefined;
|
4181
4220
|
messengerIntegrationType?: "own" | "business" | undefined;
|
4182
4221
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
4183
4222
|
isCSATEnabled?: boolean | undefined;
|
4223
|
+
config?: any;
|
4184
4224
|
};
|
4185
4225
|
status: boolean;
|
4186
4226
|
brandName: string;
|
4187
4227
|
platformId: string;
|
4188
|
-
connectedUserName?: string | null | undefined;
|
4189
|
-
connectedUserId?: string | null | undefined;
|
4190
|
-
lineRichMenuId?: string | null | undefined;
|
4191
4228
|
actor?: {
|
4192
4229
|
name: string;
|
4193
4230
|
id: string;
|
@@ -4195,17 +4232,13 @@ export declare const smsContract: {
|
|
4195
4232
|
email: string;
|
4196
4233
|
phone: string | null;
|
4197
4234
|
} | undefined;
|
4235
|
+
lineRichMenuId?: string | null | undefined;
|
4236
|
+
connectedUserName?: string | null | undefined;
|
4237
|
+
connectedUserId?: string | null | undefined;
|
4198
4238
|
};
|
4199
4239
|
direction: "incoming" | "outgoing" | "system";
|
4200
4240
|
createdAt: string;
|
4201
4241
|
updatedAt: string;
|
4202
|
-
actor: {
|
4203
|
-
name: string;
|
4204
|
-
id: string;
|
4205
|
-
address: string | null;
|
4206
|
-
email: string;
|
4207
|
-
phone: string | null;
|
4208
|
-
} | null;
|
4209
4242
|
isLatest: boolean;
|
4210
4243
|
platformContact: {
|
4211
4244
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
@@ -4219,24 +4252,31 @@ export declare const smsContract: {
|
|
4219
4252
|
contact: {
|
4220
4253
|
name: string;
|
4221
4254
|
channel: string | null;
|
4222
|
-
address: string | null;
|
4223
4255
|
deletedAt: Date | null;
|
4224
|
-
notes: string | null;
|
4225
4256
|
contactProfile: string | null;
|
4226
4257
|
socialProfileUrl: string | null;
|
4258
|
+
address?: string | null | undefined;
|
4259
|
+
notes?: string | null | undefined;
|
4227
4260
|
};
|
4228
4261
|
channelId: string;
|
4229
4262
|
socialPlatformId: string | null;
|
4230
4263
|
};
|
4231
|
-
|
4264
|
+
isBotRoom: boolean | null;
|
4265
|
+
metadata?: any;
|
4266
|
+
actor?: {
|
4232
4267
|
name: string;
|
4233
4268
|
id: string;
|
4269
|
+
address: string | null;
|
4234
4270
|
email: string;
|
4235
|
-
|
4236
|
-
|
4271
|
+
phone: string | null;
|
4272
|
+
} | null | undefined;
|
4237
4273
|
lastMessage?: string | undefined;
|
4238
4274
|
handleTime?: number | undefined;
|
4239
|
-
|
4275
|
+
assignee?: {
|
4276
|
+
name: string;
|
4277
|
+
id: string;
|
4278
|
+
email: string;
|
4279
|
+
} | null | undefined;
|
4240
4280
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
4241
4281
|
whatsappTemplateName?: string | undefined;
|
4242
4282
|
telegramBusinessConnectionId?: string | null | undefined;
|
@@ -4246,38 +4286,38 @@ export declare const smsContract: {
|
|
4246
4286
|
message: {
|
4247
4287
|
type: string;
|
4248
4288
|
direction: "incoming" | "outgoing" | "system";
|
4249
|
-
id?: string | undefined;
|
4250
4289
|
message?: string | undefined;
|
4251
|
-
|
4252
|
-
metadata?: any;
|
4253
|
-
platformId?: string | undefined;
|
4254
|
-
platformMessageId?: string | undefined;
|
4255
|
-
replyPlatformMessageId?: string | null | undefined;
|
4256
|
-
template?: any;
|
4257
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4290
|
+
id?: string | undefined;
|
4258
4291
|
url?: string | undefined;
|
4259
|
-
|
4260
|
-
|
4292
|
+
label?: string | undefined;
|
4293
|
+
template?: any;
|
4294
|
+
metadata?: any;
|
4261
4295
|
upload?: {
|
4262
4296
|
fileName: string;
|
4263
4297
|
fileKey: string;
|
4264
4298
|
bucketName: string;
|
4265
4299
|
fileSize: number;
|
4266
4300
|
originalUrl?: string | undefined;
|
4267
|
-
} | undefined;
|
4301
|
+
} | null | undefined;
|
4302
|
+
platformId?: string | undefined;
|
4303
|
+
platformMessageId?: string | undefined;
|
4304
|
+
readAt?: string | Date | null | undefined;
|
4305
|
+
replyPlatformMessageId?: string | null | undefined;
|
4306
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
4307
|
+
previewUrl?: string | null | undefined;
|
4308
|
+
imageSetId?: string | null | undefined;
|
4268
4309
|
sender?: {
|
4269
4310
|
name: string;
|
4270
4311
|
id: string;
|
4271
4312
|
address: string | null;
|
4272
4313
|
email: string;
|
4273
4314
|
phone: string | null;
|
4274
|
-
} | undefined;
|
4275
|
-
parentMessageId?: string | undefined;
|
4276
|
-
feedPostId?: string | undefined;
|
4315
|
+
} | null | undefined;
|
4316
|
+
parentMessageId?: string | null | undefined;
|
4317
|
+
feedPostId?: string | null | undefined;
|
4277
4318
|
editedMessageId?: string | null | undefined;
|
4278
4319
|
isEdited?: boolean | null | undefined;
|
4279
4320
|
editedAt?: string | Date | null | undefined;
|
4280
|
-
label?: string | undefined;
|
4281
4321
|
};
|
4282
4322
|
room: {
|
4283
4323
|
id: string;
|
@@ -4288,44 +4328,42 @@ export declare const smsContract: {
|
|
4288
4328
|
metadata: {
|
4289
4329
|
name: string;
|
4290
4330
|
id: string;
|
4291
|
-
|
4292
|
-
|
4293
|
-
|
4294
|
-
|
4331
|
+
line?: {
|
4332
|
+
channelId: string;
|
4333
|
+
channelSecret: string;
|
4334
|
+
} | undefined;
|
4295
4335
|
whatsapp?: {
|
4336
|
+
email?: string | null | undefined;
|
4337
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
4338
|
+
channelId?: string | null | undefined;
|
4296
4339
|
wabaBusinessId?: string | null | undefined;
|
4297
4340
|
wabaExternalId?: string | null | undefined;
|
4298
4341
|
phoneNumberId?: string | null | undefined;
|
4299
|
-
email?: string | null | undefined;
|
4300
4342
|
clientId?: string | null | undefined;
|
4301
|
-
channelId?: string | null | undefined;
|
4302
4343
|
waapiInstanceId?: string | null | undefined;
|
4303
4344
|
qr?: string | null | undefined;
|
4304
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
4305
4345
|
apiKey?: string | undefined;
|
4306
4346
|
tier?: "basic" | "regular" | "premium" | undefined;
|
4307
4347
|
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
4308
4348
|
} | undefined;
|
4349
|
+
additionalCredentials?: any;
|
4350
|
+
accessToken?: string | undefined;
|
4351
|
+
channelSecret?: string | undefined;
|
4352
|
+
senderId?: string | undefined;
|
4309
4353
|
vonageCredentials?: {
|
4310
4354
|
apiKey: string;
|
4311
4355
|
mobileNumber: string;
|
4312
4356
|
apiSecret: string;
|
4313
4357
|
} | undefined;
|
4314
|
-
line?: {
|
4315
|
-
channelId: string;
|
4316
|
-
channelSecret: string;
|
4317
|
-
} | undefined;
|
4318
4358
|
lineRichMenuId?: string | null | undefined;
|
4319
4359
|
messengerIntegrationType?: "own" | "business" | undefined;
|
4320
4360
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
4321
4361
|
isCSATEnabled?: boolean | undefined;
|
4362
|
+
config?: any;
|
4322
4363
|
};
|
4323
4364
|
status: boolean;
|
4324
4365
|
brandName: string;
|
4325
4366
|
platformId: string;
|
4326
|
-
connectedUserName?: string | null | undefined;
|
4327
|
-
connectedUserId?: string | null | undefined;
|
4328
|
-
lineRichMenuId?: string | null | undefined;
|
4329
4367
|
actor?: {
|
4330
4368
|
name: string;
|
4331
4369
|
id: string;
|
@@ -4333,17 +4371,13 @@ export declare const smsContract: {
|
|
4333
4371
|
email: string;
|
4334
4372
|
phone: string | null;
|
4335
4373
|
} | undefined;
|
4374
|
+
lineRichMenuId?: string | null | undefined;
|
4375
|
+
connectedUserName?: string | null | undefined;
|
4376
|
+
connectedUserId?: string | null | undefined;
|
4336
4377
|
};
|
4337
4378
|
direction: "incoming" | "outgoing" | "system";
|
4338
4379
|
createdAt: string;
|
4339
4380
|
updatedAt: string;
|
4340
|
-
actor: {
|
4341
|
-
name: string;
|
4342
|
-
id: string;
|
4343
|
-
address: string | null;
|
4344
|
-
email: string;
|
4345
|
-
phone: string | null;
|
4346
|
-
} | null;
|
4347
4381
|
isLatest: boolean;
|
4348
4382
|
platformContact: {
|
4349
4383
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
@@ -4357,31 +4391,39 @@ export declare const smsContract: {
|
|
4357
4391
|
contact: {
|
4358
4392
|
name: string;
|
4359
4393
|
channel: string | null;
|
4360
|
-
address: string | null;
|
4361
4394
|
deletedAt: Date | null;
|
4362
|
-
notes: string | null;
|
4363
4395
|
contactProfile: string | null;
|
4364
4396
|
socialProfileUrl: string | null;
|
4397
|
+
address?: string | null | undefined;
|
4398
|
+
notes?: string | null | undefined;
|
4365
4399
|
};
|
4366
4400
|
channelId: string;
|
4367
4401
|
socialPlatformId: string | null;
|
4368
4402
|
};
|
4369
|
-
|
4403
|
+
metadata?: any;
|
4404
|
+
actor?: {
|
4370
4405
|
name: string;
|
4371
4406
|
id: string;
|
4407
|
+
address: string | null;
|
4372
4408
|
email: string;
|
4373
|
-
|
4409
|
+
phone: string | null;
|
4410
|
+
} | null | undefined;
|
4374
4411
|
lastMessage?: string | undefined;
|
4375
4412
|
handleTime?: number | undefined;
|
4376
|
-
|
4413
|
+
assignee?: {
|
4414
|
+
name: string;
|
4415
|
+
id: string;
|
4416
|
+
email: string;
|
4417
|
+
} | null | undefined;
|
4418
|
+
isBotRoom?: boolean | null | undefined;
|
4377
4419
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
4378
4420
|
whatsappTemplateName?: string | undefined;
|
4379
4421
|
telegramBusinessConnectionId?: string | null | undefined;
|
4380
|
-
isBotRoom?: boolean | null | undefined;
|
4381
4422
|
};
|
4382
4423
|
isBot?: boolean | null | undefined;
|
4383
4424
|
}>;
|
4384
4425
|
method: "POST";
|
4426
|
+
path: "/message";
|
4385
4427
|
responses: {
|
4386
4428
|
200: z.ZodObject<{
|
4387
4429
|
requestId: z.ZodString;
|
@@ -4411,12 +4453,12 @@ export declare const smsContract: {
|
|
4411
4453
|
error?: any;
|
4412
4454
|
}>;
|
4413
4455
|
};
|
4414
|
-
path: "/message";
|
4415
4456
|
};
|
4416
4457
|
};
|
4417
4458
|
export declare const smsSettingContract: {
|
4418
4459
|
getSMSNumbers: {
|
4419
4460
|
method: "GET";
|
4461
|
+
path: "ms/sms-setting/sms-numbers";
|
4420
4462
|
responses: {
|
4421
4463
|
200: z.ZodObject<{
|
4422
4464
|
requestId: z.ZodString;
|
@@ -4464,7 +4506,6 @@ export declare const smsSettingContract: {
|
|
4464
4506
|
}[];
|
4465
4507
|
}>;
|
4466
4508
|
};
|
4467
|
-
path: "/sms-setting/sms-numbers";
|
4468
4509
|
};
|
4469
4510
|
};
|
4470
4511
|
//# sourceMappingURL=index.d.ts.map
|