@reposit/api-client 6.50.0 → 6.51.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
@@ -1472,6 +1472,12 @@ export declare enum OrganizationBankAccountDTOAccountTypeEnum {
1472
1472
  DEFAULT = "DEFAULT",
1473
1473
  CLAIM = "CLAIM"
1474
1474
  }
1475
+ export interface OrganizationCashDepositSchemeDTO {
1476
+ id: string;
1477
+ cashDepositSchemeId: string;
1478
+ createdAt: string;
1479
+ updatedAt: string;
1480
+ }
1475
1481
  export interface OrganizationDTO {
1476
1482
  id: string;
1477
1483
  parentId: string;
@@ -1617,6 +1623,25 @@ export declare enum OrganizationVerticalDTONameEnum {
1617
1623
  HMO = "HMO",
1618
1624
  PBSA = "PBSA"
1619
1625
  }
1626
+ export interface OrganizationWithCashDepositDTO {
1627
+ id: string;
1628
+ parentId: string;
1629
+ name: string;
1630
+ attributes?: OrganizationAttributesDTO;
1631
+ settings?: OrganizationSettingsDTO;
1632
+ organizationTypeId: OrganizationWithCashDepositDTOOrganizationTypeIdEnum;
1633
+ organizationRecipients?: Array<OrganizationRecipientDTO>;
1634
+ createdAt: string;
1635
+ updatedAt: string;
1636
+ legacyId?: string;
1637
+ hasCashDepositEnabled: boolean;
1638
+ }
1639
+ export declare enum OrganizationWithCashDepositDTOOrganizationTypeIdEnum {
1640
+ AGENCY = "AGENCY",
1641
+ BUILDTORENT = "BUILD_TO_RENT",
1642
+ PRIVATE = "PRIVATE",
1643
+ INTEGRATORREFERRAL = "INTEGRATOR_REFERRAL"
1644
+ }
1620
1645
  export interface OrganizationWithRepositsAndRoles {
1621
1646
  id: string;
1622
1647
  parentId: string;
@@ -3937,6 +3962,7 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
3937
3962
  fetchTenanciesByOrganizationId(id: string, options?: any): RequestArgs;
3938
3963
  fetchUsersByOrganizationId(id: string, options?: any): RequestArgs;
3939
3964
  findOrganizationById(id: string, options?: any): RequestArgs;
3965
+ getCashDepositScheme(id: string, options?: any): RequestArgs;
3940
3966
  getChildren(id: string, options?: any): RequestArgs;
3941
3967
  getOrganizationMetrics(organizationId: string, options?: any): RequestArgs;
3942
3968
  getOrganizationVerticals(id: string, options?: any): RequestArgs;
@@ -3964,7 +3990,8 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
3964
3990
  fetchPropertiesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<PropertyDTO[]>;
3965
3991
  fetchTenanciesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyDTO[]>;
3966
3992
  fetchUsersByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDTO[]>;
3967
- findOrganizationById(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO>;
3993
+ findOrganizationById(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWithCashDepositDTO>;
3994
+ getCashDepositScheme(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCashDepositSchemeDTO[]>;
3968
3995
  getChildren(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO[]>;
3969
3996
  getOrganizationMetrics(organizationId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationMetricsDTO>;
3970
3997
  getOrganizationVerticals(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationVerticalDTO[]>;
@@ -3992,7 +4019,8 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
3992
4019
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<PropertyDTO[]>;
3993
4020
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<TenancyDTO[]>;
3994
4021
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
3995
- findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4022
+ findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationWithCashDepositDTO>;
4023
+ getCashDepositScheme(id: string, options?: any): AxiosPromise<OrganizationCashDepositSchemeDTO[]>;
3996
4024
  getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
3997
4025
  getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
3998
4026
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
@@ -4020,7 +4048,8 @@ export interface OrganizationsApiInterface {
4020
4048
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<Array<PropertyDTO>>;
4021
4049
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<Array<TenancyDTO>>;
4022
4050
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<Array<UserDTO>>;
4023
- findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4051
+ findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationWithCashDepositDTO>;
4052
+ getCashDepositScheme(id: string, options?: any): AxiosPromise<Array<OrganizationCashDepositSchemeDTO>>;
4024
4053
  getChildren(id: string, options?: any): AxiosPromise<Array<OrganizationDTO>>;
4025
4054
  getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
4026
4055
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<Array<OrganizationVerticalDTO>>;
@@ -4048,7 +4077,8 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
4048
4077
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<PropertyDTO[]>;
4049
4078
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<TenancyDTO[]>;
4050
4079
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
4051
- findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4080
+ findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationWithCashDepositDTO>;
4081
+ getCashDepositScheme(id: string, options?: any): AxiosPromise<OrganizationCashDepositSchemeDTO[]>;
4052
4082
  getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
4053
4083
  getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
4054
4084
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
package/dist/api.js CHANGED
@@ -618,6 +618,13 @@ var OrganizationVerticalDTONameEnum;
618
618
  OrganizationVerticalDTONameEnum["HMO"] = "HMO";
619
619
  OrganizationVerticalDTONameEnum["PBSA"] = "PBSA";
620
620
  })(OrganizationVerticalDTONameEnum = exports.OrganizationVerticalDTONameEnum || (exports.OrganizationVerticalDTONameEnum = {}));
621
+ var OrganizationWithCashDepositDTOOrganizationTypeIdEnum;
622
+ (function (OrganizationWithCashDepositDTOOrganizationTypeIdEnum) {
623
+ OrganizationWithCashDepositDTOOrganizationTypeIdEnum["AGENCY"] = "AGENCY";
624
+ OrganizationWithCashDepositDTOOrganizationTypeIdEnum["BUILDTORENT"] = "BUILD_TO_RENT";
625
+ OrganizationWithCashDepositDTOOrganizationTypeIdEnum["PRIVATE"] = "PRIVATE";
626
+ OrganizationWithCashDepositDTOOrganizationTypeIdEnum["INTEGRATORREFERRAL"] = "INTEGRATOR_REFERRAL";
627
+ })(OrganizationWithCashDepositDTOOrganizationTypeIdEnum = exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum || (exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum = {}));
621
628
  var OrganizationWithRepositsAndRolesOrganizationTypeIdEnum;
622
629
  (function (OrganizationWithRepositsAndRolesOrganizationTypeIdEnum) {
623
630
  OrganizationWithRepositsAndRolesOrganizationTypeIdEnum["AGENCY"] = "AGENCY";
@@ -8186,6 +8193,29 @@ exports.OrganizationsApiAxiosParamCreator = function (configuration) {
8186
8193
  options: localVarRequestOptions,
8187
8194
  };
8188
8195
  },
8196
+ getCashDepositScheme: function (id, options) {
8197
+ if (options === void 0) { options = {}; }
8198
+ if (id === null || id === undefined) {
8199
+ throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getCashDepositScheme.');
8200
+ }
8201
+ var localVarPath = "/v2/organizations/{id}/cash-deposit-scheme"
8202
+ .replace("{" + "id" + "}", encodeURIComponent(String(id)));
8203
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
8204
+ var baseOptions;
8205
+ if (configuration) {
8206
+ baseOptions = configuration.baseOptions;
8207
+ }
8208
+ var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
8209
+ var localVarHeaderParameter = {};
8210
+ var localVarQueryParameter = {};
8211
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
8212
+ delete localVarUrlObj.search;
8213
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
8214
+ return {
8215
+ url: globalImportUrl.format(localVarUrlObj),
8216
+ options: localVarRequestOptions,
8217
+ };
8218
+ },
8189
8219
  getChildren: function (id, options) {
8190
8220
  if (options === void 0) { options = {}; }
8191
8221
  if (id === null || id === undefined) {
@@ -8662,6 +8692,15 @@ exports.OrganizationsApiFp = function (configuration) {
8662
8692
  return axios.request(axiosRequestArgs);
8663
8693
  };
8664
8694
  },
8695
+ getCashDepositScheme: function (id, options) {
8696
+ var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getCashDepositScheme(id, options);
8697
+ return function (axios, basePath) {
8698
+ if (axios === void 0) { axios = axios_1.default; }
8699
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
8700
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
8701
+ return axios.request(axiosRequestArgs);
8702
+ };
8703
+ },
8665
8704
  getChildren: function (id, options) {
8666
8705
  var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getChildren(id, options);
8667
8706
  return function (axios, basePath) {
@@ -8828,6 +8867,9 @@ exports.OrganizationsApiFactory = function (configuration, basePath, axios) {
8828
8867
  findOrganizationById: function (id, options) {
8829
8868
  return exports.OrganizationsApiFp(configuration).findOrganizationById(id, options)(axios, basePath);
8830
8869
  },
8870
+ getCashDepositScheme: function (id, options) {
8871
+ return exports.OrganizationsApiFp(configuration).getCashDepositScheme(id, options)(axios, basePath);
8872
+ },
8831
8873
  getChildren: function (id, options) {
8832
8874
  return exports.OrganizationsApiFp(configuration).getChildren(id, options)(axios, basePath);
8833
8875
  },
@@ -8913,6 +8955,9 @@ var OrganizationsApi = (function (_super) {
8913
8955
  OrganizationsApi.prototype.findOrganizationById = function (id, options) {
8914
8956
  return exports.OrganizationsApiFp(this.configuration).findOrganizationById(id, options)(this.axios, this.basePath);
8915
8957
  };
8958
+ OrganizationsApi.prototype.getCashDepositScheme = function (id, options) {
8959
+ return exports.OrganizationsApiFp(this.configuration).getCashDepositScheme(id, options)(this.axios, this.basePath);
8960
+ };
8916
8961
  OrganizationsApi.prototype.getChildren = function (id, options) {
8917
8962
  return exports.OrganizationsApiFp(this.configuration).getChildren(id, options)(this.axios, this.basePath);
8918
8963
  };