-
Notifications
You must be signed in to change notification settings - Fork 180
/
index.ts
44 lines (42 loc) · 1.3 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { ViberAction } from './ViberAction';
import { ViberActionParams } from './ViberActionParams';
import { ViberFileParams } from './ViberFileParams';
import { ViberImageParams } from './ViberImageParams';
import { ViberService } from './ViberService';
import { ViberTextParams } from './ViberTextParams';
import { ViberVideoParams } from './ViberVideoParams';
import { Channels } from "../../../enums";
export * from './ViberAction';
export * from './ViberActionParams';
export * from './ViberFileParams';
export * from './ViberImageParams';
export * from './ViberService';
export * from './ViberTextParams';
export * from './ViberVideoParams';
/**
* Represents a union type that can be any of the Viber-specific message
* parameters or configurations.
*
* @group Viber
* @category Parameters
*/
export type AnyViberParams =
| ViberAction
| ViberActionParams
| ViberFileParams
| ViberImageParams
| ViberService
| ViberTextParams
| ViberVideoParams;
/**
* Represents a union type that includes the 'channel' property set to 'viber'
* along with any of the Viber-specific message parameters or configurations.
*
* @group Viber
*/
export type AnyViberChannel = {
/**
* The channel through which the message will be sent, which is 'viber' for Viber.
*/
channel: Channels.VIBER;
} & AnyViberParams;