crisp-api 10.9.0 → 10.9.2
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 +12 -0
- package/EXAMPLES.md +4 -0
- package/README.md +4 -0
- package/dist/crisp.js +1 -1
- package/dist/resources/PluginConnect.d.ts +1 -0
- package/dist/resources/WebsiteConversation.d.ts +1 -1
- package/dist/resources/WebsiteInbox.d.ts +1 -0
- package/lib/resources/PluginConnect.ts +1 -0
- package/lib/resources/WebsiteConversation.ts +1 -1
- package/lib/resources/WebsiteInbox.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
## v10.9.2
|
|
5
|
+
|
|
6
|
+
### Changes
|
|
7
|
+
|
|
8
|
+
* Fixed return type for `CrispClient.website.getConversationParticipants` method.
|
|
9
|
+
|
|
10
|
+
## v10.9.1
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
* Added `price` property on the `PluginConnectWebsite` type.
|
|
15
|
+
|
|
4
16
|
## v10.9.0
|
|
5
17
|
|
|
6
18
|
### Changes
|
package/EXAMPLES.md
CHANGED
|
@@ -2033,6 +2033,8 @@ var inbox = {
|
|
|
2033
2033
|
"e5cd7aa6-998f-4b8e-b7c5-3b546af87d15"
|
|
2034
2034
|
],
|
|
2035
2035
|
|
|
2036
|
+
"operator": "and",
|
|
2037
|
+
|
|
2036
2038
|
"conditions": [
|
|
2037
2039
|
{
|
|
2038
2040
|
"model": "session",
|
|
@@ -2083,6 +2085,8 @@ var inbox = {
|
|
|
2083
2085
|
"e5cd7aa6-998f-4b8e-b7c5-3b546af87d15"
|
|
2084
2086
|
],
|
|
2085
2087
|
|
|
2088
|
+
"operator": "and",
|
|
2089
|
+
|
|
2086
2090
|
"conditions": [
|
|
2087
2091
|
{
|
|
2088
2092
|
"model": "session",
|
package/README.md
CHANGED
|
@@ -2910,6 +2910,8 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2910
2910
|
"e5cd7aa6-998f-4b8e-b7c5-3b546af87d15"
|
|
2911
2911
|
],
|
|
2912
2912
|
|
|
2913
|
+
"operator": "and",
|
|
2914
|
+
|
|
2913
2915
|
"conditions": [
|
|
2914
2916
|
{
|
|
2915
2917
|
"model": "session",
|
|
@@ -2972,6 +2974,8 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2972
2974
|
"e5cd7aa6-998f-4b8e-b7c5-3b546af87d15"
|
|
2973
2975
|
],
|
|
2974
2976
|
|
|
2977
|
+
"operator": "and",
|
|
2978
|
+
|
|
2975
2979
|
"conditions": [
|
|
2976
2980
|
{
|
|
2977
2981
|
"model": "session",
|
package/dist/crisp.js
CHANGED
|
@@ -595,7 +595,7 @@ declare class WebsiteConversation extends BaseResource {
|
|
|
595
595
|
/**
|
|
596
596
|
* Get Conversation Participants
|
|
597
597
|
*/
|
|
598
|
-
getConversationParticipants(websiteID: string, sessionID: string): Promise<
|
|
598
|
+
getConversationParticipants(websiteID: string, sessionID: string): Promise<ConversationParticipants>;
|
|
599
599
|
/**
|
|
600
600
|
* Save Conversation Participants
|
|
601
601
|
*/
|
|
@@ -1100,7 +1100,7 @@ class WebsiteConversation extends BaseResource {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
getConversationParticipants(
|
|
1102
1102
|
websiteID: string, sessionID: string
|
|
1103
|
-
): Promise<
|
|
1103
|
+
): Promise<ConversationParticipants> {
|
|
1104
1104
|
return this.crisp.get(
|
|
1105
1105
|
this.crisp.prepareRestUrl([
|
|
1106
1106
|
"website", websiteID, "conversation", sessionID, "participants"
|
package/package.json
CHANGED