@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.
- package/dist/cjs/schemas/AnnouncementSchema.d.ts +2 -1
- package/dist/cjs/schemas/SmsMessageSchema.d.ts +1 -1
- package/dist/cjs/schemas/announcement.json +8 -2
- package/dist/cjs/schemas/smsMessage.json +1 -1
- package/dist/esm/Models.js +9 -3
- package/dist/esm/Models.js.map +2 -2
- package/package.json +1 -1
|
@@ -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
|
-
|
|
28
|
+
tags?: string[];
|
|
28
29
|
createdAt?: Date;
|
|
29
30
|
updatedAt?: Date;
|
|
30
31
|
}
|
|
@@ -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
|
-
"
|
|
31
|
-
"type": "
|
|
33
|
+
"tags": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
32
38
|
},
|
|
33
39
|
"createdAt": {
|
|
34
40
|
"$ref": "definitions.json#/definitions/date"
|
package/dist/esm/Models.js
CHANGED
|
@@ -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", "
|
|
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
|
-
|
|
12642
|
-
type: "
|
|
12644
|
+
tags: {
|
|
12645
|
+
type: "array",
|
|
12646
|
+
items: {
|
|
12647
|
+
type: "string"
|
|
12648
|
+
}
|
|
12643
12649
|
},
|
|
12644
12650
|
createdAt: {
|
|
12645
12651
|
$ref: "definitions.json#/definitions/date"
|