intercom-client 7.0.1 → 7.0.3
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +33 -28
- package/dist/cjs/api/resources/contacts/types/Contact.d.ts +9 -9
- package/dist/cjs/api/resources/conversations/types/Conversation.d.ts +10 -10
- package/dist/cjs/api/resources/dataEvents/types/DataEvent.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/ipAllowlist/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/ipAllowlist/client/Client.js +176 -0
- package/dist/cjs/api/resources/ipAllowlist/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/ipAllowlist/client/index.js +2 -0
- package/dist/cjs/api/resources/ipAllowlist/index.d.ts +1 -0
- package/dist/cjs/api/resources/ipAllowlist/index.js +17 -0
- package/dist/cjs/api/resources/messages/types/Message.d.ts +1 -1
- package/dist/cjs/api/resources/notes/types/Note.d.ts +4 -4
- package/dist/cjs/api/resources/tickets/types/Ticket.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/unstable/client/Client.js +5 -0
- package/dist/cjs/api/resources/unstable/resources/aiAgent/types/AiAgent.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/aiAgent/types/AiAgent.js +1 -0
- package/dist/cjs/api/resources/unstable/resources/contacts/client/requests/UpdateContactRequest.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/contacts/types/Contact.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/conversations/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/client/Client.js +56 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/ListHandlingEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/ListHandlingEventsRequest.js +3 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/types/Conversation.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/index.js +3 -1
- package/dist/cjs/api/resources/unstable/resources/workflows/client/Client.d.ts +39 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/Client.js +122 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/index.js +17 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/requests/ExportWorkflowRequest.d.ts +10 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/requests/ExportWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/index.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/index.js +17 -0
- package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.ts +3 -1
- package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByUser.d.ts +19 -0
- package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByUser.js +3 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByRule.d.ts +24 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByRule.js +3 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.d.ts +24 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.js +3 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaPaused.d.ts +29 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaPaused.js +14 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaRemoved.d.ts +7 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaRemoved.js +3 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaTargetMissed.d.ts +50 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaTargetMissed.js +35 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaUnpaused.d.ts +7 -0
- package/dist/cjs/api/resources/unstable/types/ConversationSlaUnpaused.js +3 -0
- package/dist/cjs/api/resources/unstable/types/ConversationTagsUpdated.d.ts +9 -0
- package/dist/cjs/api/resources/unstable/types/ConversationTagsUpdated.js +3 -0
- package/dist/cjs/api/resources/unstable/types/EventDetails.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/HandlingEvent.d.ts +21 -0
- package/dist/cjs/api/resources/unstable/types/HandlingEvent.js +12 -0
- package/dist/cjs/api/resources/unstable/types/HandlingEventList.d.ts +8 -0
- package/dist/cjs/api/resources/unstable/types/HandlingEventList.js +3 -0
- package/dist/cjs/api/resources/unstable/types/PriorityChanged.d.ts +23 -0
- package/dist/cjs/api/resources/unstable/types/PriorityChanged.js +17 -0
- package/dist/cjs/api/resources/unstable/types/Snoozed.d.ts +9 -0
- package/dist/cjs/api/resources/unstable/types/Snoozed.js +3 -0
- package/dist/cjs/api/resources/unstable/types/TeammateReference.d.ts +22 -0
- package/dist/cjs/api/resources/unstable/types/TeammateReference.js +13 -0
- package/dist/cjs/api/resources/unstable/types/WorkflowExport.d.ts +55 -0
- package/dist/cjs/api/resources/unstable/types/WorkflowExport.js +16 -0
- package/dist/cjs/api/resources/unstable/types/index.d.ts +14 -0
- package/dist/cjs/api/resources/unstable/types/index.js +14 -0
- package/dist/cjs/api/types/ActivityLog.d.ts +6 -1
- package/dist/cjs/api/types/ActivityLog.js +6 -1
- package/dist/cjs/api/types/IpAllowlist.d.ts +16 -0
- package/dist/cjs/api/types/IpAllowlist.js +3 -0
- package/dist/cjs/api/types/Visitor.d.ts +3 -3
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/contacts/types/Contact.d.mts +9 -9
- package/dist/esm/api/resources/conversations/types/Conversation.d.mts +10 -10
- package/dist/esm/api/resources/dataEvents/types/DataEvent.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/ipAllowlist/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/ipAllowlist/client/Client.mjs +139 -0
- package/dist/esm/api/resources/ipAllowlist/client/index.d.mts +1 -0
- package/dist/esm/api/resources/ipAllowlist/client/index.mjs +1 -0
- package/dist/esm/api/resources/ipAllowlist/index.d.mts +1 -0
- package/dist/esm/api/resources/ipAllowlist/index.mjs +1 -0
- package/dist/esm/api/resources/messages/types/Message.d.mts +1 -1
- package/dist/esm/api/resources/notes/types/Note.d.mts +4 -4
- package/dist/esm/api/resources/tickets/types/Ticket.d.mts +6 -6
- package/dist/esm/api/resources/unstable/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/unstable/client/Client.mjs +5 -0
- package/dist/esm/api/resources/unstable/resources/aiAgent/types/AiAgent.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/aiAgent/types/AiAgent.mjs +1 -0
- package/dist/esm/api/resources/unstable/resources/contacts/client/requests/UpdateContactRequest.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/contacts/types/Contact.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/conversations/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/unstable/resources/conversations/client/Client.mjs +56 -0
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/ListHandlingEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/ListHandlingEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/conversations/types/Conversation.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/index.mjs +2 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/Client.d.mts +39 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/Client.mjs +85 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/index.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/index.mjs +1 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/requests/ExportWorkflowRequest.d.mts +10 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/requests/ExportWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/unstable/resources/workflows/index.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/workflows/index.mjs +1 -0
- package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.mts +3 -1
- package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByUser.d.mts +19 -0
- package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByUser.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByRule.d.mts +24 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByRule.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.d.mts +24 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaPaused.d.mts +29 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaPaused.mjs +11 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaRemoved.d.mts +7 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaRemoved.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaTargetMissed.d.mts +50 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaTargetMissed.mjs +32 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaUnpaused.d.mts +7 -0
- package/dist/esm/api/resources/unstable/types/ConversationSlaUnpaused.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/ConversationTagsUpdated.d.mts +9 -0
- package/dist/esm/api/resources/unstable/types/ConversationTagsUpdated.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/EventDetails.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/HandlingEvent.d.mts +21 -0
- package/dist/esm/api/resources/unstable/types/HandlingEvent.mjs +9 -0
- package/dist/esm/api/resources/unstable/types/HandlingEventList.d.mts +8 -0
- package/dist/esm/api/resources/unstable/types/HandlingEventList.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/PriorityChanged.d.mts +23 -0
- package/dist/esm/api/resources/unstable/types/PriorityChanged.mjs +14 -0
- package/dist/esm/api/resources/unstable/types/Snoozed.d.mts +9 -0
- package/dist/esm/api/resources/unstable/types/Snoozed.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/TeammateReference.d.mts +22 -0
- package/dist/esm/api/resources/unstable/types/TeammateReference.mjs +10 -0
- package/dist/esm/api/resources/unstable/types/WorkflowExport.d.mts +55 -0
- package/dist/esm/api/resources/unstable/types/WorkflowExport.mjs +13 -0
- package/dist/esm/api/resources/unstable/types/index.d.mts +14 -0
- package/dist/esm/api/resources/unstable/types/index.mjs +14 -0
- package/dist/esm/api/types/ActivityLog.d.mts +6 -1
- package/dist/esm/api/types/ActivityLog.mjs +6 -1
- package/dist/esm/api/types/IpAllowlist.d.mts +16 -0
- package/dist/esm/api/types/IpAllowlist.mjs +2 -0
- package/dist/esm/api/types/Visitor.d.mts +3 -3
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +265 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains complete status of all SLA targets when a breach occurs for conversation part type <code>conversation_sla_target_missed</code>.
|
|
3
|
+
*/
|
|
4
|
+
export interface ConversationSlaTargetMissed {
|
|
5
|
+
/** Name of the SLA */
|
|
6
|
+
sla_name?: string;
|
|
7
|
+
/** Which specific target was missed */
|
|
8
|
+
sla_target_type?: ConversationSlaTargetMissed.SlaTargetType;
|
|
9
|
+
/** Overall SLA status */
|
|
10
|
+
current_sla_status?: ConversationSlaTargetMissed.CurrentSlaStatus;
|
|
11
|
+
/** Status of all SLA targets at the time of breach */
|
|
12
|
+
sla_states?: Record<string, ConversationSlaTargetMissed.SlaStates.Value>;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace ConversationSlaTargetMissed {
|
|
15
|
+
/** Which specific target was missed */
|
|
16
|
+
const SlaTargetType: {
|
|
17
|
+
readonly FirstReplyTime: "first_reply_time";
|
|
18
|
+
readonly NextReplyTime: "next_reply_time";
|
|
19
|
+
readonly ResolutionTime: "resolution_time";
|
|
20
|
+
readonly TimeToClose: "time_to_close";
|
|
21
|
+
};
|
|
22
|
+
type SlaTargetType = (typeof SlaTargetType)[keyof typeof SlaTargetType];
|
|
23
|
+
/** Overall SLA status */
|
|
24
|
+
const CurrentSlaStatus: {
|
|
25
|
+
readonly Hit: "hit";
|
|
26
|
+
readonly Missed: "missed";
|
|
27
|
+
readonly Active: "active";
|
|
28
|
+
readonly Paused: "paused";
|
|
29
|
+
readonly Canceled: "canceled";
|
|
30
|
+
};
|
|
31
|
+
type CurrentSlaStatus = (typeof CurrentSlaStatus)[keyof typeof CurrentSlaStatus];
|
|
32
|
+
namespace SlaStates {
|
|
33
|
+
interface Value {
|
|
34
|
+
/** Status of this specific target */
|
|
35
|
+
status?: Value.Status;
|
|
36
|
+
/** Time remaining for active/paused targets (null for hit/missed) */
|
|
37
|
+
seconds_remaining?: number;
|
|
38
|
+
}
|
|
39
|
+
namespace Value {
|
|
40
|
+
/** Status of this specific target */
|
|
41
|
+
const Status: {
|
|
42
|
+
readonly Hit: "hit";
|
|
43
|
+
readonly Missed: "missed";
|
|
44
|
+
readonly Active: "active";
|
|
45
|
+
readonly Paused: "paused";
|
|
46
|
+
};
|
|
47
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ConversationSlaTargetMissed = void 0;
|
|
5
|
+
var ConversationSlaTargetMissed;
|
|
6
|
+
(function (ConversationSlaTargetMissed) {
|
|
7
|
+
/** Which specific target was missed */
|
|
8
|
+
ConversationSlaTargetMissed.SlaTargetType = {
|
|
9
|
+
FirstReplyTime: "first_reply_time",
|
|
10
|
+
NextReplyTime: "next_reply_time",
|
|
11
|
+
ResolutionTime: "resolution_time",
|
|
12
|
+
TimeToClose: "time_to_close",
|
|
13
|
+
};
|
|
14
|
+
/** Overall SLA status */
|
|
15
|
+
ConversationSlaTargetMissed.CurrentSlaStatus = {
|
|
16
|
+
Hit: "hit",
|
|
17
|
+
Missed: "missed",
|
|
18
|
+
Active: "active",
|
|
19
|
+
Paused: "paused",
|
|
20
|
+
Canceled: "canceled",
|
|
21
|
+
};
|
|
22
|
+
let SlaStates;
|
|
23
|
+
(function (SlaStates) {
|
|
24
|
+
let Value;
|
|
25
|
+
(function (Value) {
|
|
26
|
+
/** Status of this specific target */
|
|
27
|
+
Value.Status = {
|
|
28
|
+
Hit: "hit",
|
|
29
|
+
Missed: "missed",
|
|
30
|
+
Active: "active",
|
|
31
|
+
Paused: "paused",
|
|
32
|
+
};
|
|
33
|
+
})(Value = SlaStates.Value || (SlaStates.Value = {}));
|
|
34
|
+
})(SlaStates = ConversationSlaTargetMissed.SlaStates || (ConversationSlaTargetMissed.SlaStates = {}));
|
|
35
|
+
})(ConversationSlaTargetMissed || (exports.ConversationSlaTargetMissed = ConversationSlaTargetMissed = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains details about tags that were added or removed from a conversation for conversation part type <code>conversation_tags_updated</code>.
|
|
3
|
+
*/
|
|
4
|
+
export interface ConversationTagsUpdated {
|
|
5
|
+
/** Array of tag names that were added */
|
|
6
|
+
tags_added?: string[];
|
|
7
|
+
/** Array of tag names that were removed */
|
|
8
|
+
tags_removed?: string[];
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Intercom from "../../../index.js";
|
|
2
|
-
export type EventDetails = Intercom.unstable.ConversationAttributeUpdatedByWorkflow | Intercom.unstable.ConversationAttributeUpdatedByAdmin | Intercom.unstable.CustomActionStarted | Intercom.unstable.CustomActionFinished | Intercom.unstable.OperatorWorkflowEvent;
|
|
2
|
+
export type EventDetails = Intercom.unstable.ConversationAttributeUpdatedByWorkflow | Intercom.unstable.ConversationAttributeUpdatedByAdmin | Intercom.unstable.ConversationAttributeUpdatedByUser | Intercom.unstable.CustomActionStarted | Intercom.unstable.CustomActionFinished | Intercom.unstable.OperatorWorkflowEvent | Intercom.unstable.ConversationTagsUpdated | Intercom.unstable.Snoozed | Intercom.unstable.PriorityChanged | Intercom.unstable.ConversationSlaAppliedByRule | Intercom.unstable.ConversationSlaAppliedByWorkflow | Intercom.unstable.ConversationSlaTargetMissed | Intercom.unstable.ConversationSlaPaused | Intercom.unstable.ConversationSlaUnpaused | Intercom.unstable.ConversationSlaRemoved;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as Intercom from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A pause or resume event for a conversation
|
|
4
|
+
*/
|
|
5
|
+
export interface HandlingEvent {
|
|
6
|
+
teammate: Intercom.unstable.TeammateReference;
|
|
7
|
+
/** The type of handling event */
|
|
8
|
+
type: HandlingEvent.Type;
|
|
9
|
+
/** ISO8601 timestamp when the event occurred */
|
|
10
|
+
timestamp: string;
|
|
11
|
+
/** Optional reason for the event (e.g., "Paused", "Away") */
|
|
12
|
+
reason?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace HandlingEvent {
|
|
15
|
+
/** The type of handling event */
|
|
16
|
+
const Type: {
|
|
17
|
+
readonly Paused: "paused";
|
|
18
|
+
readonly Resumed: "resumed";
|
|
19
|
+
};
|
|
20
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.HandlingEvent = void 0;
|
|
5
|
+
var HandlingEvent;
|
|
6
|
+
(function (HandlingEvent) {
|
|
7
|
+
/** The type of handling event */
|
|
8
|
+
HandlingEvent.Type = {
|
|
9
|
+
Paused: "paused",
|
|
10
|
+
Resumed: "resumed",
|
|
11
|
+
};
|
|
12
|
+
})(HandlingEvent || (exports.HandlingEvent = HandlingEvent = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains details about priority changes for conversation part type <code>priority_changed</code>.
|
|
3
|
+
*/
|
|
4
|
+
export interface PriorityChanged {
|
|
5
|
+
/** Current priority state */
|
|
6
|
+
current_priority?: PriorityChanged.CurrentPriority;
|
|
7
|
+
/** Previous priority state */
|
|
8
|
+
previous_priority?: PriorityChanged.PreviousPriority;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace PriorityChanged {
|
|
11
|
+
/** Current priority state */
|
|
12
|
+
const CurrentPriority: {
|
|
13
|
+
readonly Priority: "priority";
|
|
14
|
+
readonly NotPriority: "not_priority";
|
|
15
|
+
};
|
|
16
|
+
type CurrentPriority = (typeof CurrentPriority)[keyof typeof CurrentPriority];
|
|
17
|
+
/** Previous priority state */
|
|
18
|
+
const PreviousPriority: {
|
|
19
|
+
readonly Priority: "priority";
|
|
20
|
+
readonly NotPriority: "not_priority";
|
|
21
|
+
};
|
|
22
|
+
type PreviousPriority = (typeof PreviousPriority)[keyof typeof PreviousPriority];
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PriorityChanged = void 0;
|
|
5
|
+
var PriorityChanged;
|
|
6
|
+
(function (PriorityChanged) {
|
|
7
|
+
/** Current priority state */
|
|
8
|
+
PriorityChanged.CurrentPriority = {
|
|
9
|
+
Priority: "priority",
|
|
10
|
+
NotPriority: "not_priority",
|
|
11
|
+
};
|
|
12
|
+
/** Previous priority state */
|
|
13
|
+
PriorityChanged.PreviousPriority = {
|
|
14
|
+
Priority: "priority",
|
|
15
|
+
NotPriority: "not_priority",
|
|
16
|
+
};
|
|
17
|
+
})(PriorityChanged || (exports.PriorityChanged = PriorityChanged = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains details about conversation snooze timing for conversation part type <code>snoozed</code>.
|
|
3
|
+
*/
|
|
4
|
+
export interface Snoozed {
|
|
5
|
+
/** Human-readable description of snooze duration */
|
|
6
|
+
until?: string;
|
|
7
|
+
/** ISO timestamp for custom snooze times (null for general snoozes) */
|
|
8
|
+
custom_until_time?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A reference to a teammate (admin, team, or bot)
|
|
3
|
+
*/
|
|
4
|
+
export interface TeammateReference {
|
|
5
|
+
/** The type of teammate */
|
|
6
|
+
type: TeammateReference.Type;
|
|
7
|
+
/** The unique identifier of the teammate */
|
|
8
|
+
id: number;
|
|
9
|
+
/** The display name of the teammate */
|
|
10
|
+
name: string;
|
|
11
|
+
/** The email address of the teammate (optional for teams/bots) */
|
|
12
|
+
email?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace TeammateReference {
|
|
15
|
+
/** The type of teammate */
|
|
16
|
+
const Type: {
|
|
17
|
+
readonly Admin: "admin";
|
|
18
|
+
readonly Team: "team";
|
|
19
|
+
readonly Bot: "bot";
|
|
20
|
+
};
|
|
21
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TeammateReference = void 0;
|
|
5
|
+
var TeammateReference;
|
|
6
|
+
(function (TeammateReference) {
|
|
7
|
+
/** The type of teammate */
|
|
8
|
+
TeammateReference.Type = {
|
|
9
|
+
Admin: "admin",
|
|
10
|
+
Team: "team",
|
|
11
|
+
Bot: "bot",
|
|
12
|
+
};
|
|
13
|
+
})(TeammateReference || (exports.TeammateReference = TeammateReference = {}));
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A workflow export containing the complete workflow configuration.
|
|
3
|
+
*/
|
|
4
|
+
export interface WorkflowExport {
|
|
5
|
+
/** The version of the export format. */
|
|
6
|
+
export_version?: string;
|
|
7
|
+
/** The timestamp when the export was generated. */
|
|
8
|
+
exported_at?: string;
|
|
9
|
+
/** The workspace identifier. */
|
|
10
|
+
app_id?: number;
|
|
11
|
+
/** The workflow configuration. */
|
|
12
|
+
workflow?: WorkflowExport.Workflow;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace WorkflowExport {
|
|
15
|
+
/**
|
|
16
|
+
* The workflow configuration.
|
|
17
|
+
*/
|
|
18
|
+
interface Workflow {
|
|
19
|
+
/** The unique identifier for the workflow. */
|
|
20
|
+
id?: string;
|
|
21
|
+
/** The title of the workflow. */
|
|
22
|
+
title?: string;
|
|
23
|
+
/** The description of the workflow. */
|
|
24
|
+
description?: string;
|
|
25
|
+
/** The type of trigger that starts this workflow. */
|
|
26
|
+
trigger_type?: string;
|
|
27
|
+
/** The current state of the workflow. */
|
|
28
|
+
state?: Workflow.State;
|
|
29
|
+
/** The channels this workflow targets. */
|
|
30
|
+
target_channels?: string[];
|
|
31
|
+
/** The preferred devices for this workflow. */
|
|
32
|
+
preferred_devices?: string[];
|
|
33
|
+
/** When the workflow was created. */
|
|
34
|
+
created_at?: string;
|
|
35
|
+
/** When the workflow was last updated. */
|
|
36
|
+
updated_at?: string;
|
|
37
|
+
/** The targeting rules for this workflow. */
|
|
38
|
+
targeting?: Record<string, unknown>;
|
|
39
|
+
/** The current snapshot of workflow steps and configuration. */
|
|
40
|
+
snapshot?: Record<string, unknown>;
|
|
41
|
+
/** Custom attributes defined for this workflow. */
|
|
42
|
+
attributes?: Record<string, unknown>[];
|
|
43
|
+
/** Rules embedded within the workflow steps. */
|
|
44
|
+
embedded_rules?: Record<string, unknown>[];
|
|
45
|
+
}
|
|
46
|
+
namespace Workflow {
|
|
47
|
+
/** The current state of the workflow. */
|
|
48
|
+
const State: {
|
|
49
|
+
readonly Live: "live";
|
|
50
|
+
readonly Draft: "draft";
|
|
51
|
+
readonly Paused: "paused";
|
|
52
|
+
};
|
|
53
|
+
type State = (typeof State)[keyof typeof State];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WorkflowExport = void 0;
|
|
5
|
+
var WorkflowExport;
|
|
6
|
+
(function (WorkflowExport) {
|
|
7
|
+
let Workflow;
|
|
8
|
+
(function (Workflow) {
|
|
9
|
+
/** The current state of the workflow. */
|
|
10
|
+
Workflow.State = {
|
|
11
|
+
Live: "live",
|
|
12
|
+
Draft: "draft",
|
|
13
|
+
Paused: "paused",
|
|
14
|
+
};
|
|
15
|
+
})(Workflow = WorkflowExport.Workflow || (WorkflowExport.Workflow = {}));
|
|
16
|
+
})(WorkflowExport || (exports.WorkflowExport = WorkflowExport = {}));
|
|
@@ -49,6 +49,7 @@ export * from "./ContactUnarchived.js";
|
|
|
49
49
|
export * from "./ContentSourcesList.js";
|
|
50
50
|
export * from "./ConversationAttachmentFiles.js";
|
|
51
51
|
export * from "./ConversationAttributeUpdatedByAdmin.js";
|
|
52
|
+
export * from "./ConversationAttributeUpdatedByUser.js";
|
|
52
53
|
export * from "./ConversationAttributeUpdatedByWorkflow.js";
|
|
53
54
|
export * from "./ConversationContacts.js";
|
|
54
55
|
export * from "./ConversationDeleted.js";
|
|
@@ -60,8 +61,15 @@ export * from "./ConversationPartMetadata.js";
|
|
|
60
61
|
export * from "./ConversationParts.js";
|
|
61
62
|
export * from "./ConversationRating.js";
|
|
62
63
|
export * from "./ConversationResponseTime.js";
|
|
64
|
+
export * from "./ConversationSlaAppliedByRule.js";
|
|
65
|
+
export * from "./ConversationSlaAppliedByWorkflow.js";
|
|
66
|
+
export * from "./ConversationSlaPaused.js";
|
|
67
|
+
export * from "./ConversationSlaRemoved.js";
|
|
68
|
+
export * from "./ConversationSlaTargetMissed.js";
|
|
69
|
+
export * from "./ConversationSlaUnpaused.js";
|
|
63
70
|
export * from "./ConversationSource.js";
|
|
64
71
|
export * from "./ConversationStatistics.js";
|
|
72
|
+
export * from "./ConversationTagsUpdated.js";
|
|
65
73
|
export * from "./ConversationTeammates.js";
|
|
66
74
|
export * from "./CreateArticleRequest.js";
|
|
67
75
|
export * from "./CreateDataAttributeRequest.js";
|
|
@@ -102,6 +110,8 @@ export * from "./EventDetails.js";
|
|
|
102
110
|
export * from "./FileAttribute.js";
|
|
103
111
|
export * from "./GroupContent.js";
|
|
104
112
|
export * from "./GroupTranslatedContent.js";
|
|
113
|
+
export * from "./HandlingEvent.js";
|
|
114
|
+
export * from "./HandlingEventList.js";
|
|
105
115
|
export * from "./InternalArticleList.js";
|
|
106
116
|
export * from "./LinkedObject.js";
|
|
107
117
|
export * from "./LinkedObjectList.js";
|
|
@@ -116,6 +126,7 @@ export * from "./PaginatedResponse.js";
|
|
|
116
126
|
export * from "./PaginatedResponseDataItem.js";
|
|
117
127
|
export * from "./PartAttachment.js";
|
|
118
128
|
export * from "./PhoneSwitch.js";
|
|
129
|
+
export * from "./PriorityChanged.js";
|
|
119
130
|
export * from "./QuickReplyOption.js";
|
|
120
131
|
export * from "./Recipient.js";
|
|
121
132
|
export * from "./RedactConversationRequest.js";
|
|
@@ -127,6 +138,7 @@ export * from "./SegmentList.js";
|
|
|
127
138
|
export * from "./SingleFilterSearchRequest.js";
|
|
128
139
|
export * from "./SlaApplied.js";
|
|
129
140
|
export * from "./SnoozeConversationRequest.js";
|
|
141
|
+
export * from "./Snoozed.js";
|
|
130
142
|
export * from "./SocialProfile.js";
|
|
131
143
|
export * from "./StartingAfterPaging.js";
|
|
132
144
|
export * from "./SubscriptionTypeList.js";
|
|
@@ -135,6 +147,7 @@ export * from "./TagList.js";
|
|
|
135
147
|
export * from "./TagMultipleUsersRequest.js";
|
|
136
148
|
export * from "./Tags.js";
|
|
137
149
|
export * from "./TeamList.js";
|
|
150
|
+
export * from "./TeammateReference.js";
|
|
138
151
|
export * from "./TeamPriorityLevel.js";
|
|
139
152
|
export * from "./TicketCustomAttributes.js";
|
|
140
153
|
export * from "./TicketList.js";
|
|
@@ -152,3 +165,4 @@ export * from "./UpdateDataAttributeRequestBody.js";
|
|
|
152
165
|
export * from "./Visitor.js";
|
|
153
166
|
export * from "./VisitorDeletedObject.js";
|
|
154
167
|
export * from "./WhatsappMessageStatusList.js";
|
|
168
|
+
export * from "./WorkflowExport.js";
|
|
@@ -65,6 +65,7 @@ __exportStar(require("./ContactUnarchived.js"), exports);
|
|
|
65
65
|
__exportStar(require("./ContentSourcesList.js"), exports);
|
|
66
66
|
__exportStar(require("./ConversationAttachmentFiles.js"), exports);
|
|
67
67
|
__exportStar(require("./ConversationAttributeUpdatedByAdmin.js"), exports);
|
|
68
|
+
__exportStar(require("./ConversationAttributeUpdatedByUser.js"), exports);
|
|
68
69
|
__exportStar(require("./ConversationAttributeUpdatedByWorkflow.js"), exports);
|
|
69
70
|
__exportStar(require("./ConversationContacts.js"), exports);
|
|
70
71
|
__exportStar(require("./ConversationDeleted.js"), exports);
|
|
@@ -76,8 +77,15 @@ __exportStar(require("./ConversationPartMetadata.js"), exports);
|
|
|
76
77
|
__exportStar(require("./ConversationParts.js"), exports);
|
|
77
78
|
__exportStar(require("./ConversationRating.js"), exports);
|
|
78
79
|
__exportStar(require("./ConversationResponseTime.js"), exports);
|
|
80
|
+
__exportStar(require("./ConversationSlaAppliedByRule.js"), exports);
|
|
81
|
+
__exportStar(require("./ConversationSlaAppliedByWorkflow.js"), exports);
|
|
82
|
+
__exportStar(require("./ConversationSlaPaused.js"), exports);
|
|
83
|
+
__exportStar(require("./ConversationSlaRemoved.js"), exports);
|
|
84
|
+
__exportStar(require("./ConversationSlaTargetMissed.js"), exports);
|
|
85
|
+
__exportStar(require("./ConversationSlaUnpaused.js"), exports);
|
|
79
86
|
__exportStar(require("./ConversationSource.js"), exports);
|
|
80
87
|
__exportStar(require("./ConversationStatistics.js"), exports);
|
|
88
|
+
__exportStar(require("./ConversationTagsUpdated.js"), exports);
|
|
81
89
|
__exportStar(require("./ConversationTeammates.js"), exports);
|
|
82
90
|
__exportStar(require("./CreateArticleRequest.js"), exports);
|
|
83
91
|
__exportStar(require("./CreateDataAttributeRequest.js"), exports);
|
|
@@ -118,6 +126,8 @@ __exportStar(require("./EventDetails.js"), exports);
|
|
|
118
126
|
__exportStar(require("./FileAttribute.js"), exports);
|
|
119
127
|
__exportStar(require("./GroupContent.js"), exports);
|
|
120
128
|
__exportStar(require("./GroupTranslatedContent.js"), exports);
|
|
129
|
+
__exportStar(require("./HandlingEvent.js"), exports);
|
|
130
|
+
__exportStar(require("./HandlingEventList.js"), exports);
|
|
121
131
|
__exportStar(require("./InternalArticleList.js"), exports);
|
|
122
132
|
__exportStar(require("./LinkedObject.js"), exports);
|
|
123
133
|
__exportStar(require("./LinkedObjectList.js"), exports);
|
|
@@ -132,6 +142,7 @@ __exportStar(require("./PaginatedResponse.js"), exports);
|
|
|
132
142
|
__exportStar(require("./PaginatedResponseDataItem.js"), exports);
|
|
133
143
|
__exportStar(require("./PartAttachment.js"), exports);
|
|
134
144
|
__exportStar(require("./PhoneSwitch.js"), exports);
|
|
145
|
+
__exportStar(require("./PriorityChanged.js"), exports);
|
|
135
146
|
__exportStar(require("./QuickReplyOption.js"), exports);
|
|
136
147
|
__exportStar(require("./Recipient.js"), exports);
|
|
137
148
|
__exportStar(require("./RedactConversationRequest.js"), exports);
|
|
@@ -143,6 +154,7 @@ __exportStar(require("./SegmentList.js"), exports);
|
|
|
143
154
|
__exportStar(require("./SingleFilterSearchRequest.js"), exports);
|
|
144
155
|
__exportStar(require("./SlaApplied.js"), exports);
|
|
145
156
|
__exportStar(require("./SnoozeConversationRequest.js"), exports);
|
|
157
|
+
__exportStar(require("./Snoozed.js"), exports);
|
|
146
158
|
__exportStar(require("./SocialProfile.js"), exports);
|
|
147
159
|
__exportStar(require("./StartingAfterPaging.js"), exports);
|
|
148
160
|
__exportStar(require("./SubscriptionTypeList.js"), exports);
|
|
@@ -151,6 +163,7 @@ __exportStar(require("./TagList.js"), exports);
|
|
|
151
163
|
__exportStar(require("./TagMultipleUsersRequest.js"), exports);
|
|
152
164
|
__exportStar(require("./Tags.js"), exports);
|
|
153
165
|
__exportStar(require("./TeamList.js"), exports);
|
|
166
|
+
__exportStar(require("./TeammateReference.js"), exports);
|
|
154
167
|
__exportStar(require("./TeamPriorityLevel.js"), exports);
|
|
155
168
|
__exportStar(require("./TicketCustomAttributes.js"), exports);
|
|
156
169
|
__exportStar(require("./TicketList.js"), exports);
|
|
@@ -168,3 +181,4 @@ __exportStar(require("./UpdateDataAttributeRequestBody.js"), exports);
|
|
|
168
181
|
__exportStar(require("./Visitor.js"), exports);
|
|
169
182
|
__exportStar(require("./VisitorDeletedObject.js"), exports);
|
|
170
183
|
__exportStar(require("./WhatsappMessageStatusList.js"), exports);
|
|
184
|
+
__exportStar(require("./WorkflowExport.js"), exports);
|
|
@@ -83,7 +83,7 @@ export declare namespace ActivityLog {
|
|
|
83
83
|
readonly InboxAccessChange: "inbox_access_change";
|
|
84
84
|
readonly MacroCreation: "macro_creation";
|
|
85
85
|
readonly MacroDeletion: "macro_deletion";
|
|
86
|
-
readonly
|
|
86
|
+
readonly MacroUpdate: "macro_update";
|
|
87
87
|
readonly MaliciousDomainsSettingChange: "malicious_domains_setting_change";
|
|
88
88
|
readonly MessageDeletion: "message_deletion";
|
|
89
89
|
readonly MessageStateChange: "message_state_change";
|
|
@@ -105,6 +105,11 @@ export declare namespace ActivityLog {
|
|
|
105
105
|
readonly SeatChange: "seat_change";
|
|
106
106
|
readonly SeatRevoke: "seat_revoke";
|
|
107
107
|
readonly SecuritySettingsChange: "security_settings_change";
|
|
108
|
+
readonly SeriesCreation: "series_creation";
|
|
109
|
+
readonly SeriesDeletion: "series_deletion";
|
|
110
|
+
readonly SeriesSettingsUpdate: "series_settings_update";
|
|
111
|
+
readonly SeriesStatusChange: "series_status_change";
|
|
112
|
+
readonly SeriesUpdate: "series_update";
|
|
108
113
|
readonly StripInboundEmailLinksChange: "strip_inbound_email_links_change";
|
|
109
114
|
readonly TemporaryExpectationChange: "temporary_expectation_change";
|
|
110
115
|
readonly TeamAssignmentLimitChange: "team_assignment_limit_change";
|
|
@@ -59,7 +59,7 @@ var ActivityLog;
|
|
|
59
59
|
InboxAccessChange: "inbox_access_change",
|
|
60
60
|
MacroCreation: "macro_creation",
|
|
61
61
|
MacroDeletion: "macro_deletion",
|
|
62
|
-
|
|
62
|
+
MacroUpdate: "macro_update",
|
|
63
63
|
MaliciousDomainsSettingChange: "malicious_domains_setting_change",
|
|
64
64
|
MessageDeletion: "message_deletion",
|
|
65
65
|
MessageStateChange: "message_state_change",
|
|
@@ -81,6 +81,11 @@ var ActivityLog;
|
|
|
81
81
|
SeatChange: "seat_change",
|
|
82
82
|
SeatRevoke: "seat_revoke",
|
|
83
83
|
SecuritySettingsChange: "security_settings_change",
|
|
84
|
+
SeriesCreation: "series_creation",
|
|
85
|
+
SeriesDeletion: "series_deletion",
|
|
86
|
+
SeriesSettingsUpdate: "series_settings_update",
|
|
87
|
+
SeriesStatusChange: "series_status_change",
|
|
88
|
+
SeriesUpdate: "series_update",
|
|
84
89
|
StripInboundEmailLinksChange: "strip_inbound_email_links_change",
|
|
85
90
|
TemporaryExpectationChange: "temporary_expectation_change",
|
|
86
91
|
TeamAssignmentLimitChange: "team_assignment_limit_change",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IP allowlist settings for the workspace.
|
|
3
|
+
*/
|
|
4
|
+
export interface IpAllowlist {
|
|
5
|
+
/** String representing the object's type. Always has the value `ip_allowlist`. */
|
|
6
|
+
type?: string;
|
|
7
|
+
/** Whether the IP allowlist is enabled for the workspace. */
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* List of allowed IP addresses and/or IP ranges in CIDR notation.
|
|
11
|
+
* Examples:
|
|
12
|
+
* - Single IP: `192.168.0.1`
|
|
13
|
+
* - IP range: `192.168.0.1/24` (allows 192.168.0.0 - 192.168.0.255)
|
|
14
|
+
*/
|
|
15
|
+
ip_allowlist?: string[];
|
|
16
|
+
}
|
|
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface Visitor {
|
|
6
6
|
/** Value is 'visitor' */
|
|
7
|
-
type
|
|
7
|
+
type: "visitor";
|
|
8
8
|
/** The Intercom defined id representing the Visitor. */
|
|
9
|
-
id
|
|
9
|
+
id: string;
|
|
10
10
|
/** Automatically generated identifier for the Visitor. */
|
|
11
|
-
user_id
|
|
11
|
+
user_id: string;
|
|
12
12
|
/** Identifies if this visitor is anonymous. */
|
|
13
13
|
anonymous?: boolean;
|
|
14
14
|
/** The email of the visitor. */
|
|
@@ -106,6 +106,7 @@ export * from "./FileAttribute.js";
|
|
|
106
106
|
export * from "./GroupContent.js";
|
|
107
107
|
export * from "./GroupTranslatedContent.js";
|
|
108
108
|
export * from "./InternalArticleList.js";
|
|
109
|
+
export * from "./IpAllowlist.js";
|
|
109
110
|
export * from "./LinkedObject.js";
|
|
110
111
|
export * from "./LinkedObjectList.js";
|
|
111
112
|
export * from "./Metadata.js";
|
|
@@ -122,6 +122,7 @@ __exportStar(require("./FileAttribute.js"), exports);
|
|
|
122
122
|
__exportStar(require("./GroupContent.js"), exports);
|
|
123
123
|
__exportStar(require("./GroupTranslatedContent.js"), exports);
|
|
124
124
|
__exportStar(require("./InternalArticleList.js"), exports);
|
|
125
|
+
__exportStar(require("./IpAllowlist.js"), exports);
|
|
125
126
|
__exportStar(require("./LinkedObject.js"), exports);
|
|
126
127
|
__exportStar(require("./LinkedObjectList.js"), exports);
|
|
127
128
|
__exportStar(require("./Metadata.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "7.0.
|
|
1
|
+
export declare const SDK_VERSION = "7.0.3";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -7,8 +7,8 @@ export function normalizeClientOptions(options) {
|
|
|
7
7
|
const headers = mergeHeaders({
|
|
8
8
|
"X-Fern-Language": "JavaScript",
|
|
9
9
|
"X-Fern-SDK-Name": "intercom-client",
|
|
10
|
-
"X-Fern-SDK-Version": "7.0.
|
|
11
|
-
"User-Agent": "intercom-client/7.0.
|
|
10
|
+
"X-Fern-SDK-Version": "7.0.3",
|
|
11
|
+
"User-Agent": "intercom-client/7.0.3",
|
|
12
12
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
13
13
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
14
14
|
"Intercom-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2.14",
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -14,6 +14,7 @@ import { EventsClient } from "./api/resources/events/client/Client.mjs";
|
|
|
14
14
|
import { ExportClient } from "./api/resources/export/client/Client.mjs";
|
|
15
15
|
import { HelpCentersClient } from "./api/resources/helpCenters/client/Client.mjs";
|
|
16
16
|
import { InternalArticlesClient } from "./api/resources/internalArticles/client/Client.mjs";
|
|
17
|
+
import { IpAllowlistClient } from "./api/resources/ipAllowlist/client/Client.mjs";
|
|
17
18
|
import { JobsClient } from "./api/resources/jobs/client/Client.mjs";
|
|
18
19
|
import { MessagesClient } from "./api/resources/messages/client/Client.mjs";
|
|
19
20
|
import { NewsClient } from "./api/resources/news/client/Client.mjs";
|
|
@@ -46,6 +47,7 @@ export declare class IntercomClient {
|
|
|
46
47
|
protected _dataExport: DataExportClient | undefined;
|
|
47
48
|
protected _helpCenters: HelpCentersClient | undefined;
|
|
48
49
|
protected _internalArticles: InternalArticlesClient | undefined;
|
|
50
|
+
protected _ipAllowlist: IpAllowlistClient | undefined;
|
|
49
51
|
protected _companies: CompaniesClient | undefined;
|
|
50
52
|
protected _contacts: ContactsClient | undefined;
|
|
51
53
|
protected _notes: NotesClient | undefined;
|
|
@@ -77,6 +79,7 @@ export declare class IntercomClient {
|
|
|
77
79
|
get dataExport(): DataExportClient;
|
|
78
80
|
get helpCenters(): HelpCentersClient;
|
|
79
81
|
get internalArticles(): InternalArticlesClient;
|
|
82
|
+
get ipAllowlist(): IpAllowlistClient;
|
|
80
83
|
get companies(): CompaniesClient;
|
|
81
84
|
get contacts(): ContactsClient;
|
|
82
85
|
get notes(): NotesClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -15,6 +15,7 @@ import { EventsClient } from "./api/resources/events/client/Client.mjs";
|
|
|
15
15
|
import { ExportClient } from "./api/resources/export/client/Client.mjs";
|
|
16
16
|
import { HelpCentersClient } from "./api/resources/helpCenters/client/Client.mjs";
|
|
17
17
|
import { InternalArticlesClient } from "./api/resources/internalArticles/client/Client.mjs";
|
|
18
|
+
import { IpAllowlistClient } from "./api/resources/ipAllowlist/client/Client.mjs";
|
|
18
19
|
import { JobsClient } from "./api/resources/jobs/client/Client.mjs";
|
|
19
20
|
import { MessagesClient } from "./api/resources/messages/client/Client.mjs";
|
|
20
21
|
import { NewsClient } from "./api/resources/news/client/Client.mjs";
|
|
@@ -66,6 +67,10 @@ export class IntercomClient {
|
|
|
66
67
|
var _a;
|
|
67
68
|
return ((_a = this._internalArticles) !== null && _a !== void 0 ? _a : (this._internalArticles = new InternalArticlesClient(this._options)));
|
|
68
69
|
}
|
|
70
|
+
get ipAllowlist() {
|
|
71
|
+
var _a;
|
|
72
|
+
return ((_a = this._ipAllowlist) !== null && _a !== void 0 ? _a : (this._ipAllowlist = new IpAllowlistClient(this._options)));
|
|
73
|
+
}
|
|
69
74
|
get companies() {
|
|
70
75
|
var _a;
|
|
71
76
|
return ((_a = this._companies) !== null && _a !== void 0 ? _a : (this._companies = new CompaniesClient(this._options)));
|