@go-avro/avro-js 0.0.4-beta.9 → 0.0.5
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.
- package/dist/auth/AuthManager.d.ts +2 -2
- package/dist/client/QueryClient.d.ts +67 -3
- package/dist/client/QueryClient.js +28 -1
- package/dist/client/core/fetch.js +5 -0
- package/dist/client/core/xhr.js +12 -0
- package/dist/client/hooks/bills.js +8 -0
- package/dist/client/hooks/catalog_items.js +8 -1
- package/dist/client/hooks/events.js +14 -17
- package/dist/client/hooks/jobs.js +7 -3
- package/dist/client/hooks/prepayments.js +60 -1
- package/dist/client/hooks/proposal.js +8 -1
- package/dist/client/hooks/routes.js +13 -8
- package/dist/client/hooks/users.js +11 -0
- package/dist/client/hooks/waivers.d.ts +1 -0
- package/dist/client/hooks/waivers.js +123 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/types/api/Job.d.ts +31 -24
- package/dist/types/api/Job.js +23 -1
- package/dist/types/api/LineItem.d.ts +1 -0
- package/dist/types/api/LineItem.js +2 -1
- package/dist/types/api/Prepayment.d.ts +13 -8
- package/dist/types/api/Prepayment.js +7 -1
- package/dist/types/api/Route.d.ts +35 -17
- package/dist/types/api/Route.js +82 -1
- package/dist/types/api/RouteJob.d.ts +14 -9
- package/dist/types/api/RouteJob.js +5 -1
- package/dist/types/api/ServiceMonth.d.ts +1 -0
- package/dist/types/api/Task.d.ts +7 -0
- package/dist/types/api/Task.js +37 -1
- package/dist/types/api/User.d.ts +1 -0
- package/dist/types/api/UserCompanyAssociation.d.ts +1 -0
- package/dist/types/api/Waiver.d.ts +9 -0
- package/dist/types/api/Waiver.js +1 -0
- package/dist/types/api/_Event.d.ts +22 -15
- package/dist/types/api/_Event.js +18 -1
- package/dist/types/api.d.ts +3 -0
- package/dist/types/api.js +1 -0
- package/dist/types/cache.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FrequencyType } from "..";
|
|
1
2
|
export * from "../types/api/_Event";
|
|
2
3
|
export * from "../types/api/AdditionalCharge";
|
|
3
4
|
export * from "../types/api/Avro";
|
|
@@ -34,6 +35,7 @@ export * from "../types/api/Task";
|
|
|
34
35
|
export * from "../types/api/User";
|
|
35
36
|
export * from "../types/api/UserCompanyAssociation";
|
|
36
37
|
export * from "../types/api/UserEvent";
|
|
38
|
+
export * from "../types/api/Waiver";
|
|
37
39
|
export declare const LoginResponse: {
|
|
38
40
|
readonly SUCCESS: "SUCCESS";
|
|
39
41
|
readonly NEEDS_TOTP: "NEEDS_TOTP";
|
|
@@ -68,6 +70,7 @@ export type TeamSchedule = {
|
|
|
68
70
|
schedule: ScheduleItem[];
|
|
69
71
|
name: string;
|
|
70
72
|
optimize: boolean;
|
|
73
|
+
frequency: FrequencyType;
|
|
71
74
|
};
|
|
72
75
|
export type RouteScheduleConfig = {
|
|
73
76
|
schedules: TeamSchedule[];
|
package/dist/types/api.js
CHANGED
|
@@ -34,6 +34,7 @@ export * from "../types/api/Task";
|
|
|
34
34
|
export * from "../types/api/User";
|
|
35
35
|
export * from "../types/api/UserCompanyAssociation";
|
|
36
36
|
export * from "../types/api/UserEvent";
|
|
37
|
+
export * from "../types/api/Waiver";
|
|
37
38
|
export const LoginResponse = {
|
|
38
39
|
SUCCESS: "SUCCESS",
|
|
39
40
|
NEEDS_TOTP: "NEEDS_TOTP",
|
package/dist/types/cache.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface CacheData extends Tokens {
|
|
|
3
3
|
companyId: string;
|
|
4
4
|
}
|
|
5
5
|
export interface Cache {
|
|
6
|
-
get(key?: keyof CacheData): Promise<CacheData | string | null>;
|
|
7
|
-
set(data: Partial<CacheData>): Promise<void>;
|
|
6
|
+
get(key?: keyof CacheData | string): Promise<CacheData | string | null>;
|
|
7
|
+
set(data: Partial<CacheData> | Object): Promise<void>;
|
|
8
8
|
clear(): Promise<void>;
|
|
9
9
|
}
|