@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.
@@ -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) => {
@@ -19,6 +19,8 @@ AvroQueryClient.prototype.useGetEvents = function (body) {
19
19
  body.paid ?? true,
20
20
  body.jobId ?? '',
21
21
  body.enabled ?? true,
22
+ body.sort_by ?? null,
23
+ body.direction ?? null,
22
24
  ],
23
25
  initialPageParam: 0,
24
26
  getNextPageParam: (lastPage, allPages) => {
@@ -16,6 +16,8 @@ AvroQueryClient.prototype.useGetMonths = function (body) {
16
16
  body.paid ?? true,
17
17
  body.jobId ?? '',
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) => {
@@ -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.60";
1
+ export declare const AVRO_JS_VERSION = "0.0.61";
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.60';
3
+ export const AVRO_JS_VERSION = '0.0.61';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",