squarefi-bff-api-module 1.25.1 → 1.25.3
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/api/types/autogen/apiV2.types.d.ts +1 -1
- package/dist/api/types/types.d.ts +2 -16
- package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.js +1 -1
- package/package.json +1 -1
- package/src/api/types/autogen/apiV2.types.ts +1 -1
- package/src/api/types/types.ts +2 -16
- package/src/hooks/useSupabaseSubscription/useSupabaseSubscription.ts +1 -1
|
@@ -2984,7 +2984,7 @@ export interface operations {
|
|
|
2984
2984
|
WalletsTransactionsController_export: {
|
|
2985
2985
|
parameters: {
|
|
2986
2986
|
query?: {
|
|
2987
|
-
|
|
2987
|
+
filter?: components["schemas"]["TransactionsFilter"];
|
|
2988
2988
|
};
|
|
2989
2989
|
header?: never;
|
|
2990
2990
|
path: {
|
|
@@ -2287,19 +2287,7 @@ export declare namespace API {
|
|
|
2287
2287
|
wallet_uuid: string;
|
|
2288
2288
|
limit: number;
|
|
2289
2289
|
offset: number;
|
|
2290
|
-
filter?:
|
|
2291
|
-
created_at?: string;
|
|
2292
|
-
status?: WalletTransactionStatus[];
|
|
2293
|
-
type?: WalletTransactionType;
|
|
2294
|
-
method?: WalletTransactionMethod;
|
|
2295
|
-
record_type?: WalletTransactionRecordType;
|
|
2296
|
-
'currency.uuid'?: string;
|
|
2297
|
-
'meta.billing_amount_currency'?: string;
|
|
2298
|
-
'meta.transaction_amount_currency'?: string;
|
|
2299
|
-
address?: string;
|
|
2300
|
-
from_created_at?: string;
|
|
2301
|
-
to_created_at?: string;
|
|
2302
|
-
};
|
|
2290
|
+
filter?: components['schemas']['TransactionsFilter'];
|
|
2303
2291
|
};
|
|
2304
2292
|
type Response = {
|
|
2305
2293
|
total: number;
|
|
@@ -2308,9 +2296,7 @@ export declare namespace API {
|
|
|
2308
2296
|
namespace ExportCsv {
|
|
2309
2297
|
type Request = {
|
|
2310
2298
|
wallet_uuid: string;
|
|
2311
|
-
|
|
2312
|
-
from_created_at?: string;
|
|
2313
|
-
to_created_at?: string;
|
|
2299
|
+
filter?: components['schemas']['TransactionsFilter'];
|
|
2314
2300
|
};
|
|
2315
2301
|
type Response = string;
|
|
2316
2302
|
}
|
|
@@ -17,7 +17,7 @@ const useSupabaseSubscription = ({ config, callback, enabled = true, key }) => {
|
|
|
17
17
|
subscriptionRef.current = null;
|
|
18
18
|
}
|
|
19
19
|
const subscription = supabase_1.supabaseClient
|
|
20
|
-
.channel(config.channelName)
|
|
20
|
+
.channel(key || config.channelName)
|
|
21
21
|
.on('postgres_changes', Object.assign({ event: config.event || '*', schema: config.schema || 'public', table: config.table }, (config.filter && { filter: config.filter })), (payload) => callbackRef.current(payload))
|
|
22
22
|
.subscribe();
|
|
23
23
|
subscriptionRef.current = subscription;
|
package/package.json
CHANGED
|
@@ -2985,7 +2985,7 @@ export interface operations {
|
|
|
2985
2985
|
WalletsTransactionsController_export: {
|
|
2986
2986
|
parameters: {
|
|
2987
2987
|
query?: {
|
|
2988
|
-
|
|
2988
|
+
filter?: components["schemas"]["TransactionsFilter"];
|
|
2989
2989
|
};
|
|
2990
2990
|
header?: never;
|
|
2991
2991
|
path: {
|
package/src/api/types/types.ts
CHANGED
|
@@ -2822,19 +2822,7 @@ export namespace API {
|
|
|
2822
2822
|
wallet_uuid: string;
|
|
2823
2823
|
limit: number;
|
|
2824
2824
|
offset: number;
|
|
2825
|
-
filter?:
|
|
2826
|
-
created_at?: string;
|
|
2827
|
-
status?: WalletTransactionStatus[];
|
|
2828
|
-
type?: WalletTransactionType;
|
|
2829
|
-
method?: WalletTransactionMethod;
|
|
2830
|
-
record_type?: WalletTransactionRecordType;
|
|
2831
|
-
'currency.uuid'?: string;
|
|
2832
|
-
'meta.billing_amount_currency'?: string;
|
|
2833
|
-
'meta.transaction_amount_currency'?: string;
|
|
2834
|
-
address?: string;
|
|
2835
|
-
from_created_at?: string;
|
|
2836
|
-
to_created_at?: string;
|
|
2837
|
-
};
|
|
2825
|
+
filter?: components['schemas']['TransactionsFilter'];
|
|
2838
2826
|
};
|
|
2839
2827
|
export type Response = {
|
|
2840
2828
|
total: number;
|
|
@@ -2844,9 +2832,7 @@ export namespace API {
|
|
|
2844
2832
|
export namespace ExportCsv {
|
|
2845
2833
|
export type Request = {
|
|
2846
2834
|
wallet_uuid: string;
|
|
2847
|
-
|
|
2848
|
-
from_created_at?: string;
|
|
2849
|
-
to_created_at?: string;
|
|
2835
|
+
filter?: components['schemas']['TransactionsFilter'];
|
|
2850
2836
|
};
|
|
2851
2837
|
export type Response = string;
|
|
2852
2838
|
}
|