@tammsyr/admin-api-client 1.3.7 → 1.3.8
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/README.md +0 -1
- package/dist/Accounts.d.ts +3 -3
- package/dist/Accounts.js +2 -2
- package/dist/ActivityLogs.d.ts.map +1 -1
- package/dist/ActivityLogs.js.map +1 -1
- package/dist/AppVersion.js.map +1 -1
- package/dist/ApprovalPolicies.d.ts +2 -2
- package/dist/ApprovalPolicies.d.ts.map +1 -1
- package/dist/ApprovalPolicies.js.map +1 -1
- package/dist/BankBranches.d.ts.map +1 -1
- package/dist/BankBranches.js.map +1 -1
- package/dist/ChargeDecisionRules.d.ts +57 -0
- package/dist/ChargeDecisionRules.d.ts.map +1 -0
- package/dist/ChargeDecisionRules.js +106 -0
- package/dist/ChargeDecisionRules.js.map +1 -0
- package/dist/ChargeSchemaItems.d.ts +57 -0
- package/dist/ChargeSchemaItems.d.ts.map +1 -0
- package/dist/ChargeSchemaItems.js +106 -0
- package/dist/ChargeSchemaItems.js.map +1 -0
- package/dist/ChargeSchemas.d.ts +57 -0
- package/dist/ChargeSchemas.d.ts.map +1 -0
- package/dist/ChargeSchemas.js +105 -0
- package/dist/ChargeSchemas.js.map +1 -0
- package/dist/ChargeTiers.d.ts +57 -0
- package/dist/ChargeTiers.d.ts.map +1 -0
- package/dist/ChargeTiers.js +106 -0
- package/dist/ChargeTiers.js.map +1 -0
- package/dist/Charges.d.ts +57 -0
- package/dist/Charges.d.ts.map +1 -0
- package/dist/Charges.js +106 -0
- package/dist/Charges.js.map +1 -0
- package/dist/Currencies.js.map +1 -1
- package/dist/Dlq.d.ts.map +1 -1
- package/dist/Dlq.js.map +1 -1
- package/dist/FeeConfigs.d.ts +5 -5
- package/dist/FeeConfigs.d.ts.map +1 -1
- package/dist/GlobalNotifications.js.map +1 -1
- package/dist/MerchantCategories.d.ts.map +1 -1
- package/dist/MerchantCategories.js.map +1 -1
- package/dist/Notifications.d.ts.map +1 -1
- package/dist/Transactions.d.ts +3 -3
- package/dist/Transactions.d.ts.map +1 -1
- package/dist/Users.js.map +1 -1
- package/dist/data-contracts.d.ts +463 -349
- package/dist/data-contracts.d.ts.map +1 -1
- package/dist/index.d.ts +15 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/data-contracts.d.ts
CHANGED
|
@@ -1514,7 +1514,7 @@ export interface AmlRuleDto {
|
|
|
1514
1514
|
* Transaction types this rule applies to; empty/omitted = all types
|
|
1515
1515
|
* @example ["P2P_TRANSFER","WITHDRAWAL"]
|
|
1516
1516
|
*/
|
|
1517
|
-
transactionTypes?: ("P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING")[];
|
|
1517
|
+
transactionTypes?: ("P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING" | "ADMIN_FUNDING")[];
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Account types this rule applies to; empty/omitted = all types
|
|
1520
1520
|
* @example ["personal","business"]
|
|
@@ -1589,7 +1589,7 @@ export interface CreateAmlRuleDto {
|
|
|
1589
1589
|
* Transaction types this rule applies to; empty/omitted = all types
|
|
1590
1590
|
* @example ["P2P_TRANSFER","WITHDRAWAL"]
|
|
1591
1591
|
*/
|
|
1592
|
-
transactionTypes?: ("P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING")[];
|
|
1592
|
+
transactionTypes?: ("P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING" | "ADMIN_FUNDING")[];
|
|
1593
1593
|
/**
|
|
1594
1594
|
* Account types this rule applies to; empty/omitted = all types
|
|
1595
1595
|
* @example ["personal","business"]
|
|
@@ -1649,7 +1649,7 @@ export interface UpdateAmlRuleDto {
|
|
|
1649
1649
|
* Transaction types this rule applies to; empty/omitted = all types
|
|
1650
1650
|
* @example ["P2P_TRANSFER","WITHDRAWAL"]
|
|
1651
1651
|
*/
|
|
1652
|
-
transactionTypes?: ("P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING")[];
|
|
1652
|
+
transactionTypes?: ("P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING" | "ADMIN_FUNDING")[];
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Account types this rule applies to; empty/omitted = all types
|
|
1655
1655
|
* @example ["personal","business"]
|
|
@@ -1912,10 +1912,15 @@ export interface AccountListResponseDto {
|
|
|
1912
1912
|
}
|
|
1913
1913
|
export interface FundAccountDto {
|
|
1914
1914
|
/**
|
|
1915
|
-
*
|
|
1916
|
-
* @example "
|
|
1915
|
+
* Internal/house account to fund FROM (22-digit, owner digit 9 — treasury/clearing/suspense/escrow)
|
|
1916
|
+
* @example "0019509100000000100013"
|
|
1917
1917
|
*/
|
|
1918
|
-
|
|
1918
|
+
sourceAccount: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* Customer account to credit (22-digit)
|
|
1921
|
+
* @example "0011019100000000100027"
|
|
1922
|
+
*/
|
|
1923
|
+
toAccount: string;
|
|
1919
1924
|
/**
|
|
1920
1925
|
* Amount to credit (string for precision)
|
|
1921
1926
|
* @example "10000.00"
|
|
@@ -1929,6 +1934,37 @@ export interface FundAccountDto {
|
|
|
1929
1934
|
/** Reason / justification for the funding */
|
|
1930
1935
|
reason?: string;
|
|
1931
1936
|
}
|
|
1937
|
+
export interface FundAccountResponseDto {
|
|
1938
|
+
/** @example "01890a5d-..." */
|
|
1939
|
+
transactionId: string;
|
|
1940
|
+
/** @example "TX-260627-ABC123" */
|
|
1941
|
+
referenceNumber: string;
|
|
1942
|
+
/** @example "COMPLETED" */
|
|
1943
|
+
status: string;
|
|
1944
|
+
/** @example "SYP" */
|
|
1945
|
+
currency: string;
|
|
1946
|
+
/**
|
|
1947
|
+
* Amount issued
|
|
1948
|
+
* @example "10000.0000"
|
|
1949
|
+
*/
|
|
1950
|
+
grossAmount: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Total commission
|
|
1953
|
+
* @example "0.0000"
|
|
1954
|
+
*/
|
|
1955
|
+
feeAmount: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* What the customer received
|
|
1958
|
+
* @example "10000.0000"
|
|
1959
|
+
*/
|
|
1960
|
+
netAmount: string;
|
|
1961
|
+
/** Internal source account */
|
|
1962
|
+
fromAccount: string;
|
|
1963
|
+
/** Customer account */
|
|
1964
|
+
toAccount: string;
|
|
1965
|
+
/** @example "2026-06-27T10:00:00.000Z" */
|
|
1966
|
+
createdAt: string;
|
|
1967
|
+
}
|
|
1932
1968
|
export interface TransactionResponseDto {
|
|
1933
1969
|
/**
|
|
1934
1970
|
* Transaction ID (UUID)
|
|
@@ -1974,7 +2010,7 @@ export interface TransactionResponseDto {
|
|
|
1974
2010
|
* Transaction type
|
|
1975
2011
|
* @example "P2P_TRANSFER"
|
|
1976
2012
|
*/
|
|
1977
|
-
type: "P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING";
|
|
2013
|
+
type: "P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING" | "ADMIN_FUNDING";
|
|
1978
2014
|
/**
|
|
1979
2015
|
* Transaction status
|
|
1980
2016
|
* @example "COMPLETED"
|
|
@@ -2719,170 +2755,6 @@ export interface UpdateMerchantCategoryDto {
|
|
|
2719
2755
|
/** Toggle whether new merchants may register under this category */
|
|
2720
2756
|
isActive?: boolean;
|
|
2721
2757
|
}
|
|
2722
|
-
export interface CurrencyStatsDto {
|
|
2723
|
-
/** @example "SYP" */
|
|
2724
|
-
currency: string;
|
|
2725
|
-
/** @example "150000.00" */
|
|
2726
|
-
totalVolume: string;
|
|
2727
|
-
/** @example "75000.00" */
|
|
2728
|
-
totalCredits: string;
|
|
2729
|
-
/** @example "74000.00" */
|
|
2730
|
-
totalDebits: string;
|
|
2731
|
-
/** @example "1000.00" */
|
|
2732
|
-
totalFees: string;
|
|
2733
|
-
/** @example "1250.00" */
|
|
2734
|
-
avgTransactionAmount: string;
|
|
2735
|
-
}
|
|
2736
|
-
export interface TransactionStatisticsResponseDto {
|
|
2737
|
-
/**
|
|
2738
|
-
* Total number of transactions
|
|
2739
|
-
* @example 150
|
|
2740
|
-
*/
|
|
2741
|
-
totalTransactions: number;
|
|
2742
|
-
/**
|
|
2743
|
-
* Number of completed transactions
|
|
2744
|
-
* @example 120
|
|
2745
|
-
*/
|
|
2746
|
-
completedTransactions: number;
|
|
2747
|
-
/**
|
|
2748
|
-
* Number of failed/declined/rejected transactions
|
|
2749
|
-
* @example 5
|
|
2750
|
-
*/
|
|
2751
|
-
failedTransactions: number;
|
|
2752
|
-
/**
|
|
2753
|
-
* Number of cancelled transactions
|
|
2754
|
-
* @example 3
|
|
2755
|
-
*/
|
|
2756
|
-
cancelledTransactions: number;
|
|
2757
|
-
/** Breakdown by currency */
|
|
2758
|
-
byCurrency: CurrencyStatsDto[];
|
|
2759
|
-
/**
|
|
2760
|
-
* Transaction count by type
|
|
2761
|
-
* @example {"P2P_TRANSFER":45,"TOP_UP":12}
|
|
2762
|
-
*/
|
|
2763
|
-
typeBreakdown: object;
|
|
2764
|
-
}
|
|
2765
|
-
export interface AdminTransactionItemDto {
|
|
2766
|
-
/** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
|
|
2767
|
-
id: string;
|
|
2768
|
-
/** @example "TXN-20240115-123456" */
|
|
2769
|
-
publicTxnId: string;
|
|
2770
|
-
/** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
|
|
2771
|
-
fromAccountId: string;
|
|
2772
|
-
/** @example "b2c3d4e5-f6a7-8901-bcde-f12345678901" */
|
|
2773
|
-
toAccountId: string;
|
|
2774
|
-
/** @example "100.50" */
|
|
2775
|
-
amount: string;
|
|
2776
|
-
/** @example "99.50" */
|
|
2777
|
-
netAmount: string;
|
|
2778
|
-
/** @example "1.00" */
|
|
2779
|
-
feeAmount: string;
|
|
2780
|
-
/** @example "SYP" */
|
|
2781
|
-
currency: "SYP" | "USD" | "EUR";
|
|
2782
|
-
/** @example "P2P_TRANSFER" */
|
|
2783
|
-
type: "P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING";
|
|
2784
|
-
/** @example "COMPLETED" */
|
|
2785
|
-
status: "COMPLETED" | "FAILED" | "VOUCHER_PENDING" | "REVERSED";
|
|
2786
|
-
/** @example "Payment for services" */
|
|
2787
|
-
description?: string;
|
|
2788
|
-
/**
|
|
2789
|
-
* AML risk score (0-100). Computed asynchronously after the transaction is posted; admin views fetch this from aml-service.transaction_summaries via gRPC and merge it in.
|
|
2790
|
-
* @example 0
|
|
2791
|
-
*/
|
|
2792
|
-
amlRiskScore: number;
|
|
2793
|
-
/** @example "LOW" */
|
|
2794
|
-
amlRiskLevel: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
2795
|
-
/** @example "2024-01-15T12:00:00Z" */
|
|
2796
|
-
createdAt: string;
|
|
2797
|
-
/** @example "2024-01-15T12:00:01Z" */
|
|
2798
|
-
completedAt?: string;
|
|
2799
|
-
/** @example {"key":"value"} */
|
|
2800
|
-
metadata?: object;
|
|
2801
|
-
}
|
|
2802
|
-
export interface AdminTransactionListResponseDto {
|
|
2803
|
-
data: AdminTransactionItemDto[];
|
|
2804
|
-
meta: PaginationMetaDto;
|
|
2805
|
-
}
|
|
2806
|
-
export interface LedgerEntryResponseDto {
|
|
2807
|
-
/**
|
|
2808
|
-
* Ledger entry ID (UUID)
|
|
2809
|
-
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
2810
|
-
*/
|
|
2811
|
-
id: string;
|
|
2812
|
-
/**
|
|
2813
|
-
* Transaction ID this entry belongs to
|
|
2814
|
-
* @example "b2c3d4e5-f6a7-8901-bcde-f12345678901"
|
|
2815
|
-
*/
|
|
2816
|
-
transactionId: string;
|
|
2817
|
-
/**
|
|
2818
|
-
* Account ID affected by this entry
|
|
2819
|
-
* @example "c3d4e5f6-a7b8-9012-cdef-123456789012"
|
|
2820
|
-
*/
|
|
2821
|
-
accountId: string;
|
|
2822
|
-
/**
|
|
2823
|
-
* Entry amount (string for precision)
|
|
2824
|
-
* @example "100.50"
|
|
2825
|
-
*/
|
|
2826
|
-
amount: string;
|
|
2827
|
-
/**
|
|
2828
|
-
* Direction of the entry
|
|
2829
|
-
* @example "DEBIT"
|
|
2830
|
-
*/
|
|
2831
|
-
direction: "DEBIT" | "CREDIT";
|
|
2832
|
-
/**
|
|
2833
|
-
* Account balance before this entry
|
|
2834
|
-
* @example "1000.00"
|
|
2835
|
-
*/
|
|
2836
|
-
balanceBefore: string;
|
|
2837
|
-
/**
|
|
2838
|
-
* Account balance after this entry
|
|
2839
|
-
* @example "899.50"
|
|
2840
|
-
*/
|
|
2841
|
-
balanceAfter: string;
|
|
2842
|
-
/**
|
|
2843
|
-
* Reason for the entry
|
|
2844
|
-
* @example "TRANSACTION"
|
|
2845
|
-
*/
|
|
2846
|
-
reason: "TRANSACTION" | "REVERSAL" | "FEE" | "MOVING";
|
|
2847
|
-
/**
|
|
2848
|
-
* Display name of the counterparty
|
|
2849
|
-
* @example "Ahmed M."
|
|
2850
|
-
*/
|
|
2851
|
-
counterpartyLabel?: string;
|
|
2852
|
-
/**
|
|
2853
|
-
* Masked identifier of the counterparty
|
|
2854
|
-
* @example "****7890"
|
|
2855
|
-
*/
|
|
2856
|
-
counterpartyMasked?: string;
|
|
2857
|
-
/**
|
|
2858
|
-
* Entry creation timestamp (ISO format)
|
|
2859
|
-
* @example "2024-01-15T12:00:00Z"
|
|
2860
|
-
*/
|
|
2861
|
-
createdAt: string;
|
|
2862
|
-
}
|
|
2863
|
-
export interface TransactionPartyDto {
|
|
2864
|
-
/** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
|
|
2865
|
-
accountId: string;
|
|
2866
|
-
/** @example "b2c3d4e5-f6a7-8901-bcde-f12345678901" */
|
|
2867
|
-
personId?: string;
|
|
2868
|
-
/** @example "Qusai" */
|
|
2869
|
-
firstName?: string;
|
|
2870
|
-
/** @example "Armoush" */
|
|
2871
|
-
lastName?: string;
|
|
2872
|
-
/** @example "+963912345678" */
|
|
2873
|
-
phoneNumber?: string;
|
|
2874
|
-
/** @example "ACTIVE" */
|
|
2875
|
-
accountStatus?: string;
|
|
2876
|
-
/** @example "PERSONAL" */
|
|
2877
|
-
accountType?: string;
|
|
2878
|
-
}
|
|
2879
|
-
export interface AdminTransactionDetailResponseDto {
|
|
2880
|
-
transaction: AdminTransactionItemDto;
|
|
2881
|
-
ledgerEntries: LedgerEntryResponseDto[];
|
|
2882
|
-
fromUser: TransactionPartyDto;
|
|
2883
|
-
toUser: TransactionPartyDto;
|
|
2884
|
-
amlAlerts: AmlAlertDto[];
|
|
2885
|
-
}
|
|
2886
2758
|
export interface SendGlobalNotificationDto {
|
|
2887
2759
|
/**
|
|
2888
2760
|
* Notification title displayed to the user
|
|
@@ -3017,102 +2889,294 @@ export interface UpsertSystemConfigDto {
|
|
|
3017
2889
|
*/
|
|
3018
2890
|
isActive?: boolean;
|
|
3019
2891
|
}
|
|
3020
|
-
export interface
|
|
2892
|
+
export interface ChargeNameDto {
|
|
2893
|
+
/** @example "P2P transfer fee" */
|
|
2894
|
+
en: string;
|
|
2895
|
+
/** @example "رسوم التحويل بين الأشخاص" */
|
|
2896
|
+
ar?: string;
|
|
2897
|
+
}
|
|
2898
|
+
export interface ChargeResponseDto {
|
|
2899
|
+
/** @example "FEE_P2P" */
|
|
2900
|
+
code: string;
|
|
2901
|
+
/** @example "FEE" */
|
|
2902
|
+
category: string;
|
|
2903
|
+
name: ChargeNameDto;
|
|
2904
|
+
/** @example "0017609100000000100014" */
|
|
2905
|
+
creditAccountNo: string;
|
|
2906
|
+
/** @example false */
|
|
2907
|
+
refundable: boolean;
|
|
2908
|
+
}
|
|
2909
|
+
export interface ChargeListResponseDto {
|
|
2910
|
+
charges: ChargeResponseDto[];
|
|
2911
|
+
}
|
|
2912
|
+
export interface CreateChargeDto {
|
|
2913
|
+
/**
|
|
2914
|
+
* Unique charge code (UPPER_SNAKE)
|
|
2915
|
+
* @example "FEE_P2P"
|
|
2916
|
+
*/
|
|
2917
|
+
code: string;
|
|
2918
|
+
/** @example "FEE" */
|
|
2919
|
+
category: "FEE" | "TAX";
|
|
2920
|
+
name: ChargeNameDto;
|
|
2921
|
+
/**
|
|
2922
|
+
* Ledger account this charge credits (22-digit)
|
|
2923
|
+
* @example "0017609100000000100014"
|
|
2924
|
+
*/
|
|
2925
|
+
creditAccountNo: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* Reverse this fee when the transaction reverses?
|
|
2928
|
+
* @example false
|
|
2929
|
+
*/
|
|
2930
|
+
refundable: boolean;
|
|
2931
|
+
}
|
|
2932
|
+
export interface UpdateChargeDto {
|
|
2933
|
+
category?: "FEE" | "TAX";
|
|
2934
|
+
name?: ChargeNameDto;
|
|
2935
|
+
/** @example "0017609100000000100014" */
|
|
2936
|
+
creditAccountNo?: string;
|
|
2937
|
+
/** @example true */
|
|
2938
|
+
refundable?: boolean;
|
|
2939
|
+
}
|
|
2940
|
+
export interface ChargeTierResponseDto {
|
|
2941
|
+
/** @example "1001" */
|
|
3021
2942
|
id: string;
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
2943
|
+
/** @example "FEE_P2P" */
|
|
2944
|
+
chargeCode: string;
|
|
2945
|
+
/** @example "0" */
|
|
2946
|
+
fromAmount: string;
|
|
2947
|
+
/** @example null */
|
|
2948
|
+
toAmount: object | null;
|
|
2949
|
+
/** @example "PERCENT" */
|
|
2950
|
+
calcType: string;
|
|
2951
|
+
/** @example "2.5" */
|
|
2952
|
+
value: string;
|
|
2953
|
+
/** @example "250" */
|
|
2954
|
+
minAmount: object | null;
|
|
2955
|
+
/** @example "5000" */
|
|
2956
|
+
maxAmount: object | null;
|
|
2957
|
+
/** @example "SYP" */
|
|
2958
|
+
currencyCode: string;
|
|
2959
|
+
/** @example "2026-01-01T00:00:00.000Z" */
|
|
2960
|
+
validFrom: string;
|
|
2961
|
+
/** @example null */
|
|
2962
|
+
validTo: object | null;
|
|
2963
|
+
/** @example "ACTIVE" */
|
|
2964
|
+
status: string;
|
|
2965
|
+
/** @example "seed" */
|
|
2966
|
+
approvedBy: object | null;
|
|
3038
2967
|
}
|
|
3039
|
-
export interface
|
|
3040
|
-
|
|
2968
|
+
export interface ChargeTierListResponseDto {
|
|
2969
|
+
tiers: ChargeTierResponseDto[];
|
|
3041
2970
|
}
|
|
3042
|
-
export interface
|
|
3043
|
-
/**
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
currency: "SYP" | "USD" | "EUR";
|
|
3047
|
-
/** Fee calculation type */
|
|
3048
|
-
feeType: "FLAT" | "PERCENTAGE" | "FLAT_PLUS_PERCENTAGE";
|
|
3049
|
-
/** Fixed fee amount */
|
|
3050
|
-
flatAmount?: string;
|
|
3051
|
-
/** Percentage rate (e.g. 1.5 for 1.5%) */
|
|
3052
|
-
percentage?: string;
|
|
3053
|
-
/** Minimum fee cap */
|
|
3054
|
-
minFee?: string;
|
|
3055
|
-
/** Maximum fee cap */
|
|
3056
|
-
maxFee?: string;
|
|
3057
|
-
/** Tier start: rule applies when amount >= this */
|
|
3058
|
-
minTransactionAmount?: string;
|
|
3059
|
-
/** Tier end: rule applies when amount < this */
|
|
3060
|
-
maxTransactionAmount?: string;
|
|
3061
|
-
/** Who bears the fee */
|
|
3062
|
-
feeDirection: "DEDUCT_FROM_AMOUNT" | "ADD_ON_TOP";
|
|
3063
|
-
/**
|
|
3064
|
-
* Priority (higher wins when multiple tiers match)
|
|
3065
|
-
* @default 0
|
|
2971
|
+
export interface CreateChargeTierDto {
|
|
2972
|
+
/**
|
|
2973
|
+
* Charge this tier prices
|
|
2974
|
+
* @example "FEE_P2P"
|
|
3066
2975
|
*/
|
|
3067
|
-
|
|
3068
|
-
/** Human-readable description */
|
|
3069
|
-
description?: string;
|
|
2976
|
+
chargeCode: string;
|
|
3070
2977
|
/**
|
|
3071
|
-
*
|
|
3072
|
-
* @
|
|
2978
|
+
* Band start (default 0)
|
|
2979
|
+
* @example "0"
|
|
3073
2980
|
*/
|
|
3074
|
-
|
|
2981
|
+
fromAmount?: string;
|
|
2982
|
+
/**
|
|
2983
|
+
* Band end; omit for ∞
|
|
2984
|
+
* @example "1000000"
|
|
2985
|
+
*/
|
|
2986
|
+
toAmount?: string;
|
|
2987
|
+
/** @example "PERCENT" */
|
|
2988
|
+
calcType: "FLAT" | "PERCENT";
|
|
2989
|
+
/**
|
|
2990
|
+
* Flat amount or percent value
|
|
2991
|
+
* @example "2.5"
|
|
2992
|
+
*/
|
|
2993
|
+
value: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* Clamp floor
|
|
2996
|
+
* @example "250"
|
|
2997
|
+
*/
|
|
2998
|
+
minAmount?: string;
|
|
2999
|
+
/**
|
|
3000
|
+
* Clamp cap
|
|
3001
|
+
* @example "5000"
|
|
3002
|
+
*/
|
|
3003
|
+
maxAmount?: string;
|
|
3004
|
+
/** @example "SYP" */
|
|
3005
|
+
currencyCode: string;
|
|
3006
|
+
/**
|
|
3007
|
+
* ISO-8601; defaults to now
|
|
3008
|
+
* @example "2026-01-01T00:00:00Z"
|
|
3009
|
+
*/
|
|
3010
|
+
validFrom?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* ISO-8601; omit = open
|
|
3013
|
+
* @example "2027-01-01T00:00:00Z"
|
|
3014
|
+
*/
|
|
3015
|
+
validTo?: string;
|
|
3016
|
+
/** @example "ACTIVE" */
|
|
3017
|
+
status?: "DRAFT" | "ACTIVE" | "RETIRED";
|
|
3018
|
+
/**
|
|
3019
|
+
* Four-eyes approver
|
|
3020
|
+
* @example "admin.huda"
|
|
3021
|
+
*/
|
|
3022
|
+
approvedBy?: string;
|
|
3075
3023
|
}
|
|
3076
|
-
export interface
|
|
3077
|
-
/**
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3024
|
+
export interface UpdateChargeTierDto {
|
|
3025
|
+
/** @example "FEE_P2P" */
|
|
3026
|
+
chargeCode?: string;
|
|
3027
|
+
fromAmount?: string;
|
|
3028
|
+
toAmount?: string;
|
|
3029
|
+
calcType?: "FLAT" | "PERCENT";
|
|
3030
|
+
value?: string;
|
|
3031
|
+
minAmount?: string;
|
|
3032
|
+
maxAmount?: string;
|
|
3033
|
+
currencyCode?: string;
|
|
3034
|
+
validFrom?: string;
|
|
3035
|
+
validTo?: string;
|
|
3036
|
+
status?: "DRAFT" | "ACTIVE" | "RETIRED";
|
|
3037
|
+
approvedBy?: string;
|
|
3038
|
+
}
|
|
3039
|
+
export interface ChargeSchemaResponseDto {
|
|
3040
|
+
/** @example "SCH_P2P_STD" */
|
|
3041
|
+
code: string;
|
|
3042
|
+
name: ChargeNameDto;
|
|
3043
|
+
}
|
|
3044
|
+
export interface ChargeSchemaListResponseDto {
|
|
3045
|
+
schemas: ChargeSchemaResponseDto[];
|
|
3046
|
+
}
|
|
3047
|
+
export interface CreateChargeSchemaDto {
|
|
3048
|
+
/**
|
|
3049
|
+
* Unique schema code (UPPER_SNAKE)
|
|
3050
|
+
* @example "SCH_P2P_STD"
|
|
3100
3051
|
*/
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3052
|
+
code: string;
|
|
3053
|
+
name: ChargeNameDto;
|
|
3054
|
+
}
|
|
3055
|
+
export interface UpdateChargeSchemaDto {
|
|
3056
|
+
name?: ChargeNameDto;
|
|
3057
|
+
}
|
|
3058
|
+
export interface ChargeSchemaItemResponseDto {
|
|
3059
|
+
/** @example "5001" */
|
|
3060
|
+
id: string;
|
|
3061
|
+
/** @example "SCH_P2P_STD" */
|
|
3062
|
+
schemaCode: string;
|
|
3063
|
+
/** @example "FEE_P2P" */
|
|
3064
|
+
chargeCode: string;
|
|
3065
|
+
/** @example "PAYER" */
|
|
3066
|
+
bearer: string;
|
|
3067
|
+
}
|
|
3068
|
+
export interface ChargeSchemaItemListResponseDto {
|
|
3069
|
+
items: ChargeSchemaItemResponseDto[];
|
|
3070
|
+
}
|
|
3071
|
+
export interface CreateChargeSchemaItemDto {
|
|
3104
3072
|
/**
|
|
3105
|
-
*
|
|
3106
|
-
* @
|
|
3073
|
+
* Schema this component belongs to
|
|
3074
|
+
* @example "SCH_P2P_STD"
|
|
3107
3075
|
*/
|
|
3108
|
-
|
|
3076
|
+
schemaCode: string;
|
|
3077
|
+
/**
|
|
3078
|
+
* Charge bundled into the schema
|
|
3079
|
+
* @example "FEE_P2P"
|
|
3080
|
+
*/
|
|
3081
|
+
chargeCode: string;
|
|
3082
|
+
/**
|
|
3083
|
+
* Party that bears this charge
|
|
3084
|
+
* @example "PAYER"
|
|
3085
|
+
*/
|
|
3086
|
+
bearer: "PAYER" | "PAYEE" | "AGENT" | "PLATFORM";
|
|
3109
3087
|
}
|
|
3110
|
-
export interface
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3088
|
+
export interface UpdateChargeSchemaItemDto {
|
|
3089
|
+
/** @example "SCH_P2P_STD" */
|
|
3090
|
+
schemaCode?: string;
|
|
3091
|
+
/** @example "FEE_P2P" */
|
|
3092
|
+
chargeCode?: string;
|
|
3093
|
+
bearer?: "PAYER" | "PAYEE" | "AGENT" | "PLATFORM";
|
|
3094
|
+
}
|
|
3095
|
+
export interface DecisionRuleResponseDto {
|
|
3096
|
+
/** @example "9001" */
|
|
3097
|
+
id: string;
|
|
3098
|
+
/** @example "P2P" */
|
|
3099
|
+
trxType: string;
|
|
3100
|
+
/** @example null */
|
|
3101
|
+
cifTypeId: object | null;
|
|
3102
|
+
/** @example null */
|
|
3103
|
+
channel: object | null;
|
|
3104
|
+
/** @example null */
|
|
3105
|
+
customerId: object | null;
|
|
3106
|
+
/** @example "SCH_P2P_STD" */
|
|
3107
|
+
schemaCode: string;
|
|
3108
|
+
/** @example 100 */
|
|
3109
|
+
priority: number;
|
|
3110
|
+
/** @example "2026-01-01T00:00:00.000Z" */
|
|
3111
|
+
validFrom: string;
|
|
3112
|
+
/** @example null */
|
|
3113
|
+
validTo: object | null;
|
|
3114
|
+
/** @example "ACTIVE" */
|
|
3115
|
+
status: string;
|
|
3116
|
+
}
|
|
3117
|
+
export interface DecisionRuleListResponseDto {
|
|
3118
|
+
rules: DecisionRuleResponseDto[];
|
|
3119
|
+
}
|
|
3120
|
+
export interface CreateDecisionRuleDto {
|
|
3121
|
+
/**
|
|
3122
|
+
* Transaction type this rule prices
|
|
3123
|
+
* @example "P2P"
|
|
3124
|
+
*/
|
|
3125
|
+
trxType: string;
|
|
3126
|
+
/**
|
|
3127
|
+
* CIF type; omit for all customers
|
|
3128
|
+
* @example "INDIVIDUAL"
|
|
3129
|
+
*/
|
|
3130
|
+
cifTypeId?: string;
|
|
3131
|
+
/**
|
|
3132
|
+
* Channel; omit for all channels
|
|
3133
|
+
* @example "MOBILE"
|
|
3134
|
+
*/
|
|
3135
|
+
channel?: string;
|
|
3136
|
+
/**
|
|
3137
|
+
* Single-customer override
|
|
3138
|
+
* @example "1042"
|
|
3139
|
+
*/
|
|
3140
|
+
customerId?: string;
|
|
3141
|
+
/**
|
|
3142
|
+
* Schema this tuple resolves to
|
|
3143
|
+
* @example "SCH_P2P_STD"
|
|
3144
|
+
*/
|
|
3145
|
+
schemaCode: string;
|
|
3146
|
+
/**
|
|
3147
|
+
* Specificity ladder; highest wins (default 0)
|
|
3148
|
+
* @example 100
|
|
3149
|
+
*/
|
|
3150
|
+
priority?: number;
|
|
3151
|
+
/**
|
|
3152
|
+
* ISO-8601; defaults to now
|
|
3153
|
+
* @example "2026-01-01T00:00:00Z"
|
|
3154
|
+
*/
|
|
3155
|
+
validFrom?: string;
|
|
3156
|
+
/**
|
|
3157
|
+
* ISO-8601; omit = open
|
|
3158
|
+
* @example "2027-01-01T00:00:00Z"
|
|
3159
|
+
*/
|
|
3160
|
+
validTo?: string;
|
|
3161
|
+
/** @example "ACTIVE" */
|
|
3162
|
+
status?: "ACTIVE" | "INACTIVE";
|
|
3163
|
+
}
|
|
3164
|
+
export interface UpdateDecisionRuleDto {
|
|
3165
|
+
/** @example "P2P" */
|
|
3166
|
+
trxType?: string;
|
|
3167
|
+
/** @example "INDIVIDUAL" */
|
|
3168
|
+
cifTypeId?: string;
|
|
3169
|
+
/** @example "MOBILE" */
|
|
3170
|
+
channel?: string;
|
|
3171
|
+
/** @example "1042" */
|
|
3172
|
+
customerId?: string;
|
|
3173
|
+
/** @example "SCH_P2P_STD" */
|
|
3174
|
+
schemaCode?: string;
|
|
3175
|
+
/** @example 100 */
|
|
3176
|
+
priority?: number;
|
|
3177
|
+
validFrom?: string;
|
|
3178
|
+
validTo?: string;
|
|
3179
|
+
status?: "ACTIVE" | "INACTIVE";
|
|
3116
3180
|
}
|
|
3117
3181
|
export interface AdminLegalDocumentResponseDto {
|
|
3118
3182
|
/**
|
|
@@ -3936,7 +4000,7 @@ export interface FindAllParams6 {
|
|
|
3936
4000
|
*/
|
|
3937
4001
|
endDate?: string;
|
|
3938
4002
|
}
|
|
3939
|
-
export type
|
|
4003
|
+
export type FindAllData1 = ActivityLogListResponseDto;
|
|
3940
4004
|
export interface FindAllParams8 {
|
|
3941
4005
|
/**
|
|
3942
4006
|
* Page number (1-based)
|
|
@@ -3959,7 +4023,7 @@ export interface FindAllParams8 {
|
|
|
3959
4023
|
*/
|
|
3960
4024
|
read?: boolean;
|
|
3961
4025
|
}
|
|
3962
|
-
export type
|
|
4026
|
+
export type FindAllOutput1 = AdminNotificationListResponseDto;
|
|
3963
4027
|
export type GetUnreadCountData = any;
|
|
3964
4028
|
export interface MarkAsReadParams {
|
|
3965
4029
|
/** Notification ID */
|
|
@@ -4068,7 +4132,7 @@ export interface List2Params {
|
|
|
4068
4132
|
only_active: string;
|
|
4069
4133
|
}
|
|
4070
4134
|
export type List2Data = DocumentTypeResponseDto[];
|
|
4071
|
-
export type
|
|
4135
|
+
export type CreateResult1 = any;
|
|
4072
4136
|
export interface ListVersionsParams {
|
|
4073
4137
|
code: string;
|
|
4074
4138
|
}
|
|
@@ -4246,7 +4310,7 @@ export interface ListAccountsParams {
|
|
|
4246
4310
|
search?: string;
|
|
4247
4311
|
}
|
|
4248
4312
|
export type ListAccountsData = AccountListResponseDto;
|
|
4249
|
-
export type FundAccountData =
|
|
4313
|
+
export type FundAccountData = FundAccountResponseDto;
|
|
4250
4314
|
export interface GetAccountDetailParams {
|
|
4251
4315
|
/** Transaction history page number (default: 1) */
|
|
4252
4316
|
txPage?: number;
|
|
@@ -4450,51 +4514,10 @@ export interface UpdateParams8 {
|
|
|
4450
4514
|
/** 4-digit MCC code */
|
|
4451
4515
|
code: string;
|
|
4452
4516
|
}
|
|
4453
|
-
export type
|
|
4454
|
-
export interface GetStatisticsParams3 {
|
|
4455
|
-
/** Start date filter (ISO date, e.g. 2025-01-01) */
|
|
4456
|
-
startDate?: string;
|
|
4457
|
-
/** End date filter (ISO date, e.g. 2025-12-31) */
|
|
4458
|
-
endDate?: string;
|
|
4459
|
-
/** Filter by currency */
|
|
4460
|
-
currency?: "SYP" | "USD" | "EUR";
|
|
4461
|
-
}
|
|
4462
|
-
export type GetStatisticsResult1 = TransactionStatisticsResponseDto;
|
|
4463
|
-
export interface ListTransactionsParams {
|
|
4464
|
-
/** Search by transaction ID or public transaction ID */
|
|
4465
|
-
search?: string;
|
|
4466
|
-
status?: "INITIATED" | "VALIDATING" | "AUTHORIZED" | "RESERVED" | "POSTING" | "COMPLETED" | "REJECTED" | "DECLINED" | "CANCELLED" | "FAILED" | "REVERSING" | "REVERSED";
|
|
4467
|
-
type?: "P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING";
|
|
4468
|
-
currency?: "SYP" | "USD" | "EUR";
|
|
4469
|
-
/** Filter by account (from or to) */
|
|
4470
|
-
accountId?: string;
|
|
4471
|
-
/** Filter by source account */
|
|
4472
|
-
fromAccountId?: string;
|
|
4473
|
-
/** Filter by destination account */
|
|
4474
|
-
toAccountId?: string;
|
|
4475
|
-
/** Filter by person ID (resolves to account IDs) */
|
|
4476
|
-
personId?: string;
|
|
4477
|
-
/** Start date (ISO 8601) */
|
|
4478
|
-
startDate?: string;
|
|
4479
|
-
/** End date (ISO 8601) */
|
|
4480
|
-
endDate?: string;
|
|
4481
|
-
/** Sort field (default: createdAt) */
|
|
4482
|
-
sortBy?: "createdAt" | "amount" | "status" | "type" | "completedAt";
|
|
4483
|
-
/** Sort direction (default: DESC) */
|
|
4484
|
-
sortOrder?: "ASC" | "DESC";
|
|
4485
|
-
page?: number;
|
|
4486
|
-
limit?: number;
|
|
4487
|
-
}
|
|
4488
|
-
export type ListTransactionsData = AdminTransactionListResponseDto;
|
|
4489
|
-
export interface GetTransactionDetailParams {
|
|
4490
|
-
/** Transaction UUID */
|
|
4491
|
-
transactionId: string;
|
|
4492
|
-
}
|
|
4493
|
-
export type GetTransactionDetailData = AdminTransactionDetailResponseDto;
|
|
4494
|
-
export type GetTransactionDetailError = ErrorResponseDto;
|
|
4517
|
+
export type UpdateData2 = MerchantCategoryResponseDto;
|
|
4495
4518
|
export type SendGlobalNotificationData = SendGlobalNotificationResponseDto;
|
|
4496
4519
|
export type SendGlobalNotificationError = ErrorResponseDto;
|
|
4497
|
-
export type
|
|
4520
|
+
export type CreateOutput1 = ScheduledNotificationResponseDto;
|
|
4498
4521
|
export type CreateBadResponse = ErrorResponseDto;
|
|
4499
4522
|
export interface FindAllParams10 {
|
|
4500
4523
|
/** Filter by status */
|
|
@@ -4511,7 +4534,7 @@ export interface FindAllParams10 {
|
|
|
4511
4534
|
*/
|
|
4512
4535
|
limit?: number;
|
|
4513
4536
|
}
|
|
4514
|
-
export type
|
|
4537
|
+
export type FindAllResult1 = ScheduledNotificationsListResponseDto;
|
|
4515
4538
|
export interface FindOneParams {
|
|
4516
4539
|
/** MongoDB ObjectId */
|
|
4517
4540
|
id: string;
|
|
@@ -4544,38 +4567,129 @@ export interface DeleteSystemConfigParams {
|
|
|
4544
4567
|
}
|
|
4545
4568
|
export type DeleteSystemConfigData = any;
|
|
4546
4569
|
export type DeleteSystemConfigError = ErrorResponseDto;
|
|
4547
|
-
export interface
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4570
|
+
export interface ListChargesParams {
|
|
4571
|
+
category?: "FEE" | "TAX";
|
|
4572
|
+
}
|
|
4573
|
+
export type ListChargesData = ChargeListResponseDto;
|
|
4574
|
+
export type CreateChargeData = ChargeResponseDto;
|
|
4575
|
+
export type CreateChargeError = ErrorResponseDto;
|
|
4576
|
+
export interface GetChargeParams {
|
|
4577
|
+
/** @example "FEE_P2P" */
|
|
4578
|
+
code: string;
|
|
4579
|
+
}
|
|
4580
|
+
export type GetChargeData = ChargeResponseDto;
|
|
4581
|
+
export type GetChargeError = ErrorResponseDto;
|
|
4582
|
+
export interface UpdateChargeParams {
|
|
4583
|
+
/** @example "FEE_P2P" */
|
|
4584
|
+
code: string;
|
|
4585
|
+
}
|
|
4586
|
+
export type UpdateChargeData = ChargeResponseDto;
|
|
4587
|
+
export type UpdateChargeError = ErrorResponseDto;
|
|
4588
|
+
export interface DeleteChargeParams {
|
|
4589
|
+
/** @example "FEE_P2P" */
|
|
4590
|
+
code: string;
|
|
4591
|
+
}
|
|
4592
|
+
export type DeleteChargeData = any;
|
|
4593
|
+
export type DeleteChargeError = ErrorResponseDto;
|
|
4594
|
+
export interface ListChargeTiersParams {
|
|
4595
|
+
chargeCode?: string;
|
|
4596
|
+
currency?: string;
|
|
4597
|
+
status?: "DRAFT" | "ACTIVE" | "RETIRED";
|
|
4552
4598
|
}
|
|
4553
|
-
export type
|
|
4554
|
-
export type
|
|
4555
|
-
export
|
|
4556
|
-
|
|
4599
|
+
export type ListChargeTiersData = ChargeTierListResponseDto;
|
|
4600
|
+
export type CreateChargeTierData = ChargeTierResponseDto;
|
|
4601
|
+
export type CreateChargeTierError = ErrorResponseDto;
|
|
4602
|
+
export interface GetChargeTierParams {
|
|
4603
|
+
/** @example "1001" */
|
|
4557
4604
|
id: string;
|
|
4558
4605
|
}
|
|
4559
|
-
export type
|
|
4560
|
-
export type
|
|
4561
|
-
export interface
|
|
4562
|
-
/**
|
|
4606
|
+
export type GetChargeTierData = ChargeTierResponseDto;
|
|
4607
|
+
export type GetChargeTierError = ErrorResponseDto;
|
|
4608
|
+
export interface UpdateChargeTierParams {
|
|
4609
|
+
/** @example "1001" */
|
|
4563
4610
|
id: string;
|
|
4564
4611
|
}
|
|
4565
|
-
export type
|
|
4566
|
-
export type
|
|
4567
|
-
export interface
|
|
4568
|
-
/**
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4612
|
+
export type UpdateChargeTierData = ChargeTierResponseDto;
|
|
4613
|
+
export type UpdateChargeTierError = ErrorResponseDto;
|
|
4614
|
+
export interface DeleteChargeTierParams {
|
|
4615
|
+
/** @example "1001" */
|
|
4616
|
+
id: string;
|
|
4617
|
+
}
|
|
4618
|
+
export type DeleteChargeTierData = any;
|
|
4619
|
+
export type DeleteChargeTierError = ErrorResponseDto;
|
|
4620
|
+
export type ListChargeSchemasData = ChargeSchemaListResponseDto;
|
|
4621
|
+
export type CreateChargeSchemaData = ChargeSchemaResponseDto;
|
|
4622
|
+
export type CreateChargeSchemaError = ErrorResponseDto;
|
|
4623
|
+
export interface GetChargeSchemaParams {
|
|
4624
|
+
/** @example "SCH_P2P_STD" */
|
|
4625
|
+
code: string;
|
|
4626
|
+
}
|
|
4627
|
+
export type GetChargeSchemaData = ChargeSchemaResponseDto;
|
|
4628
|
+
export type GetChargeSchemaError = ErrorResponseDto;
|
|
4629
|
+
export interface UpdateChargeSchemaParams {
|
|
4630
|
+
/** @example "SCH_P2P_STD" */
|
|
4631
|
+
code: string;
|
|
4632
|
+
}
|
|
4633
|
+
export type UpdateChargeSchemaData = ChargeSchemaResponseDto;
|
|
4634
|
+
export type UpdateChargeSchemaError = ErrorResponseDto;
|
|
4635
|
+
export interface DeleteChargeSchemaParams {
|
|
4636
|
+
/** @example "SCH_P2P_STD" */
|
|
4637
|
+
code: string;
|
|
4638
|
+
}
|
|
4639
|
+
export type DeleteChargeSchemaData = any;
|
|
4640
|
+
export type DeleteChargeSchemaError = ErrorResponseDto;
|
|
4641
|
+
export interface ListChargeSchemaItemsParams {
|
|
4642
|
+
schemaCode?: string;
|
|
4643
|
+
chargeCode?: string;
|
|
4644
|
+
bearer?: "PAYER" | "PAYEE" | "AGENT" | "PLATFORM";
|
|
4645
|
+
}
|
|
4646
|
+
export type ListChargeSchemaItemsData = ChargeSchemaItemListResponseDto;
|
|
4647
|
+
export type CreateChargeSchemaItemData = ChargeSchemaItemResponseDto;
|
|
4648
|
+
export type CreateChargeSchemaItemError = ErrorResponseDto;
|
|
4649
|
+
export interface GetChargeSchemaItemParams {
|
|
4650
|
+
/** @example "5001" */
|
|
4651
|
+
id: string;
|
|
4652
|
+
}
|
|
4653
|
+
export type GetChargeSchemaItemData = ChargeSchemaItemResponseDto;
|
|
4654
|
+
export type GetChargeSchemaItemError = ErrorResponseDto;
|
|
4655
|
+
export interface UpdateChargeSchemaItemParams {
|
|
4656
|
+
/** @example "5001" */
|
|
4657
|
+
id: string;
|
|
4658
|
+
}
|
|
4659
|
+
export type UpdateChargeSchemaItemData = ChargeSchemaItemResponseDto;
|
|
4660
|
+
export type UpdateChargeSchemaItemError = ErrorResponseDto;
|
|
4661
|
+
export interface DeleteChargeSchemaItemParams {
|
|
4662
|
+
/** @example "5001" */
|
|
4663
|
+
id: string;
|
|
4664
|
+
}
|
|
4665
|
+
export type DeleteChargeSchemaItemData = any;
|
|
4666
|
+
export type DeleteChargeSchemaItemError = ErrorResponseDto;
|
|
4667
|
+
export interface ListDecisionRulesParams {
|
|
4668
|
+
trxType?: string;
|
|
4669
|
+
channel?: string;
|
|
4670
|
+
status?: "ACTIVE" | "INACTIVE";
|
|
4671
|
+
}
|
|
4672
|
+
export type ListDecisionRulesData = DecisionRuleListResponseDto;
|
|
4673
|
+
export type CreateDecisionRuleData = DecisionRuleResponseDto;
|
|
4674
|
+
export type CreateDecisionRuleError = ErrorResponseDto;
|
|
4675
|
+
export interface GetDecisionRuleParams {
|
|
4676
|
+
/** @example "9001" */
|
|
4677
|
+
id: string;
|
|
4678
|
+
}
|
|
4679
|
+
export type GetDecisionRuleData = DecisionRuleResponseDto;
|
|
4680
|
+
export type GetDecisionRuleError = ErrorResponseDto;
|
|
4681
|
+
export interface UpdateDecisionRuleParams {
|
|
4682
|
+
/** @example "9001" */
|
|
4683
|
+
id: string;
|
|
4684
|
+
}
|
|
4685
|
+
export type UpdateDecisionRuleData = DecisionRuleResponseDto;
|
|
4686
|
+
export type UpdateDecisionRuleError = ErrorResponseDto;
|
|
4687
|
+
export interface DeleteDecisionRuleParams {
|
|
4688
|
+
/** @example "9001" */
|
|
4689
|
+
id: string;
|
|
4577
4690
|
}
|
|
4578
|
-
export type
|
|
4691
|
+
export type DeleteDecisionRuleData = any;
|
|
4692
|
+
export type DeleteDecisionRuleError = ErrorResponseDto;
|
|
4579
4693
|
export type ListDocumentsData = AdminLegalDocumentListResponseDto;
|
|
4580
4694
|
export type UpsertDocumentData = AdminLegalDocumentResponseDto;
|
|
4581
4695
|
export type UpsertDocumentError = ErrorResponseDto;
|
|
@@ -4585,13 +4699,13 @@ export interface DeleteDocumentParams {
|
|
|
4585
4699
|
}
|
|
4586
4700
|
export type DeleteDocumentData = any;
|
|
4587
4701
|
export type DeleteDocumentError = ErrorResponseDto;
|
|
4588
|
-
export type
|
|
4702
|
+
export type ListData1 = AppVersionPolicyListResponseDto;
|
|
4589
4703
|
export type UpsertData = AppVersionPolicyDto;
|
|
4590
4704
|
export interface GetParams4 {
|
|
4591
4705
|
platform: "ios" | "android";
|
|
4592
4706
|
}
|
|
4593
4707
|
export type GetOutput = AppVersionPolicyDto;
|
|
4594
|
-
export type
|
|
4708
|
+
export type GetStatisticsData1 = UserStatisticsResponseDto;
|
|
4595
4709
|
export interface FindAllParams12 {
|
|
4596
4710
|
/**
|
|
4597
4711
|
* Page number (1-based)
|
|
@@ -4639,7 +4753,7 @@ export interface FindAllParams12 {
|
|
|
4639
4753
|
*/
|
|
4640
4754
|
query?: string;
|
|
4641
4755
|
}
|
|
4642
|
-
export type
|
|
4756
|
+
export type FindAllResult2 = PersonListResponseDto;
|
|
4643
4757
|
export interface ExportUsersParams {
|
|
4644
4758
|
/**
|
|
4645
4759
|
* Field to sort by
|
|
@@ -4684,7 +4798,7 @@ export interface FindByIdParams6 {
|
|
|
4684
4798
|
/** Person ID (UUID) */
|
|
4685
4799
|
id: string;
|
|
4686
4800
|
}
|
|
4687
|
-
export type
|
|
4801
|
+
export type FindByIdOutput1 = PersonDetailDto;
|
|
4688
4802
|
export interface UpdatePersonStatusParams {
|
|
4689
4803
|
/** Person ID (UUID) */
|
|
4690
4804
|
id: string;
|
|
@@ -4724,12 +4838,12 @@ export interface FindAllParams14 {
|
|
|
4724
4838
|
*/
|
|
4725
4839
|
endDate?: string;
|
|
4726
4840
|
}
|
|
4727
|
-
export type
|
|
4841
|
+
export type FindAllResult3 = DlqMessageListResponseDto;
|
|
4728
4842
|
export type PendingByTopicData = DlqPendingByTopicResponseDto[];
|
|
4729
4843
|
export interface FindByIdParams8 {
|
|
4730
4844
|
id: string;
|
|
4731
4845
|
}
|
|
4732
|
-
export type
|
|
4846
|
+
export type FindByIdResult1 = DlqMessageResponseDto;
|
|
4733
4847
|
export interface ResolveParams {
|
|
4734
4848
|
id: string;
|
|
4735
4849
|
}
|
|
@@ -4738,8 +4852,8 @@ export interface ListParams7 {
|
|
|
4738
4852
|
/** Return only active branches */
|
|
4739
4853
|
onlyActive?: boolean;
|
|
4740
4854
|
}
|
|
4741
|
-
export type
|
|
4742
|
-
export type
|
|
4855
|
+
export type ListData2 = BankBranchesListResponseDto;
|
|
4856
|
+
export type CreateResult2 = BankBranchResponseDto;
|
|
4743
4857
|
export interface GetByCodeParams {
|
|
4744
4858
|
/** 3-digit branch code */
|
|
4745
4859
|
code: string;
|
|
@@ -4749,21 +4863,21 @@ export interface UpdateParams12 {
|
|
|
4749
4863
|
/** 3-digit branch code */
|
|
4750
4864
|
code: string;
|
|
4751
4865
|
}
|
|
4752
|
-
export type
|
|
4866
|
+
export type UpdateResult2 = BankBranchResponseDto;
|
|
4753
4867
|
export interface ListParams9 {
|
|
4754
4868
|
onlyActive?: boolean;
|
|
4755
4869
|
}
|
|
4756
|
-
export type
|
|
4870
|
+
export type ListOutput1 = AccountTypesListResponseDto;
|
|
4757
4871
|
export interface UpdateParams14 {
|
|
4758
4872
|
/** 2-digit account-type code */
|
|
4759
4873
|
code: string;
|
|
4760
4874
|
}
|
|
4761
|
-
export type
|
|
4875
|
+
export type UpdateResult3 = AccountTypeResponseDto;
|
|
4762
4876
|
export interface ListParams11 {
|
|
4763
4877
|
onlyActive?: boolean;
|
|
4764
4878
|
}
|
|
4765
|
-
export type
|
|
4766
|
-
export type
|
|
4879
|
+
export type ListData3 = CurrencyConfigListResponseDto;
|
|
4880
|
+
export type CreateData3 = CurrencyConfigResponseDto;
|
|
4767
4881
|
export interface GetByCodeParams2 {
|
|
4768
4882
|
/** ISO 4217 alpha-3 code (e.g. USD) */
|
|
4769
4883
|
code: string;
|
|
@@ -4773,19 +4887,19 @@ export interface DeleteParams6 {
|
|
|
4773
4887
|
/** ISO 4217 alpha-3 code */
|
|
4774
4888
|
code: string;
|
|
4775
4889
|
}
|
|
4776
|
-
export type
|
|
4890
|
+
export type DeleteData1 = any;
|
|
4777
4891
|
export interface UpdateParams16 {
|
|
4778
4892
|
/** ISO 4217 alpha-3 code */
|
|
4779
4893
|
code: string;
|
|
4780
4894
|
}
|
|
4781
|
-
export type
|
|
4895
|
+
export type UpdateResult4 = CurrencyConfigResponseDto;
|
|
4782
4896
|
export type ListResult1 = CountryListResponseDto;
|
|
4783
|
-
export type
|
|
4897
|
+
export type CreateResult3 = CountryResponseDto;
|
|
4784
4898
|
export interface UpdateParams18 {
|
|
4785
4899
|
/** Country UUID */
|
|
4786
4900
|
id: string;
|
|
4787
4901
|
}
|
|
4788
|
-
export type
|
|
4902
|
+
export type UpdateOutput1 = CountryResponseDto;
|
|
4789
4903
|
export interface List2Params2 {
|
|
4790
4904
|
/** Country UUID */
|
|
4791
4905
|
countryId?: string;
|
|
@@ -4831,10 +4945,10 @@ export interface CancelParams {
|
|
|
4831
4945
|
id: string;
|
|
4832
4946
|
}
|
|
4833
4947
|
export type CancelData = ApprovalRequestResponseDto;
|
|
4834
|
-
export type
|
|
4948
|
+
export type ListData4 = ApprovalPolicyResponseDto[];
|
|
4835
4949
|
export interface UpdateParams20 {
|
|
4836
4950
|
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run" | "kyc.approve" | "kyc.reject";
|
|
4837
4951
|
}
|
|
4838
|
-
export type
|
|
4952
|
+
export type UpdateOutput2 = ApprovalPolicyResponseDto;
|
|
4839
4953
|
export type IndexData = any;
|
|
4840
4954
|
//# sourceMappingURL=data-contracts.d.ts.map
|