@mbanq/core-sdk-js 0.45.0 → 0.46.0
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/README.md +7 -0
- package/dist/commands/index.d.mts +467 -1
- package/dist/commands/index.d.ts +467 -1
- package/dist/commands/index.js +2 -2
- package/dist/commands/index.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -917,6 +917,13 @@ await client.request(UpdateCardID({
|
|
|
917
917
|
| `DeleteSubscription` | Use this API to delete a subscription by the provided subscription ID |
|
|
918
918
|
| `GetSubscriptionEvents` | Use this API to retrieve the list of available entities and their associated actions for a specific subscription type. |
|
|
919
919
|
|
|
920
|
+
#### Report Operations
|
|
921
|
+
|
|
922
|
+
| Command | Description |
|
|
923
|
+
|---|---|
|
|
924
|
+
| `GetReports` | Use this API to fetch all the existing reports configured in the system according to bank requirements. The response contains the values for each report and its associated parameters. |
|
|
925
|
+
| `GetReportParameters` | Use this API to fetch all the parameters which are linked to a specific report, which are required for the execution of the report. |
|
|
926
|
+
| `RunReport` | Use this API to run and receive specific reporting data from the database by passing the report name as a path parameter. Supports dynamic parameters, generic result sets, CSV export, and multiple output formats (HTML, PDF, CSV). |
|
|
920
927
|
|
|
921
928
|
## Documentation
|
|
922
929
|
|
|
@@ -20814,6 +20814,395 @@ declare const DeleteNoteResponseSchema: z.ZodObject<{
|
|
|
20814
20814
|
type DeleteNoteParamsRequest = z.infer<typeof DeleteNoteParamsSchema>;
|
|
20815
20815
|
type DeleteNoteResponse = z.infer<typeof DeleteNoteResponseSchema>;
|
|
20816
20816
|
|
|
20817
|
+
declare const GetReportsSchema: z.ZodObject<{
|
|
20818
|
+
parameterType: z.ZodBoolean;
|
|
20819
|
+
genericResultSet: z.ZodBoolean;
|
|
20820
|
+
}, "strip", z.ZodTypeAny, {
|
|
20821
|
+
genericResultSet: boolean;
|
|
20822
|
+
parameterType: boolean;
|
|
20823
|
+
}, {
|
|
20824
|
+
genericResultSet: boolean;
|
|
20825
|
+
parameterType: boolean;
|
|
20826
|
+
}>;
|
|
20827
|
+
declare const GetReportsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
20828
|
+
report_id: z.ZodNumber;
|
|
20829
|
+
report_name: z.ZodString;
|
|
20830
|
+
report_type: z.ZodString;
|
|
20831
|
+
report_subtype: z.ZodNullable<z.ZodString>;
|
|
20832
|
+
report_category: z.ZodString;
|
|
20833
|
+
parameter_id: z.ZodNumber;
|
|
20834
|
+
report_parameter_name: z.ZodString;
|
|
20835
|
+
parameter_name: z.ZodString;
|
|
20836
|
+
}, "strip", z.ZodTypeAny, {
|
|
20837
|
+
report_id: number;
|
|
20838
|
+
report_name: string;
|
|
20839
|
+
report_type: string;
|
|
20840
|
+
report_subtype: string | null;
|
|
20841
|
+
report_category: string;
|
|
20842
|
+
parameter_id: number;
|
|
20843
|
+
report_parameter_name: string;
|
|
20844
|
+
parameter_name: string;
|
|
20845
|
+
}, {
|
|
20846
|
+
report_id: number;
|
|
20847
|
+
report_name: string;
|
|
20848
|
+
report_type: string;
|
|
20849
|
+
report_subtype: string | null;
|
|
20850
|
+
report_category: string;
|
|
20851
|
+
parameter_id: number;
|
|
20852
|
+
report_parameter_name: string;
|
|
20853
|
+
parameter_name: string;
|
|
20854
|
+
}>, "many">;
|
|
20855
|
+
declare const GetReportsGenericResponseSchema: z.ZodObject<{
|
|
20856
|
+
columnHeaders: z.ZodArray<z.ZodObject<{
|
|
20857
|
+
columnName: z.ZodString;
|
|
20858
|
+
columnType: z.ZodString;
|
|
20859
|
+
columnDisplayType: z.ZodString;
|
|
20860
|
+
isColumnNullable: z.ZodBoolean;
|
|
20861
|
+
isColumnPrimaryKey: z.ZodBoolean;
|
|
20862
|
+
columnValues: z.ZodArray<z.ZodAny, "many">;
|
|
20863
|
+
position: z.ZodNumber;
|
|
20864
|
+
sectionId: z.ZodNumber;
|
|
20865
|
+
}, "strip", z.ZodTypeAny, {
|
|
20866
|
+
position: number;
|
|
20867
|
+
columnName: string;
|
|
20868
|
+
columnType: string;
|
|
20869
|
+
columnDisplayType: string;
|
|
20870
|
+
isColumnNullable: boolean;
|
|
20871
|
+
isColumnPrimaryKey: boolean;
|
|
20872
|
+
columnValues: any[];
|
|
20873
|
+
sectionId: number;
|
|
20874
|
+
}, {
|
|
20875
|
+
position: number;
|
|
20876
|
+
columnName: string;
|
|
20877
|
+
columnType: string;
|
|
20878
|
+
columnDisplayType: string;
|
|
20879
|
+
isColumnNullable: boolean;
|
|
20880
|
+
isColumnPrimaryKey: boolean;
|
|
20881
|
+
columnValues: any[];
|
|
20882
|
+
sectionId: number;
|
|
20883
|
+
}>, "many">;
|
|
20884
|
+
data: z.ZodArray<z.ZodObject<{
|
|
20885
|
+
row: z.ZodArray<z.ZodString, "many">;
|
|
20886
|
+
}, "strip", z.ZodTypeAny, {
|
|
20887
|
+
row: string[];
|
|
20888
|
+
}, {
|
|
20889
|
+
row: string[];
|
|
20890
|
+
}>, "many">;
|
|
20891
|
+
metaData: z.ZodObject<{
|
|
20892
|
+
outputMethodDerived: z.ZodString;
|
|
20893
|
+
count: z.ZodNumber;
|
|
20894
|
+
message: z.ZodString;
|
|
20895
|
+
}, "strip", z.ZodTypeAny, {
|
|
20896
|
+
message: string;
|
|
20897
|
+
outputMethodDerived: string;
|
|
20898
|
+
count: number;
|
|
20899
|
+
}, {
|
|
20900
|
+
message: string;
|
|
20901
|
+
outputMethodDerived: string;
|
|
20902
|
+
count: number;
|
|
20903
|
+
}>;
|
|
20904
|
+
}, "strip", z.ZodTypeAny, {
|
|
20905
|
+
data: {
|
|
20906
|
+
row: string[];
|
|
20907
|
+
}[];
|
|
20908
|
+
metaData: {
|
|
20909
|
+
message: string;
|
|
20910
|
+
outputMethodDerived: string;
|
|
20911
|
+
count: number;
|
|
20912
|
+
};
|
|
20913
|
+
columnHeaders: {
|
|
20914
|
+
position: number;
|
|
20915
|
+
columnName: string;
|
|
20916
|
+
columnType: string;
|
|
20917
|
+
columnDisplayType: string;
|
|
20918
|
+
isColumnNullable: boolean;
|
|
20919
|
+
isColumnPrimaryKey: boolean;
|
|
20920
|
+
columnValues: any[];
|
|
20921
|
+
sectionId: number;
|
|
20922
|
+
}[];
|
|
20923
|
+
}, {
|
|
20924
|
+
data: {
|
|
20925
|
+
row: string[];
|
|
20926
|
+
}[];
|
|
20927
|
+
metaData: {
|
|
20928
|
+
message: string;
|
|
20929
|
+
outputMethodDerived: string;
|
|
20930
|
+
count: number;
|
|
20931
|
+
};
|
|
20932
|
+
columnHeaders: {
|
|
20933
|
+
position: number;
|
|
20934
|
+
columnName: string;
|
|
20935
|
+
columnType: string;
|
|
20936
|
+
columnDisplayType: string;
|
|
20937
|
+
isColumnNullable: boolean;
|
|
20938
|
+
isColumnPrimaryKey: boolean;
|
|
20939
|
+
columnValues: any[];
|
|
20940
|
+
sectionId: number;
|
|
20941
|
+
}[];
|
|
20942
|
+
}>;
|
|
20943
|
+
type GetReportsRequest = z.infer<typeof GetReportsSchema>;
|
|
20944
|
+
declare const GetReportParametersSchema: z.ZodObject<{
|
|
20945
|
+
parameterType: z.ZodBoolean;
|
|
20946
|
+
genericResultSet: z.ZodBoolean;
|
|
20947
|
+
R_reportListing: z.ZodString;
|
|
20948
|
+
}, "strip", z.ZodTypeAny, {
|
|
20949
|
+
genericResultSet: boolean;
|
|
20950
|
+
parameterType: boolean;
|
|
20951
|
+
R_reportListing: string;
|
|
20952
|
+
}, {
|
|
20953
|
+
genericResultSet: boolean;
|
|
20954
|
+
parameterType: boolean;
|
|
20955
|
+
R_reportListing: string;
|
|
20956
|
+
}>;
|
|
20957
|
+
declare const GetReportParametersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
20958
|
+
parameter_name: z.ZodString;
|
|
20959
|
+
parameter_variable: z.ZodString;
|
|
20960
|
+
parameter_label: z.ZodString;
|
|
20961
|
+
parameter_displaytype: z.ZodString;
|
|
20962
|
+
parameter_formattype: z.ZodString;
|
|
20963
|
+
parameter_default: z.ZodString;
|
|
20964
|
+
selectone: z.ZodNullable<z.ZodString>;
|
|
20965
|
+
selectall: z.ZodNullable<z.ZodString>;
|
|
20966
|
+
parentparametername: z.ZodNullable<z.ZodString>;
|
|
20967
|
+
}, "strip", z.ZodTypeAny, {
|
|
20968
|
+
parameter_name: string;
|
|
20969
|
+
parameter_variable: string;
|
|
20970
|
+
parameter_label: string;
|
|
20971
|
+
parameter_displaytype: string;
|
|
20972
|
+
parameter_formattype: string;
|
|
20973
|
+
parameter_default: string;
|
|
20974
|
+
selectone: string | null;
|
|
20975
|
+
selectall: string | null;
|
|
20976
|
+
parentparametername: string | null;
|
|
20977
|
+
}, {
|
|
20978
|
+
parameter_name: string;
|
|
20979
|
+
parameter_variable: string;
|
|
20980
|
+
parameter_label: string;
|
|
20981
|
+
parameter_displaytype: string;
|
|
20982
|
+
parameter_formattype: string;
|
|
20983
|
+
parameter_default: string;
|
|
20984
|
+
selectone: string | null;
|
|
20985
|
+
selectall: string | null;
|
|
20986
|
+
parentparametername: string | null;
|
|
20987
|
+
}>, "many">;
|
|
20988
|
+
declare const GetReportParametersGenericResponseSchema: z.ZodObject<{
|
|
20989
|
+
columnHeaders: z.ZodArray<z.ZodObject<{
|
|
20990
|
+
columnName: z.ZodString;
|
|
20991
|
+
columnType: z.ZodString;
|
|
20992
|
+
columnLength: z.ZodNullable<z.ZodString>;
|
|
20993
|
+
columnDisplayType: z.ZodString;
|
|
20994
|
+
isColumnNullable: z.ZodBoolean;
|
|
20995
|
+
isColumnPrimaryKey: z.ZodBoolean;
|
|
20996
|
+
columnValues: z.ZodArray<z.ZodAny, "many">;
|
|
20997
|
+
position: z.ZodNumber;
|
|
20998
|
+
sectionId: z.ZodNumber;
|
|
20999
|
+
}, "strip", z.ZodTypeAny, {
|
|
21000
|
+
position: number;
|
|
21001
|
+
columnName: string;
|
|
21002
|
+
columnType: string;
|
|
21003
|
+
columnLength: string | null;
|
|
21004
|
+
columnDisplayType: string;
|
|
21005
|
+
isColumnNullable: boolean;
|
|
21006
|
+
isColumnPrimaryKey: boolean;
|
|
21007
|
+
columnValues: any[];
|
|
21008
|
+
sectionId: number;
|
|
21009
|
+
}, {
|
|
21010
|
+
position: number;
|
|
21011
|
+
columnName: string;
|
|
21012
|
+
columnType: string;
|
|
21013
|
+
columnLength: string | null;
|
|
21014
|
+
columnDisplayType: string;
|
|
21015
|
+
isColumnNullable: boolean;
|
|
21016
|
+
isColumnPrimaryKey: boolean;
|
|
21017
|
+
columnValues: any[];
|
|
21018
|
+
sectionId: number;
|
|
21019
|
+
}>, "many">;
|
|
21020
|
+
data: z.ZodArray<z.ZodObject<{
|
|
21021
|
+
row: z.ZodArray<z.ZodString, "many">;
|
|
21022
|
+
}, "strip", z.ZodTypeAny, {
|
|
21023
|
+
row: string[];
|
|
21024
|
+
}, {
|
|
21025
|
+
row: string[];
|
|
21026
|
+
}>, "many">;
|
|
21027
|
+
metaData: z.ZodObject<{
|
|
21028
|
+
outputMethodDerived: z.ZodString;
|
|
21029
|
+
count: z.ZodNumber;
|
|
21030
|
+
message: z.ZodString;
|
|
21031
|
+
}, "strip", z.ZodTypeAny, {
|
|
21032
|
+
message: string;
|
|
21033
|
+
outputMethodDerived: string;
|
|
21034
|
+
count: number;
|
|
21035
|
+
}, {
|
|
21036
|
+
message: string;
|
|
21037
|
+
outputMethodDerived: string;
|
|
21038
|
+
count: number;
|
|
21039
|
+
}>;
|
|
21040
|
+
}, "strip", z.ZodTypeAny, {
|
|
21041
|
+
data: {
|
|
21042
|
+
row: string[];
|
|
21043
|
+
}[];
|
|
21044
|
+
metaData: {
|
|
21045
|
+
message: string;
|
|
21046
|
+
outputMethodDerived: string;
|
|
21047
|
+
count: number;
|
|
21048
|
+
};
|
|
21049
|
+
columnHeaders: {
|
|
21050
|
+
position: number;
|
|
21051
|
+
columnName: string;
|
|
21052
|
+
columnType: string;
|
|
21053
|
+
columnLength: string | null;
|
|
21054
|
+
columnDisplayType: string;
|
|
21055
|
+
isColumnNullable: boolean;
|
|
21056
|
+
isColumnPrimaryKey: boolean;
|
|
21057
|
+
columnValues: any[];
|
|
21058
|
+
sectionId: number;
|
|
21059
|
+
}[];
|
|
21060
|
+
}, {
|
|
21061
|
+
data: {
|
|
21062
|
+
row: string[];
|
|
21063
|
+
}[];
|
|
21064
|
+
metaData: {
|
|
21065
|
+
message: string;
|
|
21066
|
+
outputMethodDerived: string;
|
|
21067
|
+
count: number;
|
|
21068
|
+
};
|
|
21069
|
+
columnHeaders: {
|
|
21070
|
+
position: number;
|
|
21071
|
+
columnName: string;
|
|
21072
|
+
columnType: string;
|
|
21073
|
+
columnLength: string | null;
|
|
21074
|
+
columnDisplayType: string;
|
|
21075
|
+
isColumnNullable: boolean;
|
|
21076
|
+
isColumnPrimaryKey: boolean;
|
|
21077
|
+
columnValues: any[];
|
|
21078
|
+
sectionId: number;
|
|
21079
|
+
}[];
|
|
21080
|
+
}>;
|
|
21081
|
+
type GetReportParametersRequest = z.infer<typeof GetReportParametersSchema>;
|
|
21082
|
+
type GetReportParametersResponse = z.infer<typeof GetReportParametersResponseSchema>;
|
|
21083
|
+
type GetReportParametersGenericResponse = z.infer<typeof GetReportParametersGenericResponseSchema>;
|
|
21084
|
+
declare const RunReportResponseSchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
21085
|
+
declare const RunReportGenericResponseSchema: z.ZodObject<{
|
|
21086
|
+
columnHeaders: z.ZodArray<z.ZodObject<{
|
|
21087
|
+
columnName: z.ZodString;
|
|
21088
|
+
columnType: z.ZodString;
|
|
21089
|
+
columnLength: z.ZodNullable<z.ZodNumber>;
|
|
21090
|
+
columnDisplayType: z.ZodString;
|
|
21091
|
+
isColumnNullable: z.ZodBoolean;
|
|
21092
|
+
isColumnPrimaryKey: z.ZodBoolean;
|
|
21093
|
+
columnValues: z.ZodArray<z.ZodAny, "many">;
|
|
21094
|
+
position: z.ZodNumber;
|
|
21095
|
+
sectionId: z.ZodNumber;
|
|
21096
|
+
}, "strip", z.ZodTypeAny, {
|
|
21097
|
+
position: number;
|
|
21098
|
+
columnName: string;
|
|
21099
|
+
columnType: string;
|
|
21100
|
+
columnLength: number | null;
|
|
21101
|
+
columnDisplayType: string;
|
|
21102
|
+
isColumnNullable: boolean;
|
|
21103
|
+
isColumnPrimaryKey: boolean;
|
|
21104
|
+
columnValues: any[];
|
|
21105
|
+
sectionId: number;
|
|
21106
|
+
}, {
|
|
21107
|
+
position: number;
|
|
21108
|
+
columnName: string;
|
|
21109
|
+
columnType: string;
|
|
21110
|
+
columnLength: number | null;
|
|
21111
|
+
columnDisplayType: string;
|
|
21112
|
+
isColumnNullable: boolean;
|
|
21113
|
+
isColumnPrimaryKey: boolean;
|
|
21114
|
+
columnValues: any[];
|
|
21115
|
+
sectionId: number;
|
|
21116
|
+
}>, "many">;
|
|
21117
|
+
data: z.ZodArray<z.ZodObject<{
|
|
21118
|
+
row: z.ZodArray<z.ZodString, "many">;
|
|
21119
|
+
}, "strip", z.ZodTypeAny, {
|
|
21120
|
+
row: string[];
|
|
21121
|
+
}, {
|
|
21122
|
+
row: string[];
|
|
21123
|
+
}>, "many">;
|
|
21124
|
+
metaData: z.ZodObject<{
|
|
21125
|
+
outputMethodDerived: z.ZodString;
|
|
21126
|
+
count: z.ZodNumber;
|
|
21127
|
+
message: z.ZodString;
|
|
21128
|
+
}, "strip", z.ZodTypeAny, {
|
|
21129
|
+
message: string;
|
|
21130
|
+
outputMethodDerived: string;
|
|
21131
|
+
count: number;
|
|
21132
|
+
}, {
|
|
21133
|
+
message: string;
|
|
21134
|
+
outputMethodDerived: string;
|
|
21135
|
+
count: number;
|
|
21136
|
+
}>;
|
|
21137
|
+
}, "strip", z.ZodTypeAny, {
|
|
21138
|
+
data: {
|
|
21139
|
+
row: string[];
|
|
21140
|
+
}[];
|
|
21141
|
+
metaData: {
|
|
21142
|
+
message: string;
|
|
21143
|
+
outputMethodDerived: string;
|
|
21144
|
+
count: number;
|
|
21145
|
+
};
|
|
21146
|
+
columnHeaders: {
|
|
21147
|
+
position: number;
|
|
21148
|
+
columnName: string;
|
|
21149
|
+
columnType: string;
|
|
21150
|
+
columnLength: number | null;
|
|
21151
|
+
columnDisplayType: string;
|
|
21152
|
+
isColumnNullable: boolean;
|
|
21153
|
+
isColumnPrimaryKey: boolean;
|
|
21154
|
+
columnValues: any[];
|
|
21155
|
+
sectionId: number;
|
|
21156
|
+
}[];
|
|
21157
|
+
}, {
|
|
21158
|
+
data: {
|
|
21159
|
+
row: string[];
|
|
21160
|
+
}[];
|
|
21161
|
+
metaData: {
|
|
21162
|
+
message: string;
|
|
21163
|
+
outputMethodDerived: string;
|
|
21164
|
+
count: number;
|
|
21165
|
+
};
|
|
21166
|
+
columnHeaders: {
|
|
21167
|
+
position: number;
|
|
21168
|
+
columnName: string;
|
|
21169
|
+
columnType: string;
|
|
21170
|
+
columnLength: number | null;
|
|
21171
|
+
columnDisplayType: string;
|
|
21172
|
+
isColumnNullable: boolean;
|
|
21173
|
+
isColumnPrimaryKey: boolean;
|
|
21174
|
+
columnValues: any[];
|
|
21175
|
+
sectionId: number;
|
|
21176
|
+
}[];
|
|
21177
|
+
}>;
|
|
21178
|
+
declare const RunReportSchema: z.ZodObject<{
|
|
21179
|
+
reportName: z.ZodString;
|
|
21180
|
+
genericResultSet: z.ZodOptional<z.ZodBoolean>;
|
|
21181
|
+
exportCSV: z.ZodOptional<z.ZodBoolean>;
|
|
21182
|
+
outputType: z.ZodOptional<z.ZodString>;
|
|
21183
|
+
R_officeId: z.ZodOptional<z.ZodString>;
|
|
21184
|
+
R_loanOfficerId: z.ZodOptional<z.ZodString>;
|
|
21185
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
21186
|
+
reportName: z.ZodString;
|
|
21187
|
+
genericResultSet: z.ZodOptional<z.ZodBoolean>;
|
|
21188
|
+
exportCSV: z.ZodOptional<z.ZodBoolean>;
|
|
21189
|
+
outputType: z.ZodOptional<z.ZodString>;
|
|
21190
|
+
R_officeId: z.ZodOptional<z.ZodString>;
|
|
21191
|
+
R_loanOfficerId: z.ZodOptional<z.ZodString>;
|
|
21192
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
21193
|
+
reportName: z.ZodString;
|
|
21194
|
+
genericResultSet: z.ZodOptional<z.ZodBoolean>;
|
|
21195
|
+
exportCSV: z.ZodOptional<z.ZodBoolean>;
|
|
21196
|
+
outputType: z.ZodOptional<z.ZodString>;
|
|
21197
|
+
R_officeId: z.ZodOptional<z.ZodString>;
|
|
21198
|
+
R_loanOfficerId: z.ZodOptional<z.ZodString>;
|
|
21199
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
21200
|
+
type RunReportRequest = z.infer<typeof RunReportSchema>;
|
|
21201
|
+
type RunReportResponse = z.infer<typeof RunReportResponseSchema>;
|
|
21202
|
+
type RunReportGenericResponse = z.infer<typeof RunReportGenericResponseSchema>;
|
|
21203
|
+
type GetReportsResponse = z.infer<typeof GetReportsResponseSchema>;
|
|
21204
|
+
type GetReportsGenericResponse = z.infer<typeof GetReportsGenericResponseSchema>;
|
|
21205
|
+
|
|
20817
21206
|
/**
|
|
20818
21207
|
* Get all cards for a client
|
|
20819
21208
|
*
|
|
@@ -28926,6 +29315,83 @@ declare const DeleteNote: (params: DeleteNoteParamsRequest) => Command<{
|
|
|
28926
29315
|
params: DeleteNoteParamsRequest;
|
|
28927
29316
|
}, DeleteNoteResponse>;
|
|
28928
29317
|
|
|
29318
|
+
/**
|
|
29319
|
+
* Retrieves a list of available reports based on parameter type and result set format.
|
|
29320
|
+
*
|
|
29321
|
+
* @param data - The request parameters for fetching reports
|
|
29322
|
+
* @param data.parameterType - The type of parameters to filter reports by
|
|
29323
|
+
* @param data.genericResultSet - Whether to return generic result sets. Response format depends on this flag: true returns GetReportsGenericResponse, false returns GetReportsResponse
|
|
29324
|
+
* @returns A command that fetches the list of available reports. Response type is GetReportsGenericResponse if genericResultSet is true, otherwise GetReportsResponse
|
|
29325
|
+
*
|
|
29326
|
+
* @example
|
|
29327
|
+
* ```typescript
|
|
29328
|
+
* const command = GetReports({
|
|
29329
|
+
* parameterType: true,
|
|
29330
|
+
* genericResultSet: false
|
|
29331
|
+
* });
|
|
29332
|
+
* const reports = await client.request(command);
|
|
29333
|
+
* ```
|
|
29334
|
+
*/
|
|
29335
|
+
declare const GetReports: (data: GetReportsRequest) => Command<{
|
|
29336
|
+
data: GetReportsRequest;
|
|
29337
|
+
}, GetReportsResponse | GetReportsGenericResponse>;
|
|
29338
|
+
/**
|
|
29339
|
+
* Retrieves the parameters required for running a specific report.
|
|
29340
|
+
*
|
|
29341
|
+
* @param data - The request parameters for fetching report parameters
|
|
29342
|
+
* @param data.parameterType - The type of parameters for the report
|
|
29343
|
+
* @param data.genericResultSet - Whether to use generic result sets. Response format depends on this flag: true returns GetReportParametersGenericResponse, false returns GetReportParametersResponse
|
|
29344
|
+
* @param data.R_reportListing - The report listing identifier
|
|
29345
|
+
* @returns A command that fetches the parameters for a specific report. Response type is GetReportParametersGenericResponse if genericResultSet is true, otherwise GetReportParametersResponse
|
|
29346
|
+
* @throws {CommandError} If the request fails or validation fails
|
|
29347
|
+
*
|
|
29348
|
+
* @example
|
|
29349
|
+
* ```typescript
|
|
29350
|
+
* const command = GetReportParameters({
|
|
29351
|
+
* parameterType: 'all',
|
|
29352
|
+
* genericResultSet: false,
|
|
29353
|
+
* R_reportListing: 'Client Listing'
|
|
29354
|
+
* });
|
|
29355
|
+
* const parameters = await client.request(command);
|
|
29356
|
+
* ```
|
|
29357
|
+
*/
|
|
29358
|
+
declare const GetReportParameters: (data: GetReportParametersRequest) => Command<{
|
|
29359
|
+
data: GetReportParametersRequest;
|
|
29360
|
+
}, GetReportParametersResponse | GetReportParametersGenericResponse>;
|
|
29361
|
+
/**
|
|
29362
|
+
* Executes a report with specified parameters and returns the results.
|
|
29363
|
+
* Supports dynamic parameters, multiple output formats, and optional CSV export.
|
|
29364
|
+
*
|
|
29365
|
+
* @param data - The request parameters for running the report
|
|
29366
|
+
* @param data.reportName - The name of the report to run
|
|
29367
|
+
* @param data.genericResultSet - Whether to use generic result sets (optional). Response format depends on this flag: true returns RunReportGenericResponse, false returns RunReportResponse
|
|
29368
|
+
* @param data.exportCSV - Whether to export results as CSV (optional)
|
|
29369
|
+
* @param data.outputType - The output format type (optional)
|
|
29370
|
+
* @param data.R_officeId - Office ID filter (optional)
|
|
29371
|
+
* @param data.R_loanOfficerId - Loan officer ID filter (optional)
|
|
29372
|
+
* @param data.R_{parameterName} - Additional dynamic parameters prefixed with 'R_' (optional)
|
|
29373
|
+
* @returns A command that executes the report and returns results. Response type is RunReportGenericResponse if genericResultSet is true, otherwise RunReportResponse
|
|
29374
|
+
*
|
|
29375
|
+
* @example
|
|
29376
|
+
* ```typescript
|
|
29377
|
+
* const command = RunReport({
|
|
29378
|
+
* reportName: 'Client Listing',
|
|
29379
|
+
* genericResultSet: false,
|
|
29380
|
+
* exportCSV: true,
|
|
29381
|
+
* outputType: 'PDF',
|
|
29382
|
+
* R_officeId: 123,
|
|
29383
|
+
* R_loanOfficerId: 456,
|
|
29384
|
+
* R_start_date: '2025-12-01',
|
|
29385
|
+
* R_end_date: 2025-12-31,
|
|
29386
|
+
* R_saving_no: '000000016'
|
|
29387
|
+
* });
|
|
29388
|
+
* const reportResults = await client.request(command);
|
|
29389
|
+
* ```
|
|
29390
|
+
*/
|
|
29391
|
+
declare const RunReport: (data: RunReportRequest) => Command<{
|
|
29392
|
+
data: RunReportRequest;
|
|
29393
|
+
}, RunReportResponse | RunReportGenericResponse>;
|
|
29394
|
+
|
|
28929
29395
|
/**
|
|
28930
29396
|
* Create a new credit product
|
|
28931
29397
|
*
|
|
@@ -29075,4 +29541,4 @@ declare const GetLoanProduct: (loanProductId: number) => Command<{
|
|
|
29075
29541
|
*/
|
|
29076
29542
|
declare const GetLoanProducts: () => Command<{}, GetLoanProductsResponse>;
|
|
29077
29543
|
|
|
29078
|
-
export { ActivateCard, ActivatePhysicalCard, AddAcquiredCard, AddCardToMobileWallet, AddChargeToAccount, AddChargeToLoanAccount, AdjustCreditAccountLimits, ApproveCreditAccount, ApproveLoan, ApproveRejectClientDocument, BlockAccount, BlockAcquiredCardAddition, CalculateLoanSchedule, ChangeCardType, CloseAccount, CreateAccountProduct, CreateAndActivateAccount, CreateCard, CreateCardProduct, CreateCharge, CreateClient, CreateClientAddress, CreateClientIdentifier, CreateCreditAccountAutoPayExternal, CreateCreditAccountAutoPayInternal, CreateCreditAccountPayment, CreateCreditProduct, CreateDataTableProductMapping, CreateEntryInDataTable, CreateFixedDepositAccount, CreateLoan, CreateLoanProduct, CreateNote, CreatePayment, CreatePrepaidCard, CreateRecipient, CreateSecuredCreditAccount, CreateSubscriber, CreateSubscription, CreateTransfer, CreateUnsecuredCreditAccount, CustomCreate, CustomGet, CustomUpdate, DeactivatePrepaidCard, DeleteAccount, DeleteAcquiredCard, DeleteClient, DeleteClientDocument, DeleteDataTableProductMapping, DeleteEntryFromDataTable, DeleteFixedDepositAccount, DeleteNote, DeletePayment, DeleteRecipient, DeleteSelfServiceUser, DeleteSubscriber, DeleteSubscription, DisburseLoan, DisburseLoanToLinkedAccount, DownloadAccountStatement, DownloadCreditAccountBilledStatement, EnableDisableConfiguration, EnableSelfServiceAccess, GenerateAccountStatement, GetAccount, GetAccountDocumentsDetails, GetAccountProductById, GetAccountsOfClient, GetAcquiredCardById, GetAcquiredCardPublicKey, GetAcquiredCards, GetAllAccountProducts, GetBankDetailsFromRoutingCode, GetCardAuthorizationById, GetCardAuthorizations, GetCardById, GetCardImageUrl, GetCardProduct, GetCardSettlementById, GetCardSettlements, GetCards, GetCharge, GetCharges, GetChargesByAccountId, GetChargesByLoanAccountId, GetClient, GetClientAddress, GetClientClassification, GetClients, GetCompletedTransactions, GetConfigurationByName, GetConfigurations, GetCreditAccountBilledStatements, GetCreditAccountCompletedTransactions, GetCreditAccountDetails, GetCreditAccountPendingTransactions, GetCreditAccountTransactionById, GetCreditProduct, GetCreditProducts, GetDataTableProductMappingById, GetDataTableProductMappingTemplate, GetDataTableProductMappings, GetEntriesFromDataTable, GetFixedDepositAccount, GetLoanById, GetLoanPreclosureTemplate, GetLoanProduct, GetLoanProducts, GetLoanSearchTemplate, GetLoanTransactionDetails, GetLoanWriteoffTemplate, GetNoteById, GetNotes, GetPayment, GetPayments, GetPendingTransactions, GetPermittedDocumentTypes, GetPrepaidCardById, GetPrepaidCardsByAccountId, GetRecentTransactions, GetRecipient, GetRecipients, GetSearchData, GetStatusOfVerifyClient, GetSubscriber, GetSubscribers, GetSubscription, GetSubscriptionEvents, GetSubscriptions, GetTemplates, GetTransactionById, GetTransfer, GetTransfers, GetUserDetail, GraphQL, HoldAmount, ListCardProduct, ListClientDocument, MakeRepayment, OrderPhysicalCard, PayAccountCharge, PreCloseLoan, RenewCard, ReplaceCard, ScheduleAccountClosure, SetClientAddressStatus, SetPIN, SuspendCard, SwitchClientClassification, TerminateCard, UnblockAcquiredCardAddition, UndoChargeToAccount, UpdateAccount, UpdateAccountProduct, UpdateCardFeature, UpdateCardLimit, UpdateCardProduct, UpdateCharge, UpdateClient, UpdateClientAddress, UpdateClientIdentifier, UpdateCreditProduct, UpdateEntryInDataTable, UpdateFixedDepositAccount, UpdateLoanProduct, UpdatePayment, UpdateRecipientGQL as UpdateRecipient, UpdateSelfServiceUser, UpdateSubscriber, UploadClientIdentifierDocument, VerifyWithActivateClients, WaiveChargeFromAccount, WriteLoanOff };
|
|
29544
|
+
export { ActivateCard, ActivatePhysicalCard, AddAcquiredCard, AddCardToMobileWallet, AddChargeToAccount, AddChargeToLoanAccount, AdjustCreditAccountLimits, ApproveCreditAccount, ApproveLoan, ApproveRejectClientDocument, BlockAccount, BlockAcquiredCardAddition, CalculateLoanSchedule, ChangeCardType, CloseAccount, CreateAccountProduct, CreateAndActivateAccount, CreateCard, CreateCardProduct, CreateCharge, CreateClient, CreateClientAddress, CreateClientIdentifier, CreateCreditAccountAutoPayExternal, CreateCreditAccountAutoPayInternal, CreateCreditAccountPayment, CreateCreditProduct, CreateDataTableProductMapping, CreateEntryInDataTable, CreateFixedDepositAccount, CreateLoan, CreateLoanProduct, CreateNote, CreatePayment, CreatePrepaidCard, CreateRecipient, CreateSecuredCreditAccount, CreateSubscriber, CreateSubscription, CreateTransfer, CreateUnsecuredCreditAccount, CustomCreate, CustomGet, CustomUpdate, DeactivatePrepaidCard, DeleteAccount, DeleteAcquiredCard, DeleteClient, DeleteClientDocument, DeleteDataTableProductMapping, DeleteEntryFromDataTable, DeleteFixedDepositAccount, DeleteNote, DeletePayment, DeleteRecipient, DeleteSelfServiceUser, DeleteSubscriber, DeleteSubscription, DisburseLoan, DisburseLoanToLinkedAccount, DownloadAccountStatement, DownloadCreditAccountBilledStatement, EnableDisableConfiguration, EnableSelfServiceAccess, GenerateAccountStatement, GetAccount, GetAccountDocumentsDetails, GetAccountProductById, GetAccountsOfClient, GetAcquiredCardById, GetAcquiredCardPublicKey, GetAcquiredCards, GetAllAccountProducts, GetBankDetailsFromRoutingCode, GetCardAuthorizationById, GetCardAuthorizations, GetCardById, GetCardImageUrl, GetCardProduct, GetCardSettlementById, GetCardSettlements, GetCards, GetCharge, GetCharges, GetChargesByAccountId, GetChargesByLoanAccountId, GetClient, GetClientAddress, GetClientClassification, GetClients, GetCompletedTransactions, GetConfigurationByName, GetConfigurations, GetCreditAccountBilledStatements, GetCreditAccountCompletedTransactions, GetCreditAccountDetails, GetCreditAccountPendingTransactions, GetCreditAccountTransactionById, GetCreditProduct, GetCreditProducts, GetDataTableProductMappingById, GetDataTableProductMappingTemplate, GetDataTableProductMappings, GetEntriesFromDataTable, GetFixedDepositAccount, GetLoanById, GetLoanPreclosureTemplate, GetLoanProduct, GetLoanProducts, GetLoanSearchTemplate, GetLoanTransactionDetails, GetLoanWriteoffTemplate, GetNoteById, GetNotes, GetPayment, GetPayments, GetPendingTransactions, GetPermittedDocumentTypes, GetPrepaidCardById, GetPrepaidCardsByAccountId, GetRecentTransactions, GetRecipient, GetRecipients, GetReportParameters, GetReports, GetSearchData, GetStatusOfVerifyClient, GetSubscriber, GetSubscribers, GetSubscription, GetSubscriptionEvents, GetSubscriptions, GetTemplates, GetTransactionById, GetTransfer, GetTransfers, GetUserDetail, GraphQL, HoldAmount, ListCardProduct, ListClientDocument, MakeRepayment, OrderPhysicalCard, PayAccountCharge, PreCloseLoan, RenewCard, ReplaceCard, RunReport, ScheduleAccountClosure, SetClientAddressStatus, SetPIN, SuspendCard, SwitchClientClassification, TerminateCard, UnblockAcquiredCardAddition, UndoChargeToAccount, UpdateAccount, UpdateAccountProduct, UpdateCardFeature, UpdateCardLimit, UpdateCardProduct, UpdateCharge, UpdateClient, UpdateClientAddress, UpdateClientIdentifier, UpdateCreditProduct, UpdateEntryInDataTable, UpdateFixedDepositAccount, UpdateLoanProduct, UpdatePayment, UpdateRecipientGQL as UpdateRecipient, UpdateSelfServiceUser, UpdateSubscriber, UploadClientIdentifierDocument, VerifyWithActivateClients, WaiveChargeFromAccount, WriteLoanOff };
|