feat(dashboard): Admin UI regions v2 (#6943)

This commit is contained in:
Frane Polić
2024-04-06 17:41:54 +02:00
committed by GitHub
parent df0751f122
commit 58c68f6715
72 changed files with 475 additions and 1687 deletions
+6
View File
@@ -701,6 +701,12 @@ export interface IPaymentModuleService extends IModuleService {
sharedContext?: Context
): Promise<PaymentProviderDTO[]>
listAndCountPaymentProviders(
filters?: FilterablePaymentProviderProps,
config?: FindConfig<PaymentProviderDTO>,
sharedContext?: Context
): Promise<[PaymentProviderDTO[], number]>
/**
* This method retrieves a paginated list of captures based on optional filters and configuration.
*
+5
View File
@@ -1,4 +1,5 @@
import { BaseFilterable, OperatorMap } from "../dal"
import { PaymentProviderDTO } from "../payment"
/**
* The region details.
@@ -28,6 +29,10 @@ export interface RegionDTO {
* The countries of the region.
*/
countries: RegionCountryDTO[]
/**
* Payment providers available in the region
*/
payment_providers: PaymentProviderDTO[]
/**
* Holds custom data in key-value pairs.
+4
View File
@@ -18,6 +18,10 @@ export interface CreateRegionDTO {
* The region's countries.
*/
countries?: string[]
/**
* The region's payment providers.
*/
payment_providers?: string[]
/**
* Holds custom data in key-value pairs.
*/