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

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.
@@ -21,10 +21,11 @@ export interface Announcement {
21
21
  * @minItems 1
22
22
  */
23
23
  users?: [string, ...string[]];
24
+ group?: string;
24
25
  body?: string;
25
26
  media?: MediaFile;
26
27
  sentBy?: string;
27
- tag?: string;
28
+ tags?: string[];
28
29
  createdAt?: Date;
29
30
  updatedAt?: Date;
30
31
  }
@@ -28,7 +28,7 @@ export interface SMSMessage {
28
28
  | "receiving"
29
29
  | "received"
30
30
  | "read";
31
- body: string;
31
+ body?: string;
32
32
  driver?: string;
33
33
  appData?: {
34
34
  [k: string]: unknown;
@@ -18,6 +18,9 @@
18
18
  },
19
19
  "minItems": 1
20
20
  },
21
+ "group": {
22
+ "type": "string"
23
+ },
21
24
  "body": {
22
25
  "type": "string"
23
26
  },
@@ -27,8 +30,11 @@
27
30
  "sentBy": {
28
31
  "type": "string"
29
32
  },
30
- "tag": {
31
- "type": "string"
33
+ "tags": {
34
+ "type": "array",
35
+ "items": {
36
+ "type": "string"
37
+ }
32
38
  },
33
39
  "createdAt": {
34
40
  "$ref": "definitions.json#/definitions/date"
@@ -3,7 +3,7 @@
3
3
  "$id": "smsMessage.json",
4
4
  "title": "SMS Message",
5
5
  "type": "object",
6
- "required": ["to", "from", "body", "status"],
6
+ "required": ["to", "from", "status"],
7
7
  "properties": {
8
8
  "id": {
9
9
  "$ref": "definitions.json#/definitions/id"
@@ -12396,7 +12396,7 @@ var require_smsMessage = __commonJS({
12396
12396
  $id: "smsMessage.json",
12397
12397
  title: "SMS Message",
12398
12398
  type: "object",
12399
- required: ["to", "from", "body", "status"],
12399
+ required: ["to", "from", "status"],
12400
12400
  properties: {
12401
12401
  id: {
12402
12402
  $ref: "definitions.json#/definitions/id"
@@ -12629,6 +12629,9 @@ var require_announcement = __commonJS({
12629
12629
  },
12630
12630
  minItems: 1
12631
12631
  },
12632
+ group: {
12633
+ type: "string"
12634
+ },
12632
12635
  body: {
12633
12636
  type: "string"
12634
12637
  },
@@ -12638,8 +12641,11 @@ var require_announcement = __commonJS({
12638
12641
  sentBy: {
12639
12642
  type: "string"
12640
12643
  },
12641
- tag: {
12642
- type: "string"
12644
+ tags: {
12645
+ type: "array",
12646
+ items: {
12647
+ type: "string"
12648
+ }
12643
12649
  },
12644
12650
  createdAt: {
12645
12651
  $ref: "definitions.json#/definitions/date"