@medusajs/types 3.0.0-snapshot-20251211181725 → 3.0.0-snapshot-20251212092246
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/file/provider.d.ts +29 -1
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/service.d.ts +13 -3
- package/dist/file/service.d.ts.map +1 -1
- package/dist/http/collection/admin/entities.d.ts +0 -5
- package/dist/http/collection/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/responses.d.ts +6 -0
- package/dist/http/order/admin/responses.d.ts.map +1 -1
- package/dist/http/product/admin/entitites.d.ts +0 -9
- package/dist/http/product/admin/entitites.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +20 -0
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/admin/entities.d.ts +0 -5
- package/dist/http/product-category/admin/entities.d.ts.map +1 -1
- package/dist/http/product-tag/admin/entities.d.ts +0 -5
- package/dist/http/product-tag/admin/entities.d.ts.map +1 -1
- package/dist/http/product-type/admin/entities.d.ts +0 -5
- package/dist/http/product-type/admin/entities.d.ts.map +1 -1
- package/dist/http/translations/admin/index.d.ts +0 -1
- package/dist/http/translations/admin/index.d.ts.map +1 -1
- package/dist/http/translations/admin/index.js +0 -1
- package/dist/http/translations/admin/index.js.map +1 -1
- package/dist/translation/mutations.d.ts +22 -12
- package/dist/translation/mutations.d.ts.map +1 -1
- package/dist/translation/service.d.ts +3 -3
- package/dist/translation/service.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/http/translations/admin/payloads.d.ts +0 -44
- package/dist/http/translations/admin/payloads.d.ts.map +0 -1
- package/dist/http/translations/admin/payloads.js +0 -3
- package/dist/http/translations/admin/payloads.js.map +0 -1
package/dist/file/provider.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Readable } from "stream";
|
|
1
|
+
import { Readable, Writable } from "stream";
|
|
2
2
|
import { FileAccessPermission } from "./common";
|
|
3
3
|
/**
|
|
4
4
|
* @interface
|
|
@@ -97,6 +97,25 @@ export type ProviderGetPresignedUploadUrlDTO = {
|
|
|
97
97
|
*/
|
|
98
98
|
expiresIn?: number;
|
|
99
99
|
};
|
|
100
|
+
/**
|
|
101
|
+
* @interface
|
|
102
|
+
*
|
|
103
|
+
* The details of the file to upload via a stream.
|
|
104
|
+
*/
|
|
105
|
+
export type ProviderUploadStreamDTO = {
|
|
106
|
+
/**
|
|
107
|
+
* The filename of the uploaded file
|
|
108
|
+
*/
|
|
109
|
+
filename: string;
|
|
110
|
+
/**
|
|
111
|
+
* The mimetype of the uploaded file
|
|
112
|
+
*/
|
|
113
|
+
mimeType: string;
|
|
114
|
+
/**
|
|
115
|
+
* The access level of the file. Defaults to private if not passed
|
|
116
|
+
*/
|
|
117
|
+
access?: FileAccessPermission;
|
|
118
|
+
};
|
|
100
119
|
export interface IFileProvider {
|
|
101
120
|
/**
|
|
102
121
|
* This method is used to upload a file
|
|
@@ -157,5 +176,14 @@ export interface IFileProvider {
|
|
|
157
176
|
* Get the file contents as a Node.js Buffer
|
|
158
177
|
*/
|
|
159
178
|
getAsBuffer(fileData: ProviderGetFileDTO): Promise<Buffer>;
|
|
179
|
+
/**
|
|
180
|
+
* Get a writeable stream to upload a file.
|
|
181
|
+
*/
|
|
182
|
+
getUploadStream(fileData: ProviderUploadStreamDTO): Promise<{
|
|
183
|
+
writeStream: Writable;
|
|
184
|
+
promise: Promise<ProviderFileResultDTO>;
|
|
185
|
+
url: string;
|
|
186
|
+
fileKey: string;
|
|
187
|
+
}>;
|
|
160
188
|
}
|
|
161
189
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/file/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,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AQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAA;CAC9B,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;IAEnE;;;;;;OAMG;IACH,MAAM,CACJ,QAAQ,EAAE,qBAAqB,GAAG,qBAAqB,EAAE,GACxD,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB;;;;;;;;OAQG;IACH,uBAAuB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEtE;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,qBAAqB,CAAC,CACpB,QAAQ,EAAE,gCAAgC,GACzC,OAAO,CAAC,qBAAqB,CAAC,CAAA;IAEjC;;OAEG;IACH,iBAAiB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAElE;;OAEG;IACH,WAAW,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAE1D;;OAEG;IACH,eAAe,CAAC,QAAQ,EAAE,uBAAuB,GAAG,OAAO,CAAC;QAC1D,WAAW,EAAE,QAAQ,CAAA;QACrB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAA;QACvC,GAAG,EAAE,MAAM,CAAA;QACX,OAAO,EAAE,MAAM,CAAA;KAChB,CAAC,CAAA;CACH"}
|
package/dist/file/service.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { Writable } from "stream";
|
|
1
2
|
import { Readable } from "stream";
|
|
2
|
-
import { IModuleService } from "../modules-sdk";
|
|
3
|
-
import { FileDTO, FilterableFileProps, UploadFileUrlDTO } from "./common";
|
|
4
3
|
import { FindConfig } from "../common";
|
|
4
|
+
import { IModuleService } from "../modules-sdk";
|
|
5
5
|
import { Context } from "../shared-context";
|
|
6
|
-
import {
|
|
6
|
+
import { FileDTO, FilterableFileProps, UploadFileUrlDTO } from "./common";
|
|
7
7
|
import { CreateFileDTO, GetUploadFileUrlDTO } from "./mutations";
|
|
8
|
+
import { IFileProvider, ProviderFileResultDTO, ProviderUploadStreamDTO } from "./provider";
|
|
8
9
|
export interface IFileModuleService extends IModuleService {
|
|
9
10
|
/**
|
|
10
11
|
* This method returns the service of the configured File Module Provider in `medusa-config.ts`. This is useful
|
|
@@ -168,5 +169,14 @@ export interface IFileModuleService extends IModuleService {
|
|
|
168
169
|
* contents.toString('utf-8')
|
|
169
170
|
*/
|
|
170
171
|
getAsBuffer(id: string, sharedContext?: Context): Promise<Buffer>;
|
|
172
|
+
/**
|
|
173
|
+
* Get a writeable stream to upload a file.
|
|
174
|
+
*/
|
|
175
|
+
getUploadStream(fileData: ProviderUploadStreamDTO): Promise<{
|
|
176
|
+
writeStream: Writable;
|
|
177
|
+
promise: Promise<ProviderFileResultDTO>;
|
|
178
|
+
url: string;
|
|
179
|
+
fileKey: string;
|
|
180
|
+
}>;
|
|
171
181
|
}
|
|
172
182
|
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,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AO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;OAYG;IACH,SAAS,CACP,OAAO,CAAC,EAAE,mBAAmB,EAC7B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAErB;;;;;;;;;;;;OAYG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,mBAAmB,EAC7B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAE/B;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAEzE;;;;;;;;;;;;;OAaG;IACH,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjE;;OAEG;IACH,eAAe,CAAC,QAAQ,EAAE,uBAAuB,GAAG,OAAO,CAAC;QAC1D,WAAW,EAAE,QAAQ,CAAA;QACrB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAA;QACvC,GAAG,EAAE,MAAM,CAAA;QACX,OAAO,EAAE,MAAM,CAAA;KAChB,CAAC,CAAA;CACH"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { BaseCollection } from "../common";
|
|
2
|
-
import { AdminTranslation } from "../../translations";
|
|
3
2
|
export interface AdminCollection extends BaseCollection {
|
|
4
|
-
/**
|
|
5
|
-
* The collection's translations.
|
|
6
|
-
*/
|
|
7
|
-
translations?: AdminTranslation[] | null;
|
|
8
3
|
}
|
|
9
4
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG"}
|
|
@@ -36,4 +36,10 @@ export interface AdminOrderPreviewResponse {
|
|
|
36
36
|
*/
|
|
37
37
|
order: AdminOrderPreview;
|
|
38
38
|
}
|
|
39
|
+
export interface AdminExportOrderResponse {
|
|
40
|
+
/**
|
|
41
|
+
* The ID of the export order workflow's transaction.
|
|
42
|
+
*/
|
|
43
|
+
transaction_id: string;
|
|
44
|
+
}
|
|
39
45
|
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,aAAa,EAAE,gBAAgB,EAAE,CAAA;CAClC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD;;OAEG;IACH,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAA;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAA;CACzB"}
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,aAAa,EAAE,gBAAgB,EAAE,CAAA;CAClC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD;;OAEG;IACH,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAA;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -6,7 +6,6 @@ import { AdminProductTag } from "../../product-tag";
|
|
|
6
6
|
import { AdminProductType } from "../../product-type";
|
|
7
7
|
import { AdminSalesChannel } from "../../sales-channel";
|
|
8
8
|
import { AdminShippingProfile } from "../../shipping-profile";
|
|
9
|
-
import { AdminTranslation } from "../../translations";
|
|
10
9
|
import { BaseProduct, BaseProductImage, BaseProductOption, BaseProductOptionValue, BaseProductVariant, ProductStatus } from "../common";
|
|
11
10
|
export interface AdminProductVariantInventoryItemLink {
|
|
12
11
|
/**
|
|
@@ -47,10 +46,6 @@ export interface AdminProductVariant extends BaseProductVariant {
|
|
|
47
46
|
* The product that this variant belongs to.
|
|
48
47
|
*/
|
|
49
48
|
product?: AdminProduct | null;
|
|
50
|
-
/**
|
|
51
|
-
* The product variant's translations.
|
|
52
|
-
*/
|
|
53
|
-
translations?: AdminTranslation[] | null;
|
|
54
49
|
/**
|
|
55
50
|
* The variant's inventory items.
|
|
56
51
|
*/
|
|
@@ -103,10 +98,6 @@ export interface AdminProduct extends Omit<BaseProduct, "categories" | "variants
|
|
|
103
98
|
* The product's variants.
|
|
104
99
|
*/
|
|
105
100
|
variants: AdminProductVariant[] | null;
|
|
106
|
-
/**
|
|
107
|
-
* The product's translations.
|
|
108
|
-
*/
|
|
109
|
-
translations?: AdminTranslation[] | null;
|
|
110
101
|
/**
|
|
111
102
|
* The product's type.
|
|
112
103
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA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face StoreProductPricingContext {
|
|
|
23
23
|
cart_id?: string;
|
|
24
24
|
}
|
|
25
25
|
export interface StoreProductParams extends SelectParams, StoreProductPricingContext {
|
|
26
|
+
/**
|
|
27
|
+
* The locale code in BCP 47 format. Information of the
|
|
28
|
+
* product and related entities will be localized based on the provided locale.
|
|
29
|
+
*
|
|
30
|
+
* Learn more in the [Serve Translations in Storefront](https://docs.medusajs.com/resources/commerce-modules/translations/storefront) guide.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* "en-US"
|
|
34
|
+
*/
|
|
35
|
+
locale?: string;
|
|
26
36
|
}
|
|
27
37
|
export interface StoreProductListParams extends Omit<BaseProductListParams, "tags" | "status" | "categories" | "deleted_at" | "with_deleted">, StoreProductPricingContext {
|
|
28
38
|
/**
|
|
@@ -33,5 +43,15 @@ export interface StoreProductListParams extends Omit<BaseProductListParams, "tag
|
|
|
33
43
|
* Filter by the product's variants.
|
|
34
44
|
*/
|
|
35
45
|
variants?: Pick<StoreProductVariantParams, "options">;
|
|
46
|
+
/**
|
|
47
|
+
* The locale code in BCP 47 format. Information of the
|
|
48
|
+
* product and related entities will be localized based on the provided locale.
|
|
49
|
+
*
|
|
50
|
+
* Learn more in the [Serve Translations in Storefront](https://docs.medusajs.com/resources/commerce-modules/translations/storefront) guide.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* "en-US"
|
|
54
|
+
*/
|
|
55
|
+
locale?: string;
|
|
36
56
|
}
|
|
37
57
|
//# sourceMappingURL=queries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAA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C,yBAAyB,EAAE,SAAS,CAAC,CAAA;IACrD;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AdminProduct } from "../../product";
|
|
2
|
-
import { AdminTranslation } from "../../translations";
|
|
3
2
|
import { BaseProductCategory } from "../common";
|
|
4
3
|
export interface AdminProductCategory extends Omit<BaseProductCategory, "products" | "category_children" | "parent_category"> {
|
|
5
4
|
/**
|
|
@@ -14,9 +13,5 @@ export interface AdminProductCategory extends Omit<BaseProductCategory, "product
|
|
|
14
13
|
* The products that belong to this category.
|
|
15
14
|
*/
|
|
16
15
|
products?: AdminProduct[];
|
|
17
|
-
/**
|
|
18
|
-
* The category's translations.
|
|
19
|
-
*/
|
|
20
|
-
translations?: AdminTranslation[] | null;
|
|
21
16
|
}
|
|
22
17
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE/C,MAAM,WAAW,oBACf,SAAQ,IAAI,CACV,mBAAmB,EACnB,UAAU,GAAG,mBAAmB,GAAG,iBAAiB,CACrD;IACD;;OAEG;IACH,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;IACzC;;OAEG;IACH,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAA;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;CAC1B"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { BaseProductTag } from "../common";
|
|
2
|
-
import { AdminTranslation } from "../../translations";
|
|
3
2
|
export interface AdminProductTag extends BaseProductTag {
|
|
4
|
-
/**
|
|
5
|
-
* The tag's translations.
|
|
6
|
-
*/
|
|
7
|
-
translations?: AdminTranslation[] | null;
|
|
8
3
|
}
|
|
9
4
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-tag/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-tag/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import { AdminTranslation } from "../../translations";
|
|
2
1
|
import { BaseProductType } from "../common";
|
|
3
2
|
export interface AdminProductType extends BaseProductType {
|
|
4
|
-
/**
|
|
5
|
-
* The product type's translations.
|
|
6
|
-
*/
|
|
7
|
-
translations?: AdminTranslation[] | null;
|
|
8
3
|
}
|
|
9
4
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-type/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-type/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
|
|
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./queries"), exports);
|
|
18
18
|
__exportStar(require("./responses"), exports);
|
|
19
19
|
__exportStar(require("./entities"), exports);
|
|
20
|
-
__exportStar(require("./payloads"), exports);
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,6CAA0B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,6CAA0B"}
|
|
@@ -16,13 +16,9 @@ export interface CreateLocaleDTO {
|
|
|
16
16
|
name: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* The
|
|
19
|
+
* The data to update in the locale.
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
22
|
-
/**
|
|
23
|
-
* The ID of the locale to update.
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
21
|
+
export interface UpdateLocaleDataDTO {
|
|
26
22
|
/**
|
|
27
23
|
* The BCP 47 language tag code of the locale.
|
|
28
24
|
*/
|
|
@@ -32,6 +28,15 @@ export interface UpdateLocaleDTO {
|
|
|
32
28
|
*/
|
|
33
29
|
name?: string;
|
|
34
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* The attributes to update in the locale.
|
|
33
|
+
*/
|
|
34
|
+
export interface UpdateLocaleDTO extends UpdateLocaleDataDTO {
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the locale to update.
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
}
|
|
35
40
|
/**
|
|
36
41
|
* The attributes in the locale to be created or updated.
|
|
37
42
|
*/
|
|
@@ -71,13 +76,9 @@ export interface CreateTranslationDTO {
|
|
|
71
76
|
translations: Record<string, unknown>;
|
|
72
77
|
}
|
|
73
78
|
/**
|
|
74
|
-
* The attributes to update in
|
|
79
|
+
* The attributes to update in translations matching a selector.
|
|
75
80
|
*/
|
|
76
|
-
export interface
|
|
77
|
-
/**
|
|
78
|
-
* The ID of the translation to update.
|
|
79
|
-
*/
|
|
80
|
-
id: string;
|
|
81
|
+
export interface UpdateTranslationDataDTO {
|
|
81
82
|
/**
|
|
82
83
|
* The ID of the entity being translated.
|
|
83
84
|
*/
|
|
@@ -95,6 +96,15 @@ export interface UpdateTranslationDTO {
|
|
|
95
96
|
*/
|
|
96
97
|
translations?: Record<string, unknown>;
|
|
97
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* The attributes to update in the translation.
|
|
101
|
+
*/
|
|
102
|
+
export interface UpdateTranslationDTO extends UpdateTranslationDataDTO {
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the translation to update.
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
}
|
|
98
108
|
/**
|
|
99
109
|
* The attributes in the translation to be created or updated.
|
|
100
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/translation/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/translation/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IAC1D;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB;IACpE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACvC"}
|
|
@@ -3,7 +3,7 @@ import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
|
|
3
3
|
import { IModuleService } from "../modules-sdk";
|
|
4
4
|
import { Context } from "../shared-context";
|
|
5
5
|
import { FilterableLocaleProps, FilterableTranslationProps, LocaleDTO, TranslationDTO } from "./common";
|
|
6
|
-
import { CreateLocaleDTO, CreateTranslationDTO, UpdateLocaleDTO, UpdateTranslationDTO } from "./mutations";
|
|
6
|
+
import { CreateLocaleDTO, CreateTranslationDTO, UpdateLocaleDTO, UpdateLocaleDataDTO, UpdateTranslationDTO, UpdateTranslationDataDTO } from "./mutations";
|
|
7
7
|
/**
|
|
8
8
|
* The main service interface for the Translation Module.
|
|
9
9
|
* Method signatures match what MedusaService generates.
|
|
@@ -69,7 +69,7 @@ export interface ITranslationModuleService extends IModuleService {
|
|
|
69
69
|
*/
|
|
70
70
|
updateLocales(dataOrOptions: UpdateLocaleDTO[] | {
|
|
71
71
|
selector: Record<string, any>;
|
|
72
|
-
data:
|
|
72
|
+
data: UpdateLocaleDataDTO | UpdateLocaleDataDTO[];
|
|
73
73
|
}, sharedContext?: Context): Promise<LocaleDTO[]>;
|
|
74
74
|
/**
|
|
75
75
|
* This method deletes locales by their IDs or objects.
|
|
@@ -157,7 +157,7 @@ export interface ITranslationModuleService extends IModuleService {
|
|
|
157
157
|
*/
|
|
158
158
|
updateTranslations(dataOrOptions: UpdateTranslationDTO[] | {
|
|
159
159
|
selector: Record<string, any>;
|
|
160
|
-
data:
|
|
160
|
+
data: UpdateTranslationDataDTO | UpdateTranslationDataDTO[];
|
|
161
161
|
}, sharedContext?: Context): Promise<TranslationDTO[]>;
|
|
162
162
|
/**
|
|
163
163
|
* This method deletes translations by their IDs or objects.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/translation/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,SAAS,EACT,cAAc,EACf,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,oBAAoB,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/translation/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,SAAS,EACT,cAAc,EACf,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,wBAA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OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;OAOG;IACH,mBAAmB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACjE,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,EACvD,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/analytics/index.ts","../src/analytics/mutations.ts","../src/analytics/provider.ts","../src/analytics/service.ts","../src/analytics/providers/index.ts","../src/analytics/providers/local.ts","../src/analytics/providers/posthog.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/caching/index.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-file.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/common/__tests__/pluralize.spec.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/cart.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/order.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/draft-order/index.ts","../src/http/draft-order/admin/entities.ts","../src/http/draft-order/admin/index.ts","../src/http/draft-order/admin/payloads.ts","../src/http/draft-order/admin/queries.ts","../src/http/draft-order/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/index/index.ts","../src/http/index/admin/payload.ts","../src/http/index/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/locale/common.ts","../src/http/locale/index.ts","../src/http/locale/admin/entities.ts","../src/http/locale/admin/index.ts","../src/http/locale/admin/queries.ts","../src/http/locale/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/payloads.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/plugins/index.ts","../src/http/plugins/admin/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/pricing/store/entities.ts","../src/http/pricing/store/index.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-tag/store/responses.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/product-type/store/queries.ts","../src/http/product-type/store/responses.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/refund-reason/common.ts","../src/http/refund-reason/index.ts","../src/http/refund-reason/admin/entities.ts","../src/http/refund-reason/admin/index.ts","../src/http/refund-reason/admin/payloads.ts","../src/http/refund-reason/admin/queries.ts","../src/http/refund-reason/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/payloads.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-provider/index.ts","../src/http/tax-provider/admin/entities.ts","../src/http/tax-provider/admin/index.ts","../src/http/tax-provider/admin/queries.ts","../src/http/tax-provider/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/translations/index.ts","../src/http/translations/admin/entities.ts","../src/http/translations/admin/index.ts","../src/http/translations/admin/payloads.ts","../src/http/translations/admin/queries.ts","../src/http/translations/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/view-configuration/index.ts","../src/http/view-configuration/admin/columns.ts","../src/http/view-configuration/admin/index.ts","../src/http/view-configuration/admin/payloads.ts","../src/http/view-configuration/admin/queries.ts","../src/http/view-configuration/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/storage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/campaing-budget-usage.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/settings/common.ts","../src/settings/index.ts","../src/settings/mutations.ts","../src/settings/service.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/translation/common.ts","../src/translation/index.ts","../src/translation/mutations.ts","../src/translation/service.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/calculate-shipping-options-prices.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/accept-transfer.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/cancel-transfer.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/decline-transfer.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/request-transfer.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-order.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/analytics/index.ts","../src/analytics/mutations.ts","../src/analytics/provider.ts","../src/analytics/service.ts","../src/analytics/providers/index.ts","../src/analytics/providers/local.ts","../src/analytics/providers/posthog.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/caching/index.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-file.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/common/__tests__/pluralize.spec.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/cart.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/order.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/draft-order/index.ts","../src/http/draft-order/admin/entities.ts","../src/http/draft-order/admin/index.ts","../src/http/draft-order/admin/payloads.ts","../src/http/draft-order/admin/queries.ts","../src/http/draft-order/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/index/index.ts","../src/http/index/admin/payload.ts","../src/http/index/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/locale/common.ts","../src/http/locale/index.ts","../src/http/locale/admin/entities.ts","../src/http/locale/admin/index.ts","../src/http/locale/admin/queries.ts","../src/http/locale/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/payloads.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/plugins/index.ts","../src/http/plugins/admin/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/pricing/store/entities.ts","../src/http/pricing/store/index.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-tag/store/responses.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/product-type/store/queries.ts","../src/http/product-type/store/responses.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/refund-reason/common.ts","../src/http/refund-reason/index.ts","../src/http/refund-reason/admin/entities.ts","../src/http/refund-reason/admin/index.ts","../src/http/refund-reason/admin/payloads.ts","../src/http/refund-reason/admin/queries.ts","../src/http/refund-reason/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/payloads.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-provider/index.ts","../src/http/tax-provider/admin/entities.ts","../src/http/tax-provider/admin/index.ts","../src/http/tax-provider/admin/queries.ts","../src/http/tax-provider/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/translations/index.ts","../src/http/translations/admin/entities.ts","../src/http/translations/admin/index.ts","../src/http/translations/admin/queries.ts","../src/http/translations/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/view-configuration/index.ts","../src/http/view-configuration/admin/columns.ts","../src/http/view-configuration/admin/index.ts","../src/http/view-configuration/admin/payloads.ts","../src/http/view-configuration/admin/queries.ts","../src/http/view-configuration/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/storage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/campaing-budget-usage.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/settings/common.ts","../src/settings/index.ts","../src/settings/mutations.ts","../src/settings/service.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/translation/common.ts","../src/translation/index.ts","../src/translation/mutations.ts","../src/translation/service.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/calculate-shipping-options-prices.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/accept-transfer.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/cancel-transfer.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/decline-transfer.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/request-transfer.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-order.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/types",
|
|
3
|
-
"version": "3.0.0-snapshot-
|
|
3
|
+
"version": "3.0.0-snapshot-20251212092246",
|
|
4
4
|
"description": "Medusa Types definition",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"bignumber.js": "^9.1.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@medusajs/deps": "3.0.0-snapshot-
|
|
38
|
+
"@medusajs/deps": "3.0.0-snapshot-20251212092246"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"ioredis": "^5.4.1",
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
interface AdminCreateTranslation {
|
|
2
|
-
/**
|
|
3
|
-
* The ID of the entity being translated.
|
|
4
|
-
*/
|
|
5
|
-
reference_id: string;
|
|
6
|
-
/**
|
|
7
|
-
* The type of entity being translated (e.g., "product", "product_variant").
|
|
8
|
-
*/
|
|
9
|
-
reference: string;
|
|
10
|
-
/**
|
|
11
|
-
* The BCP 47 language tag code for this translation (e.g., "en-US", "fr-FR").
|
|
12
|
-
*/
|
|
13
|
-
locale_code: string;
|
|
14
|
-
/**
|
|
15
|
-
* The translated fields as key-value pairs.
|
|
16
|
-
*/
|
|
17
|
-
translations: Record<string, unknown>;
|
|
18
|
-
}
|
|
19
|
-
interface AdminUpdateTranslation {
|
|
20
|
-
/**
|
|
21
|
-
* The ID of the translation.
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* The translated fields as key-value pairs.
|
|
26
|
-
*/
|
|
27
|
-
translations: Record<string, unknown>;
|
|
28
|
-
}
|
|
29
|
-
export interface AdminBatchTranslations {
|
|
30
|
-
/**
|
|
31
|
-
* The translations to create.
|
|
32
|
-
*/
|
|
33
|
-
create?: AdminCreateTranslation[];
|
|
34
|
-
/**
|
|
35
|
-
* The translations to update.
|
|
36
|
-
*/
|
|
37
|
-
update?: AdminUpdateTranslation[];
|
|
38
|
-
/**
|
|
39
|
-
* The translations to delete.
|
|
40
|
-
*/
|
|
41
|
-
delete?: string[];
|
|
42
|
-
}
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=payloads.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,UAAU,sBAAsB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/payloads.ts"],"names":[],"mappings":""}
|