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

g8-js-sdk

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

g8-js-sdk - npm Package Compare versions

Comparing version 1.10.1 to 1.11.0

dist/classes/resources/users/companies/paymentMethods/id/index.js

4

dist/index.js

@@ -27,2 +27,4 @@ 'use strict';

usersCompaniesId: '/users/{userId}/companies/{companyId}',
usersCompaniesPaymentMethods: '/users/{userId}/companies/{companyId}/paymentMethods',
usersCompaniesPaymentMethodsId: '/users/{userId}/companies/{companyId}/paymentMethods/{paymentMethodId}',
usersCommissions: '/users/{userId}/commissions',

@@ -45,2 +47,2 @@ usersCommissionsRequests: '/users/{userId}/commissionsRequests',

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjb25maWd1cmF0aW9uIiwiYXV0aGVudGljYXRpb24iLCJob3N0Iiwicm91dGVzIiwibG9naW5zIiwicGFzc3dvcmRzIiwidXNlcnMiLCJ1c2Vyc0lkIiwidXNlcnNDb21wYW5pZXMiLCJ1c2Vyc0NvbXBhbmllc0lkIiwidXNlcnNDb21taXNzaW9ucyIsInVzZXJzQ29tbWlzc2lvbnNSZXF1ZXN0cyIsInVzZXJzT3JkZXJzIiwidXNlcnNPcmRlcnNJZCIsInVzZXJzT3JkZXJzUHJvZHVjdHMiLCJ1c2Vyc0RldmljZXNQb3NpdGlvbnMiLCJzZWFyY2hlc0FtYnVsYW5jZXMiLCJjb25maWd1cmUiLCJjb25maWciLCJjcmVhdGUiLCJTREsiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOzs7O0FBQ0E7Ozs7OztBQUVBLElBQUlBLGdCQUFnQjtBQUNsQkMsa0JBQWdCLEVBREU7QUFFbEJDLFFBQ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ICcvdXNlcnMve3VzZXJJZH0vb3JkZXJzL3tvcmRlcklkfScsXG4gICAgdXNlcnNPcmRlcnNQcm9kdWN0czogJy91c2Vycy97dXNlcklkfS9vcmRlcnMve29yZGVySWR9L3Byb2R1Y3RzJyxcbiAgICB1c2Vyc0RldmljZXNQb3NpdGlvbnM6ICcvdXNlcnMve3VzZXJJZH0vZGV2aWNlcy97ZGV2aWNlSWR9L3Bvc2l0aW9ucycsXG4gICAgc2VhcmNoZXNBbWJ1bGFuY2VzOiAnL3NlYXJjaGVzL2FtYnVsYW5jZXMnLFxuICB9LFxufTtcblxuZXhwb3J0IGRlZmF1bHQge1xuICBjb25maWd1cmU6IChjb25maWcpID0+IHtcbiAgICBjb25maWd1cmF0aW9uID0ganNvbk92ZXJyaWRlKGNvbmZpZ3VyYXRpb24sIGNvbmZpZyk7XG4gIH0sXG4gIGNyZWF0ZTogKCkgPT4gbmV3IFNESyhjb25maWd1cmF0aW9uKSxcbn07XG4iXX0=

@@ -51,2 +51,10 @@ 'use strict';

var _paymentMethods = require('./classes/resources/users/companies/paymentMethods');
var _paymentMethods2 = _interopRequireDefault(_paymentMethods);
var _id7 = require('./classes/resources/users/companies/paymentMethods/id');
var _id8 = _interopRequireDefault(_id7);
var _commissions = require('./classes/resources/users/commissions');

@@ -194,2 +202,24 @@

/**
* @description Returns UsersCompaniesPaymentMethods singleton.
* @returns {UsersCompaniesPaymentMethods}
*/
get usersCompaniesPaymentMethods() {
if (!this.usersCompaniesPaymentMethodsClass) {
this.usersCompaniesPaymentMethodsClass = new _paymentMethods2.default(this.configuration);
}
return this.usersCompaniesPaymentMethodsClass;
}
/**
* @description Returns UsersCompaniesPaymentMethodsId singleton.
* @returns {UsersCompaniesPaymentMethodsId}
*/
get usersCompaniesPaymentMethodsId() {
if (!this.usersCompaniesPaymentMethodsIdClass) {
this.usersCompaniesPaymentMethodsIdClass = new _id8.default(this.configuration);
}
return this.usersCompaniesPaymentMethodsIdClass;
}
/**
* @description Returns UsersCommissionsRequests singleton.

@@ -218,2 +248,2 @@ * @returns {UsersCommissionsRequests}

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zaW5nbGV0b25pemVyLmpzIl0sIm5hbWVzIjpbIlNESyIsImNvbnN0cnVjdG9yIiwiY29uZmlndXJhdGlvbiIsImNvbW1vbiIsIkNvbW1vbiIsImxvZ2lucyIsImxvZ2luc0NsYXNzIiwiTG9naW5zIiwidXNlcnMiLCJ1c2Vyc0NsYXNzIiwiVXNlcnMiLCJ1c2Vyc0lkIiwidXNlcnNJZENsYXNzIiwiVXNlcnNJZCIsInBhc3N3b3JkcyIsInBhc3N3b3Jkc0NsYXNzIiwiUGFzc3dvcmRzIiwidXNlcnNEZXZpY2VzUG9zaXRpb25zIiwidXNlcnNEZXZpY2VzUG9zaXRpb25zQ2xhc3MiLCJVc2Vyc0RldmljZXNQb3NpdGlvbnMiLCJ1c2Vyc09yZGVycyIsInVzZXJzT3JkZXJzQ2xhc3MiLCJVc2Vyc09yZGVycyIsInVzZXJzT3JkZXJzSWQiLCJ1c2Vyc09yZGVyc0lkQ2xhc3MiLCJVc2Vyc09yZGVyc0lkIiwidXNlcnNPcmRlcnNQcm9kdWN0cyIsInVzZXJzT3JkZXJzUHJvZHVjdHNDbGFzcyIsIlVzZXJzT3JkZXJzUHJvZHVjdHMiLCJ1c2Vyc0NvbW1pc3Npb25zIiwidXNlcnNDb21taXNzaW9uc0NsYXNzIiwiVXNlcnNDb21taXNzaW9ucyIsInVzZXJzQ29tcGFuaWVzIiwidXNlcnNDb21wYW5pZXNDbGFzcyIsIlVzZXJzQ29tcGFuaWVzIiwidXNlcnNDb21wYW5pZXNJZCIsInVzZXJzQ29tcGFuaWVzSWRDbGFzcyIsIlVzZXJzQ29tcGFuaWVzSWQiLCJ1c2Vyc0NvbW1pc3Npb25zUmVxdWVzdHMiLCJ1c2Vyc0NvbW1pc3Np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NvbmZpZ3VyYXRpb24pO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy51c2Vyc0NvbXBhbmllc1BheW1lbnRNZXRob2RzSWRDbGFzcztcbiAgfVxuXG4gIC8qKlxuICAgKiBAZGVzY3JpcHRpb24gUmV0dXJucyBVc2Vyc0NvbW1pc3Npb25zUmVxdWVzdHMgc2luZ2xldG9uLlxuICAgKiBAcmV0dXJucyB7VXNlcnNDb21taXNzaW9uc1JlcXVlc3RzfVxuICAgKi9cbiAgZ2V0IHVzZXJzQ29tbWlzc2lvbnNSZXF1ZXN0cygpIHtcbiAgICBpZiAoIXRoaXMudXNlcnNDb21taXNzaW9uc1JlcXVlc3RzQ2xhc3MpIHtcbiAgICAgIHRoaXMudXNlcnNDb21taXNzaW9uc1JlcXVlc3RzQ2xhc3MgPSBuZXcgVXNlcnNDb21taXNzaW9uc1JlcXVlc3RzKHRoaXMuY29uZmlndXJhdGlvbik7XG4gICAgfVxuICAgIHJldHVybiB0aGlzLnVzZXJzQ29tbWlzc2lvbnNSZXF1ZXN0c0NsYXNzO1xuICB9XG5cbiAgLyoqXG4gICAqIEBkZXNjcmlwdGlvbiBSZXR1cm5zIFVzZXJzT3JkZXJzIHNpbmdsZXRvbi5cbiAgICogQHJldHVybnMge1NlYXJjaGVzQW1idWxhbmNlc31cbiAgICovXG4gIGdldCBzZWFyY2hlc0FtYnVsYW5jZXMoKSB7XG4gICAgaWYgKCF0aGlzLnNlYXJjaGVzQW1idWxhbmNlc0NsYXNzKSB7XG4gICAgICB0aGlzLnNlYXJjaGVzQW1idWxhbmNlc0NsYXNzID0gbmV3IFNlYXJjaGVzQW1idWxhbmNlcyh0aGlzLmNvbmZpZ3VyYXRpb24pO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5zZWFyY2hlc0FtYnVsYW5jZXNDbGFzcztcbiAgfVxufVxuIl19
{
"name": "g8-js-sdk",
"version": "1.10.1",
"version": "1.11.0",
"description": "Ambulance G8 Javascript SDK",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -14,2 +14,4 @@ import jsonOverride from 'json-override';

usersCompaniesId: '/users/{userId}/companies/{companyId}',
usersCompaniesPaymentMethods: '/users/{userId}/companies/{companyId}/paymentMethods',
usersCompaniesPaymentMethodsId: '/users/{userId}/companies/{companyId}/paymentMethods/{paymentMethodId}',
usersCommissions: '/users/{userId}/commissions',

@@ -16,0 +18,0 @@ usersCommissionsRequests: '/users/{userId}/commissionsRequests',

@@ -12,2 +12,4 @@ import Common from './classes/common/common';

import UsersCompaniesId from './classes/resources/users/companies/id';
import UsersCompaniesPaymentMethods from './classes/resources/users/companies/paymentMethods';
import UsersCompaniesPaymentMethodsId from './classes/resources/users/companies/paymentMethods/id';
import UsersCommissions from './classes/resources/users/commissions';

@@ -145,2 +147,24 @@ import UsersCommissionsRequests from './classes/resources/users/commissionsRequests';

/**
* @description Returns UsersCompaniesPaymentMethods singleton.
* @returns {UsersCompaniesPaymentMethods}
*/
get usersCompaniesPaymentMethods() {
if (!this.usersCompaniesPaymentMethodsClass) {
this.usersCompaniesPaymentMethodsClass = new UsersCompaniesPaymentMethods(this.configuration);
}
return this.usersCompaniesPaymentMethodsClass;
}
/**
* @description Returns UsersCompaniesPaymentMethodsId singleton.
* @returns {UsersCompaniesPaymentMethodsId}
*/
get usersCompaniesPaymentMethodsId() {
if (!this.usersCompaniesPaymentMethodsIdClass) {
this.usersCompaniesPaymentMethodsIdClass = new UsersCompaniesPaymentMethodsId(this.configuration);
}
return this.usersCompaniesPaymentMethodsIdClass;
}
/**
* @description Returns UsersCommissionsRequests singleton.

@@ -147,0 +171,0 @@ * @returns {UsersCommissionsRequests}

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