@go-avro/avro-js 0.0.82 → 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.
@@ -2,4 +2,5 @@ import { LineItem } from '../../types/api/LineItem';
2
2
  export interface AdditionalCharge extends LineItem {
3
3
  line_item_type: 'ADDITIONAL_CHARGE';
4
4
  time_updated: number | null;
5
+ earned_revenue: number;
5
6
  }
@@ -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
+ };
@@ -159,6 +159,7 @@ export interface FinancialInsightData {
159
159
  start: number;
160
160
  end: number;
161
161
  events: RevenueCategory;
162
+ additional_charges: RevenueCategory;
162
163
  custom: RevenueCategory;
163
164
  totals: {
164
165
  paid: number;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AVRO_JS_VERSION = "0.0.82";
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.82';
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.82",
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",