@botonic/core 0.21.2 → 0.21.4
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/lib/cjs/core-bot.js +7 -7
- package/lib/cjs/core-bot.js.map +1 -1
- package/lib/cjs/data-provider/dynamodb-data-provider.js +4 -4
- package/lib/cjs/data-provider/dynamodb-data-provider.js.map +1 -1
- package/lib/cjs/handoff.d.ts +1 -1
- package/lib/cjs/handoff.js +6 -6
- package/lib/cjs/handoff.js.map +1 -1
- package/lib/cjs/hubtype-service.js +5 -5
- package/lib/cjs/hubtype-service.js.map +1 -1
- package/lib/cjs/models/events/botonic-event.d.ts +1 -1
- package/lib/cjs/models/events/message/buttons.d.ts +1 -1
- package/lib/cjs/models/events/message/message-event.js +1 -1
- package/lib/cjs/models/legacy-types.d.ts +55 -52
- package/lib/cjs/models/legacy-types.js +2 -0
- package/lib/cjs/models/legacy-types.js.map +1 -1
- package/lib/cjs/output-parser/botonic-output-parser.js +2 -2
- package/lib/cjs/output-parser/botonic-output-parser.js.map +1 -1
- package/lib/cjs/output-parser/factory.js +10 -10
- package/lib/cjs/output-parser/factory.js.map +1 -1
- package/lib/cjs/output-parser/parsers.d.ts +1 -1
- package/lib/cjs/output-parser/parsers.js +4 -4
- package/lib/cjs/output-parser/parsers.js.map +1 -1
- package/lib/cjs/plugins.d.ts +1 -1
- package/lib/cjs/pusher-utils.js +1 -1
- package/lib/cjs/pusher-utils.js.map +1 -1
- package/lib/cjs/routing/router.js +13 -13
- package/lib/cjs/routing/router.js.map +1 -1
- package/lib/cjs/utils.js +2 -2
- package/lib/cjs/utils.js.map +1 -1
- package/lib/esm/handoff.d.ts +1 -1
- package/lib/esm/handoff.js +1 -1
- package/lib/esm/handoff.js.map +1 -1
- package/lib/esm/hubtype-service.js +2 -2
- package/lib/esm/hubtype-service.js.map +1 -1
- package/lib/esm/models/events/botonic-event.d.ts +1 -1
- package/lib/esm/models/events/message/buttons.d.ts +1 -1
- package/lib/esm/models/events/message/message-event.js +1 -1
- package/lib/esm/models/legacy-types.d.ts +55 -52
- package/lib/esm/models/legacy-types.js +2 -0
- package/lib/esm/models/legacy-types.js.map +1 -1
- package/lib/esm/output-parser/parsers.d.ts +1 -1
- package/lib/esm/plugins.d.ts +1 -1
- package/package.json +1 -1
- package/src/handoff.ts +1 -1
- package/src/hubtype-service.ts +2 -2
- package/src/models/events/message/message-event.ts +1 -1
- package/src/models/legacy-types.ts +4 -0
|
@@ -20,6 +20,7 @@ export const PROVIDER = Object.freeze({
|
|
|
20
20
|
DEV: 'dev',
|
|
21
21
|
FACEBOOK: 'facebook',
|
|
22
22
|
GENERIC: 'generic',
|
|
23
|
+
INSTAGRAM: 'instagram',
|
|
23
24
|
INTERCOM: 'intercom',
|
|
24
25
|
SMOOCH: 'smooch',
|
|
25
26
|
TELEGRAM: 'telegram',
|
|
@@ -126,6 +127,7 @@ export type ProviderType =
|
|
|
126
127
|
| typeof PROVIDER.DEV
|
|
127
128
|
| typeof PROVIDER.FACEBOOK
|
|
128
129
|
| typeof PROVIDER.GENERIC
|
|
130
|
+
| typeof PROVIDER.INSTAGRAM
|
|
129
131
|
| typeof PROVIDER.INTERCOM
|
|
130
132
|
| typeof PROVIDER.SMOOCH
|
|
131
133
|
| typeof PROVIDER.TELEGRAM
|
|
@@ -164,6 +166,7 @@ export interface Session {
|
|
|
164
166
|
_hubtype_case_status?: CaseStatusType
|
|
165
167
|
_hubtype_case_typification?: string
|
|
166
168
|
_shadowing?: boolean
|
|
169
|
+
_access_token?: string
|
|
167
170
|
}
|
|
168
171
|
// eslint-enable @typescript-eslint/naming-convention
|
|
169
172
|
|
|
@@ -243,6 +246,7 @@ export const Providers = Object.freeze({
|
|
|
243
246
|
FACEBOOK: 'facebook',
|
|
244
247
|
GENERIC: 'generic',
|
|
245
248
|
IMBEE: 'imbee',
|
|
249
|
+
INSTAGRAM: 'instagram',
|
|
246
250
|
INTERCOM: 'intercom',
|
|
247
251
|
SMOOCH_WEB: 'smooch_web',
|
|
248
252
|
SMOOCH: 'smooch',
|