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

@medusajs/types

Package Overview
Dependencies
Maintainers
2
Versions
3052
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/types - npm Package Compare versions

Comparing version 1.11.2-snapshot-20230928211733 to 1.11.2

dist/pricing/common/price-set-money-amount-rules.d.ts

1

dist/index.d.ts

@@ -14,3 +14,2 @@ export * from "./address";

export * from "./logger";
export * from "./line-item";
export * from "./modules-sdk";

@@ -17,0 +16,0 @@ export * from "./pricing";

@@ -30,3 +30,2 @@ "use strict";

__exportStar(require("./logger"), exports);
__exportStar(require("./line-item"), exports);
__exportStar(require("./modules-sdk"), exports);

@@ -33,0 +32,0 @@ __exportStar(require("./pricing"), exports);

export * from "./currency";
export * from "./money-amount";
export * from "./price-set";
export * from "./price-set-money-amount";
export * from "./price-set-money-amount-rules";
export * from "./rule-type";
export * from './price-rule';

@@ -20,4 +20,6 @@ "use strict";

__exportStar(require("./price-set"), exports);
__exportStar(require("./price-set-money-amount"), exports);
__exportStar(require("./price-set-money-amount-rules"), exports);
__exportStar(require("./rule-type"), exports);
__exportStar(require("./price-rule"), exports);
//# sourceMappingURL=index.js.map
import { BaseFilterable } from "../../dal";
import { FilterableMoneyAmountProps, MoneyAmountDTO } from "./money-amount";
export interface PricingContext {
context?: {
currency_code?: string;
};
context?: Record<string, string | number>;
}

@@ -8,0 +6,0 @@ export interface PricingFilters {

@@ -1,5 +0,5 @@

import { CalculatedPriceSetDTO, CreateCurrencyDTO, CreateMoneyAmountDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, CurrencyDTO, FilterableCurrencyProps, FilterableMoneyAmountProps, FilterablePriceRuleProps, FilterablePriceSetProps, FilterableRuleTypeProps, MoneyAmountDTO, PriceRuleDTO, PriceSetDTO, PricingContext, PricingFilters, RuleTypeDTO, UpdateCurrencyDTO, UpdateMoneyAmountDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO } from "./common";
import { Context } from "../shared-context";
import { CalculatedPriceSetDTO, CreateCurrencyDTO, CreateMoneyAmountDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreatePriceSetMoneyAmountRulesDTO, CreateRuleTypeDTO, CurrencyDTO, FilterableCurrencyProps, FilterableMoneyAmountProps, FilterablePriceRuleProps, FilterablePriceSetMoneyAmountRulesProps, FilterablePriceSetProps, FilterableRuleTypeProps, MoneyAmountDTO, PriceRuleDTO, PriceSetDTO, PriceSetMoneyAmountRulesDTO, PricingContext, PricingFilters, RuleTypeDTO, UpdateCurrencyDTO, UpdateMoneyAmountDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdatePriceSetMoneyAmountRulesDTO, UpdateRuleTypeDTO } from "./common";
import { FindConfig } from "../common";
import { ModuleJoinerConfig } from "../modules-sdk";
import { Context } from "../shared-context";
export interface IPricingModuleService {

@@ -32,2 +32,8 @@ __joinerConfig(): ModuleJoinerConfig;

deleteRuleTypes(ruleTypeIds: string[], sharedContext?: Context): Promise<void>;
retrievePriceSetMoneyAmountRules(id: string, config?: FindConfig<PriceSetMoneyAmountRulesDTO>, sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO>;
listPriceSetMoneyAmountRules(filters?: FilterablePriceSetMoneyAmountRulesProps, config?: FindConfig<PriceSetMoneyAmountRulesDTO>, sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO[]>;
listAndCountPriceSetMoneyAmountRules(filters?: FilterablePriceSetMoneyAmountRulesProps, config?: FindConfig<PriceSetMoneyAmountRulesDTO>, sharedContext?: Context): Promise<[PriceSetMoneyAmountRulesDTO[], number]>;
createPriceSetMoneyAmountRules(data: CreatePriceSetMoneyAmountRulesDTO[], sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO[]>;
updatePriceSetMoneyAmountRules(data: UpdatePriceSetMoneyAmountRulesDTO[], sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO[]>;
deletePriceSetMoneyAmountRules(ids: string[], sharedContext?: Context): Promise<void>;
retrievePriceRule(id: string, config?: FindConfig<PriceRuleDTO>, sharedContext?: Context): Promise<PriceRuleDTO>;

@@ -34,0 +40,0 @@ listPriceRules(filters?: FilterablePriceRuleProps, config?: FindConfig<PriceRuleDTO>, sharedContext?: Context): Promise<PriceRuleDTO[]>;

{
"name": "@medusajs/types",
"version": "1.11.2-snapshot-20230928211733",
"version": "1.11.2",
"description": "Medusa Types definition",

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

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