@reposit/api-client 6.49.1-beta.0 → 6.50.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
@@ -1518,6 +1518,12 @@ export interface OrganizationMessages {
1518
1518
  featureBankAccounts?: boolean;
1519
1519
  warningBankAccounts?: boolean;
1520
1520
  }
1521
+ export interface OrganizationMetricsDTO {
1522
+ pendingRepositCount: number;
1523
+ overdueRepositCount: number;
1524
+ awaitingSupplierResponseCount: number;
1525
+ awaitingSubstantiationCount: number;
1526
+ }
1521
1527
  export interface OrganizationRecipientDTO {
1522
1528
  id: string;
1523
1529
  group: OrganizationRecipientDTOGroupEnum;
@@ -1897,7 +1903,9 @@ export declare enum QueueMessageDTOTypeEnum {
1897
1903
  EVIDENCECHASEREXPIREDNOTIFICATION = "EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1898
1904
  ARBITRATIONSENTNOTIFICATION = "ARBITRATION_SENT_NOTIFICATION",
1899
1905
  IVRCALLPROCESSING = "IVR_CALL_PROCESSING",
1900
- PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK"
1906
+ PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK",
1907
+ PROCESSTWILIOVOICEMAILWEBHOOK = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK",
1908
+ PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER"
1901
1909
  }
1902
1910
  export declare enum QueueMessageDTOCronNameEnum {
1903
1911
  DAILYKPIS = "DAILY_KPIS",
@@ -1938,7 +1946,8 @@ export declare enum QueueMessageDTOCronNameEnum {
1938
1946
  DAILYEVIDENCECHASERREMINDER = "DAILY_EVIDENCE_CHASER_REMINDER",
1939
1947
  DAILYEVIDENCECHASEREXPIREDNOTIFICATION = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1940
1948
  DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION",
1941
- DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING"
1949
+ DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING",
1950
+ WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER"
1942
1951
  }
1943
1952
  export interface ReconciliationDocumentDTO {
1944
1953
  document: DocumentDTO;
@@ -3520,30 +3529,35 @@ export declare const IncomingWebhooksApiAxiosParamCreator: (configuration?: Conf
3520
3529
  processStripeWebhooks(options?: any): RequestArgs;
3521
3530
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): RequestArgs;
3522
3531
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): RequestArgs;
3532
+ processTwilioVoicemailWebhook(from: string, options?: any): RequestArgs;
3523
3533
  };
3524
3534
  export declare const IncomingWebhooksApiFp: (configuration?: Configuration) => {
3525
3535
  processSendGridWebhooks(requestBody: string[], options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3526
3536
  processStripeWebhooks(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3527
3537
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3528
3538
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
3539
+ processTwilioVoicemailWebhook(from: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3529
3540
  };
3530
3541
  export declare const IncomingWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3531
3542
  processSendGridWebhooks(requestBody: string[], options?: any): AxiosPromise<object>;
3532
3543
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3533
3544
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3534
3545
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
3546
+ processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
3535
3547
  };
3536
3548
  export interface IncomingWebhooksApiInterface {
3537
3549
  processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
3538
3550
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3539
3551
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3540
3552
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<{}>;
3553
+ processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
3541
3554
  }
3542
3555
  export declare class IncomingWebhooksApi extends BaseAPI implements IncomingWebhooksApiInterface {
3543
3556
  processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
3544
3557
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3545
3558
  processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3546
3559
  processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
3560
+ processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
3547
3561
  }
3548
3562
  export declare const InsuranceClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
3549
3563
  createInsuranceClaim(policyId: string, createInsuranceClaimDTO: CreateInsuranceClaimDTO, options?: any): RequestArgs;
@@ -3924,6 +3938,7 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
3924
3938
  fetchUsersByOrganizationId(id: string, options?: any): RequestArgs;
3925
3939
  findOrganizationById(id: string, options?: any): RequestArgs;
3926
3940
  getChildren(id: string, options?: any): RequestArgs;
3941
+ getOrganizationMetrics(organizationId: string, options?: any): RequestArgs;
3927
3942
  getOrganizationVerticals(id: string, options?: any): RequestArgs;
3928
3943
  getRecipients(id: string, options?: any): RequestArgs;
3929
3944
  removeUser(id: string, userId: string, options?: any): RequestArgs;
@@ -3951,6 +3966,7 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
3951
3966
  fetchUsersByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDTO[]>;
3952
3967
  findOrganizationById(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO>;
3953
3968
  getChildren(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO[]>;
3969
+ getOrganizationMetrics(organizationId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationMetricsDTO>;
3954
3970
  getOrganizationVerticals(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationVerticalDTO[]>;
3955
3971
  getRecipients(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationRecipientDTO[]>;
3956
3972
  removeUser(id: string, userId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
@@ -3978,6 +3994,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
3978
3994
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
3979
3995
  findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
3980
3996
  getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
3997
+ getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
3981
3998
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
3982
3999
  getRecipients(id: string, options?: any): AxiosPromise<OrganizationRecipientDTO[]>;
3983
4000
  removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
@@ -4005,6 +4022,7 @@ export interface OrganizationsApiInterface {
4005
4022
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<Array<UserDTO>>;
4006
4023
  findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4007
4024
  getChildren(id: string, options?: any): AxiosPromise<Array<OrganizationDTO>>;
4025
+ getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
4008
4026
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<Array<OrganizationVerticalDTO>>;
4009
4027
  getRecipients(id: string, options?: any): AxiosPromise<Array<OrganizationRecipientDTO>>;
4010
4028
  removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
@@ -4032,6 +4050,7 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
4032
4050
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
4033
4051
  findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
4034
4052
  getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
4053
+ getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
4035
4054
  getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
4036
4055
  getRecipients(id: string, options?: any): AxiosPromise<OrganizationRecipientDTO[]>;
4037
4056
  removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
package/dist/api.js CHANGED
@@ -776,6 +776,8 @@ var QueueMessageDTOTypeEnum;
776
776
  QueueMessageDTOTypeEnum["ARBITRATIONSENTNOTIFICATION"] = "ARBITRATION_SENT_NOTIFICATION";
777
777
  QueueMessageDTOTypeEnum["IVRCALLPROCESSING"] = "IVR_CALL_PROCESSING";
778
778
  QueueMessageDTOTypeEnum["PROCESSTWILIOIVRWEBHOOK"] = "PROCESS_TWILIO_IVR_WEBHOOK";
779
+ QueueMessageDTOTypeEnum["PROCESSTWILIOVOICEMAILWEBHOOK"] = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK";
780
+ QueueMessageDTOTypeEnum["PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER"] = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER";
779
781
  })(QueueMessageDTOTypeEnum = exports.QueueMessageDTOTypeEnum || (exports.QueueMessageDTOTypeEnum = {}));
780
782
  var QueueMessageDTOCronNameEnum;
781
783
  (function (QueueMessageDTOCronNameEnum) {
@@ -818,6 +820,7 @@ var QueueMessageDTOCronNameEnum;
818
820
  QueueMessageDTOCronNameEnum["DAILYEVIDENCECHASEREXPIREDNOTIFICATION"] = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION";
819
821
  QueueMessageDTOCronNameEnum["DAILYARBITRATIONSENTNOTIFICATION"] = "DAILY_ARBITRATION_SENT_NOTIFICATION";
820
822
  QueueMessageDTOCronNameEnum["DAILYIVRCALLPROCESSING"] = "DAILY_IVR_CALL_PROCESSING";
823
+ QueueMessageDTOCronNameEnum["WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER"] = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER";
821
824
  })(QueueMessageDTOCronNameEnum = exports.QueueMessageDTOCronNameEnum || (exports.QueueMessageDTOCronNameEnum = {}));
822
825
  var ReferenceDTOStatusEnum;
823
826
  (function (ReferenceDTOStatusEnum) {
@@ -5799,6 +5802,31 @@ exports.IncomingWebhooksApiAxiosParamCreator = function (configuration) {
5799
5802
  options: localVarRequestOptions,
5800
5803
  };
5801
5804
  },
5805
+ processTwilioVoicemailWebhook: function (from, options) {
5806
+ if (options === void 0) { options = {}; }
5807
+ if (from === null || from === undefined) {
5808
+ throw new base_1.RequiredError('from', 'Required parameter from was null or undefined when calling processTwilioVoicemailWebhook.');
5809
+ }
5810
+ var localVarPath = "/v2/webhooks/twilio-voicemail";
5811
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
5812
+ var baseOptions;
5813
+ if (configuration) {
5814
+ baseOptions = configuration.baseOptions;
5815
+ }
5816
+ var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
5817
+ var localVarHeaderParameter = {};
5818
+ var localVarQueryParameter = {};
5819
+ if (from !== undefined) {
5820
+ localVarQueryParameter['From'] = from;
5821
+ }
5822
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
5823
+ delete localVarUrlObj.search;
5824
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
5825
+ return {
5826
+ url: globalImportUrl.format(localVarUrlObj),
5827
+ options: localVarRequestOptions,
5828
+ };
5829
+ },
5802
5830
  };
5803
5831
  };
5804
5832
  exports.IncomingWebhooksApiFp = function (configuration) {
@@ -5839,6 +5867,15 @@ exports.IncomingWebhooksApiFp = function (configuration) {
5839
5867
  return axios.request(axiosRequestArgs);
5840
5868
  };
5841
5869
  },
5870
+ processTwilioVoicemailWebhook: function (from, options) {
5871
+ var localVarAxiosArgs = exports.IncomingWebhooksApiAxiosParamCreator(configuration).processTwilioVoicemailWebhook(from, options);
5872
+ return function (axios, basePath) {
5873
+ if (axios === void 0) { axios = axios_1.default; }
5874
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
5875
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
5876
+ return axios.request(axiosRequestArgs);
5877
+ };
5878
+ },
5842
5879
  };
5843
5880
  };
5844
5881
  exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
@@ -5855,6 +5892,9 @@ exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
5855
5892
  processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
5856
5893
  return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(axios, basePath);
5857
5894
  },
5895
+ processTwilioVoicemailWebhook: function (from, options) {
5896
+ return exports.IncomingWebhooksApiFp(configuration).processTwilioVoicemailWebhook(from, options)(axios, basePath);
5897
+ },
5858
5898
  };
5859
5899
  };
5860
5900
  var IncomingWebhooksApi = (function (_super) {
@@ -5874,6 +5914,9 @@ var IncomingWebhooksApi = (function (_super) {
5874
5914
  IncomingWebhooksApi.prototype.processTwilioIvrWebhooksWithGatherAction = function (ivrCallId, gatherAction, options) {
5875
5915
  return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(this.axios, this.basePath);
5876
5916
  };
5917
+ IncomingWebhooksApi.prototype.processTwilioVoicemailWebhook = function (from, options) {
5918
+ return exports.IncomingWebhooksApiFp(this.configuration).processTwilioVoicemailWebhook(from, options)(this.axios, this.basePath);
5919
+ };
5877
5920
  return IncomingWebhooksApi;
5878
5921
  }(base_1.BaseAPI));
5879
5922
  exports.IncomingWebhooksApi = IncomingWebhooksApi;
@@ -8166,6 +8209,29 @@ exports.OrganizationsApiAxiosParamCreator = function (configuration) {
8166
8209
  options: localVarRequestOptions,
8167
8210
  };
8168
8211
  },
8212
+ getOrganizationMetrics: function (organizationId, options) {
8213
+ if (options === void 0) { options = {}; }
8214
+ if (organizationId === null || organizationId === undefined) {
8215
+ throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling getOrganizationMetrics.');
8216
+ }
8217
+ var localVarPath = "/v2/organizations/{organizationId}/metrics"
8218
+ .replace("{" + "organizationId" + "}", encodeURIComponent(String(organizationId)));
8219
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
8220
+ var baseOptions;
8221
+ if (configuration) {
8222
+ baseOptions = configuration.baseOptions;
8223
+ }
8224
+ var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
8225
+ var localVarHeaderParameter = {};
8226
+ var localVarQueryParameter = {};
8227
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
8228
+ delete localVarUrlObj.search;
8229
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
8230
+ return {
8231
+ url: globalImportUrl.format(localVarUrlObj),
8232
+ options: localVarRequestOptions,
8233
+ };
8234
+ },
8169
8235
  getOrganizationVerticals: function (id, options) {
8170
8236
  if (options === void 0) { options = {}; }
8171
8237
  if (id === null || id === undefined) {
@@ -8605,6 +8671,15 @@ exports.OrganizationsApiFp = function (configuration) {
8605
8671
  return axios.request(axiosRequestArgs);
8606
8672
  };
8607
8673
  },
8674
+ getOrganizationMetrics: function (organizationId, options) {
8675
+ var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getOrganizationMetrics(organizationId, options);
8676
+ return function (axios, basePath) {
8677
+ if (axios === void 0) { axios = axios_1.default; }
8678
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
8679
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
8680
+ return axios.request(axiosRequestArgs);
8681
+ };
8682
+ },
8608
8683
  getOrganizationVerticals: function (id, options) {
8609
8684
  var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getOrganizationVerticals(id, options);
8610
8685
  return function (axios, basePath) {
@@ -8756,6 +8831,9 @@ exports.OrganizationsApiFactory = function (configuration, basePath, axios) {
8756
8831
  getChildren: function (id, options) {
8757
8832
  return exports.OrganizationsApiFp(configuration).getChildren(id, options)(axios, basePath);
8758
8833
  },
8834
+ getOrganizationMetrics: function (organizationId, options) {
8835
+ return exports.OrganizationsApiFp(configuration).getOrganizationMetrics(organizationId, options)(axios, basePath);
8836
+ },
8759
8837
  getOrganizationVerticals: function (id, options) {
8760
8838
  return exports.OrganizationsApiFp(configuration).getOrganizationVerticals(id, options)(axios, basePath);
8761
8839
  },
@@ -8838,6 +8916,9 @@ var OrganizationsApi = (function (_super) {
8838
8916
  OrganizationsApi.prototype.getChildren = function (id, options) {
8839
8917
  return exports.OrganizationsApiFp(this.configuration).getChildren(id, options)(this.axios, this.basePath);
8840
8918
  };
8919
+ OrganizationsApi.prototype.getOrganizationMetrics = function (organizationId, options) {
8920
+ return exports.OrganizationsApiFp(this.configuration).getOrganizationMetrics(organizationId, options)(this.axios, this.basePath);
8921
+ };
8841
8922
  OrganizationsApi.prototype.getOrganizationVerticals = function (id, options) {
8842
8923
  return exports.OrganizationsApiFp(this.configuration).getOrganizationVerticals(id, options)(this.axios, this.basePath);
8843
8924
  };