@wildix/xbees-kite-client 1.0.12 → 1.0.13
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.
|
@@ -82,8 +82,8 @@ declare const GetConfigCommand_base: {
|
|
|
82
82
|
* // topSubtitle: "STRING_VALUE",
|
|
83
83
|
* // },
|
|
84
84
|
* // },
|
|
85
|
-
* // welcomeMessages: [ //
|
|
86
|
-
* // { //
|
|
85
|
+
* // welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
86
|
+
* // { // WidgetWelcomeMessage
|
|
87
87
|
* // text: "STRING_VALUE",
|
|
88
88
|
* // elements: [ // ElementsList
|
|
89
89
|
* // { // Element Union: only one key present
|
|
@@ -109,86 +109,7 @@ declare const GetConfigCommand_base: {
|
|
|
109
109
|
* // ],
|
|
110
110
|
* // },
|
|
111
111
|
* // ],
|
|
112
|
-
* //
|
|
113
|
-
* // { // MessageAttachment
|
|
114
|
-
* // id: "STRING_VALUE", // required
|
|
115
|
-
* // fsId: "STRING_VALUE", // required
|
|
116
|
-
* // mime: "STRING_VALUE",
|
|
117
|
-
* // name: "STRING_VALUE", // required
|
|
118
|
-
* // size: Number("int"), // required
|
|
119
|
-
* // width: Number("int"),
|
|
120
|
-
* // height: Number("int"),
|
|
121
|
-
* // thumbnail: "STRING_VALUE",
|
|
122
|
-
* // },
|
|
123
|
-
* // ],
|
|
124
|
-
* // quote: { // MessageQuote
|
|
125
|
-
* // messageId: "STRING_VALUE", // required
|
|
126
|
-
* // channelId: "STRING_VALUE", // required
|
|
127
|
-
* // user: {
|
|
128
|
-
* // id: "STRING_VALUE", // required
|
|
129
|
-
* // name: "STRING_VALUE",
|
|
130
|
-
* // email: "STRING_VALUE",
|
|
131
|
-
* // phone: "STRING_VALUE",
|
|
132
|
-
* // picture: "STRING_VALUE",
|
|
133
|
-
* // locale: "STRING_VALUE",
|
|
134
|
-
* // timeZone: "STRING_VALUE",
|
|
135
|
-
* // company: "STRING_VALUE",
|
|
136
|
-
* // bot: true || false,
|
|
137
|
-
* // pbxDomain: "STRING_VALUE",
|
|
138
|
-
* // pbxPort: "STRING_VALUE",
|
|
139
|
-
* // pbxExtension: "STRING_VALUE",
|
|
140
|
-
* // pbxSerial: "STRING_VALUE",
|
|
141
|
-
* // pbxUserId: "STRING_VALUE",
|
|
142
|
-
* // createdAt: "STRING_VALUE",
|
|
143
|
-
* // updatedAt: "STRING_VALUE",
|
|
144
|
-
* // },
|
|
145
|
-
* // text: "STRING_VALUE",
|
|
146
|
-
* // attachments: [
|
|
147
|
-
* // {
|
|
148
|
-
* // id: "STRING_VALUE", // required
|
|
149
|
-
* // fsId: "STRING_VALUE", // required
|
|
150
|
-
* // mime: "STRING_VALUE",
|
|
151
|
-
* // name: "STRING_VALUE", // required
|
|
152
|
-
* // size: Number("int"), // required
|
|
153
|
-
* // width: Number("int"),
|
|
154
|
-
* // height: Number("int"),
|
|
155
|
-
* // thumbnail: "STRING_VALUE",
|
|
156
|
-
* // },
|
|
157
|
-
* // ],
|
|
158
|
-
* // forward: { // MessageForward
|
|
159
|
-
* // forwardCompany: "STRING_VALUE",
|
|
160
|
-
* // forwardDate: "STRING_VALUE", // required
|
|
161
|
-
* // forwardEmail: "STRING_VALUE",
|
|
162
|
-
* // forwardName: "STRING_VALUE",
|
|
163
|
-
* // messageId: "STRING_VALUE", // required
|
|
164
|
-
* // channelId: "STRING_VALUE", // required
|
|
165
|
-
* // },
|
|
166
|
-
* // mentions: [
|
|
167
|
-
* // "<User>",
|
|
168
|
-
* // ],
|
|
169
|
-
* // giphy: { // MessageGiphy
|
|
170
|
-
* // id: "STRING_VALUE", // required
|
|
171
|
-
* // size: "STRING_VALUE", // required
|
|
172
|
-
* // url: "STRING_VALUE", // required
|
|
173
|
-
* // height: "STRING_VALUE", // required
|
|
174
|
-
* // width: "STRING_VALUE", // required
|
|
175
|
-
* // },
|
|
176
|
-
* // createdAt: "STRING_VALUE", // required
|
|
177
|
-
* // updatedAt: "STRING_VALUE",
|
|
178
|
-
* // },
|
|
179
|
-
* // forward: {
|
|
180
|
-
* // forwardCompany: "STRING_VALUE",
|
|
181
|
-
* // forwardDate: "STRING_VALUE", // required
|
|
182
|
-
* // forwardEmail: "STRING_VALUE",
|
|
183
|
-
* // forwardName: "STRING_VALUE",
|
|
184
|
-
* // messageId: "STRING_VALUE", // required
|
|
185
|
-
* // channelId: "STRING_VALUE", // required
|
|
186
|
-
* // },
|
|
187
|
-
* // messageId: "STRING_VALUE", // required
|
|
188
|
-
* // mentions: [ // UsersIdList
|
|
189
|
-
* // "STRING_VALUE",
|
|
190
|
-
* // ],
|
|
191
|
-
* // user: "<User>", // required
|
|
112
|
+
* // delay: Number("int"),
|
|
192
113
|
* // },
|
|
193
114
|
* // ],
|
|
194
115
|
* // features: [ // KiteFeaturesList
|
|
@@ -354,23 +354,6 @@ export interface Channel {
|
|
|
354
354
|
createdBy: string;
|
|
355
355
|
updatedAt?: string;
|
|
356
356
|
}
|
|
357
|
-
/**
|
|
358
|
-
* @public
|
|
359
|
-
*/
|
|
360
|
-
export interface MessageAttachment {
|
|
361
|
-
id: string;
|
|
362
|
-
/**
|
|
363
|
-
* This *is* documentation about the field. Describe here what fsId and how to get it.
|
|
364
|
-
* @public
|
|
365
|
-
*/
|
|
366
|
-
fsId: string;
|
|
367
|
-
mime?: string;
|
|
368
|
-
name: string;
|
|
369
|
-
size: number;
|
|
370
|
-
width?: number;
|
|
371
|
-
height?: number;
|
|
372
|
-
thumbnail?: string;
|
|
373
|
-
}
|
|
374
357
|
/**
|
|
375
358
|
* @public
|
|
376
359
|
*/
|
|
@@ -396,63 +379,6 @@ export declare namespace Element {
|
|
|
396
379
|
}
|
|
397
380
|
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
398
381
|
}
|
|
399
|
-
/**
|
|
400
|
-
* @public
|
|
401
|
-
*/
|
|
402
|
-
export interface MessageForward {
|
|
403
|
-
forwardCompany?: string;
|
|
404
|
-
forwardDate: string;
|
|
405
|
-
forwardEmail?: string;
|
|
406
|
-
forwardName?: string;
|
|
407
|
-
messageId: string;
|
|
408
|
-
channelId: string;
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
* @public
|
|
412
|
-
*/
|
|
413
|
-
export interface MessageGiphy {
|
|
414
|
-
id: string;
|
|
415
|
-
size: string;
|
|
416
|
-
url: string;
|
|
417
|
-
height: string;
|
|
418
|
-
width: string;
|
|
419
|
-
}
|
|
420
|
-
/**
|
|
421
|
-
* @public
|
|
422
|
-
*/
|
|
423
|
-
export interface MessageQuote {
|
|
424
|
-
messageId: string;
|
|
425
|
-
channelId: string;
|
|
426
|
-
user: User;
|
|
427
|
-
text?: string;
|
|
428
|
-
attachments?: (MessageAttachment)[];
|
|
429
|
-
forward?: MessageForward;
|
|
430
|
-
mentions?: (User)[];
|
|
431
|
-
giphy?: MessageGiphy;
|
|
432
|
-
createdAt: string;
|
|
433
|
-
updatedAt?: string;
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* @public
|
|
437
|
-
*/
|
|
438
|
-
export interface WelcomeMessage {
|
|
439
|
-
text?: string;
|
|
440
|
-
elements?: (Element)[];
|
|
441
|
-
attachments?: (MessageAttachment)[];
|
|
442
|
-
quote?: MessageQuote;
|
|
443
|
-
forward?: MessageForward;
|
|
444
|
-
/**
|
|
445
|
-
* The unique identifier of the message. If not provided, an ID will be auto-generated.
|
|
446
|
-
* @public
|
|
447
|
-
*/
|
|
448
|
-
messageId: string;
|
|
449
|
-
/**
|
|
450
|
-
* A list of user IDs mentioned in the message.
|
|
451
|
-
* @public
|
|
452
|
-
*/
|
|
453
|
-
mentions?: (string)[];
|
|
454
|
-
user: User;
|
|
455
|
-
}
|
|
456
382
|
/**
|
|
457
383
|
* @public
|
|
458
384
|
*/
|
|
@@ -912,7 +838,7 @@ export interface KiteConfig {
|
|
|
912
838
|
* A list of welcome messages that should be visible to the user.
|
|
913
839
|
* @public
|
|
914
840
|
*/
|
|
915
|
-
welcomeMessages?: (
|
|
841
|
+
welcomeMessages?: (WidgetWelcomeMessage)[];
|
|
916
842
|
/**
|
|
917
843
|
* A list of features that are supported.
|
|
918
844
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-kite-client",
|
|
3
3
|
"description": "@wildix/xbees-kite-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.13",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|