@tammsyr/admin-api-client 1.3.5 → 1.3.7
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.js.map +1 -1
- package/dist/AccountTypes.d.ts.map +1 -1
- package/dist/AddressRegions.d.ts +73 -0
- package/dist/AddressRegions.d.ts.map +1 -0
- package/dist/AddressRegions.js +133 -0
- package/dist/AddressRegions.js.map +1 -0
- package/dist/ApprovalPolicies.d.ts +3 -3
- 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/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/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/Transactions.d.ts.map +1 -1
- package/dist/Users.d.ts.map +1 -1
- package/dist/Users.js.map +1 -1
- package/dist/data-contracts.d.ts +243 -95
- 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
|
@@ -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
|
}
|
|
@@ -1083,10 +1132,10 @@ export interface PersonAddressDto {
|
|
|
1083
1132
|
*/
|
|
1084
1133
|
province: object;
|
|
1085
1134
|
/**
|
|
1086
|
-
* City
|
|
1087
|
-
* @example
|
|
1135
|
+
* City / town (free text entered by the user)
|
|
1136
|
+
* @example "Mazzeh"
|
|
1088
1137
|
*/
|
|
1089
|
-
city
|
|
1138
|
+
city: string;
|
|
1090
1139
|
/** @example "123 Main Street" */
|
|
1091
1140
|
detailedAddress: string;
|
|
1092
1141
|
}
|
|
@@ -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"
|
|
@@ -1979,6 +2048,36 @@ export interface AdminAccountDetailResponseDto {
|
|
|
1979
2048
|
* @example "0017601010000001000011"
|
|
1980
2049
|
*/
|
|
1981
2050
|
accountNumber?: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Bank branch code (BBB segment of the account number).
|
|
2053
|
+
* @example "001"
|
|
2054
|
+
*/
|
|
2055
|
+
branchCode?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* Canonical type_code (TTT catalogue) — the source of the owner/product classification.
|
|
2058
|
+
* @example "101"
|
|
2059
|
+
*/
|
|
2060
|
+
typeCode?: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* 8-digit customer anchor (CIF). "00000001" for internal accounts.
|
|
2063
|
+
* @example "00000123"
|
|
2064
|
+
*/
|
|
2065
|
+
cif?: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* Serial segment (SSSS) within the natural key.
|
|
2068
|
+
* @example 1
|
|
2069
|
+
*/
|
|
2070
|
+
serial?: number;
|
|
2071
|
+
/**
|
|
2072
|
+
* Product template code snapshotted at creation.
|
|
2073
|
+
* @example "PERS-CURRENT"
|
|
2074
|
+
*/
|
|
2075
|
+
productCode?: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* Product template version snapshotted at creation.
|
|
2078
|
+
* @example 1
|
|
2079
|
+
*/
|
|
2080
|
+
productVersion?: number;
|
|
1982
2081
|
/**
|
|
1983
2082
|
* Owning entity UUID: person (personal/business), merchant (merchant), or agent (agent). Absent for treasury.
|
|
1984
2083
|
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
@@ -2014,21 +2113,40 @@ export interface AdminAccountDetailResponseDto {
|
|
|
2014
2113
|
* @example "active"
|
|
2015
2114
|
*/
|
|
2016
2115
|
status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
|
|
2116
|
+
/**
|
|
2117
|
+
* Whether this is the primary (default-receivable) account for its currency.
|
|
2118
|
+
* @example true
|
|
2119
|
+
*/
|
|
2120
|
+
isPrimary?: boolean;
|
|
2121
|
+
/**
|
|
2122
|
+
* Optimistic-lock version.
|
|
2123
|
+
* @example 1
|
|
2124
|
+
*/
|
|
2125
|
+
version?: number;
|
|
2017
2126
|
/**
|
|
2018
2127
|
* Account display name
|
|
2019
2128
|
* @example "Primary Wallet"
|
|
2020
2129
|
*/
|
|
2021
2130
|
name?: string;
|
|
2022
|
-
/**
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2131
|
+
/** When the account was opened (ISO 8601). */
|
|
2132
|
+
openedAt?: string;
|
|
2133
|
+
/** When the account was activated (ISO 8601). */
|
|
2134
|
+
activatedAt?: string;
|
|
2135
|
+
/** Timestamp of the last account activity (ISO 8601). */
|
|
2136
|
+
lastActivityAt?: string;
|
|
2137
|
+
/** When the balance was last updated (ISO 8601). */
|
|
2138
|
+
balanceUpdatedAt?: string;
|
|
2139
|
+
/** When the account was closed (ISO 8601). */
|
|
2140
|
+
closedAt?: string;
|
|
2141
|
+
/** Reason code recorded at closure. */
|
|
2142
|
+
closureReason?: string;
|
|
2027
2143
|
/**
|
|
2028
2144
|
* Account creation timestamp (ISO 8601)
|
|
2029
2145
|
* @example "2024-01-15T12:00:00Z"
|
|
2030
2146
|
*/
|
|
2031
2147
|
createdAt: string;
|
|
2148
|
+
/** Last update timestamp (ISO 8601). */
|
|
2149
|
+
updatedAt?: string;
|
|
2032
2150
|
/** QR payload for receiving (main accounts only) */
|
|
2033
2151
|
qrPayload?: string;
|
|
2034
2152
|
/** Person KYC/owner profile when the account type is personal or business. Null for merchant, agent, or treasury. */
|
|
@@ -2114,11 +2232,6 @@ export interface PolicyRuleResponseDto {
|
|
|
2114
2232
|
* @example "Agent wallet opening requires approval"
|
|
2115
2233
|
*/
|
|
2116
2234
|
name: string;
|
|
2117
|
-
/**
|
|
2118
|
-
* SELECTOR — customer party type. `""` = wildcard (any party type). Example values: INDIVIDUAL, BUSINESS.
|
|
2119
|
-
* @example ""
|
|
2120
|
-
*/
|
|
2121
|
-
partyType: string;
|
|
2122
2235
|
/**
|
|
2123
2236
|
* SELECTOR — wallet owner type. `""` = wildcard. One of: PERSONAL, MERCHANT, AGENT, INTERNAL. Here the rule only matches AGENT-owned wallets.
|
|
2124
2237
|
* @example "AGENT"
|
|
@@ -2149,11 +2262,6 @@ export interface PolicyRuleResponseDto {
|
|
|
2149
2262
|
* @example ""
|
|
2150
2263
|
*/
|
|
2151
2264
|
customerCif: string;
|
|
2152
|
-
/**
|
|
2153
|
-
* SELECTOR — request channel, e.g. MOBILE / WEB. `""` = wildcard.
|
|
2154
|
-
* @example ""
|
|
2155
|
-
*/
|
|
2156
|
-
channel: string;
|
|
2157
2265
|
/**
|
|
2158
2266
|
* EFFECT applied when the rule matches. ALLOW = permit; DENY = block; LIMIT = enforce a quota/bound from `params`; REQUIRE_APPROVAL = send for manual approval.
|
|
2159
2267
|
* @example "REQUIRE_APPROVAL"
|
|
@@ -2218,12 +2326,6 @@ export interface CreatePolicyRuleDto {
|
|
|
2218
2326
|
* @example "Block opening for sanctioned branches"
|
|
2219
2327
|
*/
|
|
2220
2328
|
name: string;
|
|
2221
|
-
/**
|
|
2222
|
-
* Party type selector (wildcard if omitted)
|
|
2223
|
-
* @maxLength 12
|
|
2224
|
-
* @example "INDIVIDUAL"
|
|
2225
|
-
*/
|
|
2226
|
-
partyType?: string;
|
|
2227
2329
|
/**
|
|
2228
2330
|
* Owner type selector (wildcard if omitted)
|
|
2229
2331
|
* @example "MERCHANT"
|
|
@@ -2255,12 +2357,6 @@ export interface CreatePolicyRuleDto {
|
|
|
2255
2357
|
* @example "10000001"
|
|
2256
2358
|
*/
|
|
2257
2359
|
customerCif?: string;
|
|
2258
|
-
/**
|
|
2259
|
-
* Channel selector (wildcard if omitted)
|
|
2260
|
-
* @maxLength 16
|
|
2261
|
-
* @example "MOBILE"
|
|
2262
|
-
*/
|
|
2263
|
-
channel?: string;
|
|
2264
2360
|
/**
|
|
2265
2361
|
* Effect applied when the rule matches
|
|
2266
2362
|
* @example "DENY"
|
|
@@ -2296,12 +2392,6 @@ export interface UpdatePolicyRuleDto {
|
|
|
2296
2392
|
* @example "Block opening for sanctioned branches"
|
|
2297
2393
|
*/
|
|
2298
2394
|
name?: string;
|
|
2299
|
-
/**
|
|
2300
|
-
* Party type selector (wildcard if omitted)
|
|
2301
|
-
* @maxLength 12
|
|
2302
|
-
* @example "INDIVIDUAL"
|
|
2303
|
-
*/
|
|
2304
|
-
partyType?: string;
|
|
2305
2395
|
/**
|
|
2306
2396
|
* Owner type selector (wildcard if omitted)
|
|
2307
2397
|
* @example "MERCHANT"
|
|
@@ -2333,12 +2423,6 @@ export interface UpdatePolicyRuleDto {
|
|
|
2333
2423
|
* @example "10000001"
|
|
2334
2424
|
*/
|
|
2335
2425
|
customerCif?: string;
|
|
2336
|
-
/**
|
|
2337
|
-
* Channel selector (wildcard if omitted)
|
|
2338
|
-
* @maxLength 16
|
|
2339
|
-
* @example "MOBILE"
|
|
2340
|
-
*/
|
|
2341
|
-
channel?: string;
|
|
2342
2426
|
/**
|
|
2343
2427
|
* Effect applied when the rule matches
|
|
2344
2428
|
* @example "DENY"
|
|
@@ -2414,11 +2498,6 @@ export interface AccountProductResponseDto {
|
|
|
2414
2498
|
* @example {"qr_static":true,"qr_dynamic":true,"cash_in":true}
|
|
2415
2499
|
*/
|
|
2416
2500
|
featureFlags: object;
|
|
2417
|
-
/**
|
|
2418
|
-
* Authoring view of default limits
|
|
2419
|
-
* @example {}
|
|
2420
|
-
*/
|
|
2421
|
-
limitDefaults: object;
|
|
2422
2501
|
/**
|
|
2423
2502
|
* Inactivity days before DORMANT (null = no dormancy)
|
|
2424
2503
|
* @example 365
|
|
@@ -2468,11 +2547,6 @@ export interface CreateAccountProductDto {
|
|
|
2468
2547
|
* @example {"qr_static":true,"qr_dynamic":true,"cash_in":true}
|
|
2469
2548
|
*/
|
|
2470
2549
|
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
2550
|
/**
|
|
2477
2551
|
* Inactivity days before a wallet goes DORMANT. Omit for no dormancy.
|
|
2478
2552
|
* @min 1
|
|
@@ -2503,11 +2577,6 @@ export interface UpdateAccountProductDto {
|
|
|
2503
2577
|
* @example {"qr_static":true,"qr_dynamic":true,"cash_in":true}
|
|
2504
2578
|
*/
|
|
2505
2579
|
featureFlags?: object;
|
|
2506
|
-
/**
|
|
2507
|
-
* Authoring view of default limits.
|
|
2508
|
-
* @example {"DAILY_TRANSFER":"5000000"}
|
|
2509
|
-
*/
|
|
2510
|
-
limitDefaults?: object;
|
|
2511
2580
|
/**
|
|
2512
2581
|
* Inactivity days before DORMANT. Omit for no dormancy.
|
|
2513
2582
|
* @min 1
|
|
@@ -3544,6 +3613,71 @@ export interface UpdateCurrencyConfigDto {
|
|
|
3544
3613
|
/** Toggle whether the generator may issue new account numbers in this currency */
|
|
3545
3614
|
isActive?: boolean;
|
|
3546
3615
|
}
|
|
3616
|
+
export interface CountryResponseDto {
|
|
3617
|
+
/** @example "c0000000-0000-4000-a000-000000000001" */
|
|
3618
|
+
id: string;
|
|
3619
|
+
/** @example "SY" */
|
|
3620
|
+
code: string;
|
|
3621
|
+
name: LocalizedNameDto;
|
|
3622
|
+
/** @example true */
|
|
3623
|
+
isActive: boolean;
|
|
3624
|
+
}
|
|
3625
|
+
export interface CountryListResponseDto {
|
|
3626
|
+
countries: CountryResponseDto[];
|
|
3627
|
+
}
|
|
3628
|
+
export interface CreateCountryDto {
|
|
3629
|
+
/**
|
|
3630
|
+
* ISO 3166-1 alpha-2 code
|
|
3631
|
+
* @example "SY"
|
|
3632
|
+
*/
|
|
3633
|
+
code: string;
|
|
3634
|
+
name: LocalizedNameDto;
|
|
3635
|
+
/**
|
|
3636
|
+
* Whether the country is active (default true)
|
|
3637
|
+
* @example true
|
|
3638
|
+
*/
|
|
3639
|
+
isActive?: boolean;
|
|
3640
|
+
}
|
|
3641
|
+
export interface UpdateCountryDto {
|
|
3642
|
+
/**
|
|
3643
|
+
* ISO 3166-1 alpha-2 code
|
|
3644
|
+
* @example "SY"
|
|
3645
|
+
*/
|
|
3646
|
+
code?: string;
|
|
3647
|
+
name?: LocalizedNameDto;
|
|
3648
|
+
/** Toggle whether the country appears in the public list */
|
|
3649
|
+
isActive?: boolean;
|
|
3650
|
+
}
|
|
3651
|
+
export interface ProvinceResponseDto {
|
|
3652
|
+
/** @example "b0000000-0000-4000-a000-000000000001" */
|
|
3653
|
+
id: string;
|
|
3654
|
+
/** @example "c0000000-0000-4000-a000-000000000001" */
|
|
3655
|
+
countryId: string;
|
|
3656
|
+
name: LocalizedNameDto;
|
|
3657
|
+
/** @example true */
|
|
3658
|
+
isActive: boolean;
|
|
3659
|
+
}
|
|
3660
|
+
export interface ProvinceListResponseDto {
|
|
3661
|
+
provinces: ProvinceResponseDto[];
|
|
3662
|
+
}
|
|
3663
|
+
export interface CreateProvinceDto {
|
|
3664
|
+
/**
|
|
3665
|
+
* Parent country ID (UUID)
|
|
3666
|
+
* @example "c0000000-0000-4000-a000-000000000001"
|
|
3667
|
+
*/
|
|
3668
|
+
countryId: string;
|
|
3669
|
+
name: LocalizedNameDto;
|
|
3670
|
+
/**
|
|
3671
|
+
* Whether the province is active (default true)
|
|
3672
|
+
* @example true
|
|
3673
|
+
*/
|
|
3674
|
+
isActive?: boolean;
|
|
3675
|
+
}
|
|
3676
|
+
export interface UpdateProvinceDto {
|
|
3677
|
+
name?: LocalizedNameDto;
|
|
3678
|
+
/** Toggle whether the province is active */
|
|
3679
|
+
isActive?: boolean;
|
|
3680
|
+
}
|
|
3547
3681
|
export interface ApprovalDecisionResponseDto {
|
|
3548
3682
|
id: string;
|
|
3549
3683
|
adminId: string;
|
|
@@ -3555,7 +3689,7 @@ export interface ApprovalDecisionResponseDto {
|
|
|
3555
3689
|
}
|
|
3556
3690
|
export interface ApprovalRequestResponseDto {
|
|
3557
3691
|
id: string;
|
|
3558
|
-
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
3692
|
+
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";
|
|
3559
3693
|
resource: string;
|
|
3560
3694
|
resourceId?: object;
|
|
3561
3695
|
title: string;
|
|
@@ -3595,7 +3729,7 @@ export interface CreateApprovalDecisionDto {
|
|
|
3595
3729
|
comment?: string;
|
|
3596
3730
|
}
|
|
3597
3731
|
export interface ApprovalPolicyResponseDto {
|
|
3598
|
-
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
3732
|
+
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";
|
|
3599
3733
|
enabled: boolean;
|
|
3600
3734
|
requiredApprovals: number;
|
|
3601
3735
|
allowSelfApprove: boolean;
|
|
@@ -3918,10 +4052,6 @@ export interface GetParams {
|
|
|
3918
4052
|
id: string;
|
|
3919
4053
|
}
|
|
3920
4054
|
export type GetData = SubmissionDetailResponseDto;
|
|
3921
|
-
export interface StartReviewParams {
|
|
3922
|
-
id: string;
|
|
3923
|
-
}
|
|
3924
|
-
export type StartReviewData = any;
|
|
3925
4055
|
export interface ApproveParams {
|
|
3926
4056
|
id: string;
|
|
3927
4057
|
}
|
|
@@ -3938,7 +4068,7 @@ export interface List2Params {
|
|
|
3938
4068
|
only_active: string;
|
|
3939
4069
|
}
|
|
3940
4070
|
export type List2Data = DocumentTypeResponseDto[];
|
|
3941
|
-
export type
|
|
4071
|
+
export type CreateOutput1 = any;
|
|
3942
4072
|
export interface ListVersionsParams {
|
|
3943
4073
|
code: string;
|
|
3944
4074
|
}
|
|
@@ -4215,7 +4345,7 @@ export interface ListParams2 {
|
|
|
4215
4345
|
productCode?: string;
|
|
4216
4346
|
}
|
|
4217
4347
|
export type ListResult = AccountProductResponseDto[];
|
|
4218
|
-
export type
|
|
4348
|
+
export type CreateData1 = AccountProductResponseDto;
|
|
4219
4349
|
export interface GetParams2 {
|
|
4220
4350
|
/** @example "PERS-CURRENT" */
|
|
4221
4351
|
code: string;
|
|
@@ -4315,12 +4445,12 @@ export interface ListParams4 {
|
|
|
4315
4445
|
onlyActive?: boolean;
|
|
4316
4446
|
}
|
|
4317
4447
|
export type ListOutput = MerchantCategoriesListResponseDto;
|
|
4318
|
-
export type
|
|
4448
|
+
export type CreateData2 = MerchantCategoryResponseDto;
|
|
4319
4449
|
export interface UpdateParams8 {
|
|
4320
4450
|
/** 4-digit MCC code */
|
|
4321
4451
|
code: string;
|
|
4322
4452
|
}
|
|
4323
|
-
export type
|
|
4453
|
+
export type UpdateOutput1 = MerchantCategoryResponseDto;
|
|
4324
4454
|
export interface GetStatisticsParams3 {
|
|
4325
4455
|
/** Start date filter (ISO date, e.g. 2025-01-01) */
|
|
4326
4456
|
startDate?: string;
|
|
@@ -4329,7 +4459,7 @@ export interface GetStatisticsParams3 {
|
|
|
4329
4459
|
/** Filter by currency */
|
|
4330
4460
|
currency?: "SYP" | "USD" | "EUR";
|
|
4331
4461
|
}
|
|
4332
|
-
export type
|
|
4462
|
+
export type GetStatisticsResult1 = TransactionStatisticsResponseDto;
|
|
4333
4463
|
export interface ListTransactionsParams {
|
|
4334
4464
|
/** Search by transaction ID or public transaction ID */
|
|
4335
4465
|
search?: string;
|
|
@@ -4364,7 +4494,7 @@ export type GetTransactionDetailData = AdminTransactionDetailResponseDto;
|
|
|
4364
4494
|
export type GetTransactionDetailError = ErrorResponseDto;
|
|
4365
4495
|
export type SendGlobalNotificationData = SendGlobalNotificationResponseDto;
|
|
4366
4496
|
export type SendGlobalNotificationError = ErrorResponseDto;
|
|
4367
|
-
export type
|
|
4497
|
+
export type CreateData3 = ScheduledNotificationResponseDto;
|
|
4368
4498
|
export type CreateBadResponse = ErrorResponseDto;
|
|
4369
4499
|
export interface FindAllParams10 {
|
|
4370
4500
|
/** Filter by status */
|
|
@@ -4392,7 +4522,7 @@ export interface UpdateParams10 {
|
|
|
4392
4522
|
/** MongoDB ObjectId */
|
|
4393
4523
|
id: string;
|
|
4394
4524
|
}
|
|
4395
|
-
export type
|
|
4525
|
+
export type UpdateResult1 = ScheduledNotificationResponseDto;
|
|
4396
4526
|
export type UpdateBadResponse = ErrorResponseDto;
|
|
4397
4527
|
export interface RemoveParams2 {
|
|
4398
4528
|
/** MongoDB ObjectId */
|
|
@@ -4455,13 +4585,13 @@ export interface DeleteDocumentParams {
|
|
|
4455
4585
|
}
|
|
4456
4586
|
export type DeleteDocumentData = any;
|
|
4457
4587
|
export type DeleteDocumentError = ErrorResponseDto;
|
|
4458
|
-
export type
|
|
4588
|
+
export type ListOutput1 = AppVersionPolicyListResponseDto;
|
|
4459
4589
|
export type UpsertData = AppVersionPolicyDto;
|
|
4460
4590
|
export interface GetParams4 {
|
|
4461
4591
|
platform: "ios" | "android";
|
|
4462
4592
|
}
|
|
4463
4593
|
export type GetOutput = AppVersionPolicyDto;
|
|
4464
|
-
export type
|
|
4594
|
+
export type GetStatisticsOutput1 = UserStatisticsResponseDto;
|
|
4465
4595
|
export interface FindAllParams12 {
|
|
4466
4596
|
/**
|
|
4467
4597
|
* Page number (1-based)
|
|
@@ -4509,7 +4639,7 @@ export interface FindAllParams12 {
|
|
|
4509
4639
|
*/
|
|
4510
4640
|
query?: string;
|
|
4511
4641
|
}
|
|
4512
|
-
export type
|
|
4642
|
+
export type FindAllResult4 = PersonListResponseDto;
|
|
4513
4643
|
export interface ExportUsersParams {
|
|
4514
4644
|
/**
|
|
4515
4645
|
* Field to sort by
|
|
@@ -4554,7 +4684,7 @@ export interface FindByIdParams6 {
|
|
|
4554
4684
|
/** Person ID (UUID) */
|
|
4555
4685
|
id: string;
|
|
4556
4686
|
}
|
|
4557
|
-
export type
|
|
4687
|
+
export type FindByIdData1 = PersonDetailDto;
|
|
4558
4688
|
export interface UpdatePersonStatusParams {
|
|
4559
4689
|
/** Person ID (UUID) */
|
|
4560
4690
|
id: string;
|
|
@@ -4594,12 +4724,12 @@ export interface FindAllParams14 {
|
|
|
4594
4724
|
*/
|
|
4595
4725
|
endDate?: string;
|
|
4596
4726
|
}
|
|
4597
|
-
export type
|
|
4727
|
+
export type FindAllData1 = DlqMessageListResponseDto;
|
|
4598
4728
|
export type PendingByTopicData = DlqPendingByTopicResponseDto[];
|
|
4599
4729
|
export interface FindByIdParams8 {
|
|
4600
4730
|
id: string;
|
|
4601
4731
|
}
|
|
4602
|
-
export type
|
|
4732
|
+
export type FindByIdOutput1 = DlqMessageResponseDto;
|
|
4603
4733
|
export interface ResolveParams {
|
|
4604
4734
|
id: string;
|
|
4605
4735
|
}
|
|
@@ -4608,8 +4738,8 @@ export interface ListParams7 {
|
|
|
4608
4738
|
/** Return only active branches */
|
|
4609
4739
|
onlyActive?: boolean;
|
|
4610
4740
|
}
|
|
4611
|
-
export type
|
|
4612
|
-
export type
|
|
4741
|
+
export type ListData1 = BankBranchesListResponseDto;
|
|
4742
|
+
export type CreateData4 = BankBranchResponseDto;
|
|
4613
4743
|
export interface GetByCodeParams {
|
|
4614
4744
|
/** 3-digit branch code */
|
|
4615
4745
|
code: string;
|
|
@@ -4619,21 +4749,21 @@ export interface UpdateParams12 {
|
|
|
4619
4749
|
/** 3-digit branch code */
|
|
4620
4750
|
code: string;
|
|
4621
4751
|
}
|
|
4622
|
-
export type
|
|
4752
|
+
export type UpdateOutput2 = BankBranchResponseDto;
|
|
4623
4753
|
export interface ListParams9 {
|
|
4624
4754
|
onlyActive?: boolean;
|
|
4625
4755
|
}
|
|
4626
|
-
export type
|
|
4756
|
+
export type ListOutput2 = AccountTypesListResponseDto;
|
|
4627
4757
|
export interface UpdateParams14 {
|
|
4628
4758
|
/** 2-digit account-type code */
|
|
4629
4759
|
code: string;
|
|
4630
4760
|
}
|
|
4631
|
-
export type
|
|
4761
|
+
export type UpdateResult2 = AccountTypeResponseDto;
|
|
4632
4762
|
export interface ListParams11 {
|
|
4633
4763
|
onlyActive?: boolean;
|
|
4634
4764
|
}
|
|
4635
|
-
export type
|
|
4636
|
-
export type
|
|
4765
|
+
export type ListData2 = CurrencyConfigListResponseDto;
|
|
4766
|
+
export type CreateResult1 = CurrencyConfigResponseDto;
|
|
4637
4767
|
export interface GetByCodeParams2 {
|
|
4638
4768
|
/** ISO 4217 alpha-3 code (e.g. USD) */
|
|
4639
4769
|
code: string;
|
|
@@ -4643,17 +4773,35 @@ export interface DeleteParams6 {
|
|
|
4643
4773
|
/** ISO 4217 alpha-3 code */
|
|
4644
4774
|
code: string;
|
|
4645
4775
|
}
|
|
4646
|
-
export type
|
|
4776
|
+
export type DeleteOutput1 = any;
|
|
4647
4777
|
export interface UpdateParams16 {
|
|
4648
4778
|
/** ISO 4217 alpha-3 code */
|
|
4649
4779
|
code: string;
|
|
4650
4780
|
}
|
|
4651
|
-
export type
|
|
4781
|
+
export type UpdateResult3 = CurrencyConfigResponseDto;
|
|
4782
|
+
export type ListResult1 = CountryListResponseDto;
|
|
4783
|
+
export type CreateResult2 = CountryResponseDto;
|
|
4784
|
+
export interface UpdateParams18 {
|
|
4785
|
+
/** Country UUID */
|
|
4786
|
+
id: string;
|
|
4787
|
+
}
|
|
4788
|
+
export type UpdateOutput3 = CountryResponseDto;
|
|
4789
|
+
export interface List2Params2 {
|
|
4790
|
+
/** Country UUID */
|
|
4791
|
+
countryId?: string;
|
|
4792
|
+
}
|
|
4793
|
+
export type List2Result = ProvinceListResponseDto;
|
|
4794
|
+
export type Create2Result = ProvinceResponseDto;
|
|
4795
|
+
export interface Update2Params {
|
|
4796
|
+
/** Province UUID */
|
|
4797
|
+
id: string;
|
|
4798
|
+
}
|
|
4799
|
+
export type Update2Data = ProvinceResponseDto;
|
|
4652
4800
|
export interface ListRequestsParams {
|
|
4653
4801
|
/** Filter by status */
|
|
4654
4802
|
status?: "PENDING" | "APPROVED" | "EXECUTED" | "FAILED" | "REJECTED" | "EXPIRED" | "CANCELLED";
|
|
4655
4803
|
/** Filter by action type */
|
|
4656
|
-
actionType?: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
4804
|
+
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";
|
|
4657
4805
|
/** Filter by maker (admin UUID) */
|
|
4658
4806
|
requestedBy?: string;
|
|
4659
4807
|
/**
|
|
@@ -4683,10 +4831,10 @@ export interface CancelParams {
|
|
|
4683
4831
|
id: string;
|
|
4684
4832
|
}
|
|
4685
4833
|
export type CancelData = ApprovalRequestResponseDto;
|
|
4686
|
-
export type
|
|
4687
|
-
export interface
|
|
4688
|
-
actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
|
|
4834
|
+
export type ListResult2 = ApprovalPolicyResponseDto[];
|
|
4835
|
+
export interface UpdateParams20 {
|
|
4836
|
+
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";
|
|
4689
4837
|
}
|
|
4690
|
-
export type
|
|
4838
|
+
export type UpdateResult4 = ApprovalPolicyResponseDto;
|
|
4691
4839
|
export type IndexData = any;
|
|
4692
4840
|
//# sourceMappingURL=data-contracts.d.ts.map
|