crisp-api 10.10.5 → 10.10.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## v10.10.6
5
+
6
+ ### Changes
7
+
8
+ * Added missing `url` field on `PeopleProfileCardPersonProfile` type.
9
+ * Adding missing fields on RTM events
10
+
11
+
4
12
  ## v10.10.5
5
13
 
6
14
  ### Changes
package/dist/crisp.js CHANGED
@@ -46,7 +46,7 @@ const AVAILABLE_RTM_MODES = [
46
46
  "websockets",
47
47
  "webhooks"
48
48
  ];
49
- const VERSION = "10.10.5";
49
+ const VERSION = "10.10.6";
50
50
  // Base configuration
51
51
  const DEFAULT_REQUEST_TIMEOUT = 10000;
52
52
  const DEFAULT_SOCKET_TIMEOUT = 10000;
@@ -38,6 +38,8 @@ export interface EventsSessionVerification {
38
38
  export interface EventsSessionUpdateVerify extends EventsSessionGeneric {
39
39
  is_verified: boolean;
40
40
  verifications: EventsSessionVerification[];
41
+ routing_ids?: string[];
42
+ error?: "unknown";
41
43
  }
42
44
  export type EventsSessionRequestInitiated = EventsSessionGeneric;
43
45
  export interface EventsSessionSetEmail extends EventsSessionGeneric {
@@ -174,6 +176,7 @@ export interface EventsMessageGeneric extends EventsSessionGeneric {
174
176
  user: ConversationMessageUser;
175
177
  mentions?: string[];
176
178
  stamped?: boolean;
179
+ automated?: boolean;
177
180
  }
178
181
  export interface EventsMessageSendText extends EventsMessageGeneric {
179
182
  type: "text";
@@ -457,6 +460,7 @@ export interface EventsEmailTrackView extends EventsWebsiteGeneric {
457
460
  * TYPES + INTERFACES (PLUGIN EVENTS)
458
461
  ***************************************************************************/
459
462
  export interface EventsPluginChannel extends EventsWebsiteGeneric {
463
+ type?: string;
460
464
  plugin_id: string;
461
465
  identifier: string;
462
466
  namespace: string;
@@ -62,6 +62,7 @@ export interface PeopleProfileCardPerson {
62
62
  export interface PeopleProfileCardPersonProfile {
63
63
  type?: string;
64
64
  handle?: string;
65
+ url?: string;
65
66
  }
66
67
  export interface PeopleProfileCardPersonEmployment {
67
68
  name?: string;
@@ -70,6 +70,8 @@ export interface EventsSessionVerification {
70
70
  export interface EventsSessionUpdateVerify extends EventsSessionGeneric {
71
71
  is_verified: boolean;
72
72
  verifications: EventsSessionVerification[];
73
+ routing_ids?: string[];
74
+ error?: "unknown";
73
75
  }
74
76
 
75
77
  export type EventsSessionRequestInitiated = EventsSessionGeneric;
@@ -244,6 +246,7 @@ export interface EventsMessageGeneric extends EventsSessionGeneric {
244
246
  user: ConversationMessageUser;
245
247
  mentions?: string[];
246
248
  stamped?: boolean;
249
+ automated?: boolean;
247
250
  }
248
251
 
249
252
  export interface EventsMessageSendText extends EventsMessageGeneric {
@@ -609,6 +612,7 @@ export interface EventsEmailTrackView extends EventsWebsiteGeneric {
609
612
  ***************************************************************************/
610
613
 
611
614
  export interface EventsPluginChannel extends EventsWebsiteGeneric {
615
+ type?: string;
612
616
  plugin_id: string;
613
617
  identifier: string;
614
618
  namespace: string;
@@ -82,6 +82,7 @@ export interface PeopleProfileCardPerson {
82
82
  export interface PeopleProfileCardPersonProfile {
83
83
  type?: string;
84
84
  handle?: string;
85
+ url?: string;
85
86
  }
86
87
 
87
88
  export interface PeopleProfileCardPersonEmployment {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "crisp-api",
3
3
  "description": "Crisp API wrapper for Node - official, maintained by Crisp",
4
- "version": "10.10.5",
4
+ "version": "10.10.6",
5
5
  "homepage": "https://github.com/crisp-im/node-crisp-api",
6
6
  "license": "MIT",
7
7
  "author": {