@finverse/sdk-typescript 0.0.8 → 0.0.11
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
|
|
@@ -1835,6 +1960,12 @@ export interface PaymentInstruction {
|
|
|
1835
1960
|
* @memberof PaymentInstruction
|
|
1836
1961
|
*/
|
|
1837
1962
|
recipient_name?: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* The recipient account Id
|
|
1965
|
+
* @type {string}
|
|
1966
|
+
* @memberof PaymentInstruction
|
|
1967
|
+
*/
|
|
1968
|
+
recipient_account_id?: string;
|
|
1838
1969
|
/**
|
|
1839
1970
|
* The sender name
|
|
1840
1971
|
* @type {string}
|
|
@@ -1889,6 +2020,12 @@ export interface PaymentInstruction {
|
|
|
1889
2020
|
* @memberof PaymentInstruction
|
|
1890
2021
|
*/
|
|
1891
2022
|
idempotence_key?: string;
|
|
2023
|
+
/**
|
|
2024
|
+
* Status of the payment
|
|
2025
|
+
* @type {string}
|
|
2026
|
+
* @memberof PaymentInstruction
|
|
2027
|
+
*/
|
|
2028
|
+
payment_status?: string;
|
|
1892
2029
|
}
|
|
1893
2030
|
export declare const PaymentInstructionPaymentTypeEnum: {
|
|
1894
2031
|
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
@@ -2025,6 +2162,62 @@ export interface RelinkRequest {
|
|
|
2025
2162
|
*/
|
|
2026
2163
|
store_credential: boolean;
|
|
2027
2164
|
}
|
|
2165
|
+
/**
|
|
2166
|
+
*
|
|
2167
|
+
* @export
|
|
2168
|
+
* @interface SingleSourceIncome
|
|
2169
|
+
*/
|
|
2170
|
+
export interface SingleSourceIncome {
|
|
2171
|
+
/**
|
|
2172
|
+
*
|
|
2173
|
+
* @type {Array<IncomeStream>}
|
|
2174
|
+
* @memberof SingleSourceIncome
|
|
2175
|
+
*/
|
|
2176
|
+
income_streams?: Array<IncomeStream>;
|
|
2177
|
+
/**
|
|
2178
|
+
*
|
|
2179
|
+
* @type {SingleSourceIncomeIncomeTotal}
|
|
2180
|
+
* @memberof SingleSourceIncome
|
|
2181
|
+
*/
|
|
2182
|
+
income_total?: SingleSourceIncomeIncomeTotal;
|
|
2183
|
+
/**
|
|
2184
|
+
* Where the income estimate was sourced from
|
|
2185
|
+
* @type {string}
|
|
2186
|
+
* @memberof SingleSourceIncome
|
|
2187
|
+
*/
|
|
2188
|
+
source?: string;
|
|
2189
|
+
/**
|
|
2190
|
+
* Unknown
|
|
2191
|
+
* @type {string}
|
|
2192
|
+
* @memberof SingleSourceIncome
|
|
2193
|
+
*/
|
|
2194
|
+
source_id?: string;
|
|
2195
|
+
}
|
|
2196
|
+
/**
|
|
2197
|
+
*
|
|
2198
|
+
* @export
|
|
2199
|
+
* @interface SingleSourceIncomeIncomeTotal
|
|
2200
|
+
*/
|
|
2201
|
+
export interface SingleSourceIncomeIncomeTotal {
|
|
2202
|
+
/**
|
|
2203
|
+
*
|
|
2204
|
+
* @type {IncomeEstimate}
|
|
2205
|
+
* @memberof SingleSourceIncomeIncomeTotal
|
|
2206
|
+
*/
|
|
2207
|
+
estmated_monthly_income?: IncomeEstimate;
|
|
2208
|
+
/**
|
|
2209
|
+
* Number of transactions counted towards income
|
|
2210
|
+
* @type {number}
|
|
2211
|
+
* @memberof SingleSourceIncomeIncomeTotal
|
|
2212
|
+
*/
|
|
2213
|
+
transaction_count?: number;
|
|
2214
|
+
/**
|
|
2215
|
+
*
|
|
2216
|
+
* @type {Array<MonthlyIncomeEstimate>}
|
|
2217
|
+
* @memberof SingleSourceIncomeIncomeTotal
|
|
2218
|
+
*/
|
|
2219
|
+
monthly_history?: Array<MonthlyIncomeEstimate>;
|
|
2220
|
+
}
|
|
2028
2221
|
/**
|
|
2029
2222
|
*
|
|
2030
2223
|
* @export
|
|
@@ -2835,6 +3028,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
2835
3028
|
* @throws {RequiredError}
|
|
2836
3029
|
*/
|
|
2837
3030
|
getIdentity: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3031
|
+
/**
|
|
3032
|
+
* Get income figures for a login identity
|
|
3033
|
+
* @param {*} [options] Override http request option.
|
|
3034
|
+
* @throws {RequiredError}
|
|
3035
|
+
*/
|
|
3036
|
+
getIncomeByLoginIdentityId: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2838
3037
|
/**
|
|
2839
3038
|
* Get a specific loginIdentity
|
|
2840
3039
|
* @param {*} [options] Override http request option.
|
|
@@ -2867,6 +3066,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
2867
3066
|
* @throws {RequiredError}
|
|
2868
3067
|
*/
|
|
2869
3068
|
listAccounts: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3069
|
+
/**
|
|
3070
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3071
|
+
* @param {*} [options] Override http request option.
|
|
3072
|
+
* @throws {RequiredError}
|
|
3073
|
+
*/
|
|
3074
|
+
listPaymentInstructions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2870
3075
|
/**
|
|
2871
3076
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2872
3077
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -2936,6 +3141,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
2936
3141
|
* @throws {RequiredError}
|
|
2937
3142
|
*/
|
|
2938
3143
|
getIdentity(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIdentityResponse>>;
|
|
3144
|
+
/**
|
|
3145
|
+
* Get income figures for a login identity
|
|
3146
|
+
* @param {*} [options] Override http request option.
|
|
3147
|
+
* @throws {RequiredError}
|
|
3148
|
+
*/
|
|
3149
|
+
getIncomeByLoginIdentityId(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncomeResponse>>;
|
|
2939
3150
|
/**
|
|
2940
3151
|
* Get a specific loginIdentity
|
|
2941
3152
|
* @param {*} [options] Override http request option.
|
|
@@ -2968,6 +3179,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
2968
3179
|
* @throws {RequiredError}
|
|
2969
3180
|
*/
|
|
2970
3181
|
listAccounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponse>>;
|
|
3182
|
+
/**
|
|
3183
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3184
|
+
* @param {*} [options] Override http request option.
|
|
3185
|
+
* @throws {RequiredError}
|
|
3186
|
+
*/
|
|
3187
|
+
listPaymentInstructions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentInstructionsResponse>>;
|
|
2971
3188
|
/**
|
|
2972
3189
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2973
3190
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3037,6 +3254,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
3037
3254
|
* @throws {RequiredError}
|
|
3038
3255
|
*/
|
|
3039
3256
|
getIdentity(options?: any): AxiosPromise<GetIdentityResponse>;
|
|
3257
|
+
/**
|
|
3258
|
+
* Get income figures for a login identity
|
|
3259
|
+
* @param {*} [options] Override http request option.
|
|
3260
|
+
* @throws {RequiredError}
|
|
3261
|
+
*/
|
|
3262
|
+
getIncomeByLoginIdentityId(options?: any): AxiosPromise<IncomeResponse>;
|
|
3040
3263
|
/**
|
|
3041
3264
|
* Get a specific loginIdentity
|
|
3042
3265
|
* @param {*} [options] Override http request option.
|
|
@@ -3069,6 +3292,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
3069
3292
|
* @throws {RequiredError}
|
|
3070
3293
|
*/
|
|
3071
3294
|
listAccounts(options?: any): AxiosPromise<ListAccountsResponse>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3297
|
+
* @param {*} [options] Override http request option.
|
|
3298
|
+
* @throws {RequiredError}
|
|
3299
|
+
*/
|
|
3300
|
+
listPaymentInstructions(options?: any): AxiosPromise<ListPaymentInstructionsResponse>;
|
|
3072
3301
|
/**
|
|
3073
3302
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3074
3303
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3145,6 +3374,13 @@ export interface LoginIdentityApiInterface {
|
|
|
3145
3374
|
* @memberof LoginIdentityApiInterface
|
|
3146
3375
|
*/
|
|
3147
3376
|
getIdentity(options?: AxiosRequestConfig): AxiosPromise<GetIdentityResponse>;
|
|
3377
|
+
/**
|
|
3378
|
+
* Get income figures for a login identity
|
|
3379
|
+
* @param {*} [options] Override http request option.
|
|
3380
|
+
* @throws {RequiredError}
|
|
3381
|
+
* @memberof LoginIdentityApiInterface
|
|
3382
|
+
*/
|
|
3383
|
+
getIncomeByLoginIdentityId(options?: AxiosRequestConfig): AxiosPromise<IncomeResponse>;
|
|
3148
3384
|
/**
|
|
3149
3385
|
* Get a specific loginIdentity
|
|
3150
3386
|
* @param {*} [options] Override http request option.
|
|
@@ -3182,6 +3418,13 @@ export interface LoginIdentityApiInterface {
|
|
|
3182
3418
|
* @memberof LoginIdentityApiInterface
|
|
3183
3419
|
*/
|
|
3184
3420
|
listAccounts(options?: AxiosRequestConfig): AxiosPromise<ListAccountsResponse>;
|
|
3421
|
+
/**
|
|
3422
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3423
|
+
* @param {*} [options] Override http request option.
|
|
3424
|
+
* @throws {RequiredError}
|
|
3425
|
+
* @memberof LoginIdentityApiInterface
|
|
3426
|
+
*/
|
|
3427
|
+
listPaymentInstructions(options?: AxiosRequestConfig): AxiosPromise<ListPaymentInstructionsResponse>;
|
|
3185
3428
|
/**
|
|
3186
3429
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3187
3430
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3262,6 +3505,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
3262
3505
|
* @memberof LoginIdentityApi
|
|
3263
3506
|
*/
|
|
3264
3507
|
getIdentity(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIdentityResponse>>;
|
|
3508
|
+
/**
|
|
3509
|
+
* Get income figures for a login identity
|
|
3510
|
+
* @param {*} [options] Override http request option.
|
|
3511
|
+
* @throws {RequiredError}
|
|
3512
|
+
* @memberof LoginIdentityApi
|
|
3513
|
+
*/
|
|
3514
|
+
getIncomeByLoginIdentityId(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IncomeResponse>>;
|
|
3265
3515
|
/**
|
|
3266
3516
|
* Get a specific loginIdentity
|
|
3267
3517
|
* @param {*} [options] Override http request option.
|
|
@@ -3299,6 +3549,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
3299
3549
|
* @memberof LoginIdentityApi
|
|
3300
3550
|
*/
|
|
3301
3551
|
listAccounts(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponse>>;
|
|
3552
|
+
/**
|
|
3553
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3554
|
+
* @param {*} [options] Override http request option.
|
|
3555
|
+
* @throws {RequiredError}
|
|
3556
|
+
* @memberof LoginIdentityApi
|
|
3557
|
+
*/
|
|
3558
|
+
listPaymentInstructions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentInstructionsResponse>>;
|
|
3302
3559
|
/**
|
|
3303
3560
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3304
3561
|
* @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)
|