@medusajs/types 1.12.0-snapshot-20240530075042 → 1.12.0-snapshot-20240531090655
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common/config-module.d.ts +115 -132
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/inventory/common.d.ts +2 -0
- package/dist/inventory/common.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +6 -5
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/user/common.d.ts +42 -0
- package/dist/user/common.d.ts.map +1 -1
- package/dist/user/mutations.d.ts +18 -0
- package/dist/user/mutations.d.ts.map +1 -1
- package/dist/user/service.d.ts +304 -53
- package/dist/user/service.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { BigNumberInput } from "../../totals";
|
1
2
|
/**
|
2
3
|
* A compute action informs you what adjustment must be made to a cart item or shipping method.
|
3
4
|
*/
|
@@ -35,7 +36,7 @@ export interface AddItemAdjustmentAction {
|
|
35
36
|
/**
|
36
37
|
* The amount to remove off the item's total.
|
37
38
|
*/
|
38
|
-
amount:
|
39
|
+
amount: BigNumberInput;
|
39
40
|
/**
|
40
41
|
* The promotion's code.
|
41
42
|
*/
|
@@ -81,7 +82,7 @@ export interface AddShippingMethodAdjustment {
|
|
81
82
|
/**
|
82
83
|
* The amount to remove off the shipping method's total.
|
83
84
|
*/
|
84
|
-
amount:
|
85
|
+
amount: BigNumberInput;
|
85
86
|
/**
|
86
87
|
* The promotion's code.
|
87
88
|
*/
|
@@ -132,11 +133,11 @@ export interface ComputeActionItemLine extends Record<string, unknown> {
|
|
132
133
|
/**
|
133
134
|
* The quantity of the line item.
|
134
135
|
*/
|
135
|
-
quantity:
|
136
|
+
quantity: BigNumberInput;
|
136
137
|
/**
|
137
138
|
* The subtotal of the line item.
|
138
139
|
*/
|
139
|
-
subtotal:
|
140
|
+
subtotal: BigNumberInput;
|
140
141
|
/**
|
141
142
|
* The adjustments applied before on the line item.
|
142
143
|
*/
|
@@ -153,7 +154,7 @@ export interface ComputeActionShippingLine extends Record<string, unknown> {
|
|
153
154
|
/**
|
154
155
|
* The subtotal of the shipping method.
|
155
156
|
*/
|
156
|
-
subtotal:
|
157
|
+
subtotal: BigNumberInput;
|
157
158
|
/**
|
158
159
|
* The adjustments applied before on the shipping method.
|
159
160
|
*/
|
@@ -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,
|
1
|
+
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;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,IA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AAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACxE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;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,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/dist/user/common.d.ts
CHANGED
@@ -70,20 +70,62 @@ export interface FilterableUserProps extends BaseFilterable<FilterableUserProps>
|
|
70
70
|
*/
|
71
71
|
last_name?: string | string[];
|
72
72
|
}
|
73
|
+
/**
|
74
|
+
* The invite details.
|
75
|
+
*/
|
73
76
|
export interface InviteDTO {
|
77
|
+
/**
|
78
|
+
* The ID of the invite.
|
79
|
+
*/
|
74
80
|
id: string;
|
81
|
+
/**
|
82
|
+
* The email of the invite.
|
83
|
+
*/
|
75
84
|
email: string;
|
85
|
+
/**
|
86
|
+
* Whether the invite is accepted.
|
87
|
+
*/
|
76
88
|
accepted: boolean;
|
89
|
+
/**
|
90
|
+
* The token of the invite.
|
91
|
+
*/
|
77
92
|
token: string;
|
93
|
+
/**
|
94
|
+
* The invite's expiry date.
|
95
|
+
*/
|
78
96
|
expires_at: Date;
|
97
|
+
/**
|
98
|
+
* Holds custom data in key-value pairs.
|
99
|
+
*/
|
79
100
|
metadata: Record<string, unknown> | null;
|
101
|
+
/**
|
102
|
+
* The invite's creation date.
|
103
|
+
*/
|
80
104
|
created_at: Date;
|
105
|
+
/**
|
106
|
+
* The invite's update date.
|
107
|
+
*/
|
81
108
|
updated_at: Date;
|
109
|
+
/**
|
110
|
+
* The invite's deletion date.
|
111
|
+
*/
|
82
112
|
deleted_at: Date | null;
|
83
113
|
}
|
114
|
+
/**
|
115
|
+
* The filters to apply on the retrieved invites.
|
116
|
+
*/
|
84
117
|
export interface FilterableInviteProps extends BaseFilterable<FilterableInviteProps> {
|
118
|
+
/**
|
119
|
+
* The IDs to filter the invites by.
|
120
|
+
*/
|
85
121
|
id?: string | string[];
|
122
|
+
/**
|
123
|
+
* Filter the invites by their email.
|
124
|
+
*/
|
86
125
|
email?: string | string[];
|
126
|
+
/**
|
127
|
+
* Filter the invites by their expiry date.
|
128
|
+
*/
|
87
129
|
expires_at?: DateComparisonOperator;
|
88
130
|
}
|
89
131
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/user/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAEvC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/user/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAEvC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IAC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CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBACf,SAAQ,cAAc,CAAC,qBAAqB,CAAC;IAC7C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,sBAAsB,CAAA;CACpC"}
|
package/dist/user/mutations.d.ts
CHANGED
@@ -32,12 +32,30 @@ export interface UpdateUserDTO extends Partial<Omit<CreateUserDTO, "email">> {
|
|
32
32
|
*/
|
33
33
|
id: string;
|
34
34
|
}
|
35
|
+
/**
|
36
|
+
* The invite to be created.
|
37
|
+
*/
|
35
38
|
export interface CreateInviteDTO {
|
39
|
+
/**
|
40
|
+
* The email of the invite.
|
41
|
+
*/
|
36
42
|
email: string;
|
43
|
+
/**
|
44
|
+
* Whether the invite is accepted.
|
45
|
+
*/
|
37
46
|
accepted?: boolean;
|
47
|
+
/**
|
48
|
+
* Holds custom data in key-value pairs.
|
49
|
+
*/
|
38
50
|
metadata?: Record<string, unknown> | null;
|
39
51
|
}
|
52
|
+
/**
|
53
|
+
* The attributes to update in the invite.
|
54
|
+
*/
|
40
55
|
export interface UpdateInviteDTO extends Partial<Omit<CreateInviteDTO, "email">> {
|
56
|
+
/**
|
57
|
+
* The ID of the invite.
|
58
|
+
*/
|
41
59
|
id: string;
|
42
60
|
}
|
43
61
|
//# sourceMappingURL=mutations.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/user/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/user/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAC1E;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,eACf,SAAQ,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX"}
|
package/dist/user/service.d.ts
CHANGED
@@ -5,103 +5,115 @@ import { Context } from "../shared-context";
|
|
5
5
|
import { FindConfig } from "../common";
|
6
6
|
import { IModuleService } from "../modules-sdk";
|
7
7
|
/**
|
8
|
-
* The main service interface for the
|
8
|
+
* The main service interface for the User Module.
|
9
9
|
*/
|
10
10
|
export interface IUserModuleService extends IModuleService {
|
11
11
|
/**
|
12
|
-
* This method validates an invite
|
12
|
+
* This method validates that a token belongs to an invite and returns that invite.
|
13
13
|
*
|
14
|
-
*
|
14
|
+
* An error is thrown if the invite has expired or no invite matches the token.
|
15
|
+
*
|
16
|
+
* @param {string} token - The token to validate
|
15
17
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
16
|
-
* @returns {Promise<InviteDTO>} The
|
18
|
+
* @returns {Promise<InviteDTO>} The token's invite.
|
19
|
+
*
|
20
|
+
* @example
|
21
|
+
* const invite = await userModuleService.validateInviteToken(
|
22
|
+
* "eyJhbG..."
|
23
|
+
* )
|
17
24
|
*/
|
18
25
|
validateInviteToken(token: string, sharedContext?: Context): Promise<InviteDTO>;
|
26
|
+
/**
|
27
|
+
* This method updates the token and expiration date of invites.
|
28
|
+
*
|
29
|
+
* @param {string[]} inviteIds - The IDs of the invites to refresh.
|
30
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
31
|
+
* @returns {Promise<InviteDTO[]>} The updated invites.
|
32
|
+
*
|
33
|
+
* @example
|
34
|
+
* const invites = await userModuleService.refreshInviteTokens([
|
35
|
+
* "invite_123",
|
36
|
+
* "invite_321"
|
37
|
+
* ])
|
38
|
+
*/
|
19
39
|
refreshInviteTokens(inviteIds: string[], sharedContext?: Context): Promise<InviteDTO[]>;
|
20
40
|
/**
|
21
41
|
* This method retrieves a user by its ID.
|
22
42
|
*
|
23
|
-
* @param {string} id - The ID of the
|
43
|
+
* @param {string} id - The ID of the user.
|
24
44
|
* @param {FindConfig<UserDTO>} config - The configurations determining how the user is retrieved. Its properties, such as `select` or `relations`, accept the
|
25
45
|
* attributes or relations associated with a user.
|
26
46
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
27
47
|
* @returns {Promise<UserDTO>} The retrieved user.
|
28
48
|
*
|
29
49
|
* @example
|
30
|
-
*
|
31
|
-
*
|
32
|
-
* ```ts
|
33
|
-
* {example-code}
|
34
|
-
* ```
|
35
|
-
*
|
36
|
-
* To specify relations that should be retrieved:
|
37
|
-
*
|
38
|
-
* ```ts
|
39
|
-
* {example-code}
|
40
|
-
* ```
|
41
|
-
*
|
42
|
-
*
|
50
|
+
* const user = await userModuleService.retrieve("user_123")
|
43
51
|
*/
|
44
52
|
retrieve(id: string, config?: FindConfig<UserDTO>, sharedContext?: Context): Promise<UserDTO>;
|
45
53
|
/**
|
46
54
|
* This method retrieves a paginated list of users based on optional filters and configuration.
|
47
55
|
*
|
48
|
-
* @param {FilterableUserProps} filters - The filters to apply on the retrieved
|
56
|
+
* @param {FilterableUserProps} filters - The filters to apply on the retrieved users.
|
49
57
|
* @param {FindConfig<UserDTO>} config - The configurations determining how the user is retrieved. Its properties, such as `select` or `relations`, accept the
|
50
58
|
* attributes or relations associated with a user.
|
51
59
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
52
60
|
* @returns {Promise<UserDTO[]>} The list of users.
|
53
61
|
*
|
54
62
|
* @example
|
55
|
-
* To retrieve a list of
|
56
|
-
*
|
57
|
-
* ```ts
|
58
|
-
* {example-code}
|
59
|
-
* ```
|
60
|
-
*
|
61
|
-
* To specify relations that should be retrieved within the {type name}:
|
63
|
+
* To retrieve a list of users using their IDs:
|
62
64
|
*
|
63
65
|
* ```ts
|
64
|
-
* {
|
66
|
+
* const users = await userModuleService.list({
|
67
|
+
* id: ["user_123", "user_321"]
|
68
|
+
* })
|
65
69
|
* ```
|
66
70
|
*
|
67
|
-
* By default, only the first `
|
71
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
68
72
|
*
|
69
73
|
* ```ts
|
70
|
-
*
|
74
|
+
* const users = await userModuleService.list(
|
75
|
+
* {
|
76
|
+
* id: ["user_123", "user_321"]
|
77
|
+
* },
|
78
|
+
* {
|
79
|
+
* take: 20,
|
80
|
+
* skip: 2
|
81
|
+
* }
|
82
|
+
* )
|
71
83
|
* ```
|
72
|
-
*
|
73
|
-
*
|
74
84
|
*/
|
75
85
|
list(filters?: FilterableUserProps, config?: FindConfig<UserDTO>, sharedContext?: Context): Promise<UserDTO[]>;
|
76
86
|
/**
|
77
|
-
* This method retrieves a paginated list of
|
87
|
+
* This method retrieves a paginated list of users along with the total count of available users satisfying the provided filters.
|
78
88
|
*
|
79
|
-
* @param {FilterableUserProps} filters - The filters to apply on the retrieved
|
89
|
+
* @param {FilterableUserProps} filters - The filters to apply on the retrieved users.
|
80
90
|
* @param {FindConfig<UserDTO>} config - The configurations determining how the user is retrieved. Its properties, such as `select` or `relations`, accept the
|
81
91
|
* attributes or relations associated with a user.
|
82
92
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
83
93
|
* @returns {Promise<[UserDTO[], number]>} The list of users along with their total count.
|
84
94
|
*
|
85
95
|
* @example
|
86
|
-
* To retrieve a list of
|
96
|
+
* To retrieve a list of users using their IDs:
|
87
97
|
*
|
88
98
|
* ```ts
|
89
|
-
* {
|
99
|
+
* const [users, count] = await userModuleService.listAndCount({
|
100
|
+
* id: ["user_123", "user_321"]
|
101
|
+
* })
|
90
102
|
* ```
|
91
103
|
*
|
92
|
-
*
|
104
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
93
105
|
*
|
94
106
|
* ```ts
|
95
|
-
*
|
107
|
+
* const [users, count] = await userModuleService.listAndCount(
|
108
|
+
* {
|
109
|
+
* id: ["user_123", "user_321"]
|
110
|
+
* },
|
111
|
+
* {
|
112
|
+
* take: 20,
|
113
|
+
* skip: 2
|
114
|
+
* }
|
115
|
+
* )
|
96
116
|
* ```
|
97
|
-
*
|
98
|
-
* By default, only the first `{default limit}` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
99
|
-
*
|
100
|
-
* ```ts
|
101
|
-
* {example-code}
|
102
|
-
* ```
|
103
|
-
*
|
104
|
-
*
|
105
117
|
*/
|
106
118
|
listAndCount(filters?: FilterableUserProps, config?: FindConfig<UserDTO>, sharedContext?: Context): Promise<[UserDTO[], number]>;
|
107
119
|
/**
|
@@ -112,7 +124,14 @@ export interface IUserModuleService extends IModuleService {
|
|
112
124
|
* @returns {Promise<UserDTO[]>} The created users.
|
113
125
|
*
|
114
126
|
* @example
|
115
|
-
*
|
127
|
+
* const users = await userModuleService.create([
|
128
|
+
* {
|
129
|
+
* email: "john@doe.com"
|
130
|
+
* },
|
131
|
+
* {
|
132
|
+
* email: "john2@doe.com"
|
133
|
+
* }
|
134
|
+
* ])
|
116
135
|
*/
|
117
136
|
create(data: CreateUserDTO[], sharedContext?: Context): Promise<UserDTO[]>;
|
118
137
|
/**
|
@@ -123,18 +142,29 @@ export interface IUserModuleService extends IModuleService {
|
|
123
142
|
* @returns {Promise<UserDTO>} The created user.
|
124
143
|
*
|
125
144
|
* @example
|
126
|
-
* {
|
145
|
+
* const user = await userModuleService.create({
|
146
|
+
* email: "john@doe.com"
|
147
|
+
* })
|
127
148
|
*/
|
128
149
|
create(data: CreateUserDTO, sharedContext?: Context): Promise<UserDTO>;
|
129
150
|
/**
|
130
151
|
* This method updates existing users.
|
131
152
|
*
|
132
|
-
* @param {UpdateUserDTO[]} data - The attributes to update in
|
153
|
+
* @param {UpdateUserDTO[]} data - The attributes to update in the users.
|
133
154
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
134
155
|
* @returns {Promise<UserDTO[]>} The updated users.
|
135
156
|
*
|
136
157
|
* @example
|
137
|
-
*
|
158
|
+
* const users = await userModuleService.update([
|
159
|
+
* {
|
160
|
+
* id: "user_123",
|
161
|
+
* first_name: "John"
|
162
|
+
* },
|
163
|
+
* {
|
164
|
+
* id: "user_321",
|
165
|
+
* last_name: "Doe"
|
166
|
+
* }
|
167
|
+
* ])
|
138
168
|
*/
|
139
169
|
update(data: UpdateUserDTO[], sharedContext?: Context): Promise<UserDTO[]>;
|
140
170
|
/**
|
@@ -145,31 +175,252 @@ export interface IUserModuleService extends IModuleService {
|
|
145
175
|
* @returns {Promise<UserDTO>} The updated user.
|
146
176
|
*
|
147
177
|
* @example
|
148
|
-
* {
|
178
|
+
* const user = await userModuleService.update({
|
179
|
+
* id: "user_123",
|
180
|
+
* first_name: "John"
|
181
|
+
* })
|
149
182
|
*/
|
150
183
|
update(data: UpdateUserDTO, sharedContext?: Context): Promise<UserDTO>;
|
151
184
|
/**
|
152
185
|
* This method deletes users by their IDs.
|
153
186
|
*
|
154
|
-
* @param {string[]} ids - The
|
187
|
+
* @param {string[]} ids - The IDs of the users.
|
155
188
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
156
|
-
* @returns {Promise<void>} Resolves when the users are deleted.
|
189
|
+
* @returns {Promise<void>} Resolves when the users are deleted successfully.
|
157
190
|
*
|
158
191
|
* @example
|
159
|
-
*
|
192
|
+
* await userModuleService.delete([
|
193
|
+
* "user_123", "user_321"
|
194
|
+
* ])
|
160
195
|
*/
|
161
196
|
delete(ids: string[], sharedContext?: Context): Promise<void>;
|
197
|
+
/**
|
198
|
+
* This method soft deletes a user by its IDs.
|
199
|
+
*
|
200
|
+
* @param {string[]} userIds - The IDs of users to soft-delete
|
201
|
+
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
202
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
203
|
+
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
204
|
+
* If there are no related records, the promise resolves to `void`.
|
205
|
+
*
|
206
|
+
* @example
|
207
|
+
* await userModuleService.softDelete([
|
208
|
+
* "user_123", "user_321"
|
209
|
+
* ])
|
210
|
+
*/
|
162
211
|
softDelete<TReturnableLinkableKeys extends string = string>(userIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
212
|
+
/**
|
213
|
+
* This method restores soft deleted users by their IDs.
|
214
|
+
*
|
215
|
+
* @param {string[]} userIds - The IDs of users to restore.
|
216
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the users. You can pass to its `returnLinkableKeys`
|
217
|
+
* property any of the user's relation attribute names.
|
218
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
219
|
+
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
220
|
+
*
|
221
|
+
* If there are no related records restored, the promise resolves to `void`.
|
222
|
+
*
|
223
|
+
* @example
|
224
|
+
* await userModuleService.restore([
|
225
|
+
* "user_123", "user_321"
|
226
|
+
* ])
|
227
|
+
*/
|
163
228
|
restore<TReturnableLinkableKeys extends string = string>(userIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
229
|
+
/**
|
230
|
+
* This method retrieves an invite by its ID.
|
231
|
+
*
|
232
|
+
* @param {string} id - The ID of the invite.
|
233
|
+
* @param {FindConfig<InviteDTO>} config - The configurations determining how the invite is retrieved. Its properties, such as `select` or `relations`, accept the
|
234
|
+
* attributes or relations associated with a invite.
|
235
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
236
|
+
* @returns {Promise<InviteDTO>} The retrieved invite.
|
237
|
+
*
|
238
|
+
* @example
|
239
|
+
* const invite = await userModuleService.retrieveInvite(
|
240
|
+
* "invite_123"
|
241
|
+
* )
|
242
|
+
*/
|
164
243
|
retrieveInvite(id: string, config?: FindConfig<InviteDTO>, sharedContext?: Context): Promise<InviteDTO>;
|
244
|
+
/**
|
245
|
+
* This method retrieves a paginated list of invites based on optional filters and configuration.
|
246
|
+
*
|
247
|
+
* @param {FilterableUserProps} filters - The filters to apply on the retrieved invites.
|
248
|
+
* @param {FindConfig<InviteDTO>} config - The configurations determining how the invite is retrieved. Its properties, such as `select` or `relations`, accept the
|
249
|
+
* attributes or relations associated with a invite.
|
250
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
251
|
+
* @returns {Promise<InviteDTO[]>} The list of invites.
|
252
|
+
*
|
253
|
+
* @example
|
254
|
+
* To retrieve a list of invites using their IDs:
|
255
|
+
*
|
256
|
+
* ```ts
|
257
|
+
* const invites = await userModuleService.listInvites({
|
258
|
+
* id: ["invite_123", "invite_321"]
|
259
|
+
* })
|
260
|
+
* ```
|
261
|
+
*
|
262
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
263
|
+
*
|
264
|
+
* ```ts
|
265
|
+
* const invites = await userModuleService.listInvites(
|
266
|
+
* {
|
267
|
+
* id: ["invite_123", "invite_321"]
|
268
|
+
* },
|
269
|
+
* {
|
270
|
+
* take: 20,
|
271
|
+
* skip: 2
|
272
|
+
* }
|
273
|
+
* )
|
274
|
+
* ```
|
275
|
+
*/
|
165
276
|
listInvites(filters?: FilterableUserProps, config?: FindConfig<InviteDTO>, sharedContext?: Context): Promise<InviteDTO[]>;
|
277
|
+
/**
|
278
|
+
* This method retrieves a paginated list of invites along with the total count of available invites satisfying the provided filters.
|
279
|
+
*
|
280
|
+
* @param {FilterableUserProps} filters - The filters to apply on the retrieved invites.
|
281
|
+
* @param {FindConfig<InviteDTO>} config - The configurations determining how the invite is retrieved. Its properties, such as `select` or `relations`, accept the
|
282
|
+
* attributes or relations associated with a invite.
|
283
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
284
|
+
* @returns {Promise<[InviteDTO[], number]>} The list of invites along with their total count.
|
285
|
+
*
|
286
|
+
* @example
|
287
|
+
* To retrieve a list of invites using their IDs:
|
288
|
+
*
|
289
|
+
* ```ts
|
290
|
+
* const [invites, count] = await userModuleService
|
291
|
+
* .listAndCountInvites({
|
292
|
+
* id: ["invite_123", "invite_321"]
|
293
|
+
* })
|
294
|
+
* ```
|
295
|
+
*
|
296
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
297
|
+
*
|
298
|
+
* ```ts
|
299
|
+
* const [invites, count] = await userModuleService
|
300
|
+
* .listAndCountInvites(
|
301
|
+
* {
|
302
|
+
* id: ["invite_123", "invite_321"]
|
303
|
+
* },
|
304
|
+
* {
|
305
|
+
* take: 20,
|
306
|
+
* skip: 2
|
307
|
+
* }
|
308
|
+
* )
|
309
|
+
* ```
|
310
|
+
*/
|
166
311
|
listAndCountInvites(filters?: FilterableUserProps, config?: FindConfig<InviteDTO>, sharedContext?: Context): Promise<[InviteDTO[], number]>;
|
312
|
+
/**
|
313
|
+
* This method creates invites.
|
314
|
+
*
|
315
|
+
* @param {CreateInviteDTO[]} data - The invites to be created.
|
316
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
317
|
+
* @returns {Promise<InviteDTO[]>} The created invites.
|
318
|
+
*
|
319
|
+
* @example
|
320
|
+
* const invites = await userModuleService.createInvites([
|
321
|
+
* {
|
322
|
+
* email: "john@doe.com"
|
323
|
+
* },
|
324
|
+
* {
|
325
|
+
* email: "john2@doe.com"
|
326
|
+
* }
|
327
|
+
* ])
|
328
|
+
*/
|
167
329
|
createInvites(data: CreateInviteDTO[], sharedContext?: Context): Promise<InviteDTO[]>;
|
330
|
+
/**
|
331
|
+
* This method creates a invite.
|
332
|
+
*
|
333
|
+
* @param {CreateInviteDTO} data - The invite to be created.
|
334
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
335
|
+
* @returns {Promise<InviteDTO>} The created invite.
|
336
|
+
*
|
337
|
+
* @example
|
338
|
+
* const invite = await userModuleService.createInvites({
|
339
|
+
* email: "john@doe.com"
|
340
|
+
* })
|
341
|
+
*/
|
168
342
|
createInvites(data: CreateInviteDTO, sharedContext?: Context): Promise<InviteDTO>;
|
343
|
+
/**
|
344
|
+
* This method updates existing invites.
|
345
|
+
*
|
346
|
+
* @param {UpdateInviteDTO[]} data - The attributes to update in the invites.
|
347
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
348
|
+
* @returns {Promise<InviteDTO[]>} The updated invites.
|
349
|
+
*
|
350
|
+
* @example
|
351
|
+
* const invites = await userModuleService.updateInvites([
|
352
|
+
* {
|
353
|
+
* id: "invite_123",
|
354
|
+
* accepted: true
|
355
|
+
* },
|
356
|
+
* {
|
357
|
+
* id: "invite_321",
|
358
|
+
* metadata: {
|
359
|
+
* test: true
|
360
|
+
* }
|
361
|
+
* }
|
362
|
+
* ])
|
363
|
+
*/
|
169
364
|
updateInvites(data: UpdateInviteDTO[], sharedContext?: Context): Promise<InviteDTO[]>;
|
365
|
+
/**
|
366
|
+
* This method updates an existing invite.
|
367
|
+
*
|
368
|
+
* @param {UpdateInviteDTO} data - The attributes to update in the invite.
|
369
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
370
|
+
* @returns {Promise<InviteDTO>} The updated invite.
|
371
|
+
*
|
372
|
+
* @example
|
373
|
+
* const invite = await userModuleService.updateInvites({
|
374
|
+
* id: "invite_123",
|
375
|
+
* accepted: true
|
376
|
+
* })
|
377
|
+
*/
|
170
378
|
updateInvites(data: UpdateInviteDTO, sharedContext?: Context): Promise<InviteDTO>;
|
379
|
+
/**
|
380
|
+
* This method deletes invites by their IDs.
|
381
|
+
*
|
382
|
+
* @param {string[]} ids - The IDs of the invites.
|
383
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
384
|
+
* @returns {Promise<void>} Resolves when the invites are deleted successfully.
|
385
|
+
*
|
386
|
+
* @example
|
387
|
+
* await userModuleService.deleteInvites([
|
388
|
+
* "invite_123", "invite_321"
|
389
|
+
* ])
|
390
|
+
*/
|
171
391
|
deleteInvites(ids: string[], sharedContext?: Context): Promise<void>;
|
392
|
+
/**
|
393
|
+
* This method soft deletes invites by their IDs.
|
394
|
+
*
|
395
|
+
* @param {string[]} inviteIds - The IDs of the invites to soft-delete.
|
396
|
+
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
397
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
398
|
+
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
399
|
+
*
|
400
|
+
* If there are no related records, the promise resolves to `void`.
|
401
|
+
*
|
402
|
+
* @example
|
403
|
+
* await userModuleService.softDeleteInvites([
|
404
|
+
* "invite_123", "invite_321"
|
405
|
+
* ])
|
406
|
+
*/
|
172
407
|
softDeleteInvites<TReturnableLinkableKeys extends string = string>(inviteIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
408
|
+
/**
|
409
|
+
* This method restores soft deleted invites by their IDs.
|
410
|
+
*
|
411
|
+
* @param {string[]} inviteIds - The IDs of invites to restore.
|
412
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the invites. You can pass to its `returnLinkableKeys`
|
413
|
+
* property any of the invite's relation attribute names.
|
414
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
415
|
+
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
416
|
+
*
|
417
|
+
* If there are no related records restored, the promise resolves to `void`.
|
418
|
+
*
|
419
|
+
* @example
|
420
|
+
* await userModuleService.restoreInvites([
|
421
|
+
* "invite_123", "invite_321"
|
422
|
+
* ])
|
423
|
+
*/
|
173
424
|
restoreInvites<TReturnableLinkableKeys extends string = string>(inviteIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
174
425
|
}
|
175
426
|
//# sourceMappingURL=service.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/user/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,eAAe,EACf,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/user/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,eAAe,EACf,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,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,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,KAAK,EAAE,MAAM,EACb,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,CAAC,CAAA;IAErB;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,SAAS,EAAE,MAAM,EAAE,EACnB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;IAEvB;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;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