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.14.0 to 1.15.0

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

5

dist/index.js

@@ -29,2 +29,5 @@ 'use strict';

usersCompaniesPaymentMethods: '/users/{userId}/companies/{companyId}/paymentMethods',
usersCompaniesOrders: '/users/{userId}/companies/{companyId}/orders',
usersCompaniesOrdersId: '/users/{userId}/companies/{companyId}/orders/{orderId}',
usersCompaniesOrdersInvoices: '/users/{userId}/companies/{companyId}/orders/{orderId}/invoices',
usersCompaniesUsers: '/users/{userId}/companies/{companyId}/users',

@@ -50,2 +53,2 @@ usersCompaniesUsersId: '/users/{userId}/companies/{companyId}/users/{companyUserId}',

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

53

dist/singletons.js

@@ -63,2 +63,14 @@ 'use strict';

var _orders3 = require('./classes/resources/users/companies/orders');
var _orders4 = _interopRequireDefault(_orders3);
var _id9 = require('./classes/resources/users/companies/orders/id');
var _id10 = _interopRequireDefault(_id9);
var _invoices = require('./classes/resources/users/companies/orders/invoices');
var _invoices2 = _interopRequireDefault(_invoices);
var _paymentMethods = require('./classes/resources/users/companies/paymentMethods');

@@ -68,5 +80,5 @@

var _id9 = require('./classes/resources/users/companies/paymentMethods/id');
var _id11 = require('./classes/resources/users/companies/paymentMethods/id');
var _id10 = _interopRequireDefault(_id9);
var _id12 = _interopRequireDefault(_id11);

@@ -242,3 +254,3 @@ var _commissions = require('./classes/resources/users/commissions');

if (!this.usersCompaniesPaymentMethodsIdClass) {
this.usersCompaniesPaymentMethodsIdClass = new _id10.default(this.configuration);
this.usersCompaniesPaymentMethodsIdClass = new _id12.default(this.configuration);
}

@@ -271,2 +283,35 @@ return this.usersCompaniesPaymentMethodsIdClass;

/**
* @description Returns UsersCompaniesOrders singleton.
* @returns {UsersCompaniesOrders}
*/
get usersCompaniesOrders() {
if (!this.usersCompaniesOrdersClass) {
this.usersCompaniesOrdersClass = new _orders4.default(this.configuration);
}
return this.usersCompaniesOrdersClass;
}
/**
* @description Returns UsersCompaniesOrdersId singleton.
* @returns {UsersCompaniesOrdersId}
*/
get usersCompaniesOrdersId() {
if (!this.usersCompaniesOrdersIdClass) {
this.usersCompaniesOrdersIdClass = new _id10.default(this.configuration);
}
return this.usersCompaniesOrdersIdClass;
}
/**
* @description Returns UsersCompaniesOrdersInvoices singleton.
* @returns {UsersCompaniesOrdersInvoices}
*/
get usersCompaniesOrdersInvoices() {
if (!this.usersCompaniesOrdersInvoicesClass) {
this.usersCompaniesOrdersInvoicesClass = new _invoices2.default(this.configuration);
}
return this.usersCompaniesOrdersInvoicesClass;
}
/**
* @description Returns UsersCommissionsRequests singleton.

@@ -295,2 +340,2 @@ * @returns {UsersCommissionsRequests}

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

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

@@ -16,2 +16,5 @@ import jsonOverride from 'json-override';

usersCompaniesPaymentMethods: '/users/{userId}/companies/{companyId}/paymentMethods',
usersCompaniesOrders: '/users/{userId}/companies/{companyId}/orders',
usersCompaniesOrdersId: '/users/{userId}/companies/{companyId}/orders/{orderId}',
usersCompaniesOrdersInvoices: '/users/{userId}/companies/{companyId}/orders/{orderId}/invoices',
usersCompaniesUsers: '/users/{userId}/companies/{companyId}/users',

@@ -18,0 +21,0 @@ usersCompaniesUsersId: '/users/{userId}/companies/{companyId}/users/{companyUserId}',

@@ -15,2 +15,5 @@ import Common from './classes/common/common';

import UsersCompaniesUsersId from './classes/resources/users/companies/users/id';
import UsersCompaniesOrders from './classes/resources/users/companies/orders';
import UsersCompaniesOrdersId from './classes/resources/users/companies/orders/id';
import UsersCompaniesOrdersInvoices from './classes/resources/users/companies/orders/invoices';
import UsersCompaniesPaymentMethods from './classes/resources/users/companies/paymentMethods';

@@ -205,2 +208,35 @@ import UsersCompaniesPaymentMethodsId from './classes/resources/users/companies/paymentMethods/id';

/**
* @description Returns UsersCompaniesOrders singleton.
* @returns {UsersCompaniesOrders}
*/
get usersCompaniesOrders() {
if (!this.usersCompaniesOrdersClass) {
this.usersCompaniesOrdersClass = new UsersCompaniesOrders(this.configuration);
}
return this.usersCompaniesOrdersClass;
}
/**
* @description Returns UsersCompaniesOrdersId singleton.
* @returns {UsersCompaniesOrdersId}
*/
get usersCompaniesOrdersId() {
if (!this.usersCompaniesOrdersIdClass) {
this.usersCompaniesOrdersIdClass = new UsersCompaniesOrdersId(this.configuration);
}
return this.usersCompaniesOrdersIdClass;
}
/**
* @description Returns UsersCompaniesOrdersInvoices singleton.
* @returns {UsersCompaniesOrdersInvoices}
*/
get usersCompaniesOrdersInvoices() {
if (!this.usersCompaniesOrdersInvoicesClass) {
this.usersCompaniesOrdersInvoicesClass = new UsersCompaniesOrdersInvoices(this.configuration);
}
return this.usersCompaniesOrdersInvoicesClass;
}
/**
* @description Returns UsersCommissionsRequests singleton.

@@ -207,0 +243,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