@medipass/web-sdk 11.57.5-feature-healthpoint-registration-application-endpoints.0 → 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 -17
  18. package/lib/resources/documents.js +1 -4
  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-5395ea6b.js → staff-aee62b79.js} +43 -57
  84. package/lib/types/business.d.ts +3 -14
  85. package/lib/types/documents.d.ts +1 -29
  86. package/lib/types/provider-set-item.d.ts +0 -6
  87. package/lib/types/staff-member.d.ts +0 -8
  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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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-5395ea6b.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,9 +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
5042
  /**
5046
5043
  * Approve health fund document
5047
5044
  * @param {String} healthFundId - Business ID
@@ -5288,52 +5285,6 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
5288
5285
  data: body
5289
5286
  });
5290
5287
  };
5291
- /**
5292
- * Get HealthPoint Registration Applications
5293
- * @param {String} healthFundId - Business ID
5294
- * @param {String} healthPointRegistrationApplicationId - Document ID
5295
- * @param {Object} opts - Additional options
5296
- */
5297
-
5298
- var getHealthPointRegistrationApplications = function getHealthPointRegistrationApplications(healthFundId, healthPointRegistrationApplicationId, opts) {
5299
- if (opts === void 0) {
5300
- opts = {};
5301
- }
5302
-
5303
- doesParamExist.default({
5304
- healthFundId: healthFundId,
5305
- healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5306
- }, opts.hyperMediaEndpoint);
5307
- return request(_objectSpread$h({}, opts, {
5308
- path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
5309
- }), {
5310
- method: 'get'
5311
- });
5312
- };
5313
- /**
5314
- * Update HealthPoint Registration Application
5315
- * @param {String} healthFundId - Business ID
5316
- * @param {String} healthPointRegistrationApplicationId - Document ID
5317
- * @param {Object} body - Request body
5318
- * @param {Object} opts - Additional options
5319
- */
5320
-
5321
- var updateHealthPointRegistrationApplication = function updateHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId, body, opts) {
5322
- if (opts === void 0) {
5323
- opts = {};
5324
- }
5325
-
5326
- doesParamExist.default({
5327
- healthFundId: healthFundId,
5328
- healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5329
- }, opts.hyperMediaEndpoint);
5330
- return request(_objectSpread$h({}, opts, {
5331
- path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
5332
- }), {
5333
- method: 'put',
5334
- data: body
5335
- });
5336
- };
5337
5288
 
5338
5289
  var documents = /*#__PURE__*/Object.freeze({
5339
5290
  __proto__: null,
@@ -5348,7 +5299,6 @@ var documents = /*#__PURE__*/Object.freeze({
5348
5299
  pathHealthFundDocumentPark: pathHealthFundDocumentPark,
5349
5300
  pathHealthFundDocumentTag: pathHealthFundDocumentTag,
5350
5301
  pathHealthFundDocuments: pathHealthFundDocuments,
5351
- pathHealthFundHealthPointRegistrationApplication: pathHealthFundHealthPointRegistrationApplication,
5352
5302
  approveHealthFundDocument: approveHealthFundDocument,
5353
5303
  assignHealthFundDocumentToMe: assignHealthFundDocumentToMe,
5354
5304
  cancelBusinessDocument: cancelBusinessDocument,
@@ -5359,9 +5309,7 @@ var documents = /*#__PURE__*/Object.freeze({
5359
5309
  getBusinessDocument: getBusinessDocument,
5360
5310
  getHealthFundDocuments: getHealthFundDocuments,
5361
5311
  getHealthFundDocument: getHealthFundDocument,
5362
- parkHealthFundDocument: parkHealthFundDocument,
5363
- getHealthPointRegistrationApplications: getHealthPointRegistrationApplications,
5364
- updateHealthPointRegistrationApplication: updateHealthPointRegistrationApplication
5312
+ parkHealthFundDocument: parkHealthFundDocument
5365
5313
  });
5366
5314
 
5367
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; }
@@ -18122,6 +18070,10 @@ var pathSaveDraftEclipseOverseasInvoice = function pathSaveDraftEclipseOverseasI
18122
18070
  var pathPhiInvoice = function pathPhiInvoice() {
18123
18071
  return '/transactions/invoices/phi';
18124
18072
  };
18073
+
18074
+ var pathPhiQuote = function pathPhiQuote() {
18075
+ return "/transactions/quotes/phi";
18076
+ };
18125
18077
  /**
18126
18078
  * Approve a transaction
18127
18079
  * @param {String} transactionId - Transaction ID
@@ -20847,6 +20799,41 @@ var createPhiInvoice = /*#__PURE__*/function () {
20847
20799
  return _ref69.apply(this, arguments);
20848
20800
  };
20849
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
+ }();
20850
20837
 
20851
20838
  var transactions = /*#__PURE__*/Object.freeze({
20852
20839
  __proto__: null,
@@ -20918,7 +20905,8 @@ var transactions = /*#__PURE__*/Object.freeze({
20918
20905
  reconcileClaim: reconcileClaim,
20919
20906
  saveDraftEclipseInPatientInvoice: saveDraftEclipseInPatientInvoice,
20920
20907
  saveDraftEclipseOverseasInvoice: saveDraftEclipseOverseasInvoice,
20921
- createPhiInvoice: createPhiInvoice
20908
+ createPhiInvoice: createPhiInvoice,
20909
+ createPhiQuote: createPhiQuote
20922
20910
  });
20923
20911
 
20924
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; }
@@ -23101,6 +23089,7 @@ exports.createPaymentAuthority = createPaymentAuthority;
23101
23089
  exports.createPaymentMethod = createPaymentMethod;
23102
23090
  exports.createPaymentRequest = createPaymentRequest;
23103
23091
  exports.createPhiInvoice = createPhiInvoice;
23092
+ exports.createPhiQuote = createPhiQuote;
23104
23093
  exports.createProviderRequest = createProviderRequest;
23105
23094
  exports.createProviderSetItemOnboardingApplication = createProviderSetItemOnboardingApplication;
23106
23095
  exports.createSelfCheckoutSession = createSelfCheckoutSession;
@@ -23329,7 +23318,6 @@ exports.getHealthFundVendors = getHealthFundVendors;
23329
23318
  exports.getHealthFundWorkflowExceptions = getHealthFundWorkflowExceptions;
23330
23319
  exports.getHealthFunds = getHealthFunds;
23331
23320
  exports.getHealthFundsForAccount = getHealthFundsForAccount;
23332
- exports.getHealthPointRegistrationApplications = getHealthPointRegistrationApplications;
23333
23321
  exports.getICDItems = getICDItems;
23334
23322
  exports.getInvoiceScan = getInvoiceScan;
23335
23323
  exports.getInvoiceScanUploadUrl = getInvoiceScanUploadUrl;
@@ -23539,7 +23527,6 @@ exports.pathHealthFundFormPublish = pathHealthFundFormPublish;
23539
23527
  exports.pathHealthFundFormUnpublish = pathHealthFundFormUnpublish;
23540
23528
  exports.pathHealthFundFormUploadUrl = pathHealthFundFormUploadUrl;
23541
23529
  exports.pathHealthFundForms = pathHealthFundForms;
23542
- exports.pathHealthFundHealthPointRegistrationApplication = pathHealthFundHealthPointRegistrationApplication;
23543
23530
  exports.pathHealthFundNote = pathHealthFundNote;
23544
23531
  exports.pathHealthFundRNA = pathHealthFundRNA;
23545
23532
  exports.pathHealthFundRNAAppointment = pathHealthFundRNAAppointment;
@@ -23733,7 +23720,6 @@ exports.updateHealthFund = updateHealthFund;
23733
23720
  exports.updateHealthFundForm = updateHealthFundForm;
23734
23721
  exports.updateHealthFundNote = updateHealthFundNote;
23735
23722
  exports.updateHealthFundSetting = updateHealthFundSetting;
23736
- exports.updateHealthPointRegistrationApplication = updateHealthPointRegistrationApplication;
23737
23723
  exports.updateMember = updateMember;
23738
23724
  exports.updateMembersHealthFundAccounts = updateMembersHealthFundAccounts;
23739
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,37 +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
- };
137
- modified: string;
138
- practice: ShortPracticeResponse;
139
- staffs: ShortStaffMember[];
140
- status: string;
141
- _id: string;
142
- };
143
- /** END: Responses */
@@ -1,7 +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
4
  funderId: string;
6
5
  healthFundOverrides: string[];
7
6
  healthpoint?: HealthPointProviderSetAttributes;
@@ -52,8 +51,3 @@ export interface HealthPointProviderSetAttributes {
52
51
  };
53
52
  };
54
53
  }
55
- export declare type HealthPointProviderSetFilesAttributes = {
56
- category: string;
57
- displayName: string;
58
- url: string;
59
- };
@@ -29,14 +29,6 @@ export declare type StaffMember = {
29
29
  mobile: string;
30
30
  _links: StaffLinks;
31
31
  };
32
- export declare type ShortStaffMember = {
33
- email: string;
34
- firstName: string;
35
- lastName: string;
36
- providerSet: ProviderSetItem[];
37
- providerRegistrations: ProviderRegistration[];
38
- _id: string;
39
- };
40
32
  declare type StaffLinks = {
41
33
  self: Links;
42
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-5395ea6b.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');
@@ -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-5395ea6b.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');
@@ -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-5395ea6b.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');
@@ -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-5395ea6b.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');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "11.57.5-feature-healthpoint-registration-application-endpoints.0",
3
+ "version": "11.57.5-feature-healthpoint-quotes.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@babel/plugin-transform-runtime": "7.8.3",
49
- "@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.0",
49
+ "@medipass/utils": "^11.77.4",
50
50
  "@types/jest": "28.1.6",
51
51
  "@types/mocha": "9.1.1",
52
52
  "@types/node": "18.7.1",
@@ -58,5 +58,5 @@
58
58
  "resolutions": {
59
59
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
60
60
  },
61
- "gitHead": "315cc4f99ee6c60f4ef9b648048e03c3df58b185"
61
+ "gitHead": "6dd0a2d26b4a98fed7e7f81636b907a21fa19adb"
62
62
  }