@field123/client-shopper
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -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": "*" | ||
} | ||
} |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 4 instances 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
178308
2637
5
+ Added@field123/client-common@0.4.1(transitive)
+ Added@field123/credential-providers@0.1.1(transitive)
+ Added@field123/middleware-common@0.1.1(transitive)
+ Added@field123/sdk-types@0.1.1(transitive)
- Removed@field123/client-common@0.4.0(transitive)
- Removed@field123/credential-providers@0.1.0(transitive)
- Removed@field123/middleware-common@0.1.0(transitive)
- Removed@field123/sdk-types@0.1.0(transitive)
Updated@field123/client-common@*
Updated@field123/sdk-types@*