@reposit/api-client 6.54.0 → 6.55.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
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../src/custom.d.ts" />
2
- import { Configuration } from "./configuration";
3
- import { AxiosPromise, AxiosInstance } from "axios";
4
- import { RequestArgs, BaseAPI } from "./base";
2
+ import { Configuration } from './configuration';
3
+ import { AxiosPromise, AxiosInstance } from 'axios';
4
+ import { RequestArgs, BaseAPI } from './base';
5
5
  export interface AddItemsDTO {
6
6
  items: Array<CreateInsuredItemDTO>;
7
7
  }
@@ -1955,6 +1955,7 @@ export declare enum QueueMessageDTOTypeEnum {
1955
1955
  REPOSITOFFERREMINDER = "REPOSIT_OFFER_REMINDER",
1956
1956
  EVIDENCECHASERREMINDER = "EVIDENCE_CHASER_REMINDER",
1957
1957
  EVIDENCECHASEREXPIREDNOTIFICATION = "EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1958
+ EVIDENCECHASERSUPPLIERDRAFTREMINDER = "EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",
1958
1959
  ARBITRATIONSENTNOTIFICATION = "ARBITRATION_SENT_NOTIFICATION",
1959
1960
  IVRCALLPROCESSING = "IVR_CALL_PROCESSING",
1960
1961
  PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK",
@@ -1999,6 +2000,7 @@ export declare enum QueueMessageDTOCronNameEnum {
1999
2000
  DAILYREPOSITOFFERREMINDER = "DAILY_REPOSIT_OFFER_REMINDER",
2000
2001
  DAILYEVIDENCECHASERREMINDER = "DAILY_EVIDENCE_CHASER_REMINDER",
2001
2002
  DAILYEVIDENCECHASEREXPIREDNOTIFICATION = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
2003
+ DAILYEVIDENCECHASERSUPPLIERDRAFTREMINDER = "DAILY_EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",
2002
2004
  DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION",
2003
2005
  DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING",
2004
2006
  WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER"
@@ -2337,9 +2339,33 @@ export interface SearchReferencesResultsDTO {
2337
2339
  count: number;
2338
2340
  results: Array<ReferenceDTO>;
2339
2341
  }
2342
+ export interface SearchRepositOfferDTO {
2343
+ id: string;
2344
+ PPM: number;
2345
+ property: PropertyDTO;
2346
+ propertyId: string;
2347
+ organization: OrganizationDTO;
2348
+ organizationId: string;
2349
+ repositOfferRecipients?: Array<RepositOfferRecipientDTO>;
2350
+ cashDepositAmount: number;
2351
+ repositAmount: number;
2352
+ savingAmount: number;
2353
+ tenancyOrder?: TenancyOrderDTO;
2354
+ tenantsReferenceStatus?: SearchRepositOfferDTOTenantsReferenceStatusEnum;
2355
+ tenancyStartDate?: string;
2356
+ tenancyEndDate?: string;
2357
+ tenancyLetOnly?: boolean;
2358
+ createdAt: string;
2359
+ updatedAt: string;
2360
+ canViewReposit: boolean;
2361
+ }
2362
+ export declare enum SearchRepositOfferDTOTenantsReferenceStatusEnum {
2363
+ PASSED = "PASSED",
2364
+ FAILED = "FAILED"
2365
+ }
2340
2366
  export interface SearchRepositOfferResultsDTO {
2341
2367
  count: number;
2342
- results: Array<RepositOfferDTO>;
2368
+ results: Array<SearchRepositOfferDTO>;
2343
2369
  }
2344
2370
  export interface SearchTenancyOrderResultsDTO {
2345
2371
  count: number;
@@ -3330,7 +3356,7 @@ export interface ClaimsApiInterface {
3330
3356
  updateTenantDisputeMessage(claimId: string, updateTenantDisputeMessageDTO: UpdateTenantDisputeMessageDTO, options?: any): AxiosPromise<ClaimDTO>;
3331
3357
  verifyClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3332
3358
  waiveDisputeFee(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3333
- zipDocuments(type: "ADR" | "INSURER", claimId: string, options?: any): AxiosPromise<object>;
3359
+ zipDocuments(type: 'ADR' | 'INSURER', claimId: string, options?: any): AxiosPromise<object>;
3334
3360
  }
3335
3361
  export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
3336
3362
  acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
@@ -3356,7 +3382,7 @@ export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
3356
3382
  updateTenantDisputeMessage(claimId: string, updateTenantDisputeMessageDTO: UpdateTenantDisputeMessageDTO, options?: any): AxiosPromise<ClaimDTO>;
3357
3383
  verifyClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3358
3384
  waiveDisputeFee(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3359
- zipDocuments(type: "ADR" | "INSURER", claimId: string, options?: any): AxiosPromise<object>;
3385
+ zipDocuments(type: 'ADR' | 'INSURER', claimId: string, options?: any): AxiosPromise<object>;
3360
3386
  }
3361
3387
  export declare const CommissionApiAxiosParamCreator: (configuration?: Configuration) => {
3362
3388
  generateCommissionCsvForPeriod(period: string, options?: any): RequestArgs;
@@ -4084,7 +4110,7 @@ export interface OrganizationsApiInterface {
4084
4110
  confirmBankAccounts(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4085
4111
  createOrganization(createOrganizationDTO: CreateOrganizationDTO, options?: any): AxiosPromise<OrganizationDTO>;
4086
4112
  disableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4087
- dismissOrganizationMessage(messageId: "featureBankAccounts" | "warningBankAccounts", id: string, options?: any): AxiosPromise<OrganizationDTO>;
4113
+ dismissOrganizationMessage(messageId: 'featureBankAccounts' | 'warningBankAccounts', id: string, options?: any): AxiosPromise<OrganizationDTO>;
4088
4114
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4089
4115
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<Array<AddressDTO>>;
4090
4116
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<Array<LandlordDTO>>;
@@ -4113,7 +4139,7 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
4113
4139
  confirmBankAccounts(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4114
4140
  createOrganization(createOrganizationDTO: CreateOrganizationDTO, options?: any): AxiosPromise<OrganizationDTO>;
4115
4141
  disableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4116
- dismissOrganizationMessage(messageId: "featureBankAccounts" | "warningBankAccounts", id: string, options?: any): AxiosPromise<OrganizationDTO>;
4142
+ dismissOrganizationMessage(messageId: 'featureBankAccounts' | 'warningBankAccounts', id: string, options?: any): AxiosPromise<OrganizationDTO>;
4117
4143
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4118
4144
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<AddressDTO[]>;
4119
4145
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<LandlordDTO[]>;
@@ -4446,7 +4472,7 @@ export interface ReferencesApiInterface {
4446
4472
  getChecks(id: string, options?: any): AxiosPromise<Array<CheckDTO>>;
4447
4473
  getReferenceDocuments(id: string, options?: any): AxiosPromise<Array<ReferenceDocumentDTO>>;
4448
4474
  readyForReview(id: string, options?: any): AxiosPromise<ReferenceDTO>;
4449
- searchReferences(status: string, page: number, size: number, sortBy?: "CREATED_AT", options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4475
+ searchReferences(status: string, page: number, size: number, sortBy?: 'CREATED_AT', options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4450
4476
  submitChecks(id: string, options?: any): AxiosPromise<Array<CheckDTO>>;
4451
4477
  }
4452
4478
  export declare class ReferencesApi extends BaseAPI implements ReferencesApiInterface {
@@ -4455,7 +4481,7 @@ export declare class ReferencesApi extends BaseAPI implements ReferencesApiInter
4455
4481
  getChecks(id: string, options?: any): AxiosPromise<CheckDTO[]>;
4456
4482
  getReferenceDocuments(id: string, options?: any): AxiosPromise<ReferenceDocumentDTO[]>;
4457
4483
  readyForReview(id: string, options?: any): AxiosPromise<ReferenceDTO>;
4458
- searchReferences(status: string, page: number, size: number, sortBy?: "CREATED_AT", options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4484
+ searchReferences(status: string, page: number, size: number, sortBy?: 'CREATED_AT', options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4459
4485
  submitChecks(id: string, options?: any): AxiosPromise<CheckDTO[]>;
4460
4486
  }
4461
4487
  export declare const RepositOffersApiAxiosParamCreator: (configuration?: Configuration) => {
@@ -4490,8 +4516,8 @@ export interface RepositOffersApiInterface {
4490
4516
  createOffer(offerToTenantRequestDTO: OfferToTenantRequestDTO, options?: any): AxiosPromise<object>;
4491
4517
  deleteOffer(id: string, options?: any): AxiosPromise<object>;
4492
4518
  getRepositOffer(id: string, token: string, options?: any): AxiosPromise<RepositOfferWithRecipientDTO>;
4493
- respondToOffer(id: string, choice: "REPOSIT" | "CASH_DEPOSIT", token: string, options?: any): AxiosPromise<object>;
4494
- searchOffers(page: number, size: number, organizationId: string, query?: string, status?: "PENDING" | "REPOSIT_CHOSEN" | "CASH_DEPOSIT_CHOSEN", orderStatus?: "DRAFT" | "PENDING" | "COMPLETE" | "CANCELLED" | "REFUNDED", options?: any): AxiosPromise<SearchRepositOfferResultsDTO>;
4519
+ respondToOffer(id: string, choice: 'REPOSIT' | 'CASH_DEPOSIT', token: string, options?: any): AxiosPromise<object>;
4520
+ searchOffers(page: number, size: number, organizationId: string, query?: string, status?: 'PENDING' | 'REPOSIT_CHOSEN' | 'CASH_DEPOSIT_CHOSEN', orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', options?: any): AxiosPromise<SearchRepositOfferResultsDTO>;
4495
4521
  sendReminder(id: string, options?: any): AxiosPromise<object>;
4496
4522
  }
4497
4523
  export declare class RepositOffersApi extends BaseAPI implements RepositOffersApiInterface {
@@ -4499,8 +4525,8 @@ export declare class RepositOffersApi extends BaseAPI implements RepositOffersAp
4499
4525
  createOffer(offerToTenantRequestDTO: OfferToTenantRequestDTO, options?: any): AxiosPromise<object>;
4500
4526
  deleteOffer(id: string, options?: any): AxiosPromise<object>;
4501
4527
  getRepositOffer(id: string, token: string, options?: any): AxiosPromise<RepositOfferWithRecipientDTO>;
4502
- respondToOffer(id: string, choice: "REPOSIT" | "CASH_DEPOSIT", token: string, options?: any): AxiosPromise<object>;
4503
- searchOffers(page: number, size: number, organizationId: string, query?: string, status?: "PENDING" | "REPOSIT_CHOSEN" | "CASH_DEPOSIT_CHOSEN", orderStatus?: "DRAFT" | "PENDING" | "COMPLETE" | "CANCELLED" | "REFUNDED", options?: any): AxiosPromise<SearchRepositOfferResultsDTO>;
4528
+ respondToOffer(id: string, choice: 'REPOSIT' | 'CASH_DEPOSIT', token: string, options?: any): AxiosPromise<object>;
4529
+ searchOffers(page: number, size: number, organizationId: string, query?: string, status?: 'PENDING' | 'REPOSIT_CHOSEN' | 'CASH_DEPOSIT_CHOSEN', orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', options?: any): AxiosPromise<SearchRepositOfferResultsDTO>;
4504
4530
  sendReminder(id: string, options?: any): AxiosPromise<object>;
4505
4531
  }
4506
4532
  export declare const RepositsApiAxiosParamCreator: (configuration?: Configuration) => {
@@ -4727,11 +4753,11 @@ export declare const TenancyInventoriesApiFactory: (configuration?: Configuratio
4727
4753
  };
4728
4754
  export interface TenancyInventoriesApiInterface {
4729
4755
  disableWarnings(id: string, tenancyId: string, options?: any): AxiosPromise<TenancyInventoryDTO>;
4730
- tenantConfirmation(token: string, response: "CONFIRMED" | "UNCONFIRMED", tenancyId: string, options?: any): AxiosPromise<object>;
4756
+ tenantConfirmation(token: string, response: 'CONFIRMED' | 'UNCONFIRMED', tenancyId: string, options?: any): AxiosPromise<object>;
4731
4757
  }
4732
4758
  export declare class TenancyInventoriesApi extends BaseAPI implements TenancyInventoriesApiInterface {
4733
4759
  disableWarnings(id: string, tenancyId: string, options?: any): AxiosPromise<TenancyInventoryDTO>;
4734
- tenantConfirmation(token: string, response: "CONFIRMED" | "UNCONFIRMED", tenancyId: string, options?: any): AxiosPromise<object>;
4760
+ tenantConfirmation(token: string, response: 'CONFIRMED' | 'UNCONFIRMED', tenancyId: string, options?: any): AxiosPromise<object>;
4735
4761
  }
4736
4762
  export declare const TenancyInvitesApiAxiosParamCreator: (configuration?: Configuration) => {
4737
4763
  acceptTenancyInvite(token: string, clearSession: boolean, tenancyId: string, options?: any): RequestArgs;
@@ -4819,7 +4845,7 @@ export declare const TenancyOrdersApiFactory: (configuration?: Configuration, ba
4819
4845
  };
4820
4846
  export interface TenancyOrdersApiInterface {
4821
4847
  getTenancyOrderById(id: string, includeDeleted?: boolean, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4822
- optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "DRAFT" | "PENDING" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
4848
+ optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', tenancyStatus?: 'ACTIVE' | 'CHECKED_OUT' | 'OVERDUE' | 'ENDING_SOON' | 'CLOSING_SOON', sortBy?: 'CREATED_AT' | 'START_DATE' | 'END_DATE', sortDirection?: 'ASC' | 'DESC', letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
4823
4849
  removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4824
4850
  reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4825
4851
  sendOverdueChasers(id: string, options?: any): AxiosPromise<{}>;
@@ -4827,7 +4853,7 @@ export interface TenancyOrdersApiInterface {
4827
4853
  }
4828
4854
  export declare class TenancyOrdersApi extends BaseAPI implements TenancyOrdersApiInterface {
4829
4855
  getTenancyOrderById(id: string, includeDeleted?: boolean, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4830
- optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "DRAFT" | "PENDING" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
4856
+ optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', tenancyStatus?: 'ACTIVE' | 'CHECKED_OUT' | 'OVERDUE' | 'ENDING_SOON' | 'CLOSING_SOON', sortBy?: 'CREATED_AT' | 'START_DATE' | 'END_DATE', sortDirection?: 'ASC' | 'DESC', letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
4831
4857
  removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4832
4858
  reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4833
4859
  sendOverdueChasers(id: string, options?: any): AxiosPromise<Response>;
@@ -4967,7 +4993,7 @@ export interface UsersApiInterface {
4967
4993
  completeOnboardingIntroduction(options?: any): AxiosPromise<UserDTO>;
4968
4994
  createOneTimeSessionToken(options?: any): AxiosPromise<OneTimeSessionTokenDTO>;
4969
4995
  dismissNewProductUpdates(options?: any): AxiosPromise<UserDTO>;
4970
- dismissUserMessage(messageId: "featureClaimUploads" | "marketingMessageSwitchApril2023" | "minimumRepositPricingMarch2024" | "partnerDashboardBetaWelcome" | "partnerEOTChasersWelcome", options?: any): AxiosPromise<UserDTO>;
4996
+ dismissUserMessage(messageId: 'featureClaimUploads' | 'marketingMessageSwitchApril2023' | 'minimumRepositPricingMarch2024' | 'partnerDashboardBetaWelcome' | 'partnerEOTChasersWelcome', options?: any): AxiosPromise<UserDTO>;
4971
4997
  findOneByID(id: string, options?: any): AxiosPromise<UserDTO>;
4972
4998
  getCustomer(options?: any): AxiosPromise<CustomerDTO>;
4973
4999
  getOrganizationUsers(id: string, options?: any): AxiosPromise<Array<OrganizationUserDTO>>;
@@ -4987,7 +5013,7 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
4987
5013
  completeOnboardingIntroduction(options?: any): AxiosPromise<UserDTO>;
4988
5014
  createOneTimeSessionToken(options?: any): AxiosPromise<OneTimeSessionTokenDTO>;
4989
5015
  dismissNewProductUpdates(options?: any): AxiosPromise<UserDTO>;
4990
- dismissUserMessage(messageId: "featureClaimUploads" | "marketingMessageSwitchApril2023" | "minimumRepositPricingMarch2024" | "partnerDashboardBetaWelcome" | "partnerEOTChasersWelcome", options?: any): AxiosPromise<UserDTO>;
5016
+ dismissUserMessage(messageId: 'featureClaimUploads' | 'marketingMessageSwitchApril2023' | 'minimumRepositPricingMarch2024' | 'partnerDashboardBetaWelcome' | 'partnerEOTChasersWelcome', options?: any): AxiosPromise<UserDTO>;
4991
5017
  findOneByID(id: string, options?: any): AxiosPromise<UserDTO>;
4992
5018
  getCustomer(options?: any): AxiosPromise<CustomerDTO>;
4993
5019
  getOrganizationUsers(id: string, options?: any): AxiosPromise<OrganizationUserDTO[]>;