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

@field123/client-shopper

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@field123/client-shopper - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist-types/commands/get-all-hierarchies-command.d.ts

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetAllHierarchiesCommand = ReturnType<GetAllHierarchiesCommandFn>;
export declare function getAllHierarchies(options: GetAllHierarchiesCommandInput): Command<GetAllHierarchiesCommandInput, GetAllHierarchiesCommandOutput, ResolvedShopperClientConfig>;
export declare function getAllHierarchies(options: GetAllHierarchiesCommandInput): Command<GetAllHierarchiesCommandInput, GetAllHierarchiesCommandInput, GetAllHierarchiesCommandOutput, GetAllHierarchiesCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetAllNodesCommand = ReturnType<GetAllNodesCommandFn>;
export declare function getAllNodes(options: GetAllNodesCommandInput): Command<GetAllNodesCommandInput, GetAllNodesCommandOutput, ResolvedShopperClientConfig>;
export declare function getAllNodes(options: GetAllNodesCommandInput): Command<GetAllNodesCommandInput, GetAllNodesCommandInput, GetAllNodesCommandOutput, GetAllNodesCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetAllProductsCommand = ReturnType<GetAllProductsCommandFn>;
export declare function getAllProducts(options: GetAllProductsCommandInput): Command<GetAllProductsCommandInput, GetAllProductsCommandOutput, ResolvedShopperClientConfig>;
export declare function getAllProducts(options: GetAllProductsCommandInput): Command<GetAllProductsCommandInput, GetAllProductsCommandInput, GetAllProductsCommandOutput, GetAllProductsCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetHierarchyByIdCommand = ReturnType<GetHierarchyByIdCommandFn>;
export declare function getHierarchyById(options: GetHierarchyByIdCommandInput): Command<GetHierarchyByIdCommandInput, GetHierarchyByIdCommandOutput, ResolvedShopperClientConfig>;
export declare function getHierarchyById(options: GetHierarchyByIdCommandInput): Command<GetHierarchyByIdCommandInput, GetHierarchyByIdCommandInput, GetHierarchyByIdCommandOutput, GetHierarchyByIdCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetHierarchyChildNodesCommand = ReturnType<GetHierarchyChildNodesCommandFn>;
export declare function getHierarchyChildNodes(options: GetHierarchyChildNodesCommandInput): Command<GetHierarchyChildNodesCommandInput, GetHierarchyChildNodesCommandOutput, ResolvedShopperClientConfig>;
export declare function getHierarchyChildNodes(options: GetHierarchyChildNodesCommandInput): Command<GetHierarchyChildNodesCommandInput, GetHierarchyChildNodesCommandInput, GetHierarchyChildNodesCommandOutput, GetHierarchyChildNodesCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetHierarchyNodesCommand = ReturnType<GetHierarchyNodesCommandFn>;
export declare function getHierarchyNodes(options: GetHierarchyNodesCommandInput): Command<GetHierarchyNodesCommandInput, GetHierarchyNodesCommandOutput, ResolvedShopperClientConfig>;
export declare function getHierarchyNodes(options: GetHierarchyNodesCommandInput): Command<GetHierarchyNodesCommandInput, GetHierarchyNodesCommandInput, GetHierarchyNodesCommandOutput, GetHierarchyNodesCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetHierarchyProductsCommand = ReturnType<GetHierarchyProductsCommandFn>;
export declare function getHierarchyProducts(options: GetHierarchyProductsCommandInput): Command<GetHierarchyProductsCommandInput, GetHierarchyProductsCommandOutput, ResolvedShopperClientConfig>;
export declare function getHierarchyProducts(options: GetHierarchyProductsCommandInput): Command<GetHierarchyProductsCommandInput, GetHierarchyProductsCommandInput, GetHierarchyProductsCommandOutput, GetHierarchyProductsCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetNodeByIdCommand = ReturnType<GetNodeByIdCommandFn>;
export declare function getNodeById(options: GetNodeByIdCommandInput): Command<GetNodeByIdCommandInput, GetNodeByIdCommandOutput, ResolvedShopperClientConfig>;
export declare function getNodeById(options: GetNodeByIdCommandInput): Command<GetNodeByIdCommandInput, GetNodeByIdCommandInput, GetNodeByIdCommandOutput, GetNodeByIdCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetNodeChildNodesCommand = ReturnType<GetNodeChildNodesCommandFn>;
export declare function getNodeChildNodes(options: GetNodeChildNodesCommandInput): Command<GetNodeChildNodesCommandInput, GetNodeChildNodesCommandOutput, ResolvedShopperClientConfig>;
export declare function getNodeChildNodes(options: GetNodeChildNodesCommandInput): Command<GetNodeChildNodesCommandInput, GetNodeChildNodesCommandInput, GetNodeChildNodesCommandOutput, GetNodeChildNodesCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetNodeProductsCommand = ReturnType<GetNodeProductsCommandFn>;
export declare function getNodeProducts(options: GetNodeProductsCommandInput): Command<GetNodeProductsCommandInput, GetNodeProductsCommandOutput, ResolvedShopperClientConfig>;
export declare function getNodeProducts(options: GetNodeProductsCommandInput): Command<GetNodeProductsCommandInput, GetNodeProductsCommandInput, GetNodeProductsCommandOutput, GetNodeProductsCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetProductByIdCommand = ReturnType<GetProductByIdCommandFn>;
export declare function getProductById(options: GetProductByIdCommandInput): Command<GetProductByIdCommandInput, GetProductByIdCommandOutput, ResolvedShopperClientConfig>;
export declare function getProductById(options: GetProductByIdCommandInput): Command<GetProductByIdCommandInput, GetProductByIdCommandInput, GetProductByIdCommandOutput, GetProductByIdCommandOutput, ResolvedShopperClientConfig>;

@@ -8,2 +8,2 @@ import { Command, MetadataBearer } from '@field123/sdk-types';

export declare type GetShopperCatalogCommand = ReturnType<GetShopperCatalogCommandFn>;
export declare function getShopperCatalog(options: GetShopperCatalogCommandInput): Command<GetShopperCatalogCommandInput, GetShopperCatalogCommandOutput, ResolvedShopperClientConfig>;
export declare function getShopperCatalog(options: GetShopperCatalogCommandInput): Command<GetShopperCatalogCommandInput, GetShopperCatalogCommandInput, GetShopperCatalogCommandOutput, GetShopperCatalogCommandOutput, ResolvedShopperClientConfig>;

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

import { Command, EpccClient, EpccClientResolvedConfig, HttpHandlerOptions, MiddlewareStack } from '@field123/sdk-types';
import { EpccClient, EpccClientResolvedConfig, ExtractCommandInputs, ExtractCommandOutputs, HttpHandlerOptions, RequestHandlingClient } from '@field123/sdk-types';
import { GetAllHierarchiesCommand, GetAllNodesCommand, GetAllProductsCommand, GetHierarchyByIdCommand, GetHierarchyChildNodesCommand, GetHierarchyNodesCommand, GetHierarchyProductsCommand, GetNodeByIdCommand, GetNodeChildNodesCommand, GetNodeProductsCommand, GetProductByIdCommand, GetShopperCatalogCommand } from './commands';

@@ -6,7 +6,5 @@ export declare type ResolvedShopperClientConfig = EpccClientResolvedConfig;

export declare type ServiceCommandTypes = GetAllHierarchiesCommand | GetAllNodesCommand | GetAllProductsCommand | GetHierarchyByIdCommand | GetHierarchyChildNodesCommand | GetHierarchyNodesCommand | GetHierarchyProductsCommand | GetNodeByIdCommand | GetNodeChildNodesCommand | GetNodeProductsCommand | GetProductByIdCommand | GetShopperCatalogCommand;
export declare type ShopperClient<TCommand extends ServiceCommandTypes> = {
readonly config: ShopperClientConfig;
readonly middlewareStack: MiddlewareStack<TCommand extends Command<infer TInput, any, any> ? TInput : never, TCommand extends Command<any, infer TOutput, any> ? TOutput : never>;
send: (command: TCommand extends Command<any, any, any> ? TCommand : never, options?: HttpHandlerOptions) => Promise<TCommand extends Command<any, infer TOutput, any> ? TOutput : never>;
};
export declare function createShopperClient<THandlerOptions extends HttpHandlerOptions>(client: EpccClient, config?: ShopperClientConfig): ShopperClient<ServiceCommandTypes>;
declare type ServiceCommandInputTypes = ExtractCommandInputs<ServiceCommandTypes>;
declare type ServiceCommandOutputTypes = ExtractCommandOutputs<ServiceCommandTypes>;
export declare function createShopperClient(client: EpccClient, config?: ShopperClientConfig): RequestHandlingClient<HttpHandlerOptions, ServiceCommandInputTypes, ServiceCommandOutputTypes, ResolvedShopperClientConfig>;
export {};
{
"name": "@field123/client-shopper",
"version": "0.1.0",
"version": "0.1.1",
"main": "./dist-cjs/index.js",

@@ -44,7 +44,7 @@ "types": "./dist-types/index.d.ts",

"dependencies": {
"@field123/client-common": "0.4.0",
"@field123/middleware-common": "0.1.0",
"@field123/sdk-types": "0.1.0",
"@field123/credential-providers": "0.1.0"
"@field123/client-common": "*",
"@field123/middleware-common": "*",
"@field123/sdk-types": "*",
"@field123/credential-providers": "*"
}
}
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