@go-avro/avro-js 0.0.60 → 0.0.61
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/client/QueryClient.d.ts +8 -0
- package/dist/client/hooks/bills.js +2 -0
- package/dist/client/hooks/events.js +2 -0
- package/dist/client/hooks/months.js +2 -0
- package/dist/client/hooks/prepayments.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -692,6 +692,8 @@ export declare class AvroQueryClient {
|
|
|
692
692
|
billed?: boolean;
|
|
693
693
|
paid?: boolean;
|
|
694
694
|
taskId?: string | null;
|
|
695
|
+
sort_by?: 'date' | 'amount' | 'name';
|
|
696
|
+
direction?: 'asc' | 'desc';
|
|
695
697
|
}, cancelToken?: CancelToken, headers?: Record<string, string>): Promise<any>;
|
|
696
698
|
fetchWaivers(body?: {
|
|
697
699
|
amt?: number;
|
|
@@ -710,6 +712,8 @@ export declare class AvroQueryClient {
|
|
|
710
712
|
billed?: boolean;
|
|
711
713
|
paid?: boolean;
|
|
712
714
|
job_id?: string | null;
|
|
715
|
+
sort_by?: 'date' | 'amount' | 'name';
|
|
716
|
+
direction?: 'asc' | 'desc';
|
|
713
717
|
}, cancelToken?: CancelToken, headers?: Record<string, string>): Promise<any>;
|
|
714
718
|
fetchMonths(body?: {
|
|
715
719
|
amt?: number;
|
|
@@ -721,6 +725,8 @@ export declare class AvroQueryClient {
|
|
|
721
725
|
billed?: boolean;
|
|
722
726
|
paid?: boolean;
|
|
723
727
|
jobId?: string | null;
|
|
728
|
+
sort_by?: 'date' | 'amount' | 'name';
|
|
729
|
+
direction?: 'asc' | 'desc';
|
|
724
730
|
}, cancelToken?: CancelToken, headers?: Record<string, string>): Promise<any>;
|
|
725
731
|
fetchBills(body?: {
|
|
726
732
|
amt?: number;
|
|
@@ -735,6 +741,8 @@ export declare class AvroQueryClient {
|
|
|
735
741
|
paid_to?: number;
|
|
736
742
|
amount_min?: number;
|
|
737
743
|
amount_max?: number;
|
|
744
|
+
sort_by?: 'date' | 'amount' | 'number';
|
|
745
|
+
direction?: 'asc' | 'desc';
|
|
738
746
|
}, cancelToken?: CancelToken, headers?: Record<string, string>): Promise<any>;
|
|
739
747
|
fetchPayouts(body?: {
|
|
740
748
|
amt?: number;
|
|
@@ -16,6 +16,8 @@ AvroQueryClient.prototype.useGetBills = function (body) {
|
|
|
16
16
|
body.paid_to ?? null,
|
|
17
17
|
body.amount_min ?? null,
|
|
18
18
|
body.amount_max ?? null,
|
|
19
|
+
body.sort_by ?? null,
|
|
20
|
+
body.direction ?? null,
|
|
19
21
|
],
|
|
20
22
|
initialPageParam: 0,
|
|
21
23
|
getNextPageParam: (lastPage, allPages) => {
|
|
@@ -16,6 +16,8 @@ AvroQueryClient.prototype.useGetPrepayments = function (body) {
|
|
|
16
16
|
body.paid ?? true,
|
|
17
17
|
body.taskId ?? '',
|
|
18
18
|
body.enabled ?? true,
|
|
19
|
+
body.sort_by ?? null,
|
|
20
|
+
body.direction ?? null,
|
|
19
21
|
],
|
|
20
22
|
initialPageParam: 0,
|
|
21
23
|
getNextPageParam: (lastPage, allPages) => {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AVRO_JS_VERSION = "0.0.
|
|
1
|
+
export declare const AVRO_JS_VERSION = "0.0.61";
|
package/dist/version.js
CHANGED