@kohost/api-client 3.0.0-beta.90 → 3.0.0-beta.91

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.
@@ -16,6 +16,7 @@ export type Date =
16
16
  */
17
17
  export interface Announcement {
18
18
  id?: string;
19
+ type?: "announcement";
19
20
  /**
20
21
  * @minItems 1
21
22
  */
@@ -16,6 +16,7 @@ export type Date =
16
16
  */
17
17
  export interface Ticket {
18
18
  id: string;
19
+ type?: "ticket";
19
20
  conversation: (
20
21
  | {
21
22
  [k: string]: unknown;
@@ -6,6 +6,11 @@
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "id": { "$ref": "definitions.json#/definitions/id" },
9
+ "type": {
10
+ "type": "string",
11
+ "enum": ["announcement"],
12
+ "default": "announcement"
13
+ },
9
14
  "users": {
10
15
  "type": "array",
11
16
  "items": {
@@ -8,6 +8,11 @@
8
8
  "id": {
9
9
  "$ref": "definitions.json#/definitions/id"
10
10
  },
11
+ "type": {
12
+ "type": "string",
13
+ "enum": ["ticket"],
14
+ "default": "ticket"
15
+ },
11
16
  "conversation": {
12
17
  "type": "array",
13
18
  "default": [],
@@ -11235,6 +11235,11 @@ var require_ticket = __commonJS({
11235
11235
  id: {
11236
11236
  $ref: "definitions.json#/definitions/id"
11237
11237
  },
11238
+ type: {
11239
+ type: "string",
11240
+ enum: ["ticket"],
11241
+ default: "ticket"
11242
+ },
11238
11243
  conversation: {
11239
11244
  type: "array",
11240
11245
  default: [],
@@ -12612,6 +12617,11 @@ var require_announcement = __commonJS({
12612
12617
  type: "object",
12613
12618
  properties: {
12614
12619
  id: { $ref: "definitions.json#/definitions/id" },
12620
+ type: {
12621
+ type: "string",
12622
+ enum: ["announcement"],
12623
+ default: "announcement"
12624
+ },
12615
12625
  users: {
12616
12626
  type: "array",
12617
12627
  items: {