@reposit/api-client 6.57.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 CHANGED
@@ -1033,7 +1033,13 @@ export interface DeferPaymentPlanInstalmentDTO {
1033
1033
  }
1034
1034
  export interface DepositDTO {
1035
1035
  cashDepositScheme: OfferDepositSchemeDTO;
1036
- status: string;
1036
+ status: DepositDTOStatusEnum;
1037
+ }
1038
+ export declare enum DepositDTOStatusEnum {
1039
+ PENDING = "PENDING",
1040
+ CANCELLED = "CANCELLED",
1041
+ PARTIALLYPAID = "PARTIALLY_PAID",
1042
+ PAID = "PAID"
1037
1043
  }
1038
1044
  export interface DocumentDTO {
1039
1045
  id: string;
@@ -1225,6 +1231,9 @@ export interface ExternalAddressDTO {
1225
1231
  export interface FileLocationDTO {
1226
1232
  fileLocation: string;
1227
1233
  }
1234
+ export interface GeneratePlaidLinkTokenResponseDTO {
1235
+ plaidLinkToken: string;
1236
+ }
1228
1237
  export interface GuarantorDTO {
1229
1238
  id: string;
1230
1239
  firstName: string;
@@ -1999,7 +2008,8 @@ export declare enum QueueMessageDTOTypeEnum {
1999
2008
  PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK",
2000
2009
  PROCESSTWILIOVOICEMAILWEBHOOK = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK",
2001
2010
  PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",
2002
- DEPOSITCOMPLETED = "DEPOSIT_COMPLETED"
2011
+ DEPOSITCOMPLETED = "DEPOSIT_COMPLETED",
2012
+ REFRESHMYDEPOSITSACCESSTOKEN = "REFRESH_MY_DEPOSITS_ACCESS_TOKEN"
2003
2013
  }
2004
2014
  export declare enum QueueMessageDTOCronNameEnum {
2005
2015
  DAILYKPIS = "DAILY_KPIS",
@@ -2043,7 +2053,8 @@ export declare enum QueueMessageDTOCronNameEnum {
2043
2053
  DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION",
2044
2054
  DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING",
2045
2055
  WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",
2046
- POLLPENDINGCASHDEPOSITS = "POLL_PENDING_CASH_DEPOSITS"
2056
+ POLLPENDINGCASHDEPOSITS = "POLL_PENDING_CASH_DEPOSITS",
2057
+ REFRESHMYDEPOSITSACCESSTOKENS = "REFRESH_MY_DEPOSITS_ACCESS_TOKENS"
2047
2058
  }
2048
2059
  export interface ReconciliationDocumentDTO {
2049
2060
  document: DocumentDTO;
@@ -2925,6 +2936,7 @@ export interface VerifyPostcodeResponseDTO {
2925
2936
  export declare enum VerifyPostcodeResponseDTOStatusEnum {
2926
2937
  PENDING = "PENDING",
2927
2938
  CANCELLED = "CANCELLED",
2939
+ PARTIALLYPAID = "PARTIALLY_PAID",
2928
2940
  PAID = "PAID"
2929
2941
  }
2930
2942
  export declare const AddressesApiAxiosParamCreator: (configuration?: Configuration) => {
@@ -3109,22 +3121,27 @@ export declare class BeneficiariesApi extends BaseAPI implements BeneficiariesAp
3109
3121
  }
3110
3122
  export declare const CashDepositsApiAxiosParamCreator: (configuration?: Configuration) => {
3111
3123
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
3124
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
3112
3125
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): RequestArgs;
3113
3126
  };
3114
3127
  export declare const CashDepositsApiFp: (configuration?: Configuration) => {
3115
3128
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3129
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3116
3130
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyPostcodeResponseDTO>;
3117
3131
  };
3118
3132
  export declare const CashDepositsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3119
3133
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3134
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3120
3135
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
3121
3136
  };
3122
3137
  export interface CashDepositsApiInterface {
3123
3138
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3139
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3124
3140
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
3125
3141
  }
3126
3142
  export declare class CashDepositsApi extends BaseAPI implements CashDepositsApiInterface {
3127
3143
  confirmTenancyDetails(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<ConfirmTenancyDetailsResponseDTO>;
3144
+ generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<GeneratePlaidLinkTokenResponseDTO>;
3128
3145
  verifyPostcode(verifyPostcodeRequestDTO: VerifyPostcodeRequestDTO, options?: any): AxiosPromise<VerifyPostcodeResponseDTO>;
3129
3146
  }
3130
3147
  export declare const ChecksApiAxiosParamCreator: (configuration?: Configuration) => {
package/dist/api.js CHANGED
@@ -394,6 +394,13 @@ var CurrentUserInfoDTOCurrentOrganizationRolesEnum;
394
394
  CurrentUserInfoDTOCurrentOrganizationRolesEnum["BANKACCOUNTS"] = "BANK_ACCOUNTS";
395
395
  CurrentUserInfoDTOCurrentOrganizationRolesEnum["ONBOARDING"] = "ONBOARDING";
396
396
  })(CurrentUserInfoDTOCurrentOrganizationRolesEnum = exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum || (exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum = {}));
397
+ var DepositDTOStatusEnum;
398
+ (function (DepositDTOStatusEnum) {
399
+ DepositDTOStatusEnum["PENDING"] = "PENDING";
400
+ DepositDTOStatusEnum["CANCELLED"] = "CANCELLED";
401
+ DepositDTOStatusEnum["PARTIALLYPAID"] = "PARTIALLY_PAID";
402
+ DepositDTOStatusEnum["PAID"] = "PAID";
403
+ })(DepositDTOStatusEnum = exports.DepositDTOStatusEnum || (exports.DepositDTOStatusEnum = {}));
397
404
  var EvidenceChaserDTOTypeEnum;
398
405
  (function (EvidenceChaserDTOTypeEnum) {
399
406
  EvidenceChaserDTOTypeEnum["AUTOACCEPTED"] = "AUTO_ACCEPTED";
@@ -808,6 +815,7 @@ var QueueMessageDTOTypeEnum;
808
815
  QueueMessageDTOTypeEnum["PROCESSTWILIOVOICEMAILWEBHOOK"] = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK";
809
816
  QueueMessageDTOTypeEnum["PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER"] = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER";
810
817
  QueueMessageDTOTypeEnum["DEPOSITCOMPLETED"] = "DEPOSIT_COMPLETED";
818
+ QueueMessageDTOTypeEnum["REFRESHMYDEPOSITSACCESSTOKEN"] = "REFRESH_MY_DEPOSITS_ACCESS_TOKEN";
811
819
  })(QueueMessageDTOTypeEnum = exports.QueueMessageDTOTypeEnum || (exports.QueueMessageDTOTypeEnum = {}));
812
820
  var QueueMessageDTOCronNameEnum;
813
821
  (function (QueueMessageDTOCronNameEnum) {
@@ -853,6 +861,7 @@ var QueueMessageDTOCronNameEnum;
853
861
  QueueMessageDTOCronNameEnum["DAILYIVRCALLPROCESSING"] = "DAILY_IVR_CALL_PROCESSING";
854
862
  QueueMessageDTOCronNameEnum["WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER"] = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER";
855
863
  QueueMessageDTOCronNameEnum["POLLPENDINGCASHDEPOSITS"] = "POLL_PENDING_CASH_DEPOSITS";
864
+ QueueMessageDTOCronNameEnum["REFRESHMYDEPOSITSACCESSTOKENS"] = "REFRESH_MY_DEPOSITS_ACCESS_TOKENS";
856
865
  })(QueueMessageDTOCronNameEnum = exports.QueueMessageDTOCronNameEnum || (exports.QueueMessageDTOCronNameEnum = {}));
857
866
  var ReferenceDTOStatusEnum;
858
867
  (function (ReferenceDTOStatusEnum) {
@@ -1023,6 +1032,7 @@ var VerifyPostcodeResponseDTOStatusEnum;
1023
1032
  (function (VerifyPostcodeResponseDTOStatusEnum) {
1024
1033
  VerifyPostcodeResponseDTOStatusEnum["PENDING"] = "PENDING";
1025
1034
  VerifyPostcodeResponseDTOStatusEnum["CANCELLED"] = "CANCELLED";
1035
+ VerifyPostcodeResponseDTOStatusEnum["PARTIALLYPAID"] = "PARTIALLY_PAID";
1026
1036
  VerifyPostcodeResponseDTOStatusEnum["PAID"] = "PAID";
1027
1037
  })(VerifyPostcodeResponseDTOStatusEnum = exports.VerifyPostcodeResponseDTOStatusEnum || (exports.VerifyPostcodeResponseDTOStatusEnum = {}));
1028
1038
  exports.AddressesApiAxiosParamCreator = function (configuration) {
@@ -2095,6 +2105,31 @@ exports.CashDepositsApiAxiosParamCreator = function (configuration) {
2095
2105
  options: localVarRequestOptions,
2096
2106
  };
2097
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
+ },
2098
2133
  verifyPostcode: function (verifyPostcodeRequestDTO, options) {
2099
2134
  if (options === void 0) { options = {}; }
2100
2135
  if (verifyPostcodeRequestDTO === null || verifyPostcodeRequestDTO === undefined) {
@@ -2133,6 +2168,15 @@ exports.CashDepositsApiFp = function (configuration) {
2133
2168
  return axios.request(axiosRequestArgs);
2134
2169
  };
2135
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
+ },
2136
2180
  verifyPostcode: function (verifyPostcodeRequestDTO, options) {
2137
2181
  var localVarAxiosArgs = exports.CashDepositsApiAxiosParamCreator(configuration).verifyPostcode(verifyPostcodeRequestDTO, options);
2138
2182
  return function (axios, basePath) {
@@ -2149,6 +2193,9 @@ exports.CashDepositsApiFactory = function (configuration, basePath, axios) {
2149
2193
  confirmTenancyDetails: function (verifyPostcodeRequestDTO, options) {
2150
2194
  return exports.CashDepositsApiFp(configuration).confirmTenancyDetails(verifyPostcodeRequestDTO, options)(axios, basePath);
2151
2195
  },
2196
+ generateCashDepositPlaidLinkToken: function (verifyPostcodeRequestDTO, options) {
2197
+ return exports.CashDepositsApiFp(configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options)(axios, basePath);
2198
+ },
2152
2199
  verifyPostcode: function (verifyPostcodeRequestDTO, options) {
2153
2200
  return exports.CashDepositsApiFp(configuration).verifyPostcode(verifyPostcodeRequestDTO, options)(axios, basePath);
2154
2201
  },
@@ -2162,6 +2209,9 @@ var CashDepositsApi = (function (_super) {
2162
2209
  CashDepositsApi.prototype.confirmTenancyDetails = function (verifyPostcodeRequestDTO, options) {
2163
2210
  return exports.CashDepositsApiFp(this.configuration).confirmTenancyDetails(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
2164
2211
  };
2212
+ CashDepositsApi.prototype.generateCashDepositPlaidLinkToken = function (verifyPostcodeRequestDTO, options) {
2213
+ return exports.CashDepositsApiFp(this.configuration).generateCashDepositPlaidLinkToken(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
2214
+ };
2165
2215
  CashDepositsApi.prototype.verifyPostcode = function (verifyPostcodeRequestDTO, options) {
2166
2216
  return exports.CashDepositsApiFp(this.configuration).verifyPostcode(verifyPostcodeRequestDTO, options)(this.axios, this.basePath);
2167
2217
  };