@medusajs/types 1.12.0-snapshot-20240904130551 → 1.12.0-snapshot-20240906075935
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/admin/extensions.d.ts +2 -2
- package/dist/common/batch.d.ts +1 -5
- package/dist/common/batch.d.ts.map +1 -1
- package/dist/common/common.d.ts +9 -59
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +1 -2
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/common/nested-pick.d.ts +18 -0
- package/dist/common/nested-pick.d.ts.map +1 -0
- package/dist/common/nested-pick.js +24 -0
- package/dist/common/nested-pick.js.map +1 -0
- package/dist/http/claim/admin/payloads.d.ts +2 -2
- package/dist/http/claim/admin/payloads.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +9 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.d.ts +2 -2
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +2 -1
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/payment/store/queries.d.ts +3 -3
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +4 -5
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +2 -1
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/store/queries.d.ts +1 -1
- package/dist/http/product-category/store/queries.d.ts.map +1 -1
- package/dist/http/promotion/admin/responses.d.ts +2 -3
- package/dist/http/promotion/admin/responses.d.ts.map +1 -1
- package/dist/http/region/admin/queries.d.ts +3 -3
- package/dist/http/region/admin/queries.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +1 -1
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/region/store/queries.d.ts +1 -1
- package/dist/http/region/store/queries.d.ts.map +1 -1
- package/dist/http/return/admin/payloads.d.ts +2 -2
- package/dist/http/return/admin/payloads.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/responses.d.ts +2 -3
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/responses.d.ts +4 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +5 -2
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.js +2 -0
- package/dist/modules-sdk/index.js.map +1 -1
- package/dist/modules-sdk/object-to-remote-query-fields.d.ts +24 -0
- package/dist/modules-sdk/object-to-remote-query-fields.d.ts.map +1 -0
- package/dist/modules-sdk/object-to-remote-query-fields.js +3 -0
- package/dist/modules-sdk/object-to-remote-query-fields.js.map +1 -0
- package/dist/modules-sdk/remote-query-entry-points.d.ts +6 -0
- package/dist/modules-sdk/remote-query-entry-points.d.ts.map +1 -0
- package/dist/modules-sdk/remote-query-entry-points.js +3 -0
- package/dist/modules-sdk/remote-query-entry-points.js.map +1 -0
- package/dist/modules-sdk/remote-query-object-from-string.d.ts +12 -0
- package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -0
- package/dist/modules-sdk/remote-query-object-from-string.js +3 -0
- package/dist/modules-sdk/remote-query-object-from-string.js.map +1 -0
- package/dist/modules-sdk/remote-query.d.ts +35 -0
- package/dist/modules-sdk/remote-query.d.ts.map +1 -0
- package/dist/modules-sdk/remote-query.js +3 -0
- package/dist/modules-sdk/remote-query.js.map +1 -0
- package/dist/order/common.d.ts +1 -1
- package/dist/order/common.d.ts.map +1 -1
- package/dist/product/common.d.ts +42 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +221 -1
- package/dist/product/service.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +10 -1
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +22 -7
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/transaction-base/transaction-base.d.ts +0 -2
- package/dist/transaction-base/transaction-base.d.ts.map +1 -1
- package/dist/workflow/order/shipping-method.d.ts +4 -4
- package/dist/workflow/order/shipping-method.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +5 -1
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- package/package.json +3 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
2
|
-
import { CreateProductCategoryDTO, CreateProductCollectionDTO, CreateProductDTO, CreateProductOptionDTO, CreateProductTagDTO, CreateProductTypeDTO, CreateProductVariantDTO, FilterableProductCategoryProps, FilterableProductCollectionProps, FilterableProductOptionProps, FilterableProductProps, FilterableProductTagProps, FilterableProductTypeProps, FilterableProductVariantProps, ProductCategoryDTO, ProductCollectionDTO, ProductDTO, ProductOptionDTO, ProductTagDTO, ProductTypeDTO, ProductVariantDTO, UpdateProductCategoryDTO, UpdateProductCollectionDTO, UpdateProductDTO, UpdateProductOptionDTO, UpdateProductTagDTO, UpdateProductTypeDTO, UpdateProductVariantDTO, UpsertProductCategoryDTO, UpsertProductCollectionDTO, UpsertProductDTO, UpsertProductOptionDTO, UpsertProductTagDTO, UpsertProductTypeDTO, UpsertProductVariantDTO } from "./common";
|
2
|
+
import { CreateProductCategoryDTO, CreateProductCollectionDTO, CreateProductDTO, CreateProductOptionDTO, CreateProductOptionValueDTO, CreateProductTagDTO, CreateProductTypeDTO, CreateProductVariantDTO, FilterableProductCategoryProps, FilterableProductCollectionProps, FilterableProductOptionProps, FilterableProductOptionValueProps, FilterableProductProps, FilterableProductTagProps, FilterableProductTypeProps, FilterableProductVariantProps, ProductCategoryDTO, ProductCollectionDTO, ProductDTO, ProductOptionDTO, ProductOptionValueDTO, ProductTagDTO, ProductTypeDTO, ProductVariantDTO, UpdateProductCategoryDTO, UpdateProductCollectionDTO, UpdateProductDTO, UpdateProductOptionDTO, UpdateProductOptionValueDTO, UpdateProductTagDTO, UpdateProductTypeDTO, UpdateProductVariantDTO, UpsertProductCategoryDTO, UpsertProductCollectionDTO, UpsertProductDTO, UpsertProductOptionDTO, UpsertProductTagDTO, UpsertProductTypeDTO, UpsertProductVariantDTO } from "./common";
|
3
3
|
import { FindConfig } from "../common";
|
4
4
|
import { IModuleService } from "../modules-sdk";
|
5
5
|
import { Context } from "../shared-context";
|
@@ -1111,6 +1111,226 @@ export interface IProductModuleService extends IModuleService {
|
|
1111
1111
|
* ])
|
1112
1112
|
*/
|
1113
1113
|
restoreProductOptions<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
1114
|
+
/**
|
1115
|
+
* This method is used to retrieve a paginated list of product option values based on optional filters and configuration.
|
1116
|
+
*
|
1117
|
+
* @param {FilterableProductOptionValueProps} filters - The filters applied on the retrieved product option values.
|
1118
|
+
* @param {FindConfig<ProductOptionValueDTO>} config -
|
1119
|
+
* The configurations determining how the product option values are retrieved. Its properties, such as `select` or `relations`, accept the
|
1120
|
+
* attributes or relations associated with a product option.
|
1121
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1122
|
+
* @returns {Promise<ProductOptionValueDTO[]>} The list of product option values.
|
1123
|
+
*
|
1124
|
+
* @example
|
1125
|
+
* To retrieve a list of product option values using their IDs:
|
1126
|
+
*
|
1127
|
+
* ```ts
|
1128
|
+
* const options = await productModuleService.listProductOptionValues({
|
1129
|
+
id: ["optval_123", "optval_321"],
|
1130
|
+
* })
|
1131
|
+
* ```
|
1132
|
+
*
|
1133
|
+
* To specify relations that should be retrieved within the product option values:
|
1134
|
+
*
|
1135
|
+
* ```ts
|
1136
|
+
* const options = await productModuleService.listProductOptionValues(
|
1137
|
+
* {
|
1138
|
+
* id: ["optval_123", "optval_321"],
|
1139
|
+
* }
|
1140
|
+
* )
|
1141
|
+
* ```
|
1142
|
+
*
|
1143
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
1144
|
+
*
|
1145
|
+
* ```ts
|
1146
|
+
* const options = await productModuleService.listProductOptionValues(
|
1147
|
+
* {
|
1148
|
+
* id: ["optval_123", "optval_321"],
|
1149
|
+
* },
|
1150
|
+
* {
|
1151
|
+
* take: 20,
|
1152
|
+
* skip: 2,
|
1153
|
+
* }
|
1154
|
+
* )
|
1155
|
+
* ```
|
1156
|
+
*
|
1157
|
+
*/
|
1158
|
+
listProductOptionValues(filters?: FilterableProductOptionValueProps, config?: FindConfig<ProductOptionValueDTO>, sharedContext?: Context): Promise<ProductOptionValueDTO[]>;
|
1159
|
+
/**
|
1160
|
+
* This method is used to retrieve a paginated list of product option values along with the total count of available product option values satisfying the provided filters.
|
1161
|
+
*
|
1162
|
+
* @param {FilterableProductOptionValueProps} filters - The filters applied on the retrieved product option values.
|
1163
|
+
* @param {FindConfig<ProductOptionValueDTO>} config -
|
1164
|
+
* The configurations determining how the product option values are retrieved. Its properties, such as `select` or `relations`, accept the
|
1165
|
+
* attributes or relations associated with a product option.
|
1166
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1167
|
+
* @returns {Promise<[ProductOptionValueDTO[], number]>} The list of product option values along with the total count.
|
1168
|
+
*
|
1169
|
+
* @example
|
1170
|
+
* To retrieve a list of product option values using their IDs:
|
1171
|
+
*
|
1172
|
+
* ```ts
|
1173
|
+
* const [options, count] =
|
1174
|
+
* await productModuleService.listAndCountProductOptionValues({
|
1175
|
+
* id: ["optval_123", "optval_321"],
|
1176
|
+
* })
|
1177
|
+
* ```
|
1178
|
+
*
|
1179
|
+
* To specify relations that should be retrieved within the product types:
|
1180
|
+
*
|
1181
|
+
* ```ts
|
1182
|
+
* const [options, count] =
|
1183
|
+
* await productModuleService.listAndCountProductOptionValues(
|
1184
|
+
* {
|
1185
|
+
* id: ["optval_123", "optval_321"],
|
1186
|
+
* }
|
1187
|
+
* )
|
1188
|
+
* ```
|
1189
|
+
*
|
1190
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
1191
|
+
*
|
1192
|
+
* ```ts
|
1193
|
+
* const [options, count] =
|
1194
|
+
* await productModuleService.listAndCountProductOptionValues(
|
1195
|
+
* {
|
1196
|
+
* id: ["optval_123", "optval_321"],
|
1197
|
+
* },
|
1198
|
+
* {
|
1199
|
+
* take: 20,
|
1200
|
+
* skip: 2,
|
1201
|
+
* }
|
1202
|
+
* )
|
1203
|
+
* ```
|
1204
|
+
*/
|
1205
|
+
listAndCountProductOptionValues(filters?: FilterableProductOptionValueProps, config?: FindConfig<ProductOptionValueDTO>, sharedContext?: Context): Promise<[ProductOptionValueDTO[], number]>;
|
1206
|
+
/**
|
1207
|
+
* This method is used to create product option values.
|
1208
|
+
*
|
1209
|
+
* @param {CreateProductOptionValueDTO[]} data - The product option values to be created.
|
1210
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1211
|
+
* @returns {Promise<ProductOptionValueDTO[]>} The list of created product option values.
|
1212
|
+
*
|
1213
|
+
* @example
|
1214
|
+
* const options = await productModuleService.createProductOptionValues([
|
1215
|
+
* {
|
1216
|
+
* value: "Blue",
|
1217
|
+
* option_id: "opt_123",
|
1218
|
+
* },
|
1219
|
+
* {
|
1220
|
+
* value: "Green",
|
1221
|
+
* option_id: "opt_123",
|
1222
|
+
* },
|
1223
|
+
* ])
|
1224
|
+
*
|
1225
|
+
*/
|
1226
|
+
createProductOptionValues(data: CreateProductOptionValueDTO[], sharedContext?: Context): Promise<ProductOptionValueDTO[]>;
|
1227
|
+
/**
|
1228
|
+
* This method is used to create a product option.
|
1229
|
+
*
|
1230
|
+
* @param {CreateProductOptionValueDTO} data - The product option to be created.
|
1231
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1232
|
+
* @returns {Promise<ProductOptionValueDTO>} The created product option.
|
1233
|
+
*
|
1234
|
+
* @example
|
1235
|
+
* const option = await productModuleService.createProductOptionValues({
|
1236
|
+
* value: "Blue",
|
1237
|
+
* option_id: "opt_123",
|
1238
|
+
* })
|
1239
|
+
*
|
1240
|
+
*/
|
1241
|
+
createProductOptionValues(data: CreateProductOptionValueDTO, sharedContext?: Context): Promise<ProductOptionValueDTO>;
|
1242
|
+
/**
|
1243
|
+
* This method is used to update a option.
|
1244
|
+
*
|
1245
|
+
* @param {string} id - The ID of the option to be updated.
|
1246
|
+
* @param {UpdateProductOptionValueDTO} data - The attributes of the option to be updated
|
1247
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1248
|
+
* @returns {Promise<ProductOptionValueDTO>} The updated option.
|
1249
|
+
*
|
1250
|
+
* @example
|
1251
|
+
* const option = await productModuleService.updateProductOptionValues(
|
1252
|
+
* "optval_123",
|
1253
|
+
* {
|
1254
|
+
* value: "Green",
|
1255
|
+
* }
|
1256
|
+
* )
|
1257
|
+
*/
|
1258
|
+
updateProductOptionValues(id: string, data: UpdateProductOptionValueDTO, sharedContext?: Context): Promise<ProductOptionValueDTO>;
|
1259
|
+
/**
|
1260
|
+
* This method is used to update a list of options matching the specified filters.
|
1261
|
+
*
|
1262
|
+
* @param {FilterableProductOptionValueProps} selector - The filters specifying which options to update.
|
1263
|
+
* @param {UpdateProductOptionValueDTO} data - The attributes to be updated on the selected options
|
1264
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1265
|
+
* @returns {Promise<ProductOptionValueDTO[]>} The updated options.
|
1266
|
+
*
|
1267
|
+
* @example
|
1268
|
+
* const options = await productModuleService.updateProductOptionValues(
|
1269
|
+
* {
|
1270
|
+
* value: "Green",
|
1271
|
+
* },
|
1272
|
+
* {
|
1273
|
+
* value: ["Red"],
|
1274
|
+
* }
|
1275
|
+
* )
|
1276
|
+
*/
|
1277
|
+
updateProductOptionValues(selector: FilterableProductOptionValueProps, data: UpdateProductOptionValueDTO, sharedContext?: Context): Promise<ProductOptionValueDTO[]>;
|
1278
|
+
/**
|
1279
|
+
* This method is used to delete a product option.
|
1280
|
+
*
|
1281
|
+
* @param {string[]} productOptionValueIds - The IDs of the product option values to delete.
|
1282
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1283
|
+
* @returns {Promise<void>} Resolves when the product option values are successfully deleted.
|
1284
|
+
*
|
1285
|
+
* @example
|
1286
|
+
* await productModuleService.deleteProductOptionValues([
|
1287
|
+
* "optval_123",
|
1288
|
+
* "optval_321",
|
1289
|
+
* ])
|
1290
|
+
*/
|
1291
|
+
deleteProductOptionValues(productOptionValueIds: string[], sharedContext?: Context): Promise<void>;
|
1292
|
+
/**
|
1293
|
+
* This method is used to delete options. Unlike the {@link delete} method, this method won't completely remove the option. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
|
1294
|
+
*
|
1295
|
+
* The soft-deleted options can be restored using the {@link restore} method.
|
1296
|
+
*
|
1297
|
+
* @param {string[]} optionIds - The IDs of the options to soft-delete.
|
1298
|
+
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
|
1299
|
+
* Configurations determining which relations to soft delete along with the each of the options. You can pass to its `returnLinkableKeys`
|
1300
|
+
* property any of the option's relation attribute names, such as `option_value_id`.
|
1301
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1302
|
+
* @returns {Promise<Record<string, string[]> | void>}
|
1303
|
+
* An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of a record associated with the option through this relation.
|
1304
|
+
*
|
1305
|
+
* If there are no related records, the promise resolved to `void`.
|
1306
|
+
*
|
1307
|
+
* @example
|
1308
|
+
* await productModuleService.softDeleteProductOptionValues([
|
1309
|
+
* "optval_123",
|
1310
|
+
* "optval_321",
|
1311
|
+
* ])
|
1312
|
+
*/
|
1313
|
+
softDeleteProductOptionValues<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
1314
|
+
/**
|
1315
|
+
* This method is used to restore options which were deleted using the {@link softDelete} method.
|
1316
|
+
*
|
1317
|
+
* @param {string[]} optionIds - The IDs of the options to restore.
|
1318
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config -
|
1319
|
+
* Configurations determining which relations to restore along with each of the options. You can pass to its `returnLinkableKeys`
|
1320
|
+
* property any of the option's relation attribute names.
|
1321
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1322
|
+
* @returns {Promise<Record<string, string[]> | void>}
|
1323
|
+
* An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of the record associated with the option through this relation.
|
1324
|
+
*
|
1325
|
+
* If there are no related records that were restored, the promise resolved to `void`.
|
1326
|
+
*
|
1327
|
+
* @example
|
1328
|
+
* await productModuleService.restoreProductOptionValues([
|
1329
|
+
* "optval_123",
|
1330
|
+
* "optval_321",
|
1331
|
+
* ])
|
1332
|
+
*/
|
1333
|
+
restoreProductOptionValues<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
1114
1334
|
/**
|
1115
1335
|
* This method is used to retrieve a product variant by its ID.
|
1116
1336
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/product/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,gCAAgC,EAChC,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,kBAAkB,EAClB,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EAChB,aAAa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
|
6
6
|
/**
|
7
7
|
* These computed action types can affect a campaign's budget.
|
8
8
|
*/
|
9
|
-
export type UsageComputedActions =
|
9
|
+
export type UsageComputedActions = {
|
10
|
+
/**
|
11
|
+
* The amount to remove off the shipping method's total.
|
12
|
+
*/
|
13
|
+
amount: BigNumberInput;
|
14
|
+
/**
|
15
|
+
* The promotion's code.
|
16
|
+
*/
|
17
|
+
code: string;
|
18
|
+
};
|
10
19
|
/**
|
11
20
|
* This action indicates that the promotions within a campaign can no longer be used
|
12
21
|
* as the campaign budget has been exceeded.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,
|
1
|
+
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAA;IAEhC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC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AEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACxE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC"}
|
@@ -2,7 +2,7 @@ import { FindConfig } from "../common";
|
|
2
2
|
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
3
3
|
import { IModuleService } from "../modules-sdk";
|
4
4
|
import { Context } from "../shared-context";
|
5
|
-
import { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO } from "./common";
|
5
|
+
import { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO, UsageComputedActions } from "./common";
|
6
6
|
import { AddPromotionsToCampaignDTO, CreateCampaignDTO, RemovePromotionsFromCampaignDTO, UpdateCampaignDTO } from "./mutations";
|
7
7
|
/**
|
8
8
|
* The main service interface for the Promotion Module.
|
@@ -13,26 +13,41 @@ export interface IPromotionModuleService extends IModuleService {
|
|
13
13
|
* It adjusts the `used` property of a `CampaignBudget` to account for the adjustment amounts in the specified associated
|
14
14
|
* computed actions.
|
15
15
|
*
|
16
|
-
* @param {
|
16
|
+
* @param {UsageComputedActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
|
17
17
|
* @returns {Promise<void>} Resolves when the campaign budgets have been adjusted successfully.
|
18
18
|
*
|
19
19
|
* @example
|
20
20
|
* await promotionModuleService.registerUsage([
|
21
21
|
* {
|
22
|
-
* action: "addItemAdjustment",
|
23
|
-
* item_id: "cali_123",
|
24
22
|
* amount: 50,
|
25
23
|
* code: "50OFF",
|
26
24
|
* },
|
27
25
|
* {
|
28
|
-
* action: "addShippingMethodAdjustment",
|
29
|
-
* shipping_method_id: "casm_123",
|
30
26
|
* amount: 5000,
|
31
27
|
* code: "FREESHIPPING",
|
32
28
|
* },
|
33
29
|
* ])
|
34
30
|
*/
|
35
|
-
registerUsage(computedActions:
|
31
|
+
registerUsage(computedActions: UsageComputedActions[]): Promise<void>;
|
32
|
+
/**
|
33
|
+
* This method is used to revert the changes made by registerUsage action
|
34
|
+
*
|
35
|
+
* @param {UsageComputedActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
|
36
|
+
* @returns {Promise<void>} Resolves when the campaign budgets have been adjusted successfully.
|
37
|
+
*
|
38
|
+
* @example
|
39
|
+
* await promotionModuleService.revertUsage([
|
40
|
+
* {
|
41
|
+
* amount: 50,
|
42
|
+
* code: "50OFF",
|
43
|
+
* },
|
44
|
+
* {
|
45
|
+
* amount: 5000,
|
46
|
+
* code: "FREESHIPPING",
|
47
|
+
* },
|
48
|
+
* ])
|
49
|
+
*/
|
50
|
+
revertUsage(computedActions: UsageComputedActions[]): Promise<void>;
|
36
51
|
/**
|
37
52
|
* This method provides the actions to perform on a cart based on the specified promotions
|
38
53
|
* and context.
|
@@ -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,
|
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,EACtB,oBAAoB,EACrB,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,cAAc;IAC7D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,aAAa,CAAC,eAAe,EAAE,o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O,CAAC;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,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":"transaction-base.d.ts","sourceRoot":"","sources":["../../src/transaction-base/transaction-base.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"transaction-base.d.ts","sourceRoot":"","sources":["../../src/transaction-base/transaction-base.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;CAAG"}
|
@@ -3,7 +3,7 @@ export interface UpdateReturnShippingMethodWorkflowInput {
|
|
3
3
|
return_id: string;
|
4
4
|
action_id: string;
|
5
5
|
data: {
|
6
|
-
|
6
|
+
custom_amount?: BigNumberInput | null;
|
7
7
|
internal_note?: string | null;
|
8
8
|
metadata?: Record<string, any> | null;
|
9
9
|
};
|
@@ -16,7 +16,7 @@ export interface UpdateClaimShippingMethodWorkflowInput {
|
|
16
16
|
claim_id: string;
|
17
17
|
action_id: string;
|
18
18
|
data: {
|
19
|
-
|
19
|
+
custom_amount?: BigNumberInput | null;
|
20
20
|
internal_note?: string | null;
|
21
21
|
metadata?: Record<string, any> | null;
|
22
22
|
};
|
@@ -29,7 +29,7 @@ export interface UpdateExchangeShippingMethodWorkflowInput {
|
|
29
29
|
exchange_id: string;
|
30
30
|
action_id: string;
|
31
31
|
data: {
|
32
|
-
|
32
|
+
custom_amount?: BigNumberInput | null;
|
33
33
|
internal_note?: string | null;
|
34
34
|
metadata?: Record<string, any> | null;
|
35
35
|
};
|
@@ -38,7 +38,7 @@ export interface UpdateOrderEditShippingMethodWorkflowInput {
|
|
38
38
|
order_id: string;
|
39
39
|
action_id: string;
|
40
40
|
data: {
|
41
|
-
|
41
|
+
custom_amount?: BigNumberInput | null;
|
42
42
|
internal_note?: string | null;
|
43
43
|
metadata?: Record<string, any> | null;
|
44
44
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-method.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/shipping-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,
|
1
|
+
{"version":3,"file":"shipping-method.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/shipping-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,aAAa,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;QACrC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,aAAa,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;QACrC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,yCAAyC;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,aAAa,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;QACrC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,0CAA0C;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,aAAa,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;QACrC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,yCAAyC;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,0CAA0C;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
@@ -10,6 +10,10 @@ type FlowRunOptions<TData = unknown> = {
|
|
10
10
|
logOnError?: boolean;
|
11
11
|
events?: Record<string, Function>;
|
12
12
|
};
|
13
|
+
export type Acknowledgement = {
|
14
|
+
workflowId: string;
|
15
|
+
transactionId: string;
|
16
|
+
};
|
13
17
|
export interface WorkflowOrchestratorRunDTO<T = unknown> extends FlowRunOptions<T> {
|
14
18
|
transactionId?: string;
|
15
19
|
}
|
@@ -30,7 +34,7 @@ export interface IWorkflowEngineService extends IModuleService {
|
|
30
34
|
errors: Error[];
|
31
35
|
transaction: object;
|
32
36
|
result: any;
|
33
|
-
acknowledgement:
|
37
|
+
acknowledgement: Acknowledgement;
|
34
38
|
}>;
|
35
39
|
getRunningTransaction(workflowId: string, transactionId: string, options?: Record<string, any>, sharedContext?: Context): Promise<unknown>;
|
36
40
|
setStepSuccess({ idempotencyKey, stepResponse, options, }: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/service.ts"],"names":[],"mappings":"AAAA,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,EACL,gCAAgC,EAChC,oBAAoB,EACrB,MAAM,UAAU,CAAA;AAEjB,KAAK,cAAc,CAAC,KAAK,GAAG,OAAO,IAAI;IACrC,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;IACvC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;CAClC,CAAA;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,OAAO,CACrD,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,QAAQ,GAAG,YAAY,CAAA;CAChC,CAAA;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,yBAAyB,CACvB,UAAU,EACN,MAAM,GACN;QACE,WAAW,EAAE,MAAM,CAAA;QACnB,cAAc,EAAE,MAAM,CAAA;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AAG,QAAQ,CAAA;KAClC,EACD,aAAa,CAAC,EAAE,OAAO,OACxB;CACF"}
|
package/package.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-20240906075935",
|
4
4
|
"description": "Medusa Types definition",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"awilix": "^8.0.1",
|
25
25
|
"bignumber.js": "^9.1.2",
|
26
26
|
"cross-env": "^5.2.1",
|
27
|
+
"expect-type": "^0.20.0",
|
27
28
|
"ioredis": "^5.4.1",
|
28
29
|
"rimraf": "^5.0.1",
|
29
30
|
"typescript": "^5.1.6",
|
@@ -31,7 +32,7 @@
|
|
31
32
|
"winston": "^3.8.2"
|
32
33
|
},
|
33
34
|
"scripts": {
|
34
|
-
"build": "rimraf dist && tsc --build",
|
35
|
+
"build": "rimraf dist && tsc -p tsconfig.spec.json --noEmit && tsc -p tsconfig.build.json",
|
35
36
|
"watch": "tsc --build --watch",
|
36
37
|
"test": "exit 0"
|
37
38
|
}
|