crisp-api 6.0.0 → 6.3.0

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,26 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## v6.3.0
5
+
6
+ ### New Features
7
+
8
+ * Added the new `CrispClient.rebind` method, which requests the RTM API to rebind to newly installed/subscribed websites (depending on the authentication tier).
9
+
10
+ ## v6.2.0
11
+
12
+ ### New Features
13
+
14
+ * Added the new `CrispClient.website.getVerifyStatusForConversation` method.
15
+ * Added the new `CrispClient.website.updateVerifyStatusForConversation` method.
16
+
17
+ ## v6.1.0
18
+
19
+ ### New Features
20
+
21
+ * Added the new `CrispClient.website.removeMessageInConversation` method.
22
+ * Added support for the `message:removed` RTM API event.
23
+
4
24
  ## v6.0.0
5
25
 
6
26
  ### Breaking Changes
package/EXAMPLES.md CHANGED
@@ -137,6 +137,16 @@ CrispClient.website.updateMessageInConversation(websiteID, sessionID, fingerprin
137
137
 
138
138
  =========================
139
139
 
140
+ https://docs.crisp.chat/references/rest-api/v1/#remove-a-message-in-conversation
141
+
142
+ var websiteID = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc";
143
+ var sessionID = "session_700c65e1-85e2-465a-b9ac-ecb5ec2c9881";
144
+ var fingerprint = 524653764345;
145
+
146
+ CrispClient.website.removeMessageInConversation(websiteID, sessionID, fingerprint);
147
+
148
+ =========================
149
+
140
150
  https://docs.crisp.chat/references/rest-api/v1/#compose-a-message-in-conversation
141
151
 
142
152
  var websiteID = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc";
@@ -349,6 +359,26 @@ CrispClient.website.blockIncomingMessagesForConversation(websiteID, sessionID, b
349
359
 
350
360
  =========================
351
361
 
362
+ https://docs.crisp.chat/references/rest-api/v1/#get-verify-status-for-conversation
363
+
364
+ var websiteID = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc";
365
+ var sessionID = "session_700c65e1-85e2-465a-b9ac-ecb5ec2c9881";
366
+
367
+ CrispClient.website.getVerifyStatusForConversation(websiteID, sessionID);
368
+
369
+ =========================
370
+
371
+ https://docs.crisp.chat/references/rest-api/v1/#update-verify-status-for-conversation
372
+
373
+ var websiteID = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc";
374
+ var sessionID = "session_700c65e1-85e2-465a-b9ac-ecb5ec2c9881";
375
+
376
+ var verified = true;
377
+
378
+ CrispClient.website.updateVerifyStatusForConversation(websiteID, sessionID, verified);
379
+
380
+ =========================
381
+
352
382
  https://docs.crisp.chat/references/rest-api/v1/#request-email-transcript-for-conversation
353
383
 
354
384
  var websiteID = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc";