@tammsyr/admin-api-client 1.3.4 → 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/ActivityLogs.d.ts.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/BankBranches.d.ts +3 -3
- package/dist/BankBranches.d.ts.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/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 +3 -3
- package/dist/MerchantCategories.d.ts.map +1 -1
- package/dist/MerchantCategories.js.map +1 -1
- package/dist/Policies.d.ts +6 -6
- package/dist/Policies.d.ts.map +1 -1
- package/dist/Policies.js +5 -0
- package/dist/Policies.js.map +1 -1
- package/dist/Transactions.js.map +1 -1
- package/dist/data-contracts.d.ts +454 -69
- package/dist/data-contracts.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/data-contracts.d.ts
CHANGED
|
@@ -2070,32 +2070,196 @@ export interface AdminFreezeAccountDto {
|
|
|
2070
2070
|
*/
|
|
2071
2071
|
caseId: string;
|
|
2072
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
|
+
}
|
|
2073
2208
|
export interface CreatePolicyRuleDto {
|
|
2074
2209
|
/**
|
|
2075
|
-
* Rule kind — the decision point this rule
|
|
2210
|
+
* Rule kind — the catalogue entry (and its decision point) this rule belongs to. Must be an existing kind.
|
|
2211
|
+
* @maxLength 40
|
|
2076
2212
|
* @example "ACCOUNT_OPEN"
|
|
2077
2213
|
*/
|
|
2078
2214
|
ruleKind: string;
|
|
2079
2215
|
/**
|
|
2080
2216
|
* Human-readable rule name
|
|
2217
|
+
* @maxLength 120
|
|
2081
2218
|
* @example "Block opening for sanctioned branches"
|
|
2082
2219
|
*/
|
|
2083
2220
|
name: string;
|
|
2084
|
-
/**
|
|
2221
|
+
/**
|
|
2222
|
+
* Party type selector (wildcard if omitted)
|
|
2223
|
+
* @maxLength 12
|
|
2224
|
+
* @example "INDIVIDUAL"
|
|
2225
|
+
*/
|
|
2085
2226
|
partyType?: string;
|
|
2086
|
-
/**
|
|
2087
|
-
|
|
2088
|
-
|
|
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
|
+
*/
|
|
2089
2236
|
typeCode?: string;
|
|
2090
|
-
/**
|
|
2237
|
+
/**
|
|
2238
|
+
* Product code selector (wildcard if omitted)
|
|
2239
|
+
* @maxLength 24
|
|
2240
|
+
* @example "PERSONAL_SAVINGS_V1"
|
|
2241
|
+
*/
|
|
2091
2242
|
productCode?: string;
|
|
2092
|
-
/**
|
|
2243
|
+
/**
|
|
2244
|
+
* Currency selector — ISO-4217 alpha code (wildcard if omitted)
|
|
2245
|
+
* @example "SYP"
|
|
2246
|
+
*/
|
|
2093
2247
|
currency?: string;
|
|
2094
|
-
/**
|
|
2248
|
+
/**
|
|
2249
|
+
* Branch code selector — 3-digit code (wildcard if omitted)
|
|
2250
|
+
* @example "001"
|
|
2251
|
+
*/
|
|
2095
2252
|
branchCode?: string;
|
|
2096
|
-
/**
|
|
2253
|
+
/**
|
|
2254
|
+
* Customer CIF selector — 8-digit CIF (wildcard if omitted)
|
|
2255
|
+
* @example "10000001"
|
|
2256
|
+
*/
|
|
2097
2257
|
customerCif?: string;
|
|
2098
|
-
/**
|
|
2258
|
+
/**
|
|
2259
|
+
* Channel selector (wildcard if omitted)
|
|
2260
|
+
* @maxLength 16
|
|
2261
|
+
* @example "MOBILE"
|
|
2262
|
+
*/
|
|
2099
2263
|
channel?: string;
|
|
2100
2264
|
/**
|
|
2101
2265
|
* Effect applied when the rule matches
|
|
@@ -2103,13 +2267,14 @@ export interface CreatePolicyRuleDto {
|
|
|
2103
2267
|
*/
|
|
2104
2268
|
effect: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
|
|
2105
2269
|
/**
|
|
2106
|
-
* Effect parameters as a JSON object (shape depends on
|
|
2107
|
-
* @example {"
|
|
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":[]}
|
|
2108
2272
|
*/
|
|
2109
2273
|
params?: object;
|
|
2110
2274
|
/**
|
|
2111
|
-
* Evaluation priority (
|
|
2275
|
+
* Evaluation priority (lower number wins; defaults to 100)
|
|
2112
2276
|
* @min 1
|
|
2277
|
+
* @max 1000000
|
|
2113
2278
|
* @example 100
|
|
2114
2279
|
*/
|
|
2115
2280
|
priority?: number;
|
|
@@ -2127,24 +2292,52 @@ export interface CreatePolicyRuleDto {
|
|
|
2127
2292
|
export interface UpdatePolicyRuleDto {
|
|
2128
2293
|
/**
|
|
2129
2294
|
* Human-readable rule name
|
|
2295
|
+
* @maxLength 120
|
|
2130
2296
|
* @example "Block opening for sanctioned branches"
|
|
2131
2297
|
*/
|
|
2132
2298
|
name?: string;
|
|
2133
|
-
/**
|
|
2299
|
+
/**
|
|
2300
|
+
* Party type selector (wildcard if omitted)
|
|
2301
|
+
* @maxLength 12
|
|
2302
|
+
* @example "INDIVIDUAL"
|
|
2303
|
+
*/
|
|
2134
2304
|
partyType?: string;
|
|
2135
|
-
/**
|
|
2136
|
-
|
|
2137
|
-
|
|
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
|
+
*/
|
|
2138
2314
|
typeCode?: string;
|
|
2139
|
-
/**
|
|
2315
|
+
/**
|
|
2316
|
+
* Product code selector (wildcard if omitted)
|
|
2317
|
+
* @maxLength 24
|
|
2318
|
+
* @example "PERSONAL_SAVINGS_V1"
|
|
2319
|
+
*/
|
|
2140
2320
|
productCode?: string;
|
|
2141
|
-
/**
|
|
2321
|
+
/**
|
|
2322
|
+
* Currency selector — ISO-4217 alpha code (wildcard if omitted)
|
|
2323
|
+
* @example "SYP"
|
|
2324
|
+
*/
|
|
2142
2325
|
currency?: string;
|
|
2143
|
-
/**
|
|
2326
|
+
/**
|
|
2327
|
+
* Branch code selector — 3-digit code (wildcard if omitted)
|
|
2328
|
+
* @example "001"
|
|
2329
|
+
*/
|
|
2144
2330
|
branchCode?: string;
|
|
2145
|
-
/**
|
|
2331
|
+
/**
|
|
2332
|
+
* Customer CIF selector — 8-digit CIF (wildcard if omitted)
|
|
2333
|
+
* @example "10000001"
|
|
2334
|
+
*/
|
|
2146
2335
|
customerCif?: string;
|
|
2147
|
-
/**
|
|
2336
|
+
/**
|
|
2337
|
+
* Channel selector (wildcard if omitted)
|
|
2338
|
+
* @maxLength 16
|
|
2339
|
+
* @example "MOBILE"
|
|
2340
|
+
*/
|
|
2148
2341
|
channel?: string;
|
|
2149
2342
|
/**
|
|
2150
2343
|
* Effect applied when the rule matches
|
|
@@ -2152,13 +2345,14 @@ export interface UpdatePolicyRuleDto {
|
|
|
2152
2345
|
*/
|
|
2153
2346
|
effect?: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
|
|
2154
2347
|
/**
|
|
2155
|
-
* Effect parameters as a JSON object (shape depends on
|
|
2156
|
-
* @example {"
|
|
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":[]}
|
|
2157
2350
|
*/
|
|
2158
2351
|
params?: object;
|
|
2159
2352
|
/**
|
|
2160
|
-
* Evaluation priority (
|
|
2353
|
+
* Evaluation priority (lower number wins)
|
|
2161
2354
|
* @min 1
|
|
2355
|
+
* @max 1000000
|
|
2162
2356
|
* @example 100
|
|
2163
2357
|
*/
|
|
2164
2358
|
priority?: number;
|
|
@@ -2194,6 +2388,140 @@ export interface SimulatePolicyRuleDto {
|
|
|
2194
2388
|
*/
|
|
2195
2389
|
subjects: object[];
|
|
2196
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
|
+
}
|
|
2197
2525
|
export interface MerchantStatisticsResponseDto {
|
|
2198
2526
|
/**
|
|
2199
2527
|
* Total number of merchants
|
|
@@ -3474,7 +3802,7 @@ export interface FindAllParams6 {
|
|
|
3474
3802
|
*/
|
|
3475
3803
|
endDate?: string;
|
|
3476
3804
|
}
|
|
3477
|
-
export type
|
|
3805
|
+
export type FindAllResult1 = ActivityLogListResponseDto;
|
|
3478
3806
|
export interface FindAllParams8 {
|
|
3479
3807
|
/**
|
|
3480
3808
|
* Page number (1-based)
|
|
@@ -3497,7 +3825,7 @@ export interface FindAllParams8 {
|
|
|
3497
3825
|
*/
|
|
3498
3826
|
read?: boolean;
|
|
3499
3827
|
}
|
|
3500
|
-
export type
|
|
3828
|
+
export type FindAllResult2 = AdminNotificationListResponseDto;
|
|
3501
3829
|
export type GetUnreadCountData = any;
|
|
3502
3830
|
export interface MarkAsReadParams {
|
|
3503
3831
|
/** Notification ID */
|
|
@@ -3610,7 +3938,7 @@ export interface List2Params {
|
|
|
3610
3938
|
only_active: string;
|
|
3611
3939
|
}
|
|
3612
3940
|
export type List2Data = DocumentTypeResponseDto[];
|
|
3613
|
-
export type
|
|
3941
|
+
export type CreateData1 = any;
|
|
3614
3942
|
export interface ListVersionsParams {
|
|
3615
3943
|
code: string;
|
|
3616
3944
|
}
|
|
@@ -3833,25 +4161,33 @@ export interface UnfreezeParams {
|
|
|
3833
4161
|
id: string;
|
|
3834
4162
|
}
|
|
3835
4163
|
export type UnfreezeData = AdminAccountResponseDto;
|
|
3836
|
-
export type ListRuleKindsData =
|
|
4164
|
+
export type ListRuleKindsData = PolicyRuleKindResponseDto[];
|
|
3837
4165
|
export interface ListRulesParams {
|
|
3838
4166
|
ruleKind?: string;
|
|
3839
4167
|
decisionPoint?: string;
|
|
3840
4168
|
/** Filter by active state ("true"/"false") */
|
|
3841
4169
|
active?: string;
|
|
3842
4170
|
}
|
|
3843
|
-
export type ListRulesData =
|
|
3844
|
-
export type CreateRuleData =
|
|
4171
|
+
export type ListRulesData = PolicyRuleResponseDto[];
|
|
4172
|
+
export type CreateRuleData = PolicyRuleResponseDto;
|
|
3845
4173
|
export interface GetRuleParams {
|
|
3846
|
-
/**
|
|
4174
|
+
/**
|
|
4175
|
+
* Rule ID (UUID v4)
|
|
4176
|
+
* @format uuid
|
|
4177
|
+
* @example "10000000-0000-4000-8000-000000000006"
|
|
4178
|
+
*/
|
|
3847
4179
|
id: string;
|
|
3848
4180
|
}
|
|
3849
|
-
export type GetRuleData =
|
|
4181
|
+
export type GetRuleData = PolicyRuleResponseDto;
|
|
3850
4182
|
export interface UpdateRuleParams {
|
|
3851
|
-
/**
|
|
4183
|
+
/**
|
|
4184
|
+
* Rule ID (UUID v4)
|
|
4185
|
+
* @format uuid
|
|
4186
|
+
* @example "10000000-0000-4000-8000-000000000006"
|
|
4187
|
+
*/
|
|
3852
4188
|
id: string;
|
|
3853
4189
|
}
|
|
3854
|
-
export type UpdateRuleData =
|
|
4190
|
+
export type UpdateRuleData = PolicyRuleResponseDto;
|
|
3855
4191
|
export interface ApproveRuleParams {
|
|
3856
4192
|
/** Rule ID (UUID) */
|
|
3857
4193
|
id: string;
|
|
@@ -3871,6 +4207,55 @@ export interface ListDecisionsParams {
|
|
|
3871
4207
|
limit?: number;
|
|
3872
4208
|
}
|
|
3873
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;
|
|
3874
4259
|
export type GetStatisticsOutput = MerchantStatisticsResponseDto;
|
|
3875
4260
|
export interface ListMerchantsParams {
|
|
3876
4261
|
/**
|
|
@@ -3925,13 +4310,13 @@ export interface UpdateMerchantStatusParams {
|
|
|
3925
4310
|
id: string;
|
|
3926
4311
|
}
|
|
3927
4312
|
export type UpdateMerchantStatusData = MerchantResponseDto;
|
|
3928
|
-
export interface
|
|
4313
|
+
export interface ListParams4 {
|
|
3929
4314
|
/** Return only active categories */
|
|
3930
4315
|
onlyActive?: boolean;
|
|
3931
4316
|
}
|
|
3932
|
-
export type
|
|
3933
|
-
export type
|
|
3934
|
-
export interface
|
|
4317
|
+
export type ListOutput = MerchantCategoriesListResponseDto;
|
|
4318
|
+
export type CreateResult2 = MerchantCategoryResponseDto;
|
|
4319
|
+
export interface UpdateParams8 {
|
|
3935
4320
|
/** 4-digit MCC code */
|
|
3936
4321
|
code: string;
|
|
3937
4322
|
}
|
|
@@ -3944,7 +4329,7 @@ export interface GetStatisticsParams3 {
|
|
|
3944
4329
|
/** Filter by currency */
|
|
3945
4330
|
currency?: "SYP" | "USD" | "EUR";
|
|
3946
4331
|
}
|
|
3947
|
-
export type
|
|
4332
|
+
export type GetStatisticsOutput1 = TransactionStatisticsResponseDto;
|
|
3948
4333
|
export interface ListTransactionsParams {
|
|
3949
4334
|
/** Search by transaction ID or public transaction ID */
|
|
3950
4335
|
search?: string;
|
|
@@ -3979,8 +4364,8 @@ export type GetTransactionDetailData = AdminTransactionDetailResponseDto;
|
|
|
3979
4364
|
export type GetTransactionDetailError = ErrorResponseDto;
|
|
3980
4365
|
export type SendGlobalNotificationData = SendGlobalNotificationResponseDto;
|
|
3981
4366
|
export type SendGlobalNotificationError = ErrorResponseDto;
|
|
3982
|
-
export type
|
|
3983
|
-
export type
|
|
4367
|
+
export type CreateResult3 = ScheduledNotificationResponseDto;
|
|
4368
|
+
export type CreateBadResponse = ErrorResponseDto;
|
|
3984
4369
|
export interface FindAllParams10 {
|
|
3985
4370
|
/** Filter by status */
|
|
3986
4371
|
status?: "pending" | "sent" | "failed" | "cancelled";
|
|
@@ -3996,19 +4381,19 @@ export interface FindAllParams10 {
|
|
|
3996
4381
|
*/
|
|
3997
4382
|
limit?: number;
|
|
3998
4383
|
}
|
|
3999
|
-
export type
|
|
4384
|
+
export type FindAllResult3 = ScheduledNotificationsListResponseDto;
|
|
4000
4385
|
export interface FindOneParams {
|
|
4001
4386
|
/** MongoDB ObjectId */
|
|
4002
4387
|
id: string;
|
|
4003
4388
|
}
|
|
4004
4389
|
export type FindOneData = ScheduledNotificationResponseDto;
|
|
4005
4390
|
export type FindOneError = ErrorResponseDto;
|
|
4006
|
-
export interface
|
|
4391
|
+
export interface UpdateParams10 {
|
|
4007
4392
|
/** MongoDB ObjectId */
|
|
4008
4393
|
id: string;
|
|
4009
4394
|
}
|
|
4010
|
-
export type
|
|
4011
|
-
export type
|
|
4395
|
+
export type UpdateData2 = ScheduledNotificationResponseDto;
|
|
4396
|
+
export type UpdateBadResponse = ErrorResponseDto;
|
|
4012
4397
|
export interface RemoveParams2 {
|
|
4013
4398
|
/** MongoDB ObjectId */
|
|
4014
4399
|
id: string;
|
|
@@ -4070,13 +4455,13 @@ export interface DeleteDocumentParams {
|
|
|
4070
4455
|
}
|
|
4071
4456
|
export type DeleteDocumentData = any;
|
|
4072
4457
|
export type DeleteDocumentError = ErrorResponseDto;
|
|
4073
|
-
export type
|
|
4458
|
+
export type ListResult1 = AppVersionPolicyListResponseDto;
|
|
4074
4459
|
export type UpsertData = AppVersionPolicyDto;
|
|
4075
|
-
export interface
|
|
4460
|
+
export interface GetParams4 {
|
|
4076
4461
|
platform: "ios" | "android";
|
|
4077
4462
|
}
|
|
4078
|
-
export type
|
|
4079
|
-
export type
|
|
4463
|
+
export type GetOutput = AppVersionPolicyDto;
|
|
4464
|
+
export type GetStatisticsOutput2 = UserStatisticsResponseDto;
|
|
4080
4465
|
export interface FindAllParams12 {
|
|
4081
4466
|
/**
|
|
4082
4467
|
* Page number (1-based)
|
|
@@ -4124,7 +4509,7 @@ export interface FindAllParams12 {
|
|
|
4124
4509
|
*/
|
|
4125
4510
|
query?: string;
|
|
4126
4511
|
}
|
|
4127
|
-
export type
|
|
4512
|
+
export type FindAllData1 = PersonListResponseDto;
|
|
4128
4513
|
export interface ExportUsersParams {
|
|
4129
4514
|
/**
|
|
4130
4515
|
* Field to sort by
|
|
@@ -4209,7 +4594,7 @@ export interface FindAllParams14 {
|
|
|
4209
4594
|
*/
|
|
4210
4595
|
endDate?: string;
|
|
4211
4596
|
}
|
|
4212
|
-
export type
|
|
4597
|
+
export type FindAllResult4 = DlqMessageListResponseDto;
|
|
4213
4598
|
export type PendingByTopicData = DlqPendingByTopicResponseDto[];
|
|
4214
4599
|
export interface FindByIdParams8 {
|
|
4215
4600
|
id: string;
|
|
@@ -4219,36 +4604,36 @@ export interface ResolveParams {
|
|
|
4219
4604
|
id: string;
|
|
4220
4605
|
}
|
|
4221
4606
|
export type ResolveData = DlqMessageResponseDto;
|
|
4222
|
-
export interface
|
|
4607
|
+
export interface ListParams7 {
|
|
4223
4608
|
/** Return only active branches */
|
|
4224
4609
|
onlyActive?: boolean;
|
|
4225
4610
|
}
|
|
4226
|
-
export type
|
|
4227
|
-
export type
|
|
4611
|
+
export type ListResult2 = BankBranchesListResponseDto;
|
|
4612
|
+
export type CreateResult4 = BankBranchResponseDto;
|
|
4228
4613
|
export interface GetByCodeParams {
|
|
4229
4614
|
/** 3-digit branch code */
|
|
4230
4615
|
code: string;
|
|
4231
4616
|
}
|
|
4232
4617
|
export type GetByCodeData = BankBranchResponseDto;
|
|
4233
|
-
export interface
|
|
4618
|
+
export interface UpdateParams12 {
|
|
4234
4619
|
/** 3-digit branch code */
|
|
4235
4620
|
code: string;
|
|
4236
4621
|
}
|
|
4237
|
-
export type
|
|
4238
|
-
export interface
|
|
4622
|
+
export type UpdateResult2 = BankBranchResponseDto;
|
|
4623
|
+
export interface ListParams9 {
|
|
4239
4624
|
onlyActive?: boolean;
|
|
4240
4625
|
}
|
|
4241
|
-
export type
|
|
4242
|
-
export interface
|
|
4626
|
+
export type ListOutput1 = AccountTypesListResponseDto;
|
|
4627
|
+
export interface UpdateParams14 {
|
|
4243
4628
|
/** 2-digit account-type code */
|
|
4244
4629
|
code: string;
|
|
4245
4630
|
}
|
|
4246
|
-
export type
|
|
4247
|
-
export interface
|
|
4631
|
+
export type UpdateOutput1 = AccountTypeResponseDto;
|
|
4632
|
+
export interface ListParams11 {
|
|
4248
4633
|
onlyActive?: boolean;
|
|
4249
4634
|
}
|
|
4250
|
-
export type
|
|
4251
|
-
export type
|
|
4635
|
+
export type ListResult3 = CurrencyConfigListResponseDto;
|
|
4636
|
+
export type CreateOutput1 = CurrencyConfigResponseDto;
|
|
4252
4637
|
export interface GetByCodeParams2 {
|
|
4253
4638
|
/** ISO 4217 alpha-3 code (e.g. USD) */
|
|
4254
4639
|
code: string;
|
|
@@ -4259,11 +4644,11 @@ export interface DeleteParams6 {
|
|
|
4259
4644
|
code: string;
|
|
4260
4645
|
}
|
|
4261
4646
|
export type DeleteResult1 = any;
|
|
4262
|
-
export interface
|
|
4647
|
+
export interface UpdateParams16 {
|
|
4263
4648
|
/** ISO 4217 alpha-3 code */
|
|
4264
4649
|
code: string;
|
|
4265
4650
|
}
|
|
4266
|
-
export type
|
|
4651
|
+
export type UpdateData3 = CurrencyConfigResponseDto;
|
|
4267
4652
|
export interface ListRequestsParams {
|
|
4268
4653
|
/** Filter by status */
|
|
4269
4654
|
status?: "PENDING" | "APPROVED" | "EXECUTED" | "FAILED" | "REJECTED" | "EXPIRED" | "CANCELLED";
|
|
@@ -4298,10 +4683,10 @@ export interface CancelParams {
|
|
|
4298
4683
|
id: string;
|
|
4299
4684
|
}
|
|
4300
4685
|
export type CancelData = ApprovalRequestResponseDto;
|
|
4301
|
-
export type
|
|
4302
|
-
export interface
|
|
4686
|
+
export type ListResult4 = ApprovalPolicyResponseDto[];
|
|
4687
|
+
export interface UpdateParams18 {
|
|
4303
4688
|
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
4304
4689
|
}
|
|
4305
|
-
export type
|
|
4690
|
+
export type UpdateOutput2 = ApprovalPolicyResponseDto;
|
|
4306
4691
|
export type IndexData = any;
|
|
4307
4692
|
//# sourceMappingURL=data-contracts.d.ts.map
|