@reposit/api-client 6.49.1-beta.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;
@@ -1518,6 +1524,12 @@ export interface OrganizationMessages {
1518
1524
  featureBankAccounts?: boolean;
1519
1525
  warningBankAccounts?: boolean;
1520
1526
  }
1527
+ export interface OrganizationMetricsDTO {
1528
+ pendingRepositCount: number;
1529
+ overdueRepositCount: number;
1530
+ awaitingSupplierResponseCount: number;
1531
+ awaitingSubstantiationCount: number;
1532
+ }
1521
1533
  export interface OrganizationRecipientDTO {
1522
1534
  id: string;
1523
1535
  group: OrganizationRecipientDTOGroupEnum;
@@ -1611,6 +1623,25 @@ export declare enum OrganizationVerticalDTONameEnum {
1611
1623
  HMO = "HMO",
1612
1624
  PBSA = "PBSA"
1613
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
+ }
1614
1645
  export interface OrganizationWithRepositsAndRoles {
1615
1646
  id: string;
1616
1647
  parentId: string;
@@ -1897,7 +1928,9 @@ export declare enum QueueMessageDTOTypeEnum {
1897
1928
  EVIDENCECHASEREXPIREDNOTIFICATION = "EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1898
1929
  ARBITRATIONSENTNOTIFICATION = "ARBITRATION_SENT_NOTIFICATION",
1899
1930
  IVRCALLPROCESSING = "IVR_CALL_PROCESSING",
1900
- PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK"
1931
+ PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK",
1932
+ PROCESSTWILIOVOICEMAILWEBHOOK = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK",
1933
+ PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER"
1901
1934
  }
1902
1935
  export declare enum QueueMessageDTOCronNameEnum {
1903
1936
  DAILYKPIS = "DAILY_KPIS",
@@ -1938,7 +1971,8 @@ export declare enum QueueMessageDTOCronNameEnum {
1938
1971
  DAILYEVIDENCECHASERREMINDER = "DAILY_EVIDENCE_CHASER_REMINDER",
1939
1972
  DAILYEVIDENCECHASEREXPIREDNOTIFICATION = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1940
1973
  DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION",
1941
- DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING"
1974
+ DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING",
1975
+ WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER"
1942
1976
  }
1943
1977
  export interface ReconciliationDocumentDTO {
1944
1978
  document: DocumentDTO;
@@ -3520,30 +3554,35 @@ export declare const IncomingWebhooksApiAxiosParamCreator: (configuration?: Conf
3520
3554
  processStripeWebhooks(options?: any): RequestArgs;
3521
3555
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): RequestArgs;
3522
3556
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): RequestArgs;
3557
+ processTwilioVoicemailWebhook(from: string, options?: any): RequestArgs;
3523
3558
  };
3524
3559
  export declare const IncomingWebhooksApiFp: (configuration?: Configuration) => {
3525
3560
  processSendGridWebhooks(requestBody: string[], options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3526
3561
  processStripeWebhooks(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3527
3562
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3528
3563
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
3564
+ processTwilioVoicemailWebhook(from: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3529
3565
  };
3530
3566
  export declare const IncomingWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3531
3567
  processSendGridWebhooks(requestBody: string[], options?: any): AxiosPromise<object>;
3532
3568
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3533
3569
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3534
3570
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
3571
+ processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
3535
3572
  };
3536
3573
  export interface IncomingWebhooksApiInterface {
3537
3574
  processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
3538
3575
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3539
3576
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3540
3577
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<{}>;
3578
+ processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
3541
3579
  }
3542
3580
  export declare class IncomingWebhooksApi extends BaseAPI implements IncomingWebhooksApiInterface {
3543
3581
  processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
3544
3582
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3545
3583
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3546
3584
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
3585
+ processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
3547
3586
  }
3548
3587
  export declare const InsuranceClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
3549
3588
  createInsuranceClaim(policyId: string, createInsuranceClaimDTO: CreateInsuranceClaimDTO, options?: any): RequestArgs;
@@ -3923,7 +3962,9 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
3923
3962
  fetchTenanciesByOrganizationId(id: string, options?: any): RequestArgs;
3924
3963
  fetchUsersByOrganizationId(id: string, options?: any): RequestArgs;
3925
3964
  findOrganizationById(id: string, options?: any): RequestArgs;
3965
+ getCashDepositScheme(id: string, options?: any): RequestArgs;
3926
3966
  getChildren(id: string, options?: any): RequestArgs;
3967
+ getOrganizationMetrics(organizationId: string, options?: any): RequestArgs;
3927
3968
  getOrganizationVerticals(id: string, options?: any): RequestArgs;
3928
3969
  getRecipients(id: string, options?: any): RequestArgs;
3929
3970
  removeUser(id: string, userId: string, options?: any): RequestArgs;
@@ -3949,8 +3990,10 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
3949
3990
  fetchPropertiesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<PropertyDTO[]>;
3950
3991
  fetchTenanciesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyDTO[]>;
3951
3992
  fetchUsersByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDTO[]>;
3952
- 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[]>;
3953
3995
  getChildren(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO[]>;
3996
+ getOrganizationMetrics(organizationId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationMetricsDTO>;
3954
3997
  getOrganizationVerticals(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationVerticalDTO[]>;
3955
3998
  getRecipients(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationRecipientDTO[]>;
3956
3999
  removeUser(id: string, userId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
@@ -3976,8 +4019,10 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
3976
4019
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<PropertyDTO[]>;
3977
4020
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<TenancyDTO[]>;
3978
4021
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
3979
- findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4022
+ findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationWithCashDepositDTO>;
4023
+ getCashDepositScheme(id: string, options?: any): AxiosPromise<OrganizationCashDepositSchemeDTO[]>;
3980
4024
  getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
4025
+ getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
3981
4026
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
3982
4027
  getRecipients(id: string, options?: any): AxiosPromise<OrganizationRecipientDTO[]>;
3983
4028
  removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
@@ -4003,8 +4048,10 @@ export interface OrganizationsApiInterface {
4003
4048
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<Array<PropertyDTO>>;
4004
4049
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<Array<TenancyDTO>>;
4005
4050
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<Array<UserDTO>>;
4006
- findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4051
+ findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationWithCashDepositDTO>;
4052
+ getCashDepositScheme(id: string, options?: any): AxiosPromise<Array<OrganizationCashDepositSchemeDTO>>;
4007
4053
  getChildren(id: string, options?: any): AxiosPromise<Array<OrganizationDTO>>;
4054
+ getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
4008
4055
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<Array<OrganizationVerticalDTO>>;
4009
4056
  getRecipients(id: string, options?: any): AxiosPromise<Array<OrganizationRecipientDTO>>;
4010
4057
  removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
@@ -4030,8 +4077,10 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
4030
4077
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<PropertyDTO[]>;
4031
4078
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<TenancyDTO[]>;
4032
4079
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
4033
- findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4080
+ findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationWithCashDepositDTO>;
4081
+ getCashDepositScheme(id: string, options?: any): AxiosPromise<OrganizationCashDepositSchemeDTO[]>;
4034
4082
  getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
4083
+ getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
4035
4084
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
4036
4085
  getRecipients(id: string, options?: any): AxiosPromise<OrganizationRecipientDTO[]>;
4037
4086
  removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
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";
@@ -776,6 +783,8 @@ var QueueMessageDTOTypeEnum;
776
783
  QueueMessageDTOTypeEnum["ARBITRATIONSENTNOTIFICATION"] = "ARBITRATION_SENT_NOTIFICATION";
777
784
  QueueMessageDTOTypeEnum["IVRCALLPROCESSING"] = "IVR_CALL_PROCESSING";
778
785
  QueueMessageDTOTypeEnum["PROCESSTWILIOIVRWEBHOOK"] = "PROCESS_TWILIO_IVR_WEBHOOK";
786
+ QueueMessageDTOTypeEnum["PROCESSTWILIOVOICEMAILWEBHOOK"] = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK";
787
+ QueueMessageDTOTypeEnum["PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER"] = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER";
779
788
  })(QueueMessageDTOTypeEnum = exports.QueueMessageDTOTypeEnum || (exports.QueueMessageDTOTypeEnum = {}));
780
789
  var QueueMessageDTOCronNameEnum;
781
790
  (function (QueueMessageDTOCronNameEnum) {
@@ -818,6 +827,7 @@ var QueueMessageDTOCronNameEnum;
818
827
  QueueMessageDTOCronNameEnum["DAILYEVIDENCECHASEREXPIREDNOTIFICATION"] = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION";
819
828
  QueueMessageDTOCronNameEnum["DAILYARBITRATIONSENTNOTIFICATION"] = "DAILY_ARBITRATION_SENT_NOTIFICATION";
820
829
  QueueMessageDTOCronNameEnum["DAILYIVRCALLPROCESSING"] = "DAILY_IVR_CALL_PROCESSING";
830
+ QueueMessageDTOCronNameEnum["WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER"] = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER";
821
831
  })(QueueMessageDTOCronNameEnum = exports.QueueMessageDTOCronNameEnum || (exports.QueueMessageDTOCronNameEnum = {}));
822
832
  var ReferenceDTOStatusEnum;
823
833
  (function (ReferenceDTOStatusEnum) {
@@ -5799,6 +5809,31 @@ exports.IncomingWebhooksApiAxiosParamCreator = function (configuration) {
5799
5809
  options: localVarRequestOptions,
5800
5810
  };
5801
5811
  },
5812
+ processTwilioVoicemailWebhook: function (from, options) {
5813
+ if (options === void 0) { options = {}; }
5814
+ if (from === null || from === undefined) {
5815
+ throw new base_1.RequiredError('from', 'Required parameter from was null or undefined when calling processTwilioVoicemailWebhook.');
5816
+ }
5817
+ var localVarPath = "/v2/webhooks/twilio-voicemail";
5818
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
5819
+ var baseOptions;
5820
+ if (configuration) {
5821
+ baseOptions = configuration.baseOptions;
5822
+ }
5823
+ var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
5824
+ var localVarHeaderParameter = {};
5825
+ var localVarQueryParameter = {};
5826
+ if (from !== undefined) {
5827
+ localVarQueryParameter['From'] = from;
5828
+ }
5829
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
5830
+ delete localVarUrlObj.search;
5831
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
5832
+ return {
5833
+ url: globalImportUrl.format(localVarUrlObj),
5834
+ options: localVarRequestOptions,
5835
+ };
5836
+ },
5802
5837
  };
5803
5838
  };
5804
5839
  exports.IncomingWebhooksApiFp = function (configuration) {
@@ -5839,6 +5874,15 @@ exports.IncomingWebhooksApiFp = function (configuration) {
5839
5874
  return axios.request(axiosRequestArgs);
5840
5875
  };
5841
5876
  },
5877
+ processTwilioVoicemailWebhook: function (from, options) {
5878
+ var localVarAxiosArgs = exports.IncomingWebhooksApiAxiosParamCreator(configuration).processTwilioVoicemailWebhook(from, options);
5879
+ return function (axios, basePath) {
5880
+ if (axios === void 0) { axios = axios_1.default; }
5881
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
5882
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
5883
+ return axios.request(axiosRequestArgs);
5884
+ };
5885
+ },
5842
5886
  };
5843
5887
  };
5844
5888
  exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
@@ -5855,6 +5899,9 @@ exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
5855
5899
  processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
5856
5900
  return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(axios, basePath);
5857
5901
  },
5902
+ processTwilioVoicemailWebhook: function (from, options) {
5903
+ return exports.IncomingWebhooksApiFp(configuration).processTwilioVoicemailWebhook(from, options)(axios, basePath);
5904
+ },
5858
5905
  };
5859
5906
  };
5860
5907
  var IncomingWebhooksApi = (function (_super) {
@@ -5874,6 +5921,9 @@ var IncomingWebhooksApi = (function (_super) {
5874
5921
  IncomingWebhooksApi.prototype.processTwilioIvrWebhooksWithGatherAction = function (ivrCallId, gatherAction, options) {
5875
5922
  return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(this.axios, this.basePath);
5876
5923
  };
5924
+ IncomingWebhooksApi.prototype.processTwilioVoicemailWebhook = function (from, options) {
5925
+ return exports.IncomingWebhooksApiFp(this.configuration).processTwilioVoicemailWebhook(from, options)(this.axios, this.basePath);
5926
+ };
5877
5927
  return IncomingWebhooksApi;
5878
5928
  }(base_1.BaseAPI));
5879
5929
  exports.IncomingWebhooksApi = IncomingWebhooksApi;
@@ -8143,6 +8193,29 @@ exports.OrganizationsApiAxiosParamCreator = function (configuration) {
8143
8193
  options: localVarRequestOptions,
8144
8194
  };
8145
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
+ },
8146
8219
  getChildren: function (id, options) {
8147
8220
  if (options === void 0) { options = {}; }
8148
8221
  if (id === null || id === undefined) {
@@ -8166,6 +8239,29 @@ exports.OrganizationsApiAxiosParamCreator = function (configuration) {
8166
8239
  options: localVarRequestOptions,
8167
8240
  };
8168
8241
  },
8242
+ getOrganizationMetrics: function (organizationId, options) {
8243
+ if (options === void 0) { options = {}; }
8244
+ if (organizationId === null || organizationId === undefined) {
8245
+ throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling getOrganizationMetrics.');
8246
+ }
8247
+ var localVarPath = "/v2/organizations/{organizationId}/metrics"
8248
+ .replace("{" + "organizationId" + "}", encodeURIComponent(String(organizationId)));
8249
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
8250
+ var baseOptions;
8251
+ if (configuration) {
8252
+ baseOptions = configuration.baseOptions;
8253
+ }
8254
+ var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
8255
+ var localVarHeaderParameter = {};
8256
+ var localVarQueryParameter = {};
8257
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
8258
+ delete localVarUrlObj.search;
8259
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
8260
+ return {
8261
+ url: globalImportUrl.format(localVarUrlObj),
8262
+ options: localVarRequestOptions,
8263
+ };
8264
+ },
8169
8265
  getOrganizationVerticals: function (id, options) {
8170
8266
  if (options === void 0) { options = {}; }
8171
8267
  if (id === null || id === undefined) {
@@ -8596,6 +8692,15 @@ exports.OrganizationsApiFp = function (configuration) {
8596
8692
  return axios.request(axiosRequestArgs);
8597
8693
  };
8598
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
+ },
8599
8704
  getChildren: function (id, options) {
8600
8705
  var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getChildren(id, options);
8601
8706
  return function (axios, basePath) {
@@ -8605,6 +8710,15 @@ exports.OrganizationsApiFp = function (configuration) {
8605
8710
  return axios.request(axiosRequestArgs);
8606
8711
  };
8607
8712
  },
8713
+ getOrganizationMetrics: function (organizationId, options) {
8714
+ var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getOrganizationMetrics(organizationId, options);
8715
+ return function (axios, basePath) {
8716
+ if (axios === void 0) { axios = axios_1.default; }
8717
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
8718
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
8719
+ return axios.request(axiosRequestArgs);
8720
+ };
8721
+ },
8608
8722
  getOrganizationVerticals: function (id, options) {
8609
8723
  var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getOrganizationVerticals(id, options);
8610
8724
  return function (axios, basePath) {
@@ -8753,9 +8867,15 @@ exports.OrganizationsApiFactory = function (configuration, basePath, axios) {
8753
8867
  findOrganizationById: function (id, options) {
8754
8868
  return exports.OrganizationsApiFp(configuration).findOrganizationById(id, options)(axios, basePath);
8755
8869
  },
8870
+ getCashDepositScheme: function (id, options) {
8871
+ return exports.OrganizationsApiFp(configuration).getCashDepositScheme(id, options)(axios, basePath);
8872
+ },
8756
8873
  getChildren: function (id, options) {
8757
8874
  return exports.OrganizationsApiFp(configuration).getChildren(id, options)(axios, basePath);
8758
8875
  },
8876
+ getOrganizationMetrics: function (organizationId, options) {
8877
+ return exports.OrganizationsApiFp(configuration).getOrganizationMetrics(organizationId, options)(axios, basePath);
8878
+ },
8759
8879
  getOrganizationVerticals: function (id, options) {
8760
8880
  return exports.OrganizationsApiFp(configuration).getOrganizationVerticals(id, options)(axios, basePath);
8761
8881
  },
@@ -8835,9 +8955,15 @@ var OrganizationsApi = (function (_super) {
8835
8955
  OrganizationsApi.prototype.findOrganizationById = function (id, options) {
8836
8956
  return exports.OrganizationsApiFp(this.configuration).findOrganizationById(id, options)(this.axios, this.basePath);
8837
8957
  };
8958
+ OrganizationsApi.prototype.getCashDepositScheme = function (id, options) {
8959
+ return exports.OrganizationsApiFp(this.configuration).getCashDepositScheme(id, options)(this.axios, this.basePath);
8960
+ };
8838
8961
  OrganizationsApi.prototype.getChildren = function (id, options) {
8839
8962
  return exports.OrganizationsApiFp(this.configuration).getChildren(id, options)(this.axios, this.basePath);
8840
8963
  };
8964
+ OrganizationsApi.prototype.getOrganizationMetrics = function (organizationId, options) {
8965
+ return exports.OrganizationsApiFp(this.configuration).getOrganizationMetrics(organizationId, options)(this.axios, this.basePath);
8966
+ };
8841
8967
  OrganizationsApi.prototype.getOrganizationVerticals = function (id, options) {
8842
8968
  return exports.OrganizationsApiFp(this.configuration).getOrganizationVerticals(id, options)(this.axios, this.basePath);
8843
8969
  };