@medipass/web-sdk 11.57.5-feature-healthpoint-registration-application-endpoints.1 → 11.57.5-feature-healthpoint-quotes.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 (92) 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.js +1 -1
  66. package/lib/resources/sign-up.js +1 -1
  67. package/lib/resources/specialties.js +1 -1
  68. package/lib/resources/staff-profiles.js +1 -1
  69. package/lib/resources/staff.js +1 -1
  70. package/lib/resources/statistics.js +1 -1
  71. package/lib/resources/subscriptions.js +1 -1
  72. package/lib/resources/terminals.js +1 -1
  73. package/lib/resources/transaction-export.js +1 -1
  74. package/lib/resources/transactions.d.ts +6 -0
  75. package/lib/resources/transactions.js +2 -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-fa18ac1e.js → staff-aee62b79.js} +43 -88
  84. package/lib/types/business.d.ts +3 -14
  85. package/lib/types/documents.d.ts +1 -50
  86. package/lib/types/provider-set-item.d.ts +0 -7
  87. package/lib/types/staff-member.d.ts +0 -6
  88. package/lib/utils/application.js +1 -1
  89. package/lib/utils/professions.js +1 -1
  90. package/lib/utils/request.js +1 -1
  91. package/lib/utils/staff.js +1 -1
  92. 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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -490,3 +490,9 @@ export declare const saveDraftEclipseOverseasInvoice: (body: Record<string, any>
490
490
  * @param {Object} opts - Additional options
491
491
  */
492
492
  export declare const createPhiInvoice: (body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
493
+ /**
494
+ * Create a PHI quote
495
+ * @param {Object} body - Request body
496
+ * @param {Object} opts - Additional options
497
+ */
498
+ export declare const createPhiQuote: (body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
@@ -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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('../utils/param-error.js');
@@ -70,6 +70,7 @@ exports.createInvoice = request.createInvoice;
70
70
  exports.createPayment = request.createPayment;
71
71
  exports.createPaymentRequest = request.createPaymentRequest;
72
72
  exports.createPhiInvoice = request.createPhiInvoice;
73
+ exports.createPhiQuote = request.createPhiQuote;
73
74
  exports.createSendClaim = request.createSendClaim;
74
75
  exports.deleteTransaction = request.deleteTransaction;
75
76
  exports.deleteTransactionTag = request.deleteTransactionTag;
@@ -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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.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; }
@@ -18151,6 +18070,10 @@ var pathSaveDraftEclipseOverseasInvoice = function pathSaveDraftEclipseOverseasI
18151
18070
  var pathPhiInvoice = function pathPhiInvoice() {
18152
18071
  return '/transactions/invoices/phi';
18153
18072
  };
18073
+
18074
+ var pathPhiQuote = function pathPhiQuote() {
18075
+ return "/transactions/quotes/phi";
18076
+ };
18154
18077
  /**
18155
18078
  * Approve a transaction
18156
18079
  * @param {String} transactionId - Transaction ID
@@ -20876,6 +20799,41 @@ var createPhiInvoice = /*#__PURE__*/function () {
20876
20799
  return _ref69.apply(this, arguments);
20877
20800
  };
20878
20801
  }();
20802
+ /**
20803
+ * Create a PHI quote
20804
+ * @param {Object} body - Request body
20805
+ * @param {Object} opts - Additional options
20806
+ */
20807
+
20808
+ var createPhiQuote = /*#__PURE__*/function () {
20809
+ var _ref70 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee70(body, opts) {
20810
+ return _regeneratorRuntime.wrap(function _callee70$(_context70) {
20811
+ while (1) {
20812
+ switch (_context70.prev = _context70.next) {
20813
+ case 0:
20814
+ if (opts === void 0) {
20815
+ opts = {};
20816
+ }
20817
+
20818
+ return _context70.abrupt("return", request(_objectSpread$18({}, opts, {
20819
+ path: pathPhiQuote()
20820
+ }), {
20821
+ method: 'post',
20822
+ data: body
20823
+ }));
20824
+
20825
+ case 2:
20826
+ case "end":
20827
+ return _context70.stop();
20828
+ }
20829
+ }
20830
+ }, _callee70);
20831
+ }));
20832
+
20833
+ return function createPhiQuote(_x219, _x220) {
20834
+ return _ref70.apply(this, arguments);
20835
+ };
20836
+ }();
20879
20837
 
20880
20838
  var transactions = /*#__PURE__*/Object.freeze({
20881
20839
  __proto__: null,
@@ -20947,7 +20905,8 @@ var transactions = /*#__PURE__*/Object.freeze({
20947
20905
  reconcileClaim: reconcileClaim,
20948
20906
  saveDraftEclipseInPatientInvoice: saveDraftEclipseInPatientInvoice,
20949
20907
  saveDraftEclipseOverseasInvoice: saveDraftEclipseOverseasInvoice,
20950
- createPhiInvoice: createPhiInvoice
20908
+ createPhiInvoice: createPhiInvoice,
20909
+ createPhiQuote: createPhiQuote
20951
20910
  });
20952
20911
 
20953
20912
  function ownKeys$19(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; }
@@ -23026,7 +22985,6 @@ exports.abr = abr;
23026
22985
  exports.acceptInvite = acceptInvite;
23027
22986
  exports.accounts = accounts;
23028
22987
  exports.actions = actions;
23029
- exports.activateHealthPointDigitalClaiming = activateHealthPointDigitalClaiming;
23030
22988
  exports.addBeneficialOwner = addBeneficialOwner;
23031
22989
  exports.addHealthFundAccountToSelfCheckoutSession = addHealthFundAccountToSelfCheckoutSession;
23032
22990
  exports.addMemberToSelfCheckoutSession = addMemberToSelfCheckoutSession;
@@ -23131,6 +23089,7 @@ exports.createPaymentAuthority = createPaymentAuthority;
23131
23089
  exports.createPaymentMethod = createPaymentMethod;
23132
23090
  exports.createPaymentRequest = createPaymentRequest;
23133
23091
  exports.createPhiInvoice = createPhiInvoice;
23092
+ exports.createPhiQuote = createPhiQuote;
23134
23093
  exports.createProviderRequest = createProviderRequest;
23135
23094
  exports.createProviderSetItemOnboardingApplication = createProviderSetItemOnboardingApplication;
23136
23095
  exports.createSelfCheckoutSession = createSelfCheckoutSession;
@@ -23359,7 +23318,6 @@ exports.getHealthFundVendors = getHealthFundVendors;
23359
23318
  exports.getHealthFundWorkflowExceptions = getHealthFundWorkflowExceptions;
23360
23319
  exports.getHealthFunds = getHealthFunds;
23361
23320
  exports.getHealthFundsForAccount = getHealthFundsForAccount;
23362
- exports.getHealthPointRegistrationApplication = getHealthPointRegistrationApplication;
23363
23321
  exports.getICDItems = getICDItems;
23364
23322
  exports.getInvoiceScan = getInvoiceScan;
23365
23323
  exports.getInvoiceScanUploadUrl = getInvoiceScanUploadUrl;
@@ -23569,8 +23527,6 @@ exports.pathHealthFundFormPublish = pathHealthFundFormPublish;
23569
23527
  exports.pathHealthFundFormUnpublish = pathHealthFundFormUnpublish;
23570
23528
  exports.pathHealthFundFormUploadUrl = pathHealthFundFormUploadUrl;
23571
23529
  exports.pathHealthFundForms = pathHealthFundForms;
23572
- exports.pathHealthFundHealthPointActivateDigitalClaiming = pathHealthFundHealthPointActivateDigitalClaiming;
23573
- exports.pathHealthFundHealthPointRegistrationApplication = pathHealthFundHealthPointRegistrationApplication;
23574
23530
  exports.pathHealthFundNote = pathHealthFundNote;
23575
23531
  exports.pathHealthFundRNA = pathHealthFundRNA;
23576
23532
  exports.pathHealthFundRNAAppointment = pathHealthFundRNAAppointment;
@@ -23764,7 +23720,6 @@ exports.updateHealthFund = updateHealthFund;
23764
23720
  exports.updateHealthFundForm = updateHealthFundForm;
23765
23721
  exports.updateHealthFundNote = updateHealthFundNote;
23766
23722
  exports.updateHealthFundSetting = updateHealthFundSetting;
23767
- exports.updateHealthPointRegistrationApplication = updateHealthPointRegistrationApplication;
23768
23723
  exports.updateMember = updateMember;
23769
23724
  exports.updateMembersHealthFundAccounts = updateMembersHealthFundAccounts;
23770
23725
  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;
@@ -1,4 +1,4 @@
1
- import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, ShortBusinessResponse, ShortStaffMember } from './index';
1
+ import type { PaginationMeta, PaginatedQuery } from './index';
2
2
  /** START: Query */
3
3
  export declare type BusinessDocumentsQuery = PaginatedQuery & {
4
4
  isPublished?: boolean;
@@ -107,58 +107,9 @@ export declare type HealthFundDocumentResponse = {
107
107
  isPublished?: boolean;
108
108
  created: string;
109
109
  modified: string;
110
- _links: {
111
- self: {
112
- assign?: string;
113
- archive?: string;
114
- cease?: string;
115
- close?: string;
116
- park?: string;
117
- read?: string;
118
- unarchive?: string;
119
- };
120
- };
121
110
  };
122
111
  export declare type HealthFundDocumentsResponse = {
123
112
  meta: PaginationMeta;
124
113
  items: Array<HealthFundDocumentResponse>;
125
114
  };
126
115
  /** END: Responses */
127
- /** START: Responses */
128
- export declare type HealthPointRegistrationApplicationResponse = {
129
- business: ShortBusinessResponse;
130
- created: string;
131
- formId: string;
132
- funderId: string;
133
- healthFundId: string;
134
- healthpoint: {
135
- deviceIds: [];
136
- providerNumbers: [];
137
- };
138
- isMidChecked?: boolean;
139
- isMidCheckedForSettlement?: boolean;
140
- isMidEnabled?: boolean;
141
- modified: string;
142
- practice: ShortPracticeResponse;
143
- staffs: ShortStaffMember[];
144
- status: string;
145
- _id: string;
146
- };
147
- /** END: Responses */
148
- /** START: Requests */
149
- export declare type UpdateHealthPointRegistrationApplicationBody = {
150
- isMidChecked: boolean;
151
- isMidEnabled: boolean;
152
- isMidCheckedForSettlement: boolean;
153
- staffs: {
154
- _id: string;
155
- providerSet: {
156
- _id: string;
157
- isCertificationMatch: boolean;
158
- }[];
159
- }[];
160
- };
161
- export declare type ActivateHealthPointDigitalClaimingBody = {
162
- numberOfDevices: number;
163
- };
164
- /** END: Requests */
@@ -1,8 +1,6 @@
1
1
  import type { ProviderNumberType, Practice, ProfessionalCategory, Specialty, Funder, ProviderRegistrationType } from 'types';
2
2
  export interface ProviderSetItem {
3
3
  created: string;
4
- files?: HealthPointProviderSetFilesAttributes[];
5
- isCertificationMatch?: boolean;
6
4
  funderId: string;
7
5
  healthFundOverrides: string[];
8
6
  healthpoint?: HealthPointProviderSetAttributes;
@@ -53,8 +51,3 @@ export interface HealthPointProviderSetAttributes {
53
51
  };
54
52
  };
55
53
  }
56
- export declare type HealthPointProviderSetFilesAttributes = {
57
- category: string;
58
- displayName: string;
59
- url: string;
60
- };
@@ -29,12 +29,6 @@ export declare type StaffMember = {
29
29
  mobile: string;
30
30
  _links: StaffLinks;
31
31
  };
32
- export declare type ShortStaffMember = {
33
- firstName: string;
34
- lastName: string;
35
- providerSet: ProviderSetItem[];
36
- _id: string;
37
- };
38
32
  declare type StaffLinks = {
39
33
  self: Links;
40
34
  practices: Links;
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('./get-axios-error.js');
17
- var request = require('../staff-fa18ac1e.js');
17
+ var request = require('../staff-aee62b79.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');