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

commerce-sdk

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commerce-sdk - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.3.0-alpha.4

VERSION.md

2

dist/checkout/orders/orders.d.ts
import { BaseClient, ClientConfig } from "@commerce-apps/core";
export { Error, PaymentTransactionUpdateRequest, PaymentInstrumentUpdateRequest, OrderPaymentStatusUpdateRequest, OrderConfirmationStatusUpdateRequest, ShippingAddressUpdateRequest, OrderExternalStatusUpdateRequest, OrderShippingStatusUpdateRequest, OrderUpdateRequest, OrderExportStatusUpdateRequest, OrderStatusUpdateRequest, Offset, Limit, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, } from "./orders.types";
export { PaymentTransactionUpdateRequest, PaymentInstrumentUpdateRequest, OrderPaymentStatusUpdateRequest, OrderConfirmationStatusUpdateRequest, ShippingAddressUpdateRequest, OrderExternalStatusUpdateRequest, OrderShippingStatusUpdateRequest, OrderUpdateRequest, OrderExportStatusUpdateRequest, OrderStatusUpdateRequest, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, Error, Offset, Limit, } from "./orders.types";
/**

@@ -4,0 +4,0 @@ * Instantiate a Client object with desired ClientConfig to perform operations

@@ -1,11 +0,1 @@

export declare type Error = {
[key: string]: any;
} & {
message: string;
type: string;
arguments?: {
[key: string]: any;
} & {};
displayMessagePattern?: string;
};
export declare type PaymentTransactionUpdateRequest = {

@@ -73,4 +63,2 @@ [key: string]: any;

};
export declare type Offset = {};
export declare type Limit = {};
export declare type SiteId = {};

@@ -115,2 +103,14 @@ export declare type SearchRequest = {

};
export declare type Error = {
[key: string]: any;
} & {
message: string;
type: string;
arguments?: {
[key: string]: any;
} & {};
displayMessagePattern?: string;
};
export declare type Offset = {};
export declare type Limit = {};
//# sourceMappingURL=orders.types.d.ts.map
import { BaseClient, ClientConfig } from "@commerce-apps/core";
import { PaymentMethodResult, Order } from "./shopperOrders.types";
export { PaymentCardSpec, OrderAddress, BasketsResult, PaymentCard, NotesResult, ShippingItem, Discount, Note, CouponItem, PromotionLink, ShippingPromotion, ProductItem, BasketPaymentInstrumentRequest, OrderPaymentInstrument, BonusDiscountLineItem, PaymentMethodResult, Shipment, CustomerInfo, SimpleLink, PriceAdjustment, ShippingMethodResult, ProductDetailsLink, OptionItem, ShippingMethod, Basket, OrderPaymentInstrumentRequest, GiftCertificateItem, ProductListLink, Order, OrderPaymentCardRequest, PaymentMethod, Status, ProductListItemReference, ErrorResponse, Offset, Limit, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, } from "./shopperOrders.types";
export { ErrorResponse, Offset, Limit, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, PaymentCardSpec, OrderAddress, BasketsResult, PaymentCard, NotesResult, ShippingItem, Discount, Note, CouponItem, PromotionLink, ShippingPromotion, ProductItem, BasketPaymentInstrumentRequest, OrderPaymentInstrument, BonusDiscountLineItem, PaymentMethodResult, Shipment, CustomerInfo, SimpleLink, PriceAdjustment, ShippingMethodResult, ProductDetailsLink, OptionItem, ShippingMethod, Basket, OrderPaymentInstrumentRequest, GiftCertificateItem, ProductListLink, Order, OrderPaymentCardRequest, PaymentMethod, Status, ProductListItemReference, } from "./shopperOrders.types";
/**

@@ -5,0 +5,0 @@ * Instantiate a Client object with desired ClientConfig to perform operations

@@ -0,1 +1,50 @@

export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type SiteId = {};
export declare type SearchRequest = {
[key: string]: any;
} & {
query: any;
limit?: number;
sorts?: Array<object>;
offset?: number;
};
export declare type PaginatedSearchResult = {
[key: string]: any;
} & {
query: any;
limit: number;
offset: number;
total: number;
sorts?: Array<object>;
previous?: {
[key: string]: any;
} & {
limit: number;
offset: number;
};
hits?: Array<object>;
next?: {
[key: string]: any;
} & {
limit: number;
offset: number;
};
};
export declare type SimpleSearchResult = {
[key: string]: any;
} & {
limit: number;
offset: number;
total: number;
hits?: Array<object>;
};
export declare type PaymentCardSpec = {

@@ -635,51 +684,2 @@ [key: string]: any;

};
export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type SiteId = {};
export declare type SearchRequest = {
[key: string]: any;
} & {
query: any;
limit?: number;
sorts?: Array<object>;
offset?: number;
};
export declare type PaginatedSearchResult = {
[key: string]: any;
} & {
query: any;
limit: number;
offset: number;
total: number;
sorts?: Array<object>;
previous?: {
[key: string]: any;
} & {
limit: number;
offset: number;
};
hits?: Array<object>;
next?: {
[key: string]: any;
} & {
limit: number;
offset: number;
};
};
export declare type SimpleSearchResult = {
[key: string]: any;
} & {
limit: number;
offset: number;
total: number;
hits?: Array<object>;
};
//# sourceMappingURL=shopperOrders.types.d.ts.map

@@ -7,2 +7,3 @@ /*

*/
import * as Pricing from "./pricing/pricing";
import * as Checkout from "./checkout/checkout";

@@ -12,7 +13,6 @@ import * as Product from "./product/product";

import * as Search from "./search/search";
import * as Pricing from "./pricing/pricing";
import * as Seller from "./seller/seller";
import * as Cdn from "./cdn/cdn";
import * as Ai from "./ai/ai";
export { Checkout, Product, Customer, Search, Pricing, Seller, Cdn, Ai };
export { Pricing, Checkout, Product, Customer, Search, Seller, Cdn, Ai };
import * as helpers from "./helpers";

@@ -19,0 +19,0 @@ export { helpers };

@@ -10,2 +10,4 @@ /*

const tslib_1 = require("tslib");
const Pricing = tslib_1.__importStar(require("./pricing/pricing"));
exports.Pricing = Pricing;
const Checkout = tslib_1.__importStar(require("./checkout/checkout"));

@@ -19,4 +21,2 @@ exports.Checkout = Checkout;

exports.Search = Search;
const Pricing = tslib_1.__importStar(require("./pricing/pricing"));
exports.Pricing = Pricing;
const Seller = tslib_1.__importStar(require("./seller/seller"));

@@ -23,0 +23,0 @@ exports.Seller = Seller;

import { BaseClient, ClientConfig } from "@commerce-apps/core";
import { CampaignSearchResult, Campaign } from "./campaigns.types";
export { ErrorResponse, Offset, Limit, Money, CountryCode, SimpleSearchResult, SiteId, SearchRequest, LanguageCode, PaginatedSearchResult, CampaignSearchResult, Campaign, } from "./campaigns.types";
export { Money, CountryCode, SimpleSearchResult, SiteId, SearchRequest, LanguageCode, PaginatedSearchResult, ErrorResponse, Offset, Limit, CampaignSearchResult, Campaign, } from "./campaigns.types";
/**

@@ -5,0 +5,0 @@ * Instantiate a Client object with desired ClientConfig to perform operations

@@ -1,11 +0,1 @@

export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type Money = {

@@ -46,2 +36,12 @@ [key: string]: any;

};
export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type CampaignSearchResult = {

@@ -48,0 +48,0 @@ [key: string]: any;

@@ -0,1 +1,2 @@

import * as Coupons from "./coupons/coupons";
import * as GiftCertificates from "./giftCertificates/giftCertificates";

@@ -5,7 +6,6 @@ import * as SourceCodeGroups from "./sourceCodeGroups/sourceCodeGroups";

import * as Promotions from "./promotions/promotions";
import * as Coupons from "./coupons/coupons";
import * as Assignments from "./assignments/assignments";
import * as ShopperGiftCertificates from "./shopperGiftCertificates/shopperGiftCertificates";
import * as ShopperPromotions from "./shopperPromotions/shopperPromotions";
export { GiftCertificates, SourceCodeGroups, Campaigns, Promotions, Coupons, Assignments, ShopperGiftCertificates, ShopperPromotions };
export { Coupons, GiftCertificates, SourceCodeGroups, Campaigns, Promotions, Assignments, ShopperGiftCertificates, ShopperPromotions };
//# sourceMappingURL=pricing.d.ts.map

@@ -10,2 +10,4 @@ /*

const tslib_1 = require("tslib");
const Coupons = tslib_1.__importStar(require("./coupons/coupons"));
exports.Coupons = Coupons;
const GiftCertificates = tslib_1.__importStar(

@@ -23,4 +25,2 @@ require("./giftCertificates/giftCertificates")

exports.Promotions = Promotions;
const Coupons = tslib_1.__importStar(require("./coupons/coupons"));
exports.Coupons = Coupons;
const Assignments = tslib_1.__importStar(require("./assignments/assignments"));

@@ -27,0 +27,0 @@ exports.Assignments = Assignments;

import { BaseClient, ClientConfig } from "@commerce-apps/core";
import { PromotionSearchResult, Promotion } from "./promotions.types";
export { ErrorResponse, Offset, Limit, Money, CountryCode, SimpleSearchResult, SiteId, SearchRequest, LanguageCode, PaginatedSearchResult, PromotionSearchResult, TimeOfDay, Campaign, PromotionCampaignAssignment, Tag, Promotion, PromotionAssignmentInformation, Schedule, Recurrence, PromotionAbtestGroupAssignment, } from "./promotions.types";
export { Money, CountryCode, SimpleSearchResult, SiteId, SearchRequest, LanguageCode, PaginatedSearchResult, ErrorResponse, Offset, Limit, PromotionSearchResult, TimeOfDay, Campaign, PromotionCampaignAssignment, Tag, Promotion, PromotionAssignmentInformation, Schedule, Recurrence, PromotionAbtestGroupAssignment, } from "./promotions.types";
/**

@@ -5,0 +5,0 @@ * Instantiate a Client object with desired ClientConfig to perform operations

@@ -1,11 +0,1 @@

export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type Money = {

@@ -46,2 +36,12 @@ [key: string]: any;

};
export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type PromotionSearchResult = {

@@ -48,0 +48,0 @@ [key: string]: any;

import { BaseClient, ClientConfig } from "@commerce-apps/core";
import { PromotionResult } from "./shopperPromotions.types";
export { ErrorResponse, Offset, Limit, Error, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, Promotion, PromotionResult, } from "./shopperPromotions.types";
export { SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, ErrorResponse, Offset, Limit, Error, Promotion, PromotionResult, } from "./shopperPromotions.types";
/**

@@ -5,0 +5,0 @@ * Instantiate a Client object with desired ClientConfig to perform operations

@@ -1,19 +0,1 @@

export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type Error = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type SiteId = {};

@@ -46,2 +28,20 @@ export declare type SearchRequest = {

};
export declare type ErrorResponse = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Offset = {};
export declare type Limit = {};
export declare type Error = {
[key: string]: any;
} & {
type: string;
title?: string;
detail?: string;
instance?: string;
};
export declare type Promotion = {

@@ -48,0 +48,0 @@ [key: string]: any;

import { BaseClient, ClientConfig } from "@commerce-apps/core";
import { ProductSearchResult, SuggestionResult } from "./shopperSearch.types";
export { ErrorResponse, Offset, Limit, ProductRef, SuggestedTerms, CategorySuggestions, SuggestedProduct, SuggestedPhrase, VariationAttribute, ProductSuggestions, SuggestedCategory, ProductType, BrandSuggestions, ProductSearchRefinementValue, ProductSearchSortingOption, SuggestedTerm, ProductSearchRefinement, CustomSuggestions, ProductSearchHit, ProductSearchResult, Image, VariationAttributeValue, Suggestion, SuggestionResult, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, } from "./shopperSearch.types";
export { ErrorResponse, Offset, Limit, SiteId, SearchRequest, PaginatedSearchResult, SimpleSearchResult, ProductRef, SuggestedTerms, CategorySuggestions, SuggestedProduct, SuggestedPhrase, VariationAttribute, ProductSuggestions, SuggestedCategory, ProductType, BrandSuggestions, ProductSearchRefinementValue, ProductSearchSortingOption, SuggestedTerm, ProductSearchRefinement, CustomSuggestions, ProductSearchHit, ProductSearchResult, Image, VariationAttributeValue, Suggestion, SuggestionResult, } from "./shopperSearch.types";
/**

@@ -5,0 +5,0 @@ * Instantiate a Client object with desired ClientConfig to perform operations

@@ -11,2 +11,29 @@ export declare type ErrorResponse = {

export declare type Limit = {};
export declare type SiteId = {};
export declare type SearchRequest = {
[key: string]: any;
} & {
query: any;
limit?: number;
sorts?: Array<object>;
offset?: number;
};
export declare type PaginatedSearchResult = {
[key: string]: any;
} & {
query: any;
limit: number;
offset: number;
total: number;
sorts?: Array<object>;
hits?: Array<object>;
};
export declare type SimpleSearchResult = {
[key: string]: any;
} & {
limit: number;
offset: number;
total: number;
hits?: Array<object>;
};
export declare type ProductRef = {

@@ -261,29 +288,2 @@ [key: string]: any;

};
export declare type SiteId = {};
export declare type SearchRequest = {
[key: string]: any;
} & {
query: any;
limit?: number;
sorts?: Array<object>;
offset?: number;
};
export declare type PaginatedSearchResult = {
[key: string]: any;
} & {
query: any;
limit: number;
offset: number;
total: number;
sorts?: Array<object>;
hits?: Array<object>;
};
export declare type SimpleSearchResult = {
[key: string]: any;
} & {
limit: number;
offset: number;
total: number;
hits?: Array<object>;
};
//# sourceMappingURL=shopperSearch.types.d.ts.map
{
"name": "commerce-sdk",
"version": "1.0.0-alpha.0",
"version": "1.3.0-alpha.4",
"description": "Salesforce Commerce Cloud SDK",

@@ -112,5 +112,5 @@ "main": "dist/index.js",

"license": "BSD-3-Clause",
"gitHead": "2a6031f5f57c4ba5df8bfb5c4ca42b2631befe58",
"gitHead": "a0a0a1a78cea6aa9cb850101b318f99a5f2c6d20",
"devDependencies": {
"@commerce-apps/exchange-connector": "^1.2.1-alpha.0",
"@commerce-apps/exchange-connector": "^1.3.0-alpha.4",
"@istanbuljs/nyc-config-typescript": "^1.0.1",

@@ -129,3 +129,3 @@ "@types/gulp": "^4.0.6",

"dependencies": {
"@commerce-apps/core": "^1.0.0-alpha.0",
"@commerce-apps/core": "^1.3.0-alpha.4",
"tslib": "^1.10.0",

@@ -132,0 +132,0 @@ "utility-types": "^3.10.0"

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

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

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