feat(dashboard): Admin UI regions v2 (#6943)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user