@medipass/web-sdk 11.58.1-feature-healthpoint-registration-application-endpoints.0 → 11.58.1-feature-export-daily-remittance-endpoints.1

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.
Files changed (95) hide show
  1. package/lib/index.js +1 -1
  2. package/lib/resources/abr.js +1 -1
  3. package/lib/resources/accounts.js +1 -1
  4. package/lib/resources/actions.js +1 -1
  5. package/lib/resources/api-keys.js +1 -1
  6. package/lib/resources/applications.js +1 -1
  7. package/lib/resources/attachments.js +1 -1
  8. package/lib/resources/auth.js +1 -1
  9. package/lib/resources/blacklist.js +1 -1
  10. package/lib/resources/bulk-submits.js +1 -1
  11. package/lib/resources/bulk-uploads.js +1 -1
  12. package/lib/resources/business-profiles.js +1 -1
  13. package/lib/resources/businesses.js +1 -1
  14. package/lib/resources/claim-items.js +1 -1
  15. package/lib/resources/devices.js +1 -1
  16. package/lib/resources/doc-accounts.js +1 -1
  17. package/lib/resources/documents.d.ts +1 -26
  18. package/lib/resources/documents.js +1 -6
  19. package/lib/resources/emails.js +1 -1
  20. package/lib/resources/filter-options.js +1 -1
  21. package/lib/resources/form-application-templates.js +1 -1
  22. package/lib/resources/form-applications.js +1 -1
  23. package/lib/resources/forms.js +1 -1
  24. package/lib/resources/funder-services.js +1 -1
  25. package/lib/resources/funder-settings.js +1 -1
  26. package/lib/resources/funder-values.js +1 -1
  27. package/lib/resources/funders.js +1 -1
  28. package/lib/resources/futures.js +1 -1
  29. package/lib/resources/health-fund-accounts.js +1 -1
  30. package/lib/resources/health-fund-settings.js +1 -1
  31. package/lib/resources/healthfunds.js +1 -1
  32. package/lib/resources/icditems.js +1 -1
  33. package/lib/resources/invoice-scans.js +1 -1
  34. package/lib/resources/jhcs.js +1 -1
  35. package/lib/resources/kyc.js +1 -1
  36. package/lib/resources/logs.js +1 -1
  37. package/lib/resources/members.js +1 -1
  38. package/lib/resources/message-mappings.js +1 -1
  39. package/lib/resources/minions.js +1 -1
  40. package/lib/resources/modalities.js +1 -1
  41. package/lib/resources/notes.js +1 -1
  42. package/lib/resources/onboarding-applications.js +1 -1
  43. package/lib/resources/onboarding-requests.js +1 -1
  44. package/lib/resources/ops.js +1 -1
  45. package/lib/resources/organisations.js +1 -1
  46. package/lib/resources/partners.js +1 -1
  47. package/lib/resources/patients.js +1 -1
  48. package/lib/resources/payments.js +1 -1
  49. package/lib/resources/pms.js +1 -1
  50. package/lib/resources/practice-profiles.js +1 -1
  51. package/lib/resources/practice-types.js +1 -1
  52. package/lib/resources/practices.js +1 -1
  53. package/lib/resources/products.js +1 -1
  54. package/lib/resources/professional-categories.js +1 -1
  55. package/lib/resources/provider-number-types.js +1 -1
  56. package/lib/resources/provider-registration-types.js +1 -1
  57. package/lib/resources/provider-requests.js +1 -1
  58. package/lib/resources/provider-types.js +1 -1
  59. package/lib/resources/ref-sources.js +1 -1
  60. package/lib/resources/risk.js +1 -1
  61. package/lib/resources/rnas.js +1 -1
  62. package/lib/resources/roles.js +1 -1
  63. package/lib/resources/self-checkout-sessions.js +1 -1
  64. package/lib/resources/services.js +1 -1
  65. package/lib/resources/settlements.d.ts +35 -1
  66. package/lib/resources/settlements.js +4 -1
  67. package/lib/resources/sign-up.js +1 -1
  68. package/lib/resources/specialties.js +1 -1
  69. package/lib/resources/staff-profiles.js +1 -1
  70. package/lib/resources/staff.js +1 -1
  71. package/lib/resources/statistics.js +1 -1
  72. package/lib/resources/subscriptions.js +1 -1
  73. package/lib/resources/terminals.js +1 -1
  74. package/lib/resources/transaction-export.js +1 -1
  75. package/lib/resources/transactions.js +1 -1
  76. package/lib/resources/triggers.js +1 -1
  77. package/lib/resources/vendors.js +1 -1
  78. package/lib/resources/verify.js +1 -1
  79. package/lib/resources/workers.js +1 -1
  80. package/lib/resources/workflow-exceptions.js +1 -1
  81. package/lib/services/aws.js +1 -1
  82. package/lib/services/version.js +1 -1
  83. package/lib/{staff-bd374256.js → staff-e73cf1d1.js} +76 -89
  84. package/lib/types/business.d.ts +3 -14
  85. package/lib/types/documents.d.ts +1 -57
  86. package/lib/types/index.d.ts +1 -0
  87. package/lib/types/provider-set-item.d.ts +11 -35
  88. package/lib/types/settlement-export.d.ts +23 -0
  89. package/lib/types/settlement-export.js +2 -0
  90. package/lib/types/staff-member.d.ts +1 -7
  91. package/lib/utils/application.js +1 -1
  92. package/lib/utils/professions.js +1 -1
  93. package/lib/utils/request.js +1 -1
  94. package/lib/utils/staff.js +1 -1
  95. package/package.json +3 -3
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -1,4 +1,38 @@
1
- import type { MedipassRequestOpts } from '../types';
1
+ import type { MedipassRequestOpts, CheckStatusOfBusinessSettlementExport } from '../types';
2
+ /**
3
+ * This set of functions is used to export all daily remittances for a business.
4
+ * The first function, initiateBusinessSettlementExport, will kick off a worker that will generate the file and return an S3 file ID.
5
+ * The second function, checkStatusOfBusinessSettlementExport, can be used to query the file ID until the status is completed or errored.
6
+ * The third function, downloadBusinessSettlementExport, can be used to download the file from S3 when the status is completed.
7
+ */
8
+ /**
9
+ * @param {String} businessId - Business ID
10
+ * @param {Object} query - Query parameters
11
+ * @param {Object} opts - Additional options
12
+ */
13
+ export declare const initiateBusinessSettlementExport: (businessId: string, query: {
14
+ from?: string;
15
+ fromFilterOptionIds?: string;
16
+ includesFilterOptionIds?: string;
17
+ practiceIds?: string;
18
+ to?: string;
19
+ }, opts?: MedipassRequestOpts) => Promise<{
20
+ s3FileId: string;
21
+ }>;
22
+ /**
23
+ * @param {String} businessId - Business ID
24
+ * @param {String} s3FileId - S3File ID
25
+ * @param {Object} opts - Additional options
26
+ */
27
+ export declare const checkStatusOfBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<CheckStatusOfBusinessSettlementExport>;
28
+ /**
29
+ * @param {String} businessId - Business ID
30
+ * @param {String} s3FileId - S3File ID
31
+ * @param {Object} opts - Additional options
32
+ */
33
+ export declare const downloadBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<{
34
+ s3SignedUrl: string;
35
+ }>;
2
36
  /**
3
37
  * Get business settlements
4
38
  * @param {String} businessId - Business ID
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -46,8 +46,11 @@ require('../regions-5bf75df6.js');
46
46
 
47
47
 
48
48
 
49
+ exports.checkStatusOfBusinessSettlementExport = request.checkStatusOfBusinessSettlementExport;
50
+ exports.downloadBusinessSettlementExport = request.downloadBusinessSettlementExport;
49
51
  exports.getBusinessSettlementSummaries = request.getBusinessSettlementSummaries;
50
52
  exports.getBusinessSettlementSummariesByPeriod = request.getBusinessSettlementSummariesByPeriod;
51
53
  exports.getBusinessSettlementSummariesSearchOptions = request.getBusinessSettlementSummariesSearchOptions;
52
54
  exports.getBusinessSettlementSummaryById = request.getBusinessSettlementSummaryById;
53
55
  exports.getBusinessSettlements = request.getBusinessSettlements;
56
+ exports.initiateBusinessSettlementExport = request.initiateBusinessSettlementExport;
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('../utils/get-axios-error.js');
17
- var request = require('../staff-bd374256.js');
17
+ var request = require('../staff-e73cf1d1.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -5039,12 +5039,6 @@ var pathHealthFundDocumentTag = function pathHealthFundDocumentTag(healthFundId,
5039
5039
  var pathHealthFundDocuments = function pathHealthFundDocuments(healthFundId) {
5040
5040
  return "/healthfunds/" + healthFundId + "/documents";
5041
5041
  };
5042
- var pathHealthFundHealthPointRegistrationApplication = function pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId) {
5043
- return "/healthfunds/" + healthFundId + "/healthpointregistrationapplications/" + healthPointRegistrationApplicationId;
5044
- };
5045
- var pathHealthFundHealthPointActivateDigitalClaiming = function pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId) {
5046
- return "/healthfunds/" + healthFundId + "/healthpointregistrationapplications/" + healthPointRegistrationApplicationId + "/submits";
5047
- };
5048
5042
  /**
5049
5043
  * Approve health fund document
5050
5044
  * @param {String} healthFundId - Business ID
@@ -5291,76 +5285,6 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
5291
5285
  data: body
5292
5286
  });
5293
5287
  };
5294
- /**
5295
- * Get HealthPoint Registration Applications
5296
- * @param {String} healthFundId - Business ID
5297
- * @param {String} healthPointRegistrationApplicationId - Document ID
5298
- * @param {Object} opts - Additional options
5299
- */
5300
-
5301
- var getHealthPointRegistrationApplication = function getHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId, opts) {
5302
- if (opts === void 0) {
5303
- opts = {};
5304
- }
5305
-
5306
- doesParamExist.default({
5307
- healthFundId: healthFundId,
5308
- healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5309
- }, opts.hyperMediaEndpoint);
5310
- return request(_objectSpread$h({}, opts, {
5311
- path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
5312
- }), {
5313
- method: 'get'
5314
- });
5315
- };
5316
- /**
5317
- * Update HealthPoint Registration Application
5318
- * @param {String} healthFundId - Business ID
5319
- * @param {String} healthPointRegistrationApplicationId - Document ID
5320
- * @param {Object} body - Request body
5321
- * @param {Object} opts - Additional options
5322
- */
5323
-
5324
- var updateHealthPointRegistrationApplication = function updateHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId, body, opts) {
5325
- if (opts === void 0) {
5326
- opts = {};
5327
- }
5328
-
5329
- doesParamExist.default({
5330
- healthFundId: healthFundId,
5331
- healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5332
- }, opts.hyperMediaEndpoint);
5333
- return request(_objectSpread$h({}, opts, {
5334
- path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
5335
- }), {
5336
- method: 'put',
5337
- data: body
5338
- });
5339
- };
5340
- /**
5341
- * Activate HealthPoint Digital Claiming
5342
- * @param {String} healthFundId - Business ID
5343
- * @param {String} healthPointRegistrationApplicationId - Document ID
5344
- * @param {Object} body - Request body
5345
- * @param {Object} opts - Additional options
5346
- */
5347
-
5348
- var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClaiming(healthFundId, healthPointRegistrationApplicationId, body, opts) {
5349
- if (opts === void 0) {
5350
- opts = {};
5351
- }
5352
-
5353
- doesParamExist.default({
5354
- healthFundId: healthFundId,
5355
- healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5356
- }, opts.hyperMediaEndpoint);
5357
- return request(_objectSpread$h({}, opts, {
5358
- path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
5359
- }), {
5360
- method: 'post',
5361
- data: body
5362
- });
5363
- };
5364
5288
 
5365
5289
  var documents = /*#__PURE__*/Object.freeze({
5366
5290
  __proto__: null,
@@ -5375,8 +5299,6 @@ var documents = /*#__PURE__*/Object.freeze({
5375
5299
  pathHealthFundDocumentPark: pathHealthFundDocumentPark,
5376
5300
  pathHealthFundDocumentTag: pathHealthFundDocumentTag,
5377
5301
  pathHealthFundDocuments: pathHealthFundDocuments,
5378
- pathHealthFundHealthPointRegistrationApplication: pathHealthFundHealthPointRegistrationApplication,
5379
- pathHealthFundHealthPointActivateDigitalClaiming: pathHealthFundHealthPointActivateDigitalClaiming,
5380
5302
  approveHealthFundDocument: approveHealthFundDocument,
5381
5303
  assignHealthFundDocumentToMe: assignHealthFundDocumentToMe,
5382
5304
  cancelBusinessDocument: cancelBusinessDocument,
@@ -5387,10 +5309,7 @@ var documents = /*#__PURE__*/Object.freeze({
5387
5309
  getBusinessDocument: getBusinessDocument,
5388
5310
  getHealthFundDocuments: getHealthFundDocuments,
5389
5311
  getHealthFundDocument: getHealthFundDocument,
5390
- parkHealthFundDocument: parkHealthFundDocument,
5391
- getHealthPointRegistrationApplication: getHealthPointRegistrationApplication,
5392
- updateHealthPointRegistrationApplication: updateHealthPointRegistrationApplication,
5393
- activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
5312
+ parkHealthFundDocument: parkHealthFundDocument
5394
5313
  });
5395
5314
 
5396
5315
  function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -15270,18 +15189,85 @@ function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if
15270
15189
 
15271
15190
  function _objectSpread$$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$$(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15272
15191
 
15273
- // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15274
15192
  var pathBusiness$1 = function pathBusiness(businessId) {
15275
15193
  return "/businesses/" + businessId;
15276
15194
  };
15277
15195
  /**
15278
- * Get business settlements
15196
+ * This set of functions is used to export all daily remittances for a business.
15197
+ * The first function, initiateBusinessSettlementExport, will kick off a worker that will generate the file and return an S3 file ID.
15198
+ * The second function, checkStatusOfBusinessSettlementExport, can be used to query the file ID until the status is completed or errored.
15199
+ * The third function, downloadBusinessSettlementExport, can be used to download the file from S3 when the status is completed.
15200
+ */
15201
+
15202
+ /**
15279
15203
  * @param {String} businessId - Business ID
15280
15204
  * @param {Object} query - Query parameters
15281
15205
  * @param {Object} opts - Additional options
15282
15206
  */
15283
15207
 
15284
15208
 
15209
+ var initiateBusinessSettlementExport = function initiateBusinessSettlementExport(businessId, query, opts) {
15210
+ if (opts === void 0) {
15211
+ opts = {};
15212
+ }
15213
+
15214
+ doesParamExist.default({
15215
+ businessId: businessId
15216
+ }, opts.hyperMediaEndpoint);
15217
+ return request(_objectSpread$$({}, opts, {
15218
+ path: pathBusiness$1(businessId) + "/settlementsummaries/csv"
15219
+ }), {
15220
+ method: 'post',
15221
+ params: query
15222
+ });
15223
+ };
15224
+ /**
15225
+ * @param {String} businessId - Business ID
15226
+ * @param {String} s3FileId - S3File ID
15227
+ * @param {Object} opts - Additional options
15228
+ */
15229
+
15230
+ var checkStatusOfBusinessSettlementExport = function checkStatusOfBusinessSettlementExport(businessId, s3FileId, opts) {
15231
+ if (opts === void 0) {
15232
+ opts = {};
15233
+ }
15234
+
15235
+ doesParamExist.default({
15236
+ businessId: businessId
15237
+ }, opts.hyperMediaEndpoint);
15238
+ return request(_objectSpread$$({}, opts, {
15239
+ path: pathBusiness$1(businessId) + "/s3files/" + s3FileId
15240
+ }), {
15241
+ method: 'get'
15242
+ });
15243
+ };
15244
+ /**
15245
+ * @param {String} businessId - Business ID
15246
+ * @param {String} s3FileId - S3File ID
15247
+ * @param {Object} opts - Additional options
15248
+ */
15249
+
15250
+ var downloadBusinessSettlementExport = function downloadBusinessSettlementExport(businessId, s3FileId, opts) {
15251
+ if (opts === void 0) {
15252
+ opts = {};
15253
+ }
15254
+
15255
+ doesParamExist.default({
15256
+ businessId: businessId
15257
+ }, opts.hyperMediaEndpoint);
15258
+ return request(_objectSpread$$({}, opts, {
15259
+ path: pathBusiness$1(businessId) + "/s3files/" + s3FileId + "/s3signedurl"
15260
+ }), {
15261
+ method: 'get'
15262
+ });
15263
+ };
15264
+ /**
15265
+ * Get business settlements
15266
+ * @param {String} businessId - Business ID
15267
+ * @param {Object} query - Query parameters
15268
+ * @param {Object} opts - Additional options
15269
+ */
15270
+
15285
15271
  var getBusinessSettlements = function getBusinessSettlements(businessId, query, opts) {
15286
15272
  if (query === void 0) {
15287
15273
  query = {};
@@ -15412,6 +15398,9 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
15412
15398
 
15413
15399
  var settlements = /*#__PURE__*/Object.freeze({
15414
15400
  __proto__: null,
15401
+ initiateBusinessSettlementExport: initiateBusinessSettlementExport,
15402
+ checkStatusOfBusinessSettlementExport: checkStatusOfBusinessSettlementExport,
15403
+ downloadBusinessSettlementExport: downloadBusinessSettlementExport,
15415
15404
  getBusinessSettlements: getBusinessSettlements,
15416
15405
  getBusinessSettlementSummaries: getBusinessSettlementSummaries,
15417
15406
  getBusinessSettlementSummariesByPeriod: getBusinessSettlementSummariesByPeriod,
@@ -23066,7 +23055,6 @@ exports.abr = abr;
23066
23055
  exports.acceptInvite = acceptInvite;
23067
23056
  exports.accounts = accounts;
23068
23057
  exports.actions = actions;
23069
- exports.activateHealthPointDigitalClaiming = activateHealthPointDigitalClaiming;
23070
23058
  exports.addBeneficialOwner = addBeneficialOwner;
23071
23059
  exports.addHealthFundAccountToSelfCheckoutSession = addHealthFundAccountToSelfCheckoutSession;
23072
23060
  exports.addMemberToSelfCheckoutSession = addMemberToSelfCheckoutSession;
@@ -23108,6 +23096,7 @@ exports.checkDupe = checkDupe;
23108
23096
  exports.checkDupe$1 = checkDupe$1;
23109
23097
  exports.checkRNAExists = checkRNAExists;
23110
23098
  exports.checkStaffMemberEmailExists = checkStaffMemberEmailExists;
23099
+ exports.checkStatusOfBusinessSettlementExport = checkStatusOfBusinessSettlementExport;
23111
23100
  exports.claimItems = claimItems;
23112
23101
  exports.clonePracticeIntoBusiness = clonePracticeIntoBusiness;
23113
23102
  exports.cloneStaffMemberIntoBusiness = cloneStaffMemberIntoBusiness;
@@ -23224,6 +23213,7 @@ exports.discoverMember = discoverMember;
23224
23213
  exports.discoverMember$1 = discoverMember$1;
23225
23214
  exports.docAccounts = docAccounts;
23226
23215
  exports.documents = documents;
23216
+ exports.downloadBusinessSettlementExport = downloadBusinessSettlementExport;
23227
23217
  exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
23228
23218
  exports.emails = emails;
23229
23219
  exports.enableAccount = enableAccount;
@@ -23400,7 +23390,6 @@ exports.getHealthFundVendors = getHealthFundVendors;
23400
23390
  exports.getHealthFundWorkflowExceptions = getHealthFundWorkflowExceptions;
23401
23391
  exports.getHealthFunds = getHealthFunds;
23402
23392
  exports.getHealthFundsForAccount = getHealthFundsForAccount;
23403
- exports.getHealthPointRegistrationApplication = getHealthPointRegistrationApplication;
23404
23393
  exports.getICDItems = getICDItems;
23405
23394
  exports.getInvoiceScan = getInvoiceScan;
23406
23395
  exports.getInvoiceScanUploadUrl = getInvoiceScanUploadUrl;
@@ -23500,6 +23489,7 @@ exports.impersonate = impersonate;
23500
23489
  exports.importBusinessPMSPractice = importBusinessPMSPractice;
23501
23490
  exports.importBusinessPMSService = importBusinessPMSService;
23502
23491
  exports.importBusinessPMSStaffMember = importBusinessPMSStaffMember;
23492
+ exports.initiateBusinessSettlementExport = initiateBusinessSettlementExport;
23503
23493
  exports.inviteAnyone = inviteAnyone;
23504
23494
  exports.inviteBusinessStaffMember = inviteBusinessStaffMember;
23505
23495
  exports.inviteHealthFundAccount = inviteHealthFundAccount;
@@ -23610,8 +23600,6 @@ exports.pathHealthFundFormPublish = pathHealthFundFormPublish;
23610
23600
  exports.pathHealthFundFormUnpublish = pathHealthFundFormUnpublish;
23611
23601
  exports.pathHealthFundFormUploadUrl = pathHealthFundFormUploadUrl;
23612
23602
  exports.pathHealthFundForms = pathHealthFundForms;
23613
- exports.pathHealthFundHealthPointActivateDigitalClaiming = pathHealthFundHealthPointActivateDigitalClaiming;
23614
- exports.pathHealthFundHealthPointRegistrationApplication = pathHealthFundHealthPointRegistrationApplication;
23615
23603
  exports.pathHealthFundNote = pathHealthFundNote;
23616
23604
  exports.pathHealthFundRNA = pathHealthFundRNA;
23617
23605
  exports.pathHealthFundRNAAppointment = pathHealthFundRNAAppointment;
@@ -23805,7 +23793,6 @@ exports.updateHealthFund = updateHealthFund;
23805
23793
  exports.updateHealthFundForm = updateHealthFundForm;
23806
23794
  exports.updateHealthFundNote = updateHealthFundNote;
23807
23795
  exports.updateHealthFundSetting = updateHealthFundSetting;
23808
- exports.updateHealthPointRegistrationApplication = updateHealthPointRegistrationApplication;
23809
23796
  exports.updateMember = updateMember;
23810
23797
  exports.updateMembersHealthFundAccounts = updateMembersHealthFundAccounts;
23811
23798
  exports.updateMinionForHealthFund = updateMinionForHealthFund;
@@ -67,22 +67,11 @@ export interface Business {
67
67
  _links: BusinessLinks;
68
68
  }
69
69
  export declare type ShortBusinessResponse = {
70
- abn: string;
71
- address: string;
72
- city: string;
73
70
  contactInfo: BusinessContactInformation;
74
- country: string;
75
- countryCode: string;
76
- displayName: string;
77
- fullName: string;
78
- gmapsPlaceId: string;
79
- lnglat: [number, number];
80
- postcode: string;
81
- route: string;
82
- state: string;
83
- streetNumber: string;
84
- subpremise: string | null;
85
71
  _id: string;
72
+ fullName: string;
73
+ displayName: string;
74
+ abn: string;
86
75
  };
87
76
  declare type BusinessContactInformation = {
88
77
  landline: string;