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

smartsheet

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartsheet - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

5

CHANGELOG.md

@@ -8,3 +8,6 @@ # Changelog

## [3.1.0] - 2023-02-14
### Added
- Support for deactivate user endpoint
- Support for reactivate user endpoint
## [3.0.0] - 2022-12-05

@@ -11,0 +14,0 @@ ### Updated

@@ -33,2 +33,12 @@ var _ = require('underscore');

var deactivateUser = (postOptions, callback) => {
var urlOptions = {url: buildDeactivateUserUrl(postOptions)};
return requestor.post(_.extend({}, optionsToSend, urlOptions, postOptions), callback);
};
var reactivateUser = (postOptions, callback) => {
var urlOptions = {url: buildReactivateUserUrl(postOptions)};
return requestor.post(_.extend({}, optionsToSend, urlOptions, postOptions), callback);
};
var addProfileImage = (postOptions, callback) => {

@@ -41,3 +51,9 @@ var urlOptions = {url: buildProfileImageUrl(postOptions)};

options.apiUrls.users + urlOptions.userId + '/profileimage';
var buildDeactivateUserUrl = urlOptions =>
options.apiUrls.users + urlOptions.userId + '/deactivate';
var buildReactivateUserUrl = urlOptions =>
options.apiUrls.users + urlOptions.userId + '/reactivate';
var userObject = {

@@ -51,2 +67,4 @@ getUser : listAllUsers,

removeUser : removeUser,
deactivateUser : deactivateUser,
reactivateUser : reactivateUser,
addProfileImage : addProfileImage,

@@ -53,0 +71,0 @@ };

{
"name": "smartsheet",
"version": "3.0.0",
"version": "3.1.0",
"description": "Smartsheet JavaScript client SDK",
"main": "index.js",
"scripts": {
"lint": "jshint -c .jshintrc lib/",
"test": "mocha \"test/**/*_test.js\"",

@@ -15,3 +16,3 @@ "test-functional": "mocha \"test/functional/**/*_test.js\"",

"type": "git",
"url": "github:smartsheet-platform/smartsheet-javascript-sdk"
"url": "github:smartsheet/smartsheet-javascript-sdk"
},

@@ -26,4 +27,4 @@ "keywords": [

"bugs": {
"url": "https://github.com/smartsheet-platform/smartsheet-javascript-sdk/issues",
"email": "api@smartsheet.com"
"url": "https://github.com/smartsheet/smartsheet-javascript-sdk/issues",
"email": "sdk@smartsheet.com"
},

@@ -47,2 +48,3 @@ "browser": {

"istanbul": "^0.4.5",
"jshint": "^2.13.6",
"jshint-stylish": "^1.0.1",

@@ -49,0 +51,0 @@ "mocha": "^5.2.0",

16

README.md
# Smartsheet SDK for JavaScript
![Build Status](https://github.com/smartsheet/smartsheet-javascript-sdk/actions/workflows/build-publish.yaml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/smartsheet/smartsheet-javascript-sdk/badge.svg?branch=main)](https://coveralls.io/github/smartsheet/smartsheet-javascript-sdk?branch=mainline) [![npm version](https://badge.fury.io/js/smartsheet.svg)](https://badge.fury.io/js/smartsheet)
![Build Status](https://github.com/smartsheet/smartsheet-javascript-sdk/actions/workflows/test-build.yaml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/smartsheet/smartsheet-javascript-sdk/badge.svg?branch=mainline)](https://coveralls.io/github/smartsheet/smartsheet-javascript-sdk?branch=mainline) [![npm version](https://badge.fury.io/js/smartsheet.svg)](https://badge.fury.io/js/smartsheet)

@@ -69,6 +69,16 @@ This is a client SDK for connecting to the [Smartsheet API](https://smartsheet.redoc.ly/) from Node.js applications.

- The Smartsheet API documentation with corresponding SDK example code can be found [here](https://smartsheet.redoc.ly/).
- For an example of using the Javascript SDK see the sample project [here](https://github.com/smartsheet-samples/node-read-write-sheet).
* The Smartsheet API documentation with corresponding SDK example code can be found [here](https://smartsheet.redoc.ly/).
* For an example of using the Javascript SDK see the sample project [here](https://github.com/smartsheet-samples/node-read-write-sheet).
## Advanced Topics
For details about more advanced features, see [Advanced Topics](ADVANCED.md).
## Acknowledgements
We would like to thank the following people for their contributions to this project:
* Cameron Bowie - [cameronbowie](https://github.com/cameronbowie)
* Nathan Armstrong - [armstnp](https://github.com/armstnp)
* Emily Koh - [emilykoh](https://github.com/emilykoh)
* Steve Weil - [seweil](https://github.com/seweil)
* Kim Brandl - [kbrandl](https://github.com/kbrandl)

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