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

@vendasta/accounts

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vendasta/accounts

SDK to interact with the accounts service

  • 0.8.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
567
increased by16.67%
Maintainers
0
Weekly downloads
 
Created
Source

Accounts SDK

This provides a typescript implementation of the accounts microservice

Requirements

To setup the sdk you will need to:

Install the sdk to your project

npm install @vendasta/accounts --save
import {AccountsService} from "@vendasta/accounts/legacy";

export class MyClass {
    constructor(private accountsServce: AccountsService) {}
}

External Requirements

The Accounts sdk requires the following vendasta packages to be implemented by the project:

  • EnvironmentService (https://www.npmjs.com/package/@vendasta/core)
  • PartnerService (https://www.npmjs.com/package/@vendasta/core)
  • SessionService (https://www.npmjs.com/package/@vendasta/core)

Please follow their instructions on how to set those packages up.

ActivateAddon

activateAddon(businessId: string, appId: string, addOnId: string): Observable<string>

Activate the addon of a product

DeactivateAddon

deactivateAddon(businessId: string, appId: string, addonId: string, activationId: string): void

Deactivate the addon of a product

ListAddonActivations

listAddonActivations(businessId: string, appId: string): Observable<any>

List activations of an app's addons for a business

Delete

delete(businessId: string, appId: string, accountId: string, productId: string): Observable<Response>

Deactivate an app / product

FAQs

Package last updated on 12 Nov 2024

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