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

@atoms-studio/commercelayer-sdk

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atoms-studio/commercelayer-sdk - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

dist/resources/StockItems.d.ts

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.3.0](https://github.com/atoms-studio/commercelayer-sdk/compare/1.2.0...1.3.0) (2022-01-11)
### Features
* **resources:** add StockItems ([371039b](https://github.com/atoms-studio/commercelayer-sdk/commit/371039be840eb7011351ab06a9703d50b7c82a7f))
## [1.2.0](https://github.com/atoms-studio/commercelayer-sdk/compare/1.1.0...1.2.0) (2022-01-11)

@@ -2,0 +9,0 @@

@@ -1443,2 +1443,13 @@ 'use strict';

const StockItemConfig = {
type: 'stock_locations',
attributes: ['sku_code', 'quantity'],
relationships: {
stock_location: 'stock_locations',
sku: 'skus',
attachments: 'attachments',
},
};
const StockItems = createResource(StockItemConfig);
exports.Addresses = Addresses;

@@ -1470,2 +1481,3 @@ exports.Adjustments = Adjustments;

exports.Skus = Skus;
exports.StockItems = StockItems;
exports.StockLocations = StockLocations;

@@ -1472,0 +1484,0 @@ exports.StripePayments = StripePayments;

13

dist/commercelayer-sdk.esm.js

@@ -1435,2 +1435,13 @@ import axios from 'axios';

export { Addresses, Adjustments, Attachments, Auth, CustomerAddresses, CustomerPasswordResets, CustomerPaymentSources, Customers, DeliveryLeadTimes, GiftCards, LineItems, Markets, OrderCopies, OrderSubscriptions, Orders, PaymentGateways, PaymentMethods, PriceLists, Prices, Refunds, ResourceError, Returns, Shipments, ShippingCategories, ShippingMethods, Skus, StockLocations, StripePayments, WireTransfers, initConfig as init };
const StockItemConfig = {
type: 'stock_locations',
attributes: ['sku_code', 'quantity'],
relationships: {
stock_location: 'stock_locations',
sku: 'skus',
attachments: 'attachments',
},
};
const StockItems = createResource(StockItemConfig);
export { Addresses, Adjustments, Attachments, Auth, CustomerAddresses, CustomerPasswordResets, CustomerPaymentSources, Customers, DeliveryLeadTimes, GiftCards, LineItems, Markets, OrderCopies, OrderSubscriptions, Orders, PaymentGateways, PaymentMethods, PriceLists, Prices, Refunds, ResourceError, Returns, Shipments, ShippingCategories, ShippingMethods, Skus, StockItems, StockLocations, StripePayments, WireTransfers, initConfig as init };

@@ -31,2 +31,3 @@ export { initConfig as init } from './config';

export { StockLocations, StockLocationInstance, } from './resources/StockLocations';
export { StockItems, StockItemInstance } from './resources/StockItems';
//# sourceMappingURL=index.d.ts.map

3

dist/resources/DeliveryLeadTimes.d.ts
import { ResourceConfig, ConcreteResourceInstance, Resource } from '../resource';
import { AttachmentInstance } from './Attachments';
import { ShippingMethodInstance } from './ShippingMethods';
import { StockLocationInstance } from './StockLocations';
export interface DeliveryLeadTimeAttributes {

@@ -11,3 +12,3 @@ min_hours: number;

export interface DeliveryLeadTimeRelationships {
stock_location: any;
stock_location: StockLocationInstance;
shipping_method: ShippingMethodInstance;

@@ -14,0 +15,0 @@ attachments: AttachmentInstance[];

@@ -7,2 +7,3 @@ import { ResourceConfig, ConcreteResourceInstance, Resource } from '../resource';

import { OrderInstance } from './Orders';
import { StockLocationInstance } from './StockLocations';
export interface ReturnAttributes {

@@ -32,3 +33,3 @@ number: string;

customer: CustomerInstance;
stock_location: any;
stock_location: StockLocationInstance;
origin_address: AddressInstance;

@@ -35,0 +36,0 @@ destination_address: AddressInstance;

@@ -9,2 +9,3 @@ import { ResourceConfig, ConcreteResourceInstance, Resource } from '../resource';

import { ShippingMethodInstance } from './ShippingMethods';
import { StockLocationInstance } from './StockLocations';
interface ShipmentRate {

@@ -53,3 +54,3 @@ id: string;

shipping_category: ShippingCategoryInstance;
stock_location: any;
stock_location: StockLocationInstance;
origin_address: AddressInstance;

@@ -56,0 +57,0 @@ shipping_address: AddressInstance;

@@ -6,2 +6,3 @@ import { ResourceConfig, ConcreteResourceInstance, Resource } from '../resource';

import { AttachmentInstance } from './Attachments';
import { StockItemInstance } from './StockItems';
export interface InventoryDeliveryLeadTimesShippingMethod {

@@ -51,3 +52,3 @@ name: string;

prices?: PriceInstance[];
stock_items?: any[];
stock_items?: StockItemInstance[];
delivery_lead_times?: DeliveryLeadTimeInstance[];

@@ -54,0 +55,0 @@ sku_options?: any[];

import { ResourceConfig, ConcreteResourceInstance, Resource } from '../resource';
import { AttachmentInstance } from './Attachments';
import { StockItemInstance } from './StockItems';
export interface StockLocationAttributes {

@@ -12,3 +13,3 @@ number: number;

inventory_return_locations?: any[];
stock_items?: any[];
stock_items?: StockItemInstance[];
stock_transfers?: any[];

@@ -15,0 +16,0 @@ attachments?: AttachmentInstance[];

{
"name": "@atoms-studio/commercelayer-sdk",
"version": "1.2.0",
"version": "1.3.0",
"repository": "git@github.com:atoms-studio/commercelayer-sdk.git",

@@ -5,0 +5,0 @@ "author": "atoms.studio",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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