@medusajs/types 1.12.0-snapshot-20240429062340 → 1.12.0-snapshot-20240516091433
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundles.d.ts +1 -0
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +2 -1
- package/dist/bundles.js.map +1 -1
- package/dist/cart/common.d.ts +1 -1
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/mutations.d.ts +8 -0
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/service.d.ts +1 -1
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/cart/workflows.d.ts +34 -0
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/common/common.d.ts +8 -1
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +39 -2
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +1 -1
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +2 -2
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +10 -0
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +1 -1
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/fulfillment/workflows.d.ts +4 -1
- package/dist/fulfillment/workflows.d.ts.map +1 -1
- package/dist/http/campaign/admin/campaign.d.ts +3 -2
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
- package/dist/http/product-category/admin.d.ts +15 -0
- package/dist/http/product-category/admin.d.ts.map +1 -0
- package/dist/http/product-category/{admin/product-category.js → admin.js} +1 -1
- package/dist/http/product-category/admin.js.map +1 -0
- package/dist/http/product-category/common.d.ts +18 -0
- package/dist/http/product-category/common.d.ts.map +1 -0
- package/dist/http/product-category/common.js +3 -0
- package/dist/http/product-category/common.js.map +1 -0
- package/dist/http/product-category/index.d.ts +1 -0
- package/dist/http/product-category/index.d.ts.map +1 -1
- package/dist/http/product-category/index.js +1 -0
- package/dist/http/product-category/index.js.map +1 -1
- package/dist/http/product-category/store.d.ts +15 -0
- package/dist/http/product-category/store.d.ts.map +1 -0
- package/dist/http/product-category/store.js +3 -0
- package/dist/http/product-category/store.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/inventory/mutations/reservation-item.d.ts +4 -0
- package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +10 -12
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/internal-module-service.d.ts +1 -1
- package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
- package/dist/notification/common.d.ts +134 -0
- package/dist/notification/common.d.ts.map +1 -0
- package/dist/notification/common.js +3 -0
- package/dist/notification/common.js.map +1 -0
- package/dist/notification/index.d.ts +6 -0
- package/dist/notification/index.d.ts.map +1 -0
- package/dist/notification/index.js +22 -0
- package/dist/notification/index.js.map +1 -0
- package/dist/notification/mutations.d.ts +49 -0
- package/dist/notification/mutations.d.ts.map +1 -0
- package/dist/notification/mutations.js +3 -0
- package/dist/notification/mutations.js.map +1 -0
- package/dist/notification/provider.d.ts +51 -0
- package/dist/notification/provider.d.ts.map +1 -0
- package/dist/notification/provider.js +3 -0
- package/dist/notification/provider.js.map +1 -0
- package/dist/notification/providers/index.d.ts +3 -0
- package/dist/notification/providers/index.d.ts.map +1 -0
- package/dist/{http/product-category/admin → notification/providers}/index.js +2 -1
- package/dist/notification/providers/index.js.map +1 -0
- package/dist/notification/providers/logger.d.ts +3 -0
- package/dist/notification/providers/logger.d.ts.map +1 -0
- package/dist/notification/providers/logger.js +3 -0
- package/dist/notification/providers/logger.js.map +1 -0
- package/dist/notification/providers/sendgrid.d.ts +5 -0
- package/dist/notification/providers/sendgrid.d.ts.map +1 -0
- package/dist/notification/providers/sendgrid.js +3 -0
- package/dist/notification/providers/sendgrid.js.map +1 -0
- package/dist/notification/service.d.ts +177 -0
- package/dist/notification/service.d.ts.map +1 -0
- package/dist/notification/service.js +3 -0
- package/dist/notification/service.js.map +1 -0
- package/dist/order/common.d.ts +90 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +70 -21
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/mutations.js +0 -1
- package/dist/order/mutations.js.map +1 -1
- package/dist/order/service.d.ts +23 -2
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/service.d.ts +1 -0
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/pricing/common/index.d.ts +1 -0
- package/dist/pricing/common/index.d.ts.map +1 -1
- package/dist/pricing/common/index.js +1 -0
- package/dist/pricing/common/index.js.map +1 -1
- package/dist/pricing/common/pricing-context.d.ts +7 -0
- package/dist/pricing/common/pricing-context.d.ts.map +1 -0
- package/dist/pricing/common/pricing-context.js +3 -0
- package/dist/pricing/common/pricing-context.js.map +1 -0
- package/dist/product/common.d.ts +0 -12
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +1 -1
- package/dist/promotion/common/campaign.d.ts +5 -0
- package/dist/promotion/common/campaign.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +5 -1
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/mutations.d.ts +24 -12
- package/dist/promotion/mutations.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +7 -1
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/workflow/product/create-product-variants.d.ts +0 -1
- package/dist/workflow/product/create-product-variants.d.ts.map +1 -1
- package/dist/workflow/product/create-products.d.ts +0 -1
- package/dist/workflow/product/create-products.d.ts.map +1 -1
- package/dist/workflow/product/update-product-variants.d.ts +0 -1
- package/dist/workflow/product/update-product-variants.d.ts.map +1 -1
- package/dist/workflow/product/update-products.d.ts +0 -1
- package/dist/workflow/product/update-products.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/http/product-category/admin/index.d.ts +0 -2
- package/dist/http/product-category/admin/index.d.ts.map +0 -1
- package/dist/http/product-category/admin/index.js.map +0 -1
- package/dist/http/product-category/admin/product-category.d.ts +0 -32
- package/dist/http/product-category/admin/product-category.d.ts.map +0 -1
- package/dist/http/product-category/admin/product-category.js.map +0 -1
@@ -39,6 +39,10 @@ export interface PromotionDTO {
|
|
39
39
|
* The rules of the promotion.
|
40
40
|
*/
|
41
41
|
rules?: PromotionRuleDTO[];
|
42
|
+
/**
|
43
|
+
* The associated campaign.
|
44
|
+
*/
|
45
|
+
campaign_id?: string | null;
|
42
46
|
/**
|
43
47
|
* The associated campaign.
|
44
48
|
*/
|
@@ -108,7 +112,7 @@ export interface UpdatePromotionDTO {
|
|
108
112
|
/**
|
109
113
|
* The associated campaign's ID.
|
110
114
|
*/
|
111
|
-
campaign_id?: string;
|
115
|
+
campaign_id?: string | null;
|
112
116
|
}
|
113
117
|
/**
|
114
118
|
* The filters to apply on the retrieved promotions.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEvD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;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G;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAE1B;;OAEG;IACH,kBAAkB,CAAC,EAAE,0BAA0B,CAAA;IAE/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE1C;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAC7B"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CampaignBudgetTypeValues
|
1
|
+
import { CampaignBudgetTypeValues } from "./common";
|
2
2
|
/**
|
3
3
|
* The campaign budget to be created.
|
4
4
|
*/
|
@@ -6,11 +6,11 @@ export interface CreateCampaignBudgetDTO {
|
|
6
6
|
/**
|
7
7
|
* The type of the campaign budget.
|
8
8
|
*/
|
9
|
-
type
|
9
|
+
type?: CampaignBudgetTypeValues;
|
10
10
|
/**
|
11
11
|
* The limit of the campaign budget.
|
12
12
|
*/
|
13
|
-
limit
|
13
|
+
limit?: number;
|
14
14
|
/**
|
15
15
|
* How much is used of the campaign budget.
|
16
16
|
*/
|
@@ -31,7 +31,7 @@ export interface UpdateCampaignBudgetDTO {
|
|
31
31
|
/**
|
32
32
|
* The limit of the campaign budget.
|
33
33
|
*/
|
34
|
-
limit?: number
|
34
|
+
limit?: number;
|
35
35
|
/**
|
36
36
|
* How much is used of the campaign budget.
|
37
37
|
*/
|
@@ -60,19 +60,15 @@ export interface CreateCampaignDTO {
|
|
60
60
|
/**
|
61
61
|
* The start date of the campaign.
|
62
62
|
*/
|
63
|
-
starts_at
|
63
|
+
starts_at?: Date;
|
64
64
|
/**
|
65
65
|
* The end date of the campaign.
|
66
66
|
*/
|
67
|
-
ends_at
|
67
|
+
ends_at?: Date;
|
68
68
|
/**
|
69
69
|
* The associated campaign budget.
|
70
70
|
*/
|
71
71
|
budget?: CreateCampaignBudgetDTO;
|
72
|
-
/**
|
73
|
-
* The promotions of the campaign.
|
74
|
-
*/
|
75
|
-
promotions?: Pick<PromotionDTO, "id">[];
|
76
72
|
}
|
77
73
|
/**
|
78
74
|
* The attributes to update in the campaign.
|
@@ -110,9 +106,25 @@ export interface UpdateCampaignDTO {
|
|
110
106
|
* The budget of the campaign.
|
111
107
|
*/
|
112
108
|
budget?: Omit<UpdateCampaignBudgetDTO, "id">;
|
109
|
+
}
|
110
|
+
export interface AddPromotionsToCampaignDTO {
|
111
|
+
/**
|
112
|
+
* The ID of the campaign.
|
113
|
+
*/
|
114
|
+
id: string;
|
115
|
+
/**
|
116
|
+
* Ids of promotions to add
|
117
|
+
*/
|
118
|
+
promotion_ids: string[];
|
119
|
+
}
|
120
|
+
export interface RemovePromotionsFromCampaignDTO {
|
121
|
+
/**
|
122
|
+
* The ID of the campaign.
|
123
|
+
*/
|
124
|
+
id: string;
|
113
125
|
/**
|
114
|
-
*
|
126
|
+
* Ids of promotions to add
|
115
127
|
*/
|
116
|
-
|
128
|
+
promotion_ids: string[];
|
117
129
|
}
|
118
130
|
//# sourceMappingURL=mutations.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/promotion/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,
|
1
|
+
{"version":3,"file":"mutations.d.ts","s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EhB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAA;CAC7C;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB"}
|
@@ -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 { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO } from "./common";
|
6
|
-
import { CreateCampaignDTO, UpdateCampaignDTO } from "./mutations";
|
6
|
+
import { AddPromotionsToCampaignDTO, CreateCampaignDTO, RemovePromotionsFromCampaignDTO, UpdateCampaignDTO } from "./mutations";
|
7
7
|
/**
|
8
8
|
* The main service interface for the Promotion Module.
|
9
9
|
*/
|
@@ -823,5 +823,11 @@ export interface IPromotionModuleService extends IModuleService {
|
|
823
823
|
* })
|
824
824
|
*/
|
825
825
|
restoreCampaigns<TReturnableLinkableKeys extends string = string>(campaignIds: string | string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
826
|
+
addPromotionsToCampaign(data: AddPromotionsToCampaignDTO, sharedContext?: Context): Promise<{
|
827
|
+
ids: string[];
|
828
|
+
}>;
|
829
|
+
removePromotionsFromCampaign(data: RemovePromotionsFromCampaignDTO, sharedContext?: Context): Promise<{
|
830
|
+
ids: string[];
|
831
|
+
}>;
|
826
832
|
}
|
827
833
|
//# sourceMappingURL=service.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/promotion/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,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,UAAU,CAAA;AACjB,OAAO,
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/promotion/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,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,+BAA+B,EAC/B,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ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,CAAA;IAE7B,4BAA4B,CAC1B,IAAI,EAAE,+BAA+B,EACrC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAC9B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-product-variants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EACnC,MAAM,2BAA2B,CAAA;AAElC,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,
|
1
|
+
{"version":3,"file":"create-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-product-variants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EACnC,MAAM,2BAA2B,CAAA;AAElC,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,eAAe,EAAE,6BAA6B,EAAE,CAAA;CACjD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,
|
1
|
+
{"version":3,"file":"create-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAA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vC,QAAQ,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,cAAc,CAAC,EAAE,iCAAiC,EAAE,CAAA;CACrD;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,qBAAqB,EAAE,CAAA;CAClC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-product-variants.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,
|
1
|
+
{"version":3,"file":"update-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-product-variants.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,eAAe,EAAE,6BAA6B,EAAE,CAAA;CACjD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,
|
1
|
+
{"version":3,"file":"update-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,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.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/types",
|
3
|
-
"version": "1.12.0-snapshot-
|
3
|
+
"version": "1.12.0-snapshot-20240516091433",
|
4
4
|
"description": "Medusa Types definition",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -28,6 +28,7 @@
|
|
28
28
|
"rimraf": "^5.0.1",
|
29
29
|
"typeorm": "^0.3.16",
|
30
30
|
"typescript": "^5.1.6",
|
31
|
+
"vite": "^5.2.11",
|
31
32
|
"winston": "^3.8.2"
|
32
33
|
},
|
33
34
|
"scripts": {
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/product-category/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { PaginatedResponse } from "../../../common";
|
2
|
-
/**
|
3
|
-
* @experimental
|
4
|
-
*/
|
5
|
-
interface ProductCategoryResponse {
|
6
|
-
id: string;
|
7
|
-
name: string;
|
8
|
-
description: string | null;
|
9
|
-
handle: string | null;
|
10
|
-
is_active: boolean;
|
11
|
-
is_internal: boolean;
|
12
|
-
rank: number | null;
|
13
|
-
parent_category_id: string | null;
|
14
|
-
created_at: string | Date;
|
15
|
-
updated_at: string | Date;
|
16
|
-
parent_category: ProductCategoryResponse;
|
17
|
-
category_children: ProductCategoryResponse[];
|
18
|
-
}
|
19
|
-
/**
|
20
|
-
* @experimental
|
21
|
-
*/
|
22
|
-
export interface AdminProductCategoryResponse {
|
23
|
-
product_category: ProductCategoryResponse;
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* @experimental
|
27
|
-
*/
|
28
|
-
export interface AdminProductCategoryListResponse extends PaginatedResponse {
|
29
|
-
product_categories: ProductCategoryResponse[];
|
30
|
-
}
|
31
|
-
export {};
|
32
|
-
//# sourceMappingURL=product-category.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"product-category.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/admin/product-category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,eAAe,EAAE,uBAAuB,CAAA;IACxC,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,iBAAiB;IACzE,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"product-category.js","sourceRoot":"","sources":["../../../../src/http/product-category/admin/product-category.ts"],"names":[],"mappings":""}
|