@firela/api-types 0.0.0-canary.209967 → 0.0.0-canary.a3c2cb48
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/index.d.mts +101 -461
- package/dist/index.d.ts +101 -461
- package/dist/index.js +23 -73
- package/dist/index.mjs +23 -73
- package/package.json +1 -6
- package/src/generated/schemas.gen.ts +33 -8
- package/src/generated/services.gen.ts +148 -497
- package/src/generated/types.gen.ts +87 -453
|
@@ -31,11 +31,9 @@ import type {
|
|
|
31
31
|
TransactionController1Response,
|
|
32
32
|
AccountStandardsControllerGetTemplatesData,
|
|
33
33
|
AccountStandardsControllerGetTemplatesResponse,
|
|
34
|
-
AccountStandardsControllerGetRegionsData,
|
|
35
34
|
AccountStandardsControllerGetRegionsResponse,
|
|
36
35
|
BalanceControllerGetBalanceData,
|
|
37
36
|
BalanceControllerGetBalanceResponse,
|
|
38
|
-
BalanceControllerGetMultiCurrencyBalanceData,
|
|
39
37
|
BalanceControllerGetMultiCurrencyBalanceResponse,
|
|
40
38
|
ReviewControllerFindAllData,
|
|
41
39
|
ReviewControllerFindAllResponse,
|
|
@@ -49,7 +47,6 @@ import type {
|
|
|
49
47
|
ReviewController1Response,
|
|
50
48
|
ReviewController2Data,
|
|
51
49
|
ReviewController2Response,
|
|
52
|
-
PayeeControllerData,
|
|
53
50
|
PayeeControllerResponse,
|
|
54
51
|
PayeeControllerFindAllData,
|
|
55
52
|
PayeeControllerFindAllResponse,
|
|
@@ -59,23 +56,16 @@ import type {
|
|
|
59
56
|
PayeeControllerGetTopPayeesResponse,
|
|
60
57
|
PayeeControllerFindOneData,
|
|
61
58
|
PayeeControllerFindOneResponse,
|
|
62
|
-
PayeeController1Data,
|
|
63
59
|
PayeeController1Response,
|
|
64
|
-
PayeeController2Data,
|
|
65
60
|
PayeeController2Response,
|
|
66
|
-
PayeeProfileAdminControllerData,
|
|
67
61
|
PayeeProfileAdminControllerResponse,
|
|
68
62
|
PayeeProfileAdminControllerFindAllData,
|
|
69
63
|
PayeeProfileAdminControllerFindAllResponse,
|
|
70
64
|
PayeeProfileAdminControllerFindOneData,
|
|
71
65
|
PayeeProfileAdminControllerFindOneResponse,
|
|
72
|
-
PayeeProfileAdminController1Data,
|
|
73
66
|
PayeeProfileAdminController1Response,
|
|
74
|
-
PayeeProfileAdminController2Data,
|
|
75
67
|
PayeeProfileAdminController2Response,
|
|
76
|
-
PayeeProfileAdminController3Data,
|
|
77
68
|
PayeeProfileAdminController3Response,
|
|
78
|
-
PayeeProfileAdminController4Data,
|
|
79
69
|
PayeeProfileAdminController4Response,
|
|
80
70
|
CommodityControllerData,
|
|
81
71
|
CommodityControllerResponse,
|
|
@@ -157,15 +147,11 @@ import type {
|
|
|
157
147
|
UserControllerUpdateUserSettingResponse,
|
|
158
148
|
UserControllerGetAllUserSettingsByPageData,
|
|
159
149
|
UserControllerGetAllUserSettingsByPageResponse,
|
|
160
|
-
UserControllerGetAssetLiabilitySummaryData,
|
|
161
150
|
UserControllerGetAssetLiabilitySummaryResponse,
|
|
162
|
-
PropertyControllerGetAllData,
|
|
163
151
|
PropertyControllerGetAllResponse,
|
|
164
152
|
PropertyControllerGetByKeyData,
|
|
165
153
|
PropertyControllerGetByKeyResponse,
|
|
166
|
-
PropertyControllerData,
|
|
167
154
|
PropertyControllerResponse,
|
|
168
|
-
PropertyController1Data,
|
|
169
155
|
PropertyController1Response,
|
|
170
156
|
FileImportControllerImportFileData,
|
|
171
157
|
FileImportControllerImportFileResponse,
|
|
@@ -179,25 +165,21 @@ import type {
|
|
|
179
165
|
ImporterConfigController1Response,
|
|
180
166
|
ProviderSyncControllerSyncData,
|
|
181
167
|
ProviderSyncControllerSyncResponse,
|
|
182
|
-
ProviderSyncControllerGetSupportedProvidersData,
|
|
183
168
|
ProviderSyncControllerGetSupportedProvidersResponse,
|
|
184
169
|
ProviderSyncControllerIsProviderSupportedData,
|
|
185
170
|
ProviderSyncControllerIsProviderSupportedResponse,
|
|
171
|
+
TelemetryControllerReportTelemetryData,
|
|
172
|
+
TelemetryControllerReportTelemetryResponse,
|
|
186
173
|
NlpControllerProcessNaturalLanguageData,
|
|
187
174
|
NlpControllerProcessNaturalLanguageResponse,
|
|
188
175
|
NlpControllerClearSessionData,
|
|
189
176
|
NlpControllerClearSessionResponse,
|
|
190
177
|
NlpControllerGetSessionData,
|
|
191
178
|
NlpControllerGetSessionResponse,
|
|
192
|
-
PlatformControllerFindAllData,
|
|
193
179
|
PlatformControllerFindAllResponse,
|
|
194
|
-
PlatformControllerData,
|
|
195
180
|
PlatformControllerResponse,
|
|
196
|
-
PlatformControllerGetPlatformListData,
|
|
197
181
|
PlatformControllerGetPlatformListResponse,
|
|
198
|
-
PlatformController1Data,
|
|
199
182
|
PlatformController1Response,
|
|
200
|
-
PlatformController2Data,
|
|
201
183
|
PlatformController2Response,
|
|
202
184
|
SymbolControllerLookupSymbolData,
|
|
203
185
|
SymbolControllerLookupSymbolResponse,
|
|
@@ -205,9 +187,7 @@ import type {
|
|
|
205
187
|
SymbolControllerGetSymbolDataResponse,
|
|
206
188
|
SymbolControllerGatherSymbolForDateData,
|
|
207
189
|
SymbolControllerGatherSymbolForDateResponse,
|
|
208
|
-
SymbolControllerData,
|
|
209
190
|
SymbolControllerResponse,
|
|
210
|
-
CacheControllerFlushCacheData,
|
|
211
191
|
CacheControllerFlushCacheResponse,
|
|
212
192
|
DashboardControllerGetNetWorthData,
|
|
213
193
|
DashboardControllerGetNetWorthResponse,
|
|
@@ -221,31 +201,23 @@ import type {
|
|
|
221
201
|
ReportingControllerGenerateSnapshotResponse,
|
|
222
202
|
ReportingControllerBackfillSnapshotsData,
|
|
223
203
|
ReportingControllerBackfillSnapshotsResponse,
|
|
224
|
-
ApiKeysControllerData,
|
|
225
204
|
ApiKeysControllerResponse,
|
|
226
205
|
AuthControllerAccessTokenLoginData,
|
|
227
206
|
AuthControllerAccessTokenLoginResponse,
|
|
228
207
|
ExchangeRateControllerGetExchangeRateData,
|
|
229
208
|
ExchangeRateControllerGetExchangeRateResponse,
|
|
230
|
-
HealthControllerGetHealthData,
|
|
231
209
|
HealthControllerGetHealthResponse,
|
|
232
|
-
HealthControllerCheckDatabaseData,
|
|
233
210
|
HealthControllerCheckDatabaseResponse,
|
|
234
|
-
HealthControllerCheckRedisData,
|
|
235
211
|
HealthControllerCheckRedisResponse,
|
|
236
|
-
HealthControllerGetCircuitBreakersHealthData,
|
|
237
212
|
HealthControllerGetCircuitBreakersHealthResponse,
|
|
238
213
|
HealthControllerResetCircuitBreakerData,
|
|
239
214
|
HealthControllerResetCircuitBreakerResponse,
|
|
240
|
-
HealthControllerGetMetricsData,
|
|
241
215
|
HealthControllerGetMetricsResponse,
|
|
242
216
|
HealthControllerGetHealthOfDataEnhancerData,
|
|
243
217
|
HealthControllerGetHealthOfDataEnhancerResponse,
|
|
244
|
-
HealthControllerCheckDataProvidersData,
|
|
245
218
|
HealthControllerCheckDataProvidersResponse,
|
|
246
219
|
HealthControllerGetHealthOfDataProviderData,
|
|
247
220
|
HealthControllerGetHealthOfDataProviderResponse,
|
|
248
|
-
InfoControllerGetInfoData,
|
|
249
221
|
InfoControllerGetInfoResponse,
|
|
250
222
|
LogoControllerGetLogoByDataSourceAndSymbolData,
|
|
251
223
|
LogoControllerGetLogoByDataSourceAndSymbolResponse,
|
|
@@ -253,7 +225,6 @@ import type {
|
|
|
253
225
|
LogoControllerGetLogoByUrlResponse,
|
|
254
226
|
MarketDataControllerGetMarketDataBySymbolData,
|
|
255
227
|
MarketDataControllerGetMarketDataBySymbolResponse,
|
|
256
|
-
MarketDataControllerData,
|
|
257
228
|
MarketDataControllerResponse
|
|
258
229
|
} from './types.gen';
|
|
259
230
|
|
|
@@ -458,8 +429,9 @@ export class BeanAccountsService {
|
|
|
458
429
|
|
|
459
430
|
export class BeanTransactionsService {
|
|
460
431
|
/**
|
|
461
|
-
*
|
|
462
|
-
*
|
|
432
|
+
* @deprecated
|
|
433
|
+
* Create transaction (DEPRECATED)
|
|
434
|
+
* DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
|
|
463
435
|
* @param data The data for the request.
|
|
464
436
|
* @param data.region Region code for tenant context
|
|
465
437
|
* @param data.requestBody Transaction data with postings
|
|
@@ -648,20 +620,13 @@ export class BeanAccountStandardsService {
|
|
|
648
620
|
/**
|
|
649
621
|
* Get available regions with hierarchy
|
|
650
622
|
* Returns supported regions with inheritance metadata
|
|
651
|
-
* @param data The data for the request.
|
|
652
|
-
* @param data.region Region code (cn, us, de)
|
|
653
623
|
* @returns RegionsMetadataResponseDto Regions metadata retrieved successfully
|
|
654
624
|
* @throws ApiError
|
|
655
625
|
*/
|
|
656
|
-
public static accountStandardsControllerGetRegions(
|
|
657
|
-
data: AccountStandardsControllerGetRegionsData
|
|
658
|
-
): CancelablePromise<AccountStandardsControllerGetRegionsResponse> {
|
|
626
|
+
public static accountStandardsControllerGetRegions(): CancelablePromise<AccountStandardsControllerGetRegionsResponse> {
|
|
659
627
|
return __request(OpenAPI, {
|
|
660
628
|
method: 'GET',
|
|
661
|
-
url: '/api/v1/{region}/bean/account-standards/regions'
|
|
662
|
-
path: {
|
|
663
|
-
region: data.region
|
|
664
|
-
}
|
|
629
|
+
url: '/api/v1/{region}/bean/account-standards/regions'
|
|
665
630
|
});
|
|
666
631
|
}
|
|
667
632
|
}
|
|
@@ -672,7 +637,6 @@ export class BeanBalancesService {
|
|
|
672
637
|
* Calculate account balance at a specific date for a single currency
|
|
673
638
|
* @param data The data for the request.
|
|
674
639
|
* @param data.account Account name (e.g., "Assets:Bank:Checking")
|
|
675
|
-
* @param data.region Region code (cn, us, de)
|
|
676
640
|
* @param data.date Date to calculate balance at (ISO 8601 format)
|
|
677
641
|
* @param data.currency Currency to query (e.g., "USD", "CNY")
|
|
678
642
|
* @returns BalanceResponseDto Balance calculated successfully
|
|
@@ -684,9 +648,6 @@ export class BeanBalancesService {
|
|
|
684
648
|
return __request(OpenAPI, {
|
|
685
649
|
method: 'GET',
|
|
686
650
|
url: '/api/v1/{region}/bean/balances',
|
|
687
|
-
path: {
|
|
688
|
-
region: data.region
|
|
689
|
-
},
|
|
690
651
|
query: {
|
|
691
652
|
account: data.account,
|
|
692
653
|
date: data.date,
|
|
@@ -702,20 +663,13 @@ export class BeanBalancesService {
|
|
|
702
663
|
/**
|
|
703
664
|
* Query multi-currency account balance
|
|
704
665
|
* Calculate account balances for all currencies at a specific date
|
|
705
|
-
* @param data The data for the request.
|
|
706
|
-
* @param data.region Region code (cn, us, de)
|
|
707
666
|
* @returns MultiCurrencyBalanceResponseDto Balances calculated successfully
|
|
708
667
|
* @throws ApiError
|
|
709
668
|
*/
|
|
710
|
-
public static balanceControllerGetMultiCurrencyBalance(
|
|
711
|
-
data: BalanceControllerGetMultiCurrencyBalanceData
|
|
712
|
-
): CancelablePromise<BalanceControllerGetMultiCurrencyBalanceResponse> {
|
|
669
|
+
public static balanceControllerGetMultiCurrencyBalance(): CancelablePromise<BalanceControllerGetMultiCurrencyBalanceResponse> {
|
|
713
670
|
return __request(OpenAPI, {
|
|
714
671
|
method: 'GET',
|
|
715
672
|
url: '/api/v1/{region}/bean/balances/multi-currency',
|
|
716
|
-
path: {
|
|
717
|
-
region: data.region
|
|
718
|
-
},
|
|
719
673
|
errors: {
|
|
720
674
|
400: 'Invalid query parameters',
|
|
721
675
|
401: 'User not authenticated'
|
|
@@ -728,7 +682,7 @@ export class BeanReviewsService {
|
|
|
728
682
|
/**
|
|
729
683
|
* List pending reviews
|
|
730
684
|
* @param data The data for the request.
|
|
731
|
-
* @param data.region Region code
|
|
685
|
+
* @param data.region Region code for tenant context
|
|
732
686
|
* @param data.type Filter by review type
|
|
733
687
|
* @param data.confidenceLevel Filter by confidence level
|
|
734
688
|
* @param data.sortBy Sort order
|
|
@@ -759,7 +713,7 @@ export class BeanReviewsService {
|
|
|
759
713
|
/**
|
|
760
714
|
* Get review statistics
|
|
761
715
|
* @param data The data for the request.
|
|
762
|
-
* @param data.region Region code
|
|
716
|
+
* @param data.region Region code for tenant context
|
|
763
717
|
* @returns ReviewStatsDto
|
|
764
718
|
* @throws ApiError
|
|
765
719
|
*/
|
|
@@ -779,7 +733,7 @@ export class BeanReviewsService {
|
|
|
779
733
|
* Get review by ID
|
|
780
734
|
* @param data The data for the request.
|
|
781
735
|
* @param data.id Review ID
|
|
782
|
-
* @param data.region Region code
|
|
736
|
+
* @param data.region Region code for tenant context
|
|
783
737
|
* @returns ReviewDetailDto
|
|
784
738
|
* @throws ApiError
|
|
785
739
|
*/
|
|
@@ -798,7 +752,7 @@ export class BeanReviewsService {
|
|
|
798
752
|
|
|
799
753
|
/**
|
|
800
754
|
* @param data The data for the request.
|
|
801
|
-
* @param data.region Region code
|
|
755
|
+
* @param data.region Region code for tenant context
|
|
802
756
|
* @returns unknown
|
|
803
757
|
* @throws ApiError
|
|
804
758
|
*/
|
|
@@ -816,7 +770,7 @@ export class BeanReviewsService {
|
|
|
816
770
|
|
|
817
771
|
/**
|
|
818
772
|
* @param data The data for the request.
|
|
819
|
-
* @param data.region Region code
|
|
773
|
+
* @param data.region Region code for tenant context
|
|
820
774
|
* @returns unknown
|
|
821
775
|
* @throws ApiError
|
|
822
776
|
*/
|
|
@@ -834,7 +788,7 @@ export class BeanReviewsService {
|
|
|
834
788
|
|
|
835
789
|
/**
|
|
836
790
|
* @param data The data for the request.
|
|
837
|
-
* @param data.region Region code
|
|
791
|
+
* @param data.region Region code for tenant context
|
|
838
792
|
* @returns unknown
|
|
839
793
|
* @throws ApiError
|
|
840
794
|
*/
|
|
@@ -853,20 +807,13 @@ export class BeanReviewsService {
|
|
|
853
807
|
|
|
854
808
|
export class BeanPayeesService {
|
|
855
809
|
/**
|
|
856
|
-
* @param data The data for the request.
|
|
857
|
-
* @param data.region Region code (cn, us, de)
|
|
858
810
|
* @returns unknown
|
|
859
811
|
* @throws ApiError
|
|
860
812
|
*/
|
|
861
|
-
public static payeeController(
|
|
862
|
-
data: PayeeControllerData
|
|
863
|
-
): CancelablePromise<PayeeControllerResponse> {
|
|
813
|
+
public static payeeController(): CancelablePromise<PayeeControllerResponse> {
|
|
864
814
|
return __request(OpenAPI, {
|
|
865
815
|
method: 'POST',
|
|
866
|
-
url: '/api/v1/bean/payees'
|
|
867
|
-
path: {
|
|
868
|
-
region: data.region
|
|
869
|
-
}
|
|
816
|
+
url: '/api/v1/bean/payees'
|
|
870
817
|
});
|
|
871
818
|
}
|
|
872
819
|
|
|
@@ -874,7 +821,6 @@ export class BeanPayeesService {
|
|
|
874
821
|
* List user payees
|
|
875
822
|
* Returns all payee mappings for the authenticated user with optional filtering
|
|
876
823
|
* @param data The data for the request.
|
|
877
|
-
* @param data.region Region code (cn, us, de)
|
|
878
824
|
* @param data.search Search term for payee name (partial match, case-insensitive). Useful for autocomplete.
|
|
879
825
|
* @param data.payee Filter by exact payee name match
|
|
880
826
|
* @param data.category Filter by custom category
|
|
@@ -884,14 +830,11 @@ export class BeanPayeesService {
|
|
|
884
830
|
* @throws ApiError
|
|
885
831
|
*/
|
|
886
832
|
public static payeeControllerFindAll(
|
|
887
|
-
data: PayeeControllerFindAllData
|
|
833
|
+
data: PayeeControllerFindAllData = {}
|
|
888
834
|
): CancelablePromise<PayeeControllerFindAllResponse> {
|
|
889
835
|
return __request(OpenAPI, {
|
|
890
836
|
method: 'GET',
|
|
891
837
|
url: '/api/v1/bean/payees',
|
|
892
|
-
path: {
|
|
893
|
-
region: data.region
|
|
894
|
-
},
|
|
895
838
|
query: {
|
|
896
839
|
search: data.search,
|
|
897
840
|
payee: data.payee,
|
|
@@ -907,7 +850,6 @@ export class BeanPayeesService {
|
|
|
907
850
|
* Returns active payee names matching the query, sorted by recent usage. Used for transaction input autocomplete.
|
|
908
851
|
* @param data The data for the request.
|
|
909
852
|
* @param data.q Search query for payee name (partial match, case-insensitive)
|
|
910
|
-
* @param data.region Region code (cn, us, de)
|
|
911
853
|
* @param data.limit Maximum number of suggestions
|
|
912
854
|
* @returns PayeeAutocompleteResponseDto Autocomplete suggestions retrieved successfully
|
|
913
855
|
* @throws ApiError
|
|
@@ -918,9 +860,6 @@ export class BeanPayeesService {
|
|
|
918
860
|
return __request(OpenAPI, {
|
|
919
861
|
method: 'GET',
|
|
920
862
|
url: '/api/v1/bean/payees/autocomplete',
|
|
921
|
-
path: {
|
|
922
|
-
region: data.region
|
|
923
|
-
},
|
|
924
863
|
query: {
|
|
925
864
|
q: data.q,
|
|
926
865
|
limit: data.limit
|
|
@@ -932,20 +871,16 @@ export class BeanPayeesService {
|
|
|
932
871
|
* Get top payees by usage
|
|
933
872
|
* Returns the most frequently used payees, sorted by use count. Used for statistics and analytics.
|
|
934
873
|
* @param data The data for the request.
|
|
935
|
-
* @param data.region Region code (cn, us, de)
|
|
936
874
|
* @param data.limit Maximum number of results
|
|
937
875
|
* @returns PayeeStatsResponseDto Top payees retrieved successfully
|
|
938
876
|
* @throws ApiError
|
|
939
877
|
*/
|
|
940
878
|
public static payeeControllerGetTopPayees(
|
|
941
|
-
data: PayeeControllerGetTopPayeesData
|
|
879
|
+
data: PayeeControllerGetTopPayeesData = {}
|
|
942
880
|
): CancelablePromise<PayeeControllerGetTopPayeesResponse> {
|
|
943
881
|
return __request(OpenAPI, {
|
|
944
882
|
method: 'GET',
|
|
945
883
|
url: '/api/v1/bean/payees/top',
|
|
946
|
-
path: {
|
|
947
|
-
region: data.region
|
|
948
|
-
},
|
|
949
884
|
query: {
|
|
950
885
|
limit: data.limit
|
|
951
886
|
}
|
|
@@ -957,7 +892,6 @@ export class BeanPayeesService {
|
|
|
957
892
|
* Returns a specific payee mapping by its UUID
|
|
958
893
|
* @param data The data for the request.
|
|
959
894
|
* @param data.id Payee UUID
|
|
960
|
-
* @param data.region Region code (cn, us, de)
|
|
961
895
|
* @returns PayeeResponseDto Payee retrieved successfully
|
|
962
896
|
* @throws ApiError
|
|
963
897
|
*/
|
|
@@ -968,8 +902,7 @@ export class BeanPayeesService {
|
|
|
968
902
|
method: 'GET',
|
|
969
903
|
url: '/api/v1/bean/payees/{id}',
|
|
970
904
|
path: {
|
|
971
|
-
id: data.id
|
|
972
|
-
region: data.region
|
|
905
|
+
id: data.id
|
|
973
906
|
},
|
|
974
907
|
errors: {
|
|
975
908
|
403: 'Payee belongs to another user',
|
|
@@ -979,58 +912,37 @@ export class BeanPayeesService {
|
|
|
979
912
|
}
|
|
980
913
|
|
|
981
914
|
/**
|
|
982
|
-
* @param data The data for the request.
|
|
983
|
-
* @param data.region Region code (cn, us, de)
|
|
984
915
|
* @returns unknown
|
|
985
916
|
* @throws ApiError
|
|
986
917
|
*/
|
|
987
|
-
public static payeeController1(
|
|
988
|
-
data: PayeeController1Data
|
|
989
|
-
): CancelablePromise<PayeeController1Response> {
|
|
918
|
+
public static payeeController1(): CancelablePromise<PayeeController1Response> {
|
|
990
919
|
return __request(OpenAPI, {
|
|
991
920
|
method: 'PUT',
|
|
992
|
-
url: '/api/v1/bean/payees/{id}'
|
|
993
|
-
path: {
|
|
994
|
-
region: data.region
|
|
995
|
-
}
|
|
921
|
+
url: '/api/v1/bean/payees/{id}'
|
|
996
922
|
});
|
|
997
923
|
}
|
|
998
924
|
|
|
999
925
|
/**
|
|
1000
|
-
* @param data The data for the request.
|
|
1001
|
-
* @param data.region Region code (cn, us, de)
|
|
1002
926
|
* @returns void
|
|
1003
927
|
* @throws ApiError
|
|
1004
928
|
*/
|
|
1005
|
-
public static payeeController2(
|
|
1006
|
-
data: PayeeController2Data
|
|
1007
|
-
): CancelablePromise<PayeeController2Response> {
|
|
929
|
+
public static payeeController2(): CancelablePromise<PayeeController2Response> {
|
|
1008
930
|
return __request(OpenAPI, {
|
|
1009
931
|
method: 'DELETE',
|
|
1010
|
-
url: '/api/v1/bean/payees/{id}'
|
|
1011
|
-
path: {
|
|
1012
|
-
region: data.region
|
|
1013
|
-
}
|
|
932
|
+
url: '/api/v1/bean/payees/{id}'
|
|
1014
933
|
});
|
|
1015
934
|
}
|
|
1016
935
|
}
|
|
1017
936
|
|
|
1018
937
|
export class AdminPayeeProfilesService {
|
|
1019
938
|
/**
|
|
1020
|
-
* @param data The data for the request.
|
|
1021
|
-
* @param data.region Region code (cn, us, de)
|
|
1022
939
|
* @returns unknown
|
|
1023
940
|
* @throws ApiError
|
|
1024
941
|
*/
|
|
1025
|
-
public static payeeProfileAdminController(
|
|
1026
|
-
data: PayeeProfileAdminControllerData
|
|
1027
|
-
): CancelablePromise<PayeeProfileAdminControllerResponse> {
|
|
942
|
+
public static payeeProfileAdminController(): CancelablePromise<PayeeProfileAdminControllerResponse> {
|
|
1028
943
|
return __request(OpenAPI, {
|
|
1029
944
|
method: 'POST',
|
|
1030
|
-
url: '/api/v1/admin/payee-profiles'
|
|
1031
|
-
path: {
|
|
1032
|
-
region: data.region
|
|
1033
|
-
}
|
|
945
|
+
url: '/api/v1/admin/payee-profiles'
|
|
1034
946
|
});
|
|
1035
947
|
}
|
|
1036
948
|
|
|
@@ -1038,7 +950,6 @@ export class AdminPayeeProfilesService {
|
|
|
1038
950
|
* List payee profiles (Admin only)
|
|
1039
951
|
* Returns all payee profiles with optional filtering by category, country, verification status, etc.
|
|
1040
952
|
* @param data The data for the request.
|
|
1041
|
-
* @param data.region Region code (cn, us, de)
|
|
1042
953
|
* @param data.search Search term for canonical name and aliases (case-insensitive)
|
|
1043
954
|
* @param data.category Filter by category
|
|
1044
955
|
* @param data.country Filter by country (ISO 3166-1 alpha-2)
|
|
@@ -1049,14 +960,11 @@ export class AdminPayeeProfilesService {
|
|
|
1049
960
|
* @throws ApiError
|
|
1050
961
|
*/
|
|
1051
962
|
public static payeeProfileAdminControllerFindAll(
|
|
1052
|
-
data: PayeeProfileAdminControllerFindAllData
|
|
963
|
+
data: PayeeProfileAdminControllerFindAllData = {}
|
|
1053
964
|
): CancelablePromise<PayeeProfileAdminControllerFindAllResponse> {
|
|
1054
965
|
return __request(OpenAPI, {
|
|
1055
966
|
method: 'GET',
|
|
1056
967
|
url: '/api/v1/admin/payee-profiles',
|
|
1057
|
-
path: {
|
|
1058
|
-
region: data.region
|
|
1059
|
-
},
|
|
1060
968
|
query: {
|
|
1061
969
|
search: data.search,
|
|
1062
970
|
category: data.category,
|
|
@@ -1076,7 +984,6 @@ export class AdminPayeeProfilesService {
|
|
|
1076
984
|
* Returns a single payee profile by its ID.
|
|
1077
985
|
* @param data The data for the request.
|
|
1078
986
|
* @param data.id Payee profile ID (UUID)
|
|
1079
|
-
* @param data.region Region code (cn, us, de)
|
|
1080
987
|
* @returns PayeeProfileResponseDto Payee profile retrieved successfully
|
|
1081
988
|
* @throws ApiError
|
|
1082
989
|
*/
|
|
@@ -1087,8 +994,7 @@ export class AdminPayeeProfilesService {
|
|
|
1087
994
|
method: 'GET',
|
|
1088
995
|
url: '/api/v1/admin/payee-profiles/{id}',
|
|
1089
996
|
path: {
|
|
1090
|
-
id: data.id
|
|
1091
|
-
region: data.region
|
|
997
|
+
id: data.id
|
|
1092
998
|
},
|
|
1093
999
|
errors: {
|
|
1094
1000
|
403: 'Admin access required',
|
|
@@ -1098,74 +1004,46 @@ export class AdminPayeeProfilesService {
|
|
|
1098
1004
|
}
|
|
1099
1005
|
|
|
1100
1006
|
/**
|
|
1101
|
-
* @param data The data for the request.
|
|
1102
|
-
* @param data.region Region code (cn, us, de)
|
|
1103
1007
|
* @returns unknown
|
|
1104
1008
|
* @throws ApiError
|
|
1105
1009
|
*/
|
|
1106
|
-
public static payeeProfileAdminController1(
|
|
1107
|
-
data: PayeeProfileAdminController1Data
|
|
1108
|
-
): CancelablePromise<PayeeProfileAdminController1Response> {
|
|
1010
|
+
public static payeeProfileAdminController1(): CancelablePromise<PayeeProfileAdminController1Response> {
|
|
1109
1011
|
return __request(OpenAPI, {
|
|
1110
1012
|
method: 'PUT',
|
|
1111
|
-
url: '/api/v1/admin/payee-profiles/{id}'
|
|
1112
|
-
path: {
|
|
1113
|
-
region: data.region
|
|
1114
|
-
}
|
|
1013
|
+
url: '/api/v1/admin/payee-profiles/{id}'
|
|
1115
1014
|
});
|
|
1116
1015
|
}
|
|
1117
1016
|
|
|
1118
1017
|
/**
|
|
1119
|
-
* @param data The data for the request.
|
|
1120
|
-
* @param data.region Region code (cn, us, de)
|
|
1121
1018
|
* @returns void
|
|
1122
1019
|
* @throws ApiError
|
|
1123
1020
|
*/
|
|
1124
|
-
public static payeeProfileAdminController2(
|
|
1125
|
-
data: PayeeProfileAdminController2Data
|
|
1126
|
-
): CancelablePromise<PayeeProfileAdminController2Response> {
|
|
1021
|
+
public static payeeProfileAdminController2(): CancelablePromise<PayeeProfileAdminController2Response> {
|
|
1127
1022
|
return __request(OpenAPI, {
|
|
1128
1023
|
method: 'DELETE',
|
|
1129
|
-
url: '/api/v1/admin/payee-profiles/{id}'
|
|
1130
|
-
path: {
|
|
1131
|
-
region: data.region
|
|
1132
|
-
}
|
|
1024
|
+
url: '/api/v1/admin/payee-profiles/{id}'
|
|
1133
1025
|
});
|
|
1134
1026
|
}
|
|
1135
1027
|
|
|
1136
1028
|
/**
|
|
1137
|
-
* @param data The data for the request.
|
|
1138
|
-
* @param data.region Region code (cn, us, de)
|
|
1139
1029
|
* @returns unknown
|
|
1140
1030
|
* @throws ApiError
|
|
1141
1031
|
*/
|
|
1142
|
-
public static payeeProfileAdminController3(
|
|
1143
|
-
data: PayeeProfileAdminController3Data
|
|
1144
|
-
): CancelablePromise<PayeeProfileAdminController3Response> {
|
|
1032
|
+
public static payeeProfileAdminController3(): CancelablePromise<PayeeProfileAdminController3Response> {
|
|
1145
1033
|
return __request(OpenAPI, {
|
|
1146
1034
|
method: 'POST',
|
|
1147
|
-
url: '/api/v1/admin/payee-profiles/{id}/verify'
|
|
1148
|
-
path: {
|
|
1149
|
-
region: data.region
|
|
1150
|
-
}
|
|
1035
|
+
url: '/api/v1/admin/payee-profiles/{id}/verify'
|
|
1151
1036
|
});
|
|
1152
1037
|
}
|
|
1153
1038
|
|
|
1154
1039
|
/**
|
|
1155
|
-
* @param data The data for the request.
|
|
1156
|
-
* @param data.region Region code (cn, us, de)
|
|
1157
1040
|
* @returns unknown
|
|
1158
1041
|
* @throws ApiError
|
|
1159
1042
|
*/
|
|
1160
|
-
public static payeeProfileAdminController4(
|
|
1161
|
-
data: PayeeProfileAdminController4Data
|
|
1162
|
-
): CancelablePromise<PayeeProfileAdminController4Response> {
|
|
1043
|
+
public static payeeProfileAdminController4(): CancelablePromise<PayeeProfileAdminController4Response> {
|
|
1163
1044
|
return __request(OpenAPI, {
|
|
1164
1045
|
method: 'DELETE',
|
|
1165
|
-
url: '/api/v1/admin/payee-profiles/{id}/verify'
|
|
1166
|
-
path: {
|
|
1167
|
-
region: data.region
|
|
1168
|
-
}
|
|
1046
|
+
url: '/api/v1/admin/payee-profiles/{id}/verify'
|
|
1169
1047
|
});
|
|
1170
1048
|
}
|
|
1171
1049
|
}
|
|
@@ -1173,7 +1051,7 @@ export class AdminPayeeProfilesService {
|
|
|
1173
1051
|
export class BeanCommoditiesService {
|
|
1174
1052
|
/**
|
|
1175
1053
|
* @param data The data for the request.
|
|
1176
|
-
* @param data.region Region code
|
|
1054
|
+
* @param data.region Region code for tenant context
|
|
1177
1055
|
* @returns unknown
|
|
1178
1056
|
* @throws ApiError
|
|
1179
1057
|
*/
|
|
@@ -1193,7 +1071,7 @@ export class BeanCommoditiesService {
|
|
|
1193
1071
|
* List user commodities
|
|
1194
1072
|
* Returns all commodity definitions for the authenticated user with optional filtering
|
|
1195
1073
|
* @param data The data for the request.
|
|
1196
|
-
* @param data.region Region code
|
|
1074
|
+
* @param data.region Region code for tenant context
|
|
1197
1075
|
* @param data.search Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
|
|
1198
1076
|
* @param data.symbol Filter by exact symbol match
|
|
1199
1077
|
* @returns CommodityListResponseDto Commodities retrieved successfully
|
|
@@ -1220,7 +1098,7 @@ export class BeanCommoditiesService {
|
|
|
1220
1098
|
* Returns a specific commodity definition by its symbol
|
|
1221
1099
|
* @param data The data for the request.
|
|
1222
1100
|
* @param data.symbol Commodity symbol
|
|
1223
|
-
* @param data.region Region code
|
|
1101
|
+
* @param data.region Region code for tenant context
|
|
1224
1102
|
* @returns CommodityResponseDto Commodity retrieved successfully
|
|
1225
1103
|
* @throws ApiError
|
|
1226
1104
|
*/
|
|
@@ -1242,7 +1120,7 @@ export class BeanCommoditiesService {
|
|
|
1242
1120
|
|
|
1243
1121
|
/**
|
|
1244
1122
|
* @param data The data for the request.
|
|
1245
|
-
* @param data.region Region code
|
|
1123
|
+
* @param data.region Region code for tenant context
|
|
1246
1124
|
* @returns unknown
|
|
1247
1125
|
* @throws ApiError
|
|
1248
1126
|
*/
|
|
@@ -1260,7 +1138,7 @@ export class BeanCommoditiesService {
|
|
|
1260
1138
|
|
|
1261
1139
|
/**
|
|
1262
1140
|
* @param data The data for the request.
|
|
1263
|
-
* @param data.region Region code
|
|
1141
|
+
* @param data.region Region code for tenant context
|
|
1264
1142
|
* @returns void
|
|
1265
1143
|
* @throws ApiError
|
|
1266
1144
|
*/
|
|
@@ -1278,7 +1156,7 @@ export class BeanCommoditiesService {
|
|
|
1278
1156
|
|
|
1279
1157
|
/**
|
|
1280
1158
|
* @param data The data for the request.
|
|
1281
|
-
* @param data.region Region code
|
|
1159
|
+
* @param data.region Region code for tenant context
|
|
1282
1160
|
* @returns unknown
|
|
1283
1161
|
* @throws ApiError
|
|
1284
1162
|
*/
|
|
@@ -1296,7 +1174,7 @@ export class BeanCommoditiesService {
|
|
|
1296
1174
|
|
|
1297
1175
|
/**
|
|
1298
1176
|
* @param data The data for the request.
|
|
1299
|
-
* @param data.region Region code
|
|
1177
|
+
* @param data.region Region code for tenant context
|
|
1300
1178
|
* @returns unknown
|
|
1301
1179
|
* @throws ApiError
|
|
1302
1180
|
*/
|
|
@@ -1316,7 +1194,7 @@ export class BeanCommoditiesService {
|
|
|
1316
1194
|
export class RecurringRulesService {
|
|
1317
1195
|
/**
|
|
1318
1196
|
* @param data The data for the request.
|
|
1319
|
-
* @param data.region Region code
|
|
1197
|
+
* @param data.region Region code for tenant context
|
|
1320
1198
|
* @returns unknown
|
|
1321
1199
|
* @throws ApiError
|
|
1322
1200
|
*/
|
|
@@ -1336,7 +1214,7 @@ export class RecurringRulesService {
|
|
|
1336
1214
|
* List recurring rules
|
|
1337
1215
|
* Returns all recurring rules for the authenticated user with optional filtering
|
|
1338
1216
|
* @param data The data for the request.
|
|
1339
|
-
* @param data.region Region code
|
|
1217
|
+
* @param data.region Region code for tenant context
|
|
1340
1218
|
* @param data.isActive Filter by active status
|
|
1341
1219
|
* @param data.frequency Filter by frequency (WEEKLY, MONTHLY, etc.)
|
|
1342
1220
|
* @param data.hasAutoCreate Filter by autoCreate enabled
|
|
@@ -1362,7 +1240,7 @@ export class RecurringRulesService {
|
|
|
1362
1240
|
|
|
1363
1241
|
/**
|
|
1364
1242
|
* @param data The data for the request.
|
|
1365
|
-
* @param data.region Region code
|
|
1243
|
+
* @param data.region Region code for tenant context
|
|
1366
1244
|
* @returns unknown
|
|
1367
1245
|
* @throws ApiError
|
|
1368
1246
|
*/
|
|
@@ -1383,7 +1261,7 @@ export class RecurringRulesService {
|
|
|
1383
1261
|
* Returns a specific recurring rule with its details
|
|
1384
1262
|
* @param data The data for the request.
|
|
1385
1263
|
* @param data.id Rule ID
|
|
1386
|
-
* @param data.region Region code
|
|
1264
|
+
* @param data.region Region code for tenant context
|
|
1387
1265
|
* @returns RecurringRuleResponseDto Rule retrieved successfully
|
|
1388
1266
|
* @throws ApiError
|
|
1389
1267
|
*/
|
|
@@ -1405,7 +1283,7 @@ export class RecurringRulesService {
|
|
|
1405
1283
|
|
|
1406
1284
|
/**
|
|
1407
1285
|
* @param data The data for the request.
|
|
1408
|
-
* @param data.region Region code
|
|
1286
|
+
* @param data.region Region code for tenant context
|
|
1409
1287
|
* @returns unknown
|
|
1410
1288
|
* @throws ApiError
|
|
1411
1289
|
*/
|
|
@@ -1423,7 +1301,7 @@ export class RecurringRulesService {
|
|
|
1423
1301
|
|
|
1424
1302
|
/**
|
|
1425
1303
|
* @param data The data for the request.
|
|
1426
|
-
* @param data.region Region code
|
|
1304
|
+
* @param data.region Region code for tenant context
|
|
1427
1305
|
* @returns void
|
|
1428
1306
|
* @throws ApiError
|
|
1429
1307
|
*/
|
|
@@ -1444,7 +1322,7 @@ export class RecurringRulesService {
|
|
|
1444
1322
|
* Returns a rule with pending/overdue counts and next expected date
|
|
1445
1323
|
* @param data The data for the request.
|
|
1446
1324
|
* @param data.id Rule ID
|
|
1447
|
-
* @param data.region Region code
|
|
1325
|
+
* @param data.region Region code for tenant context
|
|
1448
1326
|
* @returns RecurringRuleWithStatsResponseDto Rule with stats retrieved successfully
|
|
1449
1327
|
* @throws ApiError
|
|
1450
1328
|
*/
|
|
@@ -1470,7 +1348,7 @@ export class ExpectedTransactionsService {
|
|
|
1470
1348
|
* List expected transactions
|
|
1471
1349
|
* Returns expected transactions for the authenticated user with optional filtering
|
|
1472
1350
|
* @param data The data for the request.
|
|
1473
|
-
* @param data.region Region code
|
|
1351
|
+
* @param data.region Region code for tenant context
|
|
1474
1352
|
* @param data.ruleId Filter by recurring rule ID
|
|
1475
1353
|
* @param data.status Filter by status (PENDING, COMPLETED, SKIPPED)
|
|
1476
1354
|
* @param data.fromDate Filter by date range start (YYYY-MM-DD)
|
|
@@ -1500,7 +1378,7 @@ export class ExpectedTransactionsService {
|
|
|
1500
1378
|
* List overdue expected transactions
|
|
1501
1379
|
* Returns all overdue expected transactions (PENDING past tolerance)
|
|
1502
1380
|
* @param data The data for the request.
|
|
1503
|
-
* @param data.region Region code
|
|
1381
|
+
* @param data.region Region code for tenant context
|
|
1504
1382
|
* @returns ExpectedTransactionListResponseDto Overdue transactions retrieved successfully
|
|
1505
1383
|
* @throws ApiError
|
|
1506
1384
|
*/
|
|
@@ -1521,7 +1399,7 @@ export class ExpectedTransactionsService {
|
|
|
1521
1399
|
* Returns a specific expected transaction with rule details
|
|
1522
1400
|
* @param data The data for the request.
|
|
1523
1401
|
* @param data.id Expected transaction ID
|
|
1524
|
-
* @param data.region Region code
|
|
1402
|
+
* @param data.region Region code for tenant context
|
|
1525
1403
|
* @returns ExpectedTransactionResponseDto Expected transaction retrieved successfully
|
|
1526
1404
|
* @throws ApiError
|
|
1527
1405
|
*/
|
|
@@ -1543,7 +1421,7 @@ export class ExpectedTransactionsService {
|
|
|
1543
1421
|
|
|
1544
1422
|
/**
|
|
1545
1423
|
* @param data The data for the request.
|
|
1546
|
-
* @param data.region Region code
|
|
1424
|
+
* @param data.region Region code for tenant context
|
|
1547
1425
|
* @returns unknown
|
|
1548
1426
|
* @throws ApiError
|
|
1549
1427
|
*/
|
|
@@ -1561,7 +1439,7 @@ export class ExpectedTransactionsService {
|
|
|
1561
1439
|
|
|
1562
1440
|
/**
|
|
1563
1441
|
* @param data The data for the request.
|
|
1564
|
-
* @param data.region Region code
|
|
1442
|
+
* @param data.region Region code for tenant context
|
|
1565
1443
|
* @returns unknown
|
|
1566
1444
|
* @throws ApiError
|
|
1567
1445
|
*/
|
|
@@ -1579,7 +1457,7 @@ export class ExpectedTransactionsService {
|
|
|
1579
1457
|
|
|
1580
1458
|
/**
|
|
1581
1459
|
* @param data The data for the request.
|
|
1582
|
-
* @param data.region Region code
|
|
1460
|
+
* @param data.region Region code for tenant context
|
|
1583
1461
|
* @returns unknown
|
|
1584
1462
|
* @throws ApiError
|
|
1585
1463
|
*/
|
|
@@ -1597,7 +1475,7 @@ export class ExpectedTransactionsService {
|
|
|
1597
1475
|
|
|
1598
1476
|
/**
|
|
1599
1477
|
* @param data The data for the request.
|
|
1600
|
-
* @param data.region Region code
|
|
1478
|
+
* @param data.region Region code for tenant context
|
|
1601
1479
|
* @returns unknown
|
|
1602
1480
|
* @throws ApiError
|
|
1603
1481
|
*/
|
|
@@ -1615,7 +1493,7 @@ export class ExpectedTransactionsService {
|
|
|
1615
1493
|
|
|
1616
1494
|
/**
|
|
1617
1495
|
* @param data The data for the request.
|
|
1618
|
-
* @param data.region Region code
|
|
1496
|
+
* @param data.region Region code for tenant context
|
|
1619
1497
|
* @returns unknown
|
|
1620
1498
|
* @throws ApiError
|
|
1621
1499
|
*/
|
|
@@ -1637,20 +1515,16 @@ export class RecurringForecastService {
|
|
|
1637
1515
|
* Get cash flow forecast
|
|
1638
1516
|
* Returns predicted outflows for the next N months based on active recurring rules
|
|
1639
1517
|
* @param data The data for the request.
|
|
1640
|
-
* @param data.region Region code (cn, us, de)
|
|
1641
1518
|
* @param data.months Number of months to forecast (1-12, default 3)
|
|
1642
1519
|
* @returns ForecastResponseDto Forecast retrieved successfully
|
|
1643
1520
|
* @throws ApiError
|
|
1644
1521
|
*/
|
|
1645
1522
|
public static forecastControllerGetForecast(
|
|
1646
|
-
data: ForecastControllerGetForecastData
|
|
1523
|
+
data: ForecastControllerGetForecastData = {}
|
|
1647
1524
|
): CancelablePromise<ForecastControllerGetForecastResponse> {
|
|
1648
1525
|
return __request(OpenAPI, {
|
|
1649
1526
|
method: 'GET',
|
|
1650
1527
|
url: '/api/v1/{region}/bean/recurring/forecast',
|
|
1651
|
-
path: {
|
|
1652
|
-
region: data.region
|
|
1653
|
-
},
|
|
1654
1528
|
query: {
|
|
1655
1529
|
months: data.months
|
|
1656
1530
|
}
|
|
@@ -1661,7 +1535,7 @@ export class RecurringForecastService {
|
|
|
1661
1535
|
export class BeanTransactionRulesService {
|
|
1662
1536
|
/**
|
|
1663
1537
|
* @param data The data for the request.
|
|
1664
|
-
* @param data.region Region code
|
|
1538
|
+
* @param data.region Region code for tenant context
|
|
1665
1539
|
* @returns unknown
|
|
1666
1540
|
* @throws ApiError
|
|
1667
1541
|
*/
|
|
@@ -1680,7 +1554,7 @@ export class BeanTransactionRulesService {
|
|
|
1680
1554
|
/**
|
|
1681
1555
|
* Get all transaction rules for user
|
|
1682
1556
|
* @param data The data for the request.
|
|
1683
|
-
* @param data.region Region code
|
|
1557
|
+
* @param data.region Region code for tenant context
|
|
1684
1558
|
* @param data.limit Max results per page (default: 20, max: 100)
|
|
1685
1559
|
* @param data.offset Pagination offset (default: 0)
|
|
1686
1560
|
* @param data.enabled Filter by enabled status
|
|
@@ -1714,7 +1588,7 @@ export class BeanTransactionRulesService {
|
|
|
1714
1588
|
/**
|
|
1715
1589
|
* Validate transaction rule configuration
|
|
1716
1590
|
* @param data The data for the request.
|
|
1717
|
-
* @param data.region Region code
|
|
1591
|
+
* @param data.region Region code for tenant context
|
|
1718
1592
|
* @param data.requestBody
|
|
1719
1593
|
* @returns ValidateRuleResponseDto Validation result
|
|
1720
1594
|
* @throws ApiError
|
|
@@ -1738,7 +1612,7 @@ export class BeanTransactionRulesService {
|
|
|
1738
1612
|
|
|
1739
1613
|
/**
|
|
1740
1614
|
* @param data The data for the request.
|
|
1741
|
-
* @param data.region Region code
|
|
1615
|
+
* @param data.region Region code for tenant context
|
|
1742
1616
|
* @returns unknown
|
|
1743
1617
|
* @throws ApiError
|
|
1744
1618
|
*/
|
|
@@ -1758,7 +1632,7 @@ export class BeanTransactionRulesService {
|
|
|
1758
1632
|
* Export transaction rules
|
|
1759
1633
|
* @param data The data for the request.
|
|
1760
1634
|
* @param data.format Export format (currently only JSON supported)
|
|
1761
|
-
* @param data.region Region code
|
|
1635
|
+
* @param data.region Region code for tenant context
|
|
1762
1636
|
* @returns ExportRulesResponseDto Exported rules
|
|
1763
1637
|
* @throws ApiError
|
|
1764
1638
|
*/
|
|
@@ -1783,7 +1657,7 @@ export class BeanTransactionRulesService {
|
|
|
1783
1657
|
* Get transaction rule statistics
|
|
1784
1658
|
* @param data The data for the request.
|
|
1785
1659
|
* @param data.period Statistics time period
|
|
1786
|
-
* @param data.region Region code
|
|
1660
|
+
* @param data.region Region code for tenant context
|
|
1787
1661
|
* @returns RuleStatisticsResponseDto Rule statistics
|
|
1788
1662
|
* @throws ApiError
|
|
1789
1663
|
*/
|
|
@@ -1807,7 +1681,7 @@ export class BeanTransactionRulesService {
|
|
|
1807
1681
|
* Get transaction rule detail
|
|
1808
1682
|
* @param data The data for the request.
|
|
1809
1683
|
* @param data.ruleId Rule ID
|
|
1810
|
-
* @param data.region Region code
|
|
1684
|
+
* @param data.region Region code for tenant context
|
|
1811
1685
|
* @returns TransactionRuleResponseDto Rule details
|
|
1812
1686
|
* @throws ApiError
|
|
1813
1687
|
*/
|
|
@@ -1831,7 +1705,7 @@ export class BeanTransactionRulesService {
|
|
|
1831
1705
|
|
|
1832
1706
|
/**
|
|
1833
1707
|
* @param data The data for the request.
|
|
1834
|
-
* @param data.region Region code
|
|
1708
|
+
* @param data.region Region code for tenant context
|
|
1835
1709
|
* @returns unknown
|
|
1836
1710
|
* @throws ApiError
|
|
1837
1711
|
*/
|
|
@@ -1849,7 +1723,7 @@ export class BeanTransactionRulesService {
|
|
|
1849
1723
|
|
|
1850
1724
|
/**
|
|
1851
1725
|
* @param data The data for the request.
|
|
1852
|
-
* @param data.region Region code
|
|
1726
|
+
* @param data.region Region code for tenant context
|
|
1853
1727
|
* @returns void
|
|
1854
1728
|
* @throws ApiError
|
|
1855
1729
|
*/
|
|
@@ -1869,7 +1743,7 @@ export class BeanTransactionRulesService {
|
|
|
1869
1743
|
* Test rule matching
|
|
1870
1744
|
* @param data The data for the request.
|
|
1871
1745
|
* @param data.ruleId Rule ID to test
|
|
1872
|
-
* @param data.region Region code
|
|
1746
|
+
* @param data.region Region code for tenant context
|
|
1873
1747
|
* @param data.requestBody
|
|
1874
1748
|
* @returns TestRuleResponseDto Test result
|
|
1875
1749
|
* @throws ApiError
|
|
@@ -1899,7 +1773,6 @@ export class UsersService {
|
|
|
1899
1773
|
/**
|
|
1900
1774
|
* Delete own user account
|
|
1901
1775
|
* @param data The data for the request.
|
|
1902
|
-
* @param data.region Region code (cn, us, de)
|
|
1903
1776
|
* @param data.requestBody
|
|
1904
1777
|
* @returns void User deleted successfully
|
|
1905
1778
|
* @throws ApiError
|
|
@@ -1910,9 +1783,6 @@ export class UsersService {
|
|
|
1910
1783
|
return __request(OpenAPI, {
|
|
1911
1784
|
method: 'DELETE',
|
|
1912
1785
|
url: '/api/v1/users',
|
|
1913
|
-
path: {
|
|
1914
|
-
region: data.region
|
|
1915
|
-
},
|
|
1916
1786
|
body: data.requestBody,
|
|
1917
1787
|
mediaType: 'application/json',
|
|
1918
1788
|
errors: {
|
|
@@ -1925,7 +1795,6 @@ export class UsersService {
|
|
|
1925
1795
|
* Get current authenticated user
|
|
1926
1796
|
* @param data The data for the request.
|
|
1927
1797
|
* @param data.acceptLanguage
|
|
1928
|
-
* @param data.region Region code (cn, us, de)
|
|
1929
1798
|
* @returns unknown User retrieved successfully
|
|
1930
1799
|
* @throws ApiError
|
|
1931
1800
|
*/
|
|
@@ -1935,9 +1804,6 @@ export class UsersService {
|
|
|
1935
1804
|
return __request(OpenAPI, {
|
|
1936
1805
|
method: 'GET',
|
|
1937
1806
|
url: '/api/v1/users',
|
|
1938
|
-
path: {
|
|
1939
|
-
region: data.region
|
|
1940
|
-
},
|
|
1941
1807
|
headers: {
|
|
1942
1808
|
'accept-language': data.acceptLanguage
|
|
1943
1809
|
}
|
|
@@ -1948,7 +1814,6 @@ export class UsersService {
|
|
|
1948
1814
|
* Sign up new user
|
|
1949
1815
|
* Create a new account with auto-generated access token. Protected by Cloudflare Turnstile to prevent automated signup (when enabled).
|
|
1950
1816
|
* @param data The data for the request.
|
|
1951
|
-
* @param data.region Region code (cn, us, de)
|
|
1952
1817
|
* @param data.requestBody
|
|
1953
1818
|
* @returns unknown User created successfully
|
|
1954
1819
|
* @throws ApiError
|
|
@@ -1959,9 +1824,6 @@ export class UsersService {
|
|
|
1959
1824
|
return __request(OpenAPI, {
|
|
1960
1825
|
method: 'POST',
|
|
1961
1826
|
url: '/api/v1/users',
|
|
1962
|
-
path: {
|
|
1963
|
-
region: data.region
|
|
1964
|
-
},
|
|
1965
1827
|
body: data.requestBody,
|
|
1966
1828
|
mediaType: 'application/json',
|
|
1967
1829
|
errors: {
|
|
@@ -1975,7 +1837,6 @@ export class UsersService {
|
|
|
1975
1837
|
* Delete user by ID (admin only)
|
|
1976
1838
|
* @param data The data for the request.
|
|
1977
1839
|
* @param data.id User ID to delete
|
|
1978
|
-
* @param data.region Region code (cn, us, de)
|
|
1979
1840
|
* @returns void User deleted successfully
|
|
1980
1841
|
* @throws ApiError
|
|
1981
1842
|
*/
|
|
@@ -1986,8 +1847,7 @@ export class UsersService {
|
|
|
1986
1847
|
method: 'DELETE',
|
|
1987
1848
|
url: '/api/v1/users/{id}',
|
|
1988
1849
|
path: {
|
|
1989
|
-
id: data.id
|
|
1990
|
-
region: data.region
|
|
1850
|
+
id: data.id
|
|
1991
1851
|
},
|
|
1992
1852
|
errors: {
|
|
1993
1853
|
403: 'Cannot delete own account or insufficient permissions'
|
|
@@ -1999,7 +1859,6 @@ export class UsersService {
|
|
|
1999
1859
|
* Get user info by user ID
|
|
2000
1860
|
* @param data The data for the request.
|
|
2001
1861
|
* @param data.id User ID
|
|
2002
|
-
* @param data.region Region code (cn, us, de)
|
|
2003
1862
|
* @returns unknown User info retrieved successfully
|
|
2004
1863
|
* @throws ApiError
|
|
2005
1864
|
*/
|
|
@@ -2010,8 +1869,7 @@ export class UsersService {
|
|
|
2010
1869
|
method: 'GET',
|
|
2011
1870
|
url: '/api/v1/users/{id}/info',
|
|
2012
1871
|
path: {
|
|
2013
|
-
id: data.id
|
|
2014
|
-
region: data.region
|
|
1872
|
+
id: data.id
|
|
2015
1873
|
},
|
|
2016
1874
|
errors: {
|
|
2017
1875
|
403: 'Cannot access other user info without admin permission'
|
|
@@ -2022,7 +1880,6 @@ export class UsersService {
|
|
|
2022
1880
|
/**
|
|
2023
1881
|
* Update user settings
|
|
2024
1882
|
* @param data The data for the request.
|
|
2025
|
-
* @param data.region Region code (cn, us, de)
|
|
2026
1883
|
* @param data.requestBody
|
|
2027
1884
|
* @returns unknown Settings updated successfully
|
|
2028
1885
|
* @throws ApiError
|
|
@@ -2033,9 +1890,6 @@ export class UsersService {
|
|
|
2033
1890
|
return __request(OpenAPI, {
|
|
2034
1891
|
method: 'PUT',
|
|
2035
1892
|
url: '/api/v1/users/setting',
|
|
2036
|
-
path: {
|
|
2037
|
-
region: data.region
|
|
2038
|
-
},
|
|
2039
1893
|
body: data.requestBody,
|
|
2040
1894
|
mediaType: 'application/json',
|
|
2041
1895
|
errors: {
|
|
@@ -2049,7 +1903,6 @@ export class UsersService {
|
|
|
2049
1903
|
* @param data The data for the request.
|
|
2050
1904
|
* @param data.pageNo Page number
|
|
2051
1905
|
* @param data.pageSize Page size
|
|
2052
|
-
* @param data.region Region code (cn, us, de)
|
|
2053
1906
|
* @returns unknown Settings list retrieved successfully
|
|
2054
1907
|
* @throws ApiError
|
|
2055
1908
|
*/
|
|
@@ -2059,9 +1912,6 @@ export class UsersService {
|
|
|
2059
1912
|
return __request(OpenAPI, {
|
|
2060
1913
|
method: 'GET',
|
|
2061
1914
|
url: '/api/v1/users/settings-by-page',
|
|
2062
|
-
path: {
|
|
2063
|
-
region: data.region
|
|
2064
|
-
},
|
|
2065
1915
|
query: {
|
|
2066
1916
|
pageNo: data.pageNo,
|
|
2067
1917
|
pageSize: data.pageSize
|
|
@@ -2071,20 +1921,13 @@ export class UsersService {
|
|
|
2071
1921
|
|
|
2072
1922
|
/**
|
|
2073
1923
|
* Get asset and liability summary for current user
|
|
2074
|
-
* @param data The data for the request.
|
|
2075
|
-
* @param data.region Region code (cn, us, de)
|
|
2076
1924
|
* @returns unknown Summary retrieved successfully
|
|
2077
1925
|
* @throws ApiError
|
|
2078
1926
|
*/
|
|
2079
|
-
public static userControllerGetAssetLiabilitySummary(
|
|
2080
|
-
data: UserControllerGetAssetLiabilitySummaryData
|
|
2081
|
-
): CancelablePromise<UserControllerGetAssetLiabilitySummaryResponse> {
|
|
1927
|
+
public static userControllerGetAssetLiabilitySummary(): CancelablePromise<UserControllerGetAssetLiabilitySummaryResponse> {
|
|
2082
1928
|
return __request(OpenAPI, {
|
|
2083
1929
|
method: 'GET',
|
|
2084
|
-
url: '/api/v1/users/asset-liability-summary'
|
|
2085
|
-
path: {
|
|
2086
|
-
region: data.region
|
|
2087
|
-
}
|
|
1930
|
+
url: '/api/v1/users/asset-liability-summary'
|
|
2088
1931
|
});
|
|
2089
1932
|
}
|
|
2090
1933
|
}
|
|
@@ -2092,20 +1935,13 @@ export class UsersService {
|
|
|
2092
1935
|
export class PropertiesService {
|
|
2093
1936
|
/**
|
|
2094
1937
|
* Get all system properties
|
|
2095
|
-
* @param data The data for the request.
|
|
2096
|
-
* @param data.region Region code (cn, us, de)
|
|
2097
1938
|
* @returns unknown Properties retrieved successfully
|
|
2098
1939
|
* @throws ApiError
|
|
2099
1940
|
*/
|
|
2100
|
-
public static propertyControllerGetAll(
|
|
2101
|
-
data: PropertyControllerGetAllData
|
|
2102
|
-
): CancelablePromise<PropertyControllerGetAllResponse> {
|
|
1941
|
+
public static propertyControllerGetAll(): CancelablePromise<PropertyControllerGetAllResponse> {
|
|
2103
1942
|
return __request(OpenAPI, {
|
|
2104
1943
|
method: 'GET',
|
|
2105
1944
|
url: '/api/v1/admin/properties',
|
|
2106
|
-
path: {
|
|
2107
|
-
region: data.region
|
|
2108
|
-
},
|
|
2109
1945
|
errors: {
|
|
2110
1946
|
401: 'Unauthorized',
|
|
2111
1947
|
403: 'Forbidden - insufficient permissions'
|
|
@@ -2117,7 +1953,6 @@ export class PropertiesService {
|
|
|
2117
1953
|
* Get property by key
|
|
2118
1954
|
* @param data The data for the request.
|
|
2119
1955
|
* @param data.key Property key
|
|
2120
|
-
* @param data.region Region code (cn, us, de)
|
|
2121
1956
|
* @returns unknown Property retrieved successfully
|
|
2122
1957
|
* @throws ApiError
|
|
2123
1958
|
*/
|
|
@@ -2128,8 +1963,7 @@ export class PropertiesService {
|
|
|
2128
1963
|
method: 'GET',
|
|
2129
1964
|
url: '/api/v1/admin/properties/{key}',
|
|
2130
1965
|
path: {
|
|
2131
|
-
key: data.key
|
|
2132
|
-
region: data.region
|
|
1966
|
+
key: data.key
|
|
2133
1967
|
},
|
|
2134
1968
|
errors: {
|
|
2135
1969
|
401: 'Unauthorized',
|
|
@@ -2140,38 +1974,24 @@ export class PropertiesService {
|
|
|
2140
1974
|
}
|
|
2141
1975
|
|
|
2142
1976
|
/**
|
|
2143
|
-
* @param data The data for the request.
|
|
2144
|
-
* @param data.region Region code (cn, us, de)
|
|
2145
1977
|
* @returns unknown
|
|
2146
1978
|
* @throws ApiError
|
|
2147
1979
|
*/
|
|
2148
|
-
public static propertyController(
|
|
2149
|
-
data: PropertyControllerData
|
|
2150
|
-
): CancelablePromise<PropertyControllerResponse> {
|
|
1980
|
+
public static propertyController(): CancelablePromise<PropertyControllerResponse> {
|
|
2151
1981
|
return __request(OpenAPI, {
|
|
2152
1982
|
method: 'PUT',
|
|
2153
|
-
url: '/api/v1/admin/properties/{key}'
|
|
2154
|
-
path: {
|
|
2155
|
-
region: data.region
|
|
2156
|
-
}
|
|
1983
|
+
url: '/api/v1/admin/properties/{key}'
|
|
2157
1984
|
});
|
|
2158
1985
|
}
|
|
2159
1986
|
|
|
2160
1987
|
/**
|
|
2161
|
-
* @param data The data for the request.
|
|
2162
|
-
* @param data.region Region code (cn, us, de)
|
|
2163
1988
|
* @returns void
|
|
2164
1989
|
* @throws ApiError
|
|
2165
1990
|
*/
|
|
2166
|
-
public static propertyController1(
|
|
2167
|
-
data: PropertyController1Data
|
|
2168
|
-
): CancelablePromise<PropertyController1Response> {
|
|
1991
|
+
public static propertyController1(): CancelablePromise<PropertyController1Response> {
|
|
2169
1992
|
return __request(OpenAPI, {
|
|
2170
1993
|
method: 'DELETE',
|
|
2171
|
-
url: '/api/v1/admin/properties/{key}'
|
|
2172
|
-
path: {
|
|
2173
|
-
region: data.region
|
|
2174
|
-
}
|
|
1994
|
+
url: '/api/v1/admin/properties/{key}'
|
|
2175
1995
|
});
|
|
2176
1996
|
}
|
|
2177
1997
|
}
|
|
@@ -2181,7 +2001,6 @@ export class BeanImportService {
|
|
|
2181
2001
|
* Import a bill file
|
|
2182
2002
|
* Upload and process a bill file (CSV, PDF, OFX, etc.). The system automatically identifies the file type, extracts transactions, validates them, and stores only validated transactions to the database. Maximum file size: 50MB. Only 1 import per user at a time (concurrent imports rejected with 429).
|
|
2183
2003
|
* @param data The data for the request.
|
|
2184
|
-
* @param data.region Region code (cn, us, de)
|
|
2185
2004
|
* @param data.formData Bill file to import
|
|
2186
2005
|
* @returns ImportResultDto File imported successfully
|
|
2187
2006
|
* @throws ApiError
|
|
@@ -2192,9 +2011,6 @@ export class BeanImportService {
|
|
|
2192
2011
|
return __request(OpenAPI, {
|
|
2193
2012
|
method: 'POST',
|
|
2194
2013
|
url: '/api/v1/{region}/bean/import/file',
|
|
2195
|
-
path: {
|
|
2196
|
-
region: data.region
|
|
2197
|
-
},
|
|
2198
2014
|
formData: data.formData,
|
|
2199
2015
|
mediaType: 'multipart/form-data',
|
|
2200
2016
|
errors: {
|
|
@@ -2210,7 +2026,6 @@ export class BeanImportService {
|
|
|
2210
2026
|
* Identify file type
|
|
2211
2027
|
* Upload a file to check if it can be processed by any registered importer. Does not perform actual import - useful for pre-validation. Uses user-specific importer configuration.
|
|
2212
2028
|
* @param data The data for the request.
|
|
2213
|
-
* @param data.region Region code (cn, us, de)
|
|
2214
2029
|
* @param data.formData File to identify
|
|
2215
2030
|
* @returns IdentifyResultDto File identification result
|
|
2216
2031
|
* @throws ApiError
|
|
@@ -2221,9 +2036,6 @@ export class BeanImportService {
|
|
|
2221
2036
|
return __request(OpenAPI, {
|
|
2222
2037
|
method: 'POST',
|
|
2223
2038
|
url: '/api/v1/{region}/bean/import/identify',
|
|
2224
|
-
path: {
|
|
2225
|
-
region: data.region
|
|
2226
|
-
},
|
|
2227
2039
|
formData: data.formData,
|
|
2228
2040
|
mediaType: 'multipart/form-data',
|
|
2229
2041
|
errors: {
|
|
@@ -2236,8 +2048,8 @@ export class BeanImportService {
|
|
|
2236
2048
|
* Get importer configuration
|
|
2237
2049
|
* Returns the current configuration for the specified importer. Creates default configuration if none exists.
|
|
2238
2050
|
* @param data The data for the request.
|
|
2239
|
-
* @param data.importerId Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk
|
|
2240
|
-
* @param data.region Region code
|
|
2051
|
+
* @param data.importerId Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk-credit, hsbc-hk-debit
|
|
2052
|
+
* @param data.region Region code for tenant context
|
|
2241
2053
|
* @returns ImporterConfigDto Configuration retrieved successfully
|
|
2242
2054
|
* @throws ApiError
|
|
2243
2055
|
*/
|
|
@@ -2260,7 +2072,7 @@ export class BeanImportService {
|
|
|
2260
2072
|
|
|
2261
2073
|
/**
|
|
2262
2074
|
* @param data The data for the request.
|
|
2263
|
-
* @param data.region Region code
|
|
2075
|
+
* @param data.region Region code for tenant context
|
|
2264
2076
|
* @returns unknown
|
|
2265
2077
|
* @throws ApiError
|
|
2266
2078
|
*/
|
|
@@ -2278,7 +2090,7 @@ export class BeanImportService {
|
|
|
2278
2090
|
|
|
2279
2091
|
/**
|
|
2280
2092
|
* @param data The data for the request.
|
|
2281
|
-
* @param data.region Region code
|
|
2093
|
+
* @param data.region Region code for tenant context
|
|
2282
2094
|
* @returns unknown
|
|
2283
2095
|
* @throws ApiError
|
|
2284
2096
|
*/
|
|
@@ -2309,6 +2121,7 @@ export class ProviderSyncService {
|
|
|
2309
2121
|
* - **simplefin**: SimpleFIN (Self-hosted)
|
|
2310
2122
|
* - **yodlee**: Yodlee (Global)
|
|
2311
2123
|
* - **beancount-direct**: Beancount format transactions
|
|
2124
|
+
* - **parsed-bill**: Client-side parsed bill transactions
|
|
2312
2125
|
*
|
|
2313
2126
|
* **Processing Flow:**
|
|
2314
2127
|
* 1. Transform raw data via provider adapter
|
|
@@ -2348,20 +2161,13 @@ export class ProviderSyncService {
|
|
|
2348
2161
|
/**
|
|
2349
2162
|
* Get supported providers
|
|
2350
2163
|
* Returns a list of all providers supported by the sync endpoint.
|
|
2351
|
-
* @param data The data for the request.
|
|
2352
|
-
* @param data.region Region code (cn, us, de)
|
|
2353
2164
|
* @returns SupportedProvidersResponseDto List of supported providers
|
|
2354
2165
|
* @throws ApiError
|
|
2355
2166
|
*/
|
|
2356
|
-
public static providerSyncControllerGetSupportedProviders(
|
|
2357
|
-
data: ProviderSyncControllerGetSupportedProvidersData
|
|
2358
|
-
): CancelablePromise<ProviderSyncControllerGetSupportedProvidersResponse> {
|
|
2167
|
+
public static providerSyncControllerGetSupportedProviders(): CancelablePromise<ProviderSyncControllerGetSupportedProvidersResponse> {
|
|
2359
2168
|
return __request(OpenAPI, {
|
|
2360
2169
|
method: 'GET',
|
|
2361
2170
|
url: '/api/v1/{region}/bean/import/provider/supported',
|
|
2362
|
-
path: {
|
|
2363
|
-
region: data.region
|
|
2364
|
-
},
|
|
2365
2171
|
errors: {
|
|
2366
2172
|
401: 'Missing or invalid authentication'
|
|
2367
2173
|
}
|
|
@@ -2373,7 +2179,6 @@ export class ProviderSyncService {
|
|
|
2373
2179
|
* Returns whether a specific provider is supported.
|
|
2374
2180
|
* @param data The data for the request.
|
|
2375
2181
|
* @param data.providerName Provider name to check
|
|
2376
|
-
* @param data.region Region code (cn, us, de)
|
|
2377
2182
|
* @returns unknown Provider support status
|
|
2378
2183
|
* @throws ApiError
|
|
2379
2184
|
*/
|
|
@@ -2384,8 +2189,7 @@ export class ProviderSyncService {
|
|
|
2384
2189
|
method: 'GET',
|
|
2385
2190
|
url: '/api/v1/{region}/bean/import/provider/{providerName}/supported',
|
|
2386
2191
|
path: {
|
|
2387
|
-
providerName: data.providerName
|
|
2388
|
-
region: data.region
|
|
2192
|
+
providerName: data.providerName
|
|
2389
2193
|
},
|
|
2390
2194
|
errors: {
|
|
2391
2195
|
401: 'Missing or invalid authentication'
|
|
@@ -2394,12 +2198,34 @@ export class ProviderSyncService {
|
|
|
2394
2198
|
}
|
|
2395
2199
|
}
|
|
2396
2200
|
|
|
2201
|
+
export class ImportTelemetryService {
|
|
2202
|
+
/**
|
|
2203
|
+
* Receive anonymous parser failure telemetry
|
|
2204
|
+
* @param data The data for the request.
|
|
2205
|
+
* @param data.requestBody
|
|
2206
|
+
* @returns unknown Telemetry report received
|
|
2207
|
+
* @throws ApiError
|
|
2208
|
+
*/
|
|
2209
|
+
public static telemetryControllerReportTelemetry(
|
|
2210
|
+
data: TelemetryControllerReportTelemetryData
|
|
2211
|
+
): CancelablePromise<TelemetryControllerReportTelemetryResponse> {
|
|
2212
|
+
return __request(OpenAPI, {
|
|
2213
|
+
method: 'POST',
|
|
2214
|
+
url: '/api/v1/{region}/bean/import/parser-telemetry',
|
|
2215
|
+
body: data.requestBody,
|
|
2216
|
+
mediaType: 'application/json',
|
|
2217
|
+
errors: {
|
|
2218
|
+
401: 'Unauthorized'
|
|
2219
|
+
}
|
|
2220
|
+
});
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2397
2224
|
export class BeanNlpService {
|
|
2398
2225
|
/**
|
|
2399
2226
|
* Process natural language input
|
|
2400
2227
|
* Parse natural language text (Chinese/English) describing a transaction. Supports multi-turn dialogue for collecting missing information. When confidence < 0.75, returns "confirm" action requiring user verification. User can reply with confirmation words (确认/yes/ok) or provide corrections. Examples: "yesterday Starbucks spent 35 yuan", "today lunch 28 yuan", "spent $50 at Walmart"
|
|
2401
2228
|
* @param data The data for the request.
|
|
2402
|
-
* @param data.region Region code (cn, us, de)
|
|
2403
2229
|
* @param data.requestBody Natural language transaction input with optional session ID
|
|
2404
2230
|
* @returns NlpResponseDto NLP processing result - either created transaction or asking for more info
|
|
2405
2231
|
* @throws ApiError
|
|
@@ -2410,9 +2236,6 @@ export class BeanNlpService {
|
|
|
2410
2236
|
return __request(OpenAPI, {
|
|
2411
2237
|
method: 'POST',
|
|
2412
2238
|
url: '/api/v1/{region}/bean/nlp/process',
|
|
2413
|
-
path: {
|
|
2414
|
-
region: data.region
|
|
2415
|
-
},
|
|
2416
2239
|
body: data.requestBody,
|
|
2417
2240
|
mediaType: 'application/json',
|
|
2418
2241
|
errors: {
|
|
@@ -2426,20 +2249,16 @@ export class BeanNlpService {
|
|
|
2426
2249
|
* Clear dialogue session
|
|
2427
2250
|
* Clear the current NLP dialogue session. Use this to cancel an ongoing multi-turn dialogue.
|
|
2428
2251
|
* @param data The data for the request.
|
|
2429
|
-
* @param data.region Region code (cn, us, de)
|
|
2430
2252
|
* @param data.sessionId Specific session ID to clear (defaults to user session)
|
|
2431
2253
|
* @returns void Session cleared successfully
|
|
2432
2254
|
* @throws ApiError
|
|
2433
2255
|
*/
|
|
2434
2256
|
public static nlpControllerClearSession(
|
|
2435
|
-
data: NlpControllerClearSessionData
|
|
2257
|
+
data: NlpControllerClearSessionData = {}
|
|
2436
2258
|
): CancelablePromise<NlpControllerClearSessionResponse> {
|
|
2437
2259
|
return __request(OpenAPI, {
|
|
2438
2260
|
method: 'DELETE',
|
|
2439
2261
|
url: '/api/v1/{region}/bean/nlp/session',
|
|
2440
|
-
path: {
|
|
2441
|
-
region: data.region
|
|
2442
|
-
},
|
|
2443
2262
|
query: {
|
|
2444
2263
|
sessionId: data.sessionId
|
|
2445
2264
|
},
|
|
@@ -2453,20 +2272,16 @@ export class BeanNlpService {
|
|
|
2453
2272
|
* Get current session state
|
|
2454
2273
|
* Get the current NLP dialogue session state. Useful for debugging and displaying session context in UI.
|
|
2455
2274
|
* @param data The data for the request.
|
|
2456
|
-
* @param data.region Region code (cn, us, de)
|
|
2457
2275
|
* @param data.sessionId Specific session ID to get (defaults to user session)
|
|
2458
2276
|
* @returns unknown Current session state (or null if no active session)
|
|
2459
2277
|
* @throws ApiError
|
|
2460
2278
|
*/
|
|
2461
2279
|
public static nlpControllerGetSession(
|
|
2462
|
-
data: NlpControllerGetSessionData
|
|
2280
|
+
data: NlpControllerGetSessionData = {}
|
|
2463
2281
|
): CancelablePromise<NlpControllerGetSessionResponse> {
|
|
2464
2282
|
return __request(OpenAPI, {
|
|
2465
2283
|
method: 'GET',
|
|
2466
2284
|
url: '/api/v1/{region}/bean/nlp/session',
|
|
2467
|
-
path: {
|
|
2468
|
-
region: data.region
|
|
2469
|
-
},
|
|
2470
2285
|
query: {
|
|
2471
2286
|
sessionId: data.sessionId
|
|
2472
2287
|
},
|
|
@@ -2480,93 +2295,58 @@ export class BeanNlpService {
|
|
|
2480
2295
|
export class BeanPlatformsService {
|
|
2481
2296
|
/**
|
|
2482
2297
|
* Get all platforms with statistics
|
|
2483
|
-
* @param data The data for the request.
|
|
2484
|
-
* @param data.region Region code (cn, us, de)
|
|
2485
2298
|
* @returns unknown List of platforms with binding and account counts
|
|
2486
2299
|
* @throws ApiError
|
|
2487
2300
|
*/
|
|
2488
|
-
public static platformControllerFindAll(
|
|
2489
|
-
data: PlatformControllerFindAllData
|
|
2490
|
-
): CancelablePromise<PlatformControllerFindAllResponse> {
|
|
2301
|
+
public static platformControllerFindAll(): CancelablePromise<PlatformControllerFindAllResponse> {
|
|
2491
2302
|
return __request(OpenAPI, {
|
|
2492
2303
|
method: 'GET',
|
|
2493
|
-
url: '/api/v1/bean/platforms'
|
|
2494
|
-
path: {
|
|
2495
|
-
region: data.region
|
|
2496
|
-
}
|
|
2304
|
+
url: '/api/v1/bean/platforms'
|
|
2497
2305
|
});
|
|
2498
2306
|
}
|
|
2499
2307
|
|
|
2500
2308
|
/**
|
|
2501
|
-
* @param data The data for the request.
|
|
2502
|
-
* @param data.region Region code (cn, us, de)
|
|
2503
2309
|
* @returns unknown
|
|
2504
2310
|
* @throws ApiError
|
|
2505
2311
|
*/
|
|
2506
|
-
public static platformController(
|
|
2507
|
-
data: PlatformControllerData
|
|
2508
|
-
): CancelablePromise<PlatformControllerResponse> {
|
|
2312
|
+
public static platformController(): CancelablePromise<PlatformControllerResponse> {
|
|
2509
2313
|
return __request(OpenAPI, {
|
|
2510
2314
|
method: 'POST',
|
|
2511
|
-
url: '/api/v1/bean/platforms'
|
|
2512
|
-
path: {
|
|
2513
|
-
region: data.region
|
|
2514
|
-
}
|
|
2315
|
+
url: '/api/v1/bean/platforms'
|
|
2515
2316
|
});
|
|
2516
2317
|
}
|
|
2517
2318
|
|
|
2518
2319
|
/**
|
|
2519
2320
|
* Get platform list for current user
|
|
2520
|
-
* @param data The data for the request.
|
|
2521
|
-
* @param data.region Region code (cn, us, de)
|
|
2522
2321
|
* @returns unknown List of platforms with user binding status
|
|
2523
2322
|
* @throws ApiError
|
|
2524
2323
|
*/
|
|
2525
|
-
public static platformControllerGetPlatformList(
|
|
2526
|
-
data: PlatformControllerGetPlatformListData
|
|
2527
|
-
): CancelablePromise<PlatformControllerGetPlatformListResponse> {
|
|
2324
|
+
public static platformControllerGetPlatformList(): CancelablePromise<PlatformControllerGetPlatformListResponse> {
|
|
2528
2325
|
return __request(OpenAPI, {
|
|
2529
2326
|
method: 'GET',
|
|
2530
|
-
url: '/api/v1/bean/platforms/list'
|
|
2531
|
-
path: {
|
|
2532
|
-
region: data.region
|
|
2533
|
-
}
|
|
2327
|
+
url: '/api/v1/bean/platforms/list'
|
|
2534
2328
|
});
|
|
2535
2329
|
}
|
|
2536
2330
|
|
|
2537
2331
|
/**
|
|
2538
|
-
* @param data The data for the request.
|
|
2539
|
-
* @param data.region Region code (cn, us, de)
|
|
2540
2332
|
* @returns unknown
|
|
2541
2333
|
* @throws ApiError
|
|
2542
2334
|
*/
|
|
2543
|
-
public static platformController1(
|
|
2544
|
-
data: PlatformController1Data
|
|
2545
|
-
): CancelablePromise<PlatformController1Response> {
|
|
2335
|
+
public static platformController1(): CancelablePromise<PlatformController1Response> {
|
|
2546
2336
|
return __request(OpenAPI, {
|
|
2547
2337
|
method: 'PUT',
|
|
2548
|
-
url: '/api/v1/bean/platforms/{id}'
|
|
2549
|
-
path: {
|
|
2550
|
-
region: data.region
|
|
2551
|
-
}
|
|
2338
|
+
url: '/api/v1/bean/platforms/{id}'
|
|
2552
2339
|
});
|
|
2553
2340
|
}
|
|
2554
2341
|
|
|
2555
2342
|
/**
|
|
2556
|
-
* @param data The data for the request.
|
|
2557
|
-
* @param data.region Region code (cn, us, de)
|
|
2558
2343
|
* @returns void
|
|
2559
2344
|
* @throws ApiError
|
|
2560
2345
|
*/
|
|
2561
|
-
public static platformController2(
|
|
2562
|
-
data: PlatformController2Data
|
|
2563
|
-
): CancelablePromise<PlatformController2Response> {
|
|
2346
|
+
public static platformController2(): CancelablePromise<PlatformController2Response> {
|
|
2564
2347
|
return __request(OpenAPI, {
|
|
2565
2348
|
method: 'DELETE',
|
|
2566
|
-
url: '/api/v1/bean/platforms/{id}'
|
|
2567
|
-
path: {
|
|
2568
|
-
region: data.region
|
|
2569
|
-
}
|
|
2349
|
+
url: '/api/v1/bean/platforms/{id}'
|
|
2570
2350
|
});
|
|
2571
2351
|
}
|
|
2572
2352
|
}
|
|
@@ -2576,7 +2356,6 @@ export class SymbolsService {
|
|
|
2576
2356
|
* Search for symbols
|
|
2577
2357
|
* Search symbols by query with optional filters for asset class, area, and indices
|
|
2578
2358
|
* @param data The data for the request.
|
|
2579
|
-
* @param data.region Region code (cn, us, de)
|
|
2580
2359
|
* @param data.includeIndices Include index symbols in results
|
|
2581
2360
|
* @param data.assetSubClass Asset sub-class filter
|
|
2582
2361
|
* @param data.assetClass Asset class filter
|
|
@@ -2586,14 +2365,11 @@ export class SymbolsService {
|
|
|
2586
2365
|
* @throws ApiError
|
|
2587
2366
|
*/
|
|
2588
2367
|
public static symbolControllerLookupSymbol(
|
|
2589
|
-
data: SymbolControllerLookupSymbolData
|
|
2368
|
+
data: SymbolControllerLookupSymbolData = {}
|
|
2590
2369
|
): CancelablePromise<SymbolControllerLookupSymbolResponse> {
|
|
2591
2370
|
return __request(OpenAPI, {
|
|
2592
2371
|
method: 'GET',
|
|
2593
2372
|
url: '/api/v1/market/symbols/lookup',
|
|
2594
|
-
path: {
|
|
2595
|
-
region: data.region
|
|
2596
|
-
},
|
|
2597
2373
|
query: {
|
|
2598
2374
|
includeIndices: data.includeIndices,
|
|
2599
2375
|
assetSubClass: data.assetSubClass,
|
|
@@ -2613,7 +2389,6 @@ export class SymbolsService {
|
|
|
2613
2389
|
* @param data The data for the request.
|
|
2614
2390
|
* @param data.dataSource Data source provider
|
|
2615
2391
|
* @param data.symbol Symbol identifier (e.g., ticker code)
|
|
2616
|
-
* @param data.region Region code (cn, us, de)
|
|
2617
2392
|
* @param data.includeHistoricalData Include historical price data (0 or 1)
|
|
2618
2393
|
* @returns unknown Symbol data retrieved successfully
|
|
2619
2394
|
* @throws ApiError
|
|
@@ -2626,8 +2401,7 @@ export class SymbolsService {
|
|
|
2626
2401
|
url: '/api/v1/market/symbols/{dataSource}/{symbol}',
|
|
2627
2402
|
path: {
|
|
2628
2403
|
dataSource: data.dataSource,
|
|
2629
|
-
symbol: data.symbol
|
|
2630
|
-
region: data.region
|
|
2404
|
+
symbol: data.symbol
|
|
2631
2405
|
},
|
|
2632
2406
|
query: {
|
|
2633
2407
|
includeHistoricalData: data.includeHistoricalData
|
|
@@ -2646,7 +2420,6 @@ export class SymbolsService {
|
|
|
2646
2420
|
* @param data.dataSource Data source provider
|
|
2647
2421
|
* @param data.dateString Date in ISO 8601 format (YYYY-MM-DD)
|
|
2648
2422
|
* @param data.symbol Symbol identifier (e.g., ticker code)
|
|
2649
|
-
* @param data.region Region code (cn, us, de)
|
|
2650
2423
|
* @returns unknown Historical data retrieved successfully
|
|
2651
2424
|
* @throws ApiError
|
|
2652
2425
|
*/
|
|
@@ -2659,8 +2432,7 @@ export class SymbolsService {
|
|
|
2659
2432
|
path: {
|
|
2660
2433
|
dataSource: data.dataSource,
|
|
2661
2434
|
dateString: data.dateString,
|
|
2662
|
-
symbol: data.symbol
|
|
2663
|
-
region: data.region
|
|
2435
|
+
symbol: data.symbol
|
|
2664
2436
|
},
|
|
2665
2437
|
errors: {
|
|
2666
2438
|
400: 'Invalid date format',
|
|
@@ -2670,40 +2442,26 @@ export class SymbolsService {
|
|
|
2670
2442
|
}
|
|
2671
2443
|
|
|
2672
2444
|
/**
|
|
2673
|
-
* @param data The data for the request.
|
|
2674
|
-
* @param data.region Region code (cn, us, de)
|
|
2675
2445
|
* @returns unknown
|
|
2676
2446
|
* @throws ApiError
|
|
2677
2447
|
*/
|
|
2678
|
-
public static symbolController(
|
|
2679
|
-
data: SymbolControllerData
|
|
2680
|
-
): CancelablePromise<SymbolControllerResponse> {
|
|
2448
|
+
public static symbolController(): CancelablePromise<SymbolControllerResponse> {
|
|
2681
2449
|
return __request(OpenAPI, {
|
|
2682
2450
|
method: 'PUT',
|
|
2683
|
-
url: '/api/v1/market/symbols/yahoo/batch-update'
|
|
2684
|
-
path: {
|
|
2685
|
-
region: data.region
|
|
2686
|
-
}
|
|
2451
|
+
url: '/api/v1/market/symbols/yahoo/batch-update'
|
|
2687
2452
|
});
|
|
2688
2453
|
}
|
|
2689
2454
|
}
|
|
2690
2455
|
|
|
2691
2456
|
export class DefaultService {
|
|
2692
2457
|
/**
|
|
2693
|
-
* @param data The data for the request.
|
|
2694
|
-
* @param data.region Region code (cn, us, de)
|
|
2695
2458
|
* @returns unknown
|
|
2696
2459
|
* @throws ApiError
|
|
2697
2460
|
*/
|
|
2698
|
-
public static cacheControllerFlushCache(
|
|
2699
|
-
data: CacheControllerFlushCacheData
|
|
2700
|
-
): CancelablePromise<CacheControllerFlushCacheResponse> {
|
|
2461
|
+
public static cacheControllerFlushCache(): CancelablePromise<CacheControllerFlushCacheResponse> {
|
|
2701
2462
|
return __request(OpenAPI, {
|
|
2702
2463
|
method: 'POST',
|
|
2703
|
-
url: '/api/v1/cache/flush'
|
|
2704
|
-
path: {
|
|
2705
|
-
region: data.region
|
|
2706
|
-
}
|
|
2464
|
+
url: '/api/v1/cache/flush'
|
|
2707
2465
|
});
|
|
2708
2466
|
}
|
|
2709
2467
|
}
|
|
@@ -2713,20 +2471,16 @@ export class DashboardService {
|
|
|
2713
2471
|
* Get net worth overview
|
|
2714
2472
|
* Returns total net worth with breakdown of assets and liabilities
|
|
2715
2473
|
* @param data The data for the request.
|
|
2716
|
-
* @param data.region Region code (cn, us, de)
|
|
2717
2474
|
* @param data.date Date for balance calculation (ISO 8601 format)
|
|
2718
2475
|
* @returns NetWorthResponseDto Net worth retrieved successfully
|
|
2719
2476
|
* @throws ApiError
|
|
2720
2477
|
*/
|
|
2721
2478
|
public static dashboardControllerGetNetWorth(
|
|
2722
|
-
data: DashboardControllerGetNetWorthData
|
|
2479
|
+
data: DashboardControllerGetNetWorthData = {}
|
|
2723
2480
|
): CancelablePromise<DashboardControllerGetNetWorthResponse> {
|
|
2724
2481
|
return __request(OpenAPI, {
|
|
2725
2482
|
method: 'GET',
|
|
2726
2483
|
url: '/api/v1/{region}/dashboard/net-worth',
|
|
2727
|
-
path: {
|
|
2728
|
-
region: data.region
|
|
2729
|
-
},
|
|
2730
2484
|
query: {
|
|
2731
2485
|
date: data.date
|
|
2732
2486
|
},
|
|
@@ -2740,21 +2494,17 @@ export class DashboardService {
|
|
|
2740
2494
|
* Get accounts grouped by platform
|
|
2741
2495
|
* Returns accounts with balances grouped by financial platform
|
|
2742
2496
|
* @param data The data for the request.
|
|
2743
|
-
* @param data.region Region code (cn, us, de)
|
|
2744
2497
|
* @param data.groupBy Grouping strategy
|
|
2745
2498
|
* @param data.date Date for balance calculation (ISO 8601 format)
|
|
2746
2499
|
* @returns unknown Accounts retrieved successfully. Response type depends on groupBy parameter.
|
|
2747
2500
|
* @throws ApiError
|
|
2748
2501
|
*/
|
|
2749
2502
|
public static dashboardControllerGetAccounts(
|
|
2750
|
-
data: DashboardControllerGetAccountsData
|
|
2503
|
+
data: DashboardControllerGetAccountsData = {}
|
|
2751
2504
|
): CancelablePromise<DashboardControllerGetAccountsResponse> {
|
|
2752
2505
|
return __request(OpenAPI, {
|
|
2753
2506
|
method: 'GET',
|
|
2754
2507
|
url: '/api/v1/{region}/dashboard/accounts',
|
|
2755
|
-
path: {
|
|
2756
|
-
region: data.region
|
|
2757
|
-
},
|
|
2758
2508
|
query: {
|
|
2759
2509
|
groupBy: data.groupBy,
|
|
2760
2510
|
date: data.date
|
|
@@ -2770,7 +2520,6 @@ export class DashboardService {
|
|
|
2770
2520
|
* Returns income, expenses, and savings for a monthly period
|
|
2771
2521
|
* @param data The data for the request.
|
|
2772
2522
|
* @param data.period Period in YYYY-MM format
|
|
2773
|
-
* @param data.region Region code (cn, us, de)
|
|
2774
2523
|
* @returns CashFlowResponseDto Cash flow retrieved successfully
|
|
2775
2524
|
* @throws ApiError
|
|
2776
2525
|
*/
|
|
@@ -2780,9 +2529,6 @@ export class DashboardService {
|
|
|
2780
2529
|
return __request(OpenAPI, {
|
|
2781
2530
|
method: 'GET',
|
|
2782
2531
|
url: '/api/v1/{region}/dashboard/cash-flow',
|
|
2783
|
-
path: {
|
|
2784
|
-
region: data.region
|
|
2785
|
-
},
|
|
2786
2532
|
query: {
|
|
2787
2533
|
period: data.period
|
|
2788
2534
|
},
|
|
@@ -2810,21 +2556,17 @@ export class ReportingService {
|
|
|
2810
2556
|
* - `granularity`: Data granularity (day, week, month)
|
|
2811
2557
|
*
|
|
2812
2558
|
* @param data The data for the request.
|
|
2813
|
-
* @param data.region Region code (cn, us, de)
|
|
2814
2559
|
* @param data.period Time period
|
|
2815
2560
|
* @param data.granularity Data granularity
|
|
2816
2561
|
* @returns PortfolioTrendsResponseDto Trends retrieved successfully
|
|
2817
2562
|
* @throws ApiError
|
|
2818
2563
|
*/
|
|
2819
2564
|
public static reportingControllerGetPortfolioTrends(
|
|
2820
|
-
data: ReportingControllerGetPortfolioTrendsData
|
|
2565
|
+
data: ReportingControllerGetPortfolioTrendsData = {}
|
|
2821
2566
|
): CancelablePromise<ReportingControllerGetPortfolioTrendsResponse> {
|
|
2822
2567
|
return __request(OpenAPI, {
|
|
2823
2568
|
method: 'GET',
|
|
2824
2569
|
url: '/api/v1/{region}/reporting/portfolio/trends',
|
|
2825
|
-
path: {
|
|
2826
|
-
region: data.region
|
|
2827
|
-
},
|
|
2828
2570
|
query: {
|
|
2829
2571
|
period: data.period,
|
|
2830
2572
|
granularity: data.granularity
|
|
@@ -2851,7 +2593,6 @@ export class ReportingService {
|
|
|
2851
2593
|
* - Initial setup for new users
|
|
2852
2594
|
*
|
|
2853
2595
|
* @param data The data for the request.
|
|
2854
|
-
* @param data.region Region code (cn, us, de)
|
|
2855
2596
|
* @param data.requestBody Optional date (defaults to today)
|
|
2856
2597
|
* @returns GenerateSnapshotResponse Snapshot generated successfully
|
|
2857
2598
|
* @throws ApiError
|
|
@@ -2862,9 +2603,6 @@ export class ReportingService {
|
|
|
2862
2603
|
return __request(OpenAPI, {
|
|
2863
2604
|
method: 'POST',
|
|
2864
2605
|
url: '/api/v1/{region}/reporting/snapshots/generate',
|
|
2865
|
-
path: {
|
|
2866
|
-
region: data.region
|
|
2867
|
-
},
|
|
2868
2606
|
body: data.requestBody,
|
|
2869
2607
|
mediaType: 'application/json',
|
|
2870
2608
|
errors: {
|
|
@@ -2890,7 +2628,6 @@ export class ReportingService {
|
|
|
2890
2628
|
* - Existing snapshots are skipped (not regenerated)
|
|
2891
2629
|
*
|
|
2892
2630
|
* @param data The data for the request.
|
|
2893
|
-
* @param data.region Region code (cn, us, de)
|
|
2894
2631
|
* @param data.requestBody
|
|
2895
2632
|
* @returns BackfillSnapshotsResponse Backfill completed successfully
|
|
2896
2633
|
* @throws ApiError
|
|
@@ -2901,9 +2638,6 @@ export class ReportingService {
|
|
|
2901
2638
|
return __request(OpenAPI, {
|
|
2902
2639
|
method: 'POST',
|
|
2903
2640
|
url: '/api/v1/{region}/reporting/snapshots/backfill',
|
|
2904
|
-
path: {
|
|
2905
|
-
region: data.region
|
|
2906
|
-
},
|
|
2907
2641
|
body: data.requestBody,
|
|
2908
2642
|
mediaType: 'application/json',
|
|
2909
2643
|
errors: {
|
|
@@ -2917,20 +2651,13 @@ export class ReportingService {
|
|
|
2917
2651
|
|
|
2918
2652
|
export class ApiKeysService {
|
|
2919
2653
|
/**
|
|
2920
|
-
* @param data The data for the request.
|
|
2921
|
-
* @param data.region Region code (cn, us, de)
|
|
2922
2654
|
* @returns unknown
|
|
2923
2655
|
* @throws ApiError
|
|
2924
2656
|
*/
|
|
2925
|
-
public static apiKeysController(
|
|
2926
|
-
data: ApiKeysControllerData
|
|
2927
|
-
): CancelablePromise<ApiKeysControllerResponse> {
|
|
2657
|
+
public static apiKeysController(): CancelablePromise<ApiKeysControllerResponse> {
|
|
2928
2658
|
return __request(OpenAPI, {
|
|
2929
2659
|
method: 'POST',
|
|
2930
|
-
url: '/api/v1/auth/api-keys'
|
|
2931
|
-
path: {
|
|
2932
|
-
region: data.region
|
|
2933
|
-
}
|
|
2660
|
+
url: '/api/v1/auth/api-keys'
|
|
2934
2661
|
});
|
|
2935
2662
|
}
|
|
2936
2663
|
}
|
|
@@ -2939,7 +2666,6 @@ export class AuthService {
|
|
|
2939
2666
|
/**
|
|
2940
2667
|
* Anonymous login with access token
|
|
2941
2668
|
* @param data The data for the request.
|
|
2942
|
-
* @param data.region Region code (cn, us, de)
|
|
2943
2669
|
* @param data.requestBody
|
|
2944
2670
|
* @returns unknown Login successful
|
|
2945
2671
|
* @throws ApiError
|
|
@@ -2950,9 +2676,6 @@ export class AuthService {
|
|
|
2950
2676
|
return __request(OpenAPI, {
|
|
2951
2677
|
method: 'POST',
|
|
2952
2678
|
url: '/api/v1/auth/sessions/anonymous',
|
|
2953
|
-
path: {
|
|
2954
|
-
region: data.region
|
|
2955
|
-
},
|
|
2956
2679
|
body: data.requestBody,
|
|
2957
2680
|
mediaType: 'application/json',
|
|
2958
2681
|
errors: {
|
|
@@ -2969,7 +2692,6 @@ export class ExchangeRateService {
|
|
|
2969
2692
|
* @param data The data for the request.
|
|
2970
2693
|
* @param data.symbol Currency pair symbol (e.g., USDCNY, EURUSD)
|
|
2971
2694
|
* @param data.dateString Date in ISO format (YYYY-MM-DD)
|
|
2972
|
-
* @param data.region Region code (cn, us, de)
|
|
2973
2695
|
* @returns unknown Exchange rate retrieved successfully
|
|
2974
2696
|
* @throws ApiError
|
|
2975
2697
|
*/
|
|
@@ -2981,8 +2703,7 @@ export class ExchangeRateService {
|
|
|
2981
2703
|
url: '/api/v1/market/exchange-rates/{symbol}/{dateString}',
|
|
2982
2704
|
path: {
|
|
2983
2705
|
symbol: data.symbol,
|
|
2984
|
-
dateString: data.dateString
|
|
2985
|
-
region: data.region
|
|
2706
|
+
dateString: data.dateString
|
|
2986
2707
|
},
|
|
2987
2708
|
errors: {
|
|
2988
2709
|
404: 'Exchange rate not found for the specified currency pair and date'
|
|
@@ -2994,20 +2715,13 @@ export class ExchangeRateService {
|
|
|
2994
2715
|
export class HealthService {
|
|
2995
2716
|
/**
|
|
2996
2717
|
* Basic health check for K8s/load balancer probes
|
|
2997
|
-
* @param data The data for the request.
|
|
2998
|
-
* @param data.region Region code (cn, us, de)
|
|
2999
2718
|
* @returns unknown Service is healthy
|
|
3000
2719
|
* @throws ApiError
|
|
3001
2720
|
*/
|
|
3002
|
-
public static healthControllerGetHealth(
|
|
3003
|
-
data: HealthControllerGetHealthData
|
|
3004
|
-
): CancelablePromise<HealthControllerGetHealthResponse> {
|
|
2721
|
+
public static healthControllerGetHealth(): CancelablePromise<HealthControllerGetHealthResponse> {
|
|
3005
2722
|
return __request(OpenAPI, {
|
|
3006
2723
|
method: 'GET',
|
|
3007
2724
|
url: '/api/v1/health',
|
|
3008
|
-
path: {
|
|
3009
|
-
region: data.region
|
|
3010
|
-
},
|
|
3011
2725
|
errors: {
|
|
3012
2726
|
503: 'Service unavailable'
|
|
3013
2727
|
}
|
|
@@ -3016,20 +2730,13 @@ export class HealthService {
|
|
|
3016
2730
|
|
|
3017
2731
|
/**
|
|
3018
2732
|
* Check database connection health
|
|
3019
|
-
* @param data The data for the request.
|
|
3020
|
-
* @param data.region Region code (cn, us, de)
|
|
3021
2733
|
* @returns unknown Database is healthy
|
|
3022
2734
|
* @throws ApiError
|
|
3023
2735
|
*/
|
|
3024
|
-
public static healthControllerCheckDatabase(
|
|
3025
|
-
data: HealthControllerCheckDatabaseData
|
|
3026
|
-
): CancelablePromise<HealthControllerCheckDatabaseResponse> {
|
|
2736
|
+
public static healthControllerCheckDatabase(): CancelablePromise<HealthControllerCheckDatabaseResponse> {
|
|
3027
2737
|
return __request(OpenAPI, {
|
|
3028
2738
|
method: 'GET',
|
|
3029
2739
|
url: '/api/v1/health/database',
|
|
3030
|
-
path: {
|
|
3031
|
-
region: data.region
|
|
3032
|
-
},
|
|
3033
2740
|
errors: {
|
|
3034
2741
|
503: 'Database unavailable'
|
|
3035
2742
|
}
|
|
@@ -3038,20 +2745,13 @@ export class HealthService {
|
|
|
3038
2745
|
|
|
3039
2746
|
/**
|
|
3040
2747
|
* Check Redis connection health
|
|
3041
|
-
* @param data The data for the request.
|
|
3042
|
-
* @param data.region Region code (cn, us, de)
|
|
3043
2748
|
* @returns unknown Redis is healthy
|
|
3044
2749
|
* @throws ApiError
|
|
3045
2750
|
*/
|
|
3046
|
-
public static healthControllerCheckRedis(
|
|
3047
|
-
data: HealthControllerCheckRedisData
|
|
3048
|
-
): CancelablePromise<HealthControllerCheckRedisResponse> {
|
|
2751
|
+
public static healthControllerCheckRedis(): CancelablePromise<HealthControllerCheckRedisResponse> {
|
|
3049
2752
|
return __request(OpenAPI, {
|
|
3050
2753
|
method: 'GET',
|
|
3051
2754
|
url: '/api/v1/health/redis',
|
|
3052
|
-
path: {
|
|
3053
|
-
region: data.region
|
|
3054
|
-
},
|
|
3055
2755
|
errors: {
|
|
3056
2756
|
503: 'Redis unavailable'
|
|
3057
2757
|
}
|
|
@@ -3060,20 +2760,13 @@ export class HealthService {
|
|
|
3060
2760
|
|
|
3061
2761
|
/**
|
|
3062
2762
|
* Get status of all circuit breakers
|
|
3063
|
-
* @param data The data for the request.
|
|
3064
|
-
* @param data.region Region code (cn, us, de)
|
|
3065
2763
|
* @returns unknown Circuit breaker status
|
|
3066
2764
|
* @throws ApiError
|
|
3067
2765
|
*/
|
|
3068
|
-
public static healthControllerGetCircuitBreakersHealth(
|
|
3069
|
-
data: HealthControllerGetCircuitBreakersHealthData
|
|
3070
|
-
): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse> {
|
|
2766
|
+
public static healthControllerGetCircuitBreakersHealth(): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse> {
|
|
3071
2767
|
return __request(OpenAPI, {
|
|
3072
2768
|
method: 'GET',
|
|
3073
2769
|
url: '/api/v1/health/circuit-breakers',
|
|
3074
|
-
path: {
|
|
3075
|
-
region: data.region
|
|
3076
|
-
},
|
|
3077
2770
|
errors: {
|
|
3078
2771
|
401: 'Unauthorized',
|
|
3079
2772
|
500: 'Internal error'
|
|
@@ -3085,7 +2778,6 @@ export class HealthService {
|
|
|
3085
2778
|
* Reset a circuit breaker to CLOSED state
|
|
3086
2779
|
* @param data The data for the request.
|
|
3087
2780
|
* @param data.name Circuit breaker name to reset
|
|
3088
|
-
* @param data.region Region code (cn, us, de)
|
|
3089
2781
|
* @returns unknown Circuit breaker reset successfully
|
|
3090
2782
|
* @throws ApiError
|
|
3091
2783
|
*/
|
|
@@ -3096,8 +2788,7 @@ export class HealthService {
|
|
|
3096
2788
|
method: 'POST',
|
|
3097
2789
|
url: '/api/v1/health/circuit-breakers/{name}/reset',
|
|
3098
2790
|
path: {
|
|
3099
|
-
name: data.name
|
|
3100
|
-
region: data.region
|
|
2791
|
+
name: data.name
|
|
3101
2792
|
},
|
|
3102
2793
|
errors: {
|
|
3103
2794
|
401: 'Unauthorized',
|
|
@@ -3108,20 +2799,13 @@ export class HealthService {
|
|
|
3108
2799
|
|
|
3109
2800
|
/**
|
|
3110
2801
|
* Get health check metrics and statistics
|
|
3111
|
-
* @param data The data for the request.
|
|
3112
|
-
* @param data.region Region code (cn, us, de)
|
|
3113
2802
|
* @returns unknown Health metrics
|
|
3114
2803
|
* @throws ApiError
|
|
3115
2804
|
*/
|
|
3116
|
-
public static healthControllerGetMetrics(
|
|
3117
|
-
data: HealthControllerGetMetricsData
|
|
3118
|
-
): CancelablePromise<HealthControllerGetMetricsResponse> {
|
|
2805
|
+
public static healthControllerGetMetrics(): CancelablePromise<HealthControllerGetMetricsResponse> {
|
|
3119
2806
|
return __request(OpenAPI, {
|
|
3120
2807
|
method: 'GET',
|
|
3121
2808
|
url: '/api/v1/health/metrics',
|
|
3122
|
-
path: {
|
|
3123
|
-
region: data.region
|
|
3124
|
-
},
|
|
3125
2809
|
errors: {
|
|
3126
2810
|
401: 'Unauthorized'
|
|
3127
2811
|
}
|
|
@@ -3132,7 +2816,6 @@ export class HealthService {
|
|
|
3132
2816
|
* Check health of a specific data enhancer
|
|
3133
2817
|
* @param data The data for the request.
|
|
3134
2818
|
* @param data.name Data enhancer name
|
|
3135
|
-
* @param data.region Region code (cn, us, de)
|
|
3136
2819
|
* @returns unknown Data enhancer is healthy
|
|
3137
2820
|
* @throws ApiError
|
|
3138
2821
|
*/
|
|
@@ -3143,8 +2826,7 @@ export class HealthService {
|
|
|
3143
2826
|
method: 'GET',
|
|
3144
2827
|
url: '/api/v1/health/data-enhancer/{name}',
|
|
3145
2828
|
path: {
|
|
3146
|
-
name: data.name
|
|
3147
|
-
region: data.region
|
|
2829
|
+
name: data.name
|
|
3148
2830
|
},
|
|
3149
2831
|
errors: {
|
|
3150
2832
|
401: 'Unauthorized',
|
|
@@ -3155,20 +2837,13 @@ export class HealthService {
|
|
|
3155
2837
|
|
|
3156
2838
|
/**
|
|
3157
2839
|
* Check health of all data providers
|
|
3158
|
-
* @param data The data for the request.
|
|
3159
|
-
* @param data.region Region code (cn, us, de)
|
|
3160
2840
|
* @returns unknown Data providers health status
|
|
3161
2841
|
* @throws ApiError
|
|
3162
2842
|
*/
|
|
3163
|
-
public static healthControllerCheckDataProviders(
|
|
3164
|
-
data: HealthControllerCheckDataProvidersData
|
|
3165
|
-
): CancelablePromise<HealthControllerCheckDataProvidersResponse> {
|
|
2843
|
+
public static healthControllerCheckDataProviders(): CancelablePromise<HealthControllerCheckDataProvidersResponse> {
|
|
3166
2844
|
return __request(OpenAPI, {
|
|
3167
2845
|
method: 'GET',
|
|
3168
2846
|
url: '/api/v1/health/data-providers',
|
|
3169
|
-
path: {
|
|
3170
|
-
region: data.region
|
|
3171
|
-
},
|
|
3172
2847
|
errors: {
|
|
3173
2848
|
401: 'Unauthorized',
|
|
3174
2849
|
503: 'Data providers check failed'
|
|
@@ -3180,7 +2855,6 @@ export class HealthService {
|
|
|
3180
2855
|
* Check health of a specific data provider
|
|
3181
2856
|
* @param data The data for the request.
|
|
3182
2857
|
* @param data.dataSource Data source identifier
|
|
3183
|
-
* @param data.region Region code (cn, us, de)
|
|
3184
2858
|
* @returns unknown Data provider is healthy
|
|
3185
2859
|
* @throws ApiError
|
|
3186
2860
|
*/
|
|
@@ -3191,8 +2865,7 @@ export class HealthService {
|
|
|
3191
2865
|
method: 'GET',
|
|
3192
2866
|
url: '/api/v1/health/data-provider/{dataSource}',
|
|
3193
2867
|
path: {
|
|
3194
|
-
dataSource: data.dataSource
|
|
3195
|
-
region: data.region
|
|
2868
|
+
dataSource: data.dataSource
|
|
3196
2869
|
},
|
|
3197
2870
|
errors: {
|
|
3198
2871
|
400: 'Invalid data source',
|
|
@@ -3206,20 +2879,13 @@ export class HealthService {
|
|
|
3206
2879
|
export class InfoService {
|
|
3207
2880
|
/**
|
|
3208
2881
|
* Get system information
|
|
3209
|
-
* @param data The data for the request.
|
|
3210
|
-
* @param data.region Region code (cn, us, de)
|
|
3211
2882
|
* @returns unknown System information retrieved successfully
|
|
3212
2883
|
* @throws ApiError
|
|
3213
2884
|
*/
|
|
3214
|
-
public static infoControllerGetInfo(
|
|
3215
|
-
data: InfoControllerGetInfoData
|
|
3216
|
-
): CancelablePromise<InfoControllerGetInfoResponse> {
|
|
2885
|
+
public static infoControllerGetInfo(): CancelablePromise<InfoControllerGetInfoResponse> {
|
|
3217
2886
|
return __request(OpenAPI, {
|
|
3218
2887
|
method: 'GET',
|
|
3219
|
-
url: '/api/v1/system/info'
|
|
3220
|
-
path: {
|
|
3221
|
-
region: data.region
|
|
3222
|
-
}
|
|
2888
|
+
url: '/api/v1/system/info'
|
|
3223
2889
|
});
|
|
3224
2890
|
}
|
|
3225
2891
|
}
|
|
@@ -3230,7 +2896,6 @@ export class LogosService {
|
|
|
3230
2896
|
* @param data The data for the request.
|
|
3231
2897
|
* @param data.dataSource Data source identifier (e.g., YAHOO, COINGECKO)
|
|
3232
2898
|
* @param data.symbol Asset symbol (e.g., AAPL, BTC)
|
|
3233
|
-
* @param data.region Region code (cn, us, de)
|
|
3234
2899
|
* @returns unknown Logo image stream (favicon)
|
|
3235
2900
|
* @throws ApiError
|
|
3236
2901
|
*/
|
|
@@ -3242,8 +2907,7 @@ export class LogosService {
|
|
|
3242
2907
|
url: '/api/v1/market/logos/{dataSource}/{symbol}',
|
|
3243
2908
|
path: {
|
|
3244
2909
|
dataSource: data.dataSource,
|
|
3245
|
-
symbol: data.symbol
|
|
3246
|
-
region: data.region
|
|
2910
|
+
symbol: data.symbol
|
|
3247
2911
|
},
|
|
3248
2912
|
errors: {
|
|
3249
2913
|
401: 'Unauthorized',
|
|
@@ -3257,7 +2921,6 @@ export class LogosService {
|
|
|
3257
2921
|
* Get website favicon by URL
|
|
3258
2922
|
* @param data The data for the request.
|
|
3259
2923
|
* @param data.url Website URL to fetch favicon from
|
|
3260
|
-
* @param data.region Region code (cn, us, de)
|
|
3261
2924
|
* @returns unknown Logo image stream (favicon)
|
|
3262
2925
|
* @throws ApiError
|
|
3263
2926
|
*/
|
|
@@ -3267,9 +2930,6 @@ export class LogosService {
|
|
|
3267
2930
|
return __request(OpenAPI, {
|
|
3268
2931
|
method: 'GET',
|
|
3269
2932
|
url: '/api/v1/market/logos',
|
|
3270
|
-
path: {
|
|
3271
|
-
region: data.region
|
|
3272
|
-
},
|
|
3273
2933
|
query: {
|
|
3274
2934
|
url: data.url
|
|
3275
2935
|
},
|
|
@@ -3288,7 +2948,6 @@ export class MarketDataService {
|
|
|
3288
2948
|
* @param data The data for the request.
|
|
3289
2949
|
* @param data.dataSource Data source provider
|
|
3290
2950
|
* @param data.symbol Symbol code
|
|
3291
|
-
* @param data.region Region code (cn, us, de)
|
|
3292
2951
|
* @returns unknown Market data retrieved successfully
|
|
3293
2952
|
* @throws ApiError
|
|
3294
2953
|
*/
|
|
@@ -3300,8 +2959,7 @@ export class MarketDataService {
|
|
|
3300
2959
|
url: '/api/v1/market-data/{dataSource}/{symbol}',
|
|
3301
2960
|
path: {
|
|
3302
2961
|
dataSource: data.dataSource,
|
|
3303
|
-
symbol: data.symbol
|
|
3304
|
-
region: data.region
|
|
2962
|
+
symbol: data.symbol
|
|
3305
2963
|
},
|
|
3306
2964
|
errors: {
|
|
3307
2965
|
403: 'Insufficient permissions to read market data',
|
|
@@ -3311,20 +2969,13 @@ export class MarketDataService {
|
|
|
3311
2969
|
}
|
|
3312
2970
|
|
|
3313
2971
|
/**
|
|
3314
|
-
* @param data The data for the request.
|
|
3315
|
-
* @param data.region Region code (cn, us, de)
|
|
3316
2972
|
* @returns unknown
|
|
3317
2973
|
* @throws ApiError
|
|
3318
2974
|
*/
|
|
3319
|
-
public static marketDataController(
|
|
3320
|
-
data: MarketDataControllerData
|
|
3321
|
-
): CancelablePromise<MarketDataControllerResponse> {
|
|
2975
|
+
public static marketDataController(): CancelablePromise<MarketDataControllerResponse> {
|
|
3322
2976
|
return __request(OpenAPI, {
|
|
3323
2977
|
method: 'POST',
|
|
3324
|
-
url: '/api/v1/market-data/{dataSource}/{symbol}'
|
|
3325
|
-
path: {
|
|
3326
|
-
region: data.region
|
|
3327
|
-
}
|
|
2978
|
+
url: '/api/v1/market-data/{dataSource}/{symbol}'
|
|
3328
2979
|
});
|
|
3329
2980
|
}
|
|
3330
2981
|
}
|