@quesmed/types 2.6.144 → 2.6.146
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.
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/cjs/resolvers/query/admin/dashboard.d.ts +2 -1
- package/dist/cjs/resolvers/query/admin/dashboard.js +3 -0
- package/dist/cjs/resolvers/query/restricted/user.js +1 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/resolvers/query/admin/dashboard.d.ts +2 -1
- package/dist/mjs/resolvers/query/admin/dashboard.js +3 -0
- package/dist/mjs/resolvers/query/restricted/user.js +1 -0
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ export type IEarningsVar = {
|
|
|
36
36
|
subType: ESubType;
|
|
37
37
|
source: ESubSource;
|
|
38
38
|
universityId: number | null;
|
|
39
|
+
countryName: string | null;
|
|
39
40
|
useNetEarning: boolean;
|
|
40
41
|
productIds?: EProductType[];
|
|
41
42
|
};
|
|
@@ -191,6 +192,6 @@ export type IDropdownOptionsVar = {
|
|
|
191
192
|
};
|
|
192
193
|
export type IDropdownOptionsData = AdminData<Array<{
|
|
193
194
|
key: string;
|
|
194
|
-
value: number;
|
|
195
|
+
value: string | number;
|
|
195
196
|
}>, 'dropdownOptions'>;
|
|
196
197
|
export declare const DROPDOWN_OPTIONS: import("@apollo/client").DocumentNode;
|
|
@@ -26,6 +26,7 @@ exports.EARNINGS = (0, client_1.gql) `
|
|
|
26
26
|
$universityId: Int
|
|
27
27
|
$useNetEarning: Boolean
|
|
28
28
|
$productIds: [Int]
|
|
29
|
+
$countryName: String
|
|
29
30
|
) {
|
|
30
31
|
admin {
|
|
31
32
|
earnings(
|
|
@@ -38,6 +39,7 @@ exports.EARNINGS = (0, client_1.gql) `
|
|
|
38
39
|
source: $source
|
|
39
40
|
useNetEarning: $useNetEarning
|
|
40
41
|
productIds: $productIds
|
|
42
|
+
countryName: $countryName
|
|
41
43
|
) {
|
|
42
44
|
entitlement {
|
|
43
45
|
id
|
|
@@ -328,6 +330,7 @@ exports.USER_CANCELLATION_REASONS = (0, client_1.gql) `
|
|
|
328
330
|
feedback
|
|
329
331
|
periodEndAt
|
|
330
332
|
updatedAt
|
|
333
|
+
purchaseSource
|
|
331
334
|
product {
|
|
332
335
|
id
|
|
333
336
|
name
|
|
@@ -36,6 +36,7 @@ export type IEarningsVar = {
|
|
|
36
36
|
subType: ESubType;
|
|
37
37
|
source: ESubSource;
|
|
38
38
|
universityId: number | null;
|
|
39
|
+
countryName: string | null;
|
|
39
40
|
useNetEarning: boolean;
|
|
40
41
|
productIds?: EProductType[];
|
|
41
42
|
};
|
|
@@ -191,6 +192,6 @@ export type IDropdownOptionsVar = {
|
|
|
191
192
|
};
|
|
192
193
|
export type IDropdownOptionsData = AdminData<Array<{
|
|
193
194
|
key: string;
|
|
194
|
-
value: number;
|
|
195
|
+
value: string | number;
|
|
195
196
|
}>, 'dropdownOptions'>;
|
|
196
197
|
export declare const DROPDOWN_OPTIONS: import("@apollo/client").DocumentNode;
|
|
@@ -23,6 +23,7 @@ export const EARNINGS = gql `
|
|
|
23
23
|
$universityId: Int
|
|
24
24
|
$useNetEarning: Boolean
|
|
25
25
|
$productIds: [Int]
|
|
26
|
+
$countryName: String
|
|
26
27
|
) {
|
|
27
28
|
admin {
|
|
28
29
|
earnings(
|
|
@@ -35,6 +36,7 @@ export const EARNINGS = gql `
|
|
|
35
36
|
source: $source
|
|
36
37
|
useNetEarning: $useNetEarning
|
|
37
38
|
productIds: $productIds
|
|
39
|
+
countryName: $countryName
|
|
38
40
|
) {
|
|
39
41
|
entitlement {
|
|
40
42
|
id
|
|
@@ -325,6 +327,7 @@ export const USER_CANCELLATION_REASONS = gql `
|
|
|
325
327
|
feedback
|
|
326
328
|
periodEndAt
|
|
327
329
|
updatedAt
|
|
330
|
+
purchaseSource
|
|
328
331
|
product {
|
|
329
332
|
id
|
|
330
333
|
name
|