@tammsyr/admin-api-client 1.3.6 → 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/AccountProducts.d.ts.map +1 -1
- package/dist/AccountProducts.js.map +1 -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/AddressRegions.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/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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/GlobalNotifications.js.map +1 -1
- package/dist/Kyc.d.ts +3 -13
- package/dist/Kyc.d.ts.map +1 -1
- package/dist/Kyc.js +2 -17
- package/dist/Kyc.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 +599 -388
- 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
|
@@ -709,6 +709,36 @@ export interface AdminAccountResponseDto {
|
|
|
709
709
|
* @example "0017601010000001000011"
|
|
710
710
|
*/
|
|
711
711
|
accountNumber?: string;
|
|
712
|
+
/**
|
|
713
|
+
* Bank branch code (BBB segment of the account number).
|
|
714
|
+
* @example "001"
|
|
715
|
+
*/
|
|
716
|
+
branchCode?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Canonical type_code (TTT catalogue) — the source of the owner/product classification.
|
|
719
|
+
* @example "101"
|
|
720
|
+
*/
|
|
721
|
+
typeCode?: string;
|
|
722
|
+
/**
|
|
723
|
+
* 8-digit customer anchor (CIF). "00000001" for internal accounts.
|
|
724
|
+
* @example "00000123"
|
|
725
|
+
*/
|
|
726
|
+
cif?: string;
|
|
727
|
+
/**
|
|
728
|
+
* Serial segment (SSSS) within the natural key.
|
|
729
|
+
* @example 1
|
|
730
|
+
*/
|
|
731
|
+
serial?: number;
|
|
732
|
+
/**
|
|
733
|
+
* Product template code snapshotted at creation.
|
|
734
|
+
* @example "PERS-CURRENT"
|
|
735
|
+
*/
|
|
736
|
+
productCode?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Product template version snapshotted at creation.
|
|
739
|
+
* @example 1
|
|
740
|
+
*/
|
|
741
|
+
productVersion?: number;
|
|
712
742
|
/**
|
|
713
743
|
* Owning entity UUID: person (personal/business), merchant (merchant), or agent (agent). Absent for treasury.
|
|
714
744
|
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
@@ -744,21 +774,40 @@ export interface AdminAccountResponseDto {
|
|
|
744
774
|
* @example "active"
|
|
745
775
|
*/
|
|
746
776
|
status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
777
|
+
/**
|
|
778
|
+
* Whether this is the primary (default-receivable) account for its currency.
|
|
779
|
+
* @example true
|
|
780
|
+
*/
|
|
781
|
+
isPrimary?: boolean;
|
|
782
|
+
/**
|
|
783
|
+
* Optimistic-lock version.
|
|
784
|
+
* @example 1
|
|
785
|
+
*/
|
|
786
|
+
version?: number;
|
|
747
787
|
/**
|
|
748
788
|
* Account display name
|
|
749
789
|
* @example "Primary Wallet"
|
|
750
790
|
*/
|
|
751
791
|
name?: string;
|
|
752
|
-
/**
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
792
|
+
/** When the account was opened (ISO 8601). */
|
|
793
|
+
openedAt?: string;
|
|
794
|
+
/** When the account was activated (ISO 8601). */
|
|
795
|
+
activatedAt?: string;
|
|
796
|
+
/** Timestamp of the last account activity (ISO 8601). */
|
|
797
|
+
lastActivityAt?: string;
|
|
798
|
+
/** When the balance was last updated (ISO 8601). */
|
|
799
|
+
balanceUpdatedAt?: string;
|
|
800
|
+
/** When the account was closed (ISO 8601). */
|
|
801
|
+
closedAt?: string;
|
|
802
|
+
/** Reason code recorded at closure. */
|
|
803
|
+
closureReason?: string;
|
|
757
804
|
/**
|
|
758
805
|
* Account creation timestamp (ISO 8601)
|
|
759
806
|
* @example "2024-01-15T12:00:00Z"
|
|
760
807
|
*/
|
|
761
808
|
createdAt: string;
|
|
809
|
+
/** Last update timestamp (ISO 8601). */
|
|
810
|
+
updatedAt?: string;
|
|
762
811
|
/** QR payload for receiving (main accounts only) */
|
|
763
812
|
qrPayload?: string;
|
|
764
813
|
}
|
|
@@ -1172,6 +1221,26 @@ export interface MerchantResponseDto {
|
|
|
1172
1221
|
* @example "50k-250k USD"
|
|
1173
1222
|
*/
|
|
1174
1223
|
monthlyVolumeBand: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Business address — country ID (UUID)
|
|
1226
|
+
* @example "c0000000-0000-4000-a000-000000000001"
|
|
1227
|
+
*/
|
|
1228
|
+
countryId: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Business address — province ID (UUID)
|
|
1231
|
+
* @example "b0000000-0000-4000-a000-000000000001"
|
|
1232
|
+
*/
|
|
1233
|
+
provinceId: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* Business address — city / town
|
|
1236
|
+
* @example "Mazzeh"
|
|
1237
|
+
*/
|
|
1238
|
+
city: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* Business address — detailed address
|
|
1241
|
+
* @example "Building 123, Street Name, District"
|
|
1242
|
+
*/
|
|
1243
|
+
detailedAddress: string;
|
|
1175
1244
|
/**
|
|
1176
1245
|
* Merchant status
|
|
1177
1246
|
* @example "pending_kyc"
|
|
@@ -1445,7 +1514,7 @@ export interface AmlRuleDto {
|
|
|
1445
1514
|
* Transaction types this rule applies to; empty/omitted = all types
|
|
1446
1515
|
* @example ["P2P_TRANSFER","WITHDRAWAL"]
|
|
1447
1516
|
*/
|
|
1448
|
-
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")[];
|
|
1449
1518
|
/**
|
|
1450
1519
|
* Account types this rule applies to; empty/omitted = all types
|
|
1451
1520
|
* @example ["personal","business"]
|
|
@@ -1520,7 +1589,7 @@ export interface CreateAmlRuleDto {
|
|
|
1520
1589
|
* Transaction types this rule applies to; empty/omitted = all types
|
|
1521
1590
|
* @example ["P2P_TRANSFER","WITHDRAWAL"]
|
|
1522
1591
|
*/
|
|
1523
|
-
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")[];
|
|
1524
1593
|
/**
|
|
1525
1594
|
* Account types this rule applies to; empty/omitted = all types
|
|
1526
1595
|
* @example ["personal","business"]
|
|
@@ -1580,7 +1649,7 @@ export interface UpdateAmlRuleDto {
|
|
|
1580
1649
|
* Transaction types this rule applies to; empty/omitted = all types
|
|
1581
1650
|
* @example ["P2P_TRANSFER","WITHDRAWAL"]
|
|
1582
1651
|
*/
|
|
1583
|
-
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")[];
|
|
1584
1653
|
/**
|
|
1585
1654
|
* Account types this rule applies to; empty/omitted = all types
|
|
1586
1655
|
* @example ["personal","business"]
|
|
@@ -1843,10 +1912,15 @@ export interface AccountListResponseDto {
|
|
|
1843
1912
|
}
|
|
1844
1913
|
export interface FundAccountDto {
|
|
1845
1914
|
/**
|
|
1846
|
-
*
|
|
1847
|
-
* @example "
|
|
1915
|
+
* Internal/house account to fund FROM (22-digit, owner digit 9 — treasury/clearing/suspense/escrow)
|
|
1916
|
+
* @example "0019509100000000100013"
|
|
1917
|
+
*/
|
|
1918
|
+
sourceAccount: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* Customer account to credit (22-digit)
|
|
1921
|
+
* @example "0011019100000000100027"
|
|
1848
1922
|
*/
|
|
1849
|
-
|
|
1923
|
+
toAccount: string;
|
|
1850
1924
|
/**
|
|
1851
1925
|
* Amount to credit (string for precision)
|
|
1852
1926
|
* @example "10000.00"
|
|
@@ -1860,6 +1934,37 @@ export interface FundAccountDto {
|
|
|
1860
1934
|
/** Reason / justification for the funding */
|
|
1861
1935
|
reason?: string;
|
|
1862
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
|
+
}
|
|
1863
1968
|
export interface TransactionResponseDto {
|
|
1864
1969
|
/**
|
|
1865
1970
|
* Transaction ID (UUID)
|
|
@@ -1905,7 +2010,7 @@ export interface TransactionResponseDto {
|
|
|
1905
2010
|
* Transaction type
|
|
1906
2011
|
* @example "P2P_TRANSFER"
|
|
1907
2012
|
*/
|
|
1908
|
-
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";
|
|
1909
2014
|
/**
|
|
1910
2015
|
* Transaction status
|
|
1911
2016
|
* @example "COMPLETED"
|
|
@@ -1979,6 +2084,36 @@ export interface AdminAccountDetailResponseDto {
|
|
|
1979
2084
|
* @example "0017601010000001000011"
|
|
1980
2085
|
*/
|
|
1981
2086
|
accountNumber?: string;
|
|
2087
|
+
/**
|
|
2088
|
+
* Bank branch code (BBB segment of the account number).
|
|
2089
|
+
* @example "001"
|
|
2090
|
+
*/
|
|
2091
|
+
branchCode?: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* Canonical type_code (TTT catalogue) — the source of the owner/product classification.
|
|
2094
|
+
* @example "101"
|
|
2095
|
+
*/
|
|
2096
|
+
typeCode?: string;
|
|
2097
|
+
/**
|
|
2098
|
+
* 8-digit customer anchor (CIF). "00000001" for internal accounts.
|
|
2099
|
+
* @example "00000123"
|
|
2100
|
+
*/
|
|
2101
|
+
cif?: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* Serial segment (SSSS) within the natural key.
|
|
2104
|
+
* @example 1
|
|
2105
|
+
*/
|
|
2106
|
+
serial?: number;
|
|
2107
|
+
/**
|
|
2108
|
+
* Product template code snapshotted at creation.
|
|
2109
|
+
* @example "PERS-CURRENT"
|
|
2110
|
+
*/
|
|
2111
|
+
productCode?: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* Product template version snapshotted at creation.
|
|
2114
|
+
* @example 1
|
|
2115
|
+
*/
|
|
2116
|
+
productVersion?: number;
|
|
1982
2117
|
/**
|
|
1983
2118
|
* Owning entity UUID: person (personal/business), merchant (merchant), or agent (agent). Absent for treasury.
|
|
1984
2119
|
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
@@ -2014,21 +2149,40 @@ export interface AdminAccountDetailResponseDto {
|
|
|
2014
2149
|
* @example "active"
|
|
2015
2150
|
*/
|
|
2016
2151
|
status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
2152
|
+
/**
|
|
2153
|
+
* Whether this is the primary (default-receivable) account for its currency.
|
|
2154
|
+
* @example true
|
|
2155
|
+
*/
|
|
2156
|
+
isPrimary?: boolean;
|
|
2157
|
+
/**
|
|
2158
|
+
* Optimistic-lock version.
|
|
2159
|
+
* @example 1
|
|
2160
|
+
*/
|
|
2161
|
+
version?: number;
|
|
2017
2162
|
/**
|
|
2018
2163
|
* Account display name
|
|
2019
2164
|
* @example "Primary Wallet"
|
|
2020
2165
|
*/
|
|
2021
2166
|
name?: string;
|
|
2022
|
-
/**
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2167
|
+
/** When the account was opened (ISO 8601). */
|
|
2168
|
+
openedAt?: string;
|
|
2169
|
+
/** When the account was activated (ISO 8601). */
|
|
2170
|
+
activatedAt?: string;
|
|
2171
|
+
/** Timestamp of the last account activity (ISO 8601). */
|
|
2172
|
+
lastActivityAt?: string;
|
|
2173
|
+
/** When the balance was last updated (ISO 8601). */
|
|
2174
|
+
balanceUpdatedAt?: string;
|
|
2175
|
+
/** When the account was closed (ISO 8601). */
|
|
2176
|
+
closedAt?: string;
|
|
2177
|
+
/** Reason code recorded at closure. */
|
|
2178
|
+
closureReason?: string;
|
|
2027
2179
|
/**
|
|
2028
2180
|
* Account creation timestamp (ISO 8601)
|
|
2029
2181
|
* @example "2024-01-15T12:00:00Z"
|
|
2030
2182
|
*/
|
|
2031
2183
|
createdAt: string;
|
|
2184
|
+
/** Last update timestamp (ISO 8601). */
|
|
2185
|
+
updatedAt?: string;
|
|
2032
2186
|
/** QR payload for receiving (main accounts only) */
|
|
2033
2187
|
qrPayload?: string;
|
|
2034
2188
|
/** Person KYC/owner profile when the account type is personal or business. Null for merchant, agent, or treasury. */
|
|
@@ -2144,11 +2298,6 @@ export interface PolicyRuleResponseDto {
|
|
|
2144
2298
|
* @example ""
|
|
2145
2299
|
*/
|
|
2146
2300
|
customerCif: string;
|
|
2147
|
-
/**
|
|
2148
|
-
* SELECTOR — request channel, e.g. MOBILE / WEB. `""` = wildcard.
|
|
2149
|
-
* @example ""
|
|
2150
|
-
*/
|
|
2151
|
-
channel: string;
|
|
2152
2301
|
/**
|
|
2153
2302
|
* EFFECT applied when the rule matches. ALLOW = permit; DENY = block; LIMIT = enforce a quota/bound from `params`; REQUIRE_APPROVAL = send for manual approval.
|
|
2154
2303
|
* @example "REQUIRE_APPROVAL"
|
|
@@ -2244,12 +2393,6 @@ export interface CreatePolicyRuleDto {
|
|
|
2244
2393
|
* @example "10000001"
|
|
2245
2394
|
*/
|
|
2246
2395
|
customerCif?: string;
|
|
2247
|
-
/**
|
|
2248
|
-
* Channel selector (wildcard if omitted)
|
|
2249
|
-
* @maxLength 16
|
|
2250
|
-
* @example "MOBILE"
|
|
2251
|
-
*/
|
|
2252
|
-
channel?: string;
|
|
2253
2396
|
/**
|
|
2254
2397
|
* Effect applied when the rule matches
|
|
2255
2398
|
* @example "DENY"
|
|
@@ -2316,12 +2459,6 @@ export interface UpdatePolicyRuleDto {
|
|
|
2316
2459
|
* @example "10000001"
|
|
2317
2460
|
*/
|
|
2318
2461
|
customerCif?: string;
|
|
2319
|
-
/**
|
|
2320
|
-
* Channel selector (wildcard if omitted)
|
|
2321
|
-
* @maxLength 16
|
|
2322
|
-
* @example "MOBILE"
|
|
2323
|
-
*/
|
|
2324
|
-
channel?: string;
|
|
2325
2462
|
/**
|
|
2326
2463
|
* Effect applied when the rule matches
|
|
2327
2464
|
* @example "DENY"
|
|
@@ -2618,170 +2755,6 @@ export interface UpdateMerchantCategoryDto {
|
|
|
2618
2755
|
/** Toggle whether new merchants may register under this category */
|
|
2619
2756
|
isActive?: boolean;
|
|
2620
2757
|
}
|
|
2621
|
-
export interface CurrencyStatsDto {
|
|
2622
|
-
/** @example "SYP" */
|
|
2623
|
-
currency: string;
|
|
2624
|
-
/** @example "150000.00" */
|
|
2625
|
-
totalVolume: string;
|
|
2626
|
-
/** @example "75000.00" */
|
|
2627
|
-
totalCredits: string;
|
|
2628
|
-
/** @example "74000.00" */
|
|
2629
|
-
totalDebits: string;
|
|
2630
|
-
/** @example "1000.00" */
|
|
2631
|
-
totalFees: string;
|
|
2632
|
-
/** @example "1250.00" */
|
|
2633
|
-
avgTransactionAmount: string;
|
|
2634
|
-
}
|
|
2635
|
-
export interface TransactionStatisticsResponseDto {
|
|
2636
|
-
/**
|
|
2637
|
-
* Total number of transactions
|
|
2638
|
-
* @example 150
|
|
2639
|
-
*/
|
|
2640
|
-
totalTransactions: number;
|
|
2641
|
-
/**
|
|
2642
|
-
* Number of completed transactions
|
|
2643
|
-
* @example 120
|
|
2644
|
-
*/
|
|
2645
|
-
completedTransactions: number;
|
|
2646
|
-
/**
|
|
2647
|
-
* Number of failed/declined/rejected transactions
|
|
2648
|
-
* @example 5
|
|
2649
|
-
*/
|
|
2650
|
-
failedTransactions: number;
|
|
2651
|
-
/**
|
|
2652
|
-
* Number of cancelled transactions
|
|
2653
|
-
* @example 3
|
|
2654
|
-
*/
|
|
2655
|
-
cancelledTransactions: number;
|
|
2656
|
-
/** Breakdown by currency */
|
|
2657
|
-
byCurrency: CurrencyStatsDto[];
|
|
2658
|
-
/**
|
|
2659
|
-
* Transaction count by type
|
|
2660
|
-
* @example {"P2P_TRANSFER":45,"TOP_UP":12}
|
|
2661
|
-
*/
|
|
2662
|
-
typeBreakdown: object;
|
|
2663
|
-
}
|
|
2664
|
-
export interface AdminTransactionItemDto {
|
|
2665
|
-
/** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
|
|
2666
|
-
id: string;
|
|
2667
|
-
/** @example "TXN-20240115-123456" */
|
|
2668
|
-
publicTxnId: string;
|
|
2669
|
-
/** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
|
|
2670
|
-
fromAccountId: string;
|
|
2671
|
-
/** @example "b2c3d4e5-f6a7-8901-bcde-f12345678901" */
|
|
2672
|
-
toAccountId: string;
|
|
2673
|
-
/** @example "100.50" */
|
|
2674
|
-
amount: string;
|
|
2675
|
-
/** @example "99.50" */
|
|
2676
|
-
netAmount: string;
|
|
2677
|
-
/** @example "1.00" */
|
|
2678
|
-
feeAmount: string;
|
|
2679
|
-
/** @example "SYP" */
|
|
2680
|
-
currency: "SYP" | "USD" | "EUR";
|
|
2681
|
-
/** @example "P2P_TRANSFER" */
|
|
2682
|
-
type: "P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING";
|
|
2683
|
-
/** @example "COMPLETED" */
|
|
2684
|
-
status: "COMPLETED" | "FAILED" | "VOUCHER_PENDING" | "REVERSED";
|
|
2685
|
-
/** @example "Payment for services" */
|
|
2686
|
-
description?: string;
|
|
2687
|
-
/**
|
|
2688
|
-
* 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.
|
|
2689
|
-
* @example 0
|
|
2690
|
-
*/
|
|
2691
|
-
amlRiskScore: number;
|
|
2692
|
-
/** @example "LOW" */
|
|
2693
|
-
amlRiskLevel: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
2694
|
-
/** @example "2024-01-15T12:00:00Z" */
|
|
2695
|
-
createdAt: string;
|
|
2696
|
-
/** @example "2024-01-15T12:00:01Z" */
|
|
2697
|
-
completedAt?: string;
|
|
2698
|
-
/** @example {"key":"value"} */
|
|
2699
|
-
metadata?: object;
|
|
2700
|
-
}
|
|
2701
|
-
export interface AdminTransactionListResponseDto {
|
|
2702
|
-
data: AdminTransactionItemDto[];
|
|
2703
|
-
meta: PaginationMetaDto;
|
|
2704
|
-
}
|
|
2705
|
-
export interface LedgerEntryResponseDto {
|
|
2706
|
-
/**
|
|
2707
|
-
* Ledger entry ID (UUID)
|
|
2708
|
-
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
2709
|
-
*/
|
|
2710
|
-
id: string;
|
|
2711
|
-
/**
|
|
2712
|
-
* Transaction ID this entry belongs to
|
|
2713
|
-
* @example "b2c3d4e5-f6a7-8901-bcde-f12345678901"
|
|
2714
|
-
*/
|
|
2715
|
-
transactionId: string;
|
|
2716
|
-
/**
|
|
2717
|
-
* Account ID affected by this entry
|
|
2718
|
-
* @example "c3d4e5f6-a7b8-9012-cdef-123456789012"
|
|
2719
|
-
*/
|
|
2720
|
-
accountId: string;
|
|
2721
|
-
/**
|
|
2722
|
-
* Entry amount (string for precision)
|
|
2723
|
-
* @example "100.50"
|
|
2724
|
-
*/
|
|
2725
|
-
amount: string;
|
|
2726
|
-
/**
|
|
2727
|
-
* Direction of the entry
|
|
2728
|
-
* @example "DEBIT"
|
|
2729
|
-
*/
|
|
2730
|
-
direction: "DEBIT" | "CREDIT";
|
|
2731
|
-
/**
|
|
2732
|
-
* Account balance before this entry
|
|
2733
|
-
* @example "1000.00"
|
|
2734
|
-
*/
|
|
2735
|
-
balanceBefore: string;
|
|
2736
|
-
/**
|
|
2737
|
-
* Account balance after this entry
|
|
2738
|
-
* @example "899.50"
|
|
2739
|
-
*/
|
|
2740
|
-
balanceAfter: string;
|
|
2741
|
-
/**
|
|
2742
|
-
* Reason for the entry
|
|
2743
|
-
* @example "TRANSACTION"
|
|
2744
|
-
*/
|
|
2745
|
-
reason: "TRANSACTION" | "REVERSAL" | "FEE" | "MOVING";
|
|
2746
|
-
/**
|
|
2747
|
-
* Display name of the counterparty
|
|
2748
|
-
* @example "Ahmed M."
|
|
2749
|
-
*/
|
|
2750
|
-
counterpartyLabel?: string;
|
|
2751
|
-
/**
|
|
2752
|
-
* Masked identifier of the counterparty
|
|
2753
|
-
* @example "****7890"
|
|
2754
|
-
*/
|
|
2755
|
-
counterpartyMasked?: string;
|
|
2756
|
-
/**
|
|
2757
|
-
* Entry creation timestamp (ISO format)
|
|
2758
|
-
* @example "2024-01-15T12:00:00Z"
|
|
2759
|
-
*/
|
|
2760
|
-
createdAt: string;
|
|
2761
|
-
}
|
|
2762
|
-
export interface TransactionPartyDto {
|
|
2763
|
-
/** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
|
|
2764
|
-
accountId: string;
|
|
2765
|
-
/** @example "b2c3d4e5-f6a7-8901-bcde-f12345678901" */
|
|
2766
|
-
personId?: string;
|
|
2767
|
-
/** @example "Qusai" */
|
|
2768
|
-
firstName?: string;
|
|
2769
|
-
/** @example "Armoush" */
|
|
2770
|
-
lastName?: string;
|
|
2771
|
-
/** @example "+963912345678" */
|
|
2772
|
-
phoneNumber?: string;
|
|
2773
|
-
/** @example "ACTIVE" */
|
|
2774
|
-
accountStatus?: string;
|
|
2775
|
-
/** @example "PERSONAL" */
|
|
2776
|
-
accountType?: string;
|
|
2777
|
-
}
|
|
2778
|
-
export interface AdminTransactionDetailResponseDto {
|
|
2779
|
-
transaction: AdminTransactionItemDto;
|
|
2780
|
-
ledgerEntries: LedgerEntryResponseDto[];
|
|
2781
|
-
fromUser: TransactionPartyDto;
|
|
2782
|
-
toUser: TransactionPartyDto;
|
|
2783
|
-
amlAlerts: AmlAlertDto[];
|
|
2784
|
-
}
|
|
2785
2758
|
export interface SendGlobalNotificationDto {
|
|
2786
2759
|
/**
|
|
2787
2760
|
* Notification title displayed to the user
|
|
@@ -2916,102 +2889,294 @@ export interface UpsertSystemConfigDto {
|
|
|
2916
2889
|
*/
|
|
2917
2890
|
isActive?: boolean;
|
|
2918
2891
|
}
|
|
2919
|
-
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" */
|
|
2920
2942
|
id: string;
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
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;
|
|
2937
2967
|
}
|
|
2938
|
-
export interface
|
|
2939
|
-
|
|
2968
|
+
export interface ChargeTierListResponseDto {
|
|
2969
|
+
tiers: ChargeTierResponseDto[];
|
|
2940
2970
|
}
|
|
2941
|
-
export interface
|
|
2942
|
-
/**
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
currency: "SYP" | "USD" | "EUR";
|
|
2946
|
-
/** Fee calculation type */
|
|
2947
|
-
feeType: "FLAT" | "PERCENTAGE" | "FLAT_PLUS_PERCENTAGE";
|
|
2948
|
-
/** Fixed fee amount */
|
|
2949
|
-
flatAmount?: string;
|
|
2950
|
-
/** Percentage rate (e.g. 1.5 for 1.5%) */
|
|
2951
|
-
percentage?: string;
|
|
2952
|
-
/** Minimum fee cap */
|
|
2953
|
-
minFee?: string;
|
|
2954
|
-
/** Maximum fee cap */
|
|
2955
|
-
maxFee?: string;
|
|
2956
|
-
/** Tier start: rule applies when amount >= this */
|
|
2957
|
-
minTransactionAmount?: string;
|
|
2958
|
-
/** Tier end: rule applies when amount < this */
|
|
2959
|
-
maxTransactionAmount?: string;
|
|
2960
|
-
/** Who bears the fee */
|
|
2961
|
-
feeDirection: "DEDUCT_FROM_AMOUNT" | "ADD_ON_TOP";
|
|
2962
|
-
/**
|
|
2963
|
-
* Priority (higher wins when multiple tiers match)
|
|
2964
|
-
* @default 0
|
|
2971
|
+
export interface CreateChargeTierDto {
|
|
2972
|
+
/**
|
|
2973
|
+
* Charge this tier prices
|
|
2974
|
+
* @example "FEE_P2P"
|
|
2965
2975
|
*/
|
|
2966
|
-
|
|
2967
|
-
/** Human-readable description */
|
|
2968
|
-
description?: string;
|
|
2976
|
+
chargeCode: string;
|
|
2969
2977
|
/**
|
|
2970
|
-
*
|
|
2971
|
-
* @
|
|
2978
|
+
* Band start (default 0)
|
|
2979
|
+
* @example "0"
|
|
2972
2980
|
*/
|
|
2973
|
-
|
|
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;
|
|
2974
3023
|
}
|
|
2975
|
-
export interface
|
|
2976
|
-
/**
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
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"
|
|
2999
3051
|
*/
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
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 {
|
|
3003
3072
|
/**
|
|
3004
|
-
*
|
|
3005
|
-
* @
|
|
3073
|
+
* Schema this component belongs to
|
|
3074
|
+
* @example "SCH_P2P_STD"
|
|
3006
3075
|
*/
|
|
3007
|
-
|
|
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";
|
|
3008
3087
|
}
|
|
3009
|
-
export interface
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
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";
|
|
3015
3180
|
}
|
|
3016
3181
|
export interface AdminLegalDocumentResponseDto {
|
|
3017
3182
|
/**
|
|
@@ -3588,7 +3753,7 @@ export interface ApprovalDecisionResponseDto {
|
|
|
3588
3753
|
}
|
|
3589
3754
|
export interface ApprovalRequestResponseDto {
|
|
3590
3755
|
id: string;
|
|
3591
|
-
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
3756
|
+
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";
|
|
3592
3757
|
resource: string;
|
|
3593
3758
|
resourceId?: object;
|
|
3594
3759
|
title: string;
|
|
@@ -3628,7 +3793,7 @@ export interface CreateApprovalDecisionDto {
|
|
|
3628
3793
|
comment?: string;
|
|
3629
3794
|
}
|
|
3630
3795
|
export interface ApprovalPolicyResponseDto {
|
|
3631
|
-
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
3796
|
+
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";
|
|
3632
3797
|
enabled: boolean;
|
|
3633
3798
|
requiredApprovals: number;
|
|
3634
3799
|
allowSelfApprove: boolean;
|
|
@@ -3835,7 +4000,7 @@ export interface FindAllParams6 {
|
|
|
3835
4000
|
*/
|
|
3836
4001
|
endDate?: string;
|
|
3837
4002
|
}
|
|
3838
|
-
export type
|
|
4003
|
+
export type FindAllData1 = ActivityLogListResponseDto;
|
|
3839
4004
|
export interface FindAllParams8 {
|
|
3840
4005
|
/**
|
|
3841
4006
|
* Page number (1-based)
|
|
@@ -3858,7 +4023,7 @@ export interface FindAllParams8 {
|
|
|
3858
4023
|
*/
|
|
3859
4024
|
read?: boolean;
|
|
3860
4025
|
}
|
|
3861
|
-
export type
|
|
4026
|
+
export type FindAllOutput1 = AdminNotificationListResponseDto;
|
|
3862
4027
|
export type GetUnreadCountData = any;
|
|
3863
4028
|
export interface MarkAsReadParams {
|
|
3864
4029
|
/** Notification ID */
|
|
@@ -3951,10 +4116,6 @@ export interface GetParams {
|
|
|
3951
4116
|
id: string;
|
|
3952
4117
|
}
|
|
3953
4118
|
export type GetData = SubmissionDetailResponseDto;
|
|
3954
|
-
export interface StartReviewParams {
|
|
3955
|
-
id: string;
|
|
3956
|
-
}
|
|
3957
|
-
export type StartReviewData = any;
|
|
3958
4119
|
export interface ApproveParams {
|
|
3959
4120
|
id: string;
|
|
3960
4121
|
}
|
|
@@ -3971,7 +4132,7 @@ export interface List2Params {
|
|
|
3971
4132
|
only_active: string;
|
|
3972
4133
|
}
|
|
3973
4134
|
export type List2Data = DocumentTypeResponseDto[];
|
|
3974
|
-
export type
|
|
4135
|
+
export type CreateResult1 = any;
|
|
3975
4136
|
export interface ListVersionsParams {
|
|
3976
4137
|
code: string;
|
|
3977
4138
|
}
|
|
@@ -4149,7 +4310,7 @@ export interface ListAccountsParams {
|
|
|
4149
4310
|
search?: string;
|
|
4150
4311
|
}
|
|
4151
4312
|
export type ListAccountsData = AccountListResponseDto;
|
|
4152
|
-
export type FundAccountData =
|
|
4313
|
+
export type FundAccountData = FundAccountResponseDto;
|
|
4153
4314
|
export interface GetAccountDetailParams {
|
|
4154
4315
|
/** Transaction history page number (default: 1) */
|
|
4155
4316
|
txPage?: number;
|
|
@@ -4248,7 +4409,7 @@ export interface ListParams2 {
|
|
|
4248
4409
|
productCode?: string;
|
|
4249
4410
|
}
|
|
4250
4411
|
export type ListResult = AccountProductResponseDto[];
|
|
4251
|
-
export type
|
|
4412
|
+
export type CreateData1 = AccountProductResponseDto;
|
|
4252
4413
|
export interface GetParams2 {
|
|
4253
4414
|
/** @example "PERS-CURRENT" */
|
|
4254
4415
|
code: string;
|
|
@@ -4262,7 +4423,7 @@ export interface UpdateParams6 {
|
|
|
4262
4423
|
/** @example 2 */
|
|
4263
4424
|
version: number;
|
|
4264
4425
|
}
|
|
4265
|
-
export type
|
|
4426
|
+
export type UpdateData1 = AccountProductResponseDto;
|
|
4266
4427
|
export interface PublishVersionParams {
|
|
4267
4428
|
/** @example "PERS-CURRENT" */
|
|
4268
4429
|
code: string;
|
|
@@ -4348,56 +4509,15 @@ export interface ListParams4 {
|
|
|
4348
4509
|
onlyActive?: boolean;
|
|
4349
4510
|
}
|
|
4350
4511
|
export type ListOutput = MerchantCategoriesListResponseDto;
|
|
4351
|
-
export type
|
|
4512
|
+
export type CreateData2 = MerchantCategoryResponseDto;
|
|
4352
4513
|
export interface UpdateParams8 {
|
|
4353
4514
|
/** 4-digit MCC code */
|
|
4354
4515
|
code: string;
|
|
4355
4516
|
}
|
|
4356
|
-
export type
|
|
4357
|
-
export interface GetStatisticsParams3 {
|
|
4358
|
-
/** Start date filter (ISO date, e.g. 2025-01-01) */
|
|
4359
|
-
startDate?: string;
|
|
4360
|
-
/** End date filter (ISO date, e.g. 2025-12-31) */
|
|
4361
|
-
endDate?: string;
|
|
4362
|
-
/** Filter by currency */
|
|
4363
|
-
currency?: "SYP" | "USD" | "EUR";
|
|
4364
|
-
}
|
|
4365
|
-
export type GetStatisticsResult1 = TransactionStatisticsResponseDto;
|
|
4366
|
-
export interface ListTransactionsParams {
|
|
4367
|
-
/** Search by transaction ID or public transaction ID */
|
|
4368
|
-
search?: string;
|
|
4369
|
-
status?: "INITIATED" | "VALIDATING" | "AUTHORIZED" | "RESERVED" | "POSTING" | "COMPLETED" | "REJECTED" | "DECLINED" | "CANCELLED" | "FAILED" | "REVERSING" | "REVERSED";
|
|
4370
|
-
type?: "P2P_TRANSFER" | "WITHDRAWAL" | "TOP_UP" | "MERCHANT_PAYMENT" | "REVERSAL" | "REFUND" | "MOVING";
|
|
4371
|
-
currency?: "SYP" | "USD" | "EUR";
|
|
4372
|
-
/** Filter by account (from or to) */
|
|
4373
|
-
accountId?: string;
|
|
4374
|
-
/** Filter by source account */
|
|
4375
|
-
fromAccountId?: string;
|
|
4376
|
-
/** Filter by destination account */
|
|
4377
|
-
toAccountId?: string;
|
|
4378
|
-
/** Filter by person ID (resolves to account IDs) */
|
|
4379
|
-
personId?: string;
|
|
4380
|
-
/** Start date (ISO 8601) */
|
|
4381
|
-
startDate?: string;
|
|
4382
|
-
/** End date (ISO 8601) */
|
|
4383
|
-
endDate?: string;
|
|
4384
|
-
/** Sort field (default: createdAt) */
|
|
4385
|
-
sortBy?: "createdAt" | "amount" | "status" | "type" | "completedAt";
|
|
4386
|
-
/** Sort direction (default: DESC) */
|
|
4387
|
-
sortOrder?: "ASC" | "DESC";
|
|
4388
|
-
page?: number;
|
|
4389
|
-
limit?: number;
|
|
4390
|
-
}
|
|
4391
|
-
export type ListTransactionsData = AdminTransactionListResponseDto;
|
|
4392
|
-
export interface GetTransactionDetailParams {
|
|
4393
|
-
/** Transaction UUID */
|
|
4394
|
-
transactionId: string;
|
|
4395
|
-
}
|
|
4396
|
-
export type GetTransactionDetailData = AdminTransactionDetailResponseDto;
|
|
4397
|
-
export type GetTransactionDetailError = ErrorResponseDto;
|
|
4517
|
+
export type UpdateData2 = MerchantCategoryResponseDto;
|
|
4398
4518
|
export type SendGlobalNotificationData = SendGlobalNotificationResponseDto;
|
|
4399
4519
|
export type SendGlobalNotificationError = ErrorResponseDto;
|
|
4400
|
-
export type
|
|
4520
|
+
export type CreateOutput1 = ScheduledNotificationResponseDto;
|
|
4401
4521
|
export type CreateBadResponse = ErrorResponseDto;
|
|
4402
4522
|
export interface FindAllParams10 {
|
|
4403
4523
|
/** Filter by status */
|
|
@@ -4414,7 +4534,7 @@ export interface FindAllParams10 {
|
|
|
4414
4534
|
*/
|
|
4415
4535
|
limit?: number;
|
|
4416
4536
|
}
|
|
4417
|
-
export type
|
|
4537
|
+
export type FindAllResult1 = ScheduledNotificationsListResponseDto;
|
|
4418
4538
|
export interface FindOneParams {
|
|
4419
4539
|
/** MongoDB ObjectId */
|
|
4420
4540
|
id: string;
|
|
@@ -4425,7 +4545,7 @@ export interface UpdateParams10 {
|
|
|
4425
4545
|
/** MongoDB ObjectId */
|
|
4426
4546
|
id: string;
|
|
4427
4547
|
}
|
|
4428
|
-
export type
|
|
4548
|
+
export type UpdateResult1 = ScheduledNotificationResponseDto;
|
|
4429
4549
|
export type UpdateBadResponse = ErrorResponseDto;
|
|
4430
4550
|
export interface RemoveParams2 {
|
|
4431
4551
|
/** MongoDB ObjectId */
|
|
@@ -4447,38 +4567,129 @@ export interface DeleteSystemConfigParams {
|
|
|
4447
4567
|
}
|
|
4448
4568
|
export type DeleteSystemConfigData = any;
|
|
4449
4569
|
export type DeleteSystemConfigError = ErrorResponseDto;
|
|
4450
|
-
export interface
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
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;
|
|
4455
4579
|
}
|
|
4456
|
-
export type
|
|
4457
|
-
export type
|
|
4458
|
-
export interface
|
|
4459
|
-
/**
|
|
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";
|
|
4598
|
+
}
|
|
4599
|
+
export type ListChargeTiersData = ChargeTierListResponseDto;
|
|
4600
|
+
export type CreateChargeTierData = ChargeTierResponseDto;
|
|
4601
|
+
export type CreateChargeTierError = ErrorResponseDto;
|
|
4602
|
+
export interface GetChargeTierParams {
|
|
4603
|
+
/** @example "1001" */
|
|
4460
4604
|
id: string;
|
|
4461
4605
|
}
|
|
4462
|
-
export type
|
|
4463
|
-
export type
|
|
4464
|
-
export interface
|
|
4465
|
-
/**
|
|
4606
|
+
export type GetChargeTierData = ChargeTierResponseDto;
|
|
4607
|
+
export type GetChargeTierError = ErrorResponseDto;
|
|
4608
|
+
export interface UpdateChargeTierParams {
|
|
4609
|
+
/** @example "1001" */
|
|
4466
4610
|
id: string;
|
|
4467
4611
|
}
|
|
4468
|
-
export type
|
|
4469
|
-
export type
|
|
4470
|
-
export interface
|
|
4471
|
-
/**
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
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;
|
|
4480
4690
|
}
|
|
4481
|
-
export type
|
|
4691
|
+
export type DeleteDecisionRuleData = any;
|
|
4692
|
+
export type DeleteDecisionRuleError = ErrorResponseDto;
|
|
4482
4693
|
export type ListDocumentsData = AdminLegalDocumentListResponseDto;
|
|
4483
4694
|
export type UpsertDocumentData = AdminLegalDocumentResponseDto;
|
|
4484
4695
|
export type UpsertDocumentError = ErrorResponseDto;
|
|
@@ -4488,13 +4699,13 @@ export interface DeleteDocumentParams {
|
|
|
4488
4699
|
}
|
|
4489
4700
|
export type DeleteDocumentData = any;
|
|
4490
4701
|
export type DeleteDocumentError = ErrorResponseDto;
|
|
4491
|
-
export type
|
|
4702
|
+
export type ListData1 = AppVersionPolicyListResponseDto;
|
|
4492
4703
|
export type UpsertData = AppVersionPolicyDto;
|
|
4493
4704
|
export interface GetParams4 {
|
|
4494
4705
|
platform: "ios" | "android";
|
|
4495
4706
|
}
|
|
4496
4707
|
export type GetOutput = AppVersionPolicyDto;
|
|
4497
|
-
export type
|
|
4708
|
+
export type GetStatisticsData1 = UserStatisticsResponseDto;
|
|
4498
4709
|
export interface FindAllParams12 {
|
|
4499
4710
|
/**
|
|
4500
4711
|
* Page number (1-based)
|
|
@@ -4542,7 +4753,7 @@ export interface FindAllParams12 {
|
|
|
4542
4753
|
*/
|
|
4543
4754
|
query?: string;
|
|
4544
4755
|
}
|
|
4545
|
-
export type
|
|
4756
|
+
export type FindAllResult2 = PersonListResponseDto;
|
|
4546
4757
|
export interface ExportUsersParams {
|
|
4547
4758
|
/**
|
|
4548
4759
|
* Field to sort by
|
|
@@ -4587,7 +4798,7 @@ export interface FindByIdParams6 {
|
|
|
4587
4798
|
/** Person ID (UUID) */
|
|
4588
4799
|
id: string;
|
|
4589
4800
|
}
|
|
4590
|
-
export type
|
|
4801
|
+
export type FindByIdOutput1 = PersonDetailDto;
|
|
4591
4802
|
export interface UpdatePersonStatusParams {
|
|
4592
4803
|
/** Person ID (UUID) */
|
|
4593
4804
|
id: string;
|
|
@@ -4627,12 +4838,12 @@ export interface FindAllParams14 {
|
|
|
4627
4838
|
*/
|
|
4628
4839
|
endDate?: string;
|
|
4629
4840
|
}
|
|
4630
|
-
export type
|
|
4841
|
+
export type FindAllResult3 = DlqMessageListResponseDto;
|
|
4631
4842
|
export type PendingByTopicData = DlqPendingByTopicResponseDto[];
|
|
4632
4843
|
export interface FindByIdParams8 {
|
|
4633
4844
|
id: string;
|
|
4634
4845
|
}
|
|
4635
|
-
export type
|
|
4846
|
+
export type FindByIdResult1 = DlqMessageResponseDto;
|
|
4636
4847
|
export interface ResolveParams {
|
|
4637
4848
|
id: string;
|
|
4638
4849
|
}
|
|
@@ -4641,8 +4852,8 @@ export interface ListParams7 {
|
|
|
4641
4852
|
/** Return only active branches */
|
|
4642
4853
|
onlyActive?: boolean;
|
|
4643
4854
|
}
|
|
4644
|
-
export type
|
|
4645
|
-
export type
|
|
4855
|
+
export type ListData2 = BankBranchesListResponseDto;
|
|
4856
|
+
export type CreateResult2 = BankBranchResponseDto;
|
|
4646
4857
|
export interface GetByCodeParams {
|
|
4647
4858
|
/** 3-digit branch code */
|
|
4648
4859
|
code: string;
|
|
@@ -4652,21 +4863,21 @@ export interface UpdateParams12 {
|
|
|
4652
4863
|
/** 3-digit branch code */
|
|
4653
4864
|
code: string;
|
|
4654
4865
|
}
|
|
4655
|
-
export type
|
|
4866
|
+
export type UpdateResult2 = BankBranchResponseDto;
|
|
4656
4867
|
export interface ListParams9 {
|
|
4657
4868
|
onlyActive?: boolean;
|
|
4658
4869
|
}
|
|
4659
|
-
export type
|
|
4870
|
+
export type ListOutput1 = AccountTypesListResponseDto;
|
|
4660
4871
|
export interface UpdateParams14 {
|
|
4661
4872
|
/** 2-digit account-type code */
|
|
4662
4873
|
code: string;
|
|
4663
4874
|
}
|
|
4664
|
-
export type
|
|
4875
|
+
export type UpdateResult3 = AccountTypeResponseDto;
|
|
4665
4876
|
export interface ListParams11 {
|
|
4666
4877
|
onlyActive?: boolean;
|
|
4667
4878
|
}
|
|
4668
|
-
export type
|
|
4669
|
-
export type
|
|
4879
|
+
export type ListData3 = CurrencyConfigListResponseDto;
|
|
4880
|
+
export type CreateData3 = CurrencyConfigResponseDto;
|
|
4670
4881
|
export interface GetByCodeParams2 {
|
|
4671
4882
|
/** ISO 4217 alpha-3 code (e.g. USD) */
|
|
4672
4883
|
code: string;
|
|
@@ -4676,19 +4887,19 @@ export interface DeleteParams6 {
|
|
|
4676
4887
|
/** ISO 4217 alpha-3 code */
|
|
4677
4888
|
code: string;
|
|
4678
4889
|
}
|
|
4679
|
-
export type
|
|
4890
|
+
export type DeleteData1 = any;
|
|
4680
4891
|
export interface UpdateParams16 {
|
|
4681
4892
|
/** ISO 4217 alpha-3 code */
|
|
4682
4893
|
code: string;
|
|
4683
4894
|
}
|
|
4684
|
-
export type
|
|
4685
|
-
export type
|
|
4895
|
+
export type UpdateResult4 = CurrencyConfigResponseDto;
|
|
4896
|
+
export type ListResult1 = CountryListResponseDto;
|
|
4686
4897
|
export type CreateResult3 = CountryResponseDto;
|
|
4687
4898
|
export interface UpdateParams18 {
|
|
4688
4899
|
/** Country UUID */
|
|
4689
4900
|
id: string;
|
|
4690
4901
|
}
|
|
4691
|
-
export type
|
|
4902
|
+
export type UpdateOutput1 = CountryResponseDto;
|
|
4692
4903
|
export interface List2Params2 {
|
|
4693
4904
|
/** Country UUID */
|
|
4694
4905
|
countryId?: string;
|
|
@@ -4704,7 +4915,7 @@ export interface ListRequestsParams {
|
|
|
4704
4915
|
/** Filter by status */
|
|
4705
4916
|
status?: "PENDING" | "APPROVED" | "EXECUTED" | "FAILED" | "REJECTED" | "EXPIRED" | "CANCELLED";
|
|
4706
4917
|
/** Filter by action type */
|
|
4707
|
-
actionType?: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
4918
|
+
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";
|
|
4708
4919
|
/** Filter by maker (admin UUID) */
|
|
4709
4920
|
requestedBy?: string;
|
|
4710
4921
|
/**
|
|
@@ -4734,10 +4945,10 @@ export interface CancelParams {
|
|
|
4734
4945
|
id: string;
|
|
4735
4946
|
}
|
|
4736
4947
|
export type CancelData = ApprovalRequestResponseDto;
|
|
4737
|
-
export type
|
|
4948
|
+
export type ListData4 = ApprovalPolicyResponseDto[];
|
|
4738
4949
|
export interface UpdateParams20 {
|
|
4739
|
-
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
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";
|
|
4740
4951
|
}
|
|
4741
|
-
export type
|
|
4952
|
+
export type UpdateOutput2 = ApprovalPolicyResponseDto;
|
|
4742
4953
|
export type IndexData = any;
|
|
4743
4954
|
//# sourceMappingURL=data-contracts.d.ts.map
|