@tammsyr/admin-api-client 1.3.3 → 1.3.5
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/dist/AccountProducts.d.ts +87 -0
- package/dist/AccountProducts.d.ts.map +1 -0
- package/dist/AccountProducts.js +157 -0
- package/dist/AccountProducts.js.map +1 -0
- package/dist/AccountTypes.d.ts +3 -3
- package/dist/AccountTypes.d.ts.map +1 -1
- package/dist/AccountTypes.js.map +1 -1
- package/dist/Accounts.d.ts +61 -1
- package/dist/Accounts.d.ts.map +1 -1
- package/dist/Accounts.js +108 -0
- package/dist/Accounts.js.map +1 -1
- package/dist/AppVersion.d.ts +2 -2
- package/dist/AppVersion.d.ts.map +1 -1
- package/dist/AppVersion.js.map +1 -1
- package/dist/ApprovalPolicies.d.ts +3 -3
- package/dist/ApprovalPolicies.d.ts.map +1 -1
- package/dist/ApprovalPolicies.js.map +1 -1
- package/dist/BankBranches.d.ts +3 -3
- package/dist/BankBranches.d.ts.map +1 -1
- package/dist/BankBranches.js.map +1 -1
- package/dist/Currencies.d.ts +3 -3
- 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/GlobalNotifications.d.ts +2 -2
- package/dist/GlobalNotifications.d.ts.map +1 -1
- package/dist/GlobalNotifications.js.map +1 -1
- package/dist/Kyc.d.ts.map +1 -1
- package/dist/Kyc.js.map +1 -1
- package/dist/MerchantCategories.d.ts +37 -0
- package/dist/MerchantCategories.d.ts.map +1 -0
- package/dist/MerchantCategories.js +75 -0
- package/dist/MerchantCategories.js.map +1 -0
- package/dist/Notifications.d.ts.map +1 -1
- package/dist/Notifications.js.map +1 -1
- package/dist/Policies.d.ts +107 -0
- package/dist/Policies.d.ts.map +1 -0
- package/dist/Policies.js +187 -0
- package/dist/Policies.js.map +1 -0
- package/dist/Transactions.d.ts.map +1 -1
- package/dist/data-contracts.d.ts +683 -37
- package/dist/data-contracts.d.ts.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/data-contracts.d.ts
CHANGED
|
@@ -743,7 +743,7 @@ export interface AdminAccountResponseDto {
|
|
|
743
743
|
* Account status
|
|
744
744
|
* @example "active"
|
|
745
745
|
*/
|
|
746
|
-
status: "pending" | "active" | "frozen" | "closed";
|
|
746
|
+
status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
747
747
|
/**
|
|
748
748
|
* Account display name
|
|
749
749
|
* @example "Primary Wallet"
|
|
@@ -1123,6 +1123,11 @@ export interface PersonDetailDto {
|
|
|
1123
1123
|
* @example "Fatima"
|
|
1124
1124
|
*/
|
|
1125
1125
|
motherName: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Gender
|
|
1128
|
+
* @example "male"
|
|
1129
|
+
*/
|
|
1130
|
+
gender: "male" | "female";
|
|
1126
1131
|
address: PersonAddressDto;
|
|
1127
1132
|
connectedUsers: ConnectedUserDto[];
|
|
1128
1133
|
}
|
|
@@ -1813,7 +1818,7 @@ export interface AccountListQueryDto {
|
|
|
1813
1818
|
* Filter by account status
|
|
1814
1819
|
* @example "active"
|
|
1815
1820
|
*/
|
|
1816
|
-
status?: "pending" | "active" | "frozen" | "closed";
|
|
1821
|
+
status?: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
1817
1822
|
/**
|
|
1818
1823
|
* Filter by account type
|
|
1819
1824
|
* @example "personal"
|
|
@@ -2008,7 +2013,7 @@ export interface AdminAccountDetailResponseDto {
|
|
|
2008
2013
|
* Account status
|
|
2009
2014
|
* @example "active"
|
|
2010
2015
|
*/
|
|
2011
|
-
status: "pending" | "active" | "frozen" | "closed";
|
|
2016
|
+
status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
2012
2017
|
/**
|
|
2013
2018
|
* Account display name
|
|
2014
2019
|
* @example "Primary Wallet"
|
|
@@ -2036,13 +2041,487 @@ export interface UpdateAccountStatusDto {
|
|
|
2036
2041
|
* New account status
|
|
2037
2042
|
* @example "frozen"
|
|
2038
2043
|
*/
|
|
2039
|
-
status: "pending" | "active" | "frozen" | "closed";
|
|
2044
|
+
status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
2040
2045
|
/**
|
|
2041
2046
|
* Reason for the status change
|
|
2042
2047
|
* @example "Suspicious activity detected"
|
|
2043
2048
|
*/
|
|
2044
2049
|
reason?: string;
|
|
2045
2050
|
}
|
|
2051
|
+
export interface AdminTransitionAccountDto {
|
|
2052
|
+
/**
|
|
2053
|
+
* Reason code from the governed lifecycle catalogue.
|
|
2054
|
+
* @maxLength 32
|
|
2055
|
+
* @example "OPS_REVIEW"
|
|
2056
|
+
*/
|
|
2057
|
+
reasonCode: string;
|
|
2058
|
+
}
|
|
2059
|
+
export interface AdminFreezeAccountDto {
|
|
2060
|
+
/**
|
|
2061
|
+
* Reason code from the governed lifecycle catalogue.
|
|
2062
|
+
* @maxLength 32
|
|
2063
|
+
* @example "AML_HOLD"
|
|
2064
|
+
*/
|
|
2065
|
+
reasonCode: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* Compliance case identifier (mandatory when freezing).
|
|
2068
|
+
* @maxLength 64
|
|
2069
|
+
* @example "CASE-2026-0142"
|
|
2070
|
+
*/
|
|
2071
|
+
caseId: string;
|
|
2072
|
+
}
|
|
2073
|
+
export interface PolicyRuleKindResponseDto {
|
|
2074
|
+
/**
|
|
2075
|
+
* Rule kind identifier
|
|
2076
|
+
* @example "ACCOUNT_OPEN"
|
|
2077
|
+
*/
|
|
2078
|
+
ruleKind: string;
|
|
2079
|
+
/**
|
|
2080
|
+
* Decision point (business checkpoint) this kind is evaluated at
|
|
2081
|
+
* @example "ACCOUNT_OPEN"
|
|
2082
|
+
*/
|
|
2083
|
+
decisionPoint: string;
|
|
2084
|
+
/**
|
|
2085
|
+
* Effect applied when no blocking rule matches
|
|
2086
|
+
* @example "ALLOW"
|
|
2087
|
+
*/
|
|
2088
|
+
defaultEffect: "ALLOW" | "DENY";
|
|
2089
|
+
/**
|
|
2090
|
+
* JSON schema for rules’ params under this kind (null if none)
|
|
2091
|
+
* @example {}
|
|
2092
|
+
*/
|
|
2093
|
+
paramsSchema: object | null;
|
|
2094
|
+
/**
|
|
2095
|
+
* Human-readable description
|
|
2096
|
+
* @example "Wallet creation eligibility, quotas, approvals"
|
|
2097
|
+
*/
|
|
2098
|
+
description: string;
|
|
2099
|
+
}
|
|
2100
|
+
export interface PolicyRuleResponseDto {
|
|
2101
|
+
/**
|
|
2102
|
+
* Unique rule id (UUID v4). Use it for GET/PUT /policies/rules/{id}.
|
|
2103
|
+
* @format uuid
|
|
2104
|
+
* @example "10000000-0000-4000-8000-000000000006"
|
|
2105
|
+
*/
|
|
2106
|
+
id: string;
|
|
2107
|
+
/**
|
|
2108
|
+
* Rule kind — the catalogue entry this rule belongs to. The kind decides which decision point (business checkpoint) the rule is evaluated at and the default outcome when nothing matches.
|
|
2109
|
+
* @example "ACCOUNT_OPEN"
|
|
2110
|
+
*/
|
|
2111
|
+
ruleKind: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* Human-readable name shown in the admin console.
|
|
2114
|
+
* @example "Agent wallet opening requires approval"
|
|
2115
|
+
*/
|
|
2116
|
+
name: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* SELECTOR — customer party type. `""` = wildcard (any party type). Example values: INDIVIDUAL, BUSINESS.
|
|
2119
|
+
* @example ""
|
|
2120
|
+
*/
|
|
2121
|
+
partyType: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* SELECTOR — wallet owner type. `""` = wildcard. One of: PERSONAL, MERCHANT, AGENT, INTERNAL. Here the rule only matches AGENT-owned wallets.
|
|
2124
|
+
* @example "AGENT"
|
|
2125
|
+
*/
|
|
2126
|
+
ownerType: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* SELECTOR — 3-digit account-type (TTT) code, e.g. 110 = personal savings. `""` = wildcard.
|
|
2129
|
+
* @example ""
|
|
2130
|
+
*/
|
|
2131
|
+
typeCode: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* SELECTOR — product template code. `""` = wildcard.
|
|
2134
|
+
* @example ""
|
|
2135
|
+
*/
|
|
2136
|
+
productCode: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* SELECTOR — ISO-4217 currency, e.g. SYP / USD. `""` = wildcard (any currency).
|
|
2139
|
+
* @example ""
|
|
2140
|
+
*/
|
|
2141
|
+
currency: string;
|
|
2142
|
+
/**
|
|
2143
|
+
* SELECTOR — 3-digit branch code, e.g. 001. `""` = wildcard.
|
|
2144
|
+
* @example ""
|
|
2145
|
+
*/
|
|
2146
|
+
branchCode: string;
|
|
2147
|
+
/**
|
|
2148
|
+
* SELECTOR — a single customer by 8-digit CIF (for customer-specific rules). `""` = wildcard (all customers).
|
|
2149
|
+
* @example ""
|
|
2150
|
+
*/
|
|
2151
|
+
customerCif: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* SELECTOR — request channel, e.g. MOBILE / WEB. `""` = wildcard.
|
|
2154
|
+
* @example ""
|
|
2155
|
+
*/
|
|
2156
|
+
channel: string;
|
|
2157
|
+
/**
|
|
2158
|
+
* EFFECT applied when the rule matches. ALLOW = permit; DENY = block; LIMIT = enforce a quota/bound from `params`; REQUIRE_APPROVAL = send for manual approval.
|
|
2159
|
+
* @example "REQUIRE_APPROVAL"
|
|
2160
|
+
*/
|
|
2161
|
+
effect: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
|
|
2162
|
+
/**
|
|
2163
|
+
* Parsed effect parameters (null if unset). Shape depends on the effect: LIMIT → { max, countBy } (a count quota) or { min, max } (a value bound); REQUIRE_APPROVAL → { prereq }; ALLOW/DENY → {}.
|
|
2164
|
+
* @example {"prereq":"AGENT_AGREEMENT"}
|
|
2165
|
+
*/
|
|
2166
|
+
params: object | null;
|
|
2167
|
+
/**
|
|
2168
|
+
* Conflict priority — LOWER number wins. (0 is reserved for the emergency kill-switch, which overrides everything.) Default 100.
|
|
2169
|
+
* @example 50
|
|
2170
|
+
*/
|
|
2171
|
+
priority: number;
|
|
2172
|
+
/**
|
|
2173
|
+
* ISO-8601 start of the validity window. `""` = effective immediately.
|
|
2174
|
+
* @example ""
|
|
2175
|
+
*/
|
|
2176
|
+
effectiveFrom: string;
|
|
2177
|
+
/**
|
|
2178
|
+
* ISO-8601 end of the validity window. `""` = never expires.
|
|
2179
|
+
* @example ""
|
|
2180
|
+
*/
|
|
2181
|
+
effectiveTo: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* Whether the rule is live. A rule only evaluates when isActive=true AND it has been approved. Editing a rule sets this back to false (DRAFT).
|
|
2184
|
+
* @example true
|
|
2185
|
+
*/
|
|
2186
|
+
isActive: boolean;
|
|
2187
|
+
/**
|
|
2188
|
+
* Four-eyes: the admin who approved (activated) the rule. `""` = not yet approved (still a draft). Must differ from createdBy.
|
|
2189
|
+
* @example "system"
|
|
2190
|
+
*/
|
|
2191
|
+
approvedBy: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* Four-eyes: the admin who authored/last-edited the rule.
|
|
2194
|
+
* @example "system"
|
|
2195
|
+
*/
|
|
2196
|
+
createdBy: string;
|
|
2197
|
+
/**
|
|
2198
|
+
* ISO-8601 creation timestamp.
|
|
2199
|
+
* @example "2026-06-15T00:00:00.000Z"
|
|
2200
|
+
*/
|
|
2201
|
+
createdAt: string;
|
|
2202
|
+
/**
|
|
2203
|
+
* ISO-8601 last-update timestamp.
|
|
2204
|
+
* @example "2026-06-15T00:00:00.000Z"
|
|
2205
|
+
*/
|
|
2206
|
+
updatedAt: string;
|
|
2207
|
+
}
|
|
2208
|
+
export interface CreatePolicyRuleDto {
|
|
2209
|
+
/**
|
|
2210
|
+
* Rule kind — the catalogue entry (and its decision point) this rule belongs to. Must be an existing kind.
|
|
2211
|
+
* @maxLength 40
|
|
2212
|
+
* @example "ACCOUNT_OPEN"
|
|
2213
|
+
*/
|
|
2214
|
+
ruleKind: string;
|
|
2215
|
+
/**
|
|
2216
|
+
* Human-readable rule name
|
|
2217
|
+
* @maxLength 120
|
|
2218
|
+
* @example "Block opening for sanctioned branches"
|
|
2219
|
+
*/
|
|
2220
|
+
name: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* Party type selector (wildcard if omitted)
|
|
2223
|
+
* @maxLength 12
|
|
2224
|
+
* @example "INDIVIDUAL"
|
|
2225
|
+
*/
|
|
2226
|
+
partyType?: string;
|
|
2227
|
+
/**
|
|
2228
|
+
* Owner type selector (wildcard if omitted)
|
|
2229
|
+
* @example "MERCHANT"
|
|
2230
|
+
*/
|
|
2231
|
+
ownerType?: "PERSONAL" | "MERCHANT" | "AGENT" | "INTERNAL";
|
|
2232
|
+
/**
|
|
2233
|
+
* Account type code selector — 3-digit TTT code (wildcard if omitted)
|
|
2234
|
+
* @example "110"
|
|
2235
|
+
*/
|
|
2236
|
+
typeCode?: string;
|
|
2237
|
+
/**
|
|
2238
|
+
* Product code selector (wildcard if omitted)
|
|
2239
|
+
* @maxLength 24
|
|
2240
|
+
* @example "PERSONAL_SAVINGS_V1"
|
|
2241
|
+
*/
|
|
2242
|
+
productCode?: string;
|
|
2243
|
+
/**
|
|
2244
|
+
* Currency selector — ISO-4217 alpha code (wildcard if omitted)
|
|
2245
|
+
* @example "SYP"
|
|
2246
|
+
*/
|
|
2247
|
+
currency?: string;
|
|
2248
|
+
/**
|
|
2249
|
+
* Branch code selector — 3-digit code (wildcard if omitted)
|
|
2250
|
+
* @example "001"
|
|
2251
|
+
*/
|
|
2252
|
+
branchCode?: string;
|
|
2253
|
+
/**
|
|
2254
|
+
* Customer CIF selector — 8-digit CIF (wildcard if omitted)
|
|
2255
|
+
* @example "10000001"
|
|
2256
|
+
*/
|
|
2257
|
+
customerCif?: string;
|
|
2258
|
+
/**
|
|
2259
|
+
* Channel selector (wildcard if omitted)
|
|
2260
|
+
* @maxLength 16
|
|
2261
|
+
* @example "MOBILE"
|
|
2262
|
+
*/
|
|
2263
|
+
channel?: string;
|
|
2264
|
+
/**
|
|
2265
|
+
* Effect applied when the rule matches
|
|
2266
|
+
* @example "DENY"
|
|
2267
|
+
*/
|
|
2268
|
+
effect: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
|
|
2269
|
+
/**
|
|
2270
|
+
* Effect parameters as a JSON object (shape depends on effect: LIMIT → { max, countBy } or { min, max }; REQUIRE_APPROVAL → { prereq }; ALLOW/DENY → {})
|
|
2271
|
+
* @example {"max":5,"countBy":[]}
|
|
2272
|
+
*/
|
|
2273
|
+
params?: object;
|
|
2274
|
+
/**
|
|
2275
|
+
* Evaluation priority (lower number wins; defaults to 100)
|
|
2276
|
+
* @min 1
|
|
2277
|
+
* @max 1000000
|
|
2278
|
+
* @example 100
|
|
2279
|
+
*/
|
|
2280
|
+
priority?: number;
|
|
2281
|
+
/**
|
|
2282
|
+
* ISO-8601 timestamp the rule becomes effective
|
|
2283
|
+
* @example "2026-01-01T00:00:00.000Z"
|
|
2284
|
+
*/
|
|
2285
|
+
effectiveFrom?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* ISO-8601 timestamp the rule stops being effective
|
|
2288
|
+
* @example "2026-12-31T23:59:59.000Z"
|
|
2289
|
+
*/
|
|
2290
|
+
effectiveTo?: string;
|
|
2291
|
+
}
|
|
2292
|
+
export interface UpdatePolicyRuleDto {
|
|
2293
|
+
/**
|
|
2294
|
+
* Human-readable rule name
|
|
2295
|
+
* @maxLength 120
|
|
2296
|
+
* @example "Block opening for sanctioned branches"
|
|
2297
|
+
*/
|
|
2298
|
+
name?: string;
|
|
2299
|
+
/**
|
|
2300
|
+
* Party type selector (wildcard if omitted)
|
|
2301
|
+
* @maxLength 12
|
|
2302
|
+
* @example "INDIVIDUAL"
|
|
2303
|
+
*/
|
|
2304
|
+
partyType?: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* Owner type selector (wildcard if omitted)
|
|
2307
|
+
* @example "MERCHANT"
|
|
2308
|
+
*/
|
|
2309
|
+
ownerType?: "PERSONAL" | "MERCHANT" | "AGENT" | "INTERNAL";
|
|
2310
|
+
/**
|
|
2311
|
+
* Account type code selector — 3-digit TTT code (wildcard if omitted)
|
|
2312
|
+
* @example "110"
|
|
2313
|
+
*/
|
|
2314
|
+
typeCode?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* Product code selector (wildcard if omitted)
|
|
2317
|
+
* @maxLength 24
|
|
2318
|
+
* @example "PERSONAL_SAVINGS_V1"
|
|
2319
|
+
*/
|
|
2320
|
+
productCode?: string;
|
|
2321
|
+
/**
|
|
2322
|
+
* Currency selector — ISO-4217 alpha code (wildcard if omitted)
|
|
2323
|
+
* @example "SYP"
|
|
2324
|
+
*/
|
|
2325
|
+
currency?: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* Branch code selector — 3-digit code (wildcard if omitted)
|
|
2328
|
+
* @example "001"
|
|
2329
|
+
*/
|
|
2330
|
+
branchCode?: string;
|
|
2331
|
+
/**
|
|
2332
|
+
* Customer CIF selector — 8-digit CIF (wildcard if omitted)
|
|
2333
|
+
* @example "10000001"
|
|
2334
|
+
*/
|
|
2335
|
+
customerCif?: string;
|
|
2336
|
+
/**
|
|
2337
|
+
* Channel selector (wildcard if omitted)
|
|
2338
|
+
* @maxLength 16
|
|
2339
|
+
* @example "MOBILE"
|
|
2340
|
+
*/
|
|
2341
|
+
channel?: string;
|
|
2342
|
+
/**
|
|
2343
|
+
* Effect applied when the rule matches
|
|
2344
|
+
* @example "DENY"
|
|
2345
|
+
*/
|
|
2346
|
+
effect?: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
|
|
2347
|
+
/**
|
|
2348
|
+
* Effect parameters as a JSON object (shape depends on effect: LIMIT → { max, countBy } or { min, max }; REQUIRE_APPROVAL → { prereq }; ALLOW/DENY → {})
|
|
2349
|
+
* @example {"max":5,"countBy":[]}
|
|
2350
|
+
*/
|
|
2351
|
+
params?: object;
|
|
2352
|
+
/**
|
|
2353
|
+
* Evaluation priority (lower number wins)
|
|
2354
|
+
* @min 1
|
|
2355
|
+
* @max 1000000
|
|
2356
|
+
* @example 100
|
|
2357
|
+
*/
|
|
2358
|
+
priority?: number;
|
|
2359
|
+
/**
|
|
2360
|
+
* ISO-8601 timestamp the rule becomes effective
|
|
2361
|
+
* @example "2026-01-01T00:00:00.000Z"
|
|
2362
|
+
*/
|
|
2363
|
+
effectiveFrom?: string;
|
|
2364
|
+
/**
|
|
2365
|
+
* ISO-8601 timestamp the rule stops being effective
|
|
2366
|
+
* @example "2026-12-31T23:59:59.000Z"
|
|
2367
|
+
*/
|
|
2368
|
+
effectiveTo?: string;
|
|
2369
|
+
}
|
|
2370
|
+
export interface ActivateKillSwitchDto {
|
|
2371
|
+
/**
|
|
2372
|
+
* Decision point to block (e.g. ACCOUNT_OPEN)
|
|
2373
|
+
* @example "ACCOUNT_OPEN"
|
|
2374
|
+
*/
|
|
2375
|
+
decisionPoint: string;
|
|
2376
|
+
}
|
|
2377
|
+
export interface SimulatePolicyRuleDto {
|
|
2378
|
+
/**
|
|
2379
|
+
* Decision point to evaluate against
|
|
2380
|
+
* @example "ACCOUNT_OPEN"
|
|
2381
|
+
*/
|
|
2382
|
+
decisionPoint: string;
|
|
2383
|
+
/** Draft rule to evaluate (not persisted) */
|
|
2384
|
+
draft: CreatePolicyRuleDto;
|
|
2385
|
+
/**
|
|
2386
|
+
* Subjects to evaluate the draft against
|
|
2387
|
+
* @example [{"branchCode":"001","currency":"SYP"}]
|
|
2388
|
+
*/
|
|
2389
|
+
subjects: object[];
|
|
2390
|
+
}
|
|
2391
|
+
export interface AccountProductResponseDto {
|
|
2392
|
+
/**
|
|
2393
|
+
* Product code
|
|
2394
|
+
* @example "PERS-CURRENT"
|
|
2395
|
+
*/
|
|
2396
|
+
productCode: string;
|
|
2397
|
+
/**
|
|
2398
|
+
* Version (immutable once wallets reference it)
|
|
2399
|
+
* @example 1
|
|
2400
|
+
*/
|
|
2401
|
+
productVersion: number;
|
|
2402
|
+
/**
|
|
2403
|
+
* Account type (TTT) code
|
|
2404
|
+
* @example "100"
|
|
2405
|
+
*/
|
|
2406
|
+
typeCode: string;
|
|
2407
|
+
/**
|
|
2408
|
+
* Currencies a wallet of this product may be opened in
|
|
2409
|
+
* @example ["SYP","USD"]
|
|
2410
|
+
*/
|
|
2411
|
+
eligibleCurrencies: string[];
|
|
2412
|
+
/**
|
|
2413
|
+
* Feature flags inherited at creation
|
|
2414
|
+
* @example {"qr_static":true,"qr_dynamic":true,"cash_in":true}
|
|
2415
|
+
*/
|
|
2416
|
+
featureFlags: object;
|
|
2417
|
+
/**
|
|
2418
|
+
* Authoring view of default limits
|
|
2419
|
+
* @example {}
|
|
2420
|
+
*/
|
|
2421
|
+
limitDefaults: object;
|
|
2422
|
+
/**
|
|
2423
|
+
* Inactivity days before DORMANT (null = no dormancy)
|
|
2424
|
+
* @example 365
|
|
2425
|
+
*/
|
|
2426
|
+
dormancyDays: object | null;
|
|
2427
|
+
/**
|
|
2428
|
+
* Fee schedule code (null = none)
|
|
2429
|
+
* @example null
|
|
2430
|
+
*/
|
|
2431
|
+
feeScheduleCode: object | null;
|
|
2432
|
+
/** @example "ACTIVE" */
|
|
2433
|
+
status: "DRAFT" | "ACTIVE" | "GRANDFATHERED" | "RETIRED";
|
|
2434
|
+
/**
|
|
2435
|
+
* Admin who authored/last-edited the draft
|
|
2436
|
+
* @example "system"
|
|
2437
|
+
*/
|
|
2438
|
+
createdBy: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* Admin who approved (activated) the version; "" = unapproved draft. Must differ from createdBy.
|
|
2441
|
+
* @example "system"
|
|
2442
|
+
*/
|
|
2443
|
+
approvedBy: string;
|
|
2444
|
+
/** @example "2026-06-15T00:00:00.000Z" */
|
|
2445
|
+
createdAt: string;
|
|
2446
|
+
/** @example "2026-06-15T00:00:00.000Z" */
|
|
2447
|
+
updatedAt: string;
|
|
2448
|
+
}
|
|
2449
|
+
export interface CreateAccountProductDto {
|
|
2450
|
+
/**
|
|
2451
|
+
* Unique product code — uppercase letters, digits, dashes.
|
|
2452
|
+
* @maxLength 24
|
|
2453
|
+
* @example "PERS-PREMIUM"
|
|
2454
|
+
*/
|
|
2455
|
+
productCode: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* Account type (TTT) code this product instantiates, e.g. 100 = personal current.
|
|
2458
|
+
* @example "100"
|
|
2459
|
+
*/
|
|
2460
|
+
typeCode: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* ISO-4217 currencies a wallet of this product may be opened in.
|
|
2463
|
+
* @example ["SYP","USD"]
|
|
2464
|
+
*/
|
|
2465
|
+
eligibleCurrencies: string[];
|
|
2466
|
+
/**
|
|
2467
|
+
* Feature flags { flag: boolean } a wallet inherits at creation.
|
|
2468
|
+
* @example {"qr_static":true,"qr_dynamic":true,"cash_in":true}
|
|
2469
|
+
*/
|
|
2470
|
+
featureFlags?: object;
|
|
2471
|
+
/**
|
|
2472
|
+
* Authoring view of default limits (the runtime source of truth is the rules engine).
|
|
2473
|
+
* @example {"DAILY_TRANSFER":"5000000"}
|
|
2474
|
+
*/
|
|
2475
|
+
limitDefaults?: object;
|
|
2476
|
+
/**
|
|
2477
|
+
* Inactivity days before a wallet goes DORMANT. Omit for no dormancy.
|
|
2478
|
+
* @min 1
|
|
2479
|
+
* @max 36500
|
|
2480
|
+
* @example 365
|
|
2481
|
+
*/
|
|
2482
|
+
dormancyDays?: number;
|
|
2483
|
+
/**
|
|
2484
|
+
* Fee schedule code (reserved for the fee framework).
|
|
2485
|
+
* @maxLength 24
|
|
2486
|
+
* @example "STD-FEES"
|
|
2487
|
+
*/
|
|
2488
|
+
feeScheduleCode?: string;
|
|
2489
|
+
}
|
|
2490
|
+
export interface UpdateAccountProductDto {
|
|
2491
|
+
/**
|
|
2492
|
+
* Account type (TTT) code this product instantiates.
|
|
2493
|
+
* @example "100"
|
|
2494
|
+
*/
|
|
2495
|
+
typeCode: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* ISO-4217 currencies a wallet of this product may be opened in.
|
|
2498
|
+
* @example ["SYP","USD"]
|
|
2499
|
+
*/
|
|
2500
|
+
eligibleCurrencies: string[];
|
|
2501
|
+
/**
|
|
2502
|
+
* Feature flags { flag: boolean } a wallet inherits at creation.
|
|
2503
|
+
* @example {"qr_static":true,"qr_dynamic":true,"cash_in":true}
|
|
2504
|
+
*/
|
|
2505
|
+
featureFlags?: object;
|
|
2506
|
+
/**
|
|
2507
|
+
* Authoring view of default limits.
|
|
2508
|
+
* @example {"DAILY_TRANSFER":"5000000"}
|
|
2509
|
+
*/
|
|
2510
|
+
limitDefaults?: object;
|
|
2511
|
+
/**
|
|
2512
|
+
* Inactivity days before DORMANT. Omit for no dormancy.
|
|
2513
|
+
* @min 1
|
|
2514
|
+
* @max 36500
|
|
2515
|
+
* @example 365
|
|
2516
|
+
*/
|
|
2517
|
+
dormancyDays?: number;
|
|
2518
|
+
/**
|
|
2519
|
+
* Fee schedule code (reserved for the fee framework).
|
|
2520
|
+
* @maxLength 24
|
|
2521
|
+
* @example "STD-FEES"
|
|
2522
|
+
*/
|
|
2523
|
+
feeScheduleCode?: string;
|
|
2524
|
+
}
|
|
2046
2525
|
export interface MerchantStatisticsResponseDto {
|
|
2047
2526
|
/**
|
|
2048
2527
|
* Total number of merchants
|
|
@@ -2140,6 +2619,37 @@ export interface UpdateMerchantStatusDto {
|
|
|
2140
2619
|
*/
|
|
2141
2620
|
reason?: string;
|
|
2142
2621
|
}
|
|
2622
|
+
export interface MerchantCategoryResponseDto {
|
|
2623
|
+
/**
|
|
2624
|
+
* 4-digit MCC code
|
|
2625
|
+
* @example "5411"
|
|
2626
|
+
*/
|
|
2627
|
+
code: string;
|
|
2628
|
+
name: LocalizedNameDto;
|
|
2629
|
+
/** @example true */
|
|
2630
|
+
isActive: boolean;
|
|
2631
|
+
/** @format date-time */
|
|
2632
|
+
createdAt: string;
|
|
2633
|
+
/** @format date-time */
|
|
2634
|
+
updatedAt: string;
|
|
2635
|
+
}
|
|
2636
|
+
export interface MerchantCategoriesListResponseDto {
|
|
2637
|
+
categories: MerchantCategoryResponseDto[];
|
|
2638
|
+
}
|
|
2639
|
+
export interface CreateMerchantCategoryDto {
|
|
2640
|
+
/**
|
|
2641
|
+
* 4-digit MCC code (immutable once created)
|
|
2642
|
+
* @example "5411"
|
|
2643
|
+
*/
|
|
2644
|
+
code: string;
|
|
2645
|
+
/** Translatable display name */
|
|
2646
|
+
name: LocalizedNameDto;
|
|
2647
|
+
}
|
|
2648
|
+
export interface UpdateMerchantCategoryDto {
|
|
2649
|
+
name?: LocalizedNameDto;
|
|
2650
|
+
/** Toggle whether new merchants may register under this category */
|
|
2651
|
+
isActive?: boolean;
|
|
2652
|
+
}
|
|
2143
2653
|
export interface CurrencyStatsDto {
|
|
2144
2654
|
/** @example "SYP" */
|
|
2145
2655
|
currency: string;
|
|
@@ -3315,7 +3825,7 @@ export interface FindAllParams8 {
|
|
|
3315
3825
|
*/
|
|
3316
3826
|
read?: boolean;
|
|
3317
3827
|
}
|
|
3318
|
-
export type
|
|
3828
|
+
export type FindAllResult2 = AdminNotificationListResponseDto;
|
|
3319
3829
|
export type GetUnreadCountData = any;
|
|
3320
3830
|
export interface MarkAsReadParams {
|
|
3321
3831
|
/** Notification ID */
|
|
@@ -3428,7 +3938,7 @@ export interface List2Params {
|
|
|
3428
3938
|
only_active: string;
|
|
3429
3939
|
}
|
|
3430
3940
|
export type List2Data = DocumentTypeResponseDto[];
|
|
3431
|
-
export type
|
|
3941
|
+
export type CreateData1 = any;
|
|
3432
3942
|
export interface ListVersionsParams {
|
|
3433
3943
|
code: string;
|
|
3434
3944
|
}
|
|
@@ -3588,7 +4098,7 @@ export interface ListAccountsParams {
|
|
|
3588
4098
|
* Filter by account status
|
|
3589
4099
|
* @example "active"
|
|
3590
4100
|
*/
|
|
3591
|
-
status?: "pending" | "active" | "frozen" | "closed";
|
|
4101
|
+
status?: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
3592
4102
|
/**
|
|
3593
4103
|
* Filter by account type
|
|
3594
4104
|
* @example "personal"
|
|
@@ -3621,6 +4131,131 @@ export interface UpdateAccountStatusParams {
|
|
|
3621
4131
|
id: string;
|
|
3622
4132
|
}
|
|
3623
4133
|
export type UpdateAccountStatusData = AdminAccountResponseDto;
|
|
4134
|
+
export interface ActivateParams {
|
|
4135
|
+
/** Account ID (UUID) */
|
|
4136
|
+
id: string;
|
|
4137
|
+
}
|
|
4138
|
+
export type ActivateData = AdminAccountResponseDto;
|
|
4139
|
+
export interface RestrictParams {
|
|
4140
|
+
/** Account ID (UUID) */
|
|
4141
|
+
id: string;
|
|
4142
|
+
}
|
|
4143
|
+
export type RestrictData = AdminAccountResponseDto;
|
|
4144
|
+
export interface SuspendParams {
|
|
4145
|
+
/** Account ID (UUID) */
|
|
4146
|
+
id: string;
|
|
4147
|
+
}
|
|
4148
|
+
export type SuspendData = AdminAccountResponseDto;
|
|
4149
|
+
export interface UnsuspendParams {
|
|
4150
|
+
/** Account ID (UUID) */
|
|
4151
|
+
id: string;
|
|
4152
|
+
}
|
|
4153
|
+
export type UnsuspendData = AdminAccountResponseDto;
|
|
4154
|
+
export interface FreezeParams {
|
|
4155
|
+
/** Account ID (UUID) */
|
|
4156
|
+
id: string;
|
|
4157
|
+
}
|
|
4158
|
+
export type FreezeData = AdminAccountResponseDto;
|
|
4159
|
+
export interface UnfreezeParams {
|
|
4160
|
+
/** Account ID (UUID) */
|
|
4161
|
+
id: string;
|
|
4162
|
+
}
|
|
4163
|
+
export type UnfreezeData = AdminAccountResponseDto;
|
|
4164
|
+
export type ListRuleKindsData = PolicyRuleKindResponseDto[];
|
|
4165
|
+
export interface ListRulesParams {
|
|
4166
|
+
ruleKind?: string;
|
|
4167
|
+
decisionPoint?: string;
|
|
4168
|
+
/** Filter by active state ("true"/"false") */
|
|
4169
|
+
active?: string;
|
|
4170
|
+
}
|
|
4171
|
+
export type ListRulesData = PolicyRuleResponseDto[];
|
|
4172
|
+
export type CreateRuleData = PolicyRuleResponseDto;
|
|
4173
|
+
export interface GetRuleParams {
|
|
4174
|
+
/**
|
|
4175
|
+
* Rule ID (UUID v4)
|
|
4176
|
+
* @format uuid
|
|
4177
|
+
* @example "10000000-0000-4000-8000-000000000006"
|
|
4178
|
+
*/
|
|
4179
|
+
id: string;
|
|
4180
|
+
}
|
|
4181
|
+
export type GetRuleData = PolicyRuleResponseDto;
|
|
4182
|
+
export interface UpdateRuleParams {
|
|
4183
|
+
/**
|
|
4184
|
+
* Rule ID (UUID v4)
|
|
4185
|
+
* @format uuid
|
|
4186
|
+
* @example "10000000-0000-4000-8000-000000000006"
|
|
4187
|
+
*/
|
|
4188
|
+
id: string;
|
|
4189
|
+
}
|
|
4190
|
+
export type UpdateRuleData = PolicyRuleResponseDto;
|
|
4191
|
+
export interface ApproveRuleParams {
|
|
4192
|
+
/** Rule ID (UUID) */
|
|
4193
|
+
id: string;
|
|
4194
|
+
}
|
|
4195
|
+
export type ApproveRuleData = any;
|
|
4196
|
+
export interface DeactivateRuleParams {
|
|
4197
|
+
/** Rule ID (UUID) */
|
|
4198
|
+
id: string;
|
|
4199
|
+
}
|
|
4200
|
+
export type DeactivateRuleData = any;
|
|
4201
|
+
export type KillSwitchData = any;
|
|
4202
|
+
export type SimulateData = any;
|
|
4203
|
+
export interface ListDecisionsParams {
|
|
4204
|
+
decisionPoint?: string;
|
|
4205
|
+
customerCif?: string;
|
|
4206
|
+
/** Max rows to return (default: 50, max: 500) */
|
|
4207
|
+
limit?: number;
|
|
4208
|
+
}
|
|
4209
|
+
export type ListDecisionsData = any;
|
|
4210
|
+
export interface ListParams2 {
|
|
4211
|
+
status?: "DRAFT" | "ACTIVE" | "GRANDFATHERED" | "RETIRED";
|
|
4212
|
+
/** @example "100" */
|
|
4213
|
+
typeCode?: string;
|
|
4214
|
+
/** @example "PERS-CURRENT" */
|
|
4215
|
+
productCode?: string;
|
|
4216
|
+
}
|
|
4217
|
+
export type ListResult = AccountProductResponseDto[];
|
|
4218
|
+
export type CreateResult1 = AccountProductResponseDto;
|
|
4219
|
+
export interface GetParams2 {
|
|
4220
|
+
/** @example "PERS-CURRENT" */
|
|
4221
|
+
code: string;
|
|
4222
|
+
/** @example 1 */
|
|
4223
|
+
version: number;
|
|
4224
|
+
}
|
|
4225
|
+
export type GetResult = AccountProductResponseDto;
|
|
4226
|
+
export interface UpdateParams6 {
|
|
4227
|
+
/** @example "PERS-CURRENT" */
|
|
4228
|
+
code: string;
|
|
4229
|
+
/** @example 2 */
|
|
4230
|
+
version: number;
|
|
4231
|
+
}
|
|
4232
|
+
export type UpdateData1 = AccountProductResponseDto;
|
|
4233
|
+
export interface PublishVersionParams {
|
|
4234
|
+
/** @example "PERS-CURRENT" */
|
|
4235
|
+
code: string;
|
|
4236
|
+
}
|
|
4237
|
+
export type PublishVersionData = AccountProductResponseDto;
|
|
4238
|
+
export interface ApproveParams2 {
|
|
4239
|
+
/** @example "PERS-CURRENT" */
|
|
4240
|
+
code: string;
|
|
4241
|
+
/** @example 2 */
|
|
4242
|
+
version: number;
|
|
4243
|
+
}
|
|
4244
|
+
export type ApproveResult = AccountProductResponseDto;
|
|
4245
|
+
export interface GrandfatherParams {
|
|
4246
|
+
/** @example "PERS-CURRENT" */
|
|
4247
|
+
code: string;
|
|
4248
|
+
/** @example 1 */
|
|
4249
|
+
version: number;
|
|
4250
|
+
}
|
|
4251
|
+
export type GrandfatherData = AccountProductResponseDto;
|
|
4252
|
+
export interface RetireParams {
|
|
4253
|
+
/** @example "PERS-CURRENT" */
|
|
4254
|
+
code: string;
|
|
4255
|
+
/** @example 1 */
|
|
4256
|
+
version: number;
|
|
4257
|
+
}
|
|
4258
|
+
export type RetireData = AccountProductResponseDto;
|
|
3624
4259
|
export type GetStatisticsOutput = MerchantStatisticsResponseDto;
|
|
3625
4260
|
export interface ListMerchantsParams {
|
|
3626
4261
|
/**
|
|
@@ -3675,6 +4310,17 @@ export interface UpdateMerchantStatusParams {
|
|
|
3675
4310
|
id: string;
|
|
3676
4311
|
}
|
|
3677
4312
|
export type UpdateMerchantStatusData = MerchantResponseDto;
|
|
4313
|
+
export interface ListParams4 {
|
|
4314
|
+
/** Return only active categories */
|
|
4315
|
+
onlyActive?: boolean;
|
|
4316
|
+
}
|
|
4317
|
+
export type ListOutput = MerchantCategoriesListResponseDto;
|
|
4318
|
+
export type CreateResult2 = MerchantCategoryResponseDto;
|
|
4319
|
+
export interface UpdateParams8 {
|
|
4320
|
+
/** 4-digit MCC code */
|
|
4321
|
+
code: string;
|
|
4322
|
+
}
|
|
4323
|
+
export type UpdateResult1 = MerchantCategoryResponseDto;
|
|
3678
4324
|
export interface GetStatisticsParams3 {
|
|
3679
4325
|
/** Start date filter (ISO date, e.g. 2025-01-01) */
|
|
3680
4326
|
startDate?: string;
|
|
@@ -3683,7 +4329,7 @@ export interface GetStatisticsParams3 {
|
|
|
3683
4329
|
/** Filter by currency */
|
|
3684
4330
|
currency?: "SYP" | "USD" | "EUR";
|
|
3685
4331
|
}
|
|
3686
|
-
export type
|
|
4332
|
+
export type GetStatisticsOutput1 = TransactionStatisticsResponseDto;
|
|
3687
4333
|
export interface ListTransactionsParams {
|
|
3688
4334
|
/** Search by transaction ID or public transaction ID */
|
|
3689
4335
|
search?: string;
|
|
@@ -3718,8 +4364,8 @@ export type GetTransactionDetailData = AdminTransactionDetailResponseDto;
|
|
|
3718
4364
|
export type GetTransactionDetailError = ErrorResponseDto;
|
|
3719
4365
|
export type SendGlobalNotificationData = SendGlobalNotificationResponseDto;
|
|
3720
4366
|
export type SendGlobalNotificationError = ErrorResponseDto;
|
|
3721
|
-
export type
|
|
3722
|
-
export type
|
|
4367
|
+
export type CreateResult3 = ScheduledNotificationResponseDto;
|
|
4368
|
+
export type CreateBadResponse = ErrorResponseDto;
|
|
3723
4369
|
export interface FindAllParams10 {
|
|
3724
4370
|
/** Filter by status */
|
|
3725
4371
|
status?: "pending" | "sent" | "failed" | "cancelled";
|
|
@@ -3735,19 +4381,19 @@ export interface FindAllParams10 {
|
|
|
3735
4381
|
*/
|
|
3736
4382
|
limit?: number;
|
|
3737
4383
|
}
|
|
3738
|
-
export type
|
|
4384
|
+
export type FindAllResult3 = ScheduledNotificationsListResponseDto;
|
|
3739
4385
|
export interface FindOneParams {
|
|
3740
4386
|
/** MongoDB ObjectId */
|
|
3741
4387
|
id: string;
|
|
3742
4388
|
}
|
|
3743
4389
|
export type FindOneData = ScheduledNotificationResponseDto;
|
|
3744
4390
|
export type FindOneError = ErrorResponseDto;
|
|
3745
|
-
export interface
|
|
4391
|
+
export interface UpdateParams10 {
|
|
3746
4392
|
/** MongoDB ObjectId */
|
|
3747
4393
|
id: string;
|
|
3748
4394
|
}
|
|
3749
|
-
export type
|
|
3750
|
-
export type
|
|
4395
|
+
export type UpdateData2 = ScheduledNotificationResponseDto;
|
|
4396
|
+
export type UpdateBadResponse = ErrorResponseDto;
|
|
3751
4397
|
export interface RemoveParams2 {
|
|
3752
4398
|
/** MongoDB ObjectId */
|
|
3753
4399
|
id: string;
|
|
@@ -3809,13 +4455,13 @@ export interface DeleteDocumentParams {
|
|
|
3809
4455
|
}
|
|
3810
4456
|
export type DeleteDocumentData = any;
|
|
3811
4457
|
export type DeleteDocumentError = ErrorResponseDto;
|
|
3812
|
-
export type
|
|
4458
|
+
export type ListResult1 = AppVersionPolicyListResponseDto;
|
|
3813
4459
|
export type UpsertData = AppVersionPolicyDto;
|
|
3814
|
-
export interface
|
|
4460
|
+
export interface GetParams4 {
|
|
3815
4461
|
platform: "ios" | "android";
|
|
3816
4462
|
}
|
|
3817
|
-
export type
|
|
3818
|
-
export type
|
|
4463
|
+
export type GetOutput = AppVersionPolicyDto;
|
|
4464
|
+
export type GetStatisticsOutput2 = UserStatisticsResponseDto;
|
|
3819
4465
|
export interface FindAllParams12 {
|
|
3820
4466
|
/**
|
|
3821
4467
|
* Page number (1-based)
|
|
@@ -3863,7 +4509,7 @@ export interface FindAllParams12 {
|
|
|
3863
4509
|
*/
|
|
3864
4510
|
query?: string;
|
|
3865
4511
|
}
|
|
3866
|
-
export type
|
|
4512
|
+
export type FindAllData1 = PersonListResponseDto;
|
|
3867
4513
|
export interface ExportUsersParams {
|
|
3868
4514
|
/**
|
|
3869
4515
|
* Field to sort by
|
|
@@ -3948,46 +4594,46 @@ export interface FindAllParams14 {
|
|
|
3948
4594
|
*/
|
|
3949
4595
|
endDate?: string;
|
|
3950
4596
|
}
|
|
3951
|
-
export type
|
|
4597
|
+
export type FindAllResult4 = DlqMessageListResponseDto;
|
|
3952
4598
|
export type PendingByTopicData = DlqPendingByTopicResponseDto[];
|
|
3953
4599
|
export interface FindByIdParams8 {
|
|
3954
4600
|
id: string;
|
|
3955
4601
|
}
|
|
3956
|
-
export type
|
|
4602
|
+
export type FindByIdResult2 = DlqMessageResponseDto;
|
|
3957
4603
|
export interface ResolveParams {
|
|
3958
4604
|
id: string;
|
|
3959
4605
|
}
|
|
3960
4606
|
export type ResolveData = DlqMessageResponseDto;
|
|
3961
|
-
export interface
|
|
4607
|
+
export interface ListParams7 {
|
|
3962
4608
|
/** Return only active branches */
|
|
3963
4609
|
onlyActive?: boolean;
|
|
3964
4610
|
}
|
|
3965
|
-
export type
|
|
3966
|
-
export type
|
|
4611
|
+
export type ListResult2 = BankBranchesListResponseDto;
|
|
4612
|
+
export type CreateResult4 = BankBranchResponseDto;
|
|
3967
4613
|
export interface GetByCodeParams {
|
|
3968
4614
|
/** 3-digit branch code */
|
|
3969
4615
|
code: string;
|
|
3970
4616
|
}
|
|
3971
4617
|
export type GetByCodeData = BankBranchResponseDto;
|
|
3972
|
-
export interface
|
|
4618
|
+
export interface UpdateParams12 {
|
|
3973
4619
|
/** 3-digit branch code */
|
|
3974
4620
|
code: string;
|
|
3975
4621
|
}
|
|
3976
4622
|
export type UpdateResult2 = BankBranchResponseDto;
|
|
3977
|
-
export interface
|
|
4623
|
+
export interface ListParams9 {
|
|
3978
4624
|
onlyActive?: boolean;
|
|
3979
4625
|
}
|
|
3980
|
-
export type
|
|
3981
|
-
export interface
|
|
4626
|
+
export type ListOutput1 = AccountTypesListResponseDto;
|
|
4627
|
+
export interface UpdateParams14 {
|
|
3982
4628
|
/** 2-digit account-type code */
|
|
3983
4629
|
code: string;
|
|
3984
4630
|
}
|
|
3985
|
-
export type
|
|
3986
|
-
export interface
|
|
4631
|
+
export type UpdateOutput1 = AccountTypeResponseDto;
|
|
4632
|
+
export interface ListParams11 {
|
|
3987
4633
|
onlyActive?: boolean;
|
|
3988
4634
|
}
|
|
3989
|
-
export type
|
|
3990
|
-
export type
|
|
4635
|
+
export type ListResult3 = CurrencyConfigListResponseDto;
|
|
4636
|
+
export type CreateOutput1 = CurrencyConfigResponseDto;
|
|
3991
4637
|
export interface GetByCodeParams2 {
|
|
3992
4638
|
/** ISO 4217 alpha-3 code (e.g. USD) */
|
|
3993
4639
|
code: string;
|
|
@@ -3998,11 +4644,11 @@ export interface DeleteParams6 {
|
|
|
3998
4644
|
code: string;
|
|
3999
4645
|
}
|
|
4000
4646
|
export type DeleteResult1 = any;
|
|
4001
|
-
export interface
|
|
4647
|
+
export interface UpdateParams16 {
|
|
4002
4648
|
/** ISO 4217 alpha-3 code */
|
|
4003
4649
|
code: string;
|
|
4004
4650
|
}
|
|
4005
|
-
export type
|
|
4651
|
+
export type UpdateData3 = CurrencyConfigResponseDto;
|
|
4006
4652
|
export interface ListRequestsParams {
|
|
4007
4653
|
/** Filter by status */
|
|
4008
4654
|
status?: "PENDING" | "APPROVED" | "EXECUTED" | "FAILED" | "REJECTED" | "EXPIRED" | "CANCELLED";
|
|
@@ -4037,10 +4683,10 @@ export interface CancelParams {
|
|
|
4037
4683
|
id: string;
|
|
4038
4684
|
}
|
|
4039
4685
|
export type CancelData = ApprovalRequestResponseDto;
|
|
4040
|
-
export type
|
|
4041
|
-
export interface
|
|
4686
|
+
export type ListResult4 = ApprovalPolicyResponseDto[];
|
|
4687
|
+
export interface UpdateParams18 {
|
|
4042
4688
|
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
4043
4689
|
}
|
|
4044
|
-
export type
|
|
4690
|
+
export type UpdateOutput2 = ApprovalPolicyResponseDto;
|
|
4045
4691
|
export type IndexData = any;
|
|
4046
4692
|
//# sourceMappingURL=data-contracts.d.ts.map
|