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.9.0 to 2.9.1

intercom-client/Scroll.d.ts

34

intercom-client/index.d.ts
// Type definitions for intercom-client 2.9
// Project: https://github.com/intercom/intercom-node
// Definitions by: Jinesh Shah <https://github.com/jineshshah36>
// Definitions by: Jinesh Shah <https://github.com/jineshshah36>, Josef Hornych <https://github.com/peping>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { List as UserList, User, UserIdentifier } from './User';
import { Scroll } from './Scroll';

@@ -14,1 +17,30 @@ export interface IdentityVerificationOptions {

};
export class Client {
constructor(auth: { token: string } | { appId: string, appApiKey: string });
constructor(username: string, password: string);
users: Users;
}
export interface Company {
readonly "id": string;
}
export class Users {
create(user: Partial<User>): Promise<User>;
update(user: UserIdentifier & Partial<User>): Promise<User>;
find(identifier: UserIdentifier): Promise<User>;
list(): Promise<UserList>;
listBy(params: {tag_id: string, segment_id: string}): Promise<UserList>;
scroll: Scroll<User>;
archive(): Promise<User>;
requestPermanentDeletion(): Promise<{id: number}>;
}

13

intercom-client/package.json
{
"name": "@types/intercom-client",
"version": "2.9.0",
"version": "2.9.1",
"description": "TypeScript definitions for intercom-client",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "jineshshah36"
},
{
"name": "Josef Hornych",
"url": "https://github.com/peping",
"githubUsername": "peping"
}

@@ -17,8 +22,8 @@ ],

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "c27ac6cbc719f43db3d968722e9976bfc2d2d1380f77dae007bf5d360ed1aa84",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "014df41686ccd866b805749155ddfcf2cf790d90bedd17e4caf1d69ceea14f1c",
"typeScriptVersion": "2.1"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/intercom-client
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/intercom-client
Additional Details
* Last updated: Thu, 03 May 2018 15:33:57 GMT
* Last updated: Mon, 18 Jun 2018 22:47:04 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Jinesh Shah <https://github.com/jineshshah36>.
These definitions were written by Jinesh Shah <https://github.com/jineshshah36>, Josef Hornych <https://github.com/peping>.

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