Comparing version 1.12.0 to 1.13.0
@@ -11,5 +11,5 @@ 'use strict'; | ||
var _singletonizer = require('./singletonizer'); | ||
var _singletons = require('./singletons'); | ||
var _singletonizer2 = _interopRequireDefault(_singletonizer); | ||
var _singletons2 = _interopRequireDefault(_singletons); | ||
@@ -30,2 +30,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
usersCompaniesPaymentMethods: '/users/{userId}/companies/{companyId}/paymentMethods', | ||
usersCompaniesUsers: '/users/{userId}/companies/{companyId}/users', | ||
usersCompaniesUsersId: '/users/{userId}/companies/{companyId}/users/{companyUserId}', | ||
usersCompaniesPaymentMethodsId: '/users/{userId}/companies/{companyId}/paymentMethods/{paymentMethodId}', | ||
@@ -46,5 +48,5 @@ usersCommissions: '/users/{userId}/commissions', | ||
}, | ||
create: () => new _singletonizer2.default(configuration) | ||
create: () => new _singletons2.default(configuration) | ||
}; | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjb25maWd1cmF0aW9uIiwiYXV0aGVudGljYXRpb24iLCJob3N0Iiwicm91dGVzIiwibG9naW5zIiwicGFzc3dvcmRzIiwidXNlcnMiLCJ1c2Vyc0lkIiwidXNlcnNDb21wYW5pZXMiLCJ1c2Vyc0NvbXBhbmllc0lkIiwidXNlcnNDb21wYW5pZXNNYXJrZXRwbGFjZSIsInVzZXJzQ29tcGFuaWVzUGF5bWVudE1ldGhvZHMiLCJ1c2Vyc0NvbXBhbmllc1BheW1lbnRNZXRob2RzSWQiLCJ1c2Vyc0NvbW1pc3Npb25zIiwidXNlcnNDb21taXNzaW9uc1JlcXVlc3RzIiwidXNlcnNPcmRlcnMiLCJ1c2Vyc09yZGVyc0lkIiwidXNlcnNPcmRlcnNQcm9kdWN0cyIsInVzZXJzRGV2aWNlc1Bvc2l0aW9ucyIs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0cycsXG4gICAgdXNlcnNPcmRlcnM6ICcvdXNlcnMve3VzZXJJZH0vb3JkZXJzJyxcbiAgICB1c2Vyc09yZGVyc0lkOiAnL3VzZXJzL3t1c2VySWR9L29yZGVycy97b3JkZXJJZH0nLFxuICAgIHVzZXJzT3JkZXJzUHJvZHVjdHM6ICcvdXNlcnMve3VzZXJJZH0vb3JkZXJzL3tvcmRlcklkfS9wcm9kdWN0cycsXG4gICAgdXNlcnNEZXZpY2VzUG9zaXRpb25zOiAnL3VzZXJzL3t1c2VySWR9L2RldmljZXMve2RldmljZUlkfS9wb3NpdGlvbnMnLFxuICAgIHNlYXJjaGVzQW1idWxhbmNlczogJy9zZWFyY2hlcy9hbWJ1bGFuY2VzJyxcbiAgfSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgY29uZmlndXJlOiAoY29uZmlnKSA9PiB7XG4gICAgY29uZmlndXJhdGlvbiA9IGpzb25PdmVycmlkZShjb25maWd1cmF0aW9uLCBjb25maWcpO1xuICB9LFxuICBjcmVhdGU6ICgpID0+IG5ldyBTREsoY29uZmlndXJhdGlvbiksXG59O1xuIl19 |
{ | ||
"name": "g8-js-sdk", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "Ambulance G8 Javascript SDK", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
import jsonOverride from 'json-override'; | ||
import SDK from './singletonizer'; | ||
import SDK from './singletons'; | ||
@@ -16,2 +16,4 @@ let configuration = { | ||
usersCompaniesPaymentMethods: '/users/{userId}/companies/{companyId}/paymentMethods', | ||
usersCompaniesUsers: '/users/{userId}/companies/{companyId}/users', | ||
usersCompaniesUsersId: '/users/{userId}/companies/{companyId}/users/{companyUserId}', | ||
usersCompaniesPaymentMethodsId: '/users/{userId}/companies/{companyId}/paymentMethods/{paymentMethodId}', | ||
@@ -18,0 +20,0 @@ usersCommissions: '/users/{userId}/commissions', |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65
1809
162671