chore: Move payment tests to http folder (#7588)

This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-06-03 15:04:18 +00:00
1 parent 337b8ce0bb
commit fdd9022376
6 files changed
+251 -485

No files matched your search

+2 -2
View File
@@ -389,7 +389,7 @@ export interface FilterablePaymentProps
/**
* Filter the payments by the ID of their associated payment session.
*/
session_id?: string | string[] | OperatorMap<string>
payment_session_id?: string | string[] | OperatorMap<string>
/**
* Filter the payments by the ID of their associated customer.
@@ -574,7 +574,7 @@ export interface PaymentProviderDTO {
export interface FilterablePaymentProviderProps
extends BaseFilterable<PaymentProviderDTO> {
/**
* The IDs to filter the payment collection by.
* The IDs to filter the payment provider by.
*/
id?: string | string[] | OperatorMap<string | string[]>
@@ -16,6 +16,7 @@ export const AdminGetPaymentsParams = createFindParams({
z.object({
q: z.string().optional(),
id: z.union([z.string(), z.array(z.string())]).optional(),
payment_session_id: z.union([z.string(), z.array(z.string())]).optional(),
created_at: createOperatorMap().optional(),
updated_at: createOperatorMap().optional(),
deleted_at: createOperatorMap().optional(),