@medusajs/types 1.12.0-snapshot-20240521095428 → 1.12.0-snapshot-20240522193310

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/auth/common/{auth-user.d.ts → auth-identity.d.ts} +16 -16
  2. package/dist/auth/common/auth-identity.d.ts.map +1 -0
  3. package/dist/auth/common/{auth-user.js → auth-identity.js} +1 -1
  4. package/dist/auth/common/auth-identity.js.map +1 -0
  5. package/dist/auth/common/index.d.ts +1 -1
  6. package/dist/auth/common/index.d.ts.map +1 -1
  7. package/dist/auth/common/index.js +1 -1
  8. package/dist/auth/common/index.js.map +1 -1
  9. package/dist/auth/common/provider.d.ts +1 -1
  10. package/dist/auth/common/provider.d.ts.map +1 -1
  11. package/dist/auth/service.d.ts +46 -46
  12. package/dist/auth/service.d.ts.map +1 -1
  13. package/dist/common/config-module.d.ts +21 -11
  14. package/dist/common/config-module.d.ts.map +1 -1
  15. package/dist/fulfillment/service.d.ts +36 -1
  16. package/dist/fulfillment/service.d.ts.map +1 -1
  17. package/dist/http/common/request.d.ts +1 -1
  18. package/dist/http/common/request.d.ts.map +1 -1
  19. package/dist/workflow/fulfillment/create-shipping-options.d.ts +2 -4
  20. package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -1
  21. package/dist/workflow/fulfillment/shipping-profiles.d.ts +2 -1
  22. package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +1 -1
  23. package/dist/workflow/invite/accept-invite.d.ts +1 -1
  24. package/dist/workflow/invite/accept-invite.d.ts.map +1 -1
  25. package/dist/workflow/region/create-regions.d.ts +1 -3
  26. package/dist/workflow/region/create-regions.d.ts.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/auth/common/auth-user.d.ts.map +0 -1
  29. package/dist/auth/common/auth-user.js.map +0 -1
@@ -2,11 +2,11 @@ import { BaseFilterable } from "../../dal";
2
2
  /**
3
3
  * @interface
4
4
  *
5
- * The auth user details.
5
+ * The auth identity details.
6
6
  */
7
- export type AuthUserDTO = {
7
+ export type AuthIdentityDTO = {
8
8
  /**
9
- * The ID of the auth user.
9
+ * The ID of the auth identity.
10
10
  */
11
11
  id: string;
12
12
  /**
@@ -19,7 +19,7 @@ export type AuthUserDTO = {
19
19
  */
20
20
  entity_id: string;
21
21
  /**
22
- * The scope of the auth user. For example,
22
+ * The scope of the auth identity. For example,
23
23
  * `admin` or `store`.
24
24
  */
25
25
  scope: string;
@@ -39,11 +39,11 @@ export type AuthUserDTO = {
39
39
  /**
40
40
  * @interface
41
41
  *
42
- * The auth user to be created.
42
+ * The auth identity to be created.
43
43
  */
44
- export type CreateAuthUserDTO = {
44
+ export type CreateAuthIdentityDTO = {
45
45
  /**
46
- * The ID of the auth user.
46
+ * The ID of the auth identity.
47
47
  */
48
48
  id?: string;
49
49
  /**
@@ -57,7 +57,7 @@ export type CreateAuthUserDTO = {
57
57
  */
58
58
  entity_id: string;
59
59
  /**
60
- * The scope of the auth user. For example,
60
+ * The scope of the auth identity. For example,
61
61
  * `admin` or `store`.
62
62
  */
63
63
  scope: string;
@@ -77,11 +77,11 @@ export type CreateAuthUserDTO = {
77
77
  /**
78
78
  * @interface
79
79
  *
80
- * The attributes to update in the auth user.
80
+ * The attributes to update in the auth identity.
81
81
  */
82
- export type UpdateAuthUserDTO = {
82
+ export type UpdateAuthIdentityDTO = {
83
83
  /**
84
- * The ID of the auth user.
84
+ * The ID of the auth identity.
85
85
  */
86
86
  id: string;
87
87
  /**
@@ -98,16 +98,16 @@ export type UpdateAuthUserDTO = {
98
98
  app_metadata?: Record<string, unknown>;
99
99
  };
100
100
  /**
101
- * The filters to apply on the retrieved auth user.
101
+ * The filters to apply on the retrieved auth identity.
102
102
  */
103
- export interface FilterableAuthUserProps extends BaseFilterable<FilterableAuthUserProps> {
103
+ export interface FilterableAuthIdentityProps extends BaseFilterable<FilterableAuthIdentityProps> {
104
104
  /**
105
- * The IDs to filter the auth user by.
105
+ * The IDs to filter the auth identity by.
106
106
  */
107
107
  id?: string[];
108
108
  /**
109
- * Filter the auth users by the ID of their auth provider.
109
+ * Filter the auth identitys by the ID of their auth provider.
110
110
  */
111
111
  provider?: string[] | string;
112
112
  }
113
- //# sourceMappingURL=auth-user.d.ts.map
113
+ //# sourceMappingURL=auth-identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-identity.d.ts","sourceRoot":"","sources":["../../../src/auth/common/auth-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEtC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACvC,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACvC,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,2BAA2B,CAAC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CAC7B"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=auth-user.js.map
3
+ //# sourceMappingURL=auth-identity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-identity.js","sourceRoot":"","sources":["../../../src/auth/common/auth-identity.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export * from "./auth-user";
1
+ export * from "./auth-identity";
2
2
  export * from "./provider";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA"}
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./auth-user"), exports);
17
+ __exportStar(require("./auth-identity"), exports);
18
18
  __exportStar(require("./provider"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,6CAA0B"}
@@ -11,7 +11,7 @@ export type AuthenticationResponse = {
11
11
  /**
12
12
  * The authenticated user's details.
13
13
  */
14
- authUser?: any;
14
+ authIdentity?: any;
15
15
  /**
16
16
  * If an error occurs during the authentication process,
17
17
  * whether within the Auth Module or a third-party provider,
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/auth/common/provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAA;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;CAC1C,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM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M,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { AuthUserDTO, AuthenticationInput, AuthenticationResponse, CreateAuthUserDTO, FilterableAuthUserProps, UpdateAuthUserDTO } from "./common";
1
+ import { AuthIdentityDTO, AuthenticationInput, AuthenticationResponse, CreateAuthIdentityDTO, FilterableAuthIdentityProps, UpdateAuthIdentityDTO } from "./common";
2
2
  import { Context } from "../shared-context";
3
3
  import { FindConfig } from "../common";
4
4
  import { IModuleService } from "../modules-sdk";
@@ -28,7 +28,7 @@ export interface IAuthModuleService extends IModuleService {
28
28
  * `req` is an instance of the `MedusaRequest` object:
29
29
  *
30
30
  * ```ts
31
- * const { success, authUser, location, error } =
31
+ * const { success, authIdentity, location, error } =
32
32
  * await authModuleService.authenticate("emailpass", {
33
33
  * url: req.url,
34
34
  * headers: req.headers,
@@ -62,7 +62,7 @@ export interface IAuthModuleService extends IModuleService {
62
62
  * `req` is an instance of the `MedusaRequest` object:
63
63
  *
64
64
  * ```ts
65
- * const { success, authUser, error, successRedirectUrl } =
65
+ * const { success, authIdentity, error, successRedirectUrl } =
66
66
  * await authModuleService.validateCallback("google", {
67
67
  * url: req.url,
68
68
  * headers: req.headers,
@@ -76,32 +76,32 @@ export interface IAuthModuleService extends IModuleService {
76
76
  */
77
77
  validateCallback(provider: string, providerData: AuthenticationInput): Promise<AuthenticationResponse>;
78
78
  /**
79
- * This method retrieves an auth user by its ID.
79
+ * This method retrieves an auth identity by its ID.
80
80
  *
81
- * @param {string} id - The ID of the auth user.
82
- * @param {FindConfig<AuthUserDTO>} config - The configurations determining how the auth user is retrieved. Its properties, such as `select` or `relations`, accept the
83
- * attributes or relations associated with a auth user.
81
+ * @param {string} id - The ID of the auth identity.
82
+ * @param {FindConfig<AuthIdentityDTO>} config - The configurations determining how the auth identity is retrieved. Its properties, such as `select` or `relations`, accept the
83
+ * attributes or relations associated with a auth identity.
84
84
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
85
- * @returns {Promise<AuthUserDTO>} The retrieved auth user.
85
+ * @returns {Promise<AuthIdentityDTO>} The retrieved auth identity.
86
86
  *
87
87
  * @example
88
- * const authUser = await authModuleService.retrieve("authusr_1")
88
+ * const authIdentity = await authModuleService.retrieve("authusr_1")
89
89
  */
90
- retrieve(id: string, config?: FindConfig<AuthUserDTO>, sharedContext?: Context): Promise<AuthUserDTO>;
90
+ retrieve(id: string, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<AuthIdentityDTO>;
91
91
  /**
92
- * This method retrieves a paginated list of auth users based on optional filters and configuration.
92
+ * This method retrieves a paginated list of auth identitys based on optional filters and configuration.
93
93
  *
94
- * @param {FilterableAuthUserProps} filters - The filters to apply on the retrieved auth users.
95
- * @param {FindConfig<AuthUserDTO>} config - The configurations determining how the auth user is retrieved. Its properties, such as `select` or `relations`, accept the
96
- * attributes or relations associated with a auth user.
94
+ * @param {FilterableAuthIdentityProps} filters - The filters to apply on the retrieved auth identitys.
95
+ * @param {FindConfig<AuthIdentityDTO>} config - The configurations determining how the auth identity is retrieved. Its properties, such as `select` or `relations`, accept the
96
+ * attributes or relations associated with a auth identity.
97
97
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
98
- * @returns {Promise<AuthUserDTO[]>} The list of auth users.
98
+ * @returns {Promise<AuthIdentityDTO[]>} The list of auth identitys.
99
99
  *
100
100
  * @example
101
- * To retrieve a list of auth users using their IDs:
101
+ * To retrieve a list of auth identitys using their IDs:
102
102
  *
103
103
  * ```ts
104
- * const authUsers = await authModuleService.list({
104
+ * const authIdentities = await authModuleService.list({
105
105
  * id: ["authusr_123", "authusr_321"],
106
106
  * })
107
107
  * ```
@@ -109,7 +109,7 @@ export interface IAuthModuleService extends IModuleService {
109
109
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
110
110
  *
111
111
  * ```ts
112
- * const authUsers = await authModuleService.list(
112
+ * const authIdentities = await authModuleService.list(
113
113
  * {
114
114
  * id: ["authusr_123", "authusr_321"],
115
115
  * },
@@ -120,21 +120,21 @@ export interface IAuthModuleService extends IModuleService {
120
120
  * )
121
121
  * ```
122
122
  */
123
- list(filters?: FilterableAuthUserProps, config?: FindConfig<AuthUserDTO>, sharedContext?: Context): Promise<AuthUserDTO[]>;
123
+ list(filters?: FilterableAuthIdentityProps, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<AuthIdentityDTO[]>;
124
124
  /**
125
- * This method retrieves a paginated list of auth users along with the total count of available auth users satisfying the provided filters.
125
+ * This method retrieves a paginated list of auth identitys along with the total count of available auth identitys satisfying the provided filters.
126
126
  *
127
- * @param {FilterableAuthUserProps} filters - The filters to apply on the retrieved auth users.
128
- * @param {FindConfig<AuthUserDTO>} config - The configurations determining how the auth user is retrieved. Its properties, such as `select` or `relations`, accept the
129
- * attributes or relations associated with a auth user.
127
+ * @param {FilterableAuthIdentityProps} filters - The filters to apply on the retrieved auth identitys.
128
+ * @param {FindConfig<AuthIdentityDTO>} config - The configurations determining how the auth identity is retrieved. Its properties, such as `select` or `relations`, accept the
129
+ * attributes or relations associated with a auth identity.
130
130
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
131
- * @returns {Promise<[AuthUserDTO[], number]>} The list of auth users along with their total count.
131
+ * @returns {Promise<[AuthIdentityDTO[], number]>} The list of auth identitys along with their total count.
132
132
  *
133
133
  * @example
134
- * To retrieve a list of auth users using their IDs:
134
+ * To retrieve a list of auth identitys using their IDs:
135
135
  *
136
136
  * ```ts
137
- * const [authUsers, count] =
137
+ * const [authIdentities, count] =
138
138
  * await authModuleService.listAndCount({
139
139
  * id: ["authusr_123", "authusr_321"],
140
140
  * })
@@ -143,7 +143,7 @@ export interface IAuthModuleService extends IModuleService {
143
143
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
144
144
  *
145
145
  * ```ts
146
- * const [authUsers, count] =
146
+ * const [authIdentities, count] =
147
147
  * await authModuleService.listAndCount(
148
148
  * {
149
149
  * id: ["authusr_123", "authusr_321"],
@@ -155,16 +155,16 @@ export interface IAuthModuleService extends IModuleService {
155
155
  * )
156
156
  * ```
157
157
  */
158
- listAndCount(filters?: FilterableAuthUserProps, config?: FindConfig<AuthUserDTO>, sharedContext?: Context): Promise<[AuthUserDTO[], number]>;
158
+ listAndCount(filters?: FilterableAuthIdentityProps, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<[AuthIdentityDTO[], number]>;
159
159
  /**
160
- * This method creates auth users.
160
+ * This method creates auth identitys.
161
161
  *
162
- * @param {CreateAuthUserDTO[]} data - The auth users to be created.
162
+ * @param {CreateAuthIdentityDTO[]} data - The auth identitys to be created.
163
163
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
164
- * @returns {Promise<AuthUserDTO[]>} The created auth users.
164
+ * @returns {Promise<AuthIdentityDTO[]>} The created auth identitys.
165
165
  *
166
166
  * @example
167
- * const authUsers = await authModuleService.create([
167
+ * const authIdentities = await authModuleService.create([
168
168
  * {
169
169
  * provider: "emailpass",
170
170
  * entity_id: "user@example.com",
@@ -177,31 +177,31 @@ export interface IAuthModuleService extends IModuleService {
177
177
  * },
178
178
  * ])
179
179
  */
180
- create(data: CreateAuthUserDTO[], sharedContext?: Context): Promise<AuthUserDTO[]>;
180
+ create(data: CreateAuthIdentityDTO[], sharedContext?: Context): Promise<AuthIdentityDTO[]>;
181
181
  /**
182
- * This method creates an auth user.
182
+ * This method creates an auth identity.
183
183
  *
184
- * @param {CreateAuthUserDTO} data - The auth user to be created.
184
+ * @param {CreateAuthIdentityDTO} data - The auth identity to be created.
185
185
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
186
- * @returns {Promise<AuthUserDTO>} The created auth user.
186
+ * @returns {Promise<AuthIdentityDTO>} The created auth identity.
187
187
  *
188
188
  * @example
189
- * const authUser = await authModuleService.create({
189
+ * const authIdentity = await authModuleService.create({
190
190
  * provider: "emailpass",
191
191
  * entity_id: "user@example.com",
192
192
  * scope: "admin",
193
193
  * })
194
194
  */
195
- create(data: CreateAuthUserDTO, sharedContext?: Context): Promise<AuthUserDTO>;
195
+ create(data: CreateAuthIdentityDTO, sharedContext?: Context): Promise<AuthIdentityDTO>;
196
196
  /**
197
197
  * This method updates existing auths.
198
198
  *
199
- * @param {UpdateAuthUserDTO[]} data - The attributes to update in the auth users.
199
+ * @param {UpdateAuthIdentityDTO[]} data - The attributes to update in the auth identitys.
200
200
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
201
- * @returns {Promise<AuthUserDTO[]>} The updated auths.
201
+ * @returns {Promise<AuthIdentityDTO[]>} The updated auths.
202
202
  *
203
203
  * @example
204
- * const authUsers = await authModuleService.update([
204
+ * const authIdentities = await authModuleService.update([
205
205
  * {
206
206
  * id: "authusr_123",
207
207
  * app_metadata: {
@@ -210,23 +210,23 @@ export interface IAuthModuleService extends IModuleService {
210
210
  * },
211
211
  * ])
212
212
  */
213
- update(data: UpdateAuthUserDTO[], sharedContext?: Context): Promise<AuthUserDTO[]>;
213
+ update(data: UpdateAuthIdentityDTO[], sharedContext?: Context): Promise<AuthIdentityDTO[]>;
214
214
  /**
215
215
  * This method updates an existing auth.
216
216
  *
217
- * @param {UpdateAuthUserDTO} data - The attributes to update in the auth user.
217
+ * @param {UpdateAuthIdentityDTO} data - The attributes to update in the auth identity.
218
218
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
219
- * @returns {Promise<AuthUserDTO>} The updated auth.
219
+ * @returns {Promise<AuthIdentityDTO>} The updated auth.
220
220
  *
221
221
  * @example
222
- * const authUser = await authModuleService.update({
222
+ * const authIdentity = await authModuleService.update({
223
223
  * id: "authusr_123",
224
224
  * app_metadata: {
225
225
  * test: true,
226
226
  * },
227
227
  * })
228
228
  */
229
- update(data: UpdateAuthUserDTO, sharedContext?: Context): Promise<AuthUserDTO>;
229
+ update(data: UpdateAuthIdentityDTO, sharedContext?: Context): Promise<AuthIdentityDTO>;
230
230
  /**
231
231
  * This method deletes a auth by its ID.
232
232
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/auth/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,YAAY,CACV,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,mBAAmB,GAChC,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,gBAAgB,CACd,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,mBAAmB,GAChC,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAElC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,UAAU,CAAC,WA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ACH,YAAY,CACV,OAAO,CAAC,EAAE,2BAA2B,EACrC,MAAM,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,EACpC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,eAAe,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAEvC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAA;IAE7B;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC,CAAA;IAE3B;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAA;IAE7B;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC,CAAA;IAE3B;;;;;;;;;OASG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAC9D"}
@@ -24,17 +24,19 @@ export type AdminOptions = {
24
24
  */
25
25
  path?: `/${string}`;
26
26
  /**
27
- * The directory where the admin build is output. This is where the build process will place the generated files.
27
+ * The directory where the admin build is output. This is where the build process places the generated files.
28
28
  * The default value is `./build`.
29
29
  */
30
30
  outDir?: string;
31
31
  /**
32
- * The URL of your Medusa server. Defaults to an empty string, which means requests will hit the same server that serves the dashboard.
32
+ * The URL of your Medusa backend. Defaults to an empty string, which means requests will hit the same server that serves the dashboard.
33
33
  */
34
34
  backendUrl?: string;
35
35
  /**
36
36
  * Configure the Vite configuration for the admin dashboard. This function receives the default Vite configuration
37
37
  * and returns the modified configuration. The default value is `undefined`.
38
+ *
39
+ * @privateRemarks TODO Add example
38
40
  */
39
41
  vite?: (config: InlineConfig) => InlineConfig;
40
42
  };
@@ -205,7 +207,7 @@ export type ProjectConfigOptions = {
205
207
  * @ignore
206
208
  * @deprecated
207
209
  *
208
- * @privateRemark
210
+ * @privateRemarks
209
211
  * only postgres is supported, so this config has no effect
210
212
  */
211
213
  database_type?: string;
@@ -361,12 +363,9 @@ export type ProjectConfigOptions = {
361
363
  */
362
364
  session_options?: SessionOptions;
363
365
  /**
364
- * @deprecated - use `http.compression` instead
365
366
  * Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.
366
367
  * However, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.
367
368
  *
368
- * Its value is an object that has the following properties:
369
- *
370
369
  * If you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `"x-no-compression": true`.
371
370
  *
372
371
  * @example
@@ -384,6 +383,9 @@ export type ProjectConfigOptions = {
384
383
  * // ...
385
384
  * }
386
385
  * ```
386
+ *
387
+ * @deprecated use {@link http }'s `compression` property instead.
388
+ *
387
389
  */
388
390
  http_compression?: HttpCompressionOptions;
389
391
  /**
@@ -691,7 +693,8 @@ export type ProjectConfigOptions = {
691
693
  *
692
694
  * `medusa-config.js` exports an object having the following properties:
693
695
  *
694
- * - {@link ConfigModule.projectConfig | projectConfig}: (required): An object that holds general configurations related to the Medusa backend, such as database or CORS configurations.
696
+ * - {@link ConfigModule.projectConfig | projectConfig} (required): An object that holds general configurations related to the Medusa backend, such as database or CORS configurations.
697
+ * - {@link ConfigModule.admin | admin}: An object that holds admin-related configurations.
695
698
  * - {@link ConfigModule.plugins | plugins}: An array of plugin configurations that defines what plugins are installed and optionally specifies each of their configurations.
696
699
  * - {@link ConfigModule.modules | modules}: An object that defines what modules are installed and optionally specifies each of their configurations.
697
700
  * - {@link ConfigModule.featureFlags | featureFlags}: An object that enables or disables features guarded by a feature flag.
@@ -701,7 +704,7 @@ export type ProjectConfigOptions = {
701
704
  * ```js title="medusa-config.js"
702
705
  * module.exports = {
703
706
  * projectConfig,
704
- * plugins,
707
+ * admin,
705
708
  * modules,
706
709
  * featureFlags,
707
710
  * }
@@ -725,6 +728,16 @@ export type ConfigModule = {
725
728
  projectConfig: ProjectConfigOptions;
726
729
  /**
727
730
  * Admin dashboard configurations.
731
+ *
732
+ * @example
733
+ * ```js title="medusa-config.js"
734
+ * module.exports = {
735
+ * admin: {
736
+ * backendUrl: process.env.MEDUSA_BACKEND_URL || "http://localhost:9000"
737
+ * }
738
+ * // ...
739
+ * }
740
+ * ```
728
741
  */
729
742
  admin?: AdminOptions;
730
743
  /**
@@ -830,9 +843,6 @@ export type ConfigModule = {
830
843
  * :::
831
844
  */
832
845
  featureFlags: Record<string, boolean | string>;
833
- directories?: {
834
- srcDir?: string;
835
- };
836
846
  };
837
847
  export type PluginDetails = {
838
848
  resolve: string;
@@ -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,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,IAAI,C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AAC,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;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -2019,7 +2019,7 @@ export interface IFulfillmentModuleService extends IModuleService {
2019
2019
  */
2020
2020
  listAndCountFulfillments(filters?: FilterableFulfillmentProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<[FulfillmentDTO[], number]>;
2021
2021
  /**
2022
- * This method creates a fulfillment.
2022
+ * This method creates a fulfillment and call the provider to create a fulfillment.
2023
2023
  *
2024
2024
  * @param {CreateFulfillmentDTO} data - The fulfillment to be created.
2025
2025
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
@@ -2053,6 +2053,41 @@ export interface IFulfillmentModuleService extends IModuleService {
2053
2053
  * })
2054
2054
  */
2055
2055
  createFulfillment(data: CreateFulfillmentDTO, sharedContext?: Context): Promise<FulfillmentDTO>;
2056
+ /**
2057
+ * This method creates a fulfillment and call the provider to create a return.
2058
+ *
2059
+ * @param {CreateFulfillmentDTO} data - The fulfillment to be created.
2060
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2061
+ * @returns {Promise<FulfillmentDTO>} The created fulfillment.
2062
+ *
2063
+ * @example
2064
+ * const fulfillment =
2065
+ * await fulfillmentModuleService.createReturnFulfillment({
2066
+ * location_id: "loc_123",
2067
+ * provider_id: "webshipper",
2068
+ * delivery_address: {
2069
+ * address_1: "4120 Auto Park Cir",
2070
+ * country_code: "us",
2071
+ * },
2072
+ * items: [
2073
+ * {
2074
+ * title: "Shirt",
2075
+ * sku: "SHIRT",
2076
+ * quantity: 1,
2077
+ * barcode: "ABCED",
2078
+ * },
2079
+ * ],
2080
+ * labels: [
2081
+ * {
2082
+ * tracking_number: "1234567",
2083
+ * tracking_url: "https://example.com/tracking",
2084
+ * label_url: "https://example.com/label",
2085
+ * },
2086
+ * ],
2087
+ * order: {},
2088
+ * })
2089
+ */
2090
+ createReturnFulfillment(data: CreateFulfillmentDTO, sharedContext?: Context): Promise<FulfillmentDTO>;
2056
2091
  /**
2057
2092
  * This method updates an existing fulfillment.
2058
2093
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/fulfillment/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,0BAA0B,EAC1B,kCAAkC,EAClC,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,uCAAuC,EACvC,6BAA6B,EAC7B,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3B,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3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;;;;;;;;;;;;;;OAiCG;IACH,uBAAuB,CACrB,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,cAAc,CAAC,CAAA;IAE1B;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CACf,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,cAAc,CAAC,CAAA;IAE1B;;;;;;;;;;OAUG;IACH,iBAAiB,CACf,EAAE,EAAE,MAAM,EACV,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,cAAc,CAAC,CAAA;IAE1B;;;;;;;;;;;OAWG;IACH,0BAA0B,CACxB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAA;IAErC;;;;;;;;;;;;;;;OAeG;IACH,yBAAyB,CACvB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;;OAeG;IACH,sBAAsB,CACpB,gBAAgB,EAAE,MAAM,EACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;;;;;OAkBG;IACH,wBAAwB,CACtB,OAAO,CAAC,EAAE,kCAAkC,EAC5C,MAAM,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC,EAC3C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAAA;CACrC"}
@@ -1,5 +1,5 @@
1
1
  export interface SelectParams {
2
- fields?: string[];
2
+ fields?: string;
3
3
  }
4
4
  export interface FindParams extends SelectParams {
5
5
  limit?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/http/common/request.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/http/common/request.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -1,4 +1,4 @@
1
- import { ShippingOptionPriceType } from "../../fulfillment";
1
+ import { ShippingOptionDTO, ShippingOptionPriceType } from "../../fulfillment";
2
2
  import { RuleOperatorType } from "../../common";
3
3
  export interface CreateShippingOptionsWorkflowInput {
4
4
  name: string;
@@ -25,7 +25,5 @@ export interface CreateShippingOptionsWorkflowInput {
25
25
  value: string | string[];
26
26
  }[];
27
27
  }
28
- export type CreateShippingOptionsWorkflowOutput = {
29
- id: string;
30
- }[];
28
+ export type CreateShippingOptionsWorkflowOutput = ShippingOptionDTO[];
31
29
  //# sourceMappingURL=create-shipping-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/create-shipping-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,UAAU,EAAE,uBAAuB,CAAA;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,MAAM,EAAE,CACJ;QACE,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,MAAM,CAAA;KACf,GACD;QACE,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,EAAE,MAAM,CAAA;KACf,CACJ,EAAE,CAAA;IACH,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,gBAAgB,CAAA;QAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KACzB,EAAE,CAAA;CACJ;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAA;CACX,EAAE,CAAA"}
1
+ {"version":3,"file":"create-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/create-shipping-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,UAAU,EAAE,uBAAuB,CAAA;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,MAAM,EAAE,CACJ;QACE,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,MAAM,CAAA;KACf,GACD;QACE,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,EAAE,MAAM,CAAA;KACf,CACJ,EAAE,CAAA;IACH,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,gBAAgB,CAAA;QAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KACzB,EAAE,CAAA;CACJ;AAED,MAAM,MAAM,mCAAmC,GAAG,iBAAiB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { FilterableShippingProfileProps } from "../../fulfillment";
1
+ import { FilterableShippingProfileProps, ShippingProfileDTO } from "../../fulfillment";
2
2
  interface CreateShippingProfile {
3
3
  name: string;
4
4
  type: string;
@@ -6,6 +6,7 @@ interface CreateShippingProfile {
6
6
  export interface CreateShippingProfilesWorkflowInput {
7
7
  data: CreateShippingProfile[];
8
8
  }
9
+ export type CreateShippingProfilesWorkflowOutput = ShippingProfileDTO[];
9
10
  interface UpdateShippingProfile {
10
11
  name?: string;
11
12
  type?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-profiles.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/shipping-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAA;AAElE,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,qBAAqB,EAAE,CAAA;CAC9B;AAED,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,8BAA8B,CAAA;IACxC,MAAM,EAAE,qBAAqB,CAAA;CAC9B"}
1
+ {"version":3,"file":"shipping-profiles.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/shipping-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtF,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,qBAAqB,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,oCAAoC,GAAG,kBAAkB,EAAE,CAAA;AAEvE,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,8BAA8B,CAAA;IACxC,MAAM,EAAE,qBAAqB,CAAA;CAC9B"}
@@ -1,6 +1,6 @@
1
1
  export interface AcceptInviteWorkflowInputDTO {
2
2
  invite_token: string;
3
- auth_user_id: string;
3
+ auth_identity_id: string;
4
4
  user: {
5
5
  email?: string;
6
6
  first_name?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"accept-invite.d.ts","sourceRoot":"","sources":["../../../src/workflow/invite/accept-invite.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;KAC1C,CAAA;CACF"}
1
+ {"version":3,"file":"accept-invite.d.ts","sourceRoot":"","sources":["../../../src/workflow/invite/accept-invite.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;KAC1C,CAAA;CACF"}
@@ -1,8 +1,6 @@
1
1
  import { CreateRegionDTO, RegionDTO } from "../../region";
2
2
  export interface CreateRegionsWorkflowInput {
3
- regions: (CreateRegionDTO & {
4
- payment_providers?: string[];
5
- })[];
3
+ regions: CreateRegionDTO[];
6
4
  }
7
5
  export type CreateRegionsWorkflowOutput = RegionDTO[];
8
6
  //# sourceMappingURL=create-regions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-regions.d.ts","sourceRoot":"","sources":["../../../src/workflow/region/create-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEzD,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,CAAC,eAAe,GAAG;QAC1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;KAC7B,CAAC,EAAE,CAAA;CACL;AAED,MAAM,MAAM,2BAA2B,GAAG,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"create-regions.d.ts","sourceRoot":"","sources":["../../../src/workflow/region/create-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEzD,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,eAAe,EAAE,CAAA;CAC3B;AAED,MAAM,MAAM,2BAA2B,GAAG,SAAS,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240521095428",
3
+ "version": "1.12.0-snapshot-20240522193310",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-user.d.ts","sourceRoot":"","sources":["../../../src/auth/common/auth-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEtC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA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