@medusajs/types 1.12.0-next-20240321171831 → 1.12.0-snapshot-20240321101751
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common/config-module.d.ts +3 -19
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +1 -4
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/pricing/common/price-set.d.ts +10 -10
- package/dist/pricing/common/price-set.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +409 -1
- package/dist/pricing/service.d.ts.map +1 -1
- package/package.json +1 -1
@@ -329,6 +329,8 @@ export type ProjectConfigOptions = {
|
|
329
329
|
* // ...
|
330
330
|
* }
|
331
331
|
* ```
|
332
|
+
*
|
333
|
+
* @deprecated use `database_driver_options` instead
|
332
334
|
*/
|
333
335
|
database_extra?: Record<string, unknown> & {
|
334
336
|
/**
|
@@ -342,7 +344,7 @@ export type ProjectConfigOptions = {
|
|
342
344
|
};
|
343
345
|
};
|
344
346
|
/**
|
345
|
-
* An object that includes additional configurations to pass to the database connection
|
347
|
+
* An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is
|
346
348
|
* `ssl` which enables support for TLS/SSL connections.
|
347
349
|
*
|
348
350
|
* This is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.
|
@@ -500,24 +502,6 @@ export type ProjectConfigOptions = {
|
|
500
502
|
* ```
|
501
503
|
*/
|
502
504
|
jobs_batch_size?: number;
|
503
|
-
/**
|
504
|
-
* Configure the application's worker mode. The default value is `shared`.
|
505
|
-
* - Use `shared` if you want to run the application in a single process.
|
506
|
-
* - Use `worker` if you want to run the a worker process only.
|
507
|
-
* - Use `server` if you want to run the application server only.
|
508
|
-
*
|
509
|
-
* @example
|
510
|
-
* ```js title="medusa-config.js"
|
511
|
-
* module.exports = {
|
512
|
-
* projectConfig: {
|
513
|
-
* worker_mode: "shared"
|
514
|
-
* // ...
|
515
|
-
* },
|
516
|
-
* // ...
|
517
|
-
* }
|
518
|
-
* ```
|
519
|
-
*/
|
520
|
-
worker_mode?: "shared" | "worker" | "server";
|
521
505
|
};
|
522
506
|
/**
|
523
507
|
* @interface
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;;;;;;;;;;OAiBG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;;;;;;;;;;;;;OAiBG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;;;;;;;;;;OAaG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,gBAAgB,EAAE,aAAa,CAAA;IAE/B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB
|
1
|
+
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAA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the module is the main module for the key when multiple ones are registered
|
32
32
|
*/
|
33
33
|
main?: boolean;
|
34
|
-
worker_mode?: "shared" | "worker" | "server";
|
35
34
|
};
|
36
35
|
export type ExternalModuleDeclaration = {
|
37
36
|
scope: MODULE_SCOPE.EXTERNAL;
|
@@ -182,9 +181,7 @@ export interface ModuleServiceInitializeOptions {
|
|
182
181
|
user?: string;
|
183
182
|
password?: string;
|
184
183
|
database?: string;
|
185
|
-
driverOptions?: Record<string, unknown
|
186
|
-
connection?: Record<string, unknown>;
|
187
|
-
};
|
184
|
+
driverOptions?: Record<string, unknown>;
|
188
185
|
debug?: boolean;
|
189
186
|
pool?: Record<string, unknown>;
|
190
187
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AACtD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AAEjC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,WAAW,CAAA;AACf,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,EAAE,CAAA;AAExD,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,QAAQ,a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M,EAAE,OAAO,CAAC,CAAA;QACvC,KAAK,CAAC,EAAE,OAAO,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAC/B,CAAA;CACF;AAED,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAA;KAC9C,CAAA;CACF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAClC,yBAAyB,GACzB,yBAAyB,CAAA;AAK7B,MAAM,MAAM,mBAAmB,GAAG,CAChC,KAAK,EAAE,MAAM,GAAG,iBAAiB,GAAG,MAAM,EAC1C,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAChC,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;AAExB,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,cAAc,CAAC,IAAI,kBAAkB,CAAA;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KACzC,CAAA;CACF"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { BaseFilterable } from "../../dal";
|
2
|
-
import { Context } from "../../shared-context";
|
3
|
-
import { CreateMoneyAmountDTO, FilterableMoneyAmountProps, MoneyAmountDTO } from "./money-amount";
|
4
2
|
import { CreatePriceSetPriceRules } from "./price-list";
|
3
|
+
import { CreateMoneyAmountDTO, FilterableMoneyAmountProps, MoneyAmountDTO } from "./money-amount";
|
5
4
|
import { RuleTypeDTO } from "./rule-type";
|
5
|
+
import { Context } from "../../shared-context";
|
6
6
|
export interface PricingRepositoryService {
|
7
7
|
calculatePrices(pricingFilters: PricingFilters, pricingContext: PricingContext, context: Context): Promise<CalculatedPriceSetDTO[]>;
|
8
8
|
}
|
@@ -128,9 +128,9 @@ export interface CalculatedPriceSet {
|
|
128
128
|
*/
|
129
129
|
calculated_price?: {
|
130
130
|
/**
|
131
|
-
* The ID of the
|
131
|
+
* The ID of the money amount selected as the calculated price.
|
132
132
|
*/
|
133
|
-
|
133
|
+
money_amount_id: string | null;
|
134
134
|
/**
|
135
135
|
* The ID of the associated price list, if any.
|
136
136
|
*/
|
@@ -140,11 +140,11 @@ export interface CalculatedPriceSet {
|
|
140
140
|
*/
|
141
141
|
price_list_type: string | null;
|
142
142
|
/**
|
143
|
-
* The `min_quantity` field defined on a
|
143
|
+
* The `min_quantity` field defined on a money amount.
|
144
144
|
*/
|
145
145
|
min_quantity: number | null;
|
146
146
|
/**
|
147
|
-
* The `max_quantity` field defined on a
|
147
|
+
* The `max_quantity` field defined on a money amount.
|
148
148
|
*/
|
149
149
|
max_quantity: number | null;
|
150
150
|
};
|
@@ -153,9 +153,9 @@ export interface CalculatedPriceSet {
|
|
153
153
|
*/
|
154
154
|
original_price?: {
|
155
155
|
/**
|
156
|
-
* The ID of the
|
156
|
+
* The ID of the money amount selected as the original price.
|
157
157
|
*/
|
158
|
-
|
158
|
+
money_amount_id: string | null;
|
159
159
|
/**
|
160
160
|
* The ID of the associated price list, if any.
|
161
161
|
*/
|
@@ -165,11 +165,11 @@ export interface CalculatedPriceSet {
|
|
165
165
|
*/
|
166
166
|
price_list_type: string | null;
|
167
167
|
/**
|
168
|
-
* The `min_quantity` field defined on a
|
168
|
+
* The `min_quantity` field defined on a money amount.
|
169
169
|
*/
|
170
170
|
min_quantity: number | null;
|
171
171
|
/**
|
172
|
-
* The `max_quantity` field defined on a
|
172
|
+
* The `max_quantity` field defined on a money amount.
|
173
173
|
*/
|
174
174
|
max_quantity: number | null;
|
175
175
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"price-set.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"price-set.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACf,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE9C,MAAM,WAAW,wBAAwB;IACvC,eAAe,CACb,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAAA;CACpC;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;CAC1C;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,EAAE,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,EAAE,CAAA;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,EAAE,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,YAAY,EA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,WAAW,WAAW;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,KAAK,EAAE;QACL;;WAEG;QACH,SAAS,EAAE,MAAM,CAAA;KAClB,EAAE,CAAA;CACJ;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,oBAAoB;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,wBAAwB,CAAA;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,MAAM,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,cAAc,EAAE,MAAM,CAAA;KACvB,EAAE,CAAA;IACH;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,EAAE,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;;;GAIG;AACH,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAC/C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,0BAA0B,CAAA;CAC3C"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreatePriceListDTO, CreatePriceListRuleDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceRuleProps, FilterablePriceSetMoneyAmountProps, FilterablePriceSetProps, FilterableRuleTypeProps, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PriceSetMoneyAmountDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, RemovePriceSetRulesDTO, RuleTypeDTO, SetPriceListRulesDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceListRuleDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO } from "./common";
|
1
|
+
import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreateMoneyAmountDTO, CreatePriceListDTO, CreatePriceListRuleDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, FilterableMoneyAmountProps, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceRuleProps, FilterablePriceSetMoneyAmountProps, FilterablePriceSetProps, FilterableRuleTypeProps, MoneyAmountDTO, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PriceSetMoneyAmountDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, RemovePriceSetRulesDTO, RuleTypeDTO, SetPriceListRulesDTO, UpdateMoneyAmountDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceListRuleDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO } from "./common";
|
2
2
|
import { FindConfig } from "../common";
|
3
3
|
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
4
4
|
import { IModuleService } from "../modules-sdk";
|
@@ -806,6 +806,414 @@ export interface IPricingModuleService extends IModuleService {
|
|
806
806
|
* }
|
807
807
|
*/
|
808
808
|
addRules(data: AddRulesDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
|
809
|
+
/**
|
810
|
+
* This method retrieves a money amount by its ID.
|
811
|
+
*
|
812
|
+
* @param {string} id - The ID of the money amount to retrieve.
|
813
|
+
* @param {FindConfig<MoneyAmountDTO>} config -
|
814
|
+
* The configurations determining how a money amount is retrieved. Its properties, such as `select` or `relations`, accept the
|
815
|
+
* attributes or relations associated with a money amount.
|
816
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
817
|
+
* @returns {Promise<MoneyAmountDTO>} The retrieved money amount.
|
818
|
+
*
|
819
|
+
* @example
|
820
|
+
* To retrieve a money amount by its ID:
|
821
|
+
*
|
822
|
+
* ```ts
|
823
|
+
* import {
|
824
|
+
* initialize as initializePricingModule,
|
825
|
+
* } from "@medusajs/pricing"
|
826
|
+
*
|
827
|
+
* async function retrieveMoneyAmount (moneyAmountId: string) {
|
828
|
+
* const pricingService = await initializePricingModule()
|
829
|
+
*
|
830
|
+
* const moneyAmount = await pricingService.retrieveMoneyAmount(
|
831
|
+
* moneyAmountId,
|
832
|
+
* )
|
833
|
+
*
|
834
|
+
* // do something with the money amount or return it
|
835
|
+
* }
|
836
|
+
* ```
|
837
|
+
*
|
838
|
+
* To retrieve relations along with the money amount:
|
839
|
+
*
|
840
|
+
* ```ts
|
841
|
+
* import {
|
842
|
+
* initialize as initializePricingModule,
|
843
|
+
* } from "@medusajs/pricing"
|
844
|
+
*
|
845
|
+
* async function retrieveMoneyAmount (moneyAmountId: string) {
|
846
|
+
* const pricingService = await initializePricingModule()
|
847
|
+
*
|
848
|
+
* const moneyAmount = await pricingService.retrieveMoneyAmount(
|
849
|
+
* moneyAmountId,
|
850
|
+
* {
|
851
|
+
* relations: ["price_set_money_amount"]
|
852
|
+
* }
|
853
|
+
* )
|
854
|
+
*
|
855
|
+
* // do something with the money amount or return it
|
856
|
+
* }
|
857
|
+
* ```
|
858
|
+
*/
|
859
|
+
retrieveMoneyAmount(id: string, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<MoneyAmountDTO>;
|
860
|
+
/**
|
861
|
+
* This method is used to retrieve a paginated list of money amounts based on optional filters and configuration.
|
862
|
+
*
|
863
|
+
* @param {FilterableMoneyAmountProps} filters - The filtes to apply on the retrieved money amounts.
|
864
|
+
* @param {FindConfig<MoneyAmountDTO>} config -
|
865
|
+
* The configurations determining how the money amounts are retrieved. Its properties, such as `select` or `relations`, accept the
|
866
|
+
* attributes or relations associated with a money amount.
|
867
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
868
|
+
* @returns {Promise<MoneyAmountDTO[]>} The list of money amounts.
|
869
|
+
*
|
870
|
+
* @example
|
871
|
+
*
|
872
|
+
* To retrieve a list of money amounts using their IDs:
|
873
|
+
*
|
874
|
+
* ```ts
|
875
|
+
* import {
|
876
|
+
* initialize as initializePricingModule,
|
877
|
+
* } from "@medusajs/pricing"
|
878
|
+
*
|
879
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[]) {
|
880
|
+
* const pricingService = await initializePricingModule()
|
881
|
+
*
|
882
|
+
* const moneyAmounts = await pricingService.listMoneyAmounts(
|
883
|
+
* {
|
884
|
+
* id: moneyAmountIds
|
885
|
+
* }
|
886
|
+
* )
|
887
|
+
*
|
888
|
+
* // do something with the money amounts or return them
|
889
|
+
* }
|
890
|
+
* ```
|
891
|
+
*
|
892
|
+
* To specify relations that should be retrieved within the money amounts:
|
893
|
+
*
|
894
|
+
* ```ts
|
895
|
+
* import {
|
896
|
+
* initialize as initializePricingModule,
|
897
|
+
* } from "@medusajs/pricing"
|
898
|
+
*
|
899
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[]) {
|
900
|
+
* const pricingService = await initializePricingModule()
|
901
|
+
*
|
902
|
+
* const moneyAmounts = await pricingService.listMoneyAmounts(
|
903
|
+
* {
|
904
|
+
* id: moneyAmountIds
|
905
|
+
* },
|
906
|
+
* {
|
907
|
+
* relations: ["price_set_money_amount"]
|
908
|
+
* }
|
909
|
+
* )
|
910
|
+
*
|
911
|
+
* // do something with the money amounts or return them
|
912
|
+
* }
|
913
|
+
* ```
|
914
|
+
*
|
915
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
916
|
+
*
|
917
|
+
* ```ts
|
918
|
+
* import {
|
919
|
+
* initialize as initializePricingModule,
|
920
|
+
* } from "@medusajs/pricing"
|
921
|
+
*
|
922
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[], skip: number, take: number) {
|
923
|
+
* const pricingService = await initializePricingModule()
|
924
|
+
*
|
925
|
+
* const moneyAmounts = await pricingService.listMoneyAmounts(
|
926
|
+
* {
|
927
|
+
* id: moneyAmountIds
|
928
|
+
* },
|
929
|
+
* {
|
930
|
+
* relations: ["price_set_money_amount"],
|
931
|
+
* skip,
|
932
|
+
* take
|
933
|
+
* }
|
934
|
+
* )
|
935
|
+
*
|
936
|
+
* // do something with the money amounts or return them
|
937
|
+
* }
|
938
|
+
* ```
|
939
|
+
*
|
940
|
+
* You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example:
|
941
|
+
*
|
942
|
+
* ```ts
|
943
|
+
* import {
|
944
|
+
* initialize as initializePricingModule,
|
945
|
+
* } from "@medusajs/pricing"
|
946
|
+
*
|
947
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[], currencyCode: string[], skip: number, take: number) {
|
948
|
+
* const pricingService = await initializePricingModule()
|
949
|
+
*
|
950
|
+
* const moneyAmounts = await pricingService.listMoneyAmounts(
|
951
|
+
* {
|
952
|
+
* $and: [
|
953
|
+
* {
|
954
|
+
* id: moneyAmountIds
|
955
|
+
* },
|
956
|
+
* {
|
957
|
+
* currency_code: currencyCode
|
958
|
+
* }
|
959
|
+
* ]
|
960
|
+
* },
|
961
|
+
* {
|
962
|
+
* relations: ["price_set_money_amount"],
|
963
|
+
* skip,
|
964
|
+
* take
|
965
|
+
* }
|
966
|
+
* )
|
967
|
+
*
|
968
|
+
* // do something with the money amounts or return them
|
969
|
+
* }
|
970
|
+
* ```
|
971
|
+
*/
|
972
|
+
listMoneyAmounts(filters?: FilterableMoneyAmountProps, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<MoneyAmountDTO[]>;
|
973
|
+
/**
|
974
|
+
* This method is used to retrieve a paginated list of money amounts along with the total count of available money amounts satisfying the provided filters.
|
975
|
+
*
|
976
|
+
* @param {FilterableMoneyAmountProps} filters - The filters to apply on the retrieved money amounts.
|
977
|
+
* @param {FindConfig<MoneyAmountDTO>} config -
|
978
|
+
* The configurations determining how the money amounts are retrieved. Its properties, such as `select` or `relations`, accept the
|
979
|
+
* attributes or relations associated with a money amount.
|
980
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
981
|
+
* @returns {Promise<[MoneyAmountDTO[], number]>} The list of money amounts along with their total count.
|
982
|
+
*
|
983
|
+
* @example
|
984
|
+
*
|
985
|
+
* To retrieve a list of money amounts using their IDs:
|
986
|
+
*
|
987
|
+
* ```ts
|
988
|
+
* import {
|
989
|
+
* initialize as initializePricingModule,
|
990
|
+
* } from "@medusajs/pricing"
|
991
|
+
*
|
992
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[]) {
|
993
|
+
* const pricingService = await initializePricingModule()
|
994
|
+
*
|
995
|
+
* const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(
|
996
|
+
* {
|
997
|
+
* id: moneyAmountIds
|
998
|
+
* }
|
999
|
+
* )
|
1000
|
+
*
|
1001
|
+
* // do something with the money amounts or return them
|
1002
|
+
* }
|
1003
|
+
* ```
|
1004
|
+
*
|
1005
|
+
* To specify relations that should be retrieved within the money amounts:
|
1006
|
+
*
|
1007
|
+
* ```ts
|
1008
|
+
* import {
|
1009
|
+
* initialize as initializePricingModule,
|
1010
|
+
* } from "@medusajs/pricing"
|
1011
|
+
*
|
1012
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[]) {
|
1013
|
+
* const pricingService = await initializePricingModule()
|
1014
|
+
*
|
1015
|
+
* const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(
|
1016
|
+
* {
|
1017
|
+
* id: moneyAmountIds
|
1018
|
+
* },
|
1019
|
+
* {
|
1020
|
+
* relations: ["price_set_money_amount"]
|
1021
|
+
* }
|
1022
|
+
* )
|
1023
|
+
*
|
1024
|
+
* // do something with the money amounts or return them
|
1025
|
+
* }
|
1026
|
+
* ```
|
1027
|
+
*
|
1028
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
1029
|
+
*
|
1030
|
+
* ```ts
|
1031
|
+
* import {
|
1032
|
+
* initialize as initializePricingModule,
|
1033
|
+
* } from "@medusajs/pricing"
|
1034
|
+
*
|
1035
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[], skip: number, take: number) {
|
1036
|
+
* const pricingService = await initializePricingModule()
|
1037
|
+
*
|
1038
|
+
* const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(
|
1039
|
+
* {
|
1040
|
+
* id: moneyAmountIds
|
1041
|
+
* },
|
1042
|
+
* {
|
1043
|
+
* relations: ["price_set_money_amount"],
|
1044
|
+
* skip,
|
1045
|
+
* take
|
1046
|
+
* }
|
1047
|
+
* )
|
1048
|
+
*
|
1049
|
+
* // do something with the money amounts or return them
|
1050
|
+
* }
|
1051
|
+
* ```
|
1052
|
+
*
|
1053
|
+
* You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example:
|
1054
|
+
*
|
1055
|
+
* ```ts
|
1056
|
+
* import {
|
1057
|
+
* initialize as initializePricingModule,
|
1058
|
+
* } from "@medusajs/pricing"
|
1059
|
+
*
|
1060
|
+
* async function retrieveMoneyAmounts (moneyAmountIds: string[], currencyCode: string[], skip: number, take: number) {
|
1061
|
+
* const pricingService = await initializePricingModule()
|
1062
|
+
*
|
1063
|
+
* const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(
|
1064
|
+
* {
|
1065
|
+
* $and: [
|
1066
|
+
* {
|
1067
|
+
* id: moneyAmountIds
|
1068
|
+
* },
|
1069
|
+
* {
|
1070
|
+
* currency_code: currencyCode
|
1071
|
+
* }
|
1072
|
+
* ]
|
1073
|
+
* },
|
1074
|
+
* {
|
1075
|
+
* relations: ["price_set_money_amount"],
|
1076
|
+
* skip,
|
1077
|
+
* take
|
1078
|
+
* }
|
1079
|
+
* )
|
1080
|
+
*
|
1081
|
+
* // do something with the money amounts or return them
|
1082
|
+
* }
|
1083
|
+
* ```
|
1084
|
+
*/
|
1085
|
+
listAndCountMoneyAmounts(filters?: FilterableMoneyAmountProps, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<[MoneyAmountDTO[], number]>;
|
1086
|
+
/**
|
1087
|
+
* This method creates money amounts.
|
1088
|
+
*
|
1089
|
+
* @param {CreateMoneyAmountDTO[]} data - The money amounts to create.
|
1090
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1091
|
+
* @returns {Promise<MoneyAmountDTO[]>} The list of created money amounts.
|
1092
|
+
*
|
1093
|
+
* @example
|
1094
|
+
* import {
|
1095
|
+
* initialize as initializePricingModule,
|
1096
|
+
* } from "@medusajs/pricing"
|
1097
|
+
*
|
1098
|
+
* async function retrieveMoneyAmounts () {
|
1099
|
+
* const pricingService = await initializePricingModule()
|
1100
|
+
*
|
1101
|
+
* const moneyAmounts = await pricingService.createMoneyAmounts([
|
1102
|
+
* {
|
1103
|
+
* amount: 500,
|
1104
|
+
* currency_code: "USD",
|
1105
|
+
* },
|
1106
|
+
* {
|
1107
|
+
* amount: 400,
|
1108
|
+
* currency_code: "USD",
|
1109
|
+
* min_quantity: 0,
|
1110
|
+
* max_quantity: 4
|
1111
|
+
* }
|
1112
|
+
* ])
|
1113
|
+
*
|
1114
|
+
* // do something with the money amounts or return them
|
1115
|
+
* }
|
1116
|
+
*/
|
1117
|
+
createMoneyAmounts(data: CreateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
|
1118
|
+
createMoneyAmounts(data: CreateMoneyAmountDTO, sharedContext?: Context): Promise<MoneyAmountDTO>;
|
1119
|
+
/**
|
1120
|
+
* This method updates existing money amounts.
|
1121
|
+
*
|
1122
|
+
* @param {UpdateMoneyAmountDTO[]} data - The money amounts to update, each having the attributes that should be updated in a money amount.
|
1123
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1124
|
+
* @returns {Promise<MoneyAmountDTO[]>} The list of updated money amounts.
|
1125
|
+
*
|
1126
|
+
* @example
|
1127
|
+
* import {
|
1128
|
+
* initialize as initializePricingModule,
|
1129
|
+
* } from "@medusajs/pricing"
|
1130
|
+
*
|
1131
|
+
* async function updateMoneyAmounts (moneyAmountId: string, amount: number) {
|
1132
|
+
* const pricingService = await initializePricingModule()
|
1133
|
+
*
|
1134
|
+
* const moneyAmounts = await pricingService.updateMoneyAmounts([
|
1135
|
+
* {
|
1136
|
+
* id: moneyAmountId,
|
1137
|
+
* amount
|
1138
|
+
* }
|
1139
|
+
* ])
|
1140
|
+
*
|
1141
|
+
* // do something with the money amounts or return them
|
1142
|
+
* }
|
1143
|
+
*/
|
1144
|
+
updateMoneyAmounts(data: UpdateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
|
1145
|
+
updateMoneyAmounts(data: UpdateMoneyAmountDTO, sharedContext?: Context): Promise<MoneyAmountDTO>;
|
1146
|
+
/**
|
1147
|
+
* This method deletes money amounts by their IDs.
|
1148
|
+
*
|
1149
|
+
* @param {string[]} ids - The IDs of the money amounts to delete.
|
1150
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1151
|
+
* @returns {Promise<void>} Resolves when the money amounts are successfully deleted.
|
1152
|
+
*
|
1153
|
+
* @example
|
1154
|
+
* import {
|
1155
|
+
* initialize as initializePricingModule,
|
1156
|
+
* } from "@medusajs/pricing"
|
1157
|
+
*
|
1158
|
+
* async function deleteMoneyAmounts (moneyAmountIds: string[]) {
|
1159
|
+
* const pricingService = await initializePricingModule()
|
1160
|
+
*
|
1161
|
+
* await pricingService.deleteMoneyAmounts(
|
1162
|
+
* moneyAmountIds
|
1163
|
+
* )
|
1164
|
+
* }
|
1165
|
+
*/
|
1166
|
+
deleteMoneyAmounts(ids: string[], sharedContext?: Context): Promise<void>;
|
1167
|
+
/**
|
1168
|
+
* This method soft deletes money amounts by their IDs.
|
1169
|
+
*
|
1170
|
+
* @param {string[]} ids - The IDs of the money amounts to delete.
|
1171
|
+
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config
|
1172
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1173
|
+
* @returns {Promise<void>} Resolves when the money amounts are successfully deleted.
|
1174
|
+
*
|
1175
|
+
* @example
|
1176
|
+
* import {
|
1177
|
+
* initialize as initializePricingModule,
|
1178
|
+
* } from "@medusajs/pricing"
|
1179
|
+
*
|
1180
|
+
* async function softDeleteMoneyAmounts (moneyAmountIds: string[]) {
|
1181
|
+
* const pricingService = await initializePricingModule()
|
1182
|
+
*
|
1183
|
+
* await pricingService.softDeleteMoneyAmounts(
|
1184
|
+
* moneyAmountIds
|
1185
|
+
* )
|
1186
|
+
* }
|
1187
|
+
*/
|
1188
|
+
softDeleteMoneyAmounts<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
1189
|
+
/**
|
1190
|
+
* This method restores soft deleted money amounts by their IDs.
|
1191
|
+
*
|
1192
|
+
* @param {string[]} ids - The IDs of the money amounts to delete.
|
1193
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config -
|
1194
|
+
* Configurations determining which relations to restore along with each of the money amounts. You can pass to its `returnLinkableKeys`
|
1195
|
+
* property any of the money amount's relation attribute names, such as `price_set_money_amount`.
|
1196
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1197
|
+
* @returns {Promise<Record<string, string[]> | void>}
|
1198
|
+
* An object that includes the IDs of related records that were restored, such as the ID of associated price set money amounts.
|
1199
|
+
* The object's keys are the ID attribute names of the money amount entity's relations, such as `price_set_money_amount_id`,
|
1200
|
+
* and its value is an array of strings, each being the ID of the record associated with the money amount through this relation,
|
1201
|
+
* such as the IDs of associated price set money amounts.
|
1202
|
+
*
|
1203
|
+
* @example
|
1204
|
+
* import {
|
1205
|
+
* initialize as initializePricingModule,
|
1206
|
+
* } from "@medusajs/pricing"
|
1207
|
+
*
|
1208
|
+
* async function softDeleteMoneyAmounts (moneyAmountIds: string[]) {
|
1209
|
+
* const pricingService = await initializePricingModule()
|
1210
|
+
*
|
1211
|
+
* await pricingService.softDeleteMoneyAmounts(
|
1212
|
+
* moneyAmountIds
|
1213
|
+
* )
|
1214
|
+
* }
|
1215
|
+
*/
|
1216
|
+
restoreMoneyAmounts<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
809
1217
|
/**
|
810
1218
|
* This method is used to retrieve a rule type by its ID and and optionally based on the provided configurations.
|
811
1219
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/pricing/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MA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;;;;;;;;;;;;;;;;;;;OA0BG;IACH,kBAAkB,CAChB,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;IAE1B,qBAAqB,CACnB,IAAI,EAAE,wBAAwB,EAAE,EAChC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;IAE1B;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,iBAAiB,CACf,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oBAAoB,CAClB,IAAI,EAAE,uBAAuB,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/pricing/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,E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