@kohost/api-client 3.1.19 → 3.1.20

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.
@@ -37,6 +37,10 @@ export interface MediaFile {
37
37
  type: string;
38
38
  name?: string;
39
39
  fileHash?: string;
40
+ /**
41
+ * This is the category id
42
+ */
43
+ category?: string;
40
44
  mimeType?:
41
45
  | "image/*"
42
46
  | "image/jpeg"
@@ -49,7 +49,7 @@ export interface Category {
49
49
  description?: string;
50
50
  image?: MediaFile;
51
51
  rating?: number;
52
- discriminator: "space" | "product";
52
+ discriminator: "space" | "product" | "mediaFile";
53
53
  systemId?: string;
54
54
  [k: string]: unknown;
55
55
  }
@@ -61,6 +61,10 @@ export interface MediaFile {
61
61
  type: string;
62
62
  name?: string;
63
63
  fileHash?: string;
64
+ /**
65
+ * This is the category id
66
+ */
67
+ category?: string;
64
68
  mimeType?:
65
69
  | "image/*"
66
70
  | "image/jpeg"
@@ -19,6 +19,10 @@ export interface MediaFile {
19
19
  type: string;
20
20
  name?: string;
21
21
  fileHash?: string;
22
+ /**
23
+ * This is the category id
24
+ */
25
+ category?: string;
22
26
  mimeType?:
23
27
  | "image/*"
24
28
  | "image/jpeg"
@@ -66,6 +66,10 @@ export interface MediaFile {
66
66
  type: string;
67
67
  name?: string;
68
68
  fileHash?: string;
69
+ /**
70
+ * This is the category id
71
+ */
72
+ category?: string;
69
73
  mimeType?:
70
74
  | "image/*"
71
75
  | "image/jpeg"
@@ -114,6 +114,10 @@ export interface MediaFile {
114
114
  type: string;
115
115
  name?: string;
116
116
  fileHash?: string;
117
+ /**
118
+ * This is the category id
119
+ */
120
+ category?: string;
117
121
  mimeType?:
118
122
  | "image/*"
119
123
  | "image/jpeg"
@@ -68,6 +68,10 @@ export interface MediaFile {
68
68
  type: string;
69
69
  name?: string;
70
70
  fileHash?: string;
71
+ /**
72
+ * This is the category id
73
+ */
74
+ category?: string;
71
75
  mimeType?:
72
76
  | "image/*"
73
77
  | "image/jpeg"
@@ -111,6 +111,10 @@ export interface MediaFile {
111
111
  type: string;
112
112
  name?: string;
113
113
  fileHash?: string;
114
+ /**
115
+ * This is the category id
116
+ */
117
+ category?: string;
114
118
  mimeType?:
115
119
  | "image/*"
116
120
  | "image/jpeg"
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "discriminator": {
35
35
  "type": "string",
36
- "enum": ["space", "product"]
36
+ "enum": ["space", "product", "mediaFile"]
37
37
  },
38
38
  "systemId": {
39
39
  "$ref": "definitions.json#/definitions/systemId"
@@ -18,6 +18,10 @@
18
18
  "fileHash": {
19
19
  "type": "string"
20
20
  },
21
+ "category": {
22
+ "type": "string",
23
+ "description": "This is the category id"
24
+ },
21
25
  "mimeType": {
22
26
  "type": "string",
23
27
  "enum": [
@@ -8360,6 +8360,10 @@ var require_mediaFile = __commonJS({
8360
8360
  fileHash: {
8361
8361
  type: "string"
8362
8362
  },
8363
+ category: {
8364
+ type: "string",
8365
+ description: "This is the category id"
8366
+ },
8363
8367
  mimeType: {
8364
8368
  type: "string",
8365
8369
  enum: [
@@ -11249,7 +11253,7 @@ var require_category = __commonJS({
11249
11253
  },
11250
11254
  discriminator: {
11251
11255
  type: "string",
11252
- enum: ["space", "product"]
11256
+ enum: ["space", "product", "mediaFile"]
11253
11257
  },
11254
11258
  systemId: {
11255
11259
  $ref: "definitions.json#/definitions/systemId"