@medusajs/types 1.12.0-snapshot-20240523153451 → 1.12.0-snapshot-20240524111804
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/common/auth-identity.d.ts +9 -19
- package/dist/auth/common/auth-identity.d.ts.map +1 -1
- package/dist/auth/common/provider.d.ts +5 -31
- package/dist/auth/common/provider.d.ts.map +1 -1
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/provider.d.ts +19 -0
- package/dist/auth/provider.d.ts.map +1 -0
- package/dist/{http/customer/admin/customer.js → auth/provider.js} +1 -1
- package/dist/auth/provider.js.map +1 -0
- package/dist/auth/providers/emailpass.d.ts +8 -0
- package/dist/auth/providers/emailpass.d.ts.map +1 -0
- package/dist/auth/providers/emailpass.js +3 -0
- package/dist/auth/providers/emailpass.js.map +1 -0
- package/dist/auth/providers/index.d.ts +2 -0
- package/dist/auth/providers/index.d.ts.map +1 -0
- package/dist/{http/customer/admin → auth/providers}/index.js +1 -1
- package/dist/auth/providers/index.js.map +1 -0
- package/dist/auth/service.d.ts +12 -23
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +28 -0
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/http/customer/admin.d.ts +19 -0
- package/dist/http/customer/admin.d.ts.map +1 -0
- package/dist/http/customer/admin.js +3 -0
- package/dist/http/customer/admin.js.map +1 -0
- package/dist/http/customer/common.d.ts +88 -0
- package/dist/http/customer/common.d.ts.map +1 -0
- package/dist/http/customer/common.js +3 -0
- package/dist/http/customer/common.js.map +1 -0
- package/dist/http/customer/index.d.ts +1 -0
- package/dist/http/customer/index.d.ts.map +1 -1
- package/dist/http/customer/index.js +1 -0
- package/dist/http/customer/index.js.map +1 -1
- package/dist/http/customer/store.d.ts +14 -0
- package/dist/http/customer/store.d.ts.map +1 -0
- package/dist/http/customer/store.js +3 -0
- package/dist/http/customer/store.js.map +1 -0
- package/dist/http/order/common.d.ts +5 -0
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/order/store.d.ts +3 -1
- package/dist/http/order/store.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +4 -0
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/customer/admin/customer.d.ts +0 -61
- package/dist/http/customer/admin/customer.d.ts.map +0 -1
- package/dist/http/customer/admin/customer.js.map +0 -1
- package/dist/http/customer/admin/index.d.ts +0 -2
- package/dist/http/customer/admin/index.d.ts.map +0 -1
- package/dist/http/customer/admin/index.js.map +0 -1
@@ -19,10 +19,9 @@ export type AuthIdentityDTO = {
|
|
19
19
|
*/
|
20
20
|
entity_id: string;
|
21
21
|
/**
|
22
|
-
*
|
23
|
-
* `admin` or `store`.
|
22
|
+
* Holds information related to the actor IDs tied to the auth identity.
|
24
23
|
*/
|
25
|
-
|
24
|
+
app_metadata?: Record<string, unknown>;
|
26
25
|
/**
|
27
26
|
* Holds custom data related to the provider in key-value pairs.
|
28
27
|
*/
|
@@ -31,10 +30,6 @@ export type AuthIdentityDTO = {
|
|
31
30
|
* Holds custom data related to the user in key-value pairs.
|
32
31
|
*/
|
33
32
|
user_metadata: Record<string, unknown>;
|
34
|
-
/**
|
35
|
-
* Holds custom data related to the third-party app in key-value pairs.
|
36
|
-
*/
|
37
|
-
app_metadata: Record<string, unknown>;
|
38
33
|
};
|
39
34
|
/**
|
40
35
|
* @interface
|
@@ -57,10 +52,9 @@ export type CreateAuthIdentityDTO = {
|
|
57
52
|
*/
|
58
53
|
entity_id: string;
|
59
54
|
/**
|
60
|
-
*
|
61
|
-
* `admin` or `store`.
|
55
|
+
* Holds information related to the actor IDs tied to the auth identity.
|
62
56
|
*/
|
63
|
-
|
57
|
+
app_metadata?: Record<string, unknown>;
|
64
58
|
/**
|
65
59
|
* Holds custom data related to the provider in key-value pairs.
|
66
60
|
*/
|
@@ -69,10 +63,6 @@ export type CreateAuthIdentityDTO = {
|
|
69
63
|
* Holds custom data related to the user in key-value pairs.
|
70
64
|
*/
|
71
65
|
user_metadata?: Record<string, unknown>;
|
72
|
-
/**
|
73
|
-
* Holds custom data related to the third-party app in key-value pairs.
|
74
|
-
*/
|
75
|
-
app_metadata?: Record<string, unknown>;
|
76
66
|
};
|
77
67
|
/**
|
78
68
|
* @interface
|
@@ -84,6 +74,10 @@ export type UpdateAuthIdentityDTO = {
|
|
84
74
|
* The ID of the auth identity.
|
85
75
|
*/
|
86
76
|
id: string;
|
77
|
+
/**
|
78
|
+
* Holds information related to the actor IDs tied to the auth identity.
|
79
|
+
*/
|
80
|
+
app_metadata?: Record<string, unknown>;
|
87
81
|
/**
|
88
82
|
* Holds custom data related to the provider in key-value pairs.
|
89
83
|
*/
|
@@ -92,10 +86,6 @@ export type UpdateAuthIdentityDTO = {
|
|
92
86
|
* Holds custom data related to the user in key-value pairs.
|
93
87
|
*/
|
94
88
|
user_metadata?: Record<string, unknown>;
|
95
|
-
/**
|
96
|
-
* Holds custom data related to the third-party app in key-value pairs.
|
97
|
-
*/
|
98
|
-
app_metadata?: Record<string, unknown>;
|
99
89
|
};
|
100
90
|
/**
|
101
91
|
* The filters to apply on the retrieved auth identity.
|
@@ -106,7 +96,7 @@ export interface FilterableAuthIdentityProps extends BaseFilterable<FilterableAu
|
|
106
96
|
*/
|
107
97
|
id?: string[];
|
108
98
|
/**
|
109
|
-
* Filter the auth
|
99
|
+
* Filter the auth identities by the ID of their auth provider.
|
110
100
|
*/
|
111
101
|
provider?: string[] | string;
|
112
102
|
}
|
@@ -1 +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,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ACtC;;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;CACxC,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"}
|
@@ -37,28 +37,6 @@ export type AuthenticationResponse = {
|
|
37
37
|
*/
|
38
38
|
successRedirectUrl?: string;
|
39
39
|
};
|
40
|
-
/**
|
41
|
-
* @interface
|
42
|
-
*
|
43
|
-
* The configurations of the `providers` option
|
44
|
-
* passed to the Auth Module.
|
45
|
-
*/
|
46
|
-
export type AuthModuleProviderConfig = {
|
47
|
-
/**
|
48
|
-
* The provider's name.
|
49
|
-
*/
|
50
|
-
name: string;
|
51
|
-
/**
|
52
|
-
* The scopes configuration of that provider.
|
53
|
-
*/
|
54
|
-
scopes: Record<string, AuthProviderScope>;
|
55
|
-
};
|
56
|
-
/**
|
57
|
-
* @interface
|
58
|
-
*
|
59
|
-
* The scope configurations of an auth provider.
|
60
|
-
*/
|
61
|
-
export type AuthProviderScope = Record<string, unknown>;
|
62
40
|
/**
|
63
41
|
* @interface
|
64
42
|
*
|
@@ -69,26 +47,22 @@ export type AuthenticationInput = {
|
|
69
47
|
/**
|
70
48
|
* URL of the incoming authentication request.
|
71
49
|
*/
|
72
|
-
url
|
50
|
+
url?: string;
|
73
51
|
/**
|
74
52
|
* Headers of incoming authentication request.
|
75
53
|
*/
|
76
|
-
headers
|
54
|
+
headers?: Record<string, string>;
|
77
55
|
/**
|
78
56
|
* Query params of the incoming authentication request.
|
79
57
|
*/
|
80
|
-
query
|
58
|
+
query?: Record<string, string>;
|
81
59
|
/**
|
82
60
|
* Body of the incoming authentication request.
|
83
61
|
*/
|
84
|
-
body
|
85
|
-
/**
|
86
|
-
* Scope for the authentication request.
|
87
|
-
*/
|
88
|
-
authScope: string;
|
62
|
+
body?: Record<string, string>;
|
89
63
|
/**
|
90
64
|
* Protocol of the incoming authentication request (For example, `https`).
|
91
65
|
*/
|
92
|
-
protocol
|
66
|
+
protocol?: string;
|
93
67
|
};
|
94
68
|
//# sourceMappingURL=provider.d.ts.map
|
@@ -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,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,
|
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,mBAAmB,GAAG;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
package/dist/auth/index.d.ts
CHANGED
package/dist/auth/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
package/dist/auth/index.js
CHANGED
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./service"), exports);
|
18
18
|
__exportStar(require("./common"), exports);
|
19
|
+
__exportStar(require("./provider"), exports);
|
20
|
+
__exportStar(require("./providers"), exports);
|
19
21
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,2CAAwB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,2CAAwB;AACxB,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { AuthIdentityDTO, AuthenticationInput, AuthenticationResponse, CreateAuthIdentityDTO } from "./common";
|
2
|
+
export interface AuthIdentityProviderService {
|
3
|
+
retrieve: (selector: {
|
4
|
+
entity_id: string;
|
5
|
+
provider: string;
|
6
|
+
}) => Promise<AuthIdentityDTO>;
|
7
|
+
create: (data: CreateAuthIdentityDTO) => Promise<AuthIdentityDTO>;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* ## Overview
|
11
|
+
*
|
12
|
+
* Authentication provider interface for the auth module.
|
13
|
+
*
|
14
|
+
*/
|
15
|
+
export interface IAuthProvider {
|
16
|
+
authenticate(data: AuthenticationInput, authIdentityProviderService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
|
17
|
+
validateCallback(data: AuthenticationInput, authIdentityProviderService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=provider.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/auth/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,2BAA2B;IAE1C,QAAQ,EAAE,CAAC,QAAQ,EAAE;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;KACjB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IAC9B,MAAM,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;CAClE;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,YAAY,CACV,IAAI,EAAE,mBAAmB,EACzB,2BAA2B,EAAE,2BAA2B,GACvD,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAClC,gBAAgB,CACd,IAAI,EAAE,mBAAmB,EACzB,2BAA2B,EAAE,2BAA2B,GACvD,OAAO,CAAC,sBAAsB,CAAC,CAAA;CACnC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/auth/provider.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"emailpass.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/emailpass.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,CAAC,EAAE,MAAM,CAAA;QACT,CAAC,EAAE,MAAM,CAAA;KACV,CAAA;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"emailpass.js","sourceRoot":"","sources":["../../../src/auth/providers/emailpass.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
@@ -14,5 +14,5 @@ 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("./
|
17
|
+
__exportStar(require("./emailpass"), exports);
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"}
|
package/dist/auth/service.d.ts
CHANGED
@@ -34,7 +34,6 @@ export interface IAuthModuleService extends IModuleService {
|
|
34
34
|
* headers: req.headers,
|
35
35
|
* query: req.query,
|
36
36
|
* body: req.body,
|
37
|
-
* authScope: "admin",
|
38
37
|
* protocol: req.protocol,
|
39
38
|
* } as AuthenticationInput)
|
40
39
|
* ```
|
@@ -68,7 +67,6 @@ export interface IAuthModuleService extends IModuleService {
|
|
68
67
|
* headers: req.headers,
|
69
68
|
* query: req.query,
|
70
69
|
* body: req.body,
|
71
|
-
* authScope: "admin",
|
72
70
|
* protocol: req.protocol,
|
73
71
|
* } as AuthenticationInput)
|
74
72
|
* ```
|
@@ -89,16 +87,16 @@ export interface IAuthModuleService extends IModuleService {
|
|
89
87
|
*/
|
90
88
|
retrieve(id: string, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<AuthIdentityDTO>;
|
91
89
|
/**
|
92
|
-
* This method retrieves a paginated list of auth
|
90
|
+
* This method retrieves a paginated list of auth identities based on optional filters and configuration.
|
93
91
|
*
|
94
|
-
* @param {FilterableAuthIdentityProps} filters - The filters to apply on the retrieved auth
|
92
|
+
* @param {FilterableAuthIdentityProps} filters - The filters to apply on the retrieved auth identities.
|
95
93
|
* @param {FindConfig<AuthIdentityDTO>} config - The configurations determining how the auth identity is retrieved. Its properties, such as `select` or `relations`, accept the
|
96
94
|
* attributes or relations associated with a auth identity.
|
97
95
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
98
|
-
* @returns {Promise<AuthIdentityDTO[]>} The list of auth
|
96
|
+
* @returns {Promise<AuthIdentityDTO[]>} The list of auth identities.
|
99
97
|
*
|
100
98
|
* @example
|
101
|
-
* To retrieve a list of auth
|
99
|
+
* To retrieve a list of auth identities using their IDs:
|
102
100
|
*
|
103
101
|
* ```ts
|
104
102
|
* const authIdentities = await authModuleService.list({
|
@@ -122,16 +120,16 @@ export interface IAuthModuleService extends IModuleService {
|
|
122
120
|
*/
|
123
121
|
list(filters?: FilterableAuthIdentityProps, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<AuthIdentityDTO[]>;
|
124
122
|
/**
|
125
|
-
* This method retrieves a paginated list of auth
|
123
|
+
* This method retrieves a paginated list of auth identities along with the total count of available auth identities satisfying the provided filters.
|
126
124
|
*
|
127
|
-
* @param {FilterableAuthIdentityProps} filters - The filters to apply on the retrieved auth
|
125
|
+
* @param {FilterableAuthIdentityProps} filters - The filters to apply on the retrieved auth identities.
|
128
126
|
* @param {FindConfig<AuthIdentityDTO>} config - The configurations determining how the auth identity is retrieved. Its properties, such as `select` or `relations`, accept the
|
129
127
|
* attributes or relations associated with a auth identity.
|
130
128
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
131
|
-
* @returns {Promise<[AuthIdentityDTO[], number]>} The list of auth
|
129
|
+
* @returns {Promise<[AuthIdentityDTO[], number]>} The list of auth identities along with their total count.
|
132
130
|
*
|
133
131
|
* @example
|
134
|
-
* To retrieve a list of auth
|
132
|
+
* To retrieve a list of auth identities using their IDs:
|
135
133
|
*
|
136
134
|
* ```ts
|
137
135
|
* const [authIdentities, count] =
|
@@ -157,23 +155,21 @@ export interface IAuthModuleService extends IModuleService {
|
|
157
155
|
*/
|
158
156
|
listAndCount(filters?: FilterableAuthIdentityProps, config?: FindConfig<AuthIdentityDTO>, sharedContext?: Context): Promise<[AuthIdentityDTO[], number]>;
|
159
157
|
/**
|
160
|
-
* This method creates auth
|
158
|
+
* This method creates auth identities.
|
161
159
|
*
|
162
|
-
* @param {CreateAuthIdentityDTO[]} data - The auth
|
160
|
+
* @param {CreateAuthIdentityDTO[]} data - The auth identities to be created.
|
163
161
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
164
|
-
* @returns {Promise<AuthIdentityDTO[]>} The created auth
|
162
|
+
* @returns {Promise<AuthIdentityDTO[]>} The created auth identities.
|
165
163
|
*
|
166
164
|
* @example
|
167
165
|
* const authIdentities = await authModuleService.create([
|
168
166
|
* {
|
169
167
|
* provider: "emailpass",
|
170
168
|
* entity_id: "user@example.com",
|
171
|
-
* scope: "admin",
|
172
169
|
* },
|
173
170
|
* {
|
174
171
|
* provider: "google",
|
175
172
|
* entity_id: "user@gmail.com",
|
176
|
-
* scope: "email profile",
|
177
173
|
* },
|
178
174
|
* ])
|
179
175
|
*/
|
@@ -189,14 +185,13 @@ export interface IAuthModuleService extends IModuleService {
|
|
189
185
|
* const authIdentity = await authModuleService.create({
|
190
186
|
* provider: "emailpass",
|
191
187
|
* entity_id: "user@example.com",
|
192
|
-
* scope: "admin",
|
193
188
|
* })
|
194
189
|
*/
|
195
190
|
create(data: CreateAuthIdentityDTO, sharedContext?: Context): Promise<AuthIdentityDTO>;
|
196
191
|
/**
|
197
192
|
* This method updates existing auths.
|
198
193
|
*
|
199
|
-
* @param {UpdateAuthIdentityDTO[]} data - The attributes to update in the auth
|
194
|
+
* @param {UpdateAuthIdentityDTO[]} data - The attributes to update in the auth identities.
|
200
195
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
201
196
|
* @returns {Promise<AuthIdentityDTO[]>} The updated auths.
|
202
197
|
*
|
@@ -204,9 +199,6 @@ export interface IAuthModuleService extends IModuleService {
|
|
204
199
|
* const authIdentities = await authModuleService.update([
|
205
200
|
* {
|
206
201
|
* id: "authusr_123",
|
207
|
-
* app_metadata: {
|
208
|
-
* test: true,
|
209
|
-
* },
|
210
202
|
* },
|
211
203
|
* ])
|
212
204
|
*/
|
@@ -221,9 +213,6 @@ export interface IAuthModuleService extends IModuleService {
|
|
221
213
|
* @example
|
222
214
|
* const authIdentity = await authModuleService.update({
|
223
215
|
* id: "authusr_123",
|
224
|
-
* app_metadata: {
|
225
|
-
* test: true,
|
226
|
-
* },
|
227
216
|
* })
|
228
217
|
*/
|
229
218
|
update(data: UpdateAuthIdentityDTO, sharedContext?: Context): Promise<AuthIdentityDTO>;
|
@@ -1 +1 @@
|
|
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,2BA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;CAC9D"}
|
@@ -684,6 +684,34 @@ export type ProjectConfigOptions = {
|
|
684
684
|
* ```
|
685
685
|
*/
|
686
686
|
adminCors: string;
|
687
|
+
/**
|
688
|
+
* Optionally you can specify the supported authentication providers per actor type (such as user, customer, or any custom actors).
|
689
|
+
* For example, you only want to allow SSO logins for `users` to the admin, while you want to allow email/password logins for `customers` to the storefront.
|
690
|
+
*
|
691
|
+
* `authMethodsPerActor` is a a map where the actor type (eg. 'user') is the key, and an array of supported auth providers as the value.
|
692
|
+
*
|
693
|
+
*
|
694
|
+
* @example
|
695
|
+
* Some example values of common use cases:
|
696
|
+
*
|
697
|
+
* Then, set the configuration in `medusa-config.js`:
|
698
|
+
*
|
699
|
+
* ```js title="medusa-config.js"
|
700
|
+
* module.exports = {
|
701
|
+
* projectConfig: {
|
702
|
+
* http: {
|
703
|
+
* authMethodsPerActor: {
|
704
|
+
* user: ['sso'],
|
705
|
+
* customer: ["emailpass", "google"]
|
706
|
+
* },
|
707
|
+
* },
|
708
|
+
* // ...
|
709
|
+
* },
|
710
|
+
* // ...
|
711
|
+
* }
|
712
|
+
* ```
|
713
|
+
*/
|
714
|
+
authMethodsPerActor: Record<string, string[]>;
|
687
715
|
};
|
688
716
|
};
|
689
717
|
/**
|
@@ -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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QACH,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;KAC9C,CAAA;CACF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,aAAa,EAAE,oBAAoB,CAAA;IAEnC;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,YAAY,CAAA;IAEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;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"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { BaseCreateCustomer, BaseCustomer, BaseCustomerAddress, BaseCustomerAddressFilters, BaseCustomerFilters, BaseCustomerGroup, BaseUpdateCustomer, CustomerGroupInCustomerFilters } from "./common";
|
2
|
+
export interface AdminCustomerGroup extends BaseCustomerGroup {
|
3
|
+
}
|
4
|
+
export interface AdminCustomer extends BaseCustomer {
|
5
|
+
has_account: boolean;
|
6
|
+
groups?: AdminCustomerGroup[];
|
7
|
+
}
|
8
|
+
export interface AdminCustomerAddress extends BaseCustomerAddress {
|
9
|
+
}
|
10
|
+
export interface AdminCustomerFilters extends BaseCustomerFilters {
|
11
|
+
groups: CustomerGroupInCustomerFilters | string[] | string;
|
12
|
+
}
|
13
|
+
export interface AdminCustomerAddressFilters extends BaseCustomerAddressFilters {
|
14
|
+
}
|
15
|
+
export interface AdminCreateCustomer extends BaseCreateCustomer {
|
16
|
+
}
|
17
|
+
export interface AdminUpdateCustomer extends BaseUpdateCustomer {
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=admin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/customer/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,8BAA8B,EAC/B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,MAAM,EAAE,8BAA8B,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;CAC3D;AACD,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AAEvC,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/customer/admin.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../dal";
|
2
|
+
export interface BaseCustomerGroup {
|
3
|
+
id: string;
|
4
|
+
name: string | null;
|
5
|
+
customers: BaseCustomer[];
|
6
|
+
metadata: Record<string, unknown> | null;
|
7
|
+
created_at: string;
|
8
|
+
updated_at: string;
|
9
|
+
}
|
10
|
+
export interface BaseCustomerAddress {
|
11
|
+
id: string;
|
12
|
+
address_name: string | null;
|
13
|
+
is_default_shipping: boolean;
|
14
|
+
is_default_billing: boolean;
|
15
|
+
customer_id: string;
|
16
|
+
company: string | null;
|
17
|
+
first_name: string | null;
|
18
|
+
last_name: string | null;
|
19
|
+
address_1: string | null;
|
20
|
+
address_2: string | null;
|
21
|
+
city: string | null;
|
22
|
+
country_code: string | null;
|
23
|
+
province: string | null;
|
24
|
+
postal_code: string | null;
|
25
|
+
phone: string | null;
|
26
|
+
metadata: Record<string, unknown> | null;
|
27
|
+
created_at: string;
|
28
|
+
updated_at: string;
|
29
|
+
}
|
30
|
+
export interface BaseCustomer {
|
31
|
+
id: string;
|
32
|
+
email: string;
|
33
|
+
default_billing_address_id: string | null;
|
34
|
+
default_shipping_address_id: string | null;
|
35
|
+
company_name: string | null;
|
36
|
+
first_name: string | null;
|
37
|
+
last_name: string | null;
|
38
|
+
addresses: BaseCustomerAddress[];
|
39
|
+
phone?: string | null;
|
40
|
+
metadata?: Record<string, unknown>;
|
41
|
+
created_by?: string | null;
|
42
|
+
deleted_at?: Date | string | null;
|
43
|
+
created_at?: Date | string;
|
44
|
+
updated_at?: Date | string;
|
45
|
+
}
|
46
|
+
export interface CustomerGroupInCustomerFilters {
|
47
|
+
id: string[] | string;
|
48
|
+
name: string[] | string;
|
49
|
+
created_at: OperatorMap<string>;
|
50
|
+
updated_at: OperatorMap<string>;
|
51
|
+
deleted_at: OperatorMap<string>;
|
52
|
+
}
|
53
|
+
export interface BaseCustomerFilters extends BaseFilterable<BaseCustomerFilters> {
|
54
|
+
q?: string;
|
55
|
+
id?: string[] | string | OperatorMap<string | string[]>;
|
56
|
+
email?: string[] | string | OperatorMap<string>;
|
57
|
+
company_name?: string[] | string | OperatorMap<string>;
|
58
|
+
first_name?: string[] | string | OperatorMap<string>;
|
59
|
+
last_name?: string[] | string | OperatorMap<string>;
|
60
|
+
created_by?: string[] | string | OperatorMap<string>;
|
61
|
+
created_at?: OperatorMap<string>;
|
62
|
+
updated_at?: OperatorMap<string>;
|
63
|
+
deleted_at?: OperatorMap<string>;
|
64
|
+
}
|
65
|
+
export interface BaseCustomerAddressFilters extends BaseFilterable<BaseCustomerAddressFilters> {
|
66
|
+
q?: string;
|
67
|
+
company?: string[] | string;
|
68
|
+
city?: string[] | string;
|
69
|
+
country_code?: string[] | string;
|
70
|
+
province?: string[] | string;
|
71
|
+
postal_code?: string[] | string;
|
72
|
+
}
|
73
|
+
export interface BaseCreateCustomer {
|
74
|
+
email: string;
|
75
|
+
company_name?: string;
|
76
|
+
first_name?: string;
|
77
|
+
last_name?: string;
|
78
|
+
phone?: string;
|
79
|
+
metadata?: Record<string, unknown>;
|
80
|
+
}
|
81
|
+
export interface BaseUpdateCustomer {
|
82
|
+
company_name?: string;
|
83
|
+
first_name?: string;
|
84
|
+
last_name?: string;
|
85
|
+
phone?: string;
|
86
|
+
metadata?: Record<string, unknown>;
|
87
|
+
}
|
88
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/customer/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC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,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,0BACf,SAAQ,cAAc,CAAC,0BAA0B,CAAC;IAClD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/customer/common.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/customer/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/customer/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./admin"), exports);
|
18
|
+
__exportStar(require("./store"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/customer/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/customer/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { BaseCreateCustomer, BaseCustomer, BaseCustomerAddress, BaseCustomerAddressFilters, BaseCustomerFilters, BaseUpdateCustomer } from "./common";
|
2
|
+
export interface StoreCustomer extends BaseCustomer {
|
3
|
+
}
|
4
|
+
export interface StoreCustomerAddress extends BaseCustomerAddress {
|
5
|
+
}
|
6
|
+
export interface StoreCustomerFilters extends BaseCustomerFilters {
|
7
|
+
}
|
8
|
+
export interface StoreCustomerAddressFilters extends BaseCustomerAddressFilters {
|
9
|
+
}
|
10
|
+
export interface StoreCreateCustomer extends BaseCreateCustomer {
|
11
|
+
}
|
12
|
+
export interface StoreUpdateCustomer extends BaseUpdateCustomer {
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=store.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/customer/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,aAAc,SAAQ,YAAY;CAAG;AACtD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AAEvC,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/customer/store.ts"],"names":[],"mappings":""}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../dal";
|
1
2
|
import { BigNumberValue } from "../../totals";
|
2
3
|
import { BasePaymentCollection } from "../payment/common";
|
3
4
|
import { BaseProduct, BaseProductVariant } from "../product/common";
|
@@ -246,4 +247,8 @@ export interface BaseOrder {
|
|
246
247
|
original_shipping_subtotal: number;
|
247
248
|
original_shipping_tax_total: number;
|
248
249
|
}
|
250
|
+
export interface BaseOrderFilters extends BaseFilterable<BaseOrderFilters> {
|
251
|
+
id?: string[] | string | OperatorMap<string | string[]>;
|
252
|
+
status?: string[] | string | OperatorMap<string | string[]>;
|
253
|
+
}
|
249
254
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAA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C;IACxE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CAC5D"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BaseOrder, BaseOrderAddress, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
|
1
|
+
import { BaseOrder, BaseOrderAddress, BaseOrderFilters, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
|
2
2
|
export interface StoreOrder extends BaseOrder {
|
3
3
|
}
|
4
4
|
export interface StoreOrderLineItem extends BaseOrderLineItem {
|
@@ -7,4 +7,6 @@ export interface StoreOrderAddress extends BaseOrderAddress {
|
|
7
7
|
}
|
8
8
|
export interface StoreOrderShippingMethod extends BaseOrderShippingMethod {
|
9
9
|
}
|
10
|
+
export interface StoreOrderFilters extends BaseOrderFilters {
|
11
|
+
}
|
10
12
|
//# sourceMappingURL=store.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG"}
|
@@ -163,6 +163,10 @@ export interface ComputeActionShippingLine extends Record<string, unknown> {
|
|
163
163
|
* The context provided when computing actions of promotions.
|
164
164
|
*/
|
165
165
|
export interface ComputeActionContext extends Record<string, unknown> {
|
166
|
+
/**
|
167
|
+
* The cart's currency
|
168
|
+
*/
|
169
|
+
currency_code: string;
|
166
170
|
/**
|
167
171
|
* The cart's line items.
|
168
172
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,2BAA2B,GAC3B,uBAAuB,CAAA;AAE3B;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAA;IAEhC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAA;IAE3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WA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AAE,MAAM,CAAA;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC"}
|
1
|
+
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,2BAA2B,GAC3B,uBAAuB,CAAA;AAE3B;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAA;IAEhC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAA;IAE3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,MAAM,EAAE,sBAAsB,CAAA;IAE9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAA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AAM,EAAE,OAAO,CAAC;IACnE;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC"}
|
package/package.json
CHANGED
@@ -1,61 +0,0 @@
|
|
1
|
-
import { PaginatedResponse } from "../../common";
|
2
|
-
export interface CustomerGroupResponse {
|
3
|
-
id: string;
|
4
|
-
name: string | null;
|
5
|
-
customers: CustomerResponse[];
|
6
|
-
metadata: Record<string, unknown> | null;
|
7
|
-
created_at: string;
|
8
|
-
updated_at: string;
|
9
|
-
}
|
10
|
-
export interface CustomerAddressResponse {
|
11
|
-
id: string;
|
12
|
-
address_name: string | null;
|
13
|
-
is_default_shipping: boolean;
|
14
|
-
is_default_billing: boolean;
|
15
|
-
customer_id: string;
|
16
|
-
company: string | null;
|
17
|
-
first_name: string | null;
|
18
|
-
last_name: string | null;
|
19
|
-
address_1: string | null;
|
20
|
-
address_2: string | null;
|
21
|
-
city: string | null;
|
22
|
-
country_code: string | null;
|
23
|
-
province: string | null;
|
24
|
-
postal_code: string | null;
|
25
|
-
phone: string | null;
|
26
|
-
metadata: Record<string, unknown> | null;
|
27
|
-
created_at: string;
|
28
|
-
updated_at: string;
|
29
|
-
}
|
30
|
-
interface CustomerResponse {
|
31
|
-
id: string;
|
32
|
-
email: string;
|
33
|
-
default_billing_address_id: string | null;
|
34
|
-
default_shipping_address_id: string | null;
|
35
|
-
company_name: string | null;
|
36
|
-
first_name: string | null;
|
37
|
-
last_name: string | null;
|
38
|
-
has_account: boolean;
|
39
|
-
addresses: CustomerAddressResponse[];
|
40
|
-
phone?: string | null;
|
41
|
-
groups?: CustomerGroupResponse[];
|
42
|
-
metadata?: Record<string, unknown>;
|
43
|
-
created_by?: string | null;
|
44
|
-
deleted_at?: Date | string | null;
|
45
|
-
created_at?: Date | string;
|
46
|
-
updated_at?: Date | string;
|
47
|
-
}
|
48
|
-
export interface AdminCustomerResponse {
|
49
|
-
customer: CustomerResponse;
|
50
|
-
}
|
51
|
-
export type AdminCustomerListResponse = PaginatedResponse<{
|
52
|
-
customers: CustomerResponse[];
|
53
|
-
}>;
|
54
|
-
export interface AdminCustomerGroupResponse {
|
55
|
-
customer_group: CustomerGroupResponse;
|
56
|
-
}
|
57
|
-
export type AdminCustomerGroupListResponse = PaginatedResponse<{
|
58
|
-
customer_groups: CustomerGroupResponse[];
|
59
|
-
}>;
|
60
|
-
export {};
|
61
|
-
//# sourceMappingURL=customer.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,gBAAgB,EAAE,CAAA;IAC7B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,EAAE,OAAO,CAAA;IAC5B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,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ED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/customer/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
|