@medusajs/types 1.11.14-snapshot-20240318153725 → 1.12.0-snapshot-20240320164053

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/product/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,MAAM,EAAE,aAAa,CAAA;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IA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jB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
@@ -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, UpsertProductCollectionDTO, UpsertProductDTO } from "./common";
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, UpsertProductCollectionDTO, UpsertProductDTO, UpsertProductOptionDTO, UpsertProductVariantDTO } from "./common";
3
3
  import { FindConfig } from "../common";
4
4
  import { IModuleService } from "../modules-sdk";
5
5
  import { Context } from "../shared-context";
@@ -1145,53 +1145,153 @@ export interface IProductModuleService extends IModuleService {
1145
1145
  *
1146
1146
  * @param {CreateProductOptionDTO[]} data - The product options to be created.
1147
1147
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1148
- * @returns {ProductOptionDTO[]} The list of created product options.
1148
+ * @returns {Promise<ProductOptionDTO[]>} The list of created product options.
1149
1149
  *
1150
1150
  * @example
1151
1151
  * import {
1152
1152
  * initialize as initializeProductModule,
1153
1153
  * } from "@medusajs/product"
1154
1154
  *
1155
- * async function createProductOption (title: string, productId: string) {
1155
+ * async function createOptions (title: string) {
1156
1156
  * const productModule = await initializeProductModule()
1157
1157
  *
1158
- * const productOptions = await productModule.createOptions([
1158
+ * const options = await productModule.createOptions([
1159
1159
  * {
1160
- * title,
1161
- * product_id: productId
1160
+ * title
1162
1161
  * }
1163
1162
  * ])
1164
1163
  *
1165
1164
  * // do something with the product options or return them
1166
1165
  * }
1166
+ *
1167
1167
  */
1168
1168
  createOptions(data: CreateProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
1169
1169
  /**
1170
- * This method is used to update existing product options.
1170
+ * This method is used to create a product option.
1171
1171
  *
1172
- * @param {UpdateProductOptionDTO[]} data - The product options to be updated, each holding the attributes that should be updated in the product option.
1172
+ * @param {CreateProductOptionDTO} data - The product option to be created.
1173
1173
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1174
- * @returns {ProductOptionDTO[]} The list of updated product options.
1174
+ * @returns {Promise<ProductOptionDTO>} The created product option.
1175
1175
  *
1176
1176
  * @example
1177
1177
  * import {
1178
1178
  * initialize as initializeProductModule,
1179
1179
  * } from "@medusajs/product"
1180
1180
  *
1181
- * async function updateProductOption (id: string, title: string) {
1181
+ * async function createOption (title: string) {
1182
1182
  * const productModule = await initializeProductModule()
1183
1183
  *
1184
- * const productOptions = await productModule.updateOptions([
1184
+ * const option = await productModule.createOptions(
1185
+ * {
1186
+ * title
1187
+ * }
1188
+ * )
1189
+ *
1190
+ * // do something with the product option or return them
1191
+ * }
1192
+ *
1193
+ */
1194
+ createOptions(data: CreateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
1195
+ /**
1196
+ * This method updates existing options, or creates new ones if they don't exist.
1197
+ *
1198
+ * @param {UpsertProductOptionDTO[]} data - The attributes to update or create for each option.
1199
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1200
+ * @returns {Promise<ProductOptionDTO[]>} The updated and created options.
1201
+ *
1202
+ * @example
1203
+ * import {
1204
+ * initialize as initializeProductModule,
1205
+ * } from "@medusajs/product"
1206
+ *
1207
+ * async function upsertOptions (title: string) {
1208
+ * const productModule = await initializeProductModule()
1209
+ *
1210
+ * const createdOptions = await productModule.upsertOptions([
1185
1211
  * {
1186
- * id,
1187
1212
  * title
1188
1213
  * }
1189
1214
  * ])
1190
1215
  *
1191
- * // do something with the product options or return them
1216
+ * // do something with the options or return them
1217
+ * }
1218
+ */
1219
+ upsertOptions(data: UpsertProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
1220
+ /**
1221
+ * This method updates an existing option, or creates a new one if it doesn't exist.
1222
+ *
1223
+ * @param {UpsertProductOptionDTO} data - The attributes to update or create for the option.
1224
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1225
+ * @returns {Promise<ProductOptionDTO>} The updated or created option.
1226
+ *
1227
+ * @example
1228
+ * import {
1229
+ * initialize as initializeProductModule,
1230
+ * } from "@medusajs/product"
1231
+ *
1232
+ * async function upsertOption (title: string) {
1233
+ * const productModule = await initializeProductModule()
1234
+ *
1235
+ * const createdOption = await productModule.upsertOptions(
1236
+ * {
1237
+ * title
1238
+ * }
1239
+ * )
1240
+ *
1241
+ * // do something with the option or return it
1242
+ * }
1243
+ */
1244
+ upsertOptions(data: UpsertProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
1245
+ /**
1246
+ * This method is used to update a option.
1247
+ *
1248
+ * @param {string} id - The ID of the option to be updated.
1249
+ * @param {UpdateProductOptionDTO} data - The attributes of the option to be updated
1250
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1251
+ * @returns {Promise<ProductOptionDTO>} The updated option.
1252
+ *
1253
+ * @example
1254
+ * import {
1255
+ * initialize as initializeProductModule,
1256
+ * } from "@medusajs/product"
1257
+ *
1258
+ * async function updateOption (id: string, title: string) {
1259
+ * const productModule = await initializeProductModule()
1260
+ *
1261
+ * const option = await productModule.updateOptions(id, {
1262
+ * title
1263
+ * }
1264
+ * )
1265
+ *
1266
+ * // do something with the option or return it
1267
+ * }
1268
+ */
1269
+ updateOptions(id: string, data: UpdateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
1270
+ /**
1271
+ * This method is used to update a list of options determined by the selector filters.
1272
+ *
1273
+ * @param {FilterableProductOptionProps} selector - The filters that will determine which options will be updated.
1274
+ * @param {UpdateProductOptionDTO} data - The attributes to be updated on the selected options
1275
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1276
+ * @returns {Promise<ProductOptionDTO[]>} The updated options.
1277
+ *
1278
+ * @example
1279
+ * import {
1280
+ * initialize as initializeProductModule,
1281
+ * } from "@medusajs/product"
1282
+ *
1283
+ * async function updateOptions(ids: string[], title: string) {
1284
+ * const productModule = await initializeProductModule()
1285
+ *
1286
+ * const options = await productModule.updateOptions({id: ids}, {
1287
+ * title
1288
+ * }
1289
+ * )
1290
+ *
1291
+ * // do something with the options or return them
1192
1292
  * }
1193
1293
  */
1194
- updateOptions(data: UpdateProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
1294
+ updateOptions(selector: FilterableProductOptionProps, data: UpdateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO[]>;
1195
1295
  /**
1196
1296
  * This method is used to delete a product option.
1197
1297
  *
@@ -1417,53 +1517,157 @@ export interface IProductModuleService extends IModuleService {
1417
1517
  */
1418
1518
  listVariants(filters?: FilterableProductVariantProps, config?: FindConfig<ProductVariantDTO>, sharedContext?: Context): Promise<ProductVariantDTO[]>;
1419
1519
  /**
1420
- * This method is used to update a product's variants.
1520
+ * This method is used to create product variants.
1421
1521
  *
1422
- * @param {UpdateProductVariantDTO[]} data - The product variants to update.
1522
+ * @param {CreateProductVariantDTO[]} data - The product variants to be created.
1423
1523
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1424
- * @returns {Promise<ProductVariantDTO[]>} The updated product variants's details.
1524
+ * @returns {Promise<ProductVariantDTO[]>} The list of created product variants.
1425
1525
  *
1426
1526
  * @example
1427
1527
  * import {
1428
1528
  * initialize as initializeProductModule,
1429
1529
  * } from "@medusajs/product"
1430
- * import {
1431
- * UpdateProductVariantDTO
1432
- * } from "@medusajs/product/dist/types/services/product-variant"
1433
1530
  *
1434
- * async function updateProductVariants (items: UpdateProductVariantDTO[]) {
1531
+ * async function createVariants (title: string) {
1435
1532
  * const productModule = await initializeProductModule()
1436
1533
  *
1437
- * const productVariants = await productModule.updateVariants(items)
1534
+ * const variants = await productModule.createVariants([
1535
+ * {
1536
+ * title
1537
+ * }
1538
+ * ])
1438
1539
  *
1439
1540
  * // do something with the product variants or return them
1440
1541
  * }
1542
+ *
1441
1543
  */
1442
- updateVariants(data: UpdateProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
1544
+ createVariants(data: CreateProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
1443
1545
  /**
1444
- * This method is used to create variants for a product.
1546
+ * This method is used to create a product variant.
1445
1547
  *
1446
- * @param {CreateProductVariantDTO[]} data - The product variants to create.
1548
+ * @param {CreateProductVariantDTO} data - The product variant to be created.
1447
1549
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1448
- * @returns {Promise<ProductVariantDTO[]>} The created product variants' details.
1550
+ * @returns {Promise<ProductVariantDTO>} The created product variant.
1449
1551
  *
1450
1552
  * @example
1451
1553
  * import {
1452
1554
  * initialize as initializeProductModule,
1453
1555
  * } from "@medusajs/product"
1454
1556
  *
1455
- * async function createProductVariants (items: {
1456
- * product_id: string,
1457
- * title: string
1458
- * }[]) {
1557
+ * async function createVariant (title: string) {
1459
1558
  * const productModule = await initializeProductModule()
1460
1559
  *
1461
- * const productVariants = await productModule.createVariants(items)
1560
+ * const variant = await productModule.createVariants(
1561
+ * {
1562
+ * title
1563
+ * }
1564
+ * )
1462
1565
  *
1463
- * // do something with the product variants or return them
1566
+ * // do something with the product variant or return them
1464
1567
  * }
1568
+ *
1465
1569
  */
1466
- createVariants(data: CreateProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
1570
+ createVariants(data: CreateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
1571
+ /**
1572
+ * This method updates existing variants, or creates new ones if they don't exist.
1573
+ *
1574
+ * @param {UpsertProductVariantDTO[]} data - The attributes to update or create for each variant.
1575
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1576
+ * @returns {Promise<ProductVariantDTO[]>} The updated and created variants.
1577
+ *
1578
+ * @example
1579
+ * import {
1580
+ * initialize as initializeProductModule,
1581
+ * } from "@medusajs/product"
1582
+ *
1583
+ * async function upsertVariants (title: string) {
1584
+ * const productModule = await initializeProductModule()
1585
+ *
1586
+ * const createdVariants = await productModule.upsertVariants([
1587
+ * {
1588
+ * title
1589
+ * }
1590
+ * ])
1591
+ *
1592
+ * // do something with the variants or return them
1593
+ * }
1594
+ */
1595
+ upsertVariants(data: UpsertProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
1596
+ /**
1597
+ * This method updates an existing variant, or creates a new one if it doesn't exist.
1598
+ *
1599
+ * @param {UpsertProductVariantDTO} data - The attributes to update or create for the variant.
1600
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1601
+ * @returns {Promise<ProductVariantDTO>} The updated or created variant.
1602
+ *
1603
+ * @example
1604
+ * import {
1605
+ * initialize as initializeProductModule,
1606
+ * } from "@medusajs/product"
1607
+ *
1608
+ * async function upsertVariant (title: string) {
1609
+ * const productModule = await initializeProductModule()
1610
+ *
1611
+ * const createdVariant = await productModule.upsertVariants(
1612
+ * {
1613
+ * title
1614
+ * }
1615
+ * )
1616
+ *
1617
+ * // do something with the variant or return it
1618
+ * }
1619
+ */
1620
+ upsertVariants(data: UpsertProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
1621
+ /**
1622
+ * This method is used to update a variant.
1623
+ *
1624
+ * @param {string} id - The ID of the variant to be updated.
1625
+ * @param {UpdateProductVariantDTO} data - The attributes of the variant to be updated
1626
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1627
+ * @returns {Promise<ProductVariantDTO>} The updated variant.
1628
+ *
1629
+ * @example
1630
+ * import {
1631
+ * initialize as initializeProductModule,
1632
+ * } from "@medusajs/product"
1633
+ *
1634
+ * async function updateVariant (id: string, title: string) {
1635
+ * const productModule = await initializeProductModule()
1636
+ *
1637
+ * const variant = await productModule.updateVariants(id, {
1638
+ * title
1639
+ * }
1640
+ * )
1641
+ *
1642
+ * // do something with the variant or return it
1643
+ * }
1644
+ */
1645
+ updateVariants(id: string, data: UpdateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
1646
+ /**
1647
+ * This method is used to update a list of variants determined by the selector filters.
1648
+ *
1649
+ * @param {FilterableProductVariantProps} selector - The filters that will determine which variants will be updated.
1650
+ * @param {UpdateProductVariantDTO} data - The attributes to be updated on the selected variants
1651
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1652
+ * @returns {Promise<ProductVariantDTO[]>} The updated variants.
1653
+ *
1654
+ * @example
1655
+ * import {
1656
+ * initialize as initializeProductModule,
1657
+ * } from "@medusajs/product"
1658
+ *
1659
+ * async function updateVariants(ids: string[], title: string) {
1660
+ * const productModule = await initializeProductModule()
1661
+ *
1662
+ * const variants = await productModule.updateVariants({id: ids}, {
1663
+ * title
1664
+ * }
1665
+ * )
1666
+ *
1667
+ * // do something with the variants or return them
1668
+ * }
1669
+ */
1670
+ updateVariants(selector: FilterableProductVariantProps, data: UpdateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO[]>;
1467
1671
  /**
1468
1672
  * This method is used to delete ProductVariant. This method will completely remove the ProductVariant and they can no longer be accessed or retrieved.
1469
1673
  *
@@ -1954,10 +2158,10 @@ export interface IProductModuleService extends IModuleService {
1954
2158
  * initialize as initializeProductModule,
1955
2159
  * } from "@medusajs/product"
1956
2160
  *
1957
- * async function upserCollections (title: string) {
2161
+ * async function upsertCollections (title: string) {
1958
2162
  * const productModule = await initializeProductModule()
1959
2163
  *
1960
- * const createdCollections = await productModule.upsert([
2164
+ * const createdCollections = await productModule.upsertCollections([
1961
2165
  * {
1962
2166
  * title
1963
2167
  * }
@@ -1979,10 +2183,10 @@ export interface IProductModuleService extends IModuleService {
1979
2183
  * initialize as initializeProductModule,
1980
2184
  * } from "@medusajs/product"
1981
2185
  *
1982
- * async function upserCollection (title: string) {
2186
+ * async function upsertCollection (title: string) {
1983
2187
  * const productModule = await initializeProductModule()
1984
2188
  *
1985
- * const createdCollection = await productModule.upsert(
2189
+ * const createdCollection = await productModule.upsertCollection(
1986
2190
  * {
1987
2191
  * title
1988
2192
  * }
@@ -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,EACb,cAAc,EACd,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uB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AC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
@@ -52,11 +52,11 @@ export interface FilterableSalesChannelProps extends BaseFilterable<FilterableSa
52
52
  /**
53
53
  * The IDs to filter the sales channel by.
54
54
  */
55
- id?: string[];
55
+ id?: string | string[];
56
56
  /**
57
57
  * Filter sales channels by their names.
58
58
  */
59
- name?: string[];
59
+ name?: string | string[];
60
60
  /**
61
61
  * Filter sales channels by whether they're disabled.
62
62
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/sales-channel/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAEvC;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,EAAE,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,2BAA2B,CAAC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/sales-channel/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAEvC;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,EAAE,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,2BAA2B,CAAC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB"}
@@ -19,10 +19,28 @@ export interface CreateSalesChannelDTO {
19
19
  * The attributes to update in the sales channel.
20
20
  */
21
21
  export interface UpdateSalesChannelDTO {
22
+ /**
23
+ * The name of the sales channel.
24
+ */
25
+ name?: string;
26
+ /**
27
+ * The description of the sales channel.
28
+ */
29
+ description?: string;
30
+ /**
31
+ * Whether the sales channel is disabled.
32
+ */
33
+ is_disabled?: boolean;
34
+ /**
35
+ * Holds custom data in key-value pairs.
36
+ */
37
+ metadata?: Record<string, unknown>;
38
+ }
39
+ export interface UpsertSalesChannelDTO {
22
40
  /**
23
41
  * The ID of the sales channel.
24
42
  */
25
- id: string;
43
+ id?: string;
26
44
  /**
27
45
  * The name of the sales channel.
28
46
  */
@@ -30,10 +48,14 @@ export interface UpdateSalesChannelDTO {
30
48
  /**
31
49
  * The description of the sales channel.
32
50
  */
33
- description?: string;
51
+ description?: string | null;
34
52
  /**
35
53
  * Whether the sales channel is disabled.
36
54
  */
37
55
  is_disabled?: boolean;
56
+ /**
57
+ * Holds custom data in key-value pairs.
58
+ */
59
+ metadata?: Record<string, unknown> | null;
38
60
  }
39
61
  //# sourceMappingURL=mutations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/sales-channel/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB"}
1
+ {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/sales-channel/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -1,9 +1,9 @@
1
- import { IModuleService } from "../modules-sdk";
2
- import { FilterableSalesChannelProps, SalesChannelDTO } from "./common";
3
1
  import { FindConfig } from "../common";
4
- import { Context } from "../shared-context";
5
2
  import { RestoreReturn, SoftDeleteReturn } from "../dal";
6
- import { CreateSalesChannelDTO, UpdateSalesChannelDTO } from "./mutations";
3
+ import { IModuleService } from "../modules-sdk";
4
+ import { Context } from "../shared-context";
5
+ import { FilterableSalesChannelProps, SalesChannelDTO } from "./common";
6
+ import { CreateSalesChannelDTO, UpdateSalesChannelDTO, UpsertSalesChannelDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the sales channel module.
9
9
  */
@@ -30,28 +30,10 @@ export interface ISalesChannelModuleService extends IModuleService {
30
30
  * {example-code}
31
31
  */
32
32
  create(data: CreateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
33
- /**
34
- * This method updates existing sales channels.
35
- *
36
- * @param {UpdateSalesChannelDTO[]} data - The attributes to update in each sales channel.
37
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
38
- * @returns {Promise<SalesChannelDTO[]>} The updated sales channels.
39
- *
40
- * @example
41
- * {example-code}
42
- */
43
- update(data: UpdateSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
44
- /**
45
- * This method updates an existing sales channel.
46
- *
47
- * @param {UpdateSalesChannelDTO} data - The attributes to update in the sales channel.
48
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
49
- * @returns {Promise<SalesChannelDTO>} The updated sales channel.
50
- *
51
- * @example
52
- * {example-code}
53
- */
54
- update(data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
33
+ update(channelId: string, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
34
+ update(selector: FilterableSalesChannelProps, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO[]>;
35
+ upsert(data: UpsertSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
36
+ upsert(data: UpsertSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
55
37
  /**
56
38
  * This method deletes sales channels by their IDs.
57
39
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/sales-channel/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAE1E;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IA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