@trii/types 2.10.253 → 2.10.255
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/Accounts/accounts.d.ts +88 -88
- package/dist/Accounts/accounts.js +21 -21
- package/dist/Accounts/device.d.ts +21 -21
- package/dist/Accounts/device.js +8 -8
- package/dist/Accounts/index.d.ts +2 -2
- package/dist/Accounts/index.js +2 -2
- package/dist/ApiResponses/index.d.ts +8 -8
- package/dist/ApiResponses/index.js +1 -1
- package/dist/AuditLogs/auditLog.d.ts +7 -7
- package/dist/AuditLogs/auditLog.js +1 -1
- package/dist/AuditLogs/auditLogType.d.ts +5 -5
- package/dist/AuditLogs/auditLogType.js +6 -6
- package/dist/AuditLogs/index.d.ts +2 -2
- package/dist/AuditLogs/index.js +2 -2
- package/dist/Calendar/Event.d.ts +63 -63
- package/dist/Calendar/Event.js +13 -13
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/Common/API/AuthApiKey.d.ts +5 -5
- package/dist/Common/API/AuthApiKey.js +1 -1
- package/dist/Common/API/AuthBasic.d.ts +4 -4
- package/dist/Common/API/AuthBasic.js +1 -1
- package/dist/Common/API/AuthBearer.d.ts +5 -5
- package/dist/Common/API/AuthBearer.js +1 -1
- package/dist/Common/API/AuthType.d.ts +6 -6
- package/dist/Common/API/AuthType.js +7 -7
- package/dist/Common/API/Method.d.ts +4 -4
- package/dist/Common/API/Method.js +5 -5
- package/dist/Common/API/index.d.ts +5 -5
- package/dist/Common/API/index.js +5 -5
- package/dist/Common/Channels/Channel.d.ts +42 -42
- package/dist/Common/Channels/Channel.js +1 -1
- package/dist/Common/Channels/ChannelType.d.ts +23 -23
- package/dist/Common/Channels/ChannelType.js +24 -24
- package/dist/Common/Channels/Email.d.ts +38 -38
- package/dist/Common/Channels/Email.js +26 -26
- package/dist/Common/Channels/Facebook.d.ts +22 -22
- package/dist/Common/Channels/Facebook.js +2 -2
- package/dist/Common/Channels/Form.d.ts +52 -52
- package/dist/Common/Channels/Form.js +25 -25
- package/dist/Common/Channels/GoogleBusiness.d.ts +15 -15
- package/dist/Common/Channels/GoogleBusiness.js +2 -2
- package/dist/Common/Channels/Instagram.d.ts +21 -21
- package/dist/Common/Channels/Instagram.js +2 -2
- package/dist/Common/Channels/MercadoLibre.d.ts +22 -22
- package/dist/Common/Channels/MercadoLibre.js +4 -4
- package/dist/Common/Channels/Pbx.d.ts +2 -2
- package/dist/Common/Channels/Pbx.js +2 -2
- package/dist/Common/Channels/Permission.d.ts +5 -5
- package/dist/Common/Channels/Permission.js +2 -2
- package/dist/Common/Channels/Sip.d.ts +2 -2
- package/dist/Common/Channels/Sip.js +2 -2
- package/dist/Common/Channels/Sms.d.ts +36 -36
- package/dist/Common/Channels/Sms.js +10 -10
- package/dist/Common/Channels/WebChat.d.ts +60 -60
- package/dist/Common/Channels/WebChat.js +14 -14
- package/dist/Common/Channels/WhatsApp.d.ts +33 -33
- package/dist/Common/Channels/WhatsApp.js +9 -9
- package/dist/Common/Channels/index.d.ts +14 -14
- package/dist/Common/Channels/index.js +14 -14
- package/dist/Common/EventsQueue/EventQueue.d.ts +6 -6
- package/dist/Common/EventsQueue/EventQueue.js +1 -1
- package/dist/Common/EventsQueue/index.d.ts +1 -1
- package/dist/Common/EventsQueue/index.js +1 -1
- package/dist/Common/Messages/MediaFile.d.ts +5 -5
- package/dist/Common/Messages/MediaFile.js +1 -1
- package/dist/Common/Messages/Message.d.ts +306 -305
- package/dist/Common/Messages/Message.js +39 -39
- package/dist/Common/Messages/index.d.ts +2 -2
- package/dist/Common/Messages/index.js +2 -2
- package/dist/Common/Notifications/Notification.d.ts +19 -19
- package/dist/Common/Notifications/Notification.js +7 -7
- package/dist/Common/Notifications/index.d.ts +1 -1
- package/dist/Common/Notifications/index.js +1 -1
- package/dist/Common/Schedules/Schedules.d.ts +32 -32
- package/dist/Common/Schedules/Schedules.js +1 -1
- package/dist/Common/Schedules/index.d.ts +1 -1
- package/dist/Common/Schedules/index.js +1 -1
- package/dist/Common/index.d.ts +6 -6
- package/dist/Common/index.js +12 -12
- package/dist/Contacts/File.d.ts +17 -17
- package/dist/Contacts/File.js +1 -1
- package/dist/Contacts/Label.d.ts +9 -9
- package/dist/Contacts/Label.js +1 -1
- package/dist/Contacts/Note.d.ts +15 -15
- package/dist/Contacts/Note.js +1 -1
- package/dist/Contacts/contacts.d.ts +217 -217
- package/dist/Contacts/contacts.js +39 -39
- package/dist/Contacts/index.d.ts +5 -5
- package/dist/Contacts/index.js +5 -5
- package/dist/Contacts/segments.d.ts +51 -51
- package/dist/Contacts/segments.js +49 -49
- package/dist/Conversations/Conversation.d.ts +75 -66
- package/dist/Conversations/Conversation.js +34 -26
- package/dist/Conversations/Ending.d.ts +11 -11
- package/dist/Conversations/Ending.js +1 -1
- package/dist/Conversations/Flows/Flow.d.ts +104 -104
- package/dist/Conversations/Flows/Flow.js +36 -36
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +20 -20
- package/dist/Conversations/Flows/Nodes/NodeApi.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +21 -21
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +16 -16
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +8 -8
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -7
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +4 -4
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +15 -15
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +11 -11
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +4 -4
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +22 -22
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -9
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +40 -40
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +25 -25
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +44 -44
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +31 -31
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +7 -7
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +14 -14
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +8 -8
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +32 -32
- package/dist/Conversations/Flows/Nodes/NodeStart.js +184 -184
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +2 -2
- package/dist/Conversations/Flows/Nodes/index.d.ts +18 -18
- package/dist/Conversations/Flows/Nodes/index.js +18 -18
- package/dist/Conversations/Flows/index.d.ts +2 -2
- package/dist/Conversations/Flows/index.js +3 -3
- package/dist/Conversations/Groups/Group.d.ts +23 -23
- package/dist/Conversations/Groups/Group.js +6 -6
- package/dist/Conversations/Label.d.ts +10 -10
- package/dist/Conversations/Label.js +1 -1
- package/dist/Conversations/QuickResponse.d.ts +34 -34
- package/dist/Conversations/QuickResponse.js +1 -1
- package/dist/Conversations/SocialWalls.d.ts +44 -44
- package/dist/Conversations/SocialWalls.js +1 -1
- package/dist/Conversations/WebHook.d.ts +22 -22
- package/dist/Conversations/WebHook.js +1 -1
- package/dist/Conversations/index.d.ts +8 -8
- package/dist/Conversations/index.js +10 -10
- package/dist/Security/Security.d.ts +12 -12
- package/dist/Security/Security.js +1 -1
- package/dist/Security/index.d.ts +1 -1
- package/dist/Security/index.js +1 -1
- package/dist/Spaces/index.d.ts +1 -1
- package/dist/Spaces/index.js +1 -1
- package/dist/Spaces/spaces.d.ts +86 -86
- package/dist/Spaces/spaces.js +77 -77
- package/dist/Tickets/AccessLevel.d.ts +5 -5
- package/dist/Tickets/AccessLevel.js +6 -6
- package/dist/Tickets/index.d.ts +1 -1
- package/dist/Tickets/index.js +1 -1
- package/dist/Users/UserProfile.d.ts +69 -69
- package/dist/Users/UserProfile.js +76 -76
- package/dist/Users/UserTrii.d.ts +68 -68
- package/dist/Users/UserTrii.js +47 -47
- package/dist/Users/UserType.d.ts +10 -10
- package/dist/Users/UserType.js +11 -11
- package/dist/Users/index.d.ts +3 -3
- package/dist/Users/index.js +3 -3
- package/dist/index.d.ts +12 -12
- package/dist/index.js +24 -24
- package/package.json +12 -12
- package/dist/Conversations/Chat.d.ts +0 -33
- package/dist/Conversations/Chat.js +0 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Flow';
|
|
2
|
-
export * as Nodes from './Nodes/index';
|
|
1
|
+
export * from './Flow';
|
|
2
|
+
export * as Nodes from './Nodes/index';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Flow';
|
|
2
|
-
import * as Nodes_1 from './Nodes/index';
|
|
3
|
-
export { Nodes_1 as Nodes };
|
|
1
|
+
export * from './Flow';
|
|
2
|
+
import * as Nodes_1 from './Nodes/index';
|
|
3
|
+
export { Nodes_1 as Nodes };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { UserInfo } from "../../Users/UserTrii";
|
|
2
|
-
interface IGroup {
|
|
3
|
-
id?: string | null;
|
|
4
|
-
spaceId?: string | null;
|
|
5
|
-
name?: string | null;
|
|
6
|
-
color?: string | null;
|
|
7
|
-
description?: string | null;
|
|
8
|
-
users: UserInfo[];
|
|
9
|
-
distributionMethod: Group_DistributionMethod;
|
|
10
|
-
createdAt?: string | null;
|
|
11
|
-
updatedAt?: string | null;
|
|
12
|
-
deletedAt?: string | null;
|
|
13
|
-
}
|
|
14
|
-
interface GroupInfo {
|
|
15
|
-
id?: string | null;
|
|
16
|
-
name?: string | null;
|
|
17
|
-
color?: string | null;
|
|
18
|
-
}
|
|
19
|
-
declare enum Group_DistributionMethod {
|
|
20
|
-
All = 0,
|
|
21
|
-
FIFO = 1
|
|
22
|
-
}
|
|
23
|
-
export { IGroup, GroupInfo, Group_DistributionMethod };
|
|
1
|
+
import { UserInfo } from "../../Users/UserTrii";
|
|
2
|
+
interface IGroup {
|
|
3
|
+
id?: string | null;
|
|
4
|
+
spaceId?: string | null;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
color?: string | null;
|
|
7
|
+
description?: string | null;
|
|
8
|
+
users: UserInfo[];
|
|
9
|
+
distributionMethod: Group_DistributionMethod;
|
|
10
|
+
createdAt?: string | null;
|
|
11
|
+
updatedAt?: string | null;
|
|
12
|
+
deletedAt?: string | null;
|
|
13
|
+
}
|
|
14
|
+
interface GroupInfo {
|
|
15
|
+
id?: string | null;
|
|
16
|
+
name?: string | null;
|
|
17
|
+
color?: string | null;
|
|
18
|
+
}
|
|
19
|
+
declare enum Group_DistributionMethod {
|
|
20
|
+
All = 0,
|
|
21
|
+
FIFO = 1
|
|
22
|
+
}
|
|
23
|
+
export { IGroup, GroupInfo, Group_DistributionMethod };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var Group_DistributionMethod;
|
|
2
|
-
(function (Group_DistributionMethod) {
|
|
3
|
-
Group_DistributionMethod[Group_DistributionMethod["All"] = 0] = "All";
|
|
4
|
-
Group_DistributionMethod[Group_DistributionMethod["FIFO"] = 1] = "FIFO";
|
|
5
|
-
})(Group_DistributionMethod || (Group_DistributionMethod = {}));
|
|
6
|
-
export { Group_DistributionMethod };
|
|
1
|
+
var Group_DistributionMethod;
|
|
2
|
+
(function (Group_DistributionMethod) {
|
|
3
|
+
Group_DistributionMethod[Group_DistributionMethod["All"] = 0] = "All";
|
|
4
|
+
Group_DistributionMethod[Group_DistributionMethod["FIFO"] = 1] = "FIFO";
|
|
5
|
+
})(Group_DistributionMethod || (Group_DistributionMethod = {}));
|
|
6
|
+
export { Group_DistributionMethod };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
interface ILabel {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
tenantId?: string | null;
|
|
4
|
-
name?: string | null;
|
|
5
|
-
color?: string | null;
|
|
6
|
-
createdAt?: string | null;
|
|
7
|
-
updatedAt?: string | null;
|
|
8
|
-
deletedAt?: string | null;
|
|
9
|
-
}
|
|
10
|
-
export { ILabel };
|
|
1
|
+
interface ILabel {
|
|
2
|
+
id?: string | null;
|
|
3
|
+
tenantId?: string | null;
|
|
4
|
+
name?: string | null;
|
|
5
|
+
color?: string | null;
|
|
6
|
+
createdAt?: string | null;
|
|
7
|
+
updatedAt?: string | null;
|
|
8
|
+
deletedAt?: string | null;
|
|
9
|
+
}
|
|
10
|
+
export { ILabel };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export interface IQuickResponse {
|
|
2
|
-
id: string;
|
|
3
|
-
spaceId: string;
|
|
4
|
-
categoryId: string;
|
|
5
|
-
categoryName: string;
|
|
6
|
-
title: string;
|
|
7
|
-
bodyIM: string;
|
|
8
|
-
bodyHTML: string;
|
|
9
|
-
isTemplate: boolean;
|
|
10
|
-
templateId?: string | null;
|
|
11
|
-
templateName?: string | null;
|
|
12
|
-
templateVariables: string[];
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
createdBy: string;
|
|
15
|
-
updatedAt?: Date;
|
|
16
|
-
updatedBy?: string;
|
|
17
|
-
deletedAt?: Date;
|
|
18
|
-
deletedBy?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IQuickResponseCategory {
|
|
21
|
-
id: string;
|
|
22
|
-
spaceId: string;
|
|
23
|
-
name: string;
|
|
24
|
-
isPublic: boolean;
|
|
25
|
-
sharedGroupIds: string[];
|
|
26
|
-
sharedUserIds: string[];
|
|
27
|
-
sharedWith: string[];
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
createdBy: string;
|
|
30
|
-
updatedAt?: Date;
|
|
31
|
-
updatedBy?: string;
|
|
32
|
-
deletedAt?: Date;
|
|
33
|
-
deletedBy?: string;
|
|
34
|
-
}
|
|
1
|
+
export interface IQuickResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
spaceId: string;
|
|
4
|
+
categoryId: string;
|
|
5
|
+
categoryName: string;
|
|
6
|
+
title: string;
|
|
7
|
+
bodyIM: string;
|
|
8
|
+
bodyHTML: string;
|
|
9
|
+
isTemplate: boolean;
|
|
10
|
+
templateId?: string | null;
|
|
11
|
+
templateName?: string | null;
|
|
12
|
+
templateVariables: string[];
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
createdBy: string;
|
|
15
|
+
updatedAt?: Date;
|
|
16
|
+
updatedBy?: string;
|
|
17
|
+
deletedAt?: Date;
|
|
18
|
+
deletedBy?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IQuickResponseCategory {
|
|
21
|
+
id: string;
|
|
22
|
+
spaceId: string;
|
|
23
|
+
name: string;
|
|
24
|
+
isPublic: boolean;
|
|
25
|
+
sharedGroupIds: string[];
|
|
26
|
+
sharedUserIds: string[];
|
|
27
|
+
sharedWith: string[];
|
|
28
|
+
createdAt: Date;
|
|
29
|
+
createdBy: string;
|
|
30
|
+
updatedAt?: Date;
|
|
31
|
+
updatedBy?: string;
|
|
32
|
+
deletedAt?: Date;
|
|
33
|
+
deletedBy?: string;
|
|
34
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { Channels } from "../Common/index";
|
|
2
|
-
import { UserInfo } from "../Users/UserTrii";
|
|
3
|
-
export interface Post {
|
|
4
|
-
id: string;
|
|
5
|
-
spaceId: string;
|
|
6
|
-
title: string;
|
|
7
|
-
details: string;
|
|
8
|
-
imageUrl: string;
|
|
9
|
-
photos: string[];
|
|
10
|
-
channelInfo: Channels.IChannelInfo;
|
|
11
|
-
newMessagesCount: number;
|
|
12
|
-
counters: PostStats;
|
|
13
|
-
participants: UserInfo[];
|
|
14
|
-
archived: boolean;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
}
|
|
17
|
-
export interface PostStats {
|
|
18
|
-
likes: number;
|
|
19
|
-
}
|
|
20
|
-
export interface WallMessage {
|
|
21
|
-
id: string;
|
|
22
|
-
spaceId: string;
|
|
23
|
-
postId: string;
|
|
24
|
-
externalUserSender?: ExternalUserInfo;
|
|
25
|
-
userSender?: UserInfo;
|
|
26
|
-
message: string;
|
|
27
|
-
response?: Response[];
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
}
|
|
31
|
-
export interface Response {
|
|
32
|
-
id: string;
|
|
33
|
-
externalUserSender?: ExternalUserInfo;
|
|
34
|
-
userSender?: UserInfo;
|
|
35
|
-
message: string;
|
|
36
|
-
response?: Response[];
|
|
37
|
-
createdAt: Date;
|
|
38
|
-
updatedAt: Date;
|
|
39
|
-
}
|
|
40
|
-
export interface ExternalUserInfo {
|
|
41
|
-
id: string;
|
|
42
|
-
name: string;
|
|
43
|
-
imageUrl: string;
|
|
44
|
-
}
|
|
1
|
+
import { Channels } from "../Common/index";
|
|
2
|
+
import { UserInfo } from "../Users/UserTrii";
|
|
3
|
+
export interface Post {
|
|
4
|
+
id: string;
|
|
5
|
+
spaceId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
details: string;
|
|
8
|
+
imageUrl: string;
|
|
9
|
+
photos: string[];
|
|
10
|
+
channelInfo: Channels.IChannelInfo;
|
|
11
|
+
newMessagesCount: number;
|
|
12
|
+
counters: PostStats;
|
|
13
|
+
participants: UserInfo[];
|
|
14
|
+
archived: boolean;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
}
|
|
17
|
+
export interface PostStats {
|
|
18
|
+
likes: number;
|
|
19
|
+
}
|
|
20
|
+
export interface WallMessage {
|
|
21
|
+
id: string;
|
|
22
|
+
spaceId: string;
|
|
23
|
+
postId: string;
|
|
24
|
+
externalUserSender?: ExternalUserInfo;
|
|
25
|
+
userSender?: UserInfo;
|
|
26
|
+
message: string;
|
|
27
|
+
response?: Response[];
|
|
28
|
+
createdAt: Date;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
}
|
|
31
|
+
export interface Response {
|
|
32
|
+
id: string;
|
|
33
|
+
externalUserSender?: ExternalUserInfo;
|
|
34
|
+
userSender?: UserInfo;
|
|
35
|
+
message: string;
|
|
36
|
+
response?: Response[];
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
updatedAt: Date;
|
|
39
|
+
}
|
|
40
|
+
export interface ExternalUserInfo {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
imageUrl: string;
|
|
44
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { AuthApiKey } from '../Common/API/AuthApiKey';
|
|
2
|
-
import { AuthBasic } from '../Common/API/AuthBasic';
|
|
3
|
-
import { AuthBearer } from '../Common/API/AuthBearer';
|
|
4
|
-
import { AuthType } from '../Common/API/AuthType';
|
|
5
|
-
import { Method } from '../Common/API/Method';
|
|
6
|
-
interface IWebhook {
|
|
7
|
-
id?: string | null;
|
|
8
|
-
tenantId?: string | null;
|
|
9
|
-
name?: string | null;
|
|
10
|
-
apiUrl?: string | null;
|
|
11
|
-
apiMethod?: Method | null;
|
|
12
|
-
apiAuthType?: AuthType | null;
|
|
13
|
-
apiAuthBasic?: AuthBasic | null;
|
|
14
|
-
apiAuthApiKey?: AuthApiKey | null;
|
|
15
|
-
apiAuthBearer?: AuthBearer | null;
|
|
16
|
-
apiBody?: string | null;
|
|
17
|
-
apiContentType?: string | null;
|
|
18
|
-
createdAt?: string | null;
|
|
19
|
-
updatedAt?: string | null;
|
|
20
|
-
deletedAt?: string | null;
|
|
21
|
-
}
|
|
22
|
-
export { IWebhook };
|
|
1
|
+
import { AuthApiKey } from '../Common/API/AuthApiKey';
|
|
2
|
+
import { AuthBasic } from '../Common/API/AuthBasic';
|
|
3
|
+
import { AuthBearer } from '../Common/API/AuthBearer';
|
|
4
|
+
import { AuthType } from '../Common/API/AuthType';
|
|
5
|
+
import { Method } from '../Common/API/Method';
|
|
6
|
+
interface IWebhook {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
tenantId?: string | null;
|
|
9
|
+
name?: string | null;
|
|
10
|
+
apiUrl?: string | null;
|
|
11
|
+
apiMethod?: Method | null;
|
|
12
|
+
apiAuthType?: AuthType | null;
|
|
13
|
+
apiAuthBasic?: AuthBasic | null;
|
|
14
|
+
apiAuthApiKey?: AuthApiKey | null;
|
|
15
|
+
apiAuthBearer?: AuthBearer | null;
|
|
16
|
+
apiBody?: string | null;
|
|
17
|
+
apiContentType?: string | null;
|
|
18
|
+
createdAt?: string | null;
|
|
19
|
+
updatedAt?: string | null;
|
|
20
|
+
deletedAt?: string | null;
|
|
21
|
+
}
|
|
22
|
+
export { IWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * as Flows from './Flows/index';
|
|
2
|
-
export * as Groups from './Groups/Group';
|
|
3
|
-
export * from './Conversation';
|
|
4
|
-
export * from './Ending';
|
|
5
|
-
export * from './Label';
|
|
6
|
-
export * from './WebHook';
|
|
7
|
-
export * from './SocialWalls';
|
|
8
|
-
export * from './QuickResponse';
|
|
1
|
+
export * as Flows from './Flows/index';
|
|
2
|
+
export * as Groups from './Groups/Group';
|
|
3
|
+
export * from './Conversation';
|
|
4
|
+
export * from './Ending';
|
|
5
|
+
export * from './Label';
|
|
6
|
+
export * from './WebHook';
|
|
7
|
+
export * from './SocialWalls';
|
|
8
|
+
export * from './QuickResponse';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as Flows_1 from './Flows/index';
|
|
2
|
-
export { Flows_1 as Flows };
|
|
3
|
-
import * as Groups_1 from './Groups/Group';
|
|
4
|
-
export { Groups_1 as Groups };
|
|
5
|
-
export * from './Conversation';
|
|
6
|
-
export * from './Ending';
|
|
7
|
-
export * from './Label';
|
|
8
|
-
export * from './WebHook';
|
|
9
|
-
export * from './SocialWalls';
|
|
10
|
-
export * from './QuickResponse';
|
|
1
|
+
import * as Flows_1 from './Flows/index';
|
|
2
|
+
export { Flows_1 as Flows };
|
|
3
|
+
import * as Groups_1 from './Groups/Group';
|
|
4
|
+
export { Groups_1 as Groups };
|
|
5
|
+
export * from './Conversation';
|
|
6
|
+
export * from './Ending';
|
|
7
|
+
export * from './Label';
|
|
8
|
+
export * from './WebHook';
|
|
9
|
+
export * from './SocialWalls';
|
|
10
|
+
export * from './QuickResponse';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare type Security = {
|
|
2
|
-
minimumPasswordLength: number;
|
|
3
|
-
tempPasswordExpireTime: number;
|
|
4
|
-
rule_Number: boolean;
|
|
5
|
-
rule_SpecialCharacter: boolean;
|
|
6
|
-
rule_CapitalLetter: boolean;
|
|
7
|
-
rule_LowercaseLetter: boolean;
|
|
8
|
-
secondFactorApp: boolean;
|
|
9
|
-
sessions_concurrentSessions: number;
|
|
10
|
-
sessions_sessionTimeout: number;
|
|
11
|
-
sessions_idleSessionTimeout: number;
|
|
12
|
-
};
|
|
1
|
+
export declare type Security = {
|
|
2
|
+
minimumPasswordLength: number;
|
|
3
|
+
tempPasswordExpireTime: number;
|
|
4
|
+
rule_Number: boolean;
|
|
5
|
+
rule_SpecialCharacter: boolean;
|
|
6
|
+
rule_CapitalLetter: boolean;
|
|
7
|
+
rule_LowercaseLetter: boolean;
|
|
8
|
+
secondFactorApp: boolean;
|
|
9
|
+
sessions_concurrentSessions: number;
|
|
10
|
+
sessions_sessionTimeout: number;
|
|
11
|
+
sessions_idleSessionTimeout: number;
|
|
12
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/dist/Security/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Security';
|
|
1
|
+
export * from './Security';
|
package/dist/Security/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Security';
|
|
1
|
+
export * from './Security';
|
package/dist/Spaces/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './spaces';
|
|
1
|
+
export * from './spaces';
|
package/dist/Spaces/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './spaces';
|
|
1
|
+
export * from './spaces';
|
package/dist/Spaces/spaces.d.ts
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import { UserInfo } from "../Users/index";
|
|
2
|
-
export declare class ISpaceInfo {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
imageUrl: string;
|
|
6
|
-
domain: string;
|
|
7
|
-
status: Status;
|
|
8
|
-
/**Access level for current user */
|
|
9
|
-
accessLevel: AccessLevel;
|
|
10
|
-
/** Date on which the user accepted to be a member of the space */
|
|
11
|
-
joinTimeStamp?: Date;
|
|
12
|
-
members: UserInfo[];
|
|
13
|
-
}
|
|
14
|
-
export declare enum AccessLevel {
|
|
15
|
-
NULL = 0,
|
|
16
|
-
OWNER = 10,
|
|
17
|
-
CO_OWNER = 11,
|
|
18
|
-
ADMIN = 20,
|
|
19
|
-
AGENT = 30,
|
|
20
|
-
EXTERNAL = 40,
|
|
21
|
-
GUEST = 50
|
|
22
|
-
}
|
|
23
|
-
export declare enum Status {
|
|
24
|
-
UNKNOWN = 0,
|
|
25
|
-
QUEUED = 1,
|
|
26
|
-
CREATING = 2,
|
|
27
|
-
READY = 3,
|
|
28
|
-
PENDING_TO_DELETE = 4,
|
|
29
|
-
DELETED = 5
|
|
30
|
-
}
|
|
31
|
-
export declare enum Region {
|
|
32
|
-
eastus = 101,
|
|
33
|
-
brazilsouth = 102,
|
|
34
|
-
westeurope = 103
|
|
35
|
-
}
|
|
36
|
-
export declare const RegionInfo: {
|
|
37
|
-
list: {
|
|
38
|
-
Name: string;
|
|
39
|
-
Value: number;
|
|
40
|
-
DisplayName: string;
|
|
41
|
-
RegionalDisplayName: string;
|
|
42
|
-
}[];
|
|
43
|
-
getInfo_from_Name: (Name: string) => {
|
|
44
|
-
Name: string;
|
|
45
|
-
Value: number;
|
|
46
|
-
DisplayName: string;
|
|
47
|
-
RegionalDisplayName: string;
|
|
48
|
-
};
|
|
49
|
-
getInfo_from_Value: (Value: number) => {
|
|
50
|
-
Name: string;
|
|
51
|
-
Value: number;
|
|
52
|
-
DisplayName: string;
|
|
53
|
-
RegionalDisplayName: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
export interface ISpace {
|
|
57
|
-
id: string;
|
|
58
|
-
uid: string;
|
|
59
|
-
name: string;
|
|
60
|
-
region: Region;
|
|
61
|
-
status: Status;
|
|
62
|
-
subscriptionId: string;
|
|
63
|
-
image_url: string;
|
|
64
|
-
domain_active: string;
|
|
65
|
-
domain_subdomain: string;
|
|
66
|
-
domain_custom: ICustomDomain;
|
|
67
|
-
createdAt: Date;
|
|
68
|
-
deletedAt: Date;
|
|
69
|
-
}
|
|
70
|
-
export interface ICustomDomain {
|
|
71
|
-
host: string;
|
|
72
|
-
status: CustomDomain_Status;
|
|
73
|
-
cert_status: CustomDomain_CertStatus;
|
|
74
|
-
}
|
|
75
|
-
export declare enum CustomDomain_Status {
|
|
76
|
-
NOT_CONFIGURED = 0,
|
|
77
|
-
PENDING = 1,
|
|
78
|
-
VALIDATING = 2,
|
|
79
|
-
OK = 3
|
|
80
|
-
}
|
|
81
|
-
export declare enum CustomDomain_CertStatus {
|
|
82
|
-
UNKNOWN = 0,
|
|
83
|
-
QUEUED = 1,
|
|
84
|
-
ERROR = 2,
|
|
85
|
-
OK = 3
|
|
86
|
-
}
|
|
1
|
+
import { UserInfo } from "../Users/index";
|
|
2
|
+
export declare class ISpaceInfo {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
imageUrl: string;
|
|
6
|
+
domain: string;
|
|
7
|
+
status: Status;
|
|
8
|
+
/**Access level for current user */
|
|
9
|
+
accessLevel: AccessLevel;
|
|
10
|
+
/** Date on which the user accepted to be a member of the space */
|
|
11
|
+
joinTimeStamp?: Date;
|
|
12
|
+
members: UserInfo[];
|
|
13
|
+
}
|
|
14
|
+
export declare enum AccessLevel {
|
|
15
|
+
NULL = 0,
|
|
16
|
+
OWNER = 10,
|
|
17
|
+
CO_OWNER = 11,
|
|
18
|
+
ADMIN = 20,
|
|
19
|
+
AGENT = 30,
|
|
20
|
+
EXTERNAL = 40,
|
|
21
|
+
GUEST = 50
|
|
22
|
+
}
|
|
23
|
+
export declare enum Status {
|
|
24
|
+
UNKNOWN = 0,
|
|
25
|
+
QUEUED = 1,
|
|
26
|
+
CREATING = 2,
|
|
27
|
+
READY = 3,
|
|
28
|
+
PENDING_TO_DELETE = 4,
|
|
29
|
+
DELETED = 5
|
|
30
|
+
}
|
|
31
|
+
export declare enum Region {
|
|
32
|
+
eastus = 101,
|
|
33
|
+
brazilsouth = 102,
|
|
34
|
+
westeurope = 103
|
|
35
|
+
}
|
|
36
|
+
export declare const RegionInfo: {
|
|
37
|
+
list: {
|
|
38
|
+
Name: string;
|
|
39
|
+
Value: number;
|
|
40
|
+
DisplayName: string;
|
|
41
|
+
RegionalDisplayName: string;
|
|
42
|
+
}[];
|
|
43
|
+
getInfo_from_Name: (Name: string) => {
|
|
44
|
+
Name: string;
|
|
45
|
+
Value: number;
|
|
46
|
+
DisplayName: string;
|
|
47
|
+
RegionalDisplayName: string;
|
|
48
|
+
};
|
|
49
|
+
getInfo_from_Value: (Value: number) => {
|
|
50
|
+
Name: string;
|
|
51
|
+
Value: number;
|
|
52
|
+
DisplayName: string;
|
|
53
|
+
RegionalDisplayName: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export interface ISpace {
|
|
57
|
+
id: string;
|
|
58
|
+
uid: string;
|
|
59
|
+
name: string;
|
|
60
|
+
region: Region;
|
|
61
|
+
status: Status;
|
|
62
|
+
subscriptionId: string;
|
|
63
|
+
image_url: string;
|
|
64
|
+
domain_active: string;
|
|
65
|
+
domain_subdomain: string;
|
|
66
|
+
domain_custom: ICustomDomain;
|
|
67
|
+
createdAt: Date;
|
|
68
|
+
deletedAt: Date;
|
|
69
|
+
}
|
|
70
|
+
export interface ICustomDomain {
|
|
71
|
+
host: string;
|
|
72
|
+
status: CustomDomain_Status;
|
|
73
|
+
cert_status: CustomDomain_CertStatus;
|
|
74
|
+
}
|
|
75
|
+
export declare enum CustomDomain_Status {
|
|
76
|
+
NOT_CONFIGURED = 0,
|
|
77
|
+
PENDING = 1,
|
|
78
|
+
VALIDATING = 2,
|
|
79
|
+
OK = 3
|
|
80
|
+
}
|
|
81
|
+
export declare enum CustomDomain_CertStatus {
|
|
82
|
+
UNKNOWN = 0,
|
|
83
|
+
QUEUED = 1,
|
|
84
|
+
ERROR = 2,
|
|
85
|
+
OK = 3
|
|
86
|
+
}
|