@go-avro/avro-js 0.0.2-beta.141 → 0.0.2-beta.142

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.
@@ -117,10 +117,13 @@ export interface Chat {
117
117
  user_state: MemberState[];
118
118
  messages: Message[];
119
119
  }
120
- export interface TeamLocation {
120
+ export interface Location {
121
121
  accuracy: number;
122
122
  heading: number;
123
123
  id: string;
124
+ team_id: string | null;
125
+ user_company_id: string;
126
+ user_id: string;
124
127
  latitude: number;
125
128
  longitude: number;
126
129
  time_collected: number;
@@ -153,7 +156,7 @@ export interface Team {
153
156
  end_longitude: number;
154
157
  start_time: number;
155
158
  users: string[];
156
- current_location: TeamLocation;
159
+ current_location: Location | null;
157
160
  start_address: string;
158
161
  end_address: string;
159
162
  }
@@ -285,6 +288,7 @@ export interface UserCompanyAssociation {
285
288
  share_email_company_wide: boolean;
286
289
  notifications: Notification[];
287
290
  groups: string[];
291
+ last_location: Location | null;
288
292
  }
289
293
  export interface Email {
290
294
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.2-beta.141",
3
+ "version": "0.0.2-beta.142",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",