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
|
@@ -49,6 +49,7 @@ export * from "./ContactUnarchived.mjs";
|
|
|
49
49
|
export * from "./ContentSourcesList.mjs";
|
|
50
50
|
export * from "./ConversationAttachmentFiles.mjs";
|
|
51
51
|
export * from "./ConversationAttributeUpdatedByAdmin.mjs";
|
|
52
|
+
export * from "./ConversationAttributeUpdatedByUser.mjs";
|
|
52
53
|
export * from "./ConversationAttributeUpdatedByWorkflow.mjs";
|
|
53
54
|
export * from "./ConversationContacts.mjs";
|
|
54
55
|
export * from "./ConversationDeleted.mjs";
|
|
@@ -60,8 +61,15 @@ export * from "./ConversationPartMetadata.mjs";
|
|
|
60
61
|
export * from "./ConversationParts.mjs";
|
|
61
62
|
export * from "./ConversationRating.mjs";
|
|
62
63
|
export * from "./ConversationResponseTime.mjs";
|
|
64
|
+
export * from "./ConversationSlaAppliedByRule.mjs";
|
|
65
|
+
export * from "./ConversationSlaAppliedByWorkflow.mjs";
|
|
66
|
+
export * from "./ConversationSlaPaused.mjs";
|
|
67
|
+
export * from "./ConversationSlaRemoved.mjs";
|
|
68
|
+
export * from "./ConversationSlaTargetMissed.mjs";
|
|
69
|
+
export * from "./ConversationSlaUnpaused.mjs";
|
|
63
70
|
export * from "./ConversationSource.mjs";
|
|
64
71
|
export * from "./ConversationStatistics.mjs";
|
|
72
|
+
export * from "./ConversationTagsUpdated.mjs";
|
|
65
73
|
export * from "./ConversationTeammates.mjs";
|
|
66
74
|
export * from "./CreateArticleRequest.mjs";
|
|
67
75
|
export * from "./CreateDataAttributeRequest.mjs";
|
|
@@ -102,6 +110,8 @@ export * from "./EventDetails.mjs";
|
|
|
102
110
|
export * from "./FileAttribute.mjs";
|
|
103
111
|
export * from "./GroupContent.mjs";
|
|
104
112
|
export * from "./GroupTranslatedContent.mjs";
|
|
113
|
+
export * from "./HandlingEvent.mjs";
|
|
114
|
+
export * from "./HandlingEventList.mjs";
|
|
105
115
|
export * from "./InternalArticleList.mjs";
|
|
106
116
|
export * from "./LinkedObject.mjs";
|
|
107
117
|
export * from "./LinkedObjectList.mjs";
|
|
@@ -116,6 +126,7 @@ export * from "./PaginatedResponse.mjs";
|
|
|
116
126
|
export * from "./PaginatedResponseDataItem.mjs";
|
|
117
127
|
export * from "./PartAttachment.mjs";
|
|
118
128
|
export * from "./PhoneSwitch.mjs";
|
|
129
|
+
export * from "./PriorityChanged.mjs";
|
|
119
130
|
export * from "./QuickReplyOption.mjs";
|
|
120
131
|
export * from "./Recipient.mjs";
|
|
121
132
|
export * from "./RedactConversationRequest.mjs";
|
|
@@ -127,6 +138,7 @@ export * from "./SegmentList.mjs";
|
|
|
127
138
|
export * from "./SingleFilterSearchRequest.mjs";
|
|
128
139
|
export * from "./SlaApplied.mjs";
|
|
129
140
|
export * from "./SnoozeConversationRequest.mjs";
|
|
141
|
+
export * from "./Snoozed.mjs";
|
|
130
142
|
export * from "./SocialProfile.mjs";
|
|
131
143
|
export * from "./StartingAfterPaging.mjs";
|
|
132
144
|
export * from "./SubscriptionTypeList.mjs";
|
|
@@ -135,6 +147,7 @@ export * from "./TagList.mjs";
|
|
|
135
147
|
export * from "./TagMultipleUsersRequest.mjs";
|
|
136
148
|
export * from "./Tags.mjs";
|
|
137
149
|
export * from "./TeamList.mjs";
|
|
150
|
+
export * from "./TeammateReference.mjs";
|
|
138
151
|
export * from "./TeamPriorityLevel.mjs";
|
|
139
152
|
export * from "./TicketCustomAttributes.mjs";
|
|
140
153
|
export * from "./TicketList.mjs";
|
|
@@ -152,3 +165,4 @@ export * from "./UpdateDataAttributeRequestBody.mjs";
|
|
|
152
165
|
export * from "./Visitor.mjs";
|
|
153
166
|
export * from "./VisitorDeletedObject.mjs";
|
|
154
167
|
export * from "./WhatsappMessageStatusList.mjs";
|
|
168
|
+
export * from "./WorkflowExport.mjs";
|
|
@@ -49,6 +49,7 @@ export * from "./ContactUnarchived.mjs";
|
|
|
49
49
|
export * from "./ContentSourcesList.mjs";
|
|
50
50
|
export * from "./ConversationAttachmentFiles.mjs";
|
|
51
51
|
export * from "./ConversationAttributeUpdatedByAdmin.mjs";
|
|
52
|
+
export * from "./ConversationAttributeUpdatedByUser.mjs";
|
|
52
53
|
export * from "./ConversationAttributeUpdatedByWorkflow.mjs";
|
|
53
54
|
export * from "./ConversationContacts.mjs";
|
|
54
55
|
export * from "./ConversationDeleted.mjs";
|
|
@@ -60,8 +61,15 @@ export * from "./ConversationPartMetadata.mjs";
|
|
|
60
61
|
export * from "./ConversationParts.mjs";
|
|
61
62
|
export * from "./ConversationRating.mjs";
|
|
62
63
|
export * from "./ConversationResponseTime.mjs";
|
|
64
|
+
export * from "./ConversationSlaAppliedByRule.mjs";
|
|
65
|
+
export * from "./ConversationSlaAppliedByWorkflow.mjs";
|
|
66
|
+
export * from "./ConversationSlaPaused.mjs";
|
|
67
|
+
export * from "./ConversationSlaRemoved.mjs";
|
|
68
|
+
export * from "./ConversationSlaTargetMissed.mjs";
|
|
69
|
+
export * from "./ConversationSlaUnpaused.mjs";
|
|
63
70
|
export * from "./ConversationSource.mjs";
|
|
64
71
|
export * from "./ConversationStatistics.mjs";
|
|
72
|
+
export * from "./ConversationTagsUpdated.mjs";
|
|
65
73
|
export * from "./ConversationTeammates.mjs";
|
|
66
74
|
export * from "./CreateArticleRequest.mjs";
|
|
67
75
|
export * from "./CreateDataAttributeRequest.mjs";
|
|
@@ -102,6 +110,8 @@ export * from "./EventDetails.mjs";
|
|
|
102
110
|
export * from "./FileAttribute.mjs";
|
|
103
111
|
export * from "./GroupContent.mjs";
|
|
104
112
|
export * from "./GroupTranslatedContent.mjs";
|
|
113
|
+
export * from "./HandlingEvent.mjs";
|
|
114
|
+
export * from "./HandlingEventList.mjs";
|
|
105
115
|
export * from "./InternalArticleList.mjs";
|
|
106
116
|
export * from "./LinkedObject.mjs";
|
|
107
117
|
export * from "./LinkedObjectList.mjs";
|
|
@@ -116,6 +126,7 @@ export * from "./PaginatedResponse.mjs";
|
|
|
116
126
|
export * from "./PaginatedResponseDataItem.mjs";
|
|
117
127
|
export * from "./PartAttachment.mjs";
|
|
118
128
|
export * from "./PhoneSwitch.mjs";
|
|
129
|
+
export * from "./PriorityChanged.mjs";
|
|
119
130
|
export * from "./QuickReplyOption.mjs";
|
|
120
131
|
export * from "./Recipient.mjs";
|
|
121
132
|
export * from "./RedactConversationRequest.mjs";
|
|
@@ -127,6 +138,7 @@ export * from "./SegmentList.mjs";
|
|
|
127
138
|
export * from "./SingleFilterSearchRequest.mjs";
|
|
128
139
|
export * from "./SlaApplied.mjs";
|
|
129
140
|
export * from "./SnoozeConversationRequest.mjs";
|
|
141
|
+
export * from "./Snoozed.mjs";
|
|
130
142
|
export * from "./SocialProfile.mjs";
|
|
131
143
|
export * from "./StartingAfterPaging.mjs";
|
|
132
144
|
export * from "./SubscriptionTypeList.mjs";
|
|
@@ -135,6 +147,7 @@ export * from "./TagList.mjs";
|
|
|
135
147
|
export * from "./TagMultipleUsersRequest.mjs";
|
|
136
148
|
export * from "./Tags.mjs";
|
|
137
149
|
export * from "./TeamList.mjs";
|
|
150
|
+
export * from "./TeammateReference.mjs";
|
|
138
151
|
export * from "./TeamPriorityLevel.mjs";
|
|
139
152
|
export * from "./TicketCustomAttributes.mjs";
|
|
140
153
|
export * from "./TicketList.mjs";
|
|
@@ -152,3 +165,4 @@ export * from "./UpdateDataAttributeRequestBody.mjs";
|
|
|
152
165
|
export * from "./Visitor.mjs";
|
|
153
166
|
export * from "./VisitorDeletedObject.mjs";
|
|
154
167
|
export * from "./WhatsappMessageStatusList.mjs";
|
|
168
|
+
export * from "./WorkflowExport.mjs";
|
|
@@ -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";
|
|
@@ -56,7 +56,7 @@ export var ActivityLog;
|
|
|
56
56
|
InboxAccessChange: "inbox_access_change",
|
|
57
57
|
MacroCreation: "macro_creation",
|
|
58
58
|
MacroDeletion: "macro_deletion",
|
|
59
|
-
|
|
59
|
+
MacroUpdate: "macro_update",
|
|
60
60
|
MaliciousDomainsSettingChange: "malicious_domains_setting_change",
|
|
61
61
|
MessageDeletion: "message_deletion",
|
|
62
62
|
MessageStateChange: "message_state_change",
|
|
@@ -78,6 +78,11 @@ export var ActivityLog;
|
|
|
78
78
|
SeatChange: "seat_change",
|
|
79
79
|
SeatRevoke: "seat_revoke",
|
|
80
80
|
SecuritySettingsChange: "security_settings_change",
|
|
81
|
+
SeriesCreation: "series_creation",
|
|
82
|
+
SeriesDeletion: "series_deletion",
|
|
83
|
+
SeriesSettingsUpdate: "series_settings_update",
|
|
84
|
+
SeriesStatusChange: "series_status_change",
|
|
85
|
+
SeriesUpdate: "series_update",
|
|
81
86
|
StripInboundEmailLinksChange: "strip_inbound_email_links_change",
|
|
82
87
|
TemporaryExpectationChange: "temporary_expectation_change",
|
|
83
88
|
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.mjs";
|
|
|
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.mjs";
|
|
|
106
106
|
export * from "./GroupContent.mjs";
|
|
107
107
|
export * from "./GroupTranslatedContent.mjs";
|
|
108
108
|
export * from "./InternalArticleList.mjs";
|
|
109
|
+
export * from "./IpAllowlist.mjs";
|
|
109
110
|
export * from "./LinkedObject.mjs";
|
|
110
111
|
export * from "./LinkedObjectList.mjs";
|
|
111
112
|
export * from "./Metadata.mjs";
|
|
@@ -106,6 +106,7 @@ export * from "./FileAttribute.mjs";
|
|
|
106
106
|
export * from "./GroupContent.mjs";
|
|
107
107
|
export * from "./GroupTranslatedContent.mjs";
|
|
108
108
|
export * from "./InternalArticleList.mjs";
|
|
109
|
+
export * from "./IpAllowlist.mjs";
|
|
109
110
|
export * from "./LinkedObject.mjs";
|
|
110
111
|
export * from "./LinkedObjectList.mjs";
|
|
111
112
|
export * from "./Metadata.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "7.0.
|
|
1
|
+
export declare const SDK_VERSION = "7.0.3";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "7.0.
|
|
1
|
+
export const SDK_VERSION = "7.0.3";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2451,6 +2451,132 @@ await client.internalArticles.searchInternalArticles({
|
|
|
2451
2451
|
</dl>
|
|
2452
2452
|
|
|
2453
2453
|
|
|
2454
|
+
</dd>
|
|
2455
|
+
</dl>
|
|
2456
|
+
</details>
|
|
2457
|
+
|
|
2458
|
+
## IP Allowlist
|
|
2459
|
+
<details><summary><code>client.ipAllowlist.<a href="/src/api/resources/ipAllowlist/client/Client.ts">getIpAllowlist</a>() -> Intercom.IpAllowlist</code></summary>
|
|
2460
|
+
<dl>
|
|
2461
|
+
<dd>
|
|
2462
|
+
|
|
2463
|
+
#### 📝 Description
|
|
2464
|
+
|
|
2465
|
+
<dl>
|
|
2466
|
+
<dd>
|
|
2467
|
+
|
|
2468
|
+
<dl>
|
|
2469
|
+
<dd>
|
|
2470
|
+
|
|
2471
|
+
Retrieve the current IP allowlist configuration for the workspace.
|
|
2472
|
+
</dd>
|
|
2473
|
+
</dl>
|
|
2474
|
+
</dd>
|
|
2475
|
+
</dl>
|
|
2476
|
+
|
|
2477
|
+
#### 🔌 Usage
|
|
2478
|
+
|
|
2479
|
+
<dl>
|
|
2480
|
+
<dd>
|
|
2481
|
+
|
|
2482
|
+
<dl>
|
|
2483
|
+
<dd>
|
|
2484
|
+
|
|
2485
|
+
```typescript
|
|
2486
|
+
await client.ipAllowlist.getIpAllowlist();
|
|
2487
|
+
|
|
2488
|
+
```
|
|
2489
|
+
</dd>
|
|
2490
|
+
</dl>
|
|
2491
|
+
</dd>
|
|
2492
|
+
</dl>
|
|
2493
|
+
|
|
2494
|
+
#### ⚙️ Parameters
|
|
2495
|
+
|
|
2496
|
+
<dl>
|
|
2497
|
+
<dd>
|
|
2498
|
+
|
|
2499
|
+
<dl>
|
|
2500
|
+
<dd>
|
|
2501
|
+
|
|
2502
|
+
**requestOptions:** `IpAllowlistClient.RequestOptions`
|
|
2503
|
+
|
|
2504
|
+
</dd>
|
|
2505
|
+
</dl>
|
|
2506
|
+
</dd>
|
|
2507
|
+
</dl>
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
</dd>
|
|
2511
|
+
</dl>
|
|
2512
|
+
</details>
|
|
2513
|
+
|
|
2514
|
+
<details><summary><code>client.ipAllowlist.<a href="/src/api/resources/ipAllowlist/client/Client.ts">updateIpAllowlist</a>({ ...params }) -> Intercom.IpAllowlist</code></summary>
|
|
2515
|
+
<dl>
|
|
2516
|
+
<dd>
|
|
2517
|
+
|
|
2518
|
+
#### 📝 Description
|
|
2519
|
+
|
|
2520
|
+
<dl>
|
|
2521
|
+
<dd>
|
|
2522
|
+
|
|
2523
|
+
<dl>
|
|
2524
|
+
<dd>
|
|
2525
|
+
|
|
2526
|
+
Update the IP allowlist configuration for the workspace.
|
|
2527
|
+
|
|
2528
|
+
{% admonition type="warning" name="Lockout Protection" %}
|
|
2529
|
+
The API will reject updates that would lock out the caller's IP address. Ensure your current IP is included in the allowlist when enabling the feature.
|
|
2530
|
+
{% /admonition %}
|
|
2531
|
+
</dd>
|
|
2532
|
+
</dl>
|
|
2533
|
+
</dd>
|
|
2534
|
+
</dl>
|
|
2535
|
+
|
|
2536
|
+
#### 🔌 Usage
|
|
2537
|
+
|
|
2538
|
+
<dl>
|
|
2539
|
+
<dd>
|
|
2540
|
+
|
|
2541
|
+
<dl>
|
|
2542
|
+
<dd>
|
|
2543
|
+
|
|
2544
|
+
```typescript
|
|
2545
|
+
await client.ipAllowlist.updateIpAllowlist({
|
|
2546
|
+
enabled: true,
|
|
2547
|
+
ip_allowlist: ["192.168.1.0/24", "10.0.0.1"]
|
|
2548
|
+
});
|
|
2549
|
+
|
|
2550
|
+
```
|
|
2551
|
+
</dd>
|
|
2552
|
+
</dl>
|
|
2553
|
+
</dd>
|
|
2554
|
+
</dl>
|
|
2555
|
+
|
|
2556
|
+
#### ⚙️ Parameters
|
|
2557
|
+
|
|
2558
|
+
<dl>
|
|
2559
|
+
<dd>
|
|
2560
|
+
|
|
2561
|
+
<dl>
|
|
2562
|
+
<dd>
|
|
2563
|
+
|
|
2564
|
+
**request:** `Intercom.IpAllowlist`
|
|
2565
|
+
|
|
2566
|
+
</dd>
|
|
2567
|
+
</dl>
|
|
2568
|
+
|
|
2569
|
+
<dl>
|
|
2570
|
+
<dd>
|
|
2571
|
+
|
|
2572
|
+
**requestOptions:** `IpAllowlistClient.RequestOptions`
|
|
2573
|
+
|
|
2574
|
+
</dd>
|
|
2575
|
+
</dl>
|
|
2576
|
+
</dd>
|
|
2577
|
+
</dl>
|
|
2578
|
+
|
|
2579
|
+
|
|
2454
2580
|
</dd>
|
|
2455
2581
|
</dl>
|
|
2456
2582
|
</details>
|
|
@@ -16633,6 +16759,73 @@ await client.unstable.conversations.detachContactFromConversation({
|
|
|
16633
16759
|
</dl>
|
|
16634
16760
|
|
|
16635
16761
|
|
|
16762
|
+
</dd>
|
|
16763
|
+
</dl>
|
|
16764
|
+
</details>
|
|
16765
|
+
|
|
16766
|
+
<details><summary><code>client.unstable.conversations.<a href="/src/api/resources/unstable/resources/conversations/client/Client.ts">listHandlingEvents</a>({ ...params }) -> Intercom.HandlingEventList</code></summary>
|
|
16767
|
+
<dl>
|
|
16768
|
+
<dd>
|
|
16769
|
+
|
|
16770
|
+
#### 📝 Description
|
|
16771
|
+
|
|
16772
|
+
<dl>
|
|
16773
|
+
<dd>
|
|
16774
|
+
|
|
16775
|
+
<dl>
|
|
16776
|
+
<dd>
|
|
16777
|
+
|
|
16778
|
+
List all pause/resume events for a conversation. These events track when teammates paused or resumed handling a conversation.
|
|
16779
|
+
|
|
16780
|
+
Requires the `read_conversations` OAuth scope.
|
|
16781
|
+
</dd>
|
|
16782
|
+
</dl>
|
|
16783
|
+
</dd>
|
|
16784
|
+
</dl>
|
|
16785
|
+
|
|
16786
|
+
#### 🔌 Usage
|
|
16787
|
+
|
|
16788
|
+
<dl>
|
|
16789
|
+
<dd>
|
|
16790
|
+
|
|
16791
|
+
<dl>
|
|
16792
|
+
<dd>
|
|
16793
|
+
|
|
16794
|
+
```typescript
|
|
16795
|
+
await client.unstable.conversations.listHandlingEvents({
|
|
16796
|
+
id: "123"
|
|
16797
|
+
});
|
|
16798
|
+
|
|
16799
|
+
```
|
|
16800
|
+
</dd>
|
|
16801
|
+
</dl>
|
|
16802
|
+
</dd>
|
|
16803
|
+
</dl>
|
|
16804
|
+
|
|
16805
|
+
#### ⚙️ Parameters
|
|
16806
|
+
|
|
16807
|
+
<dl>
|
|
16808
|
+
<dd>
|
|
16809
|
+
|
|
16810
|
+
<dl>
|
|
16811
|
+
<dd>
|
|
16812
|
+
|
|
16813
|
+
**request:** `Intercom.unstable.ListHandlingEventsRequest`
|
|
16814
|
+
|
|
16815
|
+
</dd>
|
|
16816
|
+
</dl>
|
|
16817
|
+
|
|
16818
|
+
<dl>
|
|
16819
|
+
<dd>
|
|
16820
|
+
|
|
16821
|
+
**requestOptions:** `ConversationsClient.RequestOptions`
|
|
16822
|
+
|
|
16823
|
+
</dd>
|
|
16824
|
+
</dl>
|
|
16825
|
+
</dd>
|
|
16826
|
+
</dl>
|
|
16827
|
+
|
|
16828
|
+
|
|
16636
16829
|
</dd>
|
|
16637
16830
|
</dl>
|
|
16638
16831
|
</details>
|
|
@@ -18150,6 +18343,78 @@ await client.unstable.dataExport.downloadDataExport({
|
|
|
18150
18343
|
</dl>
|
|
18151
18344
|
|
|
18152
18345
|
|
|
18346
|
+
</dd>
|
|
18347
|
+
</dl>
|
|
18348
|
+
</details>
|
|
18349
|
+
|
|
18350
|
+
## Workflows
|
|
18351
|
+
<details><summary><code>client.unstable.workflows.<a href="/src/api/resources/unstable/resources/workflows/client/Client.ts">exportWorkflow</a>({ ...params }) -> Intercom.WorkflowExport</code></summary>
|
|
18352
|
+
<dl>
|
|
18353
|
+
<dd>
|
|
18354
|
+
|
|
18355
|
+
#### 📝 Description
|
|
18356
|
+
|
|
18357
|
+
<dl>
|
|
18358
|
+
<dd>
|
|
18359
|
+
|
|
18360
|
+
<dl>
|
|
18361
|
+
<dd>
|
|
18362
|
+
|
|
18363
|
+
Export a workflow configuration by its ID. This endpoint returns the complete workflow definition including its steps, targeting rules, and attributes.
|
|
18364
|
+
|
|
18365
|
+
This endpoint is designed for EU Data Act compliance, allowing customers to export their workflow configurations.
|
|
18366
|
+
|
|
18367
|
+
{% admonition type="warning" name="Unstable API" %}
|
|
18368
|
+
This API is currently in the Unstable version. Its behavior may change in future releases.
|
|
18369
|
+
{% /admonition %}
|
|
18370
|
+
</dd>
|
|
18371
|
+
</dl>
|
|
18372
|
+
</dd>
|
|
18373
|
+
</dl>
|
|
18374
|
+
|
|
18375
|
+
#### 🔌 Usage
|
|
18376
|
+
|
|
18377
|
+
<dl>
|
|
18378
|
+
<dd>
|
|
18379
|
+
|
|
18380
|
+
<dl>
|
|
18381
|
+
<dd>
|
|
18382
|
+
|
|
18383
|
+
```typescript
|
|
18384
|
+
await client.unstable.workflows.exportWorkflow({
|
|
18385
|
+
id: "12345"
|
|
18386
|
+
});
|
|
18387
|
+
|
|
18388
|
+
```
|
|
18389
|
+
</dd>
|
|
18390
|
+
</dl>
|
|
18391
|
+
</dd>
|
|
18392
|
+
</dl>
|
|
18393
|
+
|
|
18394
|
+
#### ⚙️ Parameters
|
|
18395
|
+
|
|
18396
|
+
<dl>
|
|
18397
|
+
<dd>
|
|
18398
|
+
|
|
18399
|
+
<dl>
|
|
18400
|
+
<dd>
|
|
18401
|
+
|
|
18402
|
+
**request:** `Intercom.unstable.ExportWorkflowRequest`
|
|
18403
|
+
|
|
18404
|
+
</dd>
|
|
18405
|
+
</dl>
|
|
18406
|
+
|
|
18407
|
+
<dl>
|
|
18408
|
+
<dd>
|
|
18409
|
+
|
|
18410
|
+
**requestOptions:** `WorkflowsClient.RequestOptions`
|
|
18411
|
+
|
|
18412
|
+
</dd>
|
|
18413
|
+
</dl>
|
|
18414
|
+
</dd>
|
|
18415
|
+
</dl>
|
|
18416
|
+
|
|
18417
|
+
|
|
18153
18418
|
</dd>
|
|
18154
18419
|
</dl>
|
|
18155
18420
|
</details>
|