@whitewall/blip-sdk 0.0.197 → 0.0.200
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/cjs/client.js.map +1 -1
- package/dist/cjs/namespaces/account.js.map +1 -1
- package/dist/cjs/namespaces/activecampaign.js.map +1 -1
- package/dist/cjs/namespaces/analytics.js.map +1 -1
- package/dist/cjs/namespaces/billing.js.map +1 -1
- package/dist/cjs/namespaces/builder.js.map +1 -1
- package/dist/cjs/namespaces/configurations.js.map +1 -1
- package/dist/cjs/namespaces/context.js.map +1 -1
- package/dist/cjs/namespaces/desk.js.map +1 -1
- package/dist/cjs/namespaces/media.js.map +1 -1
- package/dist/cjs/namespaces/namespace.js +23 -9
- package/dist/cjs/namespaces/namespace.js.map +1 -1
- package/dist/cjs/namespaces/portal.js.map +1 -1
- package/dist/cjs/namespaces/scheduler.js.map +1 -1
- package/dist/cjs/namespaces/tunnel.js.map +1 -1
- package/dist/cjs/namespaces/whatsapp.js.map +1 -1
- package/dist/cjs/schemas/webhook.js.map +1 -1
- package/dist/cjs/sender/bliperror.js.map +1 -1
- package/dist/cjs/sender/closable.js.map +1 -1
- package/dist/cjs/sender/enveloperesolver.js +1 -1
- package/dist/cjs/sender/enveloperesolver.js.map +1 -1
- package/dist/cjs/sender/gateway/customgatewaysender.js +1 -1
- package/dist/cjs/sender/gateway/customgatewaysender.js.map +1 -1
- package/dist/cjs/sender/http/httpsender.js +1 -1
- package/dist/cjs/sender/http/httpsender.js.map +1 -1
- package/dist/cjs/sender/multi/multisender.js.map +1 -1
- package/dist/cjs/sender/plugin/communication.js.map +1 -1
- package/dist/cjs/sender/plugin/pluginsender.js.map +1 -1
- package/dist/cjs/sender/retryableerror.js.map +1 -1
- package/dist/cjs/sender/security.js.map +1 -1
- package/dist/cjs/sender/sender.js +11 -0
- package/dist/cjs/sender/sender.js.map +1 -1
- package/dist/cjs/sender/sessionnegotiator.js +2 -2
- package/dist/cjs/sender/sessionnegotiator.js.map +1 -1
- package/dist/cjs/sender/tcp/json-parser.js.map +1 -1
- package/dist/cjs/sender/tcp/tcpsender.js +7 -13
- package/dist/cjs/sender/tcp/tcpsender.js.map +1 -1
- package/dist/cjs/sender/throttler.js.map +1 -1
- package/dist/cjs/sender/transporttls.js.map +1 -1
- package/dist/cjs/sender/websocket/websocketsender.js +7 -13
- package/dist/cjs/sender/websocket/websocketsender.js.map +1 -1
- package/dist/cjs/types/command.js.map +1 -1
- package/dist/cjs/types/desk.js +9 -10
- package/dist/cjs/types/desk.js.map +1 -1
- package/dist/cjs/types/flow.js.map +1 -1
- package/dist/cjs/types/message.js.map +1 -1
- package/dist/cjs/types/node.js.map +1 -1
- package/dist/cjs/types/notification.js.map +1 -1
- package/dist/cjs/types/reason.js +8 -9
- package/dist/cjs/types/reason.js.map +1 -1
- package/dist/cjs/types/session.js.map +1 -1
- package/dist/cjs/utils/builder.js.map +1 -1
- package/dist/cjs/utils/desk.js.map +1 -1
- package/dist/cjs/utils/flow-rules.js.map +1 -1
- package/dist/cjs/utils/minifier.js.map +1 -1
- package/dist/cjs/utils/odata.js.map +1 -1
- package/dist/cjs/utils/promise.js +9 -0
- package/dist/cjs/utils/promise.js.map +1 -0
- package/dist/cjs/utils/random.js.map +1 -1
- package/dist/cjs/utils/thread.js.map +1 -1
- package/dist/cjs/utils/uri.js.map +1 -1
- package/dist/cjs/utils/whatsapp.js.map +1 -1
- package/dist/esm/client.js +16 -16
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/index.js +13 -13
- package/dist/esm/namespaces/account.js +5 -5
- package/dist/esm/namespaces/account.js.map +1 -1
- package/dist/esm/namespaces/activecampaign.js +3 -3
- package/dist/esm/namespaces/analytics.js +4 -4
- package/dist/esm/namespaces/analytics.js.map +1 -1
- package/dist/esm/namespaces/billing.js +3 -3
- package/dist/esm/namespaces/builder.js +3 -3
- package/dist/esm/namespaces/configurations.js +2 -2
- package/dist/esm/namespaces/context.js +2 -2
- package/dist/esm/namespaces/desk.js +5 -5
- package/dist/esm/namespaces/media.js +4 -4
- package/dist/esm/namespaces/namespace.js +27 -13
- package/dist/esm/namespaces/namespace.js.map +1 -1
- package/dist/esm/namespaces/portal.js +5 -5
- package/dist/esm/namespaces/scheduler.js +3 -3
- package/dist/esm/namespaces/tunnel.js +3 -3
- package/dist/esm/namespaces/whatsapp.js +3 -3
- package/dist/esm/schemas/index.js +1 -1
- package/dist/esm/schemas/utils/validate.js +1 -1
- package/dist/esm/schemas/webhook.js +1 -1
- package/dist/esm/sender/bliperror.js +1 -1
- package/dist/esm/sender/bliperror.js.map +1 -1
- package/dist/esm/sender/enveloperesolver.js +4 -4
- package/dist/esm/sender/enveloperesolver.js.map +1 -1
- package/dist/esm/sender/gateway/customgatewaysender.js +2 -2
- package/dist/esm/sender/gateway/customgatewaysender.js.map +1 -1
- package/dist/esm/sender/http/httpsender.js +7 -7
- package/dist/esm/sender/http/httpsender.js.map +1 -1
- package/dist/esm/sender/index.js +8 -8
- package/dist/esm/sender/multi/multisender.js +1 -1
- package/dist/esm/sender/plugin/communication.js +1 -1
- package/dist/esm/sender/plugin/pluginsender.js +3 -3
- package/dist/esm/sender/retryableerror.js +1 -1
- package/dist/esm/sender/sender.js +14 -3
- package/dist/esm/sender/sender.js.map +1 -1
- package/dist/esm/sender/sessionnegotiator.js +4 -4
- package/dist/esm/sender/sessionnegotiator.js.map +1 -1
- package/dist/esm/sender/tcp/tcpsender.js +14 -20
- package/dist/esm/sender/tcp/tcpsender.js.map +1 -1
- package/dist/esm/sender/websocket/websocketsender.js +14 -20
- package/dist/esm/sender/websocket/websocketsender.js.map +1 -1
- package/dist/esm/types/desk.js +9 -10
- package/dist/esm/types/desk.js.map +1 -1
- package/dist/esm/types/index.js +12 -12
- package/dist/esm/types/node.js.map +1 -1
- package/dist/esm/types/reason.js +8 -9
- package/dist/esm/types/reason.js.map +1 -1
- package/dist/esm/utils/builder.js +1 -1
- package/dist/esm/utils/desk.js +1 -1
- package/dist/esm/utils/flow-rules.js +1 -1
- package/dist/esm/utils/minifier.js +2 -2
- package/dist/esm/utils/minifier.js.map +1 -1
- package/dist/esm/utils/promise.js +6 -0
- package/dist/esm/utils/promise.js.map +1 -0
- package/dist/esm/utils/thread.js +1 -1
- package/dist/esm/utils/whatsapp.js +1 -1
- package/dist/types/client.d.ts +2 -2
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/namespaces/account.d.ts +347 -347
- package/dist/types/namespaces/account.d.ts.map +1 -1
- package/dist/types/namespaces/activecampaign.d.ts +1 -1
- package/dist/types/namespaces/activecampaign.d.ts.map +1 -1
- package/dist/types/namespaces/analytics.d.ts +10 -10
- package/dist/types/namespaces/analytics.d.ts.map +1 -1
- package/dist/types/namespaces/billing.d.ts.map +1 -1
- package/dist/types/namespaces/builder.d.ts.map +1 -1
- package/dist/types/namespaces/configurations.d.ts.map +1 -1
- package/dist/types/namespaces/context.d.ts.map +1 -1
- package/dist/types/namespaces/desk.d.ts +3 -3
- package/dist/types/namespaces/desk.d.ts.map +1 -1
- package/dist/types/namespaces/media.d.ts.map +1 -1
- package/dist/types/namespaces/namespace.d.ts +2 -1
- package/dist/types/namespaces/namespace.d.ts.map +1 -1
- package/dist/types/namespaces/portal.d.ts.map +1 -1
- package/dist/types/namespaces/scheduler.d.ts.map +1 -1
- package/dist/types/namespaces/tunnel.d.ts.map +1 -1
- package/dist/types/namespaces/whatsapp.d.ts.map +1 -1
- package/dist/types/schemas/utils/validate.d.ts +2 -2
- package/dist/types/schemas/utils/validate.d.ts.map +1 -1
- package/dist/types/schemas/webhook.d.ts +6 -6
- package/dist/types/schemas/webhook.d.ts.map +1 -1
- package/dist/types/sender/bliperror.d.ts +3 -4
- package/dist/types/sender/bliperror.d.ts.map +1 -1
- package/dist/types/sender/closable.d.ts.map +1 -1
- package/dist/types/sender/enveloperesolver.d.ts +1 -1
- package/dist/types/sender/enveloperesolver.d.ts.map +1 -1
- package/dist/types/sender/gateway/customgatewaysender.d.ts.map +1 -1
- package/dist/types/sender/http/httpsender.d.ts.map +1 -1
- package/dist/types/sender/multi/multisender.d.ts.map +1 -1
- package/dist/types/sender/plugin/communication.d.ts.map +1 -1
- package/dist/types/sender/plugin/pluginsender.d.ts.map +1 -1
- package/dist/types/sender/retryableerror.d.ts.map +1 -1
- package/dist/types/sender/sender.d.ts +1 -0
- package/dist/types/sender/sender.d.ts.map +1 -1
- package/dist/types/sender/sessionnegotiator.d.ts +2 -2
- package/dist/types/sender/sessionnegotiator.d.ts.map +1 -1
- package/dist/types/sender/tcp/tcpsender.d.ts.map +1 -1
- package/dist/types/sender/throttler.d.ts.map +1 -1
- package/dist/types/sender/transporttls.d.ts +1 -1
- package/dist/types/sender/transporttls.d.ts.map +1 -1
- package/dist/types/sender/websocket/websocketsender.d.ts.map +1 -1
- package/dist/types/types/command.d.ts.map +1 -1
- package/dist/types/types/desk.d.ts +10 -9
- package/dist/types/types/desk.d.ts.map +1 -1
- package/dist/types/types/flow.d.ts +320 -320
- package/dist/types/types/flow.d.ts.map +1 -1
- package/dist/types/types/message.d.ts +1 -1
- package/dist/types/types/message.d.ts.map +1 -1
- package/dist/types/types/node.d.ts +3 -3
- package/dist/types/types/node.d.ts.map +1 -1
- package/dist/types/types/notification.d.ts.map +1 -1
- package/dist/types/types/reason.d.ts +9 -8
- package/dist/types/types/reason.d.ts.map +1 -1
- package/dist/types/types/session.d.ts.map +1 -1
- package/dist/types/types/whatsapp.d.ts +1 -1
- package/dist/types/types/whatsapp.d.ts.map +1 -1
- package/dist/types/utils/flow-rules.d.ts.map +1 -1
- package/dist/types/utils/logger.d.ts +2 -2
- package/dist/types/utils/logger.d.ts.map +1 -1
- package/dist/types/utils/minifier.d.ts +253 -253
- package/dist/types/utils/odata.d.ts.map +1 -1
- package/dist/types/utils/promise.d.ts +2 -0
- package/dist/types/utils/promise.d.ts.map +1 -0
- package/dist/types/utils/uri.d.ts.map +1 -1
- package/package.json +9 -6
- package/src/client.ts +6 -4
- package/src/namespaces/namespace.ts +42 -15
- package/src/sender/bliperror.ts +9 -6
- package/src/sender/enveloperesolver.ts +4 -1
- package/src/sender/sender.ts +11 -0
- package/src/sender/sessionnegotiator.ts +7 -4
- package/src/sender/tcp/tcpsender.ts +6 -12
- package/src/sender/websocket/websocketsender.ts +6 -13
- package/src/types/desk.ts +11 -9
- package/src/types/node.ts +8 -5
- package/src/types/reason.ts +10 -8
- package/src/utils/promise.ts +5 -0
|
@@ -85,15 +85,15 @@ export declare class AccountNamespace extends Namespace {
|
|
|
85
85
|
$contentActions: {
|
|
86
86
|
action?: ({
|
|
87
87
|
$id: string;
|
|
88
|
-
$typeOfContent?: "" | "
|
|
88
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
89
89
|
$title?: string | undefined;
|
|
90
90
|
$invalid?: boolean | undefined;
|
|
91
91
|
conditions?: {
|
|
92
92
|
source: "context" | "input";
|
|
93
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
94
|
-
values: string[];
|
|
95
93
|
variable?: string | null | undefined;
|
|
96
|
-
|
|
94
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
95
|
+
operator?: "and" | "or" | undefined;
|
|
96
|
+
values: string[];
|
|
97
97
|
}[] | undefined;
|
|
98
98
|
$cardContent?: {
|
|
99
99
|
editable: boolean;
|
|
@@ -106,21 +106,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
106
106
|
state: string;
|
|
107
107
|
interval?: string | number | undefined;
|
|
108
108
|
} | {
|
|
109
|
-
text: string;
|
|
110
|
-
uri: string;
|
|
111
109
|
title?: string | null | undefined;
|
|
110
|
+
text: string;
|
|
112
111
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
112
|
+
uri: string;
|
|
113
113
|
} | {
|
|
114
114
|
text: string;
|
|
115
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
115
116
|
options: string[] | {
|
|
116
117
|
text: string;
|
|
117
118
|
}[];
|
|
118
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
119
119
|
} | {
|
|
120
|
-
type: string;
|
|
121
|
-
uri: string;
|
|
122
120
|
title?: string | undefined;
|
|
123
121
|
text?: string | undefined;
|
|
122
|
+
type: string;
|
|
123
|
+
uri: string;
|
|
124
124
|
};
|
|
125
125
|
textContent?: string | undefined;
|
|
126
126
|
};
|
|
@@ -129,56 +129,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
129
129
|
} & ({
|
|
130
130
|
type: "SendMessage";
|
|
131
131
|
settings: {
|
|
132
|
+
$invalid?: boolean | undefined;
|
|
133
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
132
134
|
content: string | {
|
|
133
135
|
state: string;
|
|
134
136
|
interval?: string | number | undefined;
|
|
135
137
|
} | {
|
|
136
|
-
text: string;
|
|
137
|
-
uri: string;
|
|
138
138
|
title?: string | null | undefined;
|
|
139
|
+
text: string;
|
|
139
140
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
141
|
+
uri: string;
|
|
140
142
|
} | {
|
|
141
143
|
text: string;
|
|
144
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
142
145
|
options: string[] | {
|
|
143
146
|
text: string;
|
|
144
147
|
}[];
|
|
145
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
146
148
|
} | {
|
|
147
|
-
type: string;
|
|
148
|
-
uri: string;
|
|
149
149
|
title?: string | undefined;
|
|
150
150
|
text?: string | undefined;
|
|
151
|
+
type: string;
|
|
152
|
+
uri: string;
|
|
151
153
|
};
|
|
152
|
-
$invalid?: boolean | undefined;
|
|
153
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
154
154
|
id?: string | undefined;
|
|
155
155
|
metadata?: Record<string, string> | undefined;
|
|
156
156
|
};
|
|
157
157
|
} | {
|
|
158
158
|
type: "SendRawMessage";
|
|
159
159
|
settings: {
|
|
160
|
-
rawContent: string;
|
|
161
160
|
$invalid?: boolean | undefined;
|
|
162
161
|
type?: string | undefined;
|
|
162
|
+
rawContent: string;
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
165
|
type: "TrackEvent";
|
|
166
166
|
settings: {
|
|
167
|
+
$invalid?: boolean | undefined;
|
|
167
168
|
category: string;
|
|
168
169
|
action: string;
|
|
169
|
-
$invalid?: boolean | undefined;
|
|
170
170
|
extras?: Record<string, string> | null | undefined;
|
|
171
171
|
};
|
|
172
172
|
} | {
|
|
173
173
|
type: "ProcessHttp";
|
|
174
174
|
settings: {
|
|
175
|
-
|
|
175
|
+
$invalid?: boolean | undefined;
|
|
176
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
176
177
|
uri: string;
|
|
178
|
+
headers?: Record<string, string> | null | undefined;
|
|
177
179
|
body: string;
|
|
178
180
|
responseBodyVariable: string;
|
|
179
181
|
responseStatusVariable: string;
|
|
180
|
-
$invalid?: boolean | undefined;
|
|
181
|
-
headers?: Record<string, string> | null | undefined;
|
|
182
182
|
};
|
|
183
183
|
} | {
|
|
184
184
|
type: "MergeContact";
|
|
@@ -192,37 +192,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
192
192
|
} | {
|
|
193
193
|
type: "ExecuteScript";
|
|
194
194
|
settings: {
|
|
195
|
+
$invalid?: boolean | undefined;
|
|
196
|
+
function?: "run" | undefined;
|
|
195
197
|
source: string;
|
|
196
198
|
inputVariables: string[];
|
|
197
199
|
outputVariable: string;
|
|
198
|
-
$invalid?: boolean | undefined;
|
|
199
|
-
function?: "run" | undefined;
|
|
200
200
|
};
|
|
201
201
|
} | {
|
|
202
202
|
type: "ExecuteScriptV2";
|
|
203
203
|
settings: {
|
|
204
|
+
$invalid?: boolean | undefined;
|
|
205
|
+
function?: "run" | undefined;
|
|
204
206
|
source: string;
|
|
205
207
|
inputVariables: string[];
|
|
206
208
|
outputVariable: string;
|
|
207
|
-
$invalid?: boolean | undefined;
|
|
208
|
-
function?: "run" | undefined;
|
|
209
209
|
};
|
|
210
210
|
} | {
|
|
211
211
|
type: "SetVariable";
|
|
212
212
|
settings: {
|
|
213
|
-
variable: string;
|
|
214
213
|
$invalid?: boolean | undefined;
|
|
214
|
+
variable: string;
|
|
215
215
|
value?: string | number | undefined;
|
|
216
216
|
expiration?: number | null | undefined;
|
|
217
217
|
};
|
|
218
218
|
} | {
|
|
219
219
|
type: "ProcessCommand";
|
|
220
220
|
settings: {
|
|
221
|
+
$invalid?: boolean | undefined;
|
|
221
222
|
to: string;
|
|
222
|
-
method: "
|
|
223
|
+
method: "delete" | "get" | "merge" | "set";
|
|
223
224
|
uri: string;
|
|
224
225
|
variable: string;
|
|
225
|
-
$invalid?: boolean | undefined;
|
|
226
226
|
from?: string | undefined;
|
|
227
227
|
};
|
|
228
228
|
} | {
|
|
@@ -238,12 +238,12 @@ export declare class AccountNamespace extends Namespace {
|
|
|
238
238
|
} | {
|
|
239
239
|
type: "Redirect";
|
|
240
240
|
settings: {
|
|
241
|
+
$invalid?: boolean | undefined;
|
|
241
242
|
address: string;
|
|
242
243
|
context: {
|
|
243
244
|
type: "text/plain";
|
|
244
245
|
value: string;
|
|
245
246
|
};
|
|
246
|
-
$invalid?: boolean | undefined;
|
|
247
247
|
};
|
|
248
248
|
})) | undefined;
|
|
249
249
|
input?: {
|
|
@@ -262,32 +262,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
262
262
|
$invalid: boolean;
|
|
263
263
|
bypass: boolean;
|
|
264
264
|
validation?: {
|
|
265
|
-
rule: "
|
|
266
|
-
error: string;
|
|
265
|
+
rule: "date" | "number" | "regex" | "text" | "type";
|
|
267
266
|
regex?: string | null | undefined;
|
|
268
267
|
type?: string | null | undefined;
|
|
268
|
+
error: string;
|
|
269
269
|
} | null | undefined;
|
|
270
270
|
expiration?: string | null | undefined;
|
|
271
271
|
variable?: string | null | undefined;
|
|
272
272
|
conditions?: {
|
|
273
273
|
source: "context" | "input";
|
|
274
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
275
|
-
values: string[];
|
|
276
274
|
variable?: string | null | undefined;
|
|
277
|
-
|
|
275
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
276
|
+
operator?: "and" | "or" | undefined;
|
|
277
|
+
values: string[];
|
|
278
278
|
}[] | undefined;
|
|
279
279
|
} | undefined;
|
|
280
280
|
$invalid?: boolean | undefined;
|
|
281
281
|
}[];
|
|
282
282
|
$conditionOutputs: {
|
|
283
283
|
stateId: string;
|
|
284
|
-
conditions: {
|
|
285
|
-
source: "context" | "input";
|
|
286
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
287
|
-
values: string[];
|
|
288
|
-
variable?: string | null | undefined;
|
|
289
|
-
operator?: "or" | "and" | undefined;
|
|
290
|
-
}[];
|
|
291
284
|
typeOfStateId?: "state" | "variable" | undefined;
|
|
292
285
|
$id?: string | undefined;
|
|
293
286
|
$invalid?: boolean | undefined;
|
|
@@ -296,18 +289,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
296
289
|
$isDeskOutput?: boolean | undefined;
|
|
297
290
|
$isDeskCustomOutput?: boolean | undefined;
|
|
298
291
|
$isDeskDefaultOutput?: boolean | undefined;
|
|
292
|
+
conditions: {
|
|
293
|
+
source: "context" | "input";
|
|
294
|
+
variable?: string | null | undefined;
|
|
295
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
296
|
+
operator?: "and" | "or" | undefined;
|
|
297
|
+
values: string[];
|
|
298
|
+
}[];
|
|
299
299
|
}[];
|
|
300
300
|
$enteringCustomActions: ({
|
|
301
301
|
$id: string;
|
|
302
|
-
$typeOfContent?: "" | "
|
|
302
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
303
303
|
$title?: string | undefined;
|
|
304
304
|
$invalid?: boolean | undefined;
|
|
305
305
|
conditions?: {
|
|
306
306
|
source: "context" | "input";
|
|
307
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
308
|
-
values: string[];
|
|
309
307
|
variable?: string | null | undefined;
|
|
310
|
-
|
|
308
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
309
|
+
operator?: "and" | "or" | undefined;
|
|
310
|
+
values: string[];
|
|
311
311
|
}[] | undefined;
|
|
312
312
|
$cardContent?: {
|
|
313
313
|
editable: boolean;
|
|
@@ -320,21 +320,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
320
320
|
state: string;
|
|
321
321
|
interval?: string | number | undefined;
|
|
322
322
|
} | {
|
|
323
|
-
text: string;
|
|
324
|
-
uri: string;
|
|
325
323
|
title?: string | null | undefined;
|
|
324
|
+
text: string;
|
|
326
325
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
326
|
+
uri: string;
|
|
327
327
|
} | {
|
|
328
328
|
text: string;
|
|
329
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
329
330
|
options: string[] | {
|
|
330
331
|
text: string;
|
|
331
332
|
}[];
|
|
332
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
333
333
|
} | {
|
|
334
|
-
type: string;
|
|
335
|
-
uri: string;
|
|
336
334
|
title?: string | undefined;
|
|
337
335
|
text?: string | undefined;
|
|
336
|
+
type: string;
|
|
337
|
+
uri: string;
|
|
338
338
|
};
|
|
339
339
|
textContent?: string | undefined;
|
|
340
340
|
};
|
|
@@ -343,56 +343,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
343
343
|
} & ({
|
|
344
344
|
type: "SendMessage";
|
|
345
345
|
settings: {
|
|
346
|
+
$invalid?: boolean | undefined;
|
|
347
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
346
348
|
content: string | {
|
|
347
349
|
state: string;
|
|
348
350
|
interval?: string | number | undefined;
|
|
349
351
|
} | {
|
|
350
|
-
text: string;
|
|
351
|
-
uri: string;
|
|
352
352
|
title?: string | null | undefined;
|
|
353
|
+
text: string;
|
|
353
354
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
355
|
+
uri: string;
|
|
354
356
|
} | {
|
|
355
357
|
text: string;
|
|
358
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
356
359
|
options: string[] | {
|
|
357
360
|
text: string;
|
|
358
361
|
}[];
|
|
359
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
360
362
|
} | {
|
|
361
|
-
type: string;
|
|
362
|
-
uri: string;
|
|
363
363
|
title?: string | undefined;
|
|
364
364
|
text?: string | undefined;
|
|
365
|
+
type: string;
|
|
366
|
+
uri: string;
|
|
365
367
|
};
|
|
366
|
-
$invalid?: boolean | undefined;
|
|
367
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
368
368
|
id?: string | undefined;
|
|
369
369
|
metadata?: Record<string, string> | undefined;
|
|
370
370
|
};
|
|
371
371
|
} | {
|
|
372
372
|
type: "SendRawMessage";
|
|
373
373
|
settings: {
|
|
374
|
-
rawContent: string;
|
|
375
374
|
$invalid?: boolean | undefined;
|
|
376
375
|
type?: string | undefined;
|
|
376
|
+
rawContent: string;
|
|
377
377
|
};
|
|
378
378
|
} | {
|
|
379
379
|
type: "TrackEvent";
|
|
380
380
|
settings: {
|
|
381
|
+
$invalid?: boolean | undefined;
|
|
381
382
|
category: string;
|
|
382
383
|
action: string;
|
|
383
|
-
$invalid?: boolean | undefined;
|
|
384
384
|
extras?: Record<string, string> | null | undefined;
|
|
385
385
|
};
|
|
386
386
|
} | {
|
|
387
387
|
type: "ProcessHttp";
|
|
388
388
|
settings: {
|
|
389
|
-
|
|
389
|
+
$invalid?: boolean | undefined;
|
|
390
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
390
391
|
uri: string;
|
|
392
|
+
headers?: Record<string, string> | null | undefined;
|
|
391
393
|
body: string;
|
|
392
394
|
responseBodyVariable: string;
|
|
393
395
|
responseStatusVariable: string;
|
|
394
|
-
$invalid?: boolean | undefined;
|
|
395
|
-
headers?: Record<string, string> | null | undefined;
|
|
396
396
|
};
|
|
397
397
|
} | {
|
|
398
398
|
type: "MergeContact";
|
|
@@ -406,37 +406,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
406
406
|
} | {
|
|
407
407
|
type: "ExecuteScript";
|
|
408
408
|
settings: {
|
|
409
|
+
$invalid?: boolean | undefined;
|
|
410
|
+
function?: "run" | undefined;
|
|
409
411
|
source: string;
|
|
410
412
|
inputVariables: string[];
|
|
411
413
|
outputVariable: string;
|
|
412
|
-
$invalid?: boolean | undefined;
|
|
413
|
-
function?: "run" | undefined;
|
|
414
414
|
};
|
|
415
415
|
} | {
|
|
416
416
|
type: "ExecuteScriptV2";
|
|
417
417
|
settings: {
|
|
418
|
+
$invalid?: boolean | undefined;
|
|
419
|
+
function?: "run" | undefined;
|
|
418
420
|
source: string;
|
|
419
421
|
inputVariables: string[];
|
|
420
422
|
outputVariable: string;
|
|
421
|
-
$invalid?: boolean | undefined;
|
|
422
|
-
function?: "run" | undefined;
|
|
423
423
|
};
|
|
424
424
|
} | {
|
|
425
425
|
type: "SetVariable";
|
|
426
426
|
settings: {
|
|
427
|
-
variable: string;
|
|
428
427
|
$invalid?: boolean | undefined;
|
|
428
|
+
variable: string;
|
|
429
429
|
value?: string | number | undefined;
|
|
430
430
|
expiration?: number | null | undefined;
|
|
431
431
|
};
|
|
432
432
|
} | {
|
|
433
433
|
type: "ProcessCommand";
|
|
434
434
|
settings: {
|
|
435
|
+
$invalid?: boolean | undefined;
|
|
435
436
|
to: string;
|
|
436
|
-
method: "
|
|
437
|
+
method: "delete" | "get" | "merge" | "set";
|
|
437
438
|
uri: string;
|
|
438
439
|
variable: string;
|
|
439
|
-
$invalid?: boolean | undefined;
|
|
440
440
|
from?: string | undefined;
|
|
441
441
|
};
|
|
442
442
|
} | {
|
|
@@ -452,25 +452,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
452
452
|
} | {
|
|
453
453
|
type: "Redirect";
|
|
454
454
|
settings: {
|
|
455
|
+
$invalid?: boolean | undefined;
|
|
455
456
|
address: string;
|
|
456
457
|
context: {
|
|
457
458
|
type: "text/plain";
|
|
458
459
|
value: string;
|
|
459
460
|
};
|
|
460
|
-
$invalid?: boolean | undefined;
|
|
461
461
|
};
|
|
462
462
|
}))[];
|
|
463
463
|
$leavingCustomActions: ({
|
|
464
464
|
$id: string;
|
|
465
|
-
$typeOfContent?: "" | "
|
|
465
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
466
466
|
$title?: string | undefined;
|
|
467
467
|
$invalid?: boolean | undefined;
|
|
468
468
|
conditions?: {
|
|
469
469
|
source: "context" | "input";
|
|
470
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
471
|
-
values: string[];
|
|
472
470
|
variable?: string | null | undefined;
|
|
473
|
-
|
|
471
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
472
|
+
operator?: "and" | "or" | undefined;
|
|
473
|
+
values: string[];
|
|
474
474
|
}[] | undefined;
|
|
475
475
|
$cardContent?: {
|
|
476
476
|
editable: boolean;
|
|
@@ -483,21 +483,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
483
483
|
state: string;
|
|
484
484
|
interval?: string | number | undefined;
|
|
485
485
|
} | {
|
|
486
|
-
text: string;
|
|
487
|
-
uri: string;
|
|
488
486
|
title?: string | null | undefined;
|
|
487
|
+
text: string;
|
|
489
488
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
489
|
+
uri: string;
|
|
490
490
|
} | {
|
|
491
491
|
text: string;
|
|
492
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
492
493
|
options: string[] | {
|
|
493
494
|
text: string;
|
|
494
495
|
}[];
|
|
495
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
496
496
|
} | {
|
|
497
|
-
type: string;
|
|
498
|
-
uri: string;
|
|
499
497
|
title?: string | undefined;
|
|
500
498
|
text?: string | undefined;
|
|
499
|
+
type: string;
|
|
500
|
+
uri: string;
|
|
501
501
|
};
|
|
502
502
|
textContent?: string | undefined;
|
|
503
503
|
};
|
|
@@ -506,56 +506,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
506
506
|
} & ({
|
|
507
507
|
type: "SendMessage";
|
|
508
508
|
settings: {
|
|
509
|
+
$invalid?: boolean | undefined;
|
|
510
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
509
511
|
content: string | {
|
|
510
512
|
state: string;
|
|
511
513
|
interval?: string | number | undefined;
|
|
512
514
|
} | {
|
|
513
|
-
text: string;
|
|
514
|
-
uri: string;
|
|
515
515
|
title?: string | null | undefined;
|
|
516
|
+
text: string;
|
|
516
517
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
518
|
+
uri: string;
|
|
517
519
|
} | {
|
|
518
520
|
text: string;
|
|
521
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
519
522
|
options: string[] | {
|
|
520
523
|
text: string;
|
|
521
524
|
}[];
|
|
522
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
523
525
|
} | {
|
|
524
|
-
type: string;
|
|
525
|
-
uri: string;
|
|
526
526
|
title?: string | undefined;
|
|
527
527
|
text?: string | undefined;
|
|
528
|
+
type: string;
|
|
529
|
+
uri: string;
|
|
528
530
|
};
|
|
529
|
-
$invalid?: boolean | undefined;
|
|
530
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
531
531
|
id?: string | undefined;
|
|
532
532
|
metadata?: Record<string, string> | undefined;
|
|
533
533
|
};
|
|
534
534
|
} | {
|
|
535
535
|
type: "SendRawMessage";
|
|
536
536
|
settings: {
|
|
537
|
-
rawContent: string;
|
|
538
537
|
$invalid?: boolean | undefined;
|
|
539
538
|
type?: string | undefined;
|
|
539
|
+
rawContent: string;
|
|
540
540
|
};
|
|
541
541
|
} | {
|
|
542
542
|
type: "TrackEvent";
|
|
543
543
|
settings: {
|
|
544
|
+
$invalid?: boolean | undefined;
|
|
544
545
|
category: string;
|
|
545
546
|
action: string;
|
|
546
|
-
$invalid?: boolean | undefined;
|
|
547
547
|
extras?: Record<string, string> | null | undefined;
|
|
548
548
|
};
|
|
549
549
|
} | {
|
|
550
550
|
type: "ProcessHttp";
|
|
551
551
|
settings: {
|
|
552
|
-
|
|
552
|
+
$invalid?: boolean | undefined;
|
|
553
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
553
554
|
uri: string;
|
|
555
|
+
headers?: Record<string, string> | null | undefined;
|
|
554
556
|
body: string;
|
|
555
557
|
responseBodyVariable: string;
|
|
556
558
|
responseStatusVariable: string;
|
|
557
|
-
$invalid?: boolean | undefined;
|
|
558
|
-
headers?: Record<string, string> | null | undefined;
|
|
559
559
|
};
|
|
560
560
|
} | {
|
|
561
561
|
type: "MergeContact";
|
|
@@ -569,37 +569,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
569
569
|
} | {
|
|
570
570
|
type: "ExecuteScript";
|
|
571
571
|
settings: {
|
|
572
|
+
$invalid?: boolean | undefined;
|
|
573
|
+
function?: "run" | undefined;
|
|
572
574
|
source: string;
|
|
573
575
|
inputVariables: string[];
|
|
574
576
|
outputVariable: string;
|
|
575
|
-
$invalid?: boolean | undefined;
|
|
576
|
-
function?: "run" | undefined;
|
|
577
577
|
};
|
|
578
578
|
} | {
|
|
579
579
|
type: "ExecuteScriptV2";
|
|
580
580
|
settings: {
|
|
581
|
+
$invalid?: boolean | undefined;
|
|
582
|
+
function?: "run" | undefined;
|
|
581
583
|
source: string;
|
|
582
584
|
inputVariables: string[];
|
|
583
585
|
outputVariable: string;
|
|
584
|
-
$invalid?: boolean | undefined;
|
|
585
|
-
function?: "run" | undefined;
|
|
586
586
|
};
|
|
587
587
|
} | {
|
|
588
588
|
type: "SetVariable";
|
|
589
589
|
settings: {
|
|
590
|
-
variable: string;
|
|
591
590
|
$invalid?: boolean | undefined;
|
|
591
|
+
variable: string;
|
|
592
592
|
value?: string | number | undefined;
|
|
593
593
|
expiration?: number | null | undefined;
|
|
594
594
|
};
|
|
595
595
|
} | {
|
|
596
596
|
type: "ProcessCommand";
|
|
597
597
|
settings: {
|
|
598
|
+
$invalid?: boolean | undefined;
|
|
598
599
|
to: string;
|
|
599
|
-
method: "
|
|
600
|
+
method: "delete" | "get" | "merge" | "set";
|
|
600
601
|
uri: string;
|
|
601
602
|
variable: string;
|
|
602
|
-
$invalid?: boolean | undefined;
|
|
603
603
|
from?: string | undefined;
|
|
604
604
|
};
|
|
605
605
|
} | {
|
|
@@ -615,41 +615,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
615
615
|
} | {
|
|
616
616
|
type: "Redirect";
|
|
617
617
|
settings: {
|
|
618
|
+
$invalid?: boolean | undefined;
|
|
618
619
|
address: string;
|
|
619
620
|
context: {
|
|
620
621
|
type: "text/plain";
|
|
621
622
|
value: string;
|
|
622
623
|
};
|
|
623
|
-
$invalid?: boolean | undefined;
|
|
624
624
|
};
|
|
625
625
|
}))[];
|
|
626
|
-
$inputSuggestions: string[];
|
|
627
|
-
$defaultOutput: {
|
|
628
|
-
stateId: string;
|
|
629
|
-
typeOfStateId?: "state" | "variable" | undefined;
|
|
630
|
-
$invalid?: boolean | undefined;
|
|
631
|
-
};
|
|
632
|
-
$tags: {
|
|
633
|
-
id: string;
|
|
634
|
-
label: string;
|
|
635
|
-
background: string;
|
|
636
|
-
canChangeBackground: boolean;
|
|
637
|
-
}[];
|
|
638
|
-
$title: string;
|
|
639
|
-
$invalidContentActions: boolean;
|
|
640
|
-
$invalidOutputs: boolean;
|
|
641
|
-
$invalidCustomActions: boolean;
|
|
642
626
|
$localCustomActions?: ({
|
|
643
627
|
$id: string;
|
|
644
|
-
$typeOfContent?: "" | "
|
|
628
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
645
629
|
$title?: string | undefined;
|
|
646
630
|
$invalid?: boolean | undefined;
|
|
647
631
|
conditions?: {
|
|
648
632
|
source: "context" | "input";
|
|
649
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
650
|
-
values: string[];
|
|
651
633
|
variable?: string | null | undefined;
|
|
652
|
-
|
|
634
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
635
|
+
operator?: "and" | "or" | undefined;
|
|
636
|
+
values: string[];
|
|
653
637
|
}[] | undefined;
|
|
654
638
|
$cardContent?: {
|
|
655
639
|
editable: boolean;
|
|
@@ -662,21 +646,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
662
646
|
state: string;
|
|
663
647
|
interval?: string | number | undefined;
|
|
664
648
|
} | {
|
|
665
|
-
text: string;
|
|
666
|
-
uri: string;
|
|
667
649
|
title?: string | null | undefined;
|
|
650
|
+
text: string;
|
|
668
651
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
652
|
+
uri: string;
|
|
669
653
|
} | {
|
|
670
654
|
text: string;
|
|
655
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
671
656
|
options: string[] | {
|
|
672
657
|
text: string;
|
|
673
658
|
}[];
|
|
674
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
675
659
|
} | {
|
|
676
|
-
type: string;
|
|
677
|
-
uri: string;
|
|
678
660
|
title?: string | undefined;
|
|
679
661
|
text?: string | undefined;
|
|
662
|
+
type: string;
|
|
663
|
+
uri: string;
|
|
680
664
|
};
|
|
681
665
|
textContent?: string | undefined;
|
|
682
666
|
};
|
|
@@ -685,56 +669,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
685
669
|
} & ({
|
|
686
670
|
type: "SendMessage";
|
|
687
671
|
settings: {
|
|
672
|
+
$invalid?: boolean | undefined;
|
|
673
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
688
674
|
content: string | {
|
|
689
675
|
state: string;
|
|
690
676
|
interval?: string | number | undefined;
|
|
691
677
|
} | {
|
|
692
|
-
text: string;
|
|
693
|
-
uri: string;
|
|
694
678
|
title?: string | null | undefined;
|
|
679
|
+
text: string;
|
|
695
680
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
681
|
+
uri: string;
|
|
696
682
|
} | {
|
|
697
683
|
text: string;
|
|
684
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
698
685
|
options: string[] | {
|
|
699
686
|
text: string;
|
|
700
687
|
}[];
|
|
701
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
702
688
|
} | {
|
|
703
|
-
type: string;
|
|
704
|
-
uri: string;
|
|
705
689
|
title?: string | undefined;
|
|
706
690
|
text?: string | undefined;
|
|
691
|
+
type: string;
|
|
692
|
+
uri: string;
|
|
707
693
|
};
|
|
708
|
-
$invalid?: boolean | undefined;
|
|
709
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
710
694
|
id?: string | undefined;
|
|
711
695
|
metadata?: Record<string, string> | undefined;
|
|
712
696
|
};
|
|
713
697
|
} | {
|
|
714
698
|
type: "SendRawMessage";
|
|
715
699
|
settings: {
|
|
716
|
-
rawContent: string;
|
|
717
700
|
$invalid?: boolean | undefined;
|
|
718
701
|
type?: string | undefined;
|
|
702
|
+
rawContent: string;
|
|
719
703
|
};
|
|
720
704
|
} | {
|
|
721
705
|
type: "TrackEvent";
|
|
722
706
|
settings: {
|
|
707
|
+
$invalid?: boolean | undefined;
|
|
723
708
|
category: string;
|
|
724
709
|
action: string;
|
|
725
|
-
$invalid?: boolean | undefined;
|
|
726
710
|
extras?: Record<string, string> | null | undefined;
|
|
727
711
|
};
|
|
728
712
|
} | {
|
|
729
713
|
type: "ProcessHttp";
|
|
730
714
|
settings: {
|
|
731
|
-
|
|
715
|
+
$invalid?: boolean | undefined;
|
|
716
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
732
717
|
uri: string;
|
|
718
|
+
headers?: Record<string, string> | null | undefined;
|
|
733
719
|
body: string;
|
|
734
720
|
responseBodyVariable: string;
|
|
735
721
|
responseStatusVariable: string;
|
|
736
|
-
$invalid?: boolean | undefined;
|
|
737
|
-
headers?: Record<string, string> | null | undefined;
|
|
738
722
|
};
|
|
739
723
|
} | {
|
|
740
724
|
type: "MergeContact";
|
|
@@ -748,37 +732,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
748
732
|
} | {
|
|
749
733
|
type: "ExecuteScript";
|
|
750
734
|
settings: {
|
|
735
|
+
$invalid?: boolean | undefined;
|
|
736
|
+
function?: "run" | undefined;
|
|
751
737
|
source: string;
|
|
752
738
|
inputVariables: string[];
|
|
753
739
|
outputVariable: string;
|
|
754
|
-
$invalid?: boolean | undefined;
|
|
755
|
-
function?: "run" | undefined;
|
|
756
740
|
};
|
|
757
741
|
} | {
|
|
758
742
|
type: "ExecuteScriptV2";
|
|
759
743
|
settings: {
|
|
744
|
+
$invalid?: boolean | undefined;
|
|
745
|
+
function?: "run" | undefined;
|
|
760
746
|
source: string;
|
|
761
747
|
inputVariables: string[];
|
|
762
748
|
outputVariable: string;
|
|
763
|
-
$invalid?: boolean | undefined;
|
|
764
|
-
function?: "run" | undefined;
|
|
765
749
|
};
|
|
766
750
|
} | {
|
|
767
751
|
type: "SetVariable";
|
|
768
752
|
settings: {
|
|
769
|
-
variable: string;
|
|
770
753
|
$invalid?: boolean | undefined;
|
|
754
|
+
variable: string;
|
|
771
755
|
value?: string | number | undefined;
|
|
772
756
|
expiration?: number | null | undefined;
|
|
773
757
|
};
|
|
774
758
|
} | {
|
|
775
759
|
type: "ProcessCommand";
|
|
776
760
|
settings: {
|
|
761
|
+
$invalid?: boolean | undefined;
|
|
777
762
|
to: string;
|
|
778
|
-
method: "
|
|
763
|
+
method: "delete" | "get" | "merge" | "set";
|
|
779
764
|
uri: string;
|
|
780
765
|
variable: string;
|
|
781
|
-
$invalid?: boolean | undefined;
|
|
782
766
|
from?: string | undefined;
|
|
783
767
|
};
|
|
784
768
|
} | {
|
|
@@ -794,27 +778,33 @@ export declare class AccountNamespace extends Namespace {
|
|
|
794
778
|
} | {
|
|
795
779
|
type: "Redirect";
|
|
796
780
|
settings: {
|
|
781
|
+
$invalid?: boolean | undefined;
|
|
797
782
|
address: string;
|
|
798
783
|
context: {
|
|
799
784
|
type: "text/plain";
|
|
800
785
|
value: string;
|
|
801
786
|
};
|
|
802
|
-
$invalid?: boolean | undefined;
|
|
803
787
|
};
|
|
804
788
|
}))[] | undefined;
|
|
789
|
+
$inputSuggestions: string[];
|
|
790
|
+
$defaultOutput: {
|
|
791
|
+
stateId: string;
|
|
792
|
+
typeOfStateId?: "state" | "variable" | undefined;
|
|
793
|
+
$invalid?: boolean | undefined;
|
|
794
|
+
};
|
|
805
795
|
isAiGenerated?: boolean | undefined;
|
|
806
796
|
deskStateVersion?: string | undefined;
|
|
807
797
|
$afterStateChangedActions?: ({
|
|
808
798
|
$id: string;
|
|
809
|
-
$typeOfContent?: "" | "
|
|
799
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
810
800
|
$title?: string | undefined;
|
|
811
801
|
$invalid?: boolean | undefined;
|
|
812
802
|
conditions?: {
|
|
813
803
|
source: "context" | "input";
|
|
814
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
815
|
-
values: string[];
|
|
816
804
|
variable?: string | null | undefined;
|
|
817
|
-
|
|
805
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
806
|
+
operator?: "and" | "or" | undefined;
|
|
807
|
+
values: string[];
|
|
818
808
|
}[] | undefined;
|
|
819
809
|
$cardContent?: {
|
|
820
810
|
editable: boolean;
|
|
@@ -827,21 +817,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
827
817
|
state: string;
|
|
828
818
|
interval?: string | number | undefined;
|
|
829
819
|
} | {
|
|
830
|
-
text: string;
|
|
831
|
-
uri: string;
|
|
832
820
|
title?: string | null | undefined;
|
|
821
|
+
text: string;
|
|
833
822
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
823
|
+
uri: string;
|
|
834
824
|
} | {
|
|
835
825
|
text: string;
|
|
826
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
836
827
|
options: string[] | {
|
|
837
828
|
text: string;
|
|
838
829
|
}[];
|
|
839
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
840
830
|
} | {
|
|
841
|
-
type: string;
|
|
842
|
-
uri: string;
|
|
843
831
|
title?: string | undefined;
|
|
844
832
|
text?: string | undefined;
|
|
833
|
+
type: string;
|
|
834
|
+
uri: string;
|
|
845
835
|
};
|
|
846
836
|
textContent?: string | undefined;
|
|
847
837
|
};
|
|
@@ -850,56 +840,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
850
840
|
} & ({
|
|
851
841
|
type: "SendMessage";
|
|
852
842
|
settings: {
|
|
843
|
+
$invalid?: boolean | undefined;
|
|
844
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
853
845
|
content: string | {
|
|
854
846
|
state: string;
|
|
855
847
|
interval?: string | number | undefined;
|
|
856
848
|
} | {
|
|
857
|
-
text: string;
|
|
858
|
-
uri: string;
|
|
859
849
|
title?: string | null | undefined;
|
|
850
|
+
text: string;
|
|
860
851
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
852
|
+
uri: string;
|
|
861
853
|
} | {
|
|
862
854
|
text: string;
|
|
855
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
863
856
|
options: string[] | {
|
|
864
857
|
text: string;
|
|
865
858
|
}[];
|
|
866
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
867
859
|
} | {
|
|
868
|
-
type: string;
|
|
869
|
-
uri: string;
|
|
870
860
|
title?: string | undefined;
|
|
871
861
|
text?: string | undefined;
|
|
862
|
+
type: string;
|
|
863
|
+
uri: string;
|
|
872
864
|
};
|
|
873
|
-
$invalid?: boolean | undefined;
|
|
874
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
875
865
|
id?: string | undefined;
|
|
876
866
|
metadata?: Record<string, string> | undefined;
|
|
877
867
|
};
|
|
878
868
|
} | {
|
|
879
869
|
type: "SendRawMessage";
|
|
880
870
|
settings: {
|
|
881
|
-
rawContent: string;
|
|
882
871
|
$invalid?: boolean | undefined;
|
|
883
872
|
type?: string | undefined;
|
|
873
|
+
rawContent: string;
|
|
884
874
|
};
|
|
885
875
|
} | {
|
|
886
876
|
type: "TrackEvent";
|
|
887
877
|
settings: {
|
|
878
|
+
$invalid?: boolean | undefined;
|
|
888
879
|
category: string;
|
|
889
880
|
action: string;
|
|
890
|
-
$invalid?: boolean | undefined;
|
|
891
881
|
extras?: Record<string, string> | null | undefined;
|
|
892
882
|
};
|
|
893
883
|
} | {
|
|
894
884
|
type: "ProcessHttp";
|
|
895
885
|
settings: {
|
|
896
|
-
|
|
886
|
+
$invalid?: boolean | undefined;
|
|
887
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
897
888
|
uri: string;
|
|
889
|
+
headers?: Record<string, string> | null | undefined;
|
|
898
890
|
body: string;
|
|
899
891
|
responseBodyVariable: string;
|
|
900
892
|
responseStatusVariable: string;
|
|
901
|
-
$invalid?: boolean | undefined;
|
|
902
|
-
headers?: Record<string, string> | null | undefined;
|
|
903
893
|
};
|
|
904
894
|
} | {
|
|
905
895
|
type: "MergeContact";
|
|
@@ -913,37 +903,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
913
903
|
} | {
|
|
914
904
|
type: "ExecuteScript";
|
|
915
905
|
settings: {
|
|
906
|
+
$invalid?: boolean | undefined;
|
|
907
|
+
function?: "run" | undefined;
|
|
916
908
|
source: string;
|
|
917
909
|
inputVariables: string[];
|
|
918
910
|
outputVariable: string;
|
|
919
|
-
$invalid?: boolean | undefined;
|
|
920
|
-
function?: "run" | undefined;
|
|
921
911
|
};
|
|
922
912
|
} | {
|
|
923
913
|
type: "ExecuteScriptV2";
|
|
924
914
|
settings: {
|
|
915
|
+
$invalid?: boolean | undefined;
|
|
916
|
+
function?: "run" | undefined;
|
|
925
917
|
source: string;
|
|
926
918
|
inputVariables: string[];
|
|
927
919
|
outputVariable: string;
|
|
928
|
-
$invalid?: boolean | undefined;
|
|
929
|
-
function?: "run" | undefined;
|
|
930
920
|
};
|
|
931
921
|
} | {
|
|
932
922
|
type: "SetVariable";
|
|
933
923
|
settings: {
|
|
934
|
-
variable: string;
|
|
935
924
|
$invalid?: boolean | undefined;
|
|
925
|
+
variable: string;
|
|
936
926
|
value?: string | number | undefined;
|
|
937
927
|
expiration?: number | null | undefined;
|
|
938
928
|
};
|
|
939
929
|
} | {
|
|
940
930
|
type: "ProcessCommand";
|
|
941
931
|
settings: {
|
|
932
|
+
$invalid?: boolean | undefined;
|
|
942
933
|
to: string;
|
|
943
|
-
method: "
|
|
934
|
+
method: "delete" | "get" | "merge" | "set";
|
|
944
935
|
uri: string;
|
|
945
936
|
variable: string;
|
|
946
|
-
$invalid?: boolean | undefined;
|
|
947
937
|
from?: string | undefined;
|
|
948
938
|
};
|
|
949
939
|
} | {
|
|
@@ -959,20 +949,30 @@ export declare class AccountNamespace extends Namespace {
|
|
|
959
949
|
} | {
|
|
960
950
|
type: "Redirect";
|
|
961
951
|
settings: {
|
|
952
|
+
$invalid?: boolean | undefined;
|
|
962
953
|
address: string;
|
|
963
954
|
context: {
|
|
964
955
|
type: "text/plain";
|
|
965
956
|
value: string;
|
|
966
957
|
};
|
|
967
|
-
$invalid?: boolean | undefined;
|
|
968
958
|
};
|
|
969
959
|
}))[] | undefined;
|
|
960
|
+
$tags: {
|
|
961
|
+
id: string;
|
|
962
|
+
label: string;
|
|
963
|
+
background: string;
|
|
964
|
+
canChangeBackground: boolean;
|
|
965
|
+
}[];
|
|
970
966
|
id?: string | undefined;
|
|
971
967
|
root?: boolean | undefined;
|
|
968
|
+
$title: string;
|
|
972
969
|
$position?: {
|
|
973
970
|
top: string;
|
|
974
971
|
left: string;
|
|
975
972
|
} | undefined;
|
|
973
|
+
$invalidContentActions: boolean;
|
|
974
|
+
$invalidOutputs: boolean;
|
|
975
|
+
$invalidCustomActions: boolean;
|
|
976
976
|
$invalid?: boolean | undefined;
|
|
977
977
|
$whiteWallIntegration?: unknown;
|
|
978
978
|
}> | undefined>;
|
|
@@ -980,15 +980,15 @@ export declare class AccountNamespace extends Namespace {
|
|
|
980
980
|
$contentActions: {
|
|
981
981
|
action?: ({
|
|
982
982
|
$id: string;
|
|
983
|
-
$typeOfContent?: "" | "
|
|
983
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
984
984
|
$title?: string | undefined;
|
|
985
985
|
$invalid?: boolean | undefined;
|
|
986
986
|
conditions?: {
|
|
987
987
|
source: "context" | "input";
|
|
988
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
989
|
-
values: string[];
|
|
990
988
|
variable?: string | null | undefined;
|
|
991
|
-
|
|
989
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
990
|
+
operator?: "and" | "or" | undefined;
|
|
991
|
+
values: string[];
|
|
992
992
|
}[] | undefined;
|
|
993
993
|
$cardContent?: {
|
|
994
994
|
editable: boolean;
|
|
@@ -1001,21 +1001,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1001
1001
|
state: string;
|
|
1002
1002
|
interval?: string | number | undefined;
|
|
1003
1003
|
} | {
|
|
1004
|
-
text: string;
|
|
1005
|
-
uri: string;
|
|
1006
1004
|
title?: string | null | undefined;
|
|
1005
|
+
text: string;
|
|
1007
1006
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1007
|
+
uri: string;
|
|
1008
1008
|
} | {
|
|
1009
1009
|
text: string;
|
|
1010
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1010
1011
|
options: string[] | {
|
|
1011
1012
|
text: string;
|
|
1012
1013
|
}[];
|
|
1013
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1014
1014
|
} | {
|
|
1015
|
-
type: string;
|
|
1016
|
-
uri: string;
|
|
1017
1015
|
title?: string | undefined;
|
|
1018
1016
|
text?: string | undefined;
|
|
1017
|
+
type: string;
|
|
1018
|
+
uri: string;
|
|
1019
1019
|
};
|
|
1020
1020
|
textContent?: string | undefined;
|
|
1021
1021
|
};
|
|
@@ -1024,56 +1024,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1024
1024
|
} & ({
|
|
1025
1025
|
type: "SendMessage";
|
|
1026
1026
|
settings: {
|
|
1027
|
+
$invalid?: boolean | undefined;
|
|
1028
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
1027
1029
|
content: string | {
|
|
1028
1030
|
state: string;
|
|
1029
1031
|
interval?: string | number | undefined;
|
|
1030
1032
|
} | {
|
|
1031
|
-
text: string;
|
|
1032
|
-
uri: string;
|
|
1033
1033
|
title?: string | null | undefined;
|
|
1034
|
+
text: string;
|
|
1034
1035
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1036
|
+
uri: string;
|
|
1035
1037
|
} | {
|
|
1036
1038
|
text: string;
|
|
1039
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1037
1040
|
options: string[] | {
|
|
1038
1041
|
text: string;
|
|
1039
1042
|
}[];
|
|
1040
|
-
|
|
1041
|
-
} | {
|
|
1042
|
-
type: string;
|
|
1043
|
-
uri: string;
|
|
1043
|
+
} | {
|
|
1044
1044
|
title?: string | undefined;
|
|
1045
1045
|
text?: string | undefined;
|
|
1046
|
+
type: string;
|
|
1047
|
+
uri: string;
|
|
1046
1048
|
};
|
|
1047
|
-
$invalid?: boolean | undefined;
|
|
1048
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
1049
1049
|
id?: string | undefined;
|
|
1050
1050
|
metadata?: Record<string, string> | undefined;
|
|
1051
1051
|
};
|
|
1052
1052
|
} | {
|
|
1053
1053
|
type: "SendRawMessage";
|
|
1054
1054
|
settings: {
|
|
1055
|
-
rawContent: string;
|
|
1056
1055
|
$invalid?: boolean | undefined;
|
|
1057
1056
|
type?: string | undefined;
|
|
1057
|
+
rawContent: string;
|
|
1058
1058
|
};
|
|
1059
1059
|
} | {
|
|
1060
1060
|
type: "TrackEvent";
|
|
1061
1061
|
settings: {
|
|
1062
|
+
$invalid?: boolean | undefined;
|
|
1062
1063
|
category: string;
|
|
1063
1064
|
action: string;
|
|
1064
|
-
$invalid?: boolean | undefined;
|
|
1065
1065
|
extras?: Record<string, string> | null | undefined;
|
|
1066
1066
|
};
|
|
1067
1067
|
} | {
|
|
1068
1068
|
type: "ProcessHttp";
|
|
1069
1069
|
settings: {
|
|
1070
|
-
|
|
1070
|
+
$invalid?: boolean | undefined;
|
|
1071
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
1071
1072
|
uri: string;
|
|
1073
|
+
headers?: Record<string, string> | null | undefined;
|
|
1072
1074
|
body: string;
|
|
1073
1075
|
responseBodyVariable: string;
|
|
1074
1076
|
responseStatusVariable: string;
|
|
1075
|
-
$invalid?: boolean | undefined;
|
|
1076
|
-
headers?: Record<string, string> | null | undefined;
|
|
1077
1077
|
};
|
|
1078
1078
|
} | {
|
|
1079
1079
|
type: "MergeContact";
|
|
@@ -1087,37 +1087,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1087
1087
|
} | {
|
|
1088
1088
|
type: "ExecuteScript";
|
|
1089
1089
|
settings: {
|
|
1090
|
+
$invalid?: boolean | undefined;
|
|
1091
|
+
function?: "run" | undefined;
|
|
1090
1092
|
source: string;
|
|
1091
1093
|
inputVariables: string[];
|
|
1092
1094
|
outputVariable: string;
|
|
1093
|
-
$invalid?: boolean | undefined;
|
|
1094
|
-
function?: "run" | undefined;
|
|
1095
1095
|
};
|
|
1096
1096
|
} | {
|
|
1097
1097
|
type: "ExecuteScriptV2";
|
|
1098
1098
|
settings: {
|
|
1099
|
+
$invalid?: boolean | undefined;
|
|
1100
|
+
function?: "run" | undefined;
|
|
1099
1101
|
source: string;
|
|
1100
1102
|
inputVariables: string[];
|
|
1101
1103
|
outputVariable: string;
|
|
1102
|
-
$invalid?: boolean | undefined;
|
|
1103
|
-
function?: "run" | undefined;
|
|
1104
1104
|
};
|
|
1105
1105
|
} | {
|
|
1106
1106
|
type: "SetVariable";
|
|
1107
1107
|
settings: {
|
|
1108
|
-
variable: string;
|
|
1109
1108
|
$invalid?: boolean | undefined;
|
|
1109
|
+
variable: string;
|
|
1110
1110
|
value?: string | number | undefined;
|
|
1111
1111
|
expiration?: number | null | undefined;
|
|
1112
1112
|
};
|
|
1113
1113
|
} | {
|
|
1114
1114
|
type: "ProcessCommand";
|
|
1115
1115
|
settings: {
|
|
1116
|
+
$invalid?: boolean | undefined;
|
|
1116
1117
|
to: string;
|
|
1117
|
-
method: "
|
|
1118
|
+
method: "delete" | "get" | "merge" | "set";
|
|
1118
1119
|
uri: string;
|
|
1119
1120
|
variable: string;
|
|
1120
|
-
$invalid?: boolean | undefined;
|
|
1121
1121
|
from?: string | undefined;
|
|
1122
1122
|
};
|
|
1123
1123
|
} | {
|
|
@@ -1133,12 +1133,12 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1133
1133
|
} | {
|
|
1134
1134
|
type: "Redirect";
|
|
1135
1135
|
settings: {
|
|
1136
|
+
$invalid?: boolean | undefined;
|
|
1136
1137
|
address: string;
|
|
1137
1138
|
context: {
|
|
1138
1139
|
type: "text/plain";
|
|
1139
1140
|
value: string;
|
|
1140
1141
|
};
|
|
1141
|
-
$invalid?: boolean | undefined;
|
|
1142
1142
|
};
|
|
1143
1143
|
})) | undefined;
|
|
1144
1144
|
input?: {
|
|
@@ -1157,32 +1157,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1157
1157
|
$invalid: boolean;
|
|
1158
1158
|
bypass: boolean;
|
|
1159
1159
|
validation?: {
|
|
1160
|
-
rule: "
|
|
1161
|
-
error: string;
|
|
1160
|
+
rule: "date" | "number" | "regex" | "text" | "type";
|
|
1162
1161
|
regex?: string | null | undefined;
|
|
1163
1162
|
type?: string | null | undefined;
|
|
1163
|
+
error: string;
|
|
1164
1164
|
} | null | undefined;
|
|
1165
1165
|
expiration?: string | null | undefined;
|
|
1166
1166
|
variable?: string | null | undefined;
|
|
1167
1167
|
conditions?: {
|
|
1168
1168
|
source: "context" | "input";
|
|
1169
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
1170
|
-
values: string[];
|
|
1171
1169
|
variable?: string | null | undefined;
|
|
1172
|
-
|
|
1170
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
1171
|
+
operator?: "and" | "or" | undefined;
|
|
1172
|
+
values: string[];
|
|
1173
1173
|
}[] | undefined;
|
|
1174
1174
|
} | undefined;
|
|
1175
1175
|
$invalid?: boolean | undefined;
|
|
1176
1176
|
}[];
|
|
1177
1177
|
$conditionOutputs: {
|
|
1178
1178
|
stateId: string;
|
|
1179
|
-
conditions: {
|
|
1180
|
-
source: "context" | "input";
|
|
1181
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
1182
|
-
values: string[];
|
|
1183
|
-
variable?: string | null | undefined;
|
|
1184
|
-
operator?: "or" | "and" | undefined;
|
|
1185
|
-
}[];
|
|
1186
1179
|
typeOfStateId?: "state" | "variable" | undefined;
|
|
1187
1180
|
$id?: string | undefined;
|
|
1188
1181
|
$invalid?: boolean | undefined;
|
|
@@ -1191,18 +1184,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1191
1184
|
$isDeskOutput?: boolean | undefined;
|
|
1192
1185
|
$isDeskCustomOutput?: boolean | undefined;
|
|
1193
1186
|
$isDeskDefaultOutput?: boolean | undefined;
|
|
1187
|
+
conditions: {
|
|
1188
|
+
source: "context" | "input";
|
|
1189
|
+
variable?: string | null | undefined;
|
|
1190
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
1191
|
+
operator?: "and" | "or" | undefined;
|
|
1192
|
+
values: string[];
|
|
1193
|
+
}[];
|
|
1194
1194
|
}[];
|
|
1195
1195
|
$enteringCustomActions: ({
|
|
1196
1196
|
$id: string;
|
|
1197
|
-
$typeOfContent?: "" | "
|
|
1197
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
1198
1198
|
$title?: string | undefined;
|
|
1199
1199
|
$invalid?: boolean | undefined;
|
|
1200
1200
|
conditions?: {
|
|
1201
1201
|
source: "context" | "input";
|
|
1202
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
1203
|
-
values: string[];
|
|
1204
1202
|
variable?: string | null | undefined;
|
|
1205
|
-
|
|
1203
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
1204
|
+
operator?: "and" | "or" | undefined;
|
|
1205
|
+
values: string[];
|
|
1206
1206
|
}[] | undefined;
|
|
1207
1207
|
$cardContent?: {
|
|
1208
1208
|
editable: boolean;
|
|
@@ -1215,21 +1215,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1215
1215
|
state: string;
|
|
1216
1216
|
interval?: string | number | undefined;
|
|
1217
1217
|
} | {
|
|
1218
|
-
text: string;
|
|
1219
|
-
uri: string;
|
|
1220
1218
|
title?: string | null | undefined;
|
|
1219
|
+
text: string;
|
|
1221
1220
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1221
|
+
uri: string;
|
|
1222
1222
|
} | {
|
|
1223
1223
|
text: string;
|
|
1224
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1224
1225
|
options: string[] | {
|
|
1225
1226
|
text: string;
|
|
1226
1227
|
}[];
|
|
1227
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1228
1228
|
} | {
|
|
1229
|
-
type: string;
|
|
1230
|
-
uri: string;
|
|
1231
1229
|
title?: string | undefined;
|
|
1232
1230
|
text?: string | undefined;
|
|
1231
|
+
type: string;
|
|
1232
|
+
uri: string;
|
|
1233
1233
|
};
|
|
1234
1234
|
textContent?: string | undefined;
|
|
1235
1235
|
};
|
|
@@ -1238,56 +1238,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1238
1238
|
} & ({
|
|
1239
1239
|
type: "SendMessage";
|
|
1240
1240
|
settings: {
|
|
1241
|
+
$invalid?: boolean | undefined;
|
|
1242
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
1241
1243
|
content: string | {
|
|
1242
1244
|
state: string;
|
|
1243
1245
|
interval?: string | number | undefined;
|
|
1244
1246
|
} | {
|
|
1245
|
-
text: string;
|
|
1246
|
-
uri: string;
|
|
1247
1247
|
title?: string | null | undefined;
|
|
1248
|
+
text: string;
|
|
1248
1249
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1250
|
+
uri: string;
|
|
1249
1251
|
} | {
|
|
1250
1252
|
text: string;
|
|
1253
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1251
1254
|
options: string[] | {
|
|
1252
1255
|
text: string;
|
|
1253
1256
|
}[];
|
|
1254
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1255
1257
|
} | {
|
|
1256
|
-
type: string;
|
|
1257
|
-
uri: string;
|
|
1258
1258
|
title?: string | undefined;
|
|
1259
1259
|
text?: string | undefined;
|
|
1260
|
+
type: string;
|
|
1261
|
+
uri: string;
|
|
1260
1262
|
};
|
|
1261
|
-
$invalid?: boolean | undefined;
|
|
1262
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
1263
1263
|
id?: string | undefined;
|
|
1264
1264
|
metadata?: Record<string, string> | undefined;
|
|
1265
1265
|
};
|
|
1266
1266
|
} | {
|
|
1267
1267
|
type: "SendRawMessage";
|
|
1268
1268
|
settings: {
|
|
1269
|
-
rawContent: string;
|
|
1270
1269
|
$invalid?: boolean | undefined;
|
|
1271
1270
|
type?: string | undefined;
|
|
1271
|
+
rawContent: string;
|
|
1272
1272
|
};
|
|
1273
1273
|
} | {
|
|
1274
1274
|
type: "TrackEvent";
|
|
1275
1275
|
settings: {
|
|
1276
|
+
$invalid?: boolean | undefined;
|
|
1276
1277
|
category: string;
|
|
1277
1278
|
action: string;
|
|
1278
|
-
$invalid?: boolean | undefined;
|
|
1279
1279
|
extras?: Record<string, string> | null | undefined;
|
|
1280
1280
|
};
|
|
1281
1281
|
} | {
|
|
1282
1282
|
type: "ProcessHttp";
|
|
1283
1283
|
settings: {
|
|
1284
|
-
|
|
1284
|
+
$invalid?: boolean | undefined;
|
|
1285
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
1285
1286
|
uri: string;
|
|
1287
|
+
headers?: Record<string, string> | null | undefined;
|
|
1286
1288
|
body: string;
|
|
1287
1289
|
responseBodyVariable: string;
|
|
1288
1290
|
responseStatusVariable: string;
|
|
1289
|
-
$invalid?: boolean | undefined;
|
|
1290
|
-
headers?: Record<string, string> | null | undefined;
|
|
1291
1291
|
};
|
|
1292
1292
|
} | {
|
|
1293
1293
|
type: "MergeContact";
|
|
@@ -1301,37 +1301,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1301
1301
|
} | {
|
|
1302
1302
|
type: "ExecuteScript";
|
|
1303
1303
|
settings: {
|
|
1304
|
+
$invalid?: boolean | undefined;
|
|
1305
|
+
function?: "run" | undefined;
|
|
1304
1306
|
source: string;
|
|
1305
1307
|
inputVariables: string[];
|
|
1306
1308
|
outputVariable: string;
|
|
1307
|
-
$invalid?: boolean | undefined;
|
|
1308
|
-
function?: "run" | undefined;
|
|
1309
1309
|
};
|
|
1310
1310
|
} | {
|
|
1311
1311
|
type: "ExecuteScriptV2";
|
|
1312
1312
|
settings: {
|
|
1313
|
+
$invalid?: boolean | undefined;
|
|
1314
|
+
function?: "run" | undefined;
|
|
1313
1315
|
source: string;
|
|
1314
1316
|
inputVariables: string[];
|
|
1315
1317
|
outputVariable: string;
|
|
1316
|
-
$invalid?: boolean | undefined;
|
|
1317
|
-
function?: "run" | undefined;
|
|
1318
1318
|
};
|
|
1319
1319
|
} | {
|
|
1320
1320
|
type: "SetVariable";
|
|
1321
1321
|
settings: {
|
|
1322
|
-
variable: string;
|
|
1323
1322
|
$invalid?: boolean | undefined;
|
|
1323
|
+
variable: string;
|
|
1324
1324
|
value?: string | number | undefined;
|
|
1325
1325
|
expiration?: number | null | undefined;
|
|
1326
1326
|
};
|
|
1327
1327
|
} | {
|
|
1328
1328
|
type: "ProcessCommand";
|
|
1329
1329
|
settings: {
|
|
1330
|
+
$invalid?: boolean | undefined;
|
|
1330
1331
|
to: string;
|
|
1331
|
-
method: "
|
|
1332
|
+
method: "delete" | "get" | "merge" | "set";
|
|
1332
1333
|
uri: string;
|
|
1333
1334
|
variable: string;
|
|
1334
|
-
$invalid?: boolean | undefined;
|
|
1335
1335
|
from?: string | undefined;
|
|
1336
1336
|
};
|
|
1337
1337
|
} | {
|
|
@@ -1347,25 +1347,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1347
1347
|
} | {
|
|
1348
1348
|
type: "Redirect";
|
|
1349
1349
|
settings: {
|
|
1350
|
+
$invalid?: boolean | undefined;
|
|
1350
1351
|
address: string;
|
|
1351
1352
|
context: {
|
|
1352
1353
|
type: "text/plain";
|
|
1353
1354
|
value: string;
|
|
1354
1355
|
};
|
|
1355
|
-
$invalid?: boolean | undefined;
|
|
1356
1356
|
};
|
|
1357
1357
|
}))[];
|
|
1358
1358
|
$leavingCustomActions: ({
|
|
1359
1359
|
$id: string;
|
|
1360
|
-
$typeOfContent?: "" | "
|
|
1360
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
1361
1361
|
$title?: string | undefined;
|
|
1362
1362
|
$invalid?: boolean | undefined;
|
|
1363
1363
|
conditions?: {
|
|
1364
1364
|
source: "context" | "input";
|
|
1365
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
1366
|
-
values: string[];
|
|
1367
1365
|
variable?: string | null | undefined;
|
|
1368
|
-
|
|
1366
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
1367
|
+
operator?: "and" | "or" | undefined;
|
|
1368
|
+
values: string[];
|
|
1369
1369
|
}[] | undefined;
|
|
1370
1370
|
$cardContent?: {
|
|
1371
1371
|
editable: boolean;
|
|
@@ -1378,21 +1378,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1378
1378
|
state: string;
|
|
1379
1379
|
interval?: string | number | undefined;
|
|
1380
1380
|
} | {
|
|
1381
|
-
text: string;
|
|
1382
|
-
uri: string;
|
|
1383
1381
|
title?: string | null | undefined;
|
|
1382
|
+
text: string;
|
|
1384
1383
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1384
|
+
uri: string;
|
|
1385
1385
|
} | {
|
|
1386
1386
|
text: string;
|
|
1387
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1387
1388
|
options: string[] | {
|
|
1388
1389
|
text: string;
|
|
1389
1390
|
}[];
|
|
1390
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1391
1391
|
} | {
|
|
1392
|
-
type: string;
|
|
1393
|
-
uri: string;
|
|
1394
1392
|
title?: string | undefined;
|
|
1395
1393
|
text?: string | undefined;
|
|
1394
|
+
type: string;
|
|
1395
|
+
uri: string;
|
|
1396
1396
|
};
|
|
1397
1397
|
textContent?: string | undefined;
|
|
1398
1398
|
};
|
|
@@ -1401,56 +1401,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1401
1401
|
} & ({
|
|
1402
1402
|
type: "SendMessage";
|
|
1403
1403
|
settings: {
|
|
1404
|
+
$invalid?: boolean | undefined;
|
|
1405
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
1404
1406
|
content: string | {
|
|
1405
1407
|
state: string;
|
|
1406
1408
|
interval?: string | number | undefined;
|
|
1407
1409
|
} | {
|
|
1408
|
-
text: string;
|
|
1409
|
-
uri: string;
|
|
1410
1410
|
title?: string | null | undefined;
|
|
1411
|
+
text: string;
|
|
1411
1412
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1413
|
+
uri: string;
|
|
1412
1414
|
} | {
|
|
1413
1415
|
text: string;
|
|
1416
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1414
1417
|
options: string[] | {
|
|
1415
1418
|
text: string;
|
|
1416
1419
|
}[];
|
|
1417
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1418
1420
|
} | {
|
|
1419
|
-
type: string;
|
|
1420
|
-
uri: string;
|
|
1421
1421
|
title?: string | undefined;
|
|
1422
1422
|
text?: string | undefined;
|
|
1423
|
+
type: string;
|
|
1424
|
+
uri: string;
|
|
1423
1425
|
};
|
|
1424
|
-
$invalid?: boolean | undefined;
|
|
1425
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
1426
1426
|
id?: string | undefined;
|
|
1427
1427
|
metadata?: Record<string, string> | undefined;
|
|
1428
1428
|
};
|
|
1429
1429
|
} | {
|
|
1430
1430
|
type: "SendRawMessage";
|
|
1431
1431
|
settings: {
|
|
1432
|
-
rawContent: string;
|
|
1433
1432
|
$invalid?: boolean | undefined;
|
|
1434
1433
|
type?: string | undefined;
|
|
1434
|
+
rawContent: string;
|
|
1435
1435
|
};
|
|
1436
1436
|
} | {
|
|
1437
1437
|
type: "TrackEvent";
|
|
1438
1438
|
settings: {
|
|
1439
|
+
$invalid?: boolean | undefined;
|
|
1439
1440
|
category: string;
|
|
1440
1441
|
action: string;
|
|
1441
|
-
$invalid?: boolean | undefined;
|
|
1442
1442
|
extras?: Record<string, string> | null | undefined;
|
|
1443
1443
|
};
|
|
1444
1444
|
} | {
|
|
1445
1445
|
type: "ProcessHttp";
|
|
1446
1446
|
settings: {
|
|
1447
|
-
|
|
1447
|
+
$invalid?: boolean | undefined;
|
|
1448
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
1448
1449
|
uri: string;
|
|
1450
|
+
headers?: Record<string, string> | null | undefined;
|
|
1449
1451
|
body: string;
|
|
1450
1452
|
responseBodyVariable: string;
|
|
1451
1453
|
responseStatusVariable: string;
|
|
1452
|
-
$invalid?: boolean | undefined;
|
|
1453
|
-
headers?: Record<string, string> | null | undefined;
|
|
1454
1454
|
};
|
|
1455
1455
|
} | {
|
|
1456
1456
|
type: "MergeContact";
|
|
@@ -1464,37 +1464,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1464
1464
|
} | {
|
|
1465
1465
|
type: "ExecuteScript";
|
|
1466
1466
|
settings: {
|
|
1467
|
+
$invalid?: boolean | undefined;
|
|
1468
|
+
function?: "run" | undefined;
|
|
1467
1469
|
source: string;
|
|
1468
1470
|
inputVariables: string[];
|
|
1469
1471
|
outputVariable: string;
|
|
1470
|
-
$invalid?: boolean | undefined;
|
|
1471
|
-
function?: "run" | undefined;
|
|
1472
1472
|
};
|
|
1473
1473
|
} | {
|
|
1474
1474
|
type: "ExecuteScriptV2";
|
|
1475
1475
|
settings: {
|
|
1476
|
+
$invalid?: boolean | undefined;
|
|
1477
|
+
function?: "run" | undefined;
|
|
1476
1478
|
source: string;
|
|
1477
1479
|
inputVariables: string[];
|
|
1478
1480
|
outputVariable: string;
|
|
1479
|
-
$invalid?: boolean | undefined;
|
|
1480
|
-
function?: "run" | undefined;
|
|
1481
1481
|
};
|
|
1482
1482
|
} | {
|
|
1483
1483
|
type: "SetVariable";
|
|
1484
1484
|
settings: {
|
|
1485
|
-
variable: string;
|
|
1486
1485
|
$invalid?: boolean | undefined;
|
|
1486
|
+
variable: string;
|
|
1487
1487
|
value?: string | number | undefined;
|
|
1488
1488
|
expiration?: number | null | undefined;
|
|
1489
1489
|
};
|
|
1490
1490
|
} | {
|
|
1491
1491
|
type: "ProcessCommand";
|
|
1492
1492
|
settings: {
|
|
1493
|
+
$invalid?: boolean | undefined;
|
|
1493
1494
|
to: string;
|
|
1494
|
-
method: "
|
|
1495
|
+
method: "delete" | "get" | "merge" | "set";
|
|
1495
1496
|
uri: string;
|
|
1496
1497
|
variable: string;
|
|
1497
|
-
$invalid?: boolean | undefined;
|
|
1498
1498
|
from?: string | undefined;
|
|
1499
1499
|
};
|
|
1500
1500
|
} | {
|
|
@@ -1510,41 +1510,25 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1510
1510
|
} | {
|
|
1511
1511
|
type: "Redirect";
|
|
1512
1512
|
settings: {
|
|
1513
|
+
$invalid?: boolean | undefined;
|
|
1513
1514
|
address: string;
|
|
1514
1515
|
context: {
|
|
1515
1516
|
type: "text/plain";
|
|
1516
1517
|
value: string;
|
|
1517
1518
|
};
|
|
1518
|
-
$invalid?: boolean | undefined;
|
|
1519
1519
|
};
|
|
1520
1520
|
}))[];
|
|
1521
|
-
$inputSuggestions: string[];
|
|
1522
|
-
$defaultOutput: {
|
|
1523
|
-
stateId: string;
|
|
1524
|
-
typeOfStateId?: "state" | "variable" | undefined;
|
|
1525
|
-
$invalid?: boolean | undefined;
|
|
1526
|
-
};
|
|
1527
|
-
$tags: {
|
|
1528
|
-
id: string;
|
|
1529
|
-
label: string;
|
|
1530
|
-
background: string;
|
|
1531
|
-
canChangeBackground: boolean;
|
|
1532
|
-
}[];
|
|
1533
|
-
$title: string;
|
|
1534
|
-
$invalidContentActions: boolean;
|
|
1535
|
-
$invalidOutputs: boolean;
|
|
1536
|
-
$invalidCustomActions: boolean;
|
|
1537
1521
|
$localCustomActions?: ({
|
|
1538
1522
|
$id: string;
|
|
1539
|
-
$typeOfContent?: "" | "
|
|
1523
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
1540
1524
|
$title?: string | undefined;
|
|
1541
1525
|
$invalid?: boolean | undefined;
|
|
1542
1526
|
conditions?: {
|
|
1543
1527
|
source: "context" | "input";
|
|
1544
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
1545
|
-
values: string[];
|
|
1546
1528
|
variable?: string | null | undefined;
|
|
1547
|
-
|
|
1529
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
1530
|
+
operator?: "and" | "or" | undefined;
|
|
1531
|
+
values: string[];
|
|
1548
1532
|
}[] | undefined;
|
|
1549
1533
|
$cardContent?: {
|
|
1550
1534
|
editable: boolean;
|
|
@@ -1557,21 +1541,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1557
1541
|
state: string;
|
|
1558
1542
|
interval?: string | number | undefined;
|
|
1559
1543
|
} | {
|
|
1560
|
-
text: string;
|
|
1561
|
-
uri: string;
|
|
1562
1544
|
title?: string | null | undefined;
|
|
1545
|
+
text: string;
|
|
1563
1546
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1547
|
+
uri: string;
|
|
1564
1548
|
} | {
|
|
1565
1549
|
text: string;
|
|
1550
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1566
1551
|
options: string[] | {
|
|
1567
1552
|
text: string;
|
|
1568
1553
|
}[];
|
|
1569
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1570
1554
|
} | {
|
|
1571
|
-
type: string;
|
|
1572
|
-
uri: string;
|
|
1573
1555
|
title?: string | undefined;
|
|
1574
1556
|
text?: string | undefined;
|
|
1557
|
+
type: string;
|
|
1558
|
+
uri: string;
|
|
1575
1559
|
};
|
|
1576
1560
|
textContent?: string | undefined;
|
|
1577
1561
|
};
|
|
@@ -1580,56 +1564,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1580
1564
|
} & ({
|
|
1581
1565
|
type: "SendMessage";
|
|
1582
1566
|
settings: {
|
|
1567
|
+
$invalid?: boolean | undefined;
|
|
1568
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
1583
1569
|
content: string | {
|
|
1584
1570
|
state: string;
|
|
1585
1571
|
interval?: string | number | undefined;
|
|
1586
1572
|
} | {
|
|
1587
|
-
text: string;
|
|
1588
|
-
uri: string;
|
|
1589
1573
|
title?: string | null | undefined;
|
|
1574
|
+
text: string;
|
|
1590
1575
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1576
|
+
uri: string;
|
|
1591
1577
|
} | {
|
|
1592
1578
|
text: string;
|
|
1579
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1593
1580
|
options: string[] | {
|
|
1594
1581
|
text: string;
|
|
1595
1582
|
}[];
|
|
1596
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1597
1583
|
} | {
|
|
1598
|
-
type: string;
|
|
1599
|
-
uri: string;
|
|
1600
1584
|
title?: string | undefined;
|
|
1601
1585
|
text?: string | undefined;
|
|
1586
|
+
type: string;
|
|
1587
|
+
uri: string;
|
|
1602
1588
|
};
|
|
1603
|
-
$invalid?: boolean | undefined;
|
|
1604
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
1605
1589
|
id?: string | undefined;
|
|
1606
1590
|
metadata?: Record<string, string> | undefined;
|
|
1607
1591
|
};
|
|
1608
1592
|
} | {
|
|
1609
1593
|
type: "SendRawMessage";
|
|
1610
1594
|
settings: {
|
|
1611
|
-
rawContent: string;
|
|
1612
1595
|
$invalid?: boolean | undefined;
|
|
1613
1596
|
type?: string | undefined;
|
|
1597
|
+
rawContent: string;
|
|
1614
1598
|
};
|
|
1615
1599
|
} | {
|
|
1616
1600
|
type: "TrackEvent";
|
|
1617
1601
|
settings: {
|
|
1602
|
+
$invalid?: boolean | undefined;
|
|
1618
1603
|
category: string;
|
|
1619
1604
|
action: string;
|
|
1620
|
-
$invalid?: boolean | undefined;
|
|
1621
1605
|
extras?: Record<string, string> | null | undefined;
|
|
1622
1606
|
};
|
|
1623
1607
|
} | {
|
|
1624
1608
|
type: "ProcessHttp";
|
|
1625
1609
|
settings: {
|
|
1626
|
-
|
|
1610
|
+
$invalid?: boolean | undefined;
|
|
1611
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
1627
1612
|
uri: string;
|
|
1613
|
+
headers?: Record<string, string> | null | undefined;
|
|
1628
1614
|
body: string;
|
|
1629
1615
|
responseBodyVariable: string;
|
|
1630
1616
|
responseStatusVariable: string;
|
|
1631
|
-
$invalid?: boolean | undefined;
|
|
1632
|
-
headers?: Record<string, string> | null | undefined;
|
|
1633
1617
|
};
|
|
1634
1618
|
} | {
|
|
1635
1619
|
type: "MergeContact";
|
|
@@ -1643,37 +1627,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1643
1627
|
} | {
|
|
1644
1628
|
type: "ExecuteScript";
|
|
1645
1629
|
settings: {
|
|
1630
|
+
$invalid?: boolean | undefined;
|
|
1631
|
+
function?: "run" | undefined;
|
|
1646
1632
|
source: string;
|
|
1647
1633
|
inputVariables: string[];
|
|
1648
1634
|
outputVariable: string;
|
|
1649
|
-
$invalid?: boolean | undefined;
|
|
1650
|
-
function?: "run" | undefined;
|
|
1651
1635
|
};
|
|
1652
1636
|
} | {
|
|
1653
1637
|
type: "ExecuteScriptV2";
|
|
1654
1638
|
settings: {
|
|
1639
|
+
$invalid?: boolean | undefined;
|
|
1640
|
+
function?: "run" | undefined;
|
|
1655
1641
|
source: string;
|
|
1656
1642
|
inputVariables: string[];
|
|
1657
1643
|
outputVariable: string;
|
|
1658
|
-
$invalid?: boolean | undefined;
|
|
1659
|
-
function?: "run" | undefined;
|
|
1660
1644
|
};
|
|
1661
1645
|
} | {
|
|
1662
1646
|
type: "SetVariable";
|
|
1663
1647
|
settings: {
|
|
1664
|
-
variable: string;
|
|
1665
1648
|
$invalid?: boolean | undefined;
|
|
1649
|
+
variable: string;
|
|
1666
1650
|
value?: string | number | undefined;
|
|
1667
1651
|
expiration?: number | null | undefined;
|
|
1668
1652
|
};
|
|
1669
1653
|
} | {
|
|
1670
1654
|
type: "ProcessCommand";
|
|
1671
1655
|
settings: {
|
|
1656
|
+
$invalid?: boolean | undefined;
|
|
1672
1657
|
to: string;
|
|
1673
|
-
method: "
|
|
1658
|
+
method: "delete" | "get" | "merge" | "set";
|
|
1674
1659
|
uri: string;
|
|
1675
1660
|
variable: string;
|
|
1676
|
-
$invalid?: boolean | undefined;
|
|
1677
1661
|
from?: string | undefined;
|
|
1678
1662
|
};
|
|
1679
1663
|
} | {
|
|
@@ -1689,27 +1673,33 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1689
1673
|
} | {
|
|
1690
1674
|
type: "Redirect";
|
|
1691
1675
|
settings: {
|
|
1676
|
+
$invalid?: boolean | undefined;
|
|
1692
1677
|
address: string;
|
|
1693
1678
|
context: {
|
|
1694
1679
|
type: "text/plain";
|
|
1695
1680
|
value: string;
|
|
1696
1681
|
};
|
|
1697
|
-
$invalid?: boolean | undefined;
|
|
1698
1682
|
};
|
|
1699
1683
|
}))[] | undefined;
|
|
1684
|
+
$inputSuggestions: string[];
|
|
1685
|
+
$defaultOutput: {
|
|
1686
|
+
stateId: string;
|
|
1687
|
+
typeOfStateId?: "state" | "variable" | undefined;
|
|
1688
|
+
$invalid?: boolean | undefined;
|
|
1689
|
+
};
|
|
1700
1690
|
isAiGenerated?: boolean | undefined;
|
|
1701
1691
|
deskStateVersion?: string | undefined;
|
|
1702
1692
|
$afterStateChangedActions?: ({
|
|
1703
1693
|
$id: string;
|
|
1704
|
-
$typeOfContent?: "" | "
|
|
1694
|
+
$typeOfContent?: "" | "chat-state" | "media" | "media-audio" | "media-document" | "media-video" | "raw-content" | "select" | "select-immediate" | "text" | "web-link" | undefined;
|
|
1705
1695
|
$title?: string | undefined;
|
|
1706
1696
|
$invalid?: boolean | undefined;
|
|
1707
1697
|
conditions?: {
|
|
1708
1698
|
source: "context" | "input";
|
|
1709
|
-
comparison: "endsWith" | "startsWith" | "equals" | "notEquals" | "contains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "approximateTo" | "exists" | "notExists";
|
|
1710
|
-
values: string[];
|
|
1711
1699
|
variable?: string | null | undefined;
|
|
1712
|
-
|
|
1700
|
+
comparison: "approximateTo" | "contains" | "endsWith" | "equals" | "exists" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "matches" | "notEquals" | "notExists" | "startsWith";
|
|
1701
|
+
operator?: "and" | "or" | undefined;
|
|
1702
|
+
values: string[];
|
|
1713
1703
|
}[] | undefined;
|
|
1714
1704
|
$cardContent?: {
|
|
1715
1705
|
editable: boolean;
|
|
@@ -1722,21 +1712,21 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1722
1712
|
state: string;
|
|
1723
1713
|
interval?: string | number | undefined;
|
|
1724
1714
|
} | {
|
|
1725
|
-
text: string;
|
|
1726
|
-
uri: string;
|
|
1727
1715
|
title?: string | null | undefined;
|
|
1716
|
+
text: string;
|
|
1728
1717
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1718
|
+
uri: string;
|
|
1729
1719
|
} | {
|
|
1730
1720
|
text: string;
|
|
1721
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1731
1722
|
options: string[] | {
|
|
1732
1723
|
text: string;
|
|
1733
1724
|
}[];
|
|
1734
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1735
1725
|
} | {
|
|
1736
|
-
type: string;
|
|
1737
|
-
uri: string;
|
|
1738
1726
|
title?: string | undefined;
|
|
1739
1727
|
text?: string | undefined;
|
|
1728
|
+
type: string;
|
|
1729
|
+
uri: string;
|
|
1740
1730
|
};
|
|
1741
1731
|
textContent?: string | undefined;
|
|
1742
1732
|
};
|
|
@@ -1745,56 +1735,56 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1745
1735
|
} & ({
|
|
1746
1736
|
type: "SendMessage";
|
|
1747
1737
|
settings: {
|
|
1738
|
+
$invalid?: boolean | undefined;
|
|
1739
|
+
type?: "application/vnd.lime.chatstate+json" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.web-link+json" | "text/plain" | undefined;
|
|
1748
1740
|
content: string | {
|
|
1749
1741
|
state: string;
|
|
1750
1742
|
interval?: string | number | undefined;
|
|
1751
1743
|
} | {
|
|
1752
|
-
text: string;
|
|
1753
|
-
uri: string;
|
|
1754
1744
|
title?: string | null | undefined;
|
|
1745
|
+
text: string;
|
|
1755
1746
|
target?: "blank" | "self" | "selfCompact" | "selfTall" | null | undefined;
|
|
1747
|
+
uri: string;
|
|
1756
1748
|
} | {
|
|
1757
1749
|
text: string;
|
|
1750
|
+
scope?: "immediate" | "persistent" | null | undefined;
|
|
1758
1751
|
options: string[] | {
|
|
1759
1752
|
text: string;
|
|
1760
1753
|
}[];
|
|
1761
|
-
scope?: "immediate" | "persistent" | null | undefined;
|
|
1762
1754
|
} | {
|
|
1763
|
-
type: string;
|
|
1764
|
-
uri: string;
|
|
1765
1755
|
title?: string | undefined;
|
|
1766
1756
|
text?: string | undefined;
|
|
1757
|
+
type: string;
|
|
1758
|
+
uri: string;
|
|
1767
1759
|
};
|
|
1768
|
-
$invalid?: boolean | undefined;
|
|
1769
|
-
type?: "text/plain" | "application/vnd.lime.media-link+json" | "application/vnd.lime.select+json" | "application/vnd.lime.chatstate+json" | "application/vnd.lime.web-link+json" | undefined;
|
|
1770
1760
|
id?: string | undefined;
|
|
1771
1761
|
metadata?: Record<string, string> | undefined;
|
|
1772
1762
|
};
|
|
1773
1763
|
} | {
|
|
1774
1764
|
type: "SendRawMessage";
|
|
1775
1765
|
settings: {
|
|
1776
|
-
rawContent: string;
|
|
1777
1766
|
$invalid?: boolean | undefined;
|
|
1778
1767
|
type?: string | undefined;
|
|
1768
|
+
rawContent: string;
|
|
1779
1769
|
};
|
|
1780
1770
|
} | {
|
|
1781
1771
|
type: "TrackEvent";
|
|
1782
1772
|
settings: {
|
|
1773
|
+
$invalid?: boolean | undefined;
|
|
1783
1774
|
category: string;
|
|
1784
1775
|
action: string;
|
|
1785
|
-
$invalid?: boolean | undefined;
|
|
1786
1776
|
extras?: Record<string, string> | null | undefined;
|
|
1787
1777
|
};
|
|
1788
1778
|
} | {
|
|
1789
1779
|
type: "ProcessHttp";
|
|
1790
1780
|
settings: {
|
|
1791
|
-
|
|
1781
|
+
$invalid?: boolean | undefined;
|
|
1782
|
+
method: "DELETE" | "GET" | "POST" | "PUT";
|
|
1792
1783
|
uri: string;
|
|
1784
|
+
headers?: Record<string, string> | null | undefined;
|
|
1793
1785
|
body: string;
|
|
1794
1786
|
responseBodyVariable: string;
|
|
1795
1787
|
responseStatusVariable: string;
|
|
1796
|
-
$invalid?: boolean | undefined;
|
|
1797
|
-
headers?: Record<string, string> | null | undefined;
|
|
1798
1788
|
};
|
|
1799
1789
|
} | {
|
|
1800
1790
|
type: "MergeContact";
|
|
@@ -1808,37 +1798,37 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1808
1798
|
} | {
|
|
1809
1799
|
type: "ExecuteScript";
|
|
1810
1800
|
settings: {
|
|
1801
|
+
$invalid?: boolean | undefined;
|
|
1802
|
+
function?: "run" | undefined;
|
|
1811
1803
|
source: string;
|
|
1812
1804
|
inputVariables: string[];
|
|
1813
1805
|
outputVariable: string;
|
|
1814
|
-
$invalid?: boolean | undefined;
|
|
1815
|
-
function?: "run" | undefined;
|
|
1816
1806
|
};
|
|
1817
1807
|
} | {
|
|
1818
1808
|
type: "ExecuteScriptV2";
|
|
1819
1809
|
settings: {
|
|
1810
|
+
$invalid?: boolean | undefined;
|
|
1811
|
+
function?: "run" | undefined;
|
|
1820
1812
|
source: string;
|
|
1821
1813
|
inputVariables: string[];
|
|
1822
1814
|
outputVariable: string;
|
|
1823
|
-
$invalid?: boolean | undefined;
|
|
1824
|
-
function?: "run" | undefined;
|
|
1825
1815
|
};
|
|
1826
1816
|
} | {
|
|
1827
1817
|
type: "SetVariable";
|
|
1828
1818
|
settings: {
|
|
1829
|
-
variable: string;
|
|
1830
1819
|
$invalid?: boolean | undefined;
|
|
1820
|
+
variable: string;
|
|
1831
1821
|
value?: string | number | undefined;
|
|
1832
1822
|
expiration?: number | null | undefined;
|
|
1833
1823
|
};
|
|
1834
1824
|
} | {
|
|
1835
1825
|
type: "ProcessCommand";
|
|
1836
1826
|
settings: {
|
|
1827
|
+
$invalid?: boolean | undefined;
|
|
1837
1828
|
to: string;
|
|
1838
|
-
method: "
|
|
1829
|
+
method: "delete" | "get" | "merge" | "set";
|
|
1839
1830
|
uri: string;
|
|
1840
1831
|
variable: string;
|
|
1841
|
-
$invalid?: boolean | undefined;
|
|
1842
1832
|
from?: string | undefined;
|
|
1843
1833
|
};
|
|
1844
1834
|
} | {
|
|
@@ -1854,20 +1844,30 @@ export declare class AccountNamespace extends Namespace {
|
|
|
1854
1844
|
} | {
|
|
1855
1845
|
type: "Redirect";
|
|
1856
1846
|
settings: {
|
|
1847
|
+
$invalid?: boolean | undefined;
|
|
1857
1848
|
address: string;
|
|
1858
1849
|
context: {
|
|
1859
1850
|
type: "text/plain";
|
|
1860
1851
|
value: string;
|
|
1861
1852
|
};
|
|
1862
|
-
$invalid?: boolean | undefined;
|
|
1863
1853
|
};
|
|
1864
1854
|
}))[] | undefined;
|
|
1855
|
+
$tags: {
|
|
1856
|
+
id: string;
|
|
1857
|
+
label: string;
|
|
1858
|
+
background: string;
|
|
1859
|
+
canChangeBackground: boolean;
|
|
1860
|
+
}[];
|
|
1865
1861
|
id?: string | undefined;
|
|
1866
1862
|
root?: boolean | undefined;
|
|
1863
|
+
$title: string;
|
|
1867
1864
|
$position?: {
|
|
1868
1865
|
top: string;
|
|
1869
1866
|
left: string;
|
|
1870
1867
|
} | undefined;
|
|
1868
|
+
$invalidContentActions: boolean;
|
|
1869
|
+
$invalidOutputs: boolean;
|
|
1870
|
+
$invalidCustomActions: boolean;
|
|
1871
1871
|
$invalid?: boolean | undefined;
|
|
1872
1872
|
$whiteWallIntegration?: unknown;
|
|
1873
1873
|
} | undefined>;
|