@quesmed/types 2.5.68 → 2.5.70

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.
@@ -20,6 +20,20 @@ exports.USER_FIELDS = (0, client_1.gql) `
20
20
  stripeCustomerId
21
21
  tocAccepted
22
22
 
23
+ # subscriptions
24
+ subscriptions {
25
+ id
26
+ productId
27
+ periodEndAt
28
+ product {
29
+ id
30
+ name
31
+ duration
32
+ price
33
+ stripePriceId
34
+ }
35
+ }
36
+
23
37
  # clinical
24
38
  qbankSubscriptionEndDate
25
39
  osceSubscriptionEndDate
@@ -6,6 +6,7 @@ export interface IPresetsVar {
6
6
  search?: string;
7
7
  timestamp?: number;
8
8
  limit?: number;
9
+ ascending?: boolean;
9
10
  }
10
11
  export type IPresetsData = RestrictedData<IPreset[], 'presets'>;
11
12
  export declare const PRESETS: import("@apollo/client").DocumentNode;
@@ -9,6 +9,7 @@ exports.PRESETS = (0, client_1.gql) `
9
9
  $search: String
10
10
  $timestamp: Int
11
11
  $limit: Int
12
+ $ascending: Boolean
12
13
  ) {
13
14
  restricted {
14
15
  presets(
@@ -17,6 +18,7 @@ exports.PRESETS = (0, client_1.gql) `
17
18
  search: $search
18
19
  timestamp: $timestamp
19
20
  limit: $limit
21
+ ascending: $ascending
20
22
  ) {
21
23
  id
22
24
  createdAt
@@ -17,6 +17,20 @@ export const USER_FIELDS = gql `
17
17
  stripeCustomerId
18
18
  tocAccepted
19
19
 
20
+ # subscriptions
21
+ subscriptions {
22
+ id
23
+ productId
24
+ periodEndAt
25
+ product {
26
+ id
27
+ name
28
+ duration
29
+ price
30
+ stripePriceId
31
+ }
32
+ }
33
+
20
34
  # clinical
21
35
  qbankSubscriptionEndDate
22
36
  osceSubscriptionEndDate
@@ -6,6 +6,7 @@ export interface IPresetsVar {
6
6
  search?: string;
7
7
  timestamp?: number;
8
8
  limit?: number;
9
+ ascending?: boolean;
9
10
  }
10
11
  export type IPresetsData = RestrictedData<IPreset[], 'presets'>;
11
12
  export declare const PRESETS: import("@apollo/client").DocumentNode;
@@ -6,6 +6,7 @@ export const PRESETS = gql `
6
6
  $search: String
7
7
  $timestamp: Int
8
8
  $limit: Int
9
+ $ascending: Boolean
9
10
  ) {
10
11
  restricted {
11
12
  presets(
@@ -14,6 +15,7 @@ export const PRESETS = gql `
14
15
  search: $search
15
16
  timestamp: $timestamp
16
17
  limit: $limit
18
+ ascending: $ascending
17
19
  ) {
18
20
  id
19
21
  createdAt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.68",
3
+ "version": "2.5.70",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",