@authenty/authapi-types 1.0.8 → 1.0.10

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/general.d.ts CHANGED
@@ -11,12 +11,12 @@ export type Product = {
11
11
  title: string;
12
12
  short: string;
13
13
  resume: string;
14
- video?: string;
15
- imgUrls?: string;
14
+ video: string;
15
+ imgUrls: string | null;
16
16
  logo: string;
17
- themeImage?: string;
18
- themeColor?: string;
19
- themeVideo?: string;
17
+ themeImage: string;
18
+ themeColor: string;
19
+ themeVideo: string;
20
20
  url: string;
21
21
  type: number;
22
22
  period_test: number;
@@ -30,13 +30,13 @@ export type ProductLevel = {
30
30
  level: number;
31
31
  short: string;
32
32
  Product?: Product;
33
- store_bundles_levels: {
33
+ store_bundles_levels?: {
34
34
  id: number;
35
35
  bundleID: number;
36
36
  levelID: number;
37
37
  quantity: number;
38
38
  Bundle?: Bundle;
39
- }[] | undefined;
39
+ }[];
40
40
  };
41
41
  export type Course = {
42
42
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authenty/authapi-types",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Shared types for Authenty API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/general.ts CHANGED
@@ -13,12 +13,12 @@ export type Product = {
13
13
  title: string;
14
14
  short: string;
15
15
  resume: string;
16
- video?: string;
17
- imgUrls?: string;
16
+ video: string;
17
+ imgUrls: string | null;
18
18
  logo: string;
19
- themeImage?: string;
20
- themeColor?: string;
21
- themeVideo?: string;
19
+ themeImage: string;
20
+ themeColor: string;
21
+ themeVideo: string;
22
22
  url: string;
23
23
  type: number;
24
24
  period_test: number;
@@ -33,13 +33,13 @@ export type ProductLevel = {
33
33
  level: number;
34
34
  short: string;
35
35
  Product?: Product;
36
- store_bundles_levels: {
36
+ store_bundles_levels?: {
37
37
  id: number,
38
38
  bundleID: number,
39
39
  levelID: number,
40
40
  quantity: number,
41
41
  Bundle?: Bundle
42
- }[] | undefined;
42
+ }[];
43
43
  }
44
44
 
45
45
  export type Course = {