@quesmed/types 2.6.186 → 2.6.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,9 +13,15 @@ export declare const RESET_QUES_DIFFICULTY: import("@apollo/client").DocumentNod
|
|
|
13
13
|
export type IResetQueDifficultyVar = null;
|
|
14
14
|
export type IResetQueDifficultyData = AdminData<boolean, 'resetQueDifficulty'>;
|
|
15
15
|
export type IManageUserSubsVar = {
|
|
16
|
-
|
|
16
|
+
usernames: string[];
|
|
17
17
|
password?: string;
|
|
18
18
|
stripePriceIds: string[];
|
|
19
|
+
emailNotification?: {
|
|
20
|
+
subject?: string | null;
|
|
21
|
+
text?: string | null;
|
|
22
|
+
};
|
|
23
|
+
cancelAtPeriodEnd: boolean;
|
|
24
|
+
description?: string;
|
|
19
25
|
};
|
|
20
26
|
export declare const MANAGE_USER_SUBS: import("@apollo/client").DocumentNode;
|
|
21
27
|
export type IManageUserSubsData = AdminData<boolean, 'manageUserSubs'>;
|
|
@@ -25,15 +25,21 @@ exports.RESET_QUES_DIFFICULTY = (0, client_1.gql) `
|
|
|
25
25
|
`;
|
|
26
26
|
exports.MANAGE_USER_SUBS = (0, client_1.gql) `
|
|
27
27
|
mutation ManageUserSubs(
|
|
28
|
-
$
|
|
28
|
+
$usernames: [String]!
|
|
29
29
|
$password: String
|
|
30
30
|
$stripePriceIds: [String!]!
|
|
31
|
+
$emailNotification: EmailInput
|
|
32
|
+
$cancelAtPeriodEnd: Boolean!
|
|
33
|
+
$description: String
|
|
31
34
|
) {
|
|
32
35
|
admin {
|
|
33
36
|
manageUserSubs(
|
|
34
|
-
|
|
37
|
+
usernames: $usernames
|
|
35
38
|
password: $password
|
|
36
39
|
stripePriceIds: $stripePriceIds
|
|
40
|
+
emailNotification: $emailNotification
|
|
41
|
+
cancelAtPeriodEnd: $cancelAtPeriodEnd
|
|
42
|
+
description: $description
|
|
37
43
|
)
|
|
38
44
|
}
|
|
39
45
|
}
|
|
@@ -13,9 +13,15 @@ export declare const RESET_QUES_DIFFICULTY: import("@apollo/client").DocumentNod
|
|
|
13
13
|
export type IResetQueDifficultyVar = null;
|
|
14
14
|
export type IResetQueDifficultyData = AdminData<boolean, 'resetQueDifficulty'>;
|
|
15
15
|
export type IManageUserSubsVar = {
|
|
16
|
-
|
|
16
|
+
usernames: string[];
|
|
17
17
|
password?: string;
|
|
18
18
|
stripePriceIds: string[];
|
|
19
|
+
emailNotification?: {
|
|
20
|
+
subject?: string | null;
|
|
21
|
+
text?: string | null;
|
|
22
|
+
};
|
|
23
|
+
cancelAtPeriodEnd: boolean;
|
|
24
|
+
description?: string;
|
|
19
25
|
};
|
|
20
26
|
export declare const MANAGE_USER_SUBS: import("@apollo/client").DocumentNode;
|
|
21
27
|
export type IManageUserSubsData = AdminData<boolean, 'manageUserSubs'>;
|
|
@@ -22,15 +22,21 @@ export const RESET_QUES_DIFFICULTY = gql `
|
|
|
22
22
|
`;
|
|
23
23
|
export const MANAGE_USER_SUBS = gql `
|
|
24
24
|
mutation ManageUserSubs(
|
|
25
|
-
$
|
|
25
|
+
$usernames: [String]!
|
|
26
26
|
$password: String
|
|
27
27
|
$stripePriceIds: [String!]!
|
|
28
|
+
$emailNotification: EmailInput
|
|
29
|
+
$cancelAtPeriodEnd: Boolean!
|
|
30
|
+
$description: String
|
|
28
31
|
) {
|
|
29
32
|
admin {
|
|
30
33
|
manageUserSubs(
|
|
31
|
-
|
|
34
|
+
usernames: $usernames
|
|
32
35
|
password: $password
|
|
33
36
|
stripePriceIds: $stripePriceIds
|
|
37
|
+
emailNotification: $emailNotification
|
|
38
|
+
cancelAtPeriodEnd: $cancelAtPeriodEnd
|
|
39
|
+
description: $description
|
|
34
40
|
)
|
|
35
41
|
}
|
|
36
42
|
}
|