@reposit/api-client 6.54.0 → 6.56.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;
@@ -2507,6 +2533,7 @@ export interface TenancyOrderWithTenancyAndOrderCustomersDTO {
2507
2533
  updatedAt: string;
2508
2534
  deletedAt: string;
2509
2535
  deactivationReason?: string;
2536
+ tenantFee: number | null;
2510
2537
  }
2511
2538
  export interface TenancyOrderWithTenancyDTO {
2512
2539
  id: string;
@@ -3330,7 +3357,7 @@ export interface ClaimsApiInterface {
3330
3357
  updateTenantDisputeMessage(claimId: string, updateTenantDisputeMessageDTO: UpdateTenantDisputeMessageDTO, options?: any): AxiosPromise<ClaimDTO>;
3331
3358
  verifyClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3332
3359
  waiveDisputeFee(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3333
- zipDocuments(type: "ADR" | "INSURER", claimId: string, options?: any): AxiosPromise<object>;
3360
+ zipDocuments(type: 'ADR' | 'INSURER', claimId: string, options?: any): AxiosPromise<object>;
3334
3361
  }
3335
3362
  export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
3336
3363
  acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
@@ -3356,7 +3383,7 @@ export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
3356
3383
  updateTenantDisputeMessage(claimId: string, updateTenantDisputeMessageDTO: UpdateTenantDisputeMessageDTO, options?: any): AxiosPromise<ClaimDTO>;
3357
3384
  verifyClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3358
3385
  waiveDisputeFee(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
3359
- zipDocuments(type: "ADR" | "INSURER", claimId: string, options?: any): AxiosPromise<object>;
3386
+ zipDocuments(type: 'ADR' | 'INSURER', claimId: string, options?: any): AxiosPromise<object>;
3360
3387
  }
3361
3388
  export declare const CommissionApiAxiosParamCreator: (configuration?: Configuration) => {
3362
3389
  generateCommissionCsvForPeriod(period: string, options?: any): RequestArgs;
@@ -4084,7 +4111,7 @@ export interface OrganizationsApiInterface {
4084
4111
  confirmBankAccounts(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4085
4112
  createOrganization(createOrganizationDTO: CreateOrganizationDTO, options?: any): AxiosPromise<OrganizationDTO>;
4086
4113
  disableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4087
- dismissOrganizationMessage(messageId: "featureBankAccounts" | "warningBankAccounts", id: string, options?: any): AxiosPromise<OrganizationDTO>;
4114
+ dismissOrganizationMessage(messageId: 'featureBankAccounts' | 'warningBankAccounts', id: string, options?: any): AxiosPromise<OrganizationDTO>;
4088
4115
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4089
4116
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<Array<AddressDTO>>;
4090
4117
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<Array<LandlordDTO>>;
@@ -4113,7 +4140,7 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
4113
4140
  confirmBankAccounts(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4114
4141
  createOrganization(createOrganizationDTO: CreateOrganizationDTO, options?: any): AxiosPromise<OrganizationDTO>;
4115
4142
  disableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4116
- dismissOrganizationMessage(messageId: "featureBankAccounts" | "warningBankAccounts", id: string, options?: any): AxiosPromise<OrganizationDTO>;
4143
+ dismissOrganizationMessage(messageId: 'featureBankAccounts' | 'warningBankAccounts', id: string, options?: any): AxiosPromise<OrganizationDTO>;
4117
4144
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4118
4145
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<AddressDTO[]>;
4119
4146
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<LandlordDTO[]>;
@@ -4446,7 +4473,7 @@ export interface ReferencesApiInterface {
4446
4473
  getChecks(id: string, options?: any): AxiosPromise<Array<CheckDTO>>;
4447
4474
  getReferenceDocuments(id: string, options?: any): AxiosPromise<Array<ReferenceDocumentDTO>>;
4448
4475
  readyForReview(id: string, options?: any): AxiosPromise<ReferenceDTO>;
4449
- searchReferences(status: string, page: number, size: number, sortBy?: "CREATED_AT", options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4476
+ searchReferences(status: string, page: number, size: number, sortBy?: 'CREATED_AT', options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4450
4477
  submitChecks(id: string, options?: any): AxiosPromise<Array<CheckDTO>>;
4451
4478
  }
4452
4479
  export declare class ReferencesApi extends BaseAPI implements ReferencesApiInterface {
@@ -4455,7 +4482,7 @@ export declare class ReferencesApi extends BaseAPI implements ReferencesApiInter
4455
4482
  getChecks(id: string, options?: any): AxiosPromise<CheckDTO[]>;
4456
4483
  getReferenceDocuments(id: string, options?: any): AxiosPromise<ReferenceDocumentDTO[]>;
4457
4484
  readyForReview(id: string, options?: any): AxiosPromise<ReferenceDTO>;
4458
- searchReferences(status: string, page: number, size: number, sortBy?: "CREATED_AT", options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4485
+ searchReferences(status: string, page: number, size: number, sortBy?: 'CREATED_AT', options?: any): AxiosPromise<SearchReferencesResultsDTO>;
4459
4486
  submitChecks(id: string, options?: any): AxiosPromise<CheckDTO[]>;
4460
4487
  }
4461
4488
  export declare const RepositOffersApiAxiosParamCreator: (configuration?: Configuration) => {
@@ -4490,8 +4517,8 @@ export interface RepositOffersApiInterface {
4490
4517
  createOffer(offerToTenantRequestDTO: OfferToTenantRequestDTO, options?: any): AxiosPromise<object>;
4491
4518
  deleteOffer(id: string, options?: any): AxiosPromise<object>;
4492
4519
  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>;
4520
+ respondToOffer(id: string, choice: 'REPOSIT' | 'CASH_DEPOSIT', token: string, options?: any): AxiosPromise<object>;
4521
+ 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
4522
  sendReminder(id: string, options?: any): AxiosPromise<object>;
4496
4523
  }
4497
4524
  export declare class RepositOffersApi extends BaseAPI implements RepositOffersApiInterface {
@@ -4499,8 +4526,8 @@ export declare class RepositOffersApi extends BaseAPI implements RepositOffersAp
4499
4526
  createOffer(offerToTenantRequestDTO: OfferToTenantRequestDTO, options?: any): AxiosPromise<object>;
4500
4527
  deleteOffer(id: string, options?: any): AxiosPromise<object>;
4501
4528
  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>;
4529
+ respondToOffer(id: string, choice: 'REPOSIT' | 'CASH_DEPOSIT', token: string, options?: any): AxiosPromise<object>;
4530
+ 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
4531
  sendReminder(id: string, options?: any): AxiosPromise<object>;
4505
4532
  }
4506
4533
  export declare const RepositsApiAxiosParamCreator: (configuration?: Configuration) => {
@@ -4727,11 +4754,11 @@ export declare const TenancyInventoriesApiFactory: (configuration?: Configuratio
4727
4754
  };
4728
4755
  export interface TenancyInventoriesApiInterface {
4729
4756
  disableWarnings(id: string, tenancyId: string, options?: any): AxiosPromise<TenancyInventoryDTO>;
4730
- tenantConfirmation(token: string, response: "CONFIRMED" | "UNCONFIRMED", tenancyId: string, options?: any): AxiosPromise<object>;
4757
+ tenantConfirmation(token: string, response: 'CONFIRMED' | 'UNCONFIRMED', tenancyId: string, options?: any): AxiosPromise<object>;
4731
4758
  }
4732
4759
  export declare class TenancyInventoriesApi extends BaseAPI implements TenancyInventoriesApiInterface {
4733
4760
  disableWarnings(id: string, tenancyId: string, options?: any): AxiosPromise<TenancyInventoryDTO>;
4734
- tenantConfirmation(token: string, response: "CONFIRMED" | "UNCONFIRMED", tenancyId: string, options?: any): AxiosPromise<object>;
4761
+ tenantConfirmation(token: string, response: 'CONFIRMED' | 'UNCONFIRMED', tenancyId: string, options?: any): AxiosPromise<object>;
4735
4762
  }
4736
4763
  export declare const TenancyInvitesApiAxiosParamCreator: (configuration?: Configuration) => {
4737
4764
  acceptTenancyInvite(token: string, clearSession: boolean, tenancyId: string, options?: any): RequestArgs;
@@ -4819,7 +4846,7 @@ export declare const TenancyOrdersApiFactory: (configuration?: Configuration, ba
4819
4846
  };
4820
4847
  export interface TenancyOrdersApiInterface {
4821
4848
  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>;
4849
+ 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
4850
  removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4824
4851
  reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4825
4852
  sendOverdueChasers(id: string, options?: any): AxiosPromise<{}>;
@@ -4827,7 +4854,7 @@ export interface TenancyOrdersApiInterface {
4827
4854
  }
4828
4855
  export declare class TenancyOrdersApi extends BaseAPI implements TenancyOrdersApiInterface {
4829
4856
  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>;
4857
+ 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
4858
  removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4832
4859
  reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
4833
4860
  sendOverdueChasers(id: string, options?: any): AxiosPromise<Response>;
@@ -4967,7 +4994,7 @@ export interface UsersApiInterface {
4967
4994
  completeOnboardingIntroduction(options?: any): AxiosPromise<UserDTO>;
4968
4995
  createOneTimeSessionToken(options?: any): AxiosPromise<OneTimeSessionTokenDTO>;
4969
4996
  dismissNewProductUpdates(options?: any): AxiosPromise<UserDTO>;
4970
- dismissUserMessage(messageId: "featureClaimUploads" | "marketingMessageSwitchApril2023" | "minimumRepositPricingMarch2024" | "partnerDashboardBetaWelcome" | "partnerEOTChasersWelcome", options?: any): AxiosPromise<UserDTO>;
4997
+ dismissUserMessage(messageId: 'featureClaimUploads' | 'marketingMessageSwitchApril2023' | 'minimumRepositPricingMarch2024' | 'partnerDashboardBetaWelcome' | 'partnerEOTChasersWelcome', options?: any): AxiosPromise<UserDTO>;
4971
4998
  findOneByID(id: string, options?: any): AxiosPromise<UserDTO>;
4972
4999
  getCustomer(options?: any): AxiosPromise<CustomerDTO>;
4973
5000
  getOrganizationUsers(id: string, options?: any): AxiosPromise<Array<OrganizationUserDTO>>;
@@ -4987,7 +5014,7 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
4987
5014
  completeOnboardingIntroduction(options?: any): AxiosPromise<UserDTO>;
4988
5015
  createOneTimeSessionToken(options?: any): AxiosPromise<OneTimeSessionTokenDTO>;
4989
5016
  dismissNewProductUpdates(options?: any): AxiosPromise<UserDTO>;
4990
- dismissUserMessage(messageId: "featureClaimUploads" | "marketingMessageSwitchApril2023" | "minimumRepositPricingMarch2024" | "partnerDashboardBetaWelcome" | "partnerEOTChasersWelcome", options?: any): AxiosPromise<UserDTO>;
5017
+ dismissUserMessage(messageId: 'featureClaimUploads' | 'marketingMessageSwitchApril2023' | 'minimumRepositPricingMarch2024' | 'partnerDashboardBetaWelcome' | 'partnerEOTChasersWelcome', options?: any): AxiosPromise<UserDTO>;
4991
5018
  findOneByID(id: string, options?: any): AxiosPromise<UserDTO>;
4992
5019
  getCustomer(options?: any): AxiosPromise<CustomerDTO>;
4993
5020
  getOrganizationUsers(id: string, options?: any): AxiosPromise<OrganizationUserDTO[]>;