New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

intercom-client

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intercom-client - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

10

dist/common/common.types.d.ts

@@ -9,5 +9,4 @@ export declare type StringifiedTimestamp = string;

}
export declare type Paginated<T> = {
export declare type PaginatedBase = {
type: string;
data: T[];
pages: {

@@ -25,2 +24,5 @@ type: 'pages';

};
export declare type Paginated<T> = PaginatedBase & {
data: T[];
};
export declare enum Operators {

@@ -43,7 +45,7 @@ AND = "AND",

operator: Operators;
value: string | number | null;
value: string | number | string[] | number[] | null;
}
interface NestedQueries {
operator: Operators;
value: Array<FlatQuery | NestedQueries> | string | number | null;
value: Array<FlatQuery | NestedQueries> | string | number | string[] | number[] | null;
}

@@ -50,0 +52,0 @@ export interface GenericSearchFilters {

6

dist/conversation.d.ts
import Client from './client';
import { Paginated, StringifiedTimestamp, GenericSearchFilters, Order } from './common/common.types';
import { Paginated, StringifiedTimestamp, GenericSearchFilters, Order, PaginatedBase } from './common/common.types';
import { ContactType, ConversationObject, ConversationObjectWithoutParts } from './conversation/conversation.types';

@@ -150,3 +150,5 @@ import { MessageObject } from './message/message.types';

}
declare type SearchConversationResponse = Paginated<ConversationObject>;
declare type SearchConversationResponse = PaginatedBase & {
conversations: ConversationObject[];
};
export declare enum SortBy {

@@ -153,0 +155,0 @@ CreatedAt = "created_at",

{
"name": "intercom-client",
"version": "3.1.0",
"version": "3.1.1",
"description": "Official Node bindings to the Intercom API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/intercom/intercom-node",

{
"name": "intercom-client",
"version": "3.1.0",
"version": "3.1.1",
"description": "Official Node bindings to the Intercom API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/intercom/intercom-node",

@@ -22,3 +22,3 @@ # intercom-node

**This client is intended for server side use only. Please use the [Intercom Javascript SDK](https://developers.intercom.com/v2.4/docs/intercom-javascript) for client-side operations.**
**This client is intended for server side use only. Please use the [Intercom Javascript SDK](https://developers.intercom.com/installing-intercom/docs/intercom-for-web) for client-side operations.**

@@ -905,3 +905,3 @@ ## Testing

description: 'English description',
translated_content: {
translatedContent: {
fr: {

@@ -939,3 +939,3 @@ name: 'Allez les verts',

name: 'Thanks for everything',
parent_id: '1234',
parentId: '1234',
translatedContent: {

@@ -962,4 +962,4 @@ fr: {

name: 'Thanks for everything',
parent_id: '456',
translated_content: {
parentId: '456',
translatedContent: {
fr: {

@@ -966,0 +966,0 @@ name: 'Allez les verts',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc