@medipass/web-sdk 11.59.1-feature-healthpoint-registration-application-endpoints.0 → 11.60.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/lib/index.js +1 -1
  3. package/lib/resources/abr.js +1 -1
  4. package/lib/resources/accounts.js +1 -1
  5. package/lib/resources/actions.js +1 -1
  6. package/lib/resources/api-keys.js +1 -1
  7. package/lib/resources/applications.js +1 -1
  8. package/lib/resources/attachments.js +1 -1
  9. package/lib/resources/auth.js +1 -1
  10. package/lib/resources/blacklist.js +1 -1
  11. package/lib/resources/bulk-submits.js +1 -1
  12. package/lib/resources/bulk-uploads.js +1 -1
  13. package/lib/resources/business-profiles.js +1 -1
  14. package/lib/resources/businesses.js +1 -1
  15. package/lib/resources/claim-items.js +1 -1
  16. package/lib/resources/devices.js +1 -1
  17. package/lib/resources/doc-accounts.js +1 -1
  18. package/lib/resources/documents.d.ts +1 -26
  19. package/lib/resources/documents.js +1 -6
  20. package/lib/resources/emails.js +1 -1
  21. package/lib/resources/filter-options.js +1 -1
  22. package/lib/resources/form-application-templates.js +1 -1
  23. package/lib/resources/form-applications.js +1 -1
  24. package/lib/resources/forms.js +1 -1
  25. package/lib/resources/funder-services.js +1 -1
  26. package/lib/resources/funder-settings.js +1 -1
  27. package/lib/resources/funder-values.js +1 -1
  28. package/lib/resources/funders.js +1 -1
  29. package/lib/resources/futures.js +1 -1
  30. package/lib/resources/health-fund-accounts.js +1 -1
  31. package/lib/resources/health-fund-settings.js +1 -1
  32. package/lib/resources/healthfunds.js +1 -1
  33. package/lib/resources/icditems.js +1 -1
  34. package/lib/resources/invoice-scans.js +1 -1
  35. package/lib/resources/jhcs.js +1 -1
  36. package/lib/resources/kyc.js +1 -1
  37. package/lib/resources/logs.js +1 -1
  38. package/lib/resources/members.js +1 -1
  39. package/lib/resources/message-mappings.js +1 -1
  40. package/lib/resources/minions.js +1 -1
  41. package/lib/resources/modalities.js +1 -1
  42. package/lib/resources/notes.js +1 -1
  43. package/lib/resources/onboarding-applications.js +1 -1
  44. package/lib/resources/onboarding-requests.js +1 -1
  45. package/lib/resources/ops.js +1 -1
  46. package/lib/resources/organisations.js +1 -1
  47. package/lib/resources/partners.js +1 -1
  48. package/lib/resources/patients.js +1 -1
  49. package/lib/resources/payments.js +1 -1
  50. package/lib/resources/pms.js +1 -1
  51. package/lib/resources/practice-profiles.js +1 -1
  52. package/lib/resources/practice-types.js +1 -1
  53. package/lib/resources/practices.js +1 -1
  54. package/lib/resources/products.js +1 -1
  55. package/lib/resources/professional-categories.js +1 -1
  56. package/lib/resources/provider-number-types.js +1 -1
  57. package/lib/resources/provider-registration-types.js +1 -1
  58. package/lib/resources/provider-requests.js +1 -1
  59. package/lib/resources/provider-types.js +1 -1
  60. package/lib/resources/ref-sources.js +1 -1
  61. package/lib/resources/risk.js +1 -1
  62. package/lib/resources/rnas.js +1 -1
  63. package/lib/resources/roles.js +1 -1
  64. package/lib/resources/self-checkout-sessions.js +1 -1
  65. package/lib/resources/services.js +1 -1
  66. package/lib/resources/settlements.d.ts +33 -1
  67. package/lib/resources/settlements.js +4 -1
  68. package/lib/resources/sign-up.js +1 -1
  69. package/lib/resources/specialties.js +1 -1
  70. package/lib/resources/staff-profiles.js +1 -1
  71. package/lib/resources/staff.js +1 -1
  72. package/lib/resources/statistics.js +1 -1
  73. package/lib/resources/subscriptions.js +1 -1
  74. package/lib/resources/terminals.js +1 -1
  75. package/lib/resources/transaction-export.js +1 -1
  76. package/lib/resources/transactions.js +1 -1
  77. package/lib/resources/triggers.js +1 -1
  78. package/lib/resources/vendors.js +1 -1
  79. package/lib/resources/verify.js +1 -1
  80. package/lib/resources/workers.js +1 -1
  81. package/lib/resources/workflow-exceptions.js +1 -1
  82. package/lib/services/aws.js +1 -1
  83. package/lib/services/version.js +1 -1
  84. package/lib/{staff-bd374256.js → staff-451ec207.js} +73 -89
  85. package/lib/types/business.d.ts +3 -14
  86. package/lib/types/documents.d.ts +1 -59
  87. package/lib/types/index.d.ts +1 -0
  88. package/lib/types/provider-set-item.d.ts +12 -24
  89. package/lib/types/settlement-export.d.ts +23 -0
  90. package/lib/types/settlement-export.js +2 -0
  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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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,36 @@
1
- import type { MedipassRequestOpts } from '../types';
1
+ import type { MedipassRequestOpts, CheckStatusOfBusinessSettlementExport } from '../types';
2
+ /**
3
+ *
4
+ * This will kick off a worker that will generate the file and return an S3 file ID.
5
+ * @param {String} businessId - Business ID
6
+ * @param {Object} query - Query parameters
7
+ * @param {Object} opts - Additional options
8
+ */
9
+ export declare const initiateBusinessSettlementExport: (businessId: string, query: {
10
+ from?: string;
11
+ fromFilterOptionIds?: string;
12
+ includesFilterOptionIds?: string;
13
+ practiceIds?: string;
14
+ to?: string;
15
+ }, opts?: MedipassRequestOpts) => Promise<{
16
+ s3FileId: string;
17
+ }>;
18
+ /**
19
+ This can be used to query the file ID until the status is completed or errored.
20
+ * @param {String} businessId - Business ID
21
+ * @param {String} s3FileId - S3File ID
22
+ * @param {Object} opts - Additional options
23
+ */
24
+ export declare const checkStatusOfBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<CheckStatusOfBusinessSettlementExport>;
25
+ /**
26
+ This can be used to download the file from S3 when the status has completed.
27
+ * @param {String} businessId - Business ID
28
+ * @param {String} s3FileId - S3File ID
29
+ * @param {Object} opts - Additional options
30
+ */
31
+ export declare const downloadBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<{
32
+ s3SignedUrl: string;
33
+ }>;
2
34
  /**
3
35
  * Get business settlements
4
36
  * @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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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-451ec207.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,82 @@ 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
+ *
15197
+ * This will kick off a worker that will generate the file and return an S3 file ID.
15279
15198
  * @param {String} businessId - Business ID
15280
15199
  * @param {Object} query - Query parameters
15281
15200
  * @param {Object} opts - Additional options
15282
15201
  */
15283
15202
 
15284
15203
 
15204
+ var initiateBusinessSettlementExport = function initiateBusinessSettlementExport(businessId, query, opts) {
15205
+ if (opts === void 0) {
15206
+ opts = {};
15207
+ }
15208
+
15209
+ doesParamExist.default({
15210
+ businessId: businessId
15211
+ }, opts.hyperMediaEndpoint);
15212
+ return request(_objectSpread$$({}, opts, {
15213
+ path: pathBusiness$1(businessId) + "/settlementsummaries/csv"
15214
+ }), {
15215
+ method: 'post',
15216
+ params: query
15217
+ });
15218
+ };
15219
+ /**
15220
+ This can be used to query the file ID until the status is completed or errored.
15221
+ * @param {String} businessId - Business ID
15222
+ * @param {String} s3FileId - S3File ID
15223
+ * @param {Object} opts - Additional options
15224
+ */
15225
+
15226
+ var checkStatusOfBusinessSettlementExport = function checkStatusOfBusinessSettlementExport(businessId, s3FileId, opts) {
15227
+ if (opts === void 0) {
15228
+ opts = {};
15229
+ }
15230
+
15231
+ doesParamExist.default({
15232
+ businessId: businessId
15233
+ }, opts.hyperMediaEndpoint);
15234
+ return request(_objectSpread$$({}, opts, {
15235
+ path: pathBusiness$1(businessId) + "/s3files/" + s3FileId
15236
+ }), {
15237
+ method: 'get'
15238
+ });
15239
+ };
15240
+ /**
15241
+ This can be used to download the file from S3 when the status has completed.
15242
+ * @param {String} businessId - Business ID
15243
+ * @param {String} s3FileId - S3File ID
15244
+ * @param {Object} opts - Additional options
15245
+ */
15246
+
15247
+ var downloadBusinessSettlementExport = function downloadBusinessSettlementExport(businessId, s3FileId, opts) {
15248
+ if (opts === void 0) {
15249
+ opts = {};
15250
+ }
15251
+
15252
+ doesParamExist.default({
15253
+ businessId: businessId
15254
+ }, opts.hyperMediaEndpoint);
15255
+ return request(_objectSpread$$({}, opts, {
15256
+ path: pathBusiness$1(businessId) + "/s3files/" + s3FileId + "/s3signedurl"
15257
+ }), {
15258
+ method: 'get'
15259
+ });
15260
+ };
15261
+ /**
15262
+ * Get business settlements
15263
+ * @param {String} businessId - Business ID
15264
+ * @param {Object} query - Query parameters
15265
+ * @param {Object} opts - Additional options
15266
+ */
15267
+
15285
15268
  var getBusinessSettlements = function getBusinessSettlements(businessId, query, opts) {
15286
15269
  if (query === void 0) {
15287
15270
  query = {};
@@ -15412,6 +15395,9 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
15412
15395
 
15413
15396
  var settlements = /*#__PURE__*/Object.freeze({
15414
15397
  __proto__: null,
15398
+ initiateBusinessSettlementExport: initiateBusinessSettlementExport,
15399
+ checkStatusOfBusinessSettlementExport: checkStatusOfBusinessSettlementExport,
15400
+ downloadBusinessSettlementExport: downloadBusinessSettlementExport,
15415
15401
  getBusinessSettlements: getBusinessSettlements,
15416
15402
  getBusinessSettlementSummaries: getBusinessSettlementSummaries,
15417
15403
  getBusinessSettlementSummariesByPeriod: getBusinessSettlementSummariesByPeriod,
@@ -23066,7 +23052,6 @@ exports.abr = abr;
23066
23052
  exports.acceptInvite = acceptInvite;
23067
23053
  exports.accounts = accounts;
23068
23054
  exports.actions = actions;
23069
- exports.activateHealthPointDigitalClaiming = activateHealthPointDigitalClaiming;
23070
23055
  exports.addBeneficialOwner = addBeneficialOwner;
23071
23056
  exports.addHealthFundAccountToSelfCheckoutSession = addHealthFundAccountToSelfCheckoutSession;
23072
23057
  exports.addMemberToSelfCheckoutSession = addMemberToSelfCheckoutSession;
@@ -23108,6 +23093,7 @@ exports.checkDupe = checkDupe;
23108
23093
  exports.checkDupe$1 = checkDupe$1;
23109
23094
  exports.checkRNAExists = checkRNAExists;
23110
23095
  exports.checkStaffMemberEmailExists = checkStaffMemberEmailExists;
23096
+ exports.checkStatusOfBusinessSettlementExport = checkStatusOfBusinessSettlementExport;
23111
23097
  exports.claimItems = claimItems;
23112
23098
  exports.clonePracticeIntoBusiness = clonePracticeIntoBusiness;
23113
23099
  exports.cloneStaffMemberIntoBusiness = cloneStaffMemberIntoBusiness;
@@ -23224,6 +23210,7 @@ exports.discoverMember = discoverMember;
23224
23210
  exports.discoverMember$1 = discoverMember$1;
23225
23211
  exports.docAccounts = docAccounts;
23226
23212
  exports.documents = documents;
23213
+ exports.downloadBusinessSettlementExport = downloadBusinessSettlementExport;
23227
23214
  exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
23228
23215
  exports.emails = emails;
23229
23216
  exports.enableAccount = enableAccount;
@@ -23400,7 +23387,6 @@ exports.getHealthFundVendors = getHealthFundVendors;
23400
23387
  exports.getHealthFundWorkflowExceptions = getHealthFundWorkflowExceptions;
23401
23388
  exports.getHealthFunds = getHealthFunds;
23402
23389
  exports.getHealthFundsForAccount = getHealthFundsForAccount;
23403
- exports.getHealthPointRegistrationApplication = getHealthPointRegistrationApplication;
23404
23390
  exports.getICDItems = getICDItems;
23405
23391
  exports.getInvoiceScan = getInvoiceScan;
23406
23392
  exports.getInvoiceScanUploadUrl = getInvoiceScanUploadUrl;
@@ -23500,6 +23486,7 @@ exports.impersonate = impersonate;
23500
23486
  exports.importBusinessPMSPractice = importBusinessPMSPractice;
23501
23487
  exports.importBusinessPMSService = importBusinessPMSService;
23502
23488
  exports.importBusinessPMSStaffMember = importBusinessPMSStaffMember;
23489
+ exports.initiateBusinessSettlementExport = initiateBusinessSettlementExport;
23503
23490
  exports.inviteAnyone = inviteAnyone;
23504
23491
  exports.inviteBusinessStaffMember = inviteBusinessStaffMember;
23505
23492
  exports.inviteHealthFundAccount = inviteHealthFundAccount;
@@ -23610,8 +23597,6 @@ exports.pathHealthFundFormPublish = pathHealthFundFormPublish;
23610
23597
  exports.pathHealthFundFormUnpublish = pathHealthFundFormUnpublish;
23611
23598
  exports.pathHealthFundFormUploadUrl = pathHealthFundFormUploadUrl;
23612
23599
  exports.pathHealthFundForms = pathHealthFundForms;
23613
- exports.pathHealthFundHealthPointActivateDigitalClaiming = pathHealthFundHealthPointActivateDigitalClaiming;
23614
- exports.pathHealthFundHealthPointRegistrationApplication = pathHealthFundHealthPointRegistrationApplication;
23615
23600
  exports.pathHealthFundNote = pathHealthFundNote;
23616
23601
  exports.pathHealthFundRNA = pathHealthFundRNA;
23617
23602
  exports.pathHealthFundRNAAppointment = pathHealthFundRNAAppointment;
@@ -23805,7 +23790,6 @@ exports.updateHealthFund = updateHealthFund;
23805
23790
  exports.updateHealthFundForm = updateHealthFundForm;
23806
23791
  exports.updateHealthFundNote = updateHealthFundNote;
23807
23792
  exports.updateHealthFundSetting = updateHealthFundSetting;
23808
- exports.updateHealthPointRegistrationApplication = updateHealthPointRegistrationApplication;
23809
23793
  exports.updateMember = updateMember;
23810
23794
  exports.updateMembersHealthFundAccounts = updateMembersHealthFundAccounts;
23811
23795
  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;