intercom-client 6.2.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/Client.d.ts +3 -0
- package/Client.js +7 -2
- package/README.md +7 -19
- package/api/resources/admins/client/Client.js +5 -5
- package/api/resources/aiContentSource/types/ContentSource.d.ts +1 -14
- package/api/resources/aiContentSource/types/ContentSource.js +0 -11
- package/api/resources/articles/client/Client.js +6 -6
- package/api/resources/companies/client/Client.d.ts +1 -1
- package/api/resources/companies/client/Client.js +11 -11
- package/api/resources/companies/types/CompaniesRetrieveResponse.d.ts +13 -0
- package/api/resources/companies/types/CompaniesRetrieveResponse.js +5 -0
- package/api/resources/companies/types/Company.d.ts +0 -2
- package/api/resources/companies/types/index.d.ts +1 -0
- package/api/resources/companies/types/index.js +1 -0
- package/api/resources/contacts/client/Client.js +15 -15
- package/api/resources/conversations/client/Client.js +12 -12
- package/api/resources/customChannelEvents/client/Client.d.ts +61 -0
- package/api/resources/customChannelEvents/client/Client.js +245 -0
- package/api/resources/customChannelEvents/client/index.d.ts +1 -0
- package/api/resources/customChannelEvents/client/index.js +2 -0
- package/api/resources/customChannelEvents/index.d.ts +1 -0
- package/api/resources/customChannelEvents/index.js +17 -0
- package/api/resources/dataAttributes/client/Client.js +3 -3
- package/api/resources/dataExport/client/Client.js +4 -4
- package/api/resources/events/client/Client.js +3 -3
- package/api/resources/helpCenters/client/Client.js +2 -2
- package/api/resources/helpCenters/resources/collections/client/Client.js +5 -5
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/news/resources/feeds/client/Client.js +3 -3
- package/api/resources/news/resources/items/client/Client.js +5 -5
- package/api/resources/notes/client/Client.js +3 -3
- package/api/resources/phoneCallRedirects/client/Client.js +1 -1
- package/api/resources/segments/client/Client.js +2 -2
- package/api/resources/subscriptionTypes/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +10 -10
- package/api/resources/teams/client/Client.js +2 -2
- package/api/resources/ticketTypes/client/Client.js +4 -4
- package/api/resources/ticketTypes/resources/attributes/client/Client.js +2 -2
- package/api/resources/tickets/client/Client.js +5 -5
- package/api/resources/visitors/client/Client.js +3 -3
- package/api/types/CompanyList.d.ts +0 -2
- package/api/types/TicketCustomAttributes.d.ts +1 -5
- package/api/types/TicketRequestCustomAttributes.d.ts +1 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- package/dist/api/resources/admins/client/Client.js +5 -5
- package/dist/api/resources/aiContentSource/types/ContentSource.d.ts +1 -14
- package/dist/api/resources/aiContentSource/types/ContentSource.js +0 -11
- package/dist/api/resources/articles/client/Client.js +6 -6
- package/dist/api/resources/companies/client/Client.d.ts +1 -1
- package/dist/api/resources/companies/client/Client.js +11 -11
- package/dist/api/resources/companies/types/CompaniesRetrieveResponse.d.ts +13 -0
- package/dist/api/resources/companies/types/CompaniesRetrieveResponse.js +5 -0
- package/dist/api/resources/companies/types/Company.d.ts +0 -2
- package/dist/api/resources/companies/types/index.d.ts +1 -0
- package/dist/api/resources/companies/types/index.js +1 -0
- package/dist/api/resources/contacts/client/Client.js +15 -15
- package/dist/api/resources/conversations/client/Client.js +12 -12
- package/dist/api/resources/customChannelEvents/client/Client.d.ts +61 -0
- package/dist/api/resources/customChannelEvents/client/Client.js +245 -0
- package/dist/api/resources/customChannelEvents/client/index.d.ts +1 -0
- package/dist/api/resources/customChannelEvents/client/index.js +2 -0
- package/dist/api/resources/customChannelEvents/index.d.ts +1 -0
- package/dist/api/resources/customChannelEvents/index.js +17 -0
- package/dist/api/resources/dataAttributes/client/Client.js +3 -3
- package/dist/api/resources/dataExport/client/Client.js +4 -4
- package/dist/api/resources/events/client/Client.js +3 -3
- package/dist/api/resources/helpCenters/client/Client.js +2 -2
- package/dist/api/resources/helpCenters/resources/collections/client/Client.js +5 -5
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/news/resources/feeds/client/Client.js +3 -3
- package/dist/api/resources/news/resources/items/client/Client.js +5 -5
- package/dist/api/resources/notes/client/Client.js +3 -3
- package/dist/api/resources/phoneCallRedirects/client/Client.js +1 -1
- package/dist/api/resources/segments/client/Client.js +2 -2
- package/dist/api/resources/subscriptionTypes/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +10 -10
- package/dist/api/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/ticketTypes/client/Client.js +4 -4
- package/dist/api/resources/ticketTypes/resources/attributes/client/Client.js +2 -2
- package/dist/api/resources/tickets/client/Client.js +5 -5
- package/dist/api/resources/visitors/client/Client.js +3 -3
- package/dist/api/types/CompanyList.d.ts +0 -2
- package/dist/api/types/TicketCustomAttributes.d.ts +1 -5
- package/dist/api/types/TicketRequestCustomAttributes.d.ts +1 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +163 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -139,7 +139,7 @@ class Tickets {
|
|
|
139
139
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
140
140
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `tickets/${encodeURIComponent(ticketId)}/reply`),
|
|
141
141
|
method: "POST",
|
|
142
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
142
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
requestType: "json",
|
|
145
145
|
body: _body,
|
|
@@ -206,7 +206,7 @@ class Tickets {
|
|
|
206
206
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
207
207
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "tickets"),
|
|
208
208
|
method: "POST",
|
|
209
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
209
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
210
210
|
contentType: "application/json",
|
|
211
211
|
requestType: "json",
|
|
212
212
|
body: request,
|
|
@@ -263,7 +263,7 @@ class Tickets {
|
|
|
263
263
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
264
264
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `tickets/${encodeURIComponent(ticketId)}`),
|
|
265
265
|
method: "GET",
|
|
266
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
266
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
267
267
|
contentType: "application/json",
|
|
268
268
|
requestType: "json",
|
|
269
269
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -359,7 +359,7 @@ class Tickets {
|
|
|
359
359
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
360
360
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `tickets/${encodeURIComponent(ticketId)}`),
|
|
361
361
|
method: "PUT",
|
|
362
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
362
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
363
363
|
contentType: "application/json",
|
|
364
364
|
requestType: "json",
|
|
365
365
|
body: _body,
|
|
@@ -486,7 +486,7 @@ class Tickets {
|
|
|
486
486
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
487
487
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "tickets/search"),
|
|
488
488
|
method: "POST",
|
|
489
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
489
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
490
490
|
contentType: "application/json",
|
|
491
491
|
requestType: "json",
|
|
492
492
|
body: request,
|
|
@@ -84,7 +84,7 @@ class Visitors {
|
|
|
84
84
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
85
85
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "visitors"),
|
|
86
86
|
method: "GET",
|
|
87
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
87
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
queryParameters: _queryParams,
|
|
90
90
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Visitors {
|
|
|
154
154
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
155
155
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "visitors"),
|
|
156
156
|
method: "PUT",
|
|
157
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
157
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
requestType: "json",
|
|
160
160
|
body: request,
|
|
@@ -223,7 +223,7 @@ class Visitors {
|
|
|
223
223
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
224
224
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "visitors/convert"),
|
|
225
225
|
method: "POST",
|
|
226
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
226
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.3.0", "User-Agent": "intercom-client/6.3.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
requestType: "json",
|
|
229
229
|
body: request,
|
|
@@ -6,8 +6,6 @@ import * as Intercom from "../index";
|
|
|
6
6
|
* This will return a list of companies for the App.
|
|
7
7
|
*/
|
|
8
8
|
export interface CompanyList {
|
|
9
|
-
/** The type of object - `list`. */
|
|
10
|
-
type: "list";
|
|
11
9
|
pages?: Intercom.OffsetPages;
|
|
12
10
|
/** The total number of companies. */
|
|
13
11
|
total_count: number;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Intercom from "../index";
|
|
5
4
|
/**
|
|
6
5
|
* An object containing the different attributes associated to the ticket as key-value pairs. For the default title and description attributes, the keys are `_default_title_` and `_default_description_`.
|
|
7
6
|
*/
|
|
8
|
-
export type TicketCustomAttributes = Record<string,
|
|
9
|
-
export declare namespace TicketCustomAttributes {
|
|
10
|
-
type Value = string | undefined | number | boolean | unknown[] | Intercom.FileAttribute;
|
|
11
|
-
}
|
|
7
|
+
export type TicketCustomAttributes = Record<string, unknown>;
|
|
@@ -4,7 +4,4 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* The attributes set on the ticket. When setting the default title and description attributes, the attribute keys that should be used are `_default_title_` and `_default_description_`. When setting ticket type attributes of the list attribute type, the key should be the attribute name and the value of the attribute should be the list item id, obtainable by [listing the ticket type](ref:get_ticket-types). For example, if the ticket type has an attribute called `priority` of type `list`, the key should be `priority` and the value of the attribute should be the guid of the list item (e.g. `de1825a0-0164-4070-8ca6-13e22462fa7e`).
|
|
6
6
|
*/
|
|
7
|
-
export type TicketRequestCustomAttributes = Record<string,
|
|
8
|
-
export declare namespace TicketRequestCustomAttributes {
|
|
9
|
-
type Value = string | undefined | number | boolean | unknown[];
|
|
10
|
-
}
|
|
7
|
+
export type TicketRequestCustomAttributes = Record<string, unknown>;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "6.
|
|
1
|
+
export declare const SDK_VERSION = "6.3.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -877,7 +877,7 @@ while (page.hasNextPage()) {
|
|
|
877
877
|
|
|
878
878
|
## Companies
|
|
879
879
|
|
|
880
|
-
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">retrieve</a>({ ...params }) -> Intercom.
|
|
880
|
+
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">retrieve</a>({ ...params }) -> Intercom.CompaniesRetrieveResponse</code></summary>
|
|
881
881
|
<dl>
|
|
882
882
|
<dd>
|
|
883
883
|
|
|
@@ -6833,6 +6833,168 @@ await client.visitors.mergeToContact({
|
|
|
6833
6833
|
</dl>
|
|
6834
6834
|
</details>
|
|
6835
6835
|
|
|
6836
|
+
## CustomChannelEvents
|
|
6837
|
+
|
|
6838
|
+
<details><summary><code>client.customChannelEvents.<a href="/src/api/resources/customChannelEvents/client/Client.ts">notifyAttributeCollected</a>() -> void</code></summary>
|
|
6839
|
+
<dl>
|
|
6840
|
+
<dd>
|
|
6841
|
+
|
|
6842
|
+
#### 🔌 Usage
|
|
6843
|
+
|
|
6844
|
+
<dl>
|
|
6845
|
+
<dd>
|
|
6846
|
+
|
|
6847
|
+
<dl>
|
|
6848
|
+
<dd>
|
|
6849
|
+
|
|
6850
|
+
```typescript
|
|
6851
|
+
await client.customChannelEvents.notifyAttributeCollected();
|
|
6852
|
+
```
|
|
6853
|
+
|
|
6854
|
+
</dd>
|
|
6855
|
+
</dl>
|
|
6856
|
+
</dd>
|
|
6857
|
+
</dl>
|
|
6858
|
+
|
|
6859
|
+
#### ⚙️ Parameters
|
|
6860
|
+
|
|
6861
|
+
<dl>
|
|
6862
|
+
<dd>
|
|
6863
|
+
|
|
6864
|
+
<dl>
|
|
6865
|
+
<dd>
|
|
6866
|
+
|
|
6867
|
+
**requestOptions:** `CustomChannelEvents.RequestOptions`
|
|
6868
|
+
|
|
6869
|
+
</dd>
|
|
6870
|
+
</dl>
|
|
6871
|
+
</dd>
|
|
6872
|
+
</dl>
|
|
6873
|
+
|
|
6874
|
+
</dd>
|
|
6875
|
+
</dl>
|
|
6876
|
+
</details>
|
|
6877
|
+
|
|
6878
|
+
<details><summary><code>client.customChannelEvents.<a href="/src/api/resources/customChannelEvents/client/Client.ts">notifyNewMessage</a>() -> void</code></summary>
|
|
6879
|
+
<dl>
|
|
6880
|
+
<dd>
|
|
6881
|
+
|
|
6882
|
+
#### 🔌 Usage
|
|
6883
|
+
|
|
6884
|
+
<dl>
|
|
6885
|
+
<dd>
|
|
6886
|
+
|
|
6887
|
+
<dl>
|
|
6888
|
+
<dd>
|
|
6889
|
+
|
|
6890
|
+
```typescript
|
|
6891
|
+
await client.customChannelEvents.notifyNewMessage();
|
|
6892
|
+
```
|
|
6893
|
+
|
|
6894
|
+
</dd>
|
|
6895
|
+
</dl>
|
|
6896
|
+
</dd>
|
|
6897
|
+
</dl>
|
|
6898
|
+
|
|
6899
|
+
#### ⚙️ Parameters
|
|
6900
|
+
|
|
6901
|
+
<dl>
|
|
6902
|
+
<dd>
|
|
6903
|
+
|
|
6904
|
+
<dl>
|
|
6905
|
+
<dd>
|
|
6906
|
+
|
|
6907
|
+
**requestOptions:** `CustomChannelEvents.RequestOptions`
|
|
6908
|
+
|
|
6909
|
+
</dd>
|
|
6910
|
+
</dl>
|
|
6911
|
+
</dd>
|
|
6912
|
+
</dl>
|
|
6913
|
+
|
|
6914
|
+
</dd>
|
|
6915
|
+
</dl>
|
|
6916
|
+
</details>
|
|
6917
|
+
|
|
6918
|
+
<details><summary><code>client.customChannelEvents.<a href="/src/api/resources/customChannelEvents/client/Client.ts">notifyNewConversation</a>() -> void</code></summary>
|
|
6919
|
+
<dl>
|
|
6920
|
+
<dd>
|
|
6921
|
+
|
|
6922
|
+
#### 🔌 Usage
|
|
6923
|
+
|
|
6924
|
+
<dl>
|
|
6925
|
+
<dd>
|
|
6926
|
+
|
|
6927
|
+
<dl>
|
|
6928
|
+
<dd>
|
|
6929
|
+
|
|
6930
|
+
```typescript
|
|
6931
|
+
await client.customChannelEvents.notifyNewConversation();
|
|
6932
|
+
```
|
|
6933
|
+
|
|
6934
|
+
</dd>
|
|
6935
|
+
</dl>
|
|
6936
|
+
</dd>
|
|
6937
|
+
</dl>
|
|
6938
|
+
|
|
6939
|
+
#### ⚙️ Parameters
|
|
6940
|
+
|
|
6941
|
+
<dl>
|
|
6942
|
+
<dd>
|
|
6943
|
+
|
|
6944
|
+
<dl>
|
|
6945
|
+
<dd>
|
|
6946
|
+
|
|
6947
|
+
**requestOptions:** `CustomChannelEvents.RequestOptions`
|
|
6948
|
+
|
|
6949
|
+
</dd>
|
|
6950
|
+
</dl>
|
|
6951
|
+
</dd>
|
|
6952
|
+
</dl>
|
|
6953
|
+
|
|
6954
|
+
</dd>
|
|
6955
|
+
</dl>
|
|
6956
|
+
</details>
|
|
6957
|
+
|
|
6958
|
+
<details><summary><code>client.customChannelEvents.<a href="/src/api/resources/customChannelEvents/client/Client.ts">notifyQuickReplySelected</a>() -> void</code></summary>
|
|
6959
|
+
<dl>
|
|
6960
|
+
<dd>
|
|
6961
|
+
|
|
6962
|
+
#### 🔌 Usage
|
|
6963
|
+
|
|
6964
|
+
<dl>
|
|
6965
|
+
<dd>
|
|
6966
|
+
|
|
6967
|
+
<dl>
|
|
6968
|
+
<dd>
|
|
6969
|
+
|
|
6970
|
+
```typescript
|
|
6971
|
+
await client.customChannelEvents.notifyQuickReplySelected();
|
|
6972
|
+
```
|
|
6973
|
+
|
|
6974
|
+
</dd>
|
|
6975
|
+
</dl>
|
|
6976
|
+
</dd>
|
|
6977
|
+
</dl>
|
|
6978
|
+
|
|
6979
|
+
#### ⚙️ Parameters
|
|
6980
|
+
|
|
6981
|
+
<dl>
|
|
6982
|
+
<dd>
|
|
6983
|
+
|
|
6984
|
+
<dl>
|
|
6985
|
+
<dd>
|
|
6986
|
+
|
|
6987
|
+
**requestOptions:** `CustomChannelEvents.RequestOptions`
|
|
6988
|
+
|
|
6989
|
+
</dd>
|
|
6990
|
+
</dl>
|
|
6991
|
+
</dd>
|
|
6992
|
+
</dl>
|
|
6993
|
+
|
|
6994
|
+
</dd>
|
|
6995
|
+
</dl>
|
|
6996
|
+
</details>
|
|
6997
|
+
|
|
6836
6998
|
## HelpCenters Collections
|
|
6837
6999
|
|
|
6838
7000
|
<details><summary><code>client.helpCenters.collections.<a href="/src/api/resources/helpCenters/resources/collections/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.Collection></code></summary>
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "6.
|
|
1
|
+
export declare const SDK_VERSION = "6.3.0";
|
package/version.js
CHANGED