@medusajs/types 1.12.0-preview-20240522060542 → 1.12.0-preview-20240522114834
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/common/{auth-user.d.ts → auth-identity.d.ts} +16 -16
- package/dist/auth/common/auth-identity.d.ts.map +1 -0
- package/dist/auth/common/{auth-user.js → auth-identity.js} +1 -1
- package/dist/auth/common/auth-identity.js.map +1 -0
- package/dist/auth/common/index.d.ts +1 -1
- package/dist/auth/common/index.d.ts.map +1 -1
- package/dist/auth/common/index.js +1 -1
- package/dist/auth/common/index.js.map +1 -1
- package/dist/auth/common/provider.d.ts +1 -1
- package/dist/auth/common/provider.d.ts.map +1 -1
- package/dist/auth/service.d.ts +46 -46
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +27 -8
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/workflow/fulfillment/create-shipping-options.d.ts +2 -4
- package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -1
- package/dist/workflow/fulfillment/shipping-profiles.d.ts +2 -1
- package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +1 -1
- package/dist/workflow/invite/accept-invite.d.ts +1 -1
- package/dist/workflow/invite/accept-invite.d.ts.map +1 -1
- package/dist/workflow/region/create-regions.d.ts +1 -3
- package/dist/workflow/region/create-regions.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/auth/common/auth-user.d.ts.map +0 -1
- 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
|
5
|
+
* The auth identity details.
|
6
6
|
*/
|
7
|
-
export type
|
7
|
+
export type AuthIdentityDTO = {
|
8
8
|
/**
|
9
|
-
* The ID of the auth
|
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
|
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
|
42
|
+
* The auth identity to be created.
|
43
43
|
*/
|
44
|
-
export type
|
44
|
+
export type CreateAuthIdentityDTO = {
|
45
45
|
/**
|
46
|
-
* The ID of the auth
|
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
|
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
|
80
|
+
* The attributes to update in the auth identity.
|
81
81
|
*/
|
82
|
-
export type
|
82
|
+
export type UpdateAuthIdentityDTO = {
|
83
83
|
/**
|
84
|
-
* The ID of the auth
|
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
|
101
|
+
* The filters to apply on the retrieved auth identity.
|
102
102
|
*/
|
103
|
-
export interface
|
103
|
+
export interface FilterableAuthIdentityProps extends BaseFilterable<FilterableAuthIdentityProps> {
|
104
104
|
/**
|
105
|
-
* The IDs to filter the auth
|
105
|
+
* The IDs to filter the auth identity by.
|
106
106
|
*/
|
107
107
|
id?: string[];
|
108
108
|
/**
|
109
|
-
* Filter the auth
|
109
|
+
* Filter the auth identitys by the ID of their auth provider.
|
110
110
|
*/
|
111
111
|
provider?: string[] | string;
|
112
112
|
}
|
113
|
-
//# sourceMappingURL=auth-
|
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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auth-identity.js","sourceRoot":"","sources":["../../../src/auth/common/auth-identity.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
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-
|
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,
|
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
|
-
|
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,
|
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,YAAY,CAAC,EAAE,GAAG,CAAA;IAElB;;;;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,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEvD;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,OAAO,EAAE,MAAM,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"}
|
package/dist/auth/service.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
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,
|
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,
|
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
|
79
|
+
* This method retrieves an auth identity by its ID.
|
80
80
|
*
|
81
|
-
* @param {string} id - The ID of the auth
|
82
|
-
* @param {FindConfig<
|
83
|
-
* attributes or relations associated with a auth
|
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<
|
85
|
+
* @returns {Promise<AuthIdentityDTO>} The retrieved auth identity.
|
86
86
|
*
|
87
87
|
* @example
|
88
|
-
* const
|
88
|
+
* const authIdentity = await authModuleService.retrieve("authusr_1")
|
89
89
|
*/
|
90
|
-
retrieve(id: string, config?: FindConfig<
|
90
|
+
retrieve(id: string, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<AuthIdentityDTO>;
|
91
91
|
/**
|
92
|
-
* This method retrieves a paginated list of auth
|
92
|
+
* This method retrieves a paginated list of auth identitys based on optional filters and configuration.
|
93
93
|
*
|
94
|
-
* @param {
|
95
|
-
* @param {FindConfig<
|
96
|
-
* attributes or relations associated with a auth
|
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<
|
98
|
+
* @returns {Promise<AuthIdentityDTO[]>} The list of auth identitys.
|
99
99
|
*
|
100
100
|
* @example
|
101
|
-
* To retrieve a list of auth
|
101
|
+
* To retrieve a list of auth identitys using their IDs:
|
102
102
|
*
|
103
103
|
* ```ts
|
104
|
-
* const
|
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
|
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?:
|
123
|
+
list(filters?: FilterableAuthIdentityProps, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<AuthIdentityDTO[]>;
|
124
124
|
/**
|
125
|
-
* This method retrieves a paginated list of auth
|
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 {
|
128
|
-
* @param {FindConfig<
|
129
|
-
* attributes or relations associated with a auth
|
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<[
|
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
|
134
|
+
* To retrieve a list of auth identitys using their IDs:
|
135
135
|
*
|
136
136
|
* ```ts
|
137
|
-
* const [
|
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 [
|
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?:
|
158
|
+
listAndCount(filters?: FilterableAuthIdentityProps, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<[AuthIdentityDTO[], number]>;
|
159
159
|
/**
|
160
|
-
* This method creates auth
|
160
|
+
* This method creates auth identitys.
|
161
161
|
*
|
162
|
-
* @param {
|
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<
|
164
|
+
* @returns {Promise<AuthIdentityDTO[]>} The created auth identitys.
|
165
165
|
*
|
166
166
|
* @example
|
167
|
-
* const
|
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:
|
180
|
+
create(data: CreateAuthIdentityDTO[], sharedContext?: Context): Promise<AuthIdentityDTO[]>;
|
181
181
|
/**
|
182
|
-
* This method creates an auth
|
182
|
+
* This method creates an auth identity.
|
183
183
|
*
|
184
|
-
* @param {
|
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<
|
186
|
+
* @returns {Promise<AuthIdentityDTO>} The created auth identity.
|
187
187
|
*
|
188
188
|
* @example
|
189
|
-
* const
|
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:
|
195
|
+
create(data: CreateAuthIdentityDTO, sharedContext?: Context): Promise<AuthIdentityDTO>;
|
196
196
|
/**
|
197
197
|
* This method updates existing auths.
|
198
198
|
*
|
199
|
-
* @param {
|
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<
|
201
|
+
* @returns {Promise<AuthIdentityDTO[]>} The updated auths.
|
202
202
|
*
|
203
203
|
* @example
|
204
|
-
* const
|
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:
|
213
|
+
update(data: UpdateAuthIdentityDTO[], sharedContext?: Context): Promise<AuthIdentityDTO[]>;
|
214
214
|
/**
|
215
215
|
* This method updates an existing auth.
|
216
216
|
*
|
217
|
-
* @param {
|
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<
|
219
|
+
* @returns {Promise<AuthIdentityDTO>} The updated auth.
|
220
220
|
*
|
221
221
|
* @example
|
222
|
-
* const
|
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:
|
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,
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/auth/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACtB,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,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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
|
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
|
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
|
-
* @
|
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}
|
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
|
-
*
|
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,6 +843,12 @@ export type ConfigModule = {
|
|
830
843
|
* :::
|
831
844
|
*/
|
832
845
|
featureFlags: Record<string, boolean | string>;
|
846
|
+
/**
|
847
|
+
* @ignore
|
848
|
+
*
|
849
|
+
* @privateRemarks
|
850
|
+
* Since this is a temporary config, maybe let's not include it in the generated reference for now.
|
851
|
+
*/
|
833
852
|
directories?: {
|
834
853
|
srcDir?: string;
|
835
854
|
};
|
@@ -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
|
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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E,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
@@ -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;
|
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;
|
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 +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,
|
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:
|
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,
|
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 +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,CAA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