@reposit/api-client 6.58.0 → 6.59.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/dist/api.d.ts +8 -0
- package/dist/api.js +40 -0
- package/dist/api.js.map +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1231,6 +1231,9 @@ export interface ExternalAddressDTO {
|
|
|
1231
1231
|
export interface FileLocationDTO {
|
|
1232
1232
|
fileLocation: string;
|
|
1233
1233
|
}
|
|
1234
|
+
export interface GeneratePlaidLinkTokenResponseDTO {
|
|
1235
|
+
plaidLinkToken: string;
|
|
1236
|
+
}
|
|
1234
1237
|
export interface GuarantorDTO {
|
|
1235
1238
|
id: string;
|
|
1236
1239
|
firstName: string;
|
|
@@ -3118,22 +3121,27 @@ export declare class BeneficiariesApi extends BaseAPI implements BeneficiariesAp
|
|
|
3118
3121
|
}
|
|
3119
3122
|
export declare const CashDepositsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3120
3123
|
confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
|
|
3124
|
+
generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
|
|
3121
3125
|
verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
|
|
3122
3126
|
};
|
|
3123
3127
|
export declare const CashDepositsApiFp: (configuration?: Configuration) => {
|
|
3124
3128
|
confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
|
|
3129
|
+
generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
|
|
3125
3130
|
verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyPostcodeResponseDTO>;
|
|
3126
3131
|
};
|
|
3127
3132
|
export declare const CashDepositsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3128
3133
|
confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
|
|
3134
|
+
generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
|
|
3129
3135
|
verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
|
|
3130
3136
|
};
|
|
3131
3137
|
export interface CashDepositsApiInterface {
|
|
3132
3138
|
confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
|
|
3139
|
+
generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
|
|
3133
3140
|
verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
|
|
3134
3141
|
}
|
|
3135
3142
|
export declare class CashDepositsApi extends BaseAPI implements CashDepositsApiInterface {
|
|
3136
3143
|
confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
|
|
3144
|
+
generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
|
|
3137
3145
|
verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
|
|
3138
3146
|
}
|
|
3139
3147
|
export declare const ChecksApiAxiosParamCreator: (configuration?: Configuration) => {
|
package/dist/api.js
CHANGED
|
@@ -2105,6 +2105,31 @@ exports.CashDepositsApiAxiosParamCreator = function (configuration) {
|
|
|
2105
2105
|
options: localVarRequestOptions,
|
|
2106
2106
|
};
|
|
2107
2107
|
},
|
|
2108
|
+
generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
|
|
2109
|
+
if (options === void 0) { options = {}; }
|
|
2110
|
+
if (verifyPostcodeRequestDTO === null || verifyPostcodeRequestDTO === undefined) {
|
|
2111
|
+
throw new base_1.RequiredError('verifyPostcodeRequestDTO', 'Required parameter verifyPostcodeRequestDTO was null or undefined when calling generateCashDepositPlaidLinkToken.');
|
|
2112
|
+
}
|
|
2113
|
+
var localVarPath = "/v2/cash-deposit/plaid-link-token";
|
|
2114
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
2115
|
+
var baseOptions;
|
|
2116
|
+
if (configuration) {
|
|
2117
|
+
baseOptions = configuration.baseOptions;
|
|
2118
|
+
}
|
|
2119
|
+
var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
|
|
2120
|
+
var localVarHeaderParameter = {};
|
|
2121
|
+
var localVarQueryParameter = {};
|
|
2122
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2123
|
+
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
2124
|
+
delete localVarUrlObj.search;
|
|
2125
|
+
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
2126
|
+
var needsSerialization = ("VerifyPostcodeRequestDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
2127
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(verifyPostcodeRequestDTO !== undefined ? verifyPostcodeRequestDTO : {}) : (verifyPostcodeRequestDTO || "");
|
|
2128
|
+
return {
|
|
2129
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
2130
|
+
options: localVarRequestOptions,
|
|
2131
|
+
};
|
|
2132
|
+
},
|
|
2108
2133
|
verifyPostcode: function (verifyPostcodeRequestDTO, options) {
|
|
2109
2134
|
if (options === void 0) { options = {}; }
|
|
2110
2135
|
if (verifyPostcodeRequestDTO === null || verifyPostcodeRequestDTO === undefined) {
|
|
@@ -2143,6 +2168,15 @@ exports.CashDepositsApiFp = function (configuration) {
|
|
|
2143
2168
|
return axios.request(axiosRequestArgs);
|
|
2144
2169
|
};
|
|
2145
2170
|
},
|
|
2171
|
+
generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
|
|
2172
|
+
var localVarAxiosArgs = exports.CashDepositsApiAxiosParamCreator(configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options);
|
|
2173
|
+
return function (axios, basePath) {
|
|
2174
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2175
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2176
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
2177
|
+
return axios.request(axiosRequestArgs);
|
|
2178
|
+
};
|
|
2179
|
+
},
|
|
2146
2180
|
verifyPostcode: function (verifyPostcodeRequestDTO, options) {
|
|
2147
2181
|
var localVarAxiosArgs = exports.CashDepositsApiAxiosParamCreator(configuration).verifyPostcode(verifyPostcodeRequestDTO, options);
|
|
2148
2182
|
return function (axios, basePath) {
|
|
@@ -2159,6 +2193,9 @@ exports.CashDepositsApiFactory = function (configuration, basePath, axios) {
|
|
|
2159
2193
|
confirmTenancyDetails: function (verifyPostcodeRequestDTO, options) {
|
|
2160
2194
|
return exports.CashDepositsApiFp(configuration).confirmTenancyDetails(verifyPostcodeRequestDTO, options)(axios, basePath);
|
|
2161
2195
|
},
|
|
2196
|
+
generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
|
|
2197
|
+
return exports.CashDepositsApiFp(configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options)(axios, basePath);
|
|
2198
|
+
},
|
|
2162
2199
|
verifyPostcode: function (verifyPostcodeRequestDTO, options) {
|
|
2163
2200
|
return exports.CashDepositsApiFp(configuration).verifyPostcode(verifyPostcodeRequestDTO, options)(axios, basePath);
|
|
2164
2201
|
},
|
|
@@ -2172,6 +2209,9 @@ var CashDepositsApi = (function (_super) {
|
|
|
2172
2209
|
CashDepositsApi.prototype.confirmTenancyDetails = function (verifyPostcodeRequestDTO, options) {
|
|
2173
2210
|
return exports.CashDepositsApiFp(this.configuration).confirmTenancyDetails(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
|
|
2174
2211
|
};
|
|
2212
|
+
CashDepositsApi.prototype.generateCashDepositPlaidLinkToken = function (verifyPostcodeRequestDTO, options) {
|
|
2213
|
+
return exports.CashDepositsApiFp(this.configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
|
|
2214
|
+
};
|
|
2175
2215
|
CashDepositsApi.prototype.verifyPostcode = function (verifyPostcodeRequestDTO, options) {
|
|
2176
2216
|
return exports.CashDepositsApiFp(this.configuration).verifyPostcode(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
|
|
2177
2217
|
};
|