@go-avro/avro-js 0.0.83 → 0.0.84

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.
@@ -55,6 +55,19 @@ export declare const NotificationLevel: {
55
55
  readonly PUSH: 3;
56
56
  };
57
57
  export type NotificationLevel = (typeof NotificationLevel)[keyof typeof NotificationLevel];
58
+ export declare const LocationServicesStatus: {
59
+ readonly OKAY: "OKAY";
60
+ readonly DISABLED_IN_AVRO: "DISABLED_IN_AVRO";
61
+ readonly DISABLED_ON_DEVICE: "DISABLED_ON_DEVICE";
62
+ readonly FOREGROUND_ONLY: "FOREGROUND_ONLY";
63
+ readonly BACKGROUND_ONLY: "BACKGROUND_ONLY";
64
+ readonly REDUCED_ACCURACY: "REDUCED_ACCURACY";
65
+ readonly NOT_DETERMINED: "NOT_DETERMINED";
66
+ readonly SERVICES_OFF: "SERVICES_OFF";
67
+ readonly APP_DEAD: "APP_DEAD";
68
+ readonly OTHER: "OTHER";
69
+ };
70
+ export type LocationServicesStatus = (typeof LocationServicesStatus)[keyof typeof LocationServicesStatus];
58
71
  export interface UserCompanyAssociation {
59
72
  id: string;
60
73
  user: User;
@@ -77,4 +90,5 @@ export interface UserCompanyAssociation {
77
90
  notifications: Notification[];
78
91
  groups: string[];
79
92
  last_location: Location | null;
93
+ location_status: LocationServicesStatus;
80
94
  }
@@ -51,3 +51,15 @@ export const NotificationLevel = {
51
51
  SMS: 2,
52
52
  PUSH: 3,
53
53
  };
54
+ export const LocationServicesStatus = {
55
+ OKAY: 'OKAY',
56
+ DISABLED_IN_AVRO: 'DISABLED_IN_AVRO',
57
+ DISABLED_ON_DEVICE: 'DISABLED_ON_DEVICE',
58
+ FOREGROUND_ONLY: 'FOREGROUND_ONLY',
59
+ BACKGROUND_ONLY: 'BACKGROUND_ONLY',
60
+ REDUCED_ACCURACY: 'REDUCED_ACCURACY',
61
+ NOT_DETERMINED: 'NOT_DETERMINED',
62
+ SERVICES_OFF: 'SERVICES_OFF',
63
+ APP_DEAD: 'APP_DEAD',
64
+ OTHER: 'OTHER',
65
+ };
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AVRO_JS_VERSION = "0.0.83";
1
+ export declare const AVRO_JS_VERSION = "0.0.84";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED by scripts/gen-version.js — do not edit by hand.
2
2
  // Regenerated from package.json by the `prebuild` npm hook.
3
- export const AVRO_JS_VERSION = '0.0.83';
3
+ export const AVRO_JS_VERSION = '0.0.84';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",