@trii/types 2.10.255 → 2.10.257

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.
Files changed (175) hide show
  1. package/dist/Accounts/accounts.d.ts +88 -88
  2. package/dist/Accounts/accounts.js +21 -21
  3. package/dist/Accounts/device.d.ts +21 -21
  4. package/dist/Accounts/device.js +8 -8
  5. package/dist/Accounts/index.d.ts +2 -2
  6. package/dist/Accounts/index.js +2 -2
  7. package/dist/ApiResponses/index.d.ts +8 -8
  8. package/dist/ApiResponses/index.js +1 -1
  9. package/dist/AuditLogs/auditLog.d.ts +7 -7
  10. package/dist/AuditLogs/auditLog.js +1 -1
  11. package/dist/AuditLogs/auditLogType.d.ts +5 -5
  12. package/dist/AuditLogs/auditLogType.js +6 -6
  13. package/dist/AuditLogs/index.d.ts +2 -2
  14. package/dist/AuditLogs/index.js +2 -2
  15. package/dist/Calendar/Event.d.ts +63 -63
  16. package/dist/Calendar/Event.js +13 -13
  17. package/dist/Calendar/index.d.ts +1 -1
  18. package/dist/Calendar/index.js +1 -1
  19. package/dist/Common/API/AuthApiKey.d.ts +5 -5
  20. package/dist/Common/API/AuthApiKey.js +1 -1
  21. package/dist/Common/API/AuthBasic.d.ts +4 -4
  22. package/dist/Common/API/AuthBasic.js +1 -1
  23. package/dist/Common/API/AuthBearer.d.ts +5 -5
  24. package/dist/Common/API/AuthBearer.js +1 -1
  25. package/dist/Common/API/AuthType.d.ts +6 -6
  26. package/dist/Common/API/AuthType.js +7 -7
  27. package/dist/Common/API/Method.d.ts +4 -4
  28. package/dist/Common/API/Method.js +5 -5
  29. package/dist/Common/API/index.d.ts +5 -5
  30. package/dist/Common/API/index.js +5 -5
  31. package/dist/Common/Channels/Channel.d.ts +42 -42
  32. package/dist/Common/Channels/Channel.js +1 -1
  33. package/dist/Common/Channels/ChannelType.d.ts +23 -23
  34. package/dist/Common/Channels/ChannelType.js +24 -24
  35. package/dist/Common/Channels/Email.d.ts +38 -38
  36. package/dist/Common/Channels/Email.js +26 -26
  37. package/dist/Common/Channels/Facebook.d.ts +22 -22
  38. package/dist/Common/Channels/Facebook.js +2 -2
  39. package/dist/Common/Channels/Form.d.ts +52 -52
  40. package/dist/Common/Channels/Form.js +25 -25
  41. package/dist/Common/Channels/GoogleBusiness.d.ts +15 -15
  42. package/dist/Common/Channels/GoogleBusiness.js +2 -2
  43. package/dist/Common/Channels/Instagram.d.ts +21 -21
  44. package/dist/Common/Channels/Instagram.js +2 -2
  45. package/dist/Common/Channels/MercadoLibre.d.ts +22 -22
  46. package/dist/Common/Channels/MercadoLibre.js +4 -4
  47. package/dist/Common/Channels/Pbx.d.ts +2 -2
  48. package/dist/Common/Channels/Pbx.js +2 -2
  49. package/dist/Common/Channels/Permission.d.ts +5 -5
  50. package/dist/Common/Channels/Permission.js +2 -2
  51. package/dist/Common/Channels/Sip.d.ts +2 -2
  52. package/dist/Common/Channels/Sip.js +2 -2
  53. package/dist/Common/Channels/Sms.d.ts +36 -36
  54. package/dist/Common/Channels/Sms.js +10 -10
  55. package/dist/Common/Channels/WebChat.d.ts +60 -60
  56. package/dist/Common/Channels/WebChat.js +14 -14
  57. package/dist/Common/Channels/WhatsApp.d.ts +40 -33
  58. package/dist/Common/Channels/WhatsApp.js +10 -9
  59. package/dist/Common/Channels/index.d.ts +14 -14
  60. package/dist/Common/Channels/index.js +14 -14
  61. package/dist/Common/EventsQueue/EventQueue.d.ts +6 -6
  62. package/dist/Common/EventsQueue/EventQueue.js +1 -1
  63. package/dist/Common/EventsQueue/index.d.ts +1 -1
  64. package/dist/Common/EventsQueue/index.js +1 -1
  65. package/dist/Common/Messages/MediaFile.d.ts +5 -5
  66. package/dist/Common/Messages/MediaFile.js +1 -1
  67. package/dist/Common/Messages/Message.d.ts +309 -306
  68. package/dist/Common/Messages/Message.js +39 -39
  69. package/dist/Common/Messages/index.d.ts +2 -2
  70. package/dist/Common/Messages/index.js +2 -2
  71. package/dist/Common/Notifications/Notification.d.ts +19 -19
  72. package/dist/Common/Notifications/Notification.js +7 -7
  73. package/dist/Common/Notifications/index.d.ts +1 -1
  74. package/dist/Common/Notifications/index.js +1 -1
  75. package/dist/Common/Schedules/Schedules.d.ts +32 -32
  76. package/dist/Common/Schedules/Schedules.js +1 -1
  77. package/dist/Common/Schedules/index.d.ts +1 -1
  78. package/dist/Common/Schedules/index.js +1 -1
  79. package/dist/Common/index.d.ts +6 -6
  80. package/dist/Common/index.js +12 -12
  81. package/dist/Contacts/File.d.ts +17 -17
  82. package/dist/Contacts/File.js +1 -1
  83. package/dist/Contacts/Label.d.ts +9 -9
  84. package/dist/Contacts/Label.js +1 -1
  85. package/dist/Contacts/Note.d.ts +15 -15
  86. package/dist/Contacts/Note.js +1 -1
  87. package/dist/Contacts/contacts.d.ts +217 -217
  88. package/dist/Contacts/contacts.js +39 -39
  89. package/dist/Contacts/index.d.ts +5 -5
  90. package/dist/Contacts/index.js +5 -5
  91. package/dist/Contacts/segments.d.ts +51 -51
  92. package/dist/Contacts/segments.js +49 -49
  93. package/dist/Conversations/Chat.d.ts +33 -0
  94. package/dist/Conversations/Chat.js +11 -0
  95. package/dist/Conversations/Conversation.d.ts +75 -75
  96. package/dist/Conversations/Conversation.js +34 -34
  97. package/dist/Conversations/Ending.d.ts +11 -11
  98. package/dist/Conversations/Ending.js +1 -1
  99. package/dist/Conversations/Flows/Flow.d.ts +104 -104
  100. package/dist/Conversations/Flows/Flow.js +36 -36
  101. package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +20 -20
  102. package/dist/Conversations/Flows/Nodes/NodeApi.js +2 -2
  103. package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +21 -21
  104. package/dist/Conversations/Flows/Nodes/NodeConditional.js +16 -16
  105. package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +8 -8
  106. package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +2 -2
  107. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +12 -12
  108. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -7
  109. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +6 -6
  110. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +2 -2
  111. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +4 -4
  112. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +2 -2
  113. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +15 -15
  114. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +11 -11
  115. package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +12 -12
  116. package/dist/Conversations/Flows/Nodes/NodeFillForm.js +4 -4
  117. package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +22 -22
  118. package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -9
  119. package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +40 -40
  120. package/dist/Conversations/Flows/Nodes/NodeMsgText.js +25 -25
  121. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +44 -44
  122. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +31 -31
  123. package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +7 -7
  124. package/dist/Conversations/Flows/Nodes/NodeRedirect.js +2 -2
  125. package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +9 -9
  126. package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +2 -2
  127. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +14 -14
  128. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +8 -8
  129. package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +32 -32
  130. package/dist/Conversations/Flows/Nodes/NodeStart.js +184 -184
  131. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +6 -6
  132. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +2 -2
  133. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +9 -9
  134. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +2 -2
  135. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +6 -6
  136. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +2 -2
  137. package/dist/Conversations/Flows/Nodes/index.d.ts +18 -18
  138. package/dist/Conversations/Flows/Nodes/index.js +18 -18
  139. package/dist/Conversations/Flows/index.d.ts +2 -2
  140. package/dist/Conversations/Flows/index.js +3 -3
  141. package/dist/Conversations/Groups/Group.d.ts +23 -23
  142. package/dist/Conversations/Groups/Group.js +6 -6
  143. package/dist/Conversations/Label.d.ts +10 -10
  144. package/dist/Conversations/Label.js +1 -1
  145. package/dist/Conversations/QuickResponse.d.ts +34 -34
  146. package/dist/Conversations/QuickResponse.js +1 -1
  147. package/dist/Conversations/SocialWalls.d.ts +44 -44
  148. package/dist/Conversations/SocialWalls.js +1 -1
  149. package/dist/Conversations/WebHook.d.ts +22 -22
  150. package/dist/Conversations/WebHook.js +1 -1
  151. package/dist/Conversations/index.d.ts +8 -8
  152. package/dist/Conversations/index.js +10 -10
  153. package/dist/Security/Security.d.ts +12 -12
  154. package/dist/Security/Security.js +1 -1
  155. package/dist/Security/index.d.ts +1 -1
  156. package/dist/Security/index.js +1 -1
  157. package/dist/Spaces/index.d.ts +1 -1
  158. package/dist/Spaces/index.js +1 -1
  159. package/dist/Spaces/spaces.d.ts +86 -86
  160. package/dist/Spaces/spaces.js +77 -77
  161. package/dist/Tickets/AccessLevel.d.ts +5 -5
  162. package/dist/Tickets/AccessLevel.js +6 -6
  163. package/dist/Tickets/index.d.ts +1 -1
  164. package/dist/Tickets/index.js +1 -1
  165. package/dist/Users/UserProfile.d.ts +69 -69
  166. package/dist/Users/UserProfile.js +76 -76
  167. package/dist/Users/UserTrii.d.ts +68 -68
  168. package/dist/Users/UserTrii.js +47 -47
  169. package/dist/Users/UserType.d.ts +10 -10
  170. package/dist/Users/UserType.js +11 -11
  171. package/dist/Users/index.d.ts +3 -3
  172. package/dist/Users/index.js +3 -3
  173. package/dist/index.d.ts +12 -12
  174. package/dist/index.js +24 -24
  175. package/package.json +12 -12
@@ -1,217 +1,217 @@
1
- import { Common } from "../index";
2
- export interface IContactInfo {
3
- id: string;
4
- name: string;
5
- imageUrl?: string;
6
- businessName?: IBusinessInfo;
7
- phone?: string;
8
- email?: string;
9
- }
10
- export interface IBusinessInfo {
11
- id: string;
12
- name: string;
13
- imageUrl?: string;
14
- phone?: string;
15
- email?: string;
16
- }
17
- export interface IBusiness {
18
- id: string;
19
- name: string;
20
- imageUrl: string;
21
- owner?: string;
22
- membersId: string[];
23
- members: IContactInfo[];
24
- phone: string;
25
- phones: IContactAddress[];
26
- email: string;
27
- emails: IContactAddress[];
28
- ims_instagram: IContactAddress[];
29
- ims_facebook: IContactAddress[];
30
- ims_webchat: IContactAddress[];
31
- ims_whatsapp: IContactAddress[];
32
- address1: IContactPostalAddress;
33
- address2: IContactPostalAddress;
34
- tags: IContactTag[];
35
- properties: Property[];
36
- createdAt?: Date | null;
37
- createdBy?: string | null;
38
- updatedAt?: Date | null;
39
- updatedBy?: string | null;
40
- deletedAt?: Date | null;
41
- deletedBy?: string | null;
42
- }
43
- export interface IContact {
44
- id: string;
45
- name: string;
46
- firstName: string;
47
- lastName: string;
48
- imageUrl: string;
49
- birthDate?: Date | null;
50
- owner?: string;
51
- listId?: string | '';
52
- businessId?: string;
53
- business?: IBusinessInfo;
54
- phone: string;
55
- phones: IContactAddress[];
56
- email: string;
57
- emails: IContactAddress[];
58
- ims_instagram: IContactAddress[];
59
- ims_facebook: IContactAddress[];
60
- ims_webchat: IContactAddress[];
61
- ims_whatsapp: IContactAddress[];
62
- address1: IContactPostalAddress;
63
- address2: IContactPostalAddress;
64
- tags: IContactTag[];
65
- properties: Property[];
66
- isSpam: boolean;
67
- fechaUltMsg?: Date;
68
- origin: ContactOrigin;
69
- createdAt?: Date | null;
70
- createdBy?: string | null;
71
- updatedAt?: Date | null;
72
- updatedBy?: string | null;
73
- deletedAt?: Date | null;
74
- deletedBy?: string | null;
75
- }
76
- export interface Property {
77
- nameKey: string;
78
- type: ContactField_type;
79
- value: any;
80
- }
81
- export declare enum ContactOrigin {
82
- MANUAL = 0,
83
- IMPORT = 1,
84
- CALL = 2,
85
- TICKET = 3,
86
- FORM = 4
87
- }
88
- export interface IContactPostalAddress {
89
- street: string;
90
- city: string;
91
- state: string;
92
- zipcode: string;
93
- country: string;
94
- }
95
- export interface IContactField {
96
- id: string;
97
- name: string;
98
- nameKey: string;
99
- type: ContactField_type;
100
- typeNumberDecimalsCount: number | 0;
101
- typeOptions: string[];
102
- order: number;
103
- forContact: boolean;
104
- forBusiness: boolean;
105
- isDefault: boolean;
106
- isSearchKey: boolean;
107
- isImportKey: boolean;
108
- readOnly: boolean;
109
- hide: boolean;
110
- useMask: boolean;
111
- createdAt?: string | null;
112
- createdBy?: string | null;
113
- deleted: boolean;
114
- deletedAt?: string | null;
115
- }
116
- export declare enum ContactField_type {
117
- TEXT = 0,
118
- LONGTEXT = 1,
119
- CURRENCY = 3,
120
- OPTIONS = 4,
121
- TIME = 5,
122
- DATE = 6,
123
- TIMERANGE = 7,
124
- DATERANGE = 8,
125
- ADDRESS = 11,
126
- NUMBER_INTEGER = 21,
127
- NUMBER_DECIMAL = 22,
128
- NUMBER_CURRENCY = 23,
129
- NUMBER_ACCOUNTING = 24
130
- }
131
- export interface IContactAddress {
132
- id: string;
133
- channelType: Common.Channels.ChannelType;
134
- channelId?: string;
135
- address: string;
136
- profileName: string;
137
- profileUrl: string;
138
- telInfo?: IContactTelInfo;
139
- note: string;
140
- isVerified: boolean;
141
- isFavorite: boolean;
142
- dateLastMsgIn?: Date;
143
- dateLastMsgOut?: Date;
144
- createdAt: Date;
145
- verifiedAt?: Date;
146
- verifiedBy?: string;
147
- }
148
- export interface IContactTelInfo {
149
- isMobile: boolean;
150
- country: string;
151
- countryName: string;
152
- state: string;
153
- stateName: string;
154
- }
155
- interface IContactTag {
156
- id: string;
157
- name: string;
158
- }
159
- export interface ISubscription {
160
- id: string;
161
- spaceId: string;
162
- name: string;
163
- description: string;
164
- createdAt: Date;
165
- updatedAt?: Date;
166
- deletedAt?: Date;
167
- }
168
- export interface IIntegrationButton {
169
- id: number;
170
- name: string;
171
- enabled: boolean;
172
- icon_class: string;
173
- icon_color: string;
174
- api_method: IntegrationButton_method;
175
- api_url: string;
176
- api_AuthType: string;
177
- api_Auth_username: string;
178
- api_Auth_password: string;
179
- api_Auth_token: string;
180
- api_Auth_token_url: string;
181
- api_Auth_token_body: string;
182
- api_Auth_APIkey_Key: string;
183
- api_Auth_APIkey_Value: string;
184
- api_Auth_APIkey_Addto: string;
185
- api_contenttype: string;
186
- api_body: string;
187
- api_formatosalida: IntegrationButton_format;
188
- api_Template: string;
189
- }
190
- export declare enum IntegrationButton_method {
191
- GET = 1,
192
- POST = 2
193
- }
194
- export declare enum IntegrationButton_format {
195
- JSON = 1,
196
- HTML = 2,
197
- HTML_newtab = 3
198
- }
199
- export declare class GooglePeopleIntegration {
200
- googleAccount: GoogleAccountInfo;
201
- autoUpdate: boolean;
202
- updateBy: string;
203
- updateAt: Date;
204
- }
205
- export declare class GoogleAccountInfo {
206
- name: string;
207
- email: string;
208
- imageUrl: string;
209
- }
210
- export interface IList {
211
- id: string;
212
- name: string;
213
- description: string;
214
- count: number;
215
- createdAt: Date;
216
- }
217
- export {};
1
+ import { Common } from "../index";
2
+ export interface IContactInfo {
3
+ id: string;
4
+ name: string;
5
+ imageUrl?: string;
6
+ businessName?: IBusinessInfo;
7
+ phone?: string;
8
+ email?: string;
9
+ }
10
+ export interface IBusinessInfo {
11
+ id: string;
12
+ name: string;
13
+ imageUrl?: string;
14
+ phone?: string;
15
+ email?: string;
16
+ }
17
+ export interface IBusiness {
18
+ id: string;
19
+ name: string;
20
+ imageUrl: string;
21
+ owner?: string;
22
+ membersId: string[];
23
+ members: IContactInfo[];
24
+ phone: string;
25
+ phones: IContactAddress[];
26
+ email: string;
27
+ emails: IContactAddress[];
28
+ ims_instagram: IContactAddress[];
29
+ ims_facebook: IContactAddress[];
30
+ ims_webchat: IContactAddress[];
31
+ ims_whatsapp: IContactAddress[];
32
+ address1: IContactPostalAddress;
33
+ address2: IContactPostalAddress;
34
+ tags: IContactTag[];
35
+ properties: Property[];
36
+ createdAt?: Date | null;
37
+ createdBy?: string | null;
38
+ updatedAt?: Date | null;
39
+ updatedBy?: string | null;
40
+ deletedAt?: Date | null;
41
+ deletedBy?: string | null;
42
+ }
43
+ export interface IContact {
44
+ id: string;
45
+ name: string;
46
+ firstName: string;
47
+ lastName: string;
48
+ imageUrl: string;
49
+ birthDate?: Date | null;
50
+ owner?: string;
51
+ listId?: string | '';
52
+ businessId?: string;
53
+ business?: IBusinessInfo;
54
+ phone: string;
55
+ phones: IContactAddress[];
56
+ email: string;
57
+ emails: IContactAddress[];
58
+ ims_instagram: IContactAddress[];
59
+ ims_facebook: IContactAddress[];
60
+ ims_webchat: IContactAddress[];
61
+ ims_whatsapp: IContactAddress[];
62
+ address1: IContactPostalAddress;
63
+ address2: IContactPostalAddress;
64
+ tags: IContactTag[];
65
+ properties: Property[];
66
+ isSpam: boolean;
67
+ fechaUltMsg?: Date;
68
+ origin: ContactOrigin;
69
+ createdAt?: Date | null;
70
+ createdBy?: string | null;
71
+ updatedAt?: Date | null;
72
+ updatedBy?: string | null;
73
+ deletedAt?: Date | null;
74
+ deletedBy?: string | null;
75
+ }
76
+ export interface Property {
77
+ nameKey: string;
78
+ type: ContactField_type;
79
+ value: any;
80
+ }
81
+ export declare enum ContactOrigin {
82
+ MANUAL = 0,
83
+ IMPORT = 1,
84
+ CALL = 2,
85
+ TICKET = 3,
86
+ FORM = 4
87
+ }
88
+ export interface IContactPostalAddress {
89
+ street: string;
90
+ city: string;
91
+ state: string;
92
+ zipcode: string;
93
+ country: string;
94
+ }
95
+ export interface IContactField {
96
+ id: string;
97
+ name: string;
98
+ nameKey: string;
99
+ type: ContactField_type;
100
+ typeNumberDecimalsCount: number | 0;
101
+ typeOptions: string[];
102
+ order: number;
103
+ forContact: boolean;
104
+ forBusiness: boolean;
105
+ isDefault: boolean;
106
+ isSearchKey: boolean;
107
+ isImportKey: boolean;
108
+ readOnly: boolean;
109
+ hide: boolean;
110
+ useMask: boolean;
111
+ createdAt?: string | null;
112
+ createdBy?: string | null;
113
+ deleted: boolean;
114
+ deletedAt?: string | null;
115
+ }
116
+ export declare enum ContactField_type {
117
+ TEXT = 0,
118
+ LONGTEXT = 1,
119
+ CURRENCY = 3,
120
+ OPTIONS = 4,
121
+ TIME = 5,
122
+ DATE = 6,
123
+ TIMERANGE = 7,
124
+ DATERANGE = 8,
125
+ ADDRESS = 11,
126
+ NUMBER_INTEGER = 21,
127
+ NUMBER_DECIMAL = 22,
128
+ NUMBER_CURRENCY = 23,
129
+ NUMBER_ACCOUNTING = 24
130
+ }
131
+ export interface IContactAddress {
132
+ id: string;
133
+ channelType: Common.Channels.ChannelType;
134
+ channelId?: string;
135
+ address: string;
136
+ profileName: string;
137
+ profileUrl: string;
138
+ telInfo?: IContactTelInfo;
139
+ note: string;
140
+ isVerified: boolean;
141
+ isFavorite: boolean;
142
+ dateLastMsgIn?: Date;
143
+ dateLastMsgOut?: Date;
144
+ createdAt: Date;
145
+ verifiedAt?: Date;
146
+ verifiedBy?: string;
147
+ }
148
+ export interface IContactTelInfo {
149
+ isMobile: boolean;
150
+ country: string;
151
+ countryName: string;
152
+ state: string;
153
+ stateName: string;
154
+ }
155
+ interface IContactTag {
156
+ id: string;
157
+ name: string;
158
+ }
159
+ export interface ISubscription {
160
+ id: string;
161
+ spaceId: string;
162
+ name: string;
163
+ description: string;
164
+ createdAt: Date;
165
+ updatedAt?: Date;
166
+ deletedAt?: Date;
167
+ }
168
+ export interface IIntegrationButton {
169
+ id: number;
170
+ name: string;
171
+ enabled: boolean;
172
+ icon_class: string;
173
+ icon_color: string;
174
+ api_method: IntegrationButton_method;
175
+ api_url: string;
176
+ api_AuthType: string;
177
+ api_Auth_username: string;
178
+ api_Auth_password: string;
179
+ api_Auth_token: string;
180
+ api_Auth_token_url: string;
181
+ api_Auth_token_body: string;
182
+ api_Auth_APIkey_Key: string;
183
+ api_Auth_APIkey_Value: string;
184
+ api_Auth_APIkey_Addto: string;
185
+ api_contenttype: string;
186
+ api_body: string;
187
+ api_formatosalida: IntegrationButton_format;
188
+ api_Template: string;
189
+ }
190
+ export declare enum IntegrationButton_method {
191
+ GET = 1,
192
+ POST = 2
193
+ }
194
+ export declare enum IntegrationButton_format {
195
+ JSON = 1,
196
+ HTML = 2,
197
+ HTML_newtab = 3
198
+ }
199
+ export declare class GooglePeopleIntegration {
200
+ googleAccount: GoogleAccountInfo;
201
+ autoUpdate: boolean;
202
+ updateBy: string;
203
+ updateAt: Date;
204
+ }
205
+ export declare class GoogleAccountInfo {
206
+ name: string;
207
+ email: string;
208
+ imageUrl: string;
209
+ }
210
+ export interface IList {
211
+ id: string;
212
+ name: string;
213
+ description: string;
214
+ count: number;
215
+ createdAt: Date;
216
+ }
217
+ export {};
@@ -1,39 +1,39 @@
1
- export var ContactOrigin;
2
- (function (ContactOrigin) {
3
- ContactOrigin[ContactOrigin["MANUAL"] = 0] = "MANUAL";
4
- ContactOrigin[ContactOrigin["IMPORT"] = 1] = "IMPORT";
5
- ContactOrigin[ContactOrigin["CALL"] = 2] = "CALL";
6
- ContactOrigin[ContactOrigin["TICKET"] = 3] = "TICKET";
7
- ContactOrigin[ContactOrigin["FORM"] = 4] = "FORM";
8
- })(ContactOrigin || (ContactOrigin = {}));
9
- export var ContactField_type;
10
- (function (ContactField_type) {
11
- ContactField_type[ContactField_type["TEXT"] = 0] = "TEXT";
12
- ContactField_type[ContactField_type["LONGTEXT"] = 1] = "LONGTEXT";
13
- ContactField_type[ContactField_type["CURRENCY"] = 3] = "CURRENCY";
14
- ContactField_type[ContactField_type["OPTIONS"] = 4] = "OPTIONS";
15
- ContactField_type[ContactField_type["TIME"] = 5] = "TIME";
16
- ContactField_type[ContactField_type["DATE"] = 6] = "DATE";
17
- ContactField_type[ContactField_type["TIMERANGE"] = 7] = "TIMERANGE";
18
- ContactField_type[ContactField_type["DATERANGE"] = 8] = "DATERANGE";
19
- ContactField_type[ContactField_type["ADDRESS"] = 11] = "ADDRESS";
20
- ContactField_type[ContactField_type["NUMBER_INTEGER"] = 21] = "NUMBER_INTEGER";
21
- ContactField_type[ContactField_type["NUMBER_DECIMAL"] = 22] = "NUMBER_DECIMAL";
22
- ContactField_type[ContactField_type["NUMBER_CURRENCY"] = 23] = "NUMBER_CURRENCY";
23
- ContactField_type[ContactField_type["NUMBER_ACCOUNTING"] = 24] = "NUMBER_ACCOUNTING";
24
- })(ContactField_type || (ContactField_type = {}));
25
- export var IntegrationButton_method;
26
- (function (IntegrationButton_method) {
27
- IntegrationButton_method[IntegrationButton_method["GET"] = 1] = "GET";
28
- IntegrationButton_method[IntegrationButton_method["POST"] = 2] = "POST";
29
- })(IntegrationButton_method || (IntegrationButton_method = {}));
30
- export var IntegrationButton_format;
31
- (function (IntegrationButton_format) {
32
- IntegrationButton_format[IntegrationButton_format["JSON"] = 1] = "JSON";
33
- IntegrationButton_format[IntegrationButton_format["HTML"] = 2] = "HTML";
34
- IntegrationButton_format[IntegrationButton_format["HTML_newtab"] = 3] = "HTML_newtab";
35
- })(IntegrationButton_format || (IntegrationButton_format = {}));
36
- export class GooglePeopleIntegration {
37
- }
38
- export class GoogleAccountInfo {
39
- }
1
+ export var ContactOrigin;
2
+ (function (ContactOrigin) {
3
+ ContactOrigin[ContactOrigin["MANUAL"] = 0] = "MANUAL";
4
+ ContactOrigin[ContactOrigin["IMPORT"] = 1] = "IMPORT";
5
+ ContactOrigin[ContactOrigin["CALL"] = 2] = "CALL";
6
+ ContactOrigin[ContactOrigin["TICKET"] = 3] = "TICKET";
7
+ ContactOrigin[ContactOrigin["FORM"] = 4] = "FORM";
8
+ })(ContactOrigin || (ContactOrigin = {}));
9
+ export var ContactField_type;
10
+ (function (ContactField_type) {
11
+ ContactField_type[ContactField_type["TEXT"] = 0] = "TEXT";
12
+ ContactField_type[ContactField_type["LONGTEXT"] = 1] = "LONGTEXT";
13
+ ContactField_type[ContactField_type["CURRENCY"] = 3] = "CURRENCY";
14
+ ContactField_type[ContactField_type["OPTIONS"] = 4] = "OPTIONS";
15
+ ContactField_type[ContactField_type["TIME"] = 5] = "TIME";
16
+ ContactField_type[ContactField_type["DATE"] = 6] = "DATE";
17
+ ContactField_type[ContactField_type["TIMERANGE"] = 7] = "TIMERANGE";
18
+ ContactField_type[ContactField_type["DATERANGE"] = 8] = "DATERANGE";
19
+ ContactField_type[ContactField_type["ADDRESS"] = 11] = "ADDRESS";
20
+ ContactField_type[ContactField_type["NUMBER_INTEGER"] = 21] = "NUMBER_INTEGER";
21
+ ContactField_type[ContactField_type["NUMBER_DECIMAL"] = 22] = "NUMBER_DECIMAL";
22
+ ContactField_type[ContactField_type["NUMBER_CURRENCY"] = 23] = "NUMBER_CURRENCY";
23
+ ContactField_type[ContactField_type["NUMBER_ACCOUNTING"] = 24] = "NUMBER_ACCOUNTING";
24
+ })(ContactField_type || (ContactField_type = {}));
25
+ export var IntegrationButton_method;
26
+ (function (IntegrationButton_method) {
27
+ IntegrationButton_method[IntegrationButton_method["GET"] = 1] = "GET";
28
+ IntegrationButton_method[IntegrationButton_method["POST"] = 2] = "POST";
29
+ })(IntegrationButton_method || (IntegrationButton_method = {}));
30
+ export var IntegrationButton_format;
31
+ (function (IntegrationButton_format) {
32
+ IntegrationButton_format[IntegrationButton_format["JSON"] = 1] = "JSON";
33
+ IntegrationButton_format[IntegrationButton_format["HTML"] = 2] = "HTML";
34
+ IntegrationButton_format[IntegrationButton_format["HTML_newtab"] = 3] = "HTML_newtab";
35
+ })(IntegrationButton_format || (IntegrationButton_format = {}));
36
+ export class GooglePeopleIntegration {
37
+ }
38
+ export class GoogleAccountInfo {
39
+ }
@@ -1,5 +1,5 @@
1
- export * from './contacts';
2
- export * from './segments';
3
- export * from './Label';
4
- export * from './Note';
5
- export * from './File';
1
+ export * from './contacts';
2
+ export * from './segments';
3
+ export * from './Label';
4
+ export * from './Note';
5
+ export * from './File';
@@ -1,5 +1,5 @@
1
- export * from './contacts';
2
- export * from './segments';
3
- export * from './Label';
4
- export * from './Note';
5
- export * from './File';
1
+ export * from './contacts';
2
+ export * from './segments';
3
+ export * from './Label';
4
+ export * from './Note';
5
+ export * from './File';
@@ -1,51 +1,51 @@
1
- import { ContactField_type } from "./contacts";
2
- export interface ISegment {
3
- id: string;
4
- spaceId?: string | null;
5
- name?: string | null;
6
- description?: string | null;
7
- count: number;
8
- lists: ISegmentList[];
9
- filter?: ISegmentFilter;
10
- countLastUpdate?: string | null;
11
- createdAt?: string | null;
12
- updatedAt?: string | null;
13
- deletedAt?: string | null;
14
- }
15
- export interface ISegmentList {
16
- id: string;
17
- name: string | null;
18
- }
19
- export interface ISegmentFilter {
20
- operator: string | 'AND';
21
- groups: ISegmentFilterGroup[];
22
- }
23
- export interface ISegmentFilterGroup {
24
- operator: string | 'OR';
25
- items: ISegmentFilterGroupItem[];
26
- }
27
- export interface ISegmentFilterGroupItem {
28
- field: string;
29
- condition: string;
30
- value: string;
31
- }
32
- export declare enum Segment_Filter_Operator {
33
- NULL = 0,
34
- LESS_THAN = 1,
35
- LESS_THAN_EQUAL = 2,
36
- EQUAL = 3,
37
- GREATER_THAN_EQUAL = 4,
38
- GREATER_THAN = 5,
39
- START_WITH = 6,
40
- END_WITH = 7,
41
- CONTAINS = 8,
42
- NOT_CONTAINS = 9,
43
- ANY_VALUE = 10
44
- }
45
- export interface filter {
46
- key: string;
47
- type: ContactField_type;
48
- }
49
- export declare const Segment_Filter_Details: filter[];
50
- export declare const Segment_Filter_Geography: filter[];
51
- export declare const Segment_Filter_Account: filter[];
1
+ import { ContactField_type } from "./contacts";
2
+ export interface ISegment {
3
+ id: string;
4
+ spaceId?: string | null;
5
+ name?: string | null;
6
+ description?: string | null;
7
+ count: number;
8
+ lists: ISegmentList[];
9
+ filter?: ISegmentFilter;
10
+ countLastUpdate?: string | null;
11
+ createdAt?: string | null;
12
+ updatedAt?: string | null;
13
+ deletedAt?: string | null;
14
+ }
15
+ export interface ISegmentList {
16
+ id: string;
17
+ name: string | null;
18
+ }
19
+ export interface ISegmentFilter {
20
+ operator: string | 'AND';
21
+ groups: ISegmentFilterGroup[];
22
+ }
23
+ export interface ISegmentFilterGroup {
24
+ operator: string | 'OR';
25
+ items: ISegmentFilterGroupItem[];
26
+ }
27
+ export interface ISegmentFilterGroupItem {
28
+ field: string;
29
+ condition: string;
30
+ value: string;
31
+ }
32
+ export declare enum Segment_Filter_Operator {
33
+ NULL = 0,
34
+ LESS_THAN = 1,
35
+ LESS_THAN_EQUAL = 2,
36
+ EQUAL = 3,
37
+ GREATER_THAN_EQUAL = 4,
38
+ GREATER_THAN = 5,
39
+ START_WITH = 6,
40
+ END_WITH = 7,
41
+ CONTAINS = 8,
42
+ NOT_CONTAINS = 9,
43
+ ANY_VALUE = 10
44
+ }
45
+ export interface filter {
46
+ key: string;
47
+ type: ContactField_type;
48
+ }
49
+ export declare const Segment_Filter_Details: filter[];
50
+ export declare const Segment_Filter_Geography: filter[];
51
+ export declare const Segment_Filter_Account: filter[];