@finverse/sdk-typescript 0.0.7 → 0.0.10
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/api.d.ts +257 -0
- package/dist/api.js +114 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1043,6 +1043,81 @@ export interface IdentityPhoneNumber {
|
|
|
1043
1043
|
*/
|
|
1044
1044
|
account_ids?: Array<string>;
|
|
1045
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
*
|
|
1048
|
+
* @export
|
|
1049
|
+
* @interface IncomeEstimate
|
|
1050
|
+
*/
|
|
1051
|
+
export interface IncomeEstimate {
|
|
1052
|
+
/**
|
|
1053
|
+
* Income amount
|
|
1054
|
+
* @type {number}
|
|
1055
|
+
* @memberof IncomeEstimate
|
|
1056
|
+
*/
|
|
1057
|
+
amount?: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* Currency
|
|
1060
|
+
* @type {string}
|
|
1061
|
+
* @memberof IncomeEstimate
|
|
1062
|
+
*/
|
|
1063
|
+
currency?: string;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @export
|
|
1068
|
+
* @interface IncomeResponse
|
|
1069
|
+
*/
|
|
1070
|
+
export interface IncomeResponse {
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @type {Array<SingleSourceIncome>}
|
|
1074
|
+
* @memberof IncomeResponse
|
|
1075
|
+
*/
|
|
1076
|
+
income?: Array<SingleSourceIncome>;
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @type {LoginIdentityShort}
|
|
1080
|
+
* @memberof IncomeResponse
|
|
1081
|
+
*/
|
|
1082
|
+
login_identity?: LoginIdentityShort;
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* @type {InstitutionShort}
|
|
1086
|
+
* @memberof IncomeResponse
|
|
1087
|
+
*/
|
|
1088
|
+
institution?: InstitutionShort;
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* @export
|
|
1093
|
+
* @interface IncomeStream
|
|
1094
|
+
*/
|
|
1095
|
+
export interface IncomeStream {
|
|
1096
|
+
/**
|
|
1097
|
+
* Account this income estimate is associated with
|
|
1098
|
+
* @type {string}
|
|
1099
|
+
* @memberof IncomeStream
|
|
1100
|
+
*/
|
|
1101
|
+
account_id?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
*
|
|
1104
|
+
* @type {IncomeEstimate}
|
|
1105
|
+
* @memberof IncomeStream
|
|
1106
|
+
*/
|
|
1107
|
+
estimated_monthly_income?: IncomeEstimate;
|
|
1108
|
+
/**
|
|
1109
|
+
* Number of transactions counted towards income
|
|
1110
|
+
* @type {number}
|
|
1111
|
+
* @memberof IncomeStream
|
|
1112
|
+
*/
|
|
1113
|
+
transaction_count?: number;
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @type {Array<MonthlyIncomeEstimate>}
|
|
1117
|
+
* @memberof IncomeStream
|
|
1118
|
+
*/
|
|
1119
|
+
monthly_history?: Array<MonthlyIncomeEstimate>;
|
|
1120
|
+
}
|
|
1046
1121
|
/**
|
|
1047
1122
|
*
|
|
1048
1123
|
* @export
|
|
@@ -1416,6 +1491,31 @@ export interface ListAccountsResponse {
|
|
|
1416
1491
|
*/
|
|
1417
1492
|
institution?: InstitutionShort;
|
|
1418
1493
|
}
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @export
|
|
1497
|
+
* @interface ListPaymentInstructionsResponse
|
|
1498
|
+
*/
|
|
1499
|
+
export interface ListPaymentInstructionsResponse {
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @type {Array<PaymentInstruction>}
|
|
1503
|
+
* @memberof ListPaymentInstructionsResponse
|
|
1504
|
+
*/
|
|
1505
|
+
payment_instructions?: Array<PaymentInstruction>;
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {LoginIdentityShort}
|
|
1509
|
+
* @memberof ListPaymentInstructionsResponse
|
|
1510
|
+
*/
|
|
1511
|
+
login_identity?: LoginIdentityShort;
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @type {InstitutionShort}
|
|
1515
|
+
* @memberof ListPaymentInstructionsResponse
|
|
1516
|
+
*/
|
|
1517
|
+
institution?: InstitutionShort;
|
|
1518
|
+
}
|
|
1419
1519
|
/**
|
|
1420
1520
|
*
|
|
1421
1521
|
* @export
|
|
@@ -1749,6 +1849,31 @@ export interface LoginMethod {
|
|
|
1749
1849
|
*/
|
|
1750
1850
|
login_fields?: Array<LoginField>;
|
|
1751
1851
|
}
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @export
|
|
1855
|
+
* @interface MonthlyIncomeEstimate
|
|
1856
|
+
*/
|
|
1857
|
+
export interface MonthlyIncomeEstimate {
|
|
1858
|
+
/**
|
|
1859
|
+
*
|
|
1860
|
+
* @type {IncomeEstimate}
|
|
1861
|
+
* @memberof MonthlyIncomeEstimate
|
|
1862
|
+
*/
|
|
1863
|
+
estimated_income?: IncomeEstimate;
|
|
1864
|
+
/**
|
|
1865
|
+
* The numeric month
|
|
1866
|
+
* @type {number}
|
|
1867
|
+
* @memberof MonthlyIncomeEstimate
|
|
1868
|
+
*/
|
|
1869
|
+
month?: number;
|
|
1870
|
+
/**
|
|
1871
|
+
* The year
|
|
1872
|
+
* @type {number}
|
|
1873
|
+
* @memberof MonthlyIncomeEstimate
|
|
1874
|
+
*/
|
|
1875
|
+
year?: number;
|
|
1876
|
+
}
|
|
1752
1877
|
/**
|
|
1753
1878
|
*
|
|
1754
1879
|
* @export
|
|
@@ -1823,12 +1948,24 @@ export interface PaymentInstruction {
|
|
|
1823
1948
|
* @memberof PaymentInstruction
|
|
1824
1949
|
*/
|
|
1825
1950
|
payment_type: PaymentInstructionPaymentTypeEnum;
|
|
1951
|
+
/**
|
|
1952
|
+
* The customer provided userId that needs to match the one passed when generating link token
|
|
1953
|
+
* @type {string}
|
|
1954
|
+
* @memberof PaymentInstruction
|
|
1955
|
+
*/
|
|
1956
|
+
user_id: string;
|
|
1826
1957
|
/**
|
|
1827
1958
|
* The recipient name
|
|
1828
1959
|
* @type {string}
|
|
1829
1960
|
* @memberof PaymentInstruction
|
|
1830
1961
|
*/
|
|
1831
1962
|
recipient_name?: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* The recipient account Id
|
|
1965
|
+
* @type {string}
|
|
1966
|
+
* @memberof PaymentInstruction
|
|
1967
|
+
*/
|
|
1968
|
+
recipient_account_id?: string;
|
|
1832
1969
|
/**
|
|
1833
1970
|
* The sender name
|
|
1834
1971
|
* @type {string}
|
|
@@ -2019,6 +2156,62 @@ export interface RelinkRequest {
|
|
|
2019
2156
|
*/
|
|
2020
2157
|
store_credential: boolean;
|
|
2021
2158
|
}
|
|
2159
|
+
/**
|
|
2160
|
+
*
|
|
2161
|
+
* @export
|
|
2162
|
+
* @interface SingleSourceIncome
|
|
2163
|
+
*/
|
|
2164
|
+
export interface SingleSourceIncome {
|
|
2165
|
+
/**
|
|
2166
|
+
*
|
|
2167
|
+
* @type {Array<IncomeStream>}
|
|
2168
|
+
* @memberof SingleSourceIncome
|
|
2169
|
+
*/
|
|
2170
|
+
income_streams?: Array<IncomeStream>;
|
|
2171
|
+
/**
|
|
2172
|
+
*
|
|
2173
|
+
* @type {SingleSourceIncomeIncomeTotal}
|
|
2174
|
+
* @memberof SingleSourceIncome
|
|
2175
|
+
*/
|
|
2176
|
+
income_total?: SingleSourceIncomeIncomeTotal;
|
|
2177
|
+
/**
|
|
2178
|
+
* Where the income estimate was sourced from
|
|
2179
|
+
* @type {string}
|
|
2180
|
+
* @memberof SingleSourceIncome
|
|
2181
|
+
*/
|
|
2182
|
+
source?: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* Unknown
|
|
2185
|
+
* @type {string}
|
|
2186
|
+
* @memberof SingleSourceIncome
|
|
2187
|
+
*/
|
|
2188
|
+
source_id?: string;
|
|
2189
|
+
}
|
|
2190
|
+
/**
|
|
2191
|
+
*
|
|
2192
|
+
* @export
|
|
2193
|
+
* @interface SingleSourceIncomeIncomeTotal
|
|
2194
|
+
*/
|
|
2195
|
+
export interface SingleSourceIncomeIncomeTotal {
|
|
2196
|
+
/**
|
|
2197
|
+
*
|
|
2198
|
+
* @type {IncomeEstimate}
|
|
2199
|
+
* @memberof SingleSourceIncomeIncomeTotal
|
|
2200
|
+
*/
|
|
2201
|
+
estmated_monthly_income?: IncomeEstimate;
|
|
2202
|
+
/**
|
|
2203
|
+
* Number of transactions counted towards income
|
|
2204
|
+
* @type {number}
|
|
2205
|
+
* @memberof SingleSourceIncomeIncomeTotal
|
|
2206
|
+
*/
|
|
2207
|
+
transaction_count?: number;
|
|
2208
|
+
/**
|
|
2209
|
+
*
|
|
2210
|
+
* @type {Array<MonthlyIncomeEstimate>}
|
|
2211
|
+
* @memberof SingleSourceIncomeIncomeTotal
|
|
2212
|
+
*/
|
|
2213
|
+
monthly_history?: Array<MonthlyIncomeEstimate>;
|
|
2214
|
+
}
|
|
2022
2215
|
/**
|
|
2023
2216
|
*
|
|
2024
2217
|
* @export
|
|
@@ -2829,6 +3022,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
2829
3022
|
* @throws {RequiredError}
|
|
2830
3023
|
*/
|
|
2831
3024
|
getIdentity: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3025
|
+
/**
|
|
3026
|
+
* Get income figures for a login identity
|
|
3027
|
+
* @param {*} [options] Override http request option.
|
|
3028
|
+
* @throws {RequiredError}
|
|
3029
|
+
*/
|
|
3030
|
+
getIncomeByLoginIdentityId: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2832
3031
|
/**
|
|
2833
3032
|
* Get a specific loginIdentity
|
|
2834
3033
|
* @param {*} [options] Override http request option.
|
|
@@ -2861,6 +3060,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
2861
3060
|
* @throws {RequiredError}
|
|
2862
3061
|
*/
|
|
2863
3062
|
listAccounts: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3063
|
+
/**
|
|
3064
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3065
|
+
* @param {*} [options] Override http request option.
|
|
3066
|
+
* @throws {RequiredError}
|
|
3067
|
+
*/
|
|
3068
|
+
listPaymentInstructions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2864
3069
|
/**
|
|
2865
3070
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2866
3071
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -2930,6 +3135,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
2930
3135
|
* @throws {RequiredError}
|
|
2931
3136
|
*/
|
|
2932
3137
|
getIdentity(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIdentityResponse>>;
|
|
3138
|
+
/**
|
|
3139
|
+
* Get income figures for a login identity
|
|
3140
|
+
* @param {*} [options] Override http request option.
|
|
3141
|
+
* @throws {RequiredError}
|
|
3142
|
+
*/
|
|
3143
|
+
getIncomeByLoginIdentityId(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncomeResponse>>;
|
|
2933
3144
|
/**
|
|
2934
3145
|
* Get a specific loginIdentity
|
|
2935
3146
|
* @param {*} [options] Override http request option.
|
|
@@ -2962,6 +3173,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
2962
3173
|
* @throws {RequiredError}
|
|
2963
3174
|
*/
|
|
2964
3175
|
listAccounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponse>>;
|
|
3176
|
+
/**
|
|
3177
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3178
|
+
* @param {*} [options] Override http request option.
|
|
3179
|
+
* @throws {RequiredError}
|
|
3180
|
+
*/
|
|
3181
|
+
listPaymentInstructions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentInstructionsResponse>>;
|
|
2965
3182
|
/**
|
|
2966
3183
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2967
3184
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3031,6 +3248,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
3031
3248
|
* @throws {RequiredError}
|
|
3032
3249
|
*/
|
|
3033
3250
|
getIdentity(options?: any): AxiosPromise<GetIdentityResponse>;
|
|
3251
|
+
/**
|
|
3252
|
+
* Get income figures for a login identity
|
|
3253
|
+
* @param {*} [options] Override http request option.
|
|
3254
|
+
* @throws {RequiredError}
|
|
3255
|
+
*/
|
|
3256
|
+
getIncomeByLoginIdentityId(options?: any): AxiosPromise<IncomeResponse>;
|
|
3034
3257
|
/**
|
|
3035
3258
|
* Get a specific loginIdentity
|
|
3036
3259
|
* @param {*} [options] Override http request option.
|
|
@@ -3063,6 +3286,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
3063
3286
|
* @throws {RequiredError}
|
|
3064
3287
|
*/
|
|
3065
3288
|
listAccounts(options?: any): AxiosPromise<ListAccountsResponse>;
|
|
3289
|
+
/**
|
|
3290
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3291
|
+
* @param {*} [options] Override http request option.
|
|
3292
|
+
* @throws {RequiredError}
|
|
3293
|
+
*/
|
|
3294
|
+
listPaymentInstructions(options?: any): AxiosPromise<ListPaymentInstructionsResponse>;
|
|
3066
3295
|
/**
|
|
3067
3296
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3068
3297
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3139,6 +3368,13 @@ export interface LoginIdentityApiInterface {
|
|
|
3139
3368
|
* @memberof LoginIdentityApiInterface
|
|
3140
3369
|
*/
|
|
3141
3370
|
getIdentity(options?: AxiosRequestConfig): AxiosPromise<GetIdentityResponse>;
|
|
3371
|
+
/**
|
|
3372
|
+
* Get income figures for a login identity
|
|
3373
|
+
* @param {*} [options] Override http request option.
|
|
3374
|
+
* @throws {RequiredError}
|
|
3375
|
+
* @memberof LoginIdentityApiInterface
|
|
3376
|
+
*/
|
|
3377
|
+
getIncomeByLoginIdentityId(options?: AxiosRequestConfig): AxiosPromise<IncomeResponse>;
|
|
3142
3378
|
/**
|
|
3143
3379
|
* Get a specific loginIdentity
|
|
3144
3380
|
* @param {*} [options] Override http request option.
|
|
@@ -3176,6 +3412,13 @@ export interface LoginIdentityApiInterface {
|
|
|
3176
3412
|
* @memberof LoginIdentityApiInterface
|
|
3177
3413
|
*/
|
|
3178
3414
|
listAccounts(options?: AxiosRequestConfig): AxiosPromise<ListAccountsResponse>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3417
|
+
* @param {*} [options] Override http request option.
|
|
3418
|
+
* @throws {RequiredError}
|
|
3419
|
+
* @memberof LoginIdentityApiInterface
|
|
3420
|
+
*/
|
|
3421
|
+
listPaymentInstructions(options?: AxiosRequestConfig): AxiosPromise<ListPaymentInstructionsResponse>;
|
|
3179
3422
|
/**
|
|
3180
3423
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3181
3424
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3256,6 +3499,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
3256
3499
|
* @memberof LoginIdentityApi
|
|
3257
3500
|
*/
|
|
3258
3501
|
getIdentity(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIdentityResponse>>;
|
|
3502
|
+
/**
|
|
3503
|
+
* Get income figures for a login identity
|
|
3504
|
+
* @param {*} [options] Override http request option.
|
|
3505
|
+
* @throws {RequiredError}
|
|
3506
|
+
* @memberof LoginIdentityApi
|
|
3507
|
+
*/
|
|
3508
|
+
getIncomeByLoginIdentityId(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IncomeResponse>>;
|
|
3259
3509
|
/**
|
|
3260
3510
|
* Get a specific loginIdentity
|
|
3261
3511
|
* @param {*} [options] Override http request option.
|
|
@@ -3293,6 +3543,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
3293
3543
|
* @memberof LoginIdentityApi
|
|
3294
3544
|
*/
|
|
3295
3545
|
listAccounts(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponse>>;
|
|
3546
|
+
/**
|
|
3547
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3548
|
+
* @param {*} [options] Override http request option.
|
|
3549
|
+
* @throws {RequiredError}
|
|
3550
|
+
* @memberof LoginIdentityApi
|
|
3551
|
+
*/
|
|
3552
|
+
listPaymentInstructions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentInstructionsResponse>>;
|
|
3296
3553
|
/**
|
|
3297
3554
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3298
3555
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
package/dist/api.js
CHANGED
|
@@ -1134,6 +1134,33 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1134
1134
|
options: localVarRequestOptions,
|
|
1135
1135
|
};
|
|
1136
1136
|
}),
|
|
1137
|
+
/**
|
|
1138
|
+
* Get income figures for a login identity
|
|
1139
|
+
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
getIncomeByLoginIdentityId: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1143
|
+
const localVarPath = `/income`;
|
|
1144
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1145
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1146
|
+
let baseOptions;
|
|
1147
|
+
if (configuration) {
|
|
1148
|
+
baseOptions = configuration.baseOptions;
|
|
1149
|
+
}
|
|
1150
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1151
|
+
const localVarHeaderParameter = {};
|
|
1152
|
+
const localVarQueryParameter = {};
|
|
1153
|
+
// authentication Oauth2 required
|
|
1154
|
+
// oauth required
|
|
1155
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1156
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1158
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1159
|
+
return {
|
|
1160
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1161
|
+
options: localVarRequestOptions,
|
|
1162
|
+
};
|
|
1163
|
+
}),
|
|
1137
1164
|
/**
|
|
1138
1165
|
* Get a specific loginIdentity
|
|
1139
1166
|
* @param {*} [options] Override http request option.
|
|
@@ -1275,6 +1302,33 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1275
1302
|
options: localVarRequestOptions,
|
|
1276
1303
|
};
|
|
1277
1304
|
}),
|
|
1305
|
+
/**
|
|
1306
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
*/
|
|
1310
|
+
listPaymentInstructions: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1311
|
+
const localVarPath = `/payments/instruction/`;
|
|
1312
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1313
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1314
|
+
let baseOptions;
|
|
1315
|
+
if (configuration) {
|
|
1316
|
+
baseOptions = configuration.baseOptions;
|
|
1317
|
+
}
|
|
1318
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1319
|
+
const localVarHeaderParameter = {};
|
|
1320
|
+
const localVarQueryParameter = {};
|
|
1321
|
+
// authentication Oauth2 required
|
|
1322
|
+
// oauth required
|
|
1323
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1324
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1326
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1327
|
+
return {
|
|
1328
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1329
|
+
options: localVarRequestOptions,
|
|
1330
|
+
};
|
|
1331
|
+
}),
|
|
1278
1332
|
/**
|
|
1279
1333
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1280
1334
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -1454,6 +1508,17 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
1454
1508
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1455
1509
|
});
|
|
1456
1510
|
},
|
|
1511
|
+
/**
|
|
1512
|
+
* Get income figures for a login identity
|
|
1513
|
+
* @param {*} [options] Override http request option.
|
|
1514
|
+
* @throws {RequiredError}
|
|
1515
|
+
*/
|
|
1516
|
+
getIncomeByLoginIdentityId(options) {
|
|
1517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1518
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomeByLoginIdentityId(options);
|
|
1519
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1520
|
+
});
|
|
1521
|
+
},
|
|
1457
1522
|
/**
|
|
1458
1523
|
* Get a specific loginIdentity
|
|
1459
1524
|
* @param {*} [options] Override http request option.
|
|
@@ -1511,6 +1576,17 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
1511
1576
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1512
1577
|
});
|
|
1513
1578
|
},
|
|
1579
|
+
/**
|
|
1580
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1581
|
+
* @param {*} [options] Override http request option.
|
|
1582
|
+
* @throws {RequiredError}
|
|
1583
|
+
*/
|
|
1584
|
+
listPaymentInstructions(options) {
|
|
1585
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1586
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentInstructions(options);
|
|
1587
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1588
|
+
});
|
|
1589
|
+
},
|
|
1514
1590
|
/**
|
|
1515
1591
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1516
1592
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -1610,6 +1686,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
1610
1686
|
getIdentity(options) {
|
|
1611
1687
|
return localVarFp.getIdentity(options).then((request) => request(axios, basePath));
|
|
1612
1688
|
},
|
|
1689
|
+
/**
|
|
1690
|
+
* Get income figures for a login identity
|
|
1691
|
+
* @param {*} [options] Override http request option.
|
|
1692
|
+
* @throws {RequiredError}
|
|
1693
|
+
*/
|
|
1694
|
+
getIncomeByLoginIdentityId(options) {
|
|
1695
|
+
return localVarFp.getIncomeByLoginIdentityId(options).then((request) => request(axios, basePath));
|
|
1696
|
+
},
|
|
1613
1697
|
/**
|
|
1614
1698
|
* Get a specific loginIdentity
|
|
1615
1699
|
* @param {*} [options] Override http request option.
|
|
@@ -1652,6 +1736,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
1652
1736
|
listAccounts(options) {
|
|
1653
1737
|
return localVarFp.listAccounts(options).then((request) => request(axios, basePath));
|
|
1654
1738
|
},
|
|
1739
|
+
/**
|
|
1740
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1741
|
+
* @param {*} [options] Override http request option.
|
|
1742
|
+
* @throws {RequiredError}
|
|
1743
|
+
*/
|
|
1744
|
+
listPaymentInstructions(options) {
|
|
1745
|
+
return localVarFp.listPaymentInstructions(options).then((request) => request(axios, basePath));
|
|
1746
|
+
},
|
|
1655
1747
|
/**
|
|
1656
1748
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1657
1749
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -1764,6 +1856,17 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
1764
1856
|
.getIdentity(options)
|
|
1765
1857
|
.then((request) => request(this.axios, this.basePath));
|
|
1766
1858
|
}
|
|
1859
|
+
/**
|
|
1860
|
+
* Get income figures for a login identity
|
|
1861
|
+
* @param {*} [options] Override http request option.
|
|
1862
|
+
* @throws {RequiredError}
|
|
1863
|
+
* @memberof LoginIdentityApi
|
|
1864
|
+
*/
|
|
1865
|
+
getIncomeByLoginIdentityId(options) {
|
|
1866
|
+
return exports.LoginIdentityApiFp(this.configuration)
|
|
1867
|
+
.getIncomeByLoginIdentityId(options)
|
|
1868
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1869
|
+
}
|
|
1767
1870
|
/**
|
|
1768
1871
|
* Get a specific loginIdentity
|
|
1769
1872
|
* @param {*} [options] Override http request option.
|
|
@@ -1821,6 +1924,17 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
1821
1924
|
.listAccounts(options)
|
|
1822
1925
|
.then((request) => request(this.axios, this.basePath));
|
|
1823
1926
|
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1929
|
+
* @param {*} [options] Override http request option.
|
|
1930
|
+
* @throws {RequiredError}
|
|
1931
|
+
* @memberof LoginIdentityApi
|
|
1932
|
+
*/
|
|
1933
|
+
listPaymentInstructions(options) {
|
|
1934
|
+
return exports.LoginIdentityApiFp(this.configuration)
|
|
1935
|
+
.listPaymentInstructions(options)
|
|
1936
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1937
|
+
}
|
|
1824
1938
|
/**
|
|
1825
1939
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1826
1940
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|