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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) 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/shared-context.d.ts +4 -0
  35. package/dist/shared-context.d.ts.map +1 -1
  36. package/dist/stock-location/common.d.ts +11 -10
  37. package/dist/stock-location/common.d.ts.map +1 -1
  38. package/dist/stock-location/service-next.d.ts +22 -3
  39. package/dist/stock-location/service-next.d.ts.map +1 -1
  40. package/dist/workflow/invite/accept-invite.d.ts +1 -0
  41. package/dist/workflow/invite/accept-invite.d.ts.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/pricing/common/price-set-money-amount.d.ts +0 -93
  44. package/dist/pricing/common/price-set-money-amount.d.ts.map +0 -1
  45. package/dist/pricing/common/price-set-money-amount.js.map +0 -1
@@ -501,10 +501,13 @@ export type ProjectConfigOptions = {
501
501
  */
502
502
  jobs_batch_size?: number;
503
503
  /**
504
- * Configure the application's worker mode. The default value is `shared`.
505
- * - Use `shared` if you want to run the application in a single process.
506
- * - Use `worker` if you want to run the a worker process only.
507
- * - Use `server` if you want to run the application server only.
504
+ * Configure the application's worker mode. Default is `shared`.
505
+ *
506
+ * - Use `shared` to run the application in a single process.
507
+ * - Use `worker` to run the a worker process only.
508
+ * - Use `server` to run the application server only.
509
+ *
510
+ * Learn more in [this guide](https://docs.medusajs.com/development/medusa-worker).
508
511
  *
509
512
  * @example
510
513
  * ```js title="medusa-config.js"
@@ -1 +1 @@
1
- {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,E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H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,OAAO,CAAC,EAAE,MAAM,CACd,MAAM,EACN,OAAO,GAAG,OAAO,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CACzE,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,CAAA;CAC/C,CAAA"}
1
+ {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;OAgBG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;;;;;;;;;;;;;;OAiBG;IACH,aAAa,CAAC,EAAE,YAAY,CAAA;IAE5B;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,CAAC,EAAE,cAAc,CAAA;IAEhC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,gBAAgB,CAAC,EAAE,sBAAsB,CAAA;IAEzC;;;;;;;;;;;;;OAaG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAA;CAC7C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,aAAa,EAAE,oBAAoB,CAAA;IAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,OAAO,EAAE,CACL;QACE,OAAO,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACjC,GACD,MAAM,CACT,EAAE,CAAA;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,OAAO,CAAC,EAAE,MAAM,CACd,MAAM,EACN,OAAO,GAAG,OAAO,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CACzE,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,CAAA;CAC/C,CAAA"}
@@ -63,6 +63,17 @@ export type FindOptions<T = any> = {
63
63
  */
64
64
  options?: OptionsQuery<T, any>;
65
65
  };
66
+ /**
67
+ * @interface
68
+ *
69
+ * An object used to specify the configuration of how the upsert should be performed.
70
+ */
71
+ export type UpsertWithReplaceConfig<T> = {
72
+ /**
73
+ * The relationships that will be updated/created/deleted as part of the upsert
74
+ */
75
+ relations?: (keyof T)[];
76
+ };
66
77
  export * from "./repository-service";
67
78
  export * from "./entity";
68
79
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAe,KAAK,EAAE,MAAM,SAAS,CAAA;AAErE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAElD;;;;GAIG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAEhC;;OAEG;IACH,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,KAAK;IACvD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,CAAA;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC,GAAG,MAAM,EAAE,GAAG,OAAO,CAAA;CAChE;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,GA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,UAAU,CAAC,GAAG,MAAM,EAAE,GAAG,OAAO,CAAA;CAChE;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,GAAG,IAAI;IACjC;;OAEG;IACH,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;IAEtD;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;CAC/B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAA;CACxB,CAAA;AAED,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAwEA,uDAAoC;AACpC,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAoFA,uDAAoC;AACpC,2CAAwB"}
@@ -1,6 +1,6 @@
1
1
  import { RepositoryTransformOptions } from "../common";
2
2
  import { Context } from "../shared-context";
3
- import { BaseFilterable, FilterQuery as InternalFilterQuery, FilterQuery, FindOptions } from "./index";
3
+ import { BaseFilterable, FilterQuery as InternalFilterQuery, FilterQuery, FindOptions, UpsertWithReplaceConfig } from "./index";
4
4
  /**
5
5
  * Data access layer (DAL) interface to implements for any repository service.
6
6
  * This layer helps to separate the business logic (service layer) from accessing the
@@ -36,6 +36,7 @@ export interface RepositoryService<T = any> extends BaseRepositoryService<T> {
36
36
  softDelete(idsOrFilter: string[] | InternalFilterQuery, context?: Context): Promise<[T[], Record<string, unknown[]>]>;
37
37
  restore(idsOrFilter: string[] | InternalFilterQuery, context?: Context): Promise<[T[], Record<string, unknown[]>]>;
38
38
  upsert(data: any[], context?: Context): Promise<T[]>;
39
+ upsertWithReplace(data: any[], config?: UpsertWithReplaceConfig<T>, context?: Context): Promise<T[]>;
39
40
  }
40
41
  export interface TreeRepositoryService<T = any> extends BaseRepositoryService<T> {
41
42
  find(options?: FindOptions<T>, transformOptions?: RepositoryTransformOptions, context?: Context): Promise<T[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"repository-service.d.ts","sourceRoot":"","sources":["../../src/dal/repository-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,IAAI,mBAAmB,EAClC,WAAW,EACX,WAAW,EACZ,MAAM,SAAS,CAAA;AAEhB;;;;GAIG;AACH,UAAU,qBAAqB,CAAC,CAAC,GAAG,GAAG;IACrC,WAAW,CAAC,QAAQ,GAAG,OAAO,EAC5B,IAAI,EAAE,CAAC,kBAAkB,EAAE,QAAQ,KAAK,OAAO,CAAC,GAAG,CAAC,EACpD,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,MAAM,CAAA;QACvB,WAAW,CAAC,EAAE,QAAQ,CAAA;QACtB,wBAAwB,CAAC,EAAE,OAAO,CAAA;KACnC,GACA,OAAO,CAAC,GAAG,CAAC,CAAA;IAEf,eAAe,CAAC,QAAQ,GAAG,OAAO,KAAK,QAAQ,CAAA;IAE/C,gBAAgB,CAAC,QAAQ,GAAG,OAAO,KAAK,QAAQ,CAAA;IAEhD,SAAS,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,EAAE,EACzC,IAAI,EAAE,GAAG,EACT,OAAO,CAAC,EAAE,GAAG,GACZ,OAAO,CAAC,OAAO,CAAC,CAAA;CACpB;AAID,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,qBAAqB,CAAC,CAAC,CAAC;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B,gBAAgB,CAAC,EAAE,0BAA0B,EAC7C,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAEzB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IAEpD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACrD;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,CAAC,uBAAuB,GAAG,MAAM,IAAI;IAC/D;;OAEG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC/C,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,CAAC,uBAAuB,GAAG,MAAM,IAAI;IAC5D;;OAEG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC/C,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { FindConfig } from "../common";
2
2
  import { Context } from "../shared-context";
3
- import { BaseFilterable, FilterQuery as InternalFilterQuery, FilterQuery } from "../dal";
3
+ import { BaseFilterable, FilterQuery as InternalFilterQuery, FilterQuery, UpsertWithReplaceConfig } from "../dal";
4
4
  export interface InternalModuleService<TEntity extends {}, TContainer extends object = object> {
5
5
  get __container__(): TContainer;
6
6
  retrieve(idOrObject: string, config?: FindConfig<any>, sharedContext?: Context): Promise<TEntity>;
@@ -30,5 +30,6 @@ export interface InternalModuleService<TEntity extends {}, TContainer extends ob
30
30
  restore(idsOrFilter: string[] | InternalFilterQuery, sharedContext?: Context): Promise<[TEntity[], Record<string, unknown[]>]>;
31
31
  upsert(data: any[], sharedContext?: Context): Promise<TEntity[]>;
32
32
  upsert(data: any, sharedContext?: Context): Promise<TEntity>;
33
+ upsertWithReplace(data: any[], config?: UpsertWithReplaceConfig<TEntity>, sharedContext?: Context): Promise<TEntity[]>;
33
34
  }
34
35
  //# sourceMappingURL=internal-module-service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal-module-service.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/internal-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,IAAI,mBAAmB,EAClC,WAAW,EACZ,MAAM,QAAQ,CAAA;AAEf,MAAM,WAAW,qBAAqB,CACpC,OAAO,SAAS,EAAE,EAClB,UAAU,SAAS,MAAM,GAAG,MAAM;IAElC,IAAI,aAAa,IAAI,UAAU,CAAA;IAE/B,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EACxB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,CAAC,CAAA;IACnB,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EACxB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB,IAAI,CACF,OAAO,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,EAC7D,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EACxB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAErB,YAAY,CACV,OAAO,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,EAC7D,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EACxB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,MAAM,C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