@medipass/web-sdk 11.58.1-feature-export-daily-remittance-endpoints.4 → 11.59.1-feature-healthpoint-registration-application-endpoints.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 +26 -1
  19. package/lib/resources/documents.js +6 -1
  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 +1 -33
  67. package/lib/resources/settlements.js +1 -4
  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-451ec207.js → staff-bd374256.js} +89 -73
  85. package/lib/types/business.d.ts +14 -3
  86. package/lib/types/documents.d.ts +59 -1
  87. package/lib/types/index.d.ts +0 -1
  88. package/lib/types/provider-set-item.d.ts +24 -12
  89. package/lib/utils/application.js +1 -1
  90. package/lib/utils/professions.js +1 -1
  91. package/lib/utils/request.js +1 -1
  92. package/lib/utils/staff.js +1 -1
  93. package/package.json +3 -3
  94. package/lib/types/settlement-export.d.ts +0 -23
  95. package/lib/types/settlement-export.js +0 -2
@@ -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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -1,36 +1,4 @@
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
- }>;
1
+ import type { MedipassRequestOpts } from '../types';
34
2
  /**
35
3
  * Get business settlements
36
4
  * @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-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -46,11 +46,8 @@ require('../regions-5bf75df6.js');
46
46
 
47
47
 
48
48
 
49
- exports.checkStatusOfBusinessSettlementExport = request.checkStatusOfBusinessSettlementExport;
50
- exports.downloadBusinessSettlementExport = request.downloadBusinessSettlementExport;
51
49
  exports.getBusinessSettlementSummaries = request.getBusinessSettlementSummaries;
52
50
  exports.getBusinessSettlementSummariesByPeriod = request.getBusinessSettlementSummariesByPeriod;
53
51
  exports.getBusinessSettlementSummariesSearchOptions = request.getBusinessSettlementSummariesSearchOptions;
54
52
  exports.getBusinessSettlementSummaryById = request.getBusinessSettlementSummaryById;
55
53
  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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.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-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -5039,6 +5039,12 @@ 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
+ };
5042
5048
  /**
5043
5049
  * Approve health fund document
5044
5050
  * @param {String} healthFundId - Business ID
@@ -5285,6 +5291,76 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
5285
5291
  data: body
5286
5292
  });
5287
5293
  };
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
+ };
5288
5364
 
5289
5365
  var documents = /*#__PURE__*/Object.freeze({
5290
5366
  __proto__: null,
@@ -5299,6 +5375,8 @@ var documents = /*#__PURE__*/Object.freeze({
5299
5375
  pathHealthFundDocumentPark: pathHealthFundDocumentPark,
5300
5376
  pathHealthFundDocumentTag: pathHealthFundDocumentTag,
5301
5377
  pathHealthFundDocuments: pathHealthFundDocuments,
5378
+ pathHealthFundHealthPointRegistrationApplication: pathHealthFundHealthPointRegistrationApplication,
5379
+ pathHealthFundHealthPointActivateDigitalClaiming: pathHealthFundHealthPointActivateDigitalClaiming,
5302
5380
  approveHealthFundDocument: approveHealthFundDocument,
5303
5381
  assignHealthFundDocumentToMe: assignHealthFundDocumentToMe,
5304
5382
  cancelBusinessDocument: cancelBusinessDocument,
@@ -5309,7 +5387,10 @@ var documents = /*#__PURE__*/Object.freeze({
5309
5387
  getBusinessDocument: getBusinessDocument,
5310
5388
  getHealthFundDocuments: getHealthFundDocuments,
5311
5389
  getHealthFundDocument: getHealthFundDocument,
5312
- parkHealthFundDocument: parkHealthFundDocument
5390
+ parkHealthFundDocument: parkHealthFundDocument,
5391
+ getHealthPointRegistrationApplication: getHealthPointRegistrationApplication,
5392
+ updateHealthPointRegistrationApplication: updateHealthPointRegistrationApplication,
5393
+ activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
5313
5394
  });
5314
5395
 
5315
5396
  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; }
@@ -15189,75 +15270,10 @@ function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if
15189
15270
 
15190
15271
  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; }
15191
15272
 
15273
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15192
15274
  var pathBusiness$1 = function pathBusiness(businessId) {
15193
15275
  return "/businesses/" + businessId;
15194
15276
  };
15195
- /**
15196
- *
15197
- * This will kick off a worker that will generate the file and return an S3 file ID.
15198
- * @param {String} businessId - Business ID
15199
- * @param {Object} query - Query parameters
15200
- * @param {Object} opts - Additional options
15201
- */
15202
-
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
15277
  /**
15262
15278
  * Get business settlements
15263
15279
  * @param {String} businessId - Business ID
@@ -15265,6 +15281,7 @@ var downloadBusinessSettlementExport = function downloadBusinessSettlementExport
15265
15281
  * @param {Object} opts - Additional options
15266
15282
  */
15267
15283
 
15284
+
15268
15285
  var getBusinessSettlements = function getBusinessSettlements(businessId, query, opts) {
15269
15286
  if (query === void 0) {
15270
15287
  query = {};
@@ -15395,9 +15412,6 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
15395
15412
 
15396
15413
  var settlements = /*#__PURE__*/Object.freeze({
15397
15414
  __proto__: null,
15398
- initiateBusinessSettlementExport: initiateBusinessSettlementExport,
15399
- checkStatusOfBusinessSettlementExport: checkStatusOfBusinessSettlementExport,
15400
- downloadBusinessSettlementExport: downloadBusinessSettlementExport,
15401
15415
  getBusinessSettlements: getBusinessSettlements,
15402
15416
  getBusinessSettlementSummaries: getBusinessSettlementSummaries,
15403
15417
  getBusinessSettlementSummariesByPeriod: getBusinessSettlementSummariesByPeriod,
@@ -23052,6 +23066,7 @@ exports.abr = abr;
23052
23066
  exports.acceptInvite = acceptInvite;
23053
23067
  exports.accounts = accounts;
23054
23068
  exports.actions = actions;
23069
+ exports.activateHealthPointDigitalClaiming = activateHealthPointDigitalClaiming;
23055
23070
  exports.addBeneficialOwner = addBeneficialOwner;
23056
23071
  exports.addHealthFundAccountToSelfCheckoutSession = addHealthFundAccountToSelfCheckoutSession;
23057
23072
  exports.addMemberToSelfCheckoutSession = addMemberToSelfCheckoutSession;
@@ -23093,7 +23108,6 @@ exports.checkDupe = checkDupe;
23093
23108
  exports.checkDupe$1 = checkDupe$1;
23094
23109
  exports.checkRNAExists = checkRNAExists;
23095
23110
  exports.checkStaffMemberEmailExists = checkStaffMemberEmailExists;
23096
- exports.checkStatusOfBusinessSettlementExport = checkStatusOfBusinessSettlementExport;
23097
23111
  exports.claimItems = claimItems;
23098
23112
  exports.clonePracticeIntoBusiness = clonePracticeIntoBusiness;
23099
23113
  exports.cloneStaffMemberIntoBusiness = cloneStaffMemberIntoBusiness;
@@ -23210,7 +23224,6 @@ exports.discoverMember = discoverMember;
23210
23224
  exports.discoverMember$1 = discoverMember$1;
23211
23225
  exports.docAccounts = docAccounts;
23212
23226
  exports.documents = documents;
23213
- exports.downloadBusinessSettlementExport = downloadBusinessSettlementExport;
23214
23227
  exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
23215
23228
  exports.emails = emails;
23216
23229
  exports.enableAccount = enableAccount;
@@ -23387,6 +23400,7 @@ exports.getHealthFundVendors = getHealthFundVendors;
23387
23400
  exports.getHealthFundWorkflowExceptions = getHealthFundWorkflowExceptions;
23388
23401
  exports.getHealthFunds = getHealthFunds;
23389
23402
  exports.getHealthFundsForAccount = getHealthFundsForAccount;
23403
+ exports.getHealthPointRegistrationApplication = getHealthPointRegistrationApplication;
23390
23404
  exports.getICDItems = getICDItems;
23391
23405
  exports.getInvoiceScan = getInvoiceScan;
23392
23406
  exports.getInvoiceScanUploadUrl = getInvoiceScanUploadUrl;
@@ -23486,7 +23500,6 @@ exports.impersonate = impersonate;
23486
23500
  exports.importBusinessPMSPractice = importBusinessPMSPractice;
23487
23501
  exports.importBusinessPMSService = importBusinessPMSService;
23488
23502
  exports.importBusinessPMSStaffMember = importBusinessPMSStaffMember;
23489
- exports.initiateBusinessSettlementExport = initiateBusinessSettlementExport;
23490
23503
  exports.inviteAnyone = inviteAnyone;
23491
23504
  exports.inviteBusinessStaffMember = inviteBusinessStaffMember;
23492
23505
  exports.inviteHealthFundAccount = inviteHealthFundAccount;
@@ -23597,6 +23610,8 @@ exports.pathHealthFundFormPublish = pathHealthFundFormPublish;
23597
23610
  exports.pathHealthFundFormUnpublish = pathHealthFundFormUnpublish;
23598
23611
  exports.pathHealthFundFormUploadUrl = pathHealthFundFormUploadUrl;
23599
23612
  exports.pathHealthFundForms = pathHealthFundForms;
23613
+ exports.pathHealthFundHealthPointActivateDigitalClaiming = pathHealthFundHealthPointActivateDigitalClaiming;
23614
+ exports.pathHealthFundHealthPointRegistrationApplication = pathHealthFundHealthPointRegistrationApplication;
23600
23615
  exports.pathHealthFundNote = pathHealthFundNote;
23601
23616
  exports.pathHealthFundRNA = pathHealthFundRNA;
23602
23617
  exports.pathHealthFundRNAAppointment = pathHealthFundRNAAppointment;
@@ -23790,6 +23805,7 @@ exports.updateHealthFund = updateHealthFund;
23790
23805
  exports.updateHealthFundForm = updateHealthFundForm;
23791
23806
  exports.updateHealthFundNote = updateHealthFundNote;
23792
23807
  exports.updateHealthFundSetting = updateHealthFundSetting;
23808
+ exports.updateHealthPointRegistrationApplication = updateHealthPointRegistrationApplication;
23793
23809
  exports.updateMember = updateMember;
23794
23810
  exports.updateMembersHealthFundAccounts = updateMembersHealthFundAccounts;
23795
23811
  exports.updateMinionForHealthFund = updateMinionForHealthFund;
@@ -67,11 +67,22 @@ export interface Business {
67
67
  _links: BusinessLinks;
68
68
  }
69
69
  export declare type ShortBusinessResponse = {
70
+ abn: string;
71
+ address: string;
72
+ city: string;
70
73
  contactInfo: BusinessContactInformation;
71
- _id: string;
72
- fullName: string;
74
+ country: string;
75
+ countryCode: string;
73
76
  displayName: string;
74
- abn: 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
+ _id: string;
75
86
  };
76
87
  declare type BusinessContactInformation = {
77
88
  landline: string;