@tammsyr/admin-api-client 1.3.2 → 1.3.4

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.
Files changed (40) hide show
  1. package/dist/AccountTypes.d.ts +3 -3
  2. package/dist/AccountTypes.d.ts.map +1 -1
  3. package/dist/AccountTypes.js.map +1 -1
  4. package/dist/Accounts.d.ts +61 -1
  5. package/dist/Accounts.d.ts.map +1 -1
  6. package/dist/Accounts.js +108 -0
  7. package/dist/Accounts.js.map +1 -1
  8. package/dist/ActivityLogs.d.ts.map +1 -1
  9. package/dist/ApprovalPolicies.d.ts +3 -3
  10. package/dist/BankBranches.d.ts +3 -3
  11. package/dist/BankBranches.d.ts.map +1 -1
  12. package/dist/BankBranches.js.map +1 -1
  13. package/dist/Currencies.d.ts +3 -3
  14. package/dist/Currencies.d.ts.map +1 -1
  15. package/dist/Currencies.js.map +1 -1
  16. package/dist/Dlq.d.ts.map +1 -1
  17. package/dist/GlobalNotifications.d.ts +2 -2
  18. package/dist/GlobalNotifications.d.ts.map +1 -1
  19. package/dist/GlobalNotifications.js.map +1 -1
  20. package/dist/Kyc.d.ts +2 -2
  21. package/dist/Kyc.d.ts.map +1 -1
  22. package/dist/Kyc.js +1 -1
  23. package/dist/MerchantCategories.d.ts +37 -0
  24. package/dist/MerchantCategories.d.ts.map +1 -0
  25. package/dist/MerchantCategories.js +75 -0
  26. package/dist/MerchantCategories.js.map +1 -0
  27. package/dist/Notifications.d.ts.map +1 -1
  28. package/dist/Policies.d.ts +107 -0
  29. package/dist/Policies.d.ts.map +1 -0
  30. package/dist/Policies.js +182 -0
  31. package/dist/Policies.js.map +1 -0
  32. package/dist/Users.d.ts.map +1 -1
  33. package/dist/Users.js.map +1 -1
  34. package/dist/data-contracts.d.ts +422 -136
  35. package/dist/data-contracts.d.ts.map +1 -1
  36. package/dist/index.d.ts +6 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +9 -1
  39. package/dist/index.js.map +1 -1
  40. package/package.json +1 -1
@@ -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"
@@ -1071,6 +1071,137 @@ export interface SubmissionListResponseDto {
1071
1071
  data: SubmissionResponseDto[];
1072
1072
  meta: PaginationMetaDto;
1073
1073
  }
1074
+ export interface PersonAddressDto {
1075
+ /**
1076
+ * Country name (translatable)
1077
+ * @example {"ar":"سوريا","en":"Syria"}
1078
+ */
1079
+ country: object;
1080
+ /**
1081
+ * Province name (translatable)
1082
+ * @example {"ar":"دمشق","en":"Damascus"}
1083
+ */
1084
+ province: object;
1085
+ /**
1086
+ * City name (translatable)
1087
+ * @example {"ar":"دمشق","en":"Damascus"}
1088
+ */
1089
+ city?: object;
1090
+ /** @example "123 Main Street" */
1091
+ detailedAddress: string;
1092
+ }
1093
+ export interface ConnectedUserDto {
1094
+ /** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
1095
+ userId: string;
1096
+ /** @example "+963912345678" */
1097
+ phoneNumber: string;
1098
+ /** @example "active" */
1099
+ status: "pending_phone_verification" | "pending_kyc" | "active" | "suspended" | "blocked";
1100
+ }
1101
+ export interface PersonDetailDto {
1102
+ /** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
1103
+ id: string;
1104
+ /** @example "Qusai" */
1105
+ firstName: string;
1106
+ /** @example "Armoush" */
1107
+ lastName: string;
1108
+ /** @example "1990-05-15" */
1109
+ dateOfBirth: string;
1110
+ /** @example "verified" */
1111
+ status: "unverified" | "pending_kyc" | "verified" | "rejected" | "suspended";
1112
+ /** @example "2026-01-24T08:09:53.496Z" */
1113
+ createdAt: string;
1114
+ /** @example "Syrian Arab" */
1115
+ nationality: string;
1116
+ /**
1117
+ * Father name
1118
+ * @example "Mohammad"
1119
+ */
1120
+ fatherName: string;
1121
+ /**
1122
+ * Mother name
1123
+ * @example "Fatima"
1124
+ */
1125
+ motherName: string;
1126
+ /**
1127
+ * Gender
1128
+ * @example "male"
1129
+ */
1130
+ gender: "male" | "female";
1131
+ address: PersonAddressDto;
1132
+ connectedUsers: ConnectedUserDto[];
1133
+ }
1134
+ export interface MerchantResponseDto {
1135
+ /**
1136
+ * Merchant ID
1137
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
1138
+ */
1139
+ id: string;
1140
+ /**
1141
+ * Owner person ID
1142
+ * @example "b2c3d4e5-f6a7-8901-bcde-f12345678901"
1143
+ */
1144
+ personId: string;
1145
+ /**
1146
+ * KYB business type code
1147
+ * @example "SOLE_PROPRIETOR"
1148
+ */
1149
+ businessType: string;
1150
+ /**
1151
+ * Merchant category / MCC code
1152
+ * @example "5812"
1153
+ */
1154
+ merchantCategory: string;
1155
+ /**
1156
+ * Registered business name
1157
+ * @example "My Coffee Shop"
1158
+ */
1159
+ businessName: string;
1160
+ /**
1161
+ * Business contact phone number
1162
+ * @example "+963944123456"
1163
+ */
1164
+ contactPhone: string;
1165
+ /**
1166
+ * 8-digit Customer Information File (CIF)
1167
+ * @example "04827193"
1168
+ */
1169
+ cif: string;
1170
+ /**
1171
+ * Expected monthly turnover band
1172
+ * @example "50k-250k USD"
1173
+ */
1174
+ monthlyVolumeBand: string;
1175
+ /**
1176
+ * Merchant status
1177
+ * @example "pending_kyc"
1178
+ */
1179
+ status: "pending_kyc" | "rejected_kyc" | "active" | "frozen" | "closed";
1180
+ /** Creation timestamp */
1181
+ createdAt: string;
1182
+ /** Last update timestamp */
1183
+ updatedAt: string;
1184
+ }
1185
+ export interface SubmissionDetailResponseDto {
1186
+ submission_id: string;
1187
+ customer_id: string;
1188
+ subject: SubjectInputDto;
1189
+ document_type_code: string;
1190
+ document_type_version: number;
1191
+ document_type_category: string;
1192
+ files: SubmissionFileResponseDto[];
1193
+ extracted_fields: object;
1194
+ status: "PENDING_UPLOAD" | "UPLOADED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED";
1195
+ review: SubmissionReviewResponseDto;
1196
+ previous_submission_id?: object;
1197
+ created_at: string;
1198
+ updated_at: string;
1199
+ expires_at?: object;
1200
+ /** The customer's personal information (name, date of birth, nationality, parents, address, connected users). Null when the person record could not be loaded. */
1201
+ person?: PersonDetailDto | null;
1202
+ /** Merchant business profiles owned by this customer. Empty when the document is not connected to any merchant. */
1203
+ merchants: MerchantResponseDto[];
1204
+ }
1074
1205
  export interface ApproveSubmissionRequestDto {
1075
1206
  notes?: string;
1076
1207
  }
@@ -1687,7 +1818,7 @@ export interface AccountListQueryDto {
1687
1818
  * Filter by account status
1688
1819
  * @example "active"
1689
1820
  */
1690
- status?: "pending" | "active" | "frozen" | "closed";
1821
+ status?: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
1691
1822
  /**
1692
1823
  * Filter by account type
1693
1824
  * @example "personal"
@@ -1831,61 +1962,6 @@ export interface TransactionResponseDto {
1831
1962
  */
1832
1963
  userMetadata?: object;
1833
1964
  }
1834
- export interface PersonAddressDto {
1835
- /**
1836
- * Country name (translatable)
1837
- * @example {"ar":"سوريا","en":"Syria"}
1838
- */
1839
- country: object;
1840
- /**
1841
- * Province name (translatable)
1842
- * @example {"ar":"دمشق","en":"Damascus"}
1843
- */
1844
- province: object;
1845
- /**
1846
- * City name (translatable)
1847
- * @example {"ar":"دمشق","en":"Damascus"}
1848
- */
1849
- city?: object;
1850
- /** @example "123 Main Street" */
1851
- detailedAddress: string;
1852
- }
1853
- export interface ConnectedUserDto {
1854
- /** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
1855
- userId: string;
1856
- /** @example "+963912345678" */
1857
- phoneNumber: string;
1858
- /** @example "active" */
1859
- status: "pending_phone_verification" | "pending_kyc" | "active" | "suspended" | "blocked";
1860
- }
1861
- export interface PersonDetailDto {
1862
- /** @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890" */
1863
- id: string;
1864
- /** @example "Qusai" */
1865
- firstName: string;
1866
- /** @example "Armoush" */
1867
- lastName: string;
1868
- /** @example "1990-05-15" */
1869
- dateOfBirth: string;
1870
- /** @example "verified" */
1871
- status: "unverified" | "pending_kyc" | "verified" | "rejected" | "suspended";
1872
- /** @example "2026-01-24T08:09:53.496Z" */
1873
- createdAt: string;
1874
- /** @example "Syrian Arab" */
1875
- nationality: string;
1876
- /**
1877
- * Father name
1878
- * @example "Mohammad"
1879
- */
1880
- fatherName: string;
1881
- /**
1882
- * Mother name
1883
- * @example "Fatima"
1884
- */
1885
- motherName: string;
1886
- address: PersonAddressDto;
1887
- connectedUsers: ConnectedUserDto[];
1888
- }
1889
1965
  export interface PaginatedTransactionsDto {
1890
1966
  /** List of transactions */
1891
1967
  data: TransactionResponseDto[];
@@ -1937,7 +2013,7 @@ export interface AdminAccountDetailResponseDto {
1937
2013
  * Account status
1938
2014
  * @example "active"
1939
2015
  */
1940
- status: "pending" | "active" | "frozen" | "closed";
2016
+ status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
1941
2017
  /**
1942
2018
  * Account display name
1943
2019
  * @example "Primary Wallet"
@@ -1965,13 +2041,159 @@ export interface UpdateAccountStatusDto {
1965
2041
  * New account status
1966
2042
  * @example "frozen"
1967
2043
  */
1968
- status: "pending" | "active" | "frozen" | "closed";
2044
+ status: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
1969
2045
  /**
1970
2046
  * Reason for the status change
1971
2047
  * @example "Suspicious activity detected"
1972
2048
  */
1973
2049
  reason?: string;
1974
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 CreatePolicyRuleDto {
2074
+ /**
2075
+ * Rule kind — the decision point this rule participates in
2076
+ * @example "ACCOUNT_OPEN"
2077
+ */
2078
+ ruleKind: string;
2079
+ /**
2080
+ * Human-readable rule name
2081
+ * @example "Block opening for sanctioned branches"
2082
+ */
2083
+ name: string;
2084
+ /** Party type selector (wildcard if omitted) */
2085
+ partyType?: string;
2086
+ /** Owner type selector (wildcard if omitted) */
2087
+ ownerType?: string;
2088
+ /** Account type code selector (wildcard if omitted) */
2089
+ typeCode?: string;
2090
+ /** Product code selector (wildcard if omitted) */
2091
+ productCode?: string;
2092
+ /** Currency selector (wildcard if omitted) */
2093
+ currency?: string;
2094
+ /** Branch code selector (wildcard if omitted) */
2095
+ branchCode?: string;
2096
+ /** Customer CIF selector (wildcard if omitted) */
2097
+ customerCif?: string;
2098
+ /** Channel selector (wildcard if omitted) */
2099
+ channel?: string;
2100
+ /**
2101
+ * Effect applied when the rule matches
2102
+ * @example "DENY"
2103
+ */
2104
+ effect: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
2105
+ /**
2106
+ * Effect parameters as a JSON object (shape depends on rule kind)
2107
+ * @example {"maxAmount":"10000"}
2108
+ */
2109
+ params?: object;
2110
+ /**
2111
+ * Evaluation priority (higher wins); defaults to 0
2112
+ * @min 1
2113
+ * @example 100
2114
+ */
2115
+ priority?: number;
2116
+ /**
2117
+ * ISO-8601 timestamp the rule becomes effective
2118
+ * @example "2026-01-01T00:00:00.000Z"
2119
+ */
2120
+ effectiveFrom?: string;
2121
+ /**
2122
+ * ISO-8601 timestamp the rule stops being effective
2123
+ * @example "2026-12-31T23:59:59.000Z"
2124
+ */
2125
+ effectiveTo?: string;
2126
+ }
2127
+ export interface UpdatePolicyRuleDto {
2128
+ /**
2129
+ * Human-readable rule name
2130
+ * @example "Block opening for sanctioned branches"
2131
+ */
2132
+ name?: string;
2133
+ /** Party type selector (wildcard if omitted) */
2134
+ partyType?: string;
2135
+ /** Owner type selector (wildcard if omitted) */
2136
+ ownerType?: string;
2137
+ /** Account type code selector (wildcard if omitted) */
2138
+ typeCode?: string;
2139
+ /** Product code selector (wildcard if omitted) */
2140
+ productCode?: string;
2141
+ /** Currency selector (wildcard if omitted) */
2142
+ currency?: string;
2143
+ /** Branch code selector (wildcard if omitted) */
2144
+ branchCode?: string;
2145
+ /** Customer CIF selector (wildcard if omitted) */
2146
+ customerCif?: string;
2147
+ /** Channel selector (wildcard if omitted) */
2148
+ channel?: string;
2149
+ /**
2150
+ * Effect applied when the rule matches
2151
+ * @example "DENY"
2152
+ */
2153
+ effect?: "ALLOW" | "DENY" | "LIMIT" | "REQUIRE_APPROVAL";
2154
+ /**
2155
+ * Effect parameters as a JSON object (shape depends on rule kind)
2156
+ * @example {"maxAmount":"10000"}
2157
+ */
2158
+ params?: object;
2159
+ /**
2160
+ * Evaluation priority (higher wins)
2161
+ * @min 1
2162
+ * @example 100
2163
+ */
2164
+ priority?: number;
2165
+ /**
2166
+ * ISO-8601 timestamp the rule becomes effective
2167
+ * @example "2026-01-01T00:00:00.000Z"
2168
+ */
2169
+ effectiveFrom?: string;
2170
+ /**
2171
+ * ISO-8601 timestamp the rule stops being effective
2172
+ * @example "2026-12-31T23:59:59.000Z"
2173
+ */
2174
+ effectiveTo?: string;
2175
+ }
2176
+ export interface ActivateKillSwitchDto {
2177
+ /**
2178
+ * Decision point to block (e.g. ACCOUNT_OPEN)
2179
+ * @example "ACCOUNT_OPEN"
2180
+ */
2181
+ decisionPoint: string;
2182
+ }
2183
+ export interface SimulatePolicyRuleDto {
2184
+ /**
2185
+ * Decision point to evaluate against
2186
+ * @example "ACCOUNT_OPEN"
2187
+ */
2188
+ decisionPoint: string;
2189
+ /** Draft rule to evaluate (not persisted) */
2190
+ draft: CreatePolicyRuleDto;
2191
+ /**
2192
+ * Subjects to evaluate the draft against
2193
+ * @example [{"branchCode":"001","currency":"SYP"}]
2194
+ */
2195
+ subjects: object[];
2196
+ }
1975
2197
  export interface MerchantStatisticsResponseDto {
1976
2198
  /**
1977
2199
  * Total number of merchants
@@ -2051,52 +2273,6 @@ export interface MerchantListQueryDto {
2051
2273
  */
2052
2274
  search?: string;
2053
2275
  }
2054
- export interface MerchantResponseDto {
2055
- /**
2056
- * Merchant ID
2057
- * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
2058
- */
2059
- id: string;
2060
- /**
2061
- * Owner person ID
2062
- * @example "b2c3d4e5-f6a7-8901-bcde-f12345678901"
2063
- */
2064
- personId: string;
2065
- /**
2066
- * KYB business type code
2067
- * @example "SOLE_PROPRIETOR"
2068
- */
2069
- businessType: string;
2070
- /**
2071
- * Merchant category / MCC code
2072
- * @example "5812"
2073
- */
2074
- merchantCategory: string;
2075
- /**
2076
- * Registered business name
2077
- * @example "My Coffee Shop"
2078
- */
2079
- businessName: string;
2080
- /**
2081
- * Business contact phone number
2082
- * @example "+963944123456"
2083
- */
2084
- contactPhone: string;
2085
- /**
2086
- * Expected monthly turnover band
2087
- * @example "50k-250k USD"
2088
- */
2089
- monthlyVolumeBand: string;
2090
- /**
2091
- * Merchant status
2092
- * @example "pending_kyc"
2093
- */
2094
- status: "pending_kyc" | "rejected_kyc" | "active" | "frozen" | "closed";
2095
- /** Creation timestamp */
2096
- createdAt: string;
2097
- /** Last update timestamp */
2098
- updatedAt: string;
2099
- }
2100
2276
  export interface MerchantListResponseDto {
2101
2277
  /** List of merchants */
2102
2278
  data: MerchantResponseDto[];
@@ -2115,6 +2291,37 @@ export interface UpdateMerchantStatusDto {
2115
2291
  */
2116
2292
  reason?: string;
2117
2293
  }
2294
+ export interface MerchantCategoryResponseDto {
2295
+ /**
2296
+ * 4-digit MCC code
2297
+ * @example "5411"
2298
+ */
2299
+ code: string;
2300
+ name: LocalizedNameDto;
2301
+ /** @example true */
2302
+ isActive: boolean;
2303
+ /** @format date-time */
2304
+ createdAt: string;
2305
+ /** @format date-time */
2306
+ updatedAt: string;
2307
+ }
2308
+ export interface MerchantCategoriesListResponseDto {
2309
+ categories: MerchantCategoryResponseDto[];
2310
+ }
2311
+ export interface CreateMerchantCategoryDto {
2312
+ /**
2313
+ * 4-digit MCC code (immutable once created)
2314
+ * @example "5411"
2315
+ */
2316
+ code: string;
2317
+ /** Translatable display name */
2318
+ name: LocalizedNameDto;
2319
+ }
2320
+ export interface UpdateMerchantCategoryDto {
2321
+ name?: LocalizedNameDto;
2322
+ /** Toggle whether new merchants may register under this category */
2323
+ isActive?: boolean;
2324
+ }
2118
2325
  export interface CurrencyStatsDto {
2119
2326
  /** @example "SYP" */
2120
2327
  currency: string;
@@ -3267,7 +3474,7 @@ export interface FindAllParams6 {
3267
3474
  */
3268
3475
  endDate?: string;
3269
3476
  }
3270
- export type FindAllResult1 = ActivityLogListResponseDto;
3477
+ export type FindAllOutput1 = ActivityLogListResponseDto;
3271
3478
  export interface FindAllParams8 {
3272
3479
  /**
3273
3480
  * Page number (1-based)
@@ -3290,7 +3497,7 @@ export interface FindAllParams8 {
3290
3497
  */
3291
3498
  read?: boolean;
3292
3499
  }
3293
- export type FindAllOutput1 = AdminNotificationListResponseDto;
3500
+ export type FindAllResult1 = AdminNotificationListResponseDto;
3294
3501
  export type GetUnreadCountData = any;
3295
3502
  export interface MarkAsReadParams {
3296
3503
  /** Notification ID */
@@ -3382,7 +3589,7 @@ export type ListData = SubmissionListResponseDto;
3382
3589
  export interface GetParams {
3383
3590
  id: string;
3384
3591
  }
3385
- export type GetData = SubmissionResponseDto;
3592
+ export type GetData = SubmissionDetailResponseDto;
3386
3593
  export interface StartReviewParams {
3387
3594
  id: string;
3388
3595
  }
@@ -3403,7 +3610,7 @@ export interface List2Params {
3403
3610
  only_active: string;
3404
3611
  }
3405
3612
  export type List2Data = DocumentTypeResponseDto[];
3406
- export type CreateOutput1 = any;
3613
+ export type CreateResult1 = any;
3407
3614
  export interface ListVersionsParams {
3408
3615
  code: string;
3409
3616
  }
@@ -3563,7 +3770,7 @@ export interface ListAccountsParams {
3563
3770
  * Filter by account status
3564
3771
  * @example "active"
3565
3772
  */
3566
- status?: "pending" | "active" | "frozen" | "closed";
3773
+ status?: "pending" | "active" | "restricted" | "suspended" | "frozen" | "dormant" | "closed";
3567
3774
  /**
3568
3775
  * Filter by account type
3569
3776
  * @example "personal"
@@ -3596,6 +3803,74 @@ export interface UpdateAccountStatusParams {
3596
3803
  id: string;
3597
3804
  }
3598
3805
  export type UpdateAccountStatusData = AdminAccountResponseDto;
3806
+ export interface ActivateParams {
3807
+ /** Account ID (UUID) */
3808
+ id: string;
3809
+ }
3810
+ export type ActivateData = AdminAccountResponseDto;
3811
+ export interface RestrictParams {
3812
+ /** Account ID (UUID) */
3813
+ id: string;
3814
+ }
3815
+ export type RestrictData = AdminAccountResponseDto;
3816
+ export interface SuspendParams {
3817
+ /** Account ID (UUID) */
3818
+ id: string;
3819
+ }
3820
+ export type SuspendData = AdminAccountResponseDto;
3821
+ export interface UnsuspendParams {
3822
+ /** Account ID (UUID) */
3823
+ id: string;
3824
+ }
3825
+ export type UnsuspendData = AdminAccountResponseDto;
3826
+ export interface FreezeParams {
3827
+ /** Account ID (UUID) */
3828
+ id: string;
3829
+ }
3830
+ export type FreezeData = AdminAccountResponseDto;
3831
+ export interface UnfreezeParams {
3832
+ /** Account ID (UUID) */
3833
+ id: string;
3834
+ }
3835
+ export type UnfreezeData = AdminAccountResponseDto;
3836
+ export type ListRuleKindsData = any;
3837
+ export interface ListRulesParams {
3838
+ ruleKind?: string;
3839
+ decisionPoint?: string;
3840
+ /** Filter by active state ("true"/"false") */
3841
+ active?: string;
3842
+ }
3843
+ export type ListRulesData = any;
3844
+ export type CreateRuleData = any;
3845
+ export interface GetRuleParams {
3846
+ /** Rule ID (UUID) */
3847
+ id: string;
3848
+ }
3849
+ export type GetRuleData = any;
3850
+ export interface UpdateRuleParams {
3851
+ /** Rule ID (UUID) */
3852
+ id: string;
3853
+ }
3854
+ export type UpdateRuleData = any;
3855
+ export interface ApproveRuleParams {
3856
+ /** Rule ID (UUID) */
3857
+ id: string;
3858
+ }
3859
+ export type ApproveRuleData = any;
3860
+ export interface DeactivateRuleParams {
3861
+ /** Rule ID (UUID) */
3862
+ id: string;
3863
+ }
3864
+ export type DeactivateRuleData = any;
3865
+ export type KillSwitchData = any;
3866
+ export type SimulateData = any;
3867
+ export interface ListDecisionsParams {
3868
+ decisionPoint?: string;
3869
+ customerCif?: string;
3870
+ /** Max rows to return (default: 50, max: 500) */
3871
+ limit?: number;
3872
+ }
3873
+ export type ListDecisionsData = any;
3599
3874
  export type GetStatisticsOutput = MerchantStatisticsResponseDto;
3600
3875
  export interface ListMerchantsParams {
3601
3876
  /**
@@ -3650,6 +3925,17 @@ export interface UpdateMerchantStatusParams {
3650
3925
  id: string;
3651
3926
  }
3652
3927
  export type UpdateMerchantStatusData = MerchantResponseDto;
3928
+ export interface ListParams2 {
3929
+ /** Return only active categories */
3930
+ onlyActive?: boolean;
3931
+ }
3932
+ export type ListResult = MerchantCategoriesListResponseDto;
3933
+ export type CreateData1 = MerchantCategoryResponseDto;
3934
+ export interface UpdateParams6 {
3935
+ /** 4-digit MCC code */
3936
+ code: string;
3937
+ }
3938
+ export type UpdateResult1 = MerchantCategoryResponseDto;
3653
3939
  export interface GetStatisticsParams3 {
3654
3940
  /** Start date filter (ISO date, e.g. 2025-01-01) */
3655
3941
  startDate?: string;
@@ -3693,8 +3979,8 @@ export type GetTransactionDetailData = AdminTransactionDetailResponseDto;
3693
3979
  export type GetTransactionDetailError = ErrorResponseDto;
3694
3980
  export type SendGlobalNotificationData = SendGlobalNotificationResponseDto;
3695
3981
  export type SendGlobalNotificationError = ErrorResponseDto;
3696
- export type CreateResult1 = ScheduledNotificationResponseDto;
3697
- export type CreateErrorData = ErrorResponseDto;
3982
+ export type CreateResult2 = ScheduledNotificationResponseDto;
3983
+ export type CreateHttpError = ErrorResponseDto;
3698
3984
  export interface FindAllParams10 {
3699
3985
  /** Filter by status */
3700
3986
  status?: "pending" | "sent" | "failed" | "cancelled";
@@ -3710,19 +3996,19 @@ export interface FindAllParams10 {
3710
3996
  */
3711
3997
  limit?: number;
3712
3998
  }
3713
- export type FindAllOutput2 = ScheduledNotificationsListResponseDto;
3999
+ export type FindAllData1 = ScheduledNotificationsListResponseDto;
3714
4000
  export interface FindOneParams {
3715
4001
  /** MongoDB ObjectId */
3716
4002
  id: string;
3717
4003
  }
3718
4004
  export type FindOneData = ScheduledNotificationResponseDto;
3719
4005
  export type FindOneError = ErrorResponseDto;
3720
- export interface UpdateParams6 {
4006
+ export interface UpdateParams8 {
3721
4007
  /** MongoDB ObjectId */
3722
4008
  id: string;
3723
4009
  }
3724
- export type UpdateResult1 = ScheduledNotificationResponseDto;
3725
- export type UpdateErrorData = ErrorResponseDto;
4010
+ export type UpdateOutput1 = ScheduledNotificationResponseDto;
4011
+ export type UpdateHttpError = ErrorResponseDto;
3726
4012
  export interface RemoveParams2 {
3727
4013
  /** MongoDB ObjectId */
3728
4014
  id: string;
@@ -3784,7 +4070,7 @@ export interface DeleteDocumentParams {
3784
4070
  }
3785
4071
  export type DeleteDocumentData = any;
3786
4072
  export type DeleteDocumentError = ErrorResponseDto;
3787
- export type ListResult = AppVersionPolicyListResponseDto;
4073
+ export type ListOutput = AppVersionPolicyListResponseDto;
3788
4074
  export type UpsertData = AppVersionPolicyDto;
3789
4075
  export interface GetParams2 {
3790
4076
  platform: "ios" | "android";
@@ -3838,7 +4124,7 @@ export interface FindAllParams12 {
3838
4124
  */
3839
4125
  query?: string;
3840
4126
  }
3841
- export type FindAllResult2 = PersonListResponseDto;
4127
+ export type FindAllData2 = PersonListResponseDto;
3842
4128
  export interface ExportUsersParams {
3843
4129
  /**
3844
4130
  * Field to sort by
@@ -3923,7 +4209,7 @@ export interface FindAllParams14 {
3923
4209
  */
3924
4210
  endDate?: string;
3925
4211
  }
3926
- export type FindAllOutput3 = DlqMessageListResponseDto;
4212
+ export type FindAllResult2 = DlqMessageListResponseDto;
3927
4213
  export type PendingByTopicData = DlqPendingByTopicResponseDto[];
3928
4214
  export interface FindByIdParams8 {
3929
4215
  id: string;
@@ -3933,36 +4219,36 @@ export interface ResolveParams {
3933
4219
  id: string;
3934
4220
  }
3935
4221
  export type ResolveData = DlqMessageResponseDto;
3936
- export interface ListParams3 {
4222
+ export interface ListParams5 {
3937
4223
  /** Return only active branches */
3938
4224
  onlyActive?: boolean;
3939
4225
  }
3940
- export type ListOutput = BankBranchesListResponseDto;
3941
- export type CreateResult2 = BankBranchResponseDto;
4226
+ export type ListOutput1 = BankBranchesListResponseDto;
4227
+ export type CreateResult3 = BankBranchResponseDto;
3942
4228
  export interface GetByCodeParams {
3943
4229
  /** 3-digit branch code */
3944
4230
  code: string;
3945
4231
  }
3946
4232
  export type GetByCodeData = BankBranchResponseDto;
3947
- export interface UpdateParams8 {
4233
+ export interface UpdateParams10 {
3948
4234
  /** 3-digit branch code */
3949
4235
  code: string;
3950
4236
  }
3951
- export type UpdateResult2 = BankBranchResponseDto;
3952
- export interface ListParams5 {
4237
+ export type UpdateOutput2 = BankBranchResponseDto;
4238
+ export interface ListParams7 {
3953
4239
  onlyActive?: boolean;
3954
4240
  }
3955
- export type ListResult1 = AccountTypesListResponseDto;
3956
- export interface UpdateParams10 {
4241
+ export type ListData1 = AccountTypesListResponseDto;
4242
+ export interface UpdateParams12 {
3957
4243
  /** 2-digit account-type code */
3958
4244
  code: string;
3959
4245
  }
3960
- export type UpdateResult3 = AccountTypeResponseDto;
3961
- export interface ListParams7 {
4246
+ export type UpdateResult2 = AccountTypeResponseDto;
4247
+ export interface ListParams9 {
3962
4248
  onlyActive?: boolean;
3963
4249
  }
3964
- export type ListResult2 = CurrencyConfigListResponseDto;
3965
- export type CreateResult3 = CurrencyConfigResponseDto;
4250
+ export type ListData2 = CurrencyConfigListResponseDto;
4251
+ export type CreateResult4 = CurrencyConfigResponseDto;
3966
4252
  export interface GetByCodeParams2 {
3967
4253
  /** ISO 4217 alpha-3 code (e.g. USD) */
3968
4254
  code: string;
@@ -3973,11 +4259,11 @@ export interface DeleteParams6 {
3973
4259
  code: string;
3974
4260
  }
3975
4261
  export type DeleteResult1 = any;
3976
- export interface UpdateParams12 {
4262
+ export interface UpdateParams14 {
3977
4263
  /** ISO 4217 alpha-3 code */
3978
4264
  code: string;
3979
4265
  }
3980
- export type UpdateOutput1 = CurrencyConfigResponseDto;
4266
+ export type UpdateData1 = CurrencyConfigResponseDto;
3981
4267
  export interface ListRequestsParams {
3982
4268
  /** Filter by status */
3983
4269
  status?: "PENDING" | "APPROVED" | "EXECUTED" | "FAILED" | "REJECTED" | "EXPIRED" | "CANCELLED";
@@ -4012,10 +4298,10 @@ export interface CancelParams {
4012
4298
  id: string;
4013
4299
  }
4014
4300
  export type CancelData = ApprovalRequestResponseDto;
4015
- export type ListResult3 = ApprovalPolicyResponseDto[];
4016
- export interface UpdateParams14 {
4301
+ export type ListResult1 = ApprovalPolicyResponseDto[];
4302
+ export interface UpdateParams16 {
4017
4303
  actionType: "admin.create" | "admin.update" | "admin.delete" | "admin.status_update" | "system_config.upsert" | "system_config.delete" | "account.fund" | "role.assign_permissions" | "reconciliation.run";
4018
4304
  }
4019
- export type UpdateOutput2 = ApprovalPolicyResponseDto;
4305
+ export type UpdateOutput3 = ApprovalPolicyResponseDto;
4020
4306
  export type IndexData = any;
4021
4307
  //# sourceMappingURL=data-contracts.d.ts.map