@reposit/api-client 6.58.0 → 6.60.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 CHANGED
@@ -1034,6 +1034,7 @@ export interface DeferPaymentPlanInstalmentDTO {
1034
1034
  export interface DepositDTO {
1035
1035
  cashDepositScheme: OfferDepositSchemeDTO;
1036
1036
  status: DepositDTOStatusEnum;
1037
+ portalPath?: string;
1037
1038
  }
1038
1039
  export declare enum DepositDTOStatusEnum {
1039
1040
  PENDING = "PENDING",
@@ -1231,6 +1232,9 @@ export interface ExternalAddressDTO {
1231
1232
  export interface FileLocationDTO {
1232
1233
  fileLocation: string;
1233
1234
  }
1235
+ export interface GeneratePlaidLinkTokenResponseDTO {
1236
+ plaidLinkToken: string;
1237
+ }
1234
1238
  export interface GuarantorDTO {
1235
1239
  id: string;
1236
1240
  firstName: string;
@@ -2005,8 +2009,9 @@ export declare enum QueueMessageDTOTypeEnum {
2005
2009
  PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK",
2006
2010
  PROCESSTWILIOVOICEMAILWEBHOOK = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK",
2007
2011
  PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",
2008
- DEPOSITCOMPLETED = "DEPOSIT_COMPLETED",
2009
- REFRESHMYDEPOSITSACCESSTOKEN = "REFRESH_MY_DEPOSITS_ACCESS_TOKEN"
2012
+ HANDLEPENDINGCASHDEPOSIT = "HANDLE_PENDING_CASH_DEPOSIT",
2013
+ REFRESHMYDEPOSITSACCESSTOKEN = "REFRESH_MY_DEPOSITS_ACCESS_TOKEN",
2014
+ RECONCILEUNALLOCATEDFUNDS = "RECONCILE_UNALLOCATED_FUNDS"
2010
2015
  }
2011
2016
  export declare enum QueueMessageDTOCronNameEnum {
2012
2017
  DAILYKPIS = "DAILY_KPIS",
@@ -2051,7 +2056,8 @@ export declare enum QueueMessageDTOCronNameEnum {
2051
2056
  DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING",
2052
2057
  WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",
2053
2058
  POLLPENDINGCASHDEPOSITS = "POLL_PENDING_CASH_DEPOSITS",
2054
- REFRESHMYDEPOSITSACCESSTOKENS = "REFRESH_MY_DEPOSITS_ACCESS_TOKENS"
2059
+ REFRESHMYDEPOSITSACCESSTOKENS = "REFRESH_MY_DEPOSITS_ACCESS_TOKENS",
2060
+ RECONCILEUNALLOCATEDFUNDS = "RECONCILE_UNALLOCATED_FUNDS"
2055
2061
  }
2056
2062
  export interface ReconciliationDocumentDTO {
2057
2063
  document: DocumentDTO;
@@ -3118,22 +3124,27 @@ export declare class BeneficiariesApi extends BaseAPI implements BeneficiariesAp
3118
3124
  }
3119
3125
  export declare const CashDepositsApiAxiosParamCreator: (configuration?: Configuration) => {
3120
3126
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
3127
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
3121
3128
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
3122
3129
  };
3123
3130
  export declare const CashDepositsApiFp: (configuration?: Configuration) => {
3124
3131
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3132
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3125
3133
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyPostcodeResponseDTO>;
3126
3134
  };
3127
3135
  export declare const CashDepositsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3128
3136
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3137
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3129
3138
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
3130
3139
  };
3131
3140
  export interface CashDepositsApiInterface {
3132
3141
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3142
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3133
3143
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
3134
3144
  }
3135
3145
  export declare class CashDepositsApi extends BaseAPI implements CashDepositsApiInterface {
3136
3146
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3147
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3137
3148
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
3138
3149
  }
3139
3150
  export declare const ChecksApiAxiosParamCreator: (configuration?: Configuration) => {
package/dist/api.js CHANGED
@@ -814,8 +814,9 @@ var QueueMessageDTOTypeEnum;
814
814
  QueueMessageDTOTypeEnum["PROCESSTWILIOIVRWEBHOOK"] = "PROCESS_TWILIO_IVR_WEBHOOK";
815
815
  QueueMessageDTOTypeEnum["PROCESSTWILIOVOICEMAILWEBHOOK"] = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK";
816
816
  QueueMessageDTOTypeEnum["PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER"] = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER";
817
- QueueMessageDTOTypeEnum["DEPOSITCOMPLETED"] = "DEPOSIT_COMPLETED";
817
+ QueueMessageDTOTypeEnum["HANDLEPENDINGCASHDEPOSIT"] = "HANDLE_PENDING_CASH_DEPOSIT";
818
818
  QueueMessageDTOTypeEnum["REFRESHMYDEPOSITSACCESSTOKEN"] = "REFRESH_MY_DEPOSITS_ACCESS_TOKEN";
819
+ QueueMessageDTOTypeEnum["RECONCILEUNALLOCATEDFUNDS"] = "RECONCILE_UNALLOCATED_FUNDS";
819
820
  })(QueueMessageDTOTypeEnum = exports.QueueMessageDTOTypeEnum || (exports.QueueMessageDTOTypeEnum = {}));
820
821
  var QueueMessageDTOCronNameEnum;
821
822
  (function (QueueMessageDTOCronNameEnum) {
@@ -862,6 +863,7 @@ var QueueMessageDTOCronNameEnum;
862
863
  QueueMessageDTOCronNameEnum["WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER"] = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER";
863
864
  QueueMessageDTOCronNameEnum["POLLPENDINGCASHDEPOSITS"] = "POLL_PENDING_CASH_DEPOSITS";
864
865
  QueueMessageDTOCronNameEnum["REFRESHMYDEPOSITSACCESSTOKENS"] = "REFRESH_MY_DEPOSITS_ACCESS_TOKENS";
866
+ QueueMessageDTOCronNameEnum["RECONCILEUNALLOCATEDFUNDS"] = "RECONCILE_UNALLOCATED_FUNDS";
865
867
  })(QueueMessageDTOCronNameEnum = exports.QueueMessageDTOCronNameEnum || (exports.QueueMessageDTOCronNameEnum = {}));
866
868
  var ReferenceDTOStatusEnum;
867
869
  (function (ReferenceDTOStatusEnum) {
@@ -2105,6 +2107,31 @@ exports.CashDepositsApiAxiosParamCreator = function (configuration) {
2105
2107
  options: localVarRequestOptions,
2106
2108
  };
2107
2109
  },
2110
+ generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
2111
+ if (options === void 0) { options = {}; }
2112
+ if (verifyPostcodeRequestDTO === null || verifyPostcodeRequestDTO === undefined) {
2113
+ throw new base_1.RequiredError('verifyPostcodeRequestDTO', 'Required parameter verifyPostcodeRequestDTO was null or undefined when calling generateCashDepositPlaidLinkToken.');
2114
+ }
2115
+ var localVarPath = "/v2/cash-deposit/plaid-link-token";
2116
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
2117
+ var baseOptions;
2118
+ if (configuration) {
2119
+ baseOptions = configuration.baseOptions;
2120
+ }
2121
+ var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
2122
+ var localVarHeaderParameter = {};
2123
+ var localVarQueryParameter = {};
2124
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2125
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
2126
+ delete localVarUrlObj.search;
2127
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
2128
+ var needsSerialization = ("VerifyPostcodeRequestDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
2129
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(verifyPostcodeRequestDTO !== undefined ? verifyPostcodeRequestDTO : {}) : (verifyPostcodeRequestDTO || "");
2130
+ return {
2131
+ url: globalImportUrl.format(localVarUrlObj),
2132
+ options: localVarRequestOptions,
2133
+ };
2134
+ },
2108
2135
  verifyPostcode: function (verifyPostcodeRequestDTO, options) {
2109
2136
  if (options === void 0) { options = {}; }
2110
2137
  if (verifyPostcodeRequestDTO === null || verifyPostcodeRequestDTO === undefined) {
@@ -2143,6 +2170,15 @@ exports.CashDepositsApiFp = function (configuration) {
2143
2170
  return axios.request(axiosRequestArgs);
2144
2171
  };
2145
2172
  },
2173
+ generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
2174
+ var localVarAxiosArgs = exports.CashDepositsApiAxiosParamCreator(configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options);
2175
+ return function (axios, basePath) {
2176
+ if (axios === void 0) { axios = axios_1.default; }
2177
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
2178
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
2179
+ return axios.request(axiosRequestArgs);
2180
+ };
2181
+ },
2146
2182
  verifyPostcode: function (verifyPostcodeRequestDTO, options) {
2147
2183
  var localVarAxiosArgs = exports.CashDepositsApiAxiosParamCreator(configuration).verifyPostcode(verifyPostcodeRequestDTO, options);
2148
2184
  return function (axios, basePath) {
@@ -2159,6 +2195,9 @@ exports.CashDepositsApiFactory = function (configuration, basePath, axios) {
2159
2195
  confirmTenancyDetails: function (verifyPostcodeRequestDTO, options) {
2160
2196
  return exports.CashDepositsApiFp(configuration).confirmTenancyDetails(verifyPostcodeRequestDTO, options)(axios, basePath);
2161
2197
  },
2198
+ generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
2199
+ return exports.CashDepositsApiFp(configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options)(axios, basePath);
2200
+ },
2162
2201
  verifyPostcode: function (verifyPostcodeRequestDTO, options) {
2163
2202
  return exports.CashDepositsApiFp(configuration).verifyPostcode(verifyPostcodeRequestDTO, options)(axios, basePath);
2164
2203
  },
@@ -2172,6 +2211,9 @@ var CashDepositsApi = (function (_super) {
2172
2211
  CashDepositsApi.prototype.confirmTenancyDetails = function (verifyPostcodeRequestDTO, options) {
2173
2212
  return exports.CashDepositsApiFp(this.configuration).confirmTenancyDetails(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
2174
2213
  };
2214
+ CashDepositsApi.prototype.generateCashDepositPlaidLinkToken = function (verifyPostcodeRequestDTO, options) {
2215
+ return exports.CashDepositsApiFp(this.configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
2216
+ };
2175
2217
  CashDepositsApi.prototype.verifyPostcode = function (verifyPostcodeRequestDTO, options) {
2176
2218
  return exports.CashDepositsApiFp(this.configuration).verifyPostcode(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
2177
2219
  };