@jugarhoy/api 1.1.24 → 1.1.25

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.
@@ -39,6 +39,12 @@ export interface CreateTeamFeedRequest {
39
39
  * @memberof CreateTeamFeedRequest
40
40
  */
41
41
  media?: Array<TeamFeedMedia> | null;
42
+ /**
43
+ * Initial reactions/emotions (emotionId -> count)
44
+ * @type {object}
45
+ * @memberof CreateTeamFeedRequest
46
+ */
47
+ reactions?: object | null;
42
48
  }
43
49
 
44
50
  /**
@@ -61,6 +67,7 @@ export function CreateTeamFeedRequestFromJSONTyped(json: any, ignoreDiscriminato
61
67
 
62
68
  'content': json['content'],
63
69
  'media': json['media'] == null ? undefined : ((json['media'] as Array<any>).map(TeamFeedMediaFromJSON)),
70
+ 'reactions': json['reactions'] == null ? undefined : json['reactions'],
64
71
  };
65
72
  }
66
73
 
@@ -77,6 +84,7 @@ export function CreateTeamFeedRequestToJSONTyped(value?: CreateTeamFeedRequest |
77
84
 
78
85
  'content': value['content'],
79
86
  'media': value['media'] == null ? undefined : ((value['media'] as Array<any>).map(TeamFeedMediaToJSON)),
87
+ 'reactions': value['reactions'],
80
88
  };
81
89
  }
82
90
 
@@ -21,6 +21,7 @@ export const FeedMediaType = {
21
21
  Image: 'IMAGE',
22
22
  Video: 'VIDEO',
23
23
  Gif: 'GIF',
24
+ Audio: 'AUDIO',
24
25
  ExternalLink: 'EXTERNAL_LINK',
25
26
  CustomEmoji: 'CUSTOM_EMOJI'
26
27
  } as const;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jugarhoy/api",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "TypeScript SDK for Jugar Hoy API",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",