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

@salestrip/models

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salestrip/models

Share model management

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-50%
Maintainers
4
Weekly downloads
 
Created
Source

@salestrip/models

STE models to access database

Install

npm i -S @salestrip/models

Usage

Some example uses are included below including some of the domain-specific behaviours. Please refer to the test suite for further examples.

Tenancy configurations model

const string = require('@salestrip/models')

const {tenancyConfigurationModel} = require('@salestrip/models')

  const tcb = tenancyConfigurationModel.builder(
    steDb,
    env.ensure('TENANCY_CONFIGURATION_KEY')
  )

  // Update TenancyConfiguration of TENANCY_ID
  await tcb.setTenancyConfiguration(TENANCY_ID, PAYLOAD)

  // Read TenancyConfiguration of TENANCY_ID
  const tenancyConfiguration = await tcb.getTenancyConfiguration(TENANCY_ID)

License

Copyright © 2021 SalesTrip Limited. All rights reserved.

FAQs

Package last updated on 24 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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