@medusajs/types 1.12.0-snapshot-20240325085803 → 1.12.0-snapshot-20240328175402

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/common/config-module.d.ts +7 -4
  2. package/dist/common/config-module.d.ts.map +1 -1
  3. package/dist/dal/index.d.ts +11 -0
  4. package/dist/dal/index.d.ts.map +1 -1
  5. package/dist/dal/index.js.map +1 -1
  6. package/dist/dal/repository-service.d.ts +2 -1
  7. package/dist/dal/repository-service.d.ts.map +1 -1
  8. package/dist/modules-sdk/internal-module-service.d.ts +2 -1
  9. package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
  10. package/dist/order/service.d.ts +1450 -0
  11. package/dist/order/service.d.ts.map +1 -1
  12. package/dist/pricing/common/index.d.ts +1 -1
  13. package/dist/pricing/common/index.d.ts.map +1 -1
  14. package/dist/pricing/common/index.js +1 -1
  15. package/dist/pricing/common/index.js.map +1 -1
  16. package/dist/pricing/common/money-amount.d.ts +0 -5
  17. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  18. package/dist/pricing/common/price-list.d.ts +2 -2
  19. package/dist/pricing/common/price-list.d.ts.map +1 -1
  20. package/dist/pricing/common/price-rule.d.ts +7 -7
  21. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  22. package/dist/pricing/common/price-set-rule-type.d.ts +2 -2
  23. package/dist/pricing/common/price-set-rule-type.d.ts.map +1 -1
  24. package/dist/pricing/common/price.d.ts +137 -0
  25. package/dist/pricing/common/price.d.ts.map +1 -0
  26. package/dist/pricing/common/{price-set-money-amount.js → price.js} +1 -1
  27. package/dist/pricing/common/price.js.map +1 -0
  28. package/dist/pricing/service.d.ts +68 -68
  29. package/dist/pricing/service.d.ts.map +1 -1
  30. package/dist/sales-channel/mutations.d.ts +5 -1
  31. package/dist/sales-channel/mutations.d.ts.map +1 -1
  32. package/dist/sales-channel/service.d.ts +127 -62
  33. package/dist/sales-channel/service.d.ts.map +1 -1
  34. package/dist/stock-location/common.d.ts +11 -10
  35. package/dist/stock-location/common.d.ts.map +1 -1
  36. package/dist/stock-location/service-next.d.ts +22 -3
  37. package/dist/stock-location/service-next.d.ts.map +1 -1
  38. package/dist/workflow/invite/accept-invite.d.ts +1 -0
  39. package/dist/workflow/invite/accept-invite.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/dist/pricing/common/price-set-money-amount.d.ts +0 -93
  42. package/dist/pricing/common/price-set-money-amount.d.ts.map +0 -1
  43. package/dist/pricing/common/price-set-money-amount.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreatePriceListDTO, CreatePriceListRuleDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceRuleProps, FilterablePriceSetMoneyAmountProps, FilterablePriceSetProps, FilterableRuleTypeProps, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PriceSetMoneyAmountDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, RemovePriceSetRulesDTO, RuleTypeDTO, SetPriceListRulesDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceListRuleDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO } from "./common";
1
+ import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreatePriceListDTO, CreatePriceListRuleDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceProps, FilterablePriceRuleProps, FilterablePriceSetProps, FilterableRuleTypeProps, PriceDTO, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, RemovePriceSetRulesDTO, RuleTypeDTO, SetPriceListRulesDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceListRuleDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO } from "./common";
2
2
  import { FindConfig } from "../common";
3
3
  import { RestoreReturn, SoftDeleteReturn } from "../dal";
4
4
  import { IModuleService } from "../modules-sdk";
@@ -129,7 +129,7 @@ export interface IPricingModuleService extends IModuleService {
129
129
  * const priceSet = await pricingService.retrieve(
130
130
  * priceSetId,
131
131
  * {
132
- * relations: ["money_amounts"]
132
+ * relations: ["prices"]
133
133
  * }
134
134
  * )
135
135
  *
@@ -185,7 +185,7 @@ export interface IPricingModuleService extends IModuleService {
185
185
  * id: priceSetIds
186
186
  * },
187
187
  * {
188
- * relations: ["money_amounts"]
188
+ * relations: ["prices"]
189
189
  * }
190
190
  * )
191
191
  *
@@ -208,7 +208,7 @@ export interface IPricingModuleService extends IModuleService {
208
208
  * id: priceSetIds
209
209
  * },
210
210
  * {
211
- * relations: ["money_amounts"],
211
+ * relations: ["prices"],
212
212
  * skip,
213
213
  * take
214
214
  * }
@@ -225,7 +225,7 @@ export interface IPricingModuleService extends IModuleService {
225
225
  * initialize as initializePricingModule,
226
226
  * } from "@medusajs/pricing"
227
227
  *
228
- * async function retrievePriceSets (priceSetIds: string[], moneyAmountIds: string[], skip: number, take: number) {
228
+ * async function retrievePriceSets (priceSetIds: string[], priceIds: string[], skip: number, take: number) {
229
229
  * const pricingService = await initializePricingModule()
230
230
  *
231
231
  * const priceSets = await pricingService.list(
@@ -235,14 +235,14 @@ export interface IPricingModuleService extends IModuleService {
235
235
  * id: priceSetIds
236
236
  * },
237
237
  * {
238
- * money_amounts: {
239
- * id: moneyAmountIds
238
+ * prices: {
239
+ * id: priceIds
240
240
  * }
241
241
  * }
242
242
  * ]
243
243
  * },
244
244
  * {
245
- * relations: ["money_amounts"],
245
+ * relations: ["prices"],
246
246
  * skip,
247
247
  * take
248
248
  * }
@@ -300,7 +300,7 @@ export interface IPricingModuleService extends IModuleService {
300
300
  * id: priceSetIds
301
301
  * },
302
302
  * {
303
- * relations: ["money_amounts"]
303
+ * relations: ["prices"]
304
304
  * }
305
305
  * )
306
306
  *
@@ -323,7 +323,7 @@ export interface IPricingModuleService extends IModuleService {
323
323
  * id: priceSetIds
324
324
  * },
325
325
  * {
326
- * relations: ["money_amounts"],
326
+ * relations: ["prices"],
327
327
  * skip,
328
328
  * take
329
329
  * }
@@ -340,7 +340,7 @@ export interface IPricingModuleService extends IModuleService {
340
340
  * initialize as initializePricingModule,
341
341
  * } from "@medusajs/pricing"
342
342
  *
343
- * async function retrievePriceSets (priceSetIds: string[], moneyAmountIds: string[], skip: number, take: number) {
343
+ * async function retrievePriceSets (priceSetIds: string[], priceIds: string[], skip: number, take: number) {
344
344
  * const pricingService = await initializePricingModule()
345
345
  *
346
346
  * const [priceSets, count] = await pricingService.listAndCount(
@@ -350,14 +350,14 @@ export interface IPricingModuleService extends IModuleService {
350
350
  * id: priceSetIds
351
351
  * },
352
352
  * {
353
- * money_amounts: {
354
- * id: moneyAmountIds
353
+ * prices: {
354
+ * id: priceIds
355
355
  * }
356
356
  * }
357
357
  * ]
358
358
  * },
359
359
  * {
360
- * relations: ["money_amounts"],
360
+ * relations: ["prices"],
361
361
  * skip,
362
362
  * take
363
363
  * }
@@ -1140,52 +1140,52 @@ export interface IPricingModuleService extends IModuleService {
1140
1140
  */
1141
1141
  deleteRuleTypes(ruleTypeIds: string[], sharedContext?: Context): Promise<void>;
1142
1142
  /**
1143
- * This method is used to retrieve a paginated list of price set money amounts based on optional filters and configuration.
1143
+ * This method is used to retrieve a paginated list of prices based on optional filters and configuration.
1144
1144
  *
1145
- * @param {FilterablePriceSetMoneyAmountProps} filters - The filters to apply on the retrieved price set money amounts.
1146
- * @param {FindConfig<PriceSetMoneyAmountDTO>} config -
1147
- * The configurations determining how the price set money amounts are retrieved. Its properties, such as `select` or `relations`, accept the
1148
- * attributes or relations associated with a price set money amount.
1145
+ * @param {FilterablePriceProps} filters - The filters to apply on the retrieved prices.
1146
+ * @param {FindConfig<PriceDTO>} config -
1147
+ * The configurations determining how the prices are retrieved. Its properties, such as `select` or `relations`, accept the
1148
+ * attributes or relations associated with a price.
1149
1149
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1150
- * @returns {Promise<PriceSetMoneyAmountDTO[]>} The list of price set money amounts.
1150
+ * @returns {Promise<PriceDTO[]>} The list of prices.
1151
1151
  *
1152
1152
  * @example
1153
1153
  *
1154
- * To retrieve a list of price set money amounts using their IDs:
1154
+ * To retrieve a list of prices using their IDs:
1155
1155
  *
1156
1156
  * ```ts
1157
1157
  * import {
1158
1158
  * initialize as initializePricingModule,
1159
1159
  * } from "@medusajs/pricing"
1160
1160
  *
1161
- * async function retrievePriceSetMoneyAmounts (id: string) {
1161
+ * async function retrievePrices (id: string) {
1162
1162
  * const pricingService = await initializePricingModule()
1163
1163
  *
1164
- * const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({
1164
+ * const prices = await pricingService.listPrices({
1165
1165
  * id: [id]
1166
1166
  * })
1167
1167
  *
1168
- * // do something with the price set money amounts or return them
1168
+ * // do something with the prices or return them
1169
1169
  * }
1170
1170
  * ```
1171
1171
  *
1172
- * To specify relations that should be retrieved within the price set money amounts:
1172
+ * To specify relations that should be retrieved within the prices:
1173
1173
  *
1174
1174
  * ```ts
1175
1175
  * import {
1176
1176
  * initialize as initializePricingModule,
1177
1177
  * } from "@medusajs/pricing"
1178
1178
  *
1179
- * async function retrievePriceSetMoneyAmounts (id: string) {
1179
+ * async function retrievePrices (id: string) {
1180
1180
  * const pricingService = await initializePricingModule()
1181
1181
  *
1182
- * const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({
1182
+ * const prices = await pricingService.listPrices({
1183
1183
  * id: [id]
1184
1184
  * }, {
1185
1185
  * relations: ["price_rules"]
1186
1186
  * })
1187
1187
  *
1188
- * // do something with the price set money amounts or return them
1188
+ * // do something with the prices or return them
1189
1189
  * }
1190
1190
  * ```
1191
1191
  *
@@ -1196,10 +1196,10 @@ export interface IPricingModuleService extends IModuleService {
1196
1196
  * initialize as initializePricingModule,
1197
1197
  * } from "@medusajs/pricing"
1198
1198
  *
1199
- * async function retrievePriceSetMoneyAmounts (id: string, skip: number, take: number) {
1199
+ * async function retrievePrices (id: string, skip: number, take: number) {
1200
1200
  * const pricingService = await initializePricingModule()
1201
1201
  *
1202
- * const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({
1202
+ * const prices = await pricingService.listPrices({
1203
1203
  * id: [id]
1204
1204
  * }, {
1205
1205
  * relations: ["price_rules"],
@@ -1207,7 +1207,7 @@ export interface IPricingModuleService extends IModuleService {
1207
1207
  * take
1208
1208
  * })
1209
1209
  *
1210
- * // do something with the price set money amounts or return them
1210
+ * // do something with the prices or return them
1211
1211
  * }
1212
1212
  * ```
1213
1213
  *
@@ -1218,10 +1218,10 @@ export interface IPricingModuleService extends IModuleService {
1218
1218
  * initialize as initializePricingModule,
1219
1219
  * } from "@medusajs/pricing"
1220
1220
  *
1221
- * async function retrievePriceSetMoneyAmounts (ids: string[], titles: string[], skip: number, take: number) {
1221
+ * async function retrievePrices (ids: string[], titles: string[], skip: number, take: number) {
1222
1222
  * const pricingService = await initializePricingModule()
1223
1223
  *
1224
- * const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({
1224
+ * const prices = await pricingService.listPrices({
1225
1225
  * $and: [
1226
1226
  * {
1227
1227
  * id: ids
@@ -1236,61 +1236,61 @@ export interface IPricingModuleService extends IModuleService {
1236
1236
  * take
1237
1237
  * })
1238
1238
  *
1239
- * // do something with the price set money amounts or return them
1239
+ * // do something with the prices or return them
1240
1240
  * }
1241
1241
  * ```
1242
1242
  */
1243
- listPriceSetMoneyAmounts(filters?: FilterablePriceSetMoneyAmountProps, config?: FindConfig<PriceSetMoneyAmountDTO>, sharedContext?: Context): Promise<PriceSetMoneyAmountDTO[]>;
1244
- softDeletePriceSetMoneyAmounts<TReturnableLinkableKeys extends string = string>(psmaIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1245
- restorePriceSetMoneyAmounts<TReturnableLinkableKeys extends string = string>(psmaIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1243
+ listPrices(filters?: FilterablePriceProps, config?: FindConfig<PriceDTO>, sharedContext?: Context): Promise<PriceDTO[]>;
1244
+ softDeletePrices<TReturnableLinkableKeys extends string = string>(priceIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1245
+ restorePrices<TReturnableLinkableKeys extends string = string>(priceIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1246
1246
  /**
1247
- * This method is used to retrieve a paginated list of price set money amounts along with the total count of
1248
- * available price set money amounts satisfying the provided filters.
1247
+ * This method is used to retrieve a paginated list of prices along with the total count of
1248
+ * available prices satisfying the provided filters.
1249
1249
  *
1250
- * @param {FilterablePriceSetMoneyAmountProps} filters - The filters to apply on the retrieved price set money amounts.
1251
- * @param {FindConfig<PriceSetMoneyAmountDTO>} config -
1252
- * The configurations determining how the price set money amounts are retrieved. Its properties, such as `select` or `relations`, accept the
1253
- * attributes or relations associated with a price set money amount.
1250
+ * @param {FilterablePriceProps} filters - The filters to apply on the retrieved prices.
1251
+ * @param {FindConfig<PriceDTO>} config -
1252
+ * The configurations determining how the prices are retrieved. Its properties, such as `select` or `relations`, accept the
1253
+ * attributes or relations associated with a price.
1254
1254
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1255
- * @returns {Promise<[PriceSetMoneyAmountDTO[], number]>} The list of price set money amounts and their total count.
1255
+ * @returns {Promise<[PriceDTO[], number]>} The list of prices and their total count.
1256
1256
  *
1257
1257
  * @example
1258
1258
  *
1259
- * To retrieve a list of price set money amounts using their IDs:
1259
+ * To retrieve a list of prices using their IDs:
1260
1260
  *
1261
1261
  * ```ts
1262
1262
  * import {
1263
1263
  * initialize as initializePricingModule,
1264
1264
  * } from "@medusajs/pricing"
1265
1265
  *
1266
- * async function retrievePriceSetMoneyAmounts (id: string) {
1266
+ * async function retrievePrices (id: string) {
1267
1267
  * const pricingService = await initializePricingModule()
1268
1268
  *
1269
- * const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({
1269
+ * const [prices, count] = await pricingService.listAndCountPrices({
1270
1270
  * id: [id]
1271
1271
  * })
1272
1272
  *
1273
- * // do something with the price set money amounts or return them
1273
+ * // do something with the prices or return them
1274
1274
  * }
1275
1275
  * ```
1276
1276
  *
1277
- * To specify relations that should be retrieved within the price set money amounts:
1277
+ * To specify relations that should be retrieved within the prices:
1278
1278
  *
1279
1279
  * ```ts
1280
1280
  * import {
1281
1281
  * initialize as initializePricingModule,
1282
1282
  * } from "@medusajs/pricing"
1283
1283
  *
1284
- * async function retrievePriceSetMoneyAmounts (id: string) {
1284
+ * async function retrievePrices (id: string) {
1285
1285
  * const pricingService = await initializePricingModule()
1286
1286
  *
1287
- * const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({
1287
+ * const [prices, count] = await pricingService.listAndCountPrices({
1288
1288
  * id: [id]
1289
1289
  * }, {
1290
1290
  * relations: ["price_rules"],
1291
1291
  * })
1292
1292
  *
1293
- * // do something with the price set money amounts or return them
1293
+ * // do something with the prices or return them
1294
1294
  * }
1295
1295
  * ```
1296
1296
  *
@@ -1301,10 +1301,10 @@ export interface IPricingModuleService extends IModuleService {
1301
1301
  * initialize as initializePricingModule,
1302
1302
  * } from "@medusajs/pricing"
1303
1303
  *
1304
- * async function retrievePriceSetMoneyAmounts (id: string, skip: number, take: number) {
1304
+ * async function retrievePrices (id: string, skip: number, take: number) {
1305
1305
  * const pricingService = await initializePricingModule()
1306
1306
  *
1307
- * const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({
1307
+ * const [prices, count] = await pricingService.listAndCountPrices({
1308
1308
  * id: [id]
1309
1309
  * }, {
1310
1310
  * relations: ["price_rules"],
@@ -1312,7 +1312,7 @@ export interface IPricingModuleService extends IModuleService {
1312
1312
  * take
1313
1313
  * })
1314
1314
  *
1315
- * // do something with the price set money amounts or return them
1315
+ * // do something with the prices or return them
1316
1316
  * }
1317
1317
  * ```
1318
1318
  *
@@ -1323,10 +1323,10 @@ export interface IPricingModuleService extends IModuleService {
1323
1323
  * initialize as initializePricingModule,
1324
1324
  * } from "@medusajs/pricing"
1325
1325
  *
1326
- * async function retrievePriceSetMoneyAmounts (ids: string[], titles: string[], skip: number, take: number) {
1326
+ * async function retrievePrices (ids: string[], titles: string[], skip: number, take: number) {
1327
1327
  * const pricingService = await initializePricingModule()
1328
1328
  *
1329
- * const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({
1329
+ * const [prices, count] = await pricingService.listAndCountPrices({
1330
1330
  * $and: [
1331
1331
  * {
1332
1332
  * id: ids
@@ -1341,11 +1341,11 @@ export interface IPricingModuleService extends IModuleService {
1341
1341
  * take
1342
1342
  * })
1343
1343
  *
1344
- * // do something with the price set money amounts or return them
1344
+ * // do something with the prices or return them
1345
1345
  * }
1346
1346
  * ```
1347
1347
  */
1348
- listAndCountPriceSetMoneyAmounts(filters?: FilterablePriceSetMoneyAmountProps, config?: FindConfig<PriceSetMoneyAmountDTO>, sharedContext?: Context): Promise<[PriceSetMoneyAmountDTO[], number]>;
1348
+ listAndCountPrices(filters?: FilterablePriceProps, config?: FindConfig<PriceDTO>, sharedContext?: Context): Promise<[PriceDTO[], number]>;
1349
1349
  /**
1350
1350
  * This method is used to retrieve a price rule by its ID.
1351
1351
  *
@@ -1613,7 +1613,7 @@ export interface IPricingModuleService extends IModuleService {
1613
1613
  * priceSetId: string,
1614
1614
  * ruleTypeId: string,
1615
1615
  * value: string,
1616
- * priceSetMoneyAmountId: string,
1616
+ * priceId: string,
1617
1617
  * priceListId: string
1618
1618
  * ) {
1619
1619
  * const pricingService = await initializePricingModule()
@@ -1624,7 +1624,7 @@ export interface IPricingModuleService extends IModuleService {
1624
1624
  * price_set_id: priceSetId,
1625
1625
  * rule_type_id: ruleTypeId,
1626
1626
  * value,
1627
- * price_set_money_amount_id: priceSetMoneyAmountId,
1627
+ * price_id: priceId,
1628
1628
  * price_list_id: priceListId
1629
1629
  * }
1630
1630
  * ])
@@ -1725,7 +1725,7 @@ export interface IPricingModuleService extends IModuleService {
1725
1725
  * const priceList = await pricingService.retrievePriceList(
1726
1726
  * priceListId,
1727
1727
  * {
1728
- * relations: ["price_set_money_amounts"]
1728
+ * relations: ["prices"]
1729
1729
  * }
1730
1730
  * )
1731
1731
  *
@@ -1781,7 +1781,7 @@ export interface IPricingModuleService extends IModuleService {
1781
1781
  * id: priceListIds
1782
1782
  * },
1783
1783
  * {
1784
- * relations: ["price_set_money_amounts"]
1784
+ * relations: ["prices"]
1785
1785
  * }
1786
1786
  * )
1787
1787
  *
@@ -1804,7 +1804,7 @@ export interface IPricingModuleService extends IModuleService {
1804
1804
  * id: priceListIds
1805
1805
  * },
1806
1806
  * {
1807
- * relations: ["price_set_money_amounts"],
1807
+ * relations: ["prices"],
1808
1808
  * skip,
1809
1809
  * take
1810
1810
  * }
@@ -1836,7 +1836,7 @@ export interface IPricingModuleService extends IModuleService {
1836
1836
  * ]
1837
1837
  * },
1838
1838
  * {
1839
- * relations: ["price_set_money_amounts"],
1839
+ * relations: ["prices"],
1840
1840
  * skip,
1841
1841
  * take
1842
1842
  * }
@@ -1894,7 +1894,7 @@ export interface IPricingModuleService extends IModuleService {
1894
1894
  * id: priceListIds
1895
1895
  * },
1896
1896
  * {
1897
- * relations: ["price_set_money_amounts"]
1897
+ * relations: ["prices"]
1898
1898
  * }
1899
1899
  * )
1900
1900
  *
@@ -1917,7 +1917,7 @@ export interface IPricingModuleService extends IModuleService {
1917
1917
  * id: priceListIds
1918
1918
  * },
1919
1919
  * {
1920
- * relations: ["price_set_money_amounts"],
1920
+ * relations: ["prices"],
1921
1921
  * skip,
1922
1922
  * take
1923
1923
  * }
@@ -1949,7 +1949,7 @@ export interface IPricingModuleService extends IModuleService {
1949
1949
  * ]
1950
1950
  * },
1951
1951
  * {
1952
- * relations: ["price_set_money_amounts"],
1952
+ * relations: ["prices"],
1953
1953
  * skip,
1954
1954
  * take
1955
1955
  * }
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/pricing/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAE3C;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8EG;IACH,eAAe,CACb,OAAO,EAAE,cAAc,EACvB,OAAO,CAAC,EAAE,cAAc,EACxB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,kB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BAAiB,CACf,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oBAAoB,CAClB,IAAI,EAAE,uBAAuB,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
@@ -36,13 +36,17 @@ export interface UpdateSalesChannelDTO {
36
36
  */
37
37
  metadata?: Record<string, unknown>;
38
38
  }
39
+ /**
40
+ * The attributes in the sales channel to be created or updated.
41
+ */
39
42
  export interface UpsertSalesChannelDTO {
40
43
  /**
41
44
  * The ID of the sales channel.
42
45
  */
43
46
  id?: string;
44
47
  /**
45
- * The name of the sales channel.
48
+ * The name of the sales channel. Required
49
+ * when creating a sales channel.
46
50
  */
47
51
  name?: string;
48
52
  /**
@@ -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,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,qBAAq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