Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/intercom-client

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/intercom-client - npm Package Compare versions

Comparing version 2.11.10 to 2.11.11

26

intercom-client/Company.d.ts

@@ -7,18 +7,18 @@

readonly "id": string,
readonly app_id?: string,
company_id?: string,
plan?: string | { type: string, id: string, name: string },
remote_created_at?: number,
name?: string,
readonly app_id?: string | undefined,
company_id?: string | undefined,
plan?: string | { type: string, id: string, name: string } | undefined,
remote_created_at?: number | undefined,
name?: string | undefined,
readonly "updated_at": number,
readonly "created_at": number,
size?: number,
website?: string,
industry?: string,
monthly_spend?: number,
session_count?: number,
user_count?: number,
size?: number | undefined,
website?: string | undefined,
industry?: string | undefined,
monthly_spend?: number | undefined,
session_count?: number | undefined,
user_count?: number | undefined,
custom_attributes?: {
[key: string]: any
},
} | undefined,

@@ -31,3 +31,3 @@ }

"companies": (Company & CompanyIdentifier)[],
"pages": { "next"?: string, "page": number, "per_page": number, "total_pages": number }
"pages": { "next"?: string | undefined, "page": number, "per_page": number, "total_pages": number }
}

@@ -16,3 +16,3 @@ interface IntercomUserIdId { intercom_user_id: string }

type: 'user',
per_page?: number, // max 100
per_page?: number | undefined, // max 100
}

@@ -24,3 +24,3 @@

"events": (Event)[],
"pages": { "next"?: string, "page": number, "per_page": number, "total_pages": number }
"pages": { "next"?: string | undefined, "page": number, "per_page": number, "total_pages": number }
}

@@ -91,4 +91,4 @@ // Type definitions for intercom-client 2.11

listBy(params: { tag_id?: string; segment_id?: string }): Promise<ApiResponse<UserList>>;
listBy(params: { tag_id?: string; segment_id?: string }, cb: callback<ApiResponse<UserList>>): void;
listBy(params: { tag_id?: string | undefined; segment_id?: string | undefined }): Promise<ApiResponse<UserList>>;
listBy(params: { tag_id?: string | undefined; segment_id?: string | undefined }, cb: callback<ApiResponse<UserList>>): void;

@@ -117,4 +117,4 @@ scroll: Scroll<User>;

listBy(params: { email?: string; tag_id?: string; segment_id?: string }): Promise<ApiResponse<LeadList>>;
listBy(params: { email?: string; tag_id?: string; segment_id?: string }, cb: callback<ApiResponse<LeadList>>): void;
listBy(params: { email?: string | undefined; tag_id?: string | undefined; segment_id?: string | undefined }): Promise<ApiResponse<LeadList>>;
listBy(params: { email?: string | undefined; tag_id?: string | undefined; segment_id?: string | undefined }, cb: callback<ApiResponse<LeadList>>): void;

@@ -174,4 +174,4 @@ find(identifier: LeadIdentifier): Promise<ApiResponse<Lead>>;

listBy(params: { tag_id?: string; segment_id?: string }): Promise<ApiResponse<CompanyList>>;
listBy(params: { tag_id?: string; segment_id?: string }, cb: callback<ApiResponse<CompanyList>>): void;
listBy(params: { tag_id?: string | undefined; segment_id?: string | undefined }): Promise<ApiResponse<CompanyList>>;
listBy(params: { tag_id?: string | undefined; segment_id?: string | undefined }, cb: callback<ApiResponse<CompanyList>>): void;

@@ -178,0 +178,0 @@ scroll: Scroll<Company>;

@@ -52,3 +52,3 @@ import { Company } from "./Company";

"contacts": Lead[],
"pages": { "next"?: string, "page": number, "per_page": number, "total_pages": number }
"pages": { "next"?: string | undefined, "page": number, "per_page": number, "total_pages": number }
}

@@ -23,3 +23,3 @@ interface Avatar {

message_type: string;
subject?: string;
subject?: string | undefined;
}

@@ -29,3 +29,3 @@

from: FromToObject;
template?: string;
template?: string | undefined;
to: FromToObject;

@@ -32,0 +32,0 @@ }

{
"name": "@types/intercom-client",
"version": "2.11.10",
"version": "2.11.11",
"description": "TypeScript definitions for intercom-client",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/intercom-client",
"license": "MIT",

@@ -45,4 +46,4 @@ "contributors": [

},
"typesPublisherContentHash": "5b4389818c75cb0bfd123d51aedce94a571332a1e6f5062371bf93fd84891e61",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "5165208627823b70d4e07fd10078bcbdae5accb6df59cc6c0eb359932518989b",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 14 Dec 2020 09:20:07 GMT
* Last updated: Thu, 08 Jul 2021 14:23:16 GMT
* Dependencies: [@types/request](https://npmjs.com/package/@types/request), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

@@ -17,3 +17,3 @@ import { UserIdentifier } from "./User";

"tags": (Tag)[],
"pages": { "next"?: string, "page": number, "per_page": number, "total_pages": number }
"pages": { "next"?: string | undefined, "page": number, "per_page": number, "total_pages": number }
}

@@ -20,0 +20,0 @@

@@ -47,3 +47,3 @@ import { Company } from './Company';

email: string | null;
app_id?: string;
app_id?: string | undefined;
phone: string | null;

@@ -88,3 +88,3 @@ name: string | null;

export interface CreateUpdateUser extends BaseUser {
companies: (Partial<Company> & { remove?: boolean })[];
companies: (Partial<Company> & { remove?: boolean | undefined })[];
}

@@ -96,3 +96,3 @@

users: User[];
pages: { next?: string; page: number; per_page: number; total_pages: number };
pages: { next?: string | undefined; page: number; per_page: number; total_pages: number };
}
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