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

@or-sdk/contacts

Package Overview
Dependencies
Maintainers
0
Versions
618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@or-sdk/contacts - npm Package Compare versions

Comparing version 4.5.10 to 4.5.11-beta.2832.0

8

dist/cjs/api/contactApi.js

@@ -110,2 +110,10 @@ "use strict";

};
ContactApi.prototype.listContacts = function (params) {
if (params === void 0) { params = {}; }
return this.apiCall({
method: 'POST',
route: "".concat(this.apiBasePath, "/list"),
data: params,
});
};
ContactApi.prototype.findContacts = function (params) {

@@ -112,0 +120,0 @@ if (params === void 0) { params = {}; }

@@ -46,2 +46,10 @@ "use strict";

};
ContactBookApi.prototype.listContactBooks = function (params) {
if (params === void 0) { params = {}; }
return this.apiCall({
method: 'GET',
route: "".concat(this.apiBasePath),
params: __assign({}, (0, utils_1.adaptListParams)(params)),
});
};
ContactBookApi.prototype.getContactBook = function (id) {

@@ -48,0 +56,0 @@ return this.apiCall({

@@ -48,2 +48,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
listContacts(params = {}) {
return this.apiCall({
method: 'POST',
route: `${this.apiBasePath}/list`,
data: params,
});
}
findContacts(params = {}) {

@@ -50,0 +57,0 @@ return this.apiCall({

@@ -15,2 +15,9 @@ import { BaseApi } from './baseApi';

}
listContactBooks(params = {}) {
return this.apiCall({
method: 'GET',
route: `${this.apiBasePath}`,
params: Object.assign({}, adaptListParams(params)),
});
}
getContactBook(id) {

@@ -17,0 +24,0 @@ return this.apiCall({

1

dist/types/api/contactApi.d.ts

@@ -15,2 +15,3 @@ import { ContactParamsDto, ContactResponseDto, CreateContactDto, DeleteContactParamsDto, FindAllParamsDto, FindContactByValueDto, LinkContactMultiParamsDto, LinkContactParamsDto, MergeContactParamsDto, UnlinkContactMultiParamsDto, UnlinkContactParamsDto, UpdateContactDto } from '@onereach/types-contacts-api';

listContact(params?: FindAllParamsDto): Promise<List<ContactResponseDto>>;
listContacts(params?: FindAllParamsDto): Promise<List<ContactResponseDto>>;
findContacts(params?: FindAllParamsDto): Promise<ContactResponseDto[]>;

@@ -17,0 +18,0 @@ countContacts(params?: FindAllParamsDto): Promise<number>;

@@ -8,2 +8,3 @@ import { ContactBookResponseDto, CreateContactBookDto, UpdateContactBookDto, SharedBookResponseDto, ShareContactBookParamsDto, ContactBookDeleteParamsDto } from '@onereach/types-contacts-api';

listContactBook(params?: ContactBookParams): Promise<List<ContactBookResponseDto>>;
listContactBooks(params?: ContactBookParams): Promise<List<ContactBookResponseDto>>;
getContactBook(id: string): Promise<ContactBookResponseDto>;

@@ -10,0 +11,0 @@ updateContactBook(id: string, data: UpdateContactBookDto): Promise<ContactBookResponseDto>;

7

package.json
{
"name": "@or-sdk/contacts",
"version": "4.5.10",
"version": "4.5.11-beta.2832.0",
"license": "Apache-2.0",

@@ -23,3 +23,3 @@ "main": "dist/cjs/index.js",

"dependencies": {
"@onereach/types-contacts-api": "5.30.1-beta.3477.0",
"@onereach/types-contacts-api": "5.33.2-beta.3534.0",
"@or-sdk/base": "^0.38.1",

@@ -40,4 +40,3 @@ "agentkeepalive": "^4.5.0",

"access": "public"
},
"gitHead": "e544a5fbeb7929b008e3ca5c55d85776c523e694"
}
}

@@ -55,2 +55,3 @@ import { v4 } from 'uuid';

* @param params
* @deprecated Use listContacts instead
*/

@@ -66,2 +67,13 @@ listContact(params: FindAllParamsDto = {}): Promise<List<ContactResponseDto>> {

/**
* @description Get contacts matching the specified in <code>params</code> criteria, and their count.
* @param params
*/
listContacts(params: FindAllParamsDto = {}): Promise<List<ContactResponseDto>> {
return this.apiCall({
method: 'POST',
route: `${this.apiBasePath}/list`,
data: params,
});
}
/**
* @description Get contacts matching the specified in <code>params</code> criteria.

@@ -68,0 +80,0 @@ * @param params

@@ -19,2 +19,3 @@ import {

* @description Get list for ContactsBooks
* @deprecated Use listContactBooks instead
*/

@@ -32,2 +33,15 @@ listContactBook(params: ContactBookParams = {}): Promise<List<ContactBookResponseDto>> {

/**
* @description Get list for ContactsBooks
*/
listContactBooks(params: ContactBookParams = {}): Promise<List<ContactBookResponseDto>> {
return this.apiCall({
method: 'GET',
route: `${this.apiBasePath}`,
params: {
...adaptListParams(params),
},
});
}
/**
* @description Get specific ContactsBook

@@ -34,0 +48,0 @@ * @param id

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

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