@jugarhoy/api 1.1.23 → 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;
@@ -55,6 +55,12 @@ export interface UpdateTeamRequest {
55
55
  * @memberof UpdateTeamRequest
56
56
  */
57
57
  isActive?: boolean;
58
+ /**
59
+ * Base64 encoded avatar image (data URL format)
60
+ * @type {string}
61
+ * @memberof UpdateTeamRequest
62
+ */
63
+ avatarBase64?: string;
58
64
  }
59
65
 
60
66
  /**
@@ -80,6 +86,7 @@ export function UpdateTeamRequestFromJSONTyped(json: any, ignoreDiscriminator: b
80
86
  'bgColor': json['bgColor'] == null ? undefined : json['bgColor'],
81
87
  'fgColor': json['fgColor'] == null ? undefined : json['fgColor'],
82
88
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
89
+ 'avatarBase64': json['avatarBase64'] == null ? undefined : json['avatarBase64'],
83
90
  };
84
91
  }
85
92
 
@@ -100,6 +107,7 @@ export function UpdateTeamRequestToJSONTyped(value?: UpdateTeamRequest | null, i
100
107
  'bgColor': value['bgColor'],
101
108
  'fgColor': value['fgColor'],
102
109
  'isActive': value['isActive'],
110
+ 'avatarBase64': value['avatarBase64'],
103
111
  };
104
112
  }
105
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jugarhoy/api",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "description": "TypeScript SDK for Jugar Hoy API",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",