@medipass/web-sdk 11.55.0 → 11.56.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 (94) 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.d.ts +35 -1
  9. package/lib/resources/attachments.js +7 -1
  10. package/lib/resources/auth.js +1 -1
  11. package/lib/resources/blacklist.js +1 -1
  12. package/lib/resources/bulk-submits.js +1 -1
  13. package/lib/resources/bulk-uploads.js +1 -1
  14. package/lib/resources/business-profiles.js +1 -1
  15. package/lib/resources/businesses.d.ts +9 -0
  16. package/lib/resources/businesses.js +2 -1
  17. package/lib/resources/claim-items.js +1 -1
  18. package/lib/resources/devices.js +1 -1
  19. package/lib/resources/doc-accounts.js +1 -1
  20. package/lib/resources/documents.js +1 -1
  21. package/lib/resources/emails.js +1 -1
  22. package/lib/resources/filter-options.js +1 -1
  23. package/lib/resources/form-application-templates.js +1 -1
  24. package/lib/resources/form-applications.js +1 -1
  25. package/lib/resources/forms.js +1 -1
  26. package/lib/resources/funder-services.js +1 -1
  27. package/lib/resources/funder-settings.js +1 -1
  28. package/lib/resources/funder-values.js +1 -1
  29. package/lib/resources/funders.js +1 -1
  30. package/lib/resources/futures.js +1 -1
  31. package/lib/resources/health-fund-accounts.js +1 -1
  32. package/lib/resources/health-fund-settings.js +1 -1
  33. package/lib/resources/healthfunds.js +1 -1
  34. package/lib/resources/icditems.js +1 -1
  35. package/lib/resources/invoice-scans.js +1 -1
  36. package/lib/resources/jhcs.js +1 -1
  37. package/lib/resources/kyc.js +1 -1
  38. package/lib/resources/logs.js +1 -1
  39. package/lib/resources/members.js +1 -1
  40. package/lib/resources/message-mappings.js +1 -1
  41. package/lib/resources/minions.js +1 -1
  42. package/lib/resources/modalities.js +1 -1
  43. package/lib/resources/notes.js +1 -1
  44. package/lib/resources/onboarding-applications.js +1 -1
  45. package/lib/resources/onboarding-requests.js +1 -1
  46. package/lib/resources/ops.js +1 -1
  47. package/lib/resources/organisations.js +1 -1
  48. package/lib/resources/partners.js +1 -1
  49. package/lib/resources/patients.js +1 -1
  50. package/lib/resources/payments.js +1 -1
  51. package/lib/resources/pms.js +1 -1
  52. package/lib/resources/practice-profiles.js +1 -1
  53. package/lib/resources/practice-types.js +1 -1
  54. package/lib/resources/practices.js +1 -1
  55. package/lib/resources/products.js +1 -1
  56. package/lib/resources/professional-categories.js +1 -1
  57. package/lib/resources/provider-number-types.js +1 -1
  58. package/lib/resources/provider-registration-types.js +1 -1
  59. package/lib/resources/provider-requests.js +1 -1
  60. package/lib/resources/provider-types.js +1 -1
  61. package/lib/resources/ref-sources.js +1 -1
  62. package/lib/resources/risk.js +1 -1
  63. package/lib/resources/rnas.js +1 -1
  64. package/lib/resources/roles.js +1 -1
  65. package/lib/resources/self-checkout-sessions.js +1 -1
  66. package/lib/resources/services.js +1 -1
  67. package/lib/resources/settlements.js +1 -1
  68. package/lib/resources/sign-up.js +1 -1
  69. package/lib/resources/specialties.js +1 -1
  70. package/lib/resources/staff-profiles.js +1 -1
  71. package/lib/resources/staff.js +1 -1
  72. package/lib/resources/statistics.js +1 -1
  73. package/lib/resources/subscriptions.js +1 -1
  74. package/lib/resources/terminals.js +1 -1
  75. package/lib/resources/transaction-export.js +1 -1
  76. package/lib/resources/transactions.js +1 -1
  77. package/lib/resources/triggers.js +1 -1
  78. package/lib/resources/vendors.js +1 -1
  79. package/lib/resources/verify.js +1 -1
  80. package/lib/resources/workers.js +1 -1
  81. package/lib/resources/workflow-exceptions.js +1 -1
  82. package/lib/services/aws.d.ts +10 -0
  83. package/lib/services/aws.js +2 -1
  84. package/lib/services/version.js +1 -1
  85. package/lib/{staff-8cf9d456.js → staff-5db8ea9b.js} +213 -4
  86. package/lib/types/index.d.ts +3 -1
  87. package/lib/types/provider-set-item.d.ts +13 -0
  88. package/lib/types/virus-scan.d.ts +13 -0
  89. package/lib/types/virus-scan.js +2 -0
  90. package/lib/utils/application.js +1 -1
  91. package/lib/utils/professions.js +1 -1
  92. package/lib/utils/request.js +1 -1
  93. package/lib/utils/staff.js +1 -1
  94. package/package.json +4 -4
@@ -1798,6 +1798,15 @@ var pathGetS3SignedUrl = function pathGetS3SignedUrl(businessId, practiceId, sta
1798
1798
  var pathScanClaimFile = function pathScanClaimFile(businessId, practiceId, staffId) {
1799
1799
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/attachments/virusscan";
1800
1800
  };
1801
+ var pathScanFile = function pathScanFile(businessId) {
1802
+ return "/businesses/" + businessId + "/attachments/virusscan";
1803
+ };
1804
+ var pathGetAttachmentUrl = function pathGetAttachmentUrl(businessId) {
1805
+ return "/businesses/" + businessId + "/attachments/uploadurl";
1806
+ };
1807
+ var pathGetBusinessS3SignedUrl = function pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId) {
1808
+ return "/businesses/" + businessId + "/attachments/s3signedurls/" + s3SignedUrlId;
1809
+ };
1801
1810
  /**
1802
1811
  * Get url to upload a file associated to a claim
1803
1812
  * @param {String} businessId - Business ID
@@ -1879,14 +1888,88 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
1879
1888
  });
1880
1889
  };
1881
1890
 
1891
+ /**
1892
+ * Scan a file
1893
+ * @param {String} businessId - Business ID
1894
+ * @param {Object} body - Request body
1895
+ * @param {Object} opts - Additional options
1896
+ */
1897
+ var scanFile = function scanFile(businessId, body, opts) {
1898
+ if (opts === void 0) {
1899
+ opts = {};
1900
+ }
1901
+
1902
+ doesParamExist.default({
1903
+ businessId: businessId
1904
+ }, opts.hyperMediaEndpoint);
1905
+ return request(_objectSpread$5({}, opts, {
1906
+ path: pathScanFile(businessId)
1907
+ }), {
1908
+ method: 'post',
1909
+ data: body
1910
+ });
1911
+ };
1912
+
1913
+ /**
1914
+ * Get url to upload a file
1915
+ * @param {String} businessId - Business ID
1916
+ * @param {Object} query - Query
1917
+ * @param {Object} opts - Additional options
1918
+ */
1919
+ var getAttachmentUrl = function getAttachmentUrl(businessId, query, opts) {
1920
+ if (opts === void 0) {
1921
+ opts = {};
1922
+ }
1923
+
1924
+ doesParamExist.default({
1925
+ businessId: businessId
1926
+ }, opts.hyperMediaEndpoint);
1927
+ return request(_objectSpread$5({}, opts, {
1928
+ path: pathGetAttachmentUrl(businessId)
1929
+ }), {
1930
+ method: 'get',
1931
+ params: query
1932
+ });
1933
+ };
1934
+ /**
1935
+ * Get a business' s3 signed url
1936
+ * @param {String} businessId - Business ID
1937
+ * @param {String} s3SignedUrlId - Internal s3 signed url ID
1938
+ * @param {Object} query - Request query
1939
+ * @param {Object} opts - Additional options
1940
+ */
1941
+
1942
+ var getBusinessS3SignedUrl = function getBusinessS3SignedUrl(businessId, s3SignedUrlId, query, opts) {
1943
+ if (opts === void 0) {
1944
+ opts = {};
1945
+ }
1946
+
1947
+ doesParamExist.default({
1948
+ businessId: businessId,
1949
+ s3SignedUrlId: s3SignedUrlId
1950
+ }, opts.hyperMediaEndpoint);
1951
+ return request(_objectSpread$5({}, opts, {
1952
+ path: pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId)
1953
+ }), {
1954
+ method: 'get',
1955
+ params: query
1956
+ });
1957
+ };
1958
+
1882
1959
  var attachments = /*#__PURE__*/Object.freeze({
1883
1960
  __proto__: null,
1884
1961
  pathGetClaimAttachmentUrl: pathGetClaimAttachmentUrl,
1885
1962
  pathGetS3SignedUrl: pathGetS3SignedUrl,
1886
1963
  pathScanClaimFile: pathScanClaimFile,
1964
+ pathScanFile: pathScanFile,
1965
+ pathGetAttachmentUrl: pathGetAttachmentUrl,
1966
+ pathGetBusinessS3SignedUrl: pathGetBusinessS3SignedUrl,
1887
1967
  getClaimAttachmentUrl: getClaimAttachmentUrl,
1888
1968
  scanClaimFile: scanClaimFile,
1889
- getS3SignedUrl: getS3SignedUrl
1969
+ getS3SignedUrl: getS3SignedUrl,
1970
+ scanFile: scanFile,
1971
+ getAttachmentUrl: getAttachmentUrl,
1972
+ getBusinessS3SignedUrl: getBusinessS3SignedUrl
1890
1973
  });
1891
1974
 
1892
1975
  function ownKeys$6(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; }
@@ -3730,6 +3813,10 @@ var pathGetBusinessBillingHistoryRecords = function pathGetBusinessBillingHistor
3730
3813
  var pathGetBusinessBillingHistoryRecord = function pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId) {
3731
3814
  return "/businesses/" + businessId + "/billinghistories/" + billingHistoryId;
3732
3815
  };
3816
+
3817
+ var pathGetOrgByHealthFundExists = function pathGetOrgByHealthFundExists(businessId) {
3818
+ return "/businesses/" + businessId + "/orgexists";
3819
+ };
3733
3820
  /**
3734
3821
  * Create businesses
3735
3822
  * @param {Object} body - Request body
@@ -4303,6 +4390,27 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
4303
4390
  });
4304
4391
  };
4305
4392
 
4393
+ /**
4394
+ * Search if the business exists for a healthfund
4395
+ * @param {String} businessId - Business ID
4396
+ * @param {Object} opts - Additional options
4397
+ */
4398
+ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, query, opts) {
4399
+ if (opts === void 0) {
4400
+ opts = {};
4401
+ }
4402
+
4403
+ doesParamExist.default({
4404
+ businessId: businessId
4405
+ }, opts.hyperMediaEndpoint);
4406
+ return request(_objectSpread$e({}, opts, {
4407
+ path: pathGetOrgByHealthFundExists(businessId)
4408
+ }), {
4409
+ method: 'get',
4410
+ params: query
4411
+ });
4412
+ };
4413
+
4306
4414
  var businesses = /*#__PURE__*/Object.freeze({
4307
4415
  __proto__: null,
4308
4416
  createBusiness: createBusiness,
@@ -4329,7 +4437,8 @@ var businesses = /*#__PURE__*/Object.freeze({
4329
4437
  createSupportNote: createSupportNote,
4330
4438
  getBsbDetails: getBsbDetails,
4331
4439
  sendBusinessEmail: sendBusinessEmail,
4332
- suspendBusiness: suspendBusiness
4440
+ suspendBusiness: suspendBusiness,
4441
+ getOrgByHealthFundExists: getOrgByHealthFundExists
4333
4442
  });
4334
4443
 
4335
4444
  function ownKeys$f(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; }
@@ -21589,6 +21698,95 @@ var uploadKycTrustDocumentToS3 = /*#__PURE__*/function () {
21589
21698
  return _ref8.apply(this, arguments);
21590
21699
  };
21591
21700
  }();
21701
+ /**
21702
+ * Upload attachment to S3
21703
+ * @param {String} businessId - Business ID
21704
+ * @param {String} healthFundId - Health fund ID
21705
+ * @param {File} file - File
21706
+ */
21707
+
21708
+ var uploadAttachmentToS3 = /*#__PURE__*/function () {
21709
+ var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(businessId, healthFundId, file, opts) {
21710
+ var awsAxios, _yield$getAttachmentU, signedPost, s3Url, s3SignedUrlId, bodyFormData, key;
21711
+
21712
+ return _regeneratorRuntime.wrap(function _callee9$(_context9) {
21713
+ while (1) {
21714
+ switch (_context9.prev = _context9.next) {
21715
+ case 0:
21716
+ awsAxios = axios.create();
21717
+
21718
+ if (businessId) {
21719
+ _context9.next = 3;
21720
+ break;
21721
+ }
21722
+
21723
+ throw new paramError.default('businessId');
21724
+
21725
+ case 3:
21726
+ if (healthFundId) {
21727
+ _context9.next = 5;
21728
+ break;
21729
+ }
21730
+
21731
+ throw new paramError.default('healthFundId');
21732
+
21733
+ case 5:
21734
+ if (file) {
21735
+ _context9.next = 7;
21736
+ break;
21737
+ }
21738
+
21739
+ throw new paramError.default('file');
21740
+
21741
+ case 7:
21742
+ _context9.prev = 7;
21743
+ _context9.next = 10;
21744
+ return getAttachmentUrl(businessId, {
21745
+ contentType: file.type,
21746
+ fileName: file.name,
21747
+ healthFundId: healthFundId,
21748
+ contentLength: file.size
21749
+ }, opts);
21750
+
21751
+ case 10:
21752
+ _yield$getAttachmentU = _context9.sent;
21753
+ signedPost = _yield$getAttachmentU.signedPost;
21754
+ s3Url = _yield$getAttachmentU.s3Url;
21755
+ s3SignedUrlId = _yield$getAttachmentU.s3SignedUrlId;
21756
+ // eslint-disable-next-line
21757
+ bodyFormData = new FormData();
21758
+
21759
+ for (key in signedPost.fields) {
21760
+ bodyFormData.append(key, signedPost.fields[key]);
21761
+ }
21762
+
21763
+ bodyFormData.append('file', file);
21764
+ _context9.next = 19;
21765
+ return awsAxios.post(signedPost.url, bodyFormData);
21766
+
21767
+ case 19:
21768
+ return _context9.abrupt("return", {
21769
+ s3Url: s3Url,
21770
+ s3SignedUrlId: s3SignedUrlId
21771
+ });
21772
+
21773
+ case 22:
21774
+ _context9.prev = 22;
21775
+ _context9.t0 = _context9["catch"](7);
21776
+ throw _context9.t0;
21777
+
21778
+ case 25:
21779
+ case "end":
21780
+ return _context9.stop();
21781
+ }
21782
+ }
21783
+ }, _callee9, null, [[7, 22]]);
21784
+ }));
21785
+
21786
+ return function uploadAttachmentToS3(_x30, _x31, _x32, _x33) {
21787
+ return _ref9.apply(this, arguments);
21788
+ };
21789
+ }();
21592
21790
 
21593
21791
  var aws = /*#__PURE__*/Object.freeze({
21594
21792
  __proto__: null,
@@ -21599,7 +21797,8 @@ var aws = /*#__PURE__*/Object.freeze({
21599
21797
  uploadBusinessStaffMemberImageToS3: uploadBusinessStaffMemberImageToS3,
21600
21798
  uploadInvoiceScanToS3: uploadInvoiceScanToS3,
21601
21799
  uploadBulkUploadCSVToS3: uploadBulkUploadCSVToS3,
21602
- uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
21800
+ uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3,
21801
+ uploadAttachmentToS3: uploadAttachmentToS3
21603
21802
  });
21604
21803
 
21605
21804
  function ownKeys$1e(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; }
@@ -22412,7 +22611,9 @@ function _parseProviderSet() {
22412
22611
  practiceIds = providerSet.map(function (providerData) {
22413
22612
  return providerData.practiceId;
22414
22613
  });
22415
- uniquePracticeIds = _uniq(practiceIds).filter(Boolean);
22614
+ uniquePracticeIds = _uniq(practiceIds).filter(Boolean).filter(function (practiceId) {
22615
+ return !!practiceId;
22616
+ });
22416
22617
  practices = [];
22417
22618
  _context.next = 5;
22418
22619
  return Promise.all(uniquePracticeIds.map(function (practiceId) {
@@ -22786,6 +22987,7 @@ exports.getAction = getAction;
22786
22987
  exports.getActions = getActions;
22787
22988
  exports.getApplication = getApplication;
22788
22989
  exports.getApplications = getApplications;
22990
+ exports.getAttachmentUrl = getAttachmentUrl;
22789
22991
  exports.getBlacklistedBankAccounts = getBlacklistedBankAccounts;
22790
22992
  exports.getBsbDetails = getBsbDetails;
22791
22993
  exports.getBulkUpload = getBulkUpload;
@@ -22856,6 +23058,7 @@ exports.getBusinessProducts = getBusinessProducts;
22856
23058
  exports.getBusinessProfessionalCategories = getBusinessProfessionalCategories;
22857
23059
  exports.getBusinessRNA = getBusinessRNA;
22858
23060
  exports.getBusinessRNAs = getBusinessRNAs;
23061
+ exports.getBusinessS3SignedUrl = getBusinessS3SignedUrl;
22859
23062
  exports.getBusinessSalesClientToken = getBusinessSalesClientToken;
22860
23063
  exports.getBusinessService = getBusinessService;
22861
23064
  exports.getBusinessServiceStaffMembers = getBusinessServiceStaffMembers;
@@ -22948,6 +23151,7 @@ exports.getMySelfCheckoutSession = getMySelfCheckoutSession;
22948
23151
  exports.getMySelfCheckoutSessionTransaction = getMySelfCheckoutSessionTransaction;
22949
23152
  exports.getNonce = getNonce;
22950
23153
  exports.getOnboardingRequest = getOnboardingRequest;
23154
+ exports.getOrgByHealthFundExists = getOrgByHealthFundExists;
22951
23155
  exports.getOrganisationAccounts = getOrganisationAccounts;
22952
23156
  exports.getOrganisationBusinessProfiles = getOrganisationBusinessProfiles;
22953
23157
  exports.getOrganisationBusinesses = getOrganisationBusinesses;
@@ -23105,6 +23309,8 @@ exports.pathFunderValues = pathFunderValues;
23105
23309
  exports.pathFunderValuesById = pathFunderValuesById;
23106
23310
  exports.pathFuture = pathFuture;
23107
23311
  exports.pathGetAbr = pathGetAbr;
23312
+ exports.pathGetAttachmentUrl = pathGetAttachmentUrl;
23313
+ exports.pathGetBusinessS3SignedUrl = pathGetBusinessS3SignedUrl;
23108
23314
  exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
23109
23315
  exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
23110
23316
  exports.pathGetHealthFundTransactionExport = pathGetHealthFundTransactionExport;
@@ -23171,6 +23377,7 @@ exports.pathRequestVerificationSupport = pathRequestVerificationSupport;
23171
23377
  exports.pathResetTerminal = pathResetTerminal;
23172
23378
  exports.pathResumeComplexVerification = pathResumeComplexVerification;
23173
23379
  exports.pathScanClaimFile = pathScanClaimFile;
23380
+ exports.pathScanFile = pathScanFile;
23174
23381
  exports.pathSendReceipt = pathSendReceipt;
23175
23382
  exports.pathSendWorkerMessage = pathSendWorkerMessage;
23176
23383
  exports.pathSignUp = pathSignUp;
@@ -23244,6 +23451,7 @@ exports.saveDraft = saveDraft;
23244
23451
  exports.saveDraftEclipseInPatientInvoice = saveDraftEclipseInPatientInvoice;
23245
23452
  exports.saveDraftEclipseOverseasInvoice = saveDraftEclipseOverseasInvoice;
23246
23453
  exports.scanClaimFile = scanClaimFile;
23454
+ exports.scanFile = scanFile;
23247
23455
  exports.scoreAndSaveTransaction = scoreAndSaveTransaction;
23248
23456
  exports.sdk = sdkClient;
23249
23457
  exports.sdkClient = sdkClient;
@@ -23336,6 +23544,7 @@ exports.updateService = updateService;
23336
23544
  exports.updateStaffProviderSetItem = updateStaffProviderSetItem;
23337
23545
  exports.updateTerminal = updateTerminal;
23338
23546
  exports.updateTransaction = updateTransaction;
23547
+ exports.uploadAttachmentToS3 = uploadAttachmentToS3;
23339
23548
  exports.uploadBulkUploadCSVToS3 = uploadBulkUploadCSVToS3;
23340
23549
  exports.uploadBusinessPracticeImageToS3 = uploadBusinessPracticeImageToS3;
23341
23550
  exports.uploadBusinessStaffMemberImageToS3 = uploadBusinessStaffMemberImageToS3;
@@ -1,6 +1,7 @@
1
1
  import type { COUNTRY_CODES } from '../utils/regions';
2
2
  export * from './abr';
3
3
  export * from './blacklist-bank-account';
4
+ export * from './business';
4
5
  export * from './device';
5
6
  export * from './documents';
6
7
  export * from './filter-option';
@@ -16,9 +17,10 @@ export * from './provider-number-type';
16
17
  export * from './provider-registration-type';
17
18
  export * from './provider-registration';
18
19
  export * from './provider-set-item';
20
+ export * from './staff-member';
19
21
  export * from './specialty';
20
22
  export * from './subscriptions';
21
- export * from './business';
23
+ export * from './virus-scan';
22
24
  export declare type MedipassRequestOpts = {
23
25
  baseUrl?: string;
24
26
  hyperMediaEndpoint?: string | null | undefined;
@@ -3,6 +3,7 @@ export interface ProviderSetItem {
3
3
  created: string;
4
4
  funderId: string;
5
5
  healthFundOverrides: string[];
6
+ healthpoint?: HealthPointProviderSetAttributes;
6
7
  practiceId: string;
7
8
  professionalCategoryId: string;
8
9
  providerNumber: string;
@@ -19,6 +20,7 @@ export interface ProviderSetItemRequestBody {
19
20
  providerNumber: string;
20
21
  specialtyIds: string[];
21
22
  hicaps?: HicapsProviderSetAttributes;
23
+ healthpoint?: HealthPointProviderSetAttributes;
22
24
  }
23
25
  export interface HicapsProviderSetAttributes {
24
26
  address?: string;
@@ -37,4 +39,15 @@ export declare type ParsedProviderSetItem = ProviderSetItem & {
37
39
  professionalCategory: ProfessionalCategory | undefined;
38
40
  specialties: Specialty[];
39
41
  providerRegistrationType: ProviderRegistrationType | undefined;
42
+ healthpoint?: HealthPointProviderSetAttributes;
40
43
  };
44
+ export interface HealthPointProviderSetAttributes {
45
+ settlement: {
46
+ bankAccount: {
47
+ accountName: string;
48
+ accountNumber: string;
49
+ bankName: string;
50
+ bsb: string;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,13 @@
1
+ export interface VirusScan {
2
+ _id: string;
3
+ accountId: string;
4
+ healthFundId: string;
5
+ businessId: string;
6
+ s3Bucket: string;
7
+ s3Key: string;
8
+ antiVirusStatus: string;
9
+ antiVirusTimestamp: string;
10
+ viruses: string[];
11
+ created: string;
12
+ modified: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -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-8cf9d456.js');
17
+ var request = require('../staff-5db8ea9b.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-8cf9d456.js');
17
+ var request = require('../staff-5db8ea9b.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-8cf9d456.js');
17
+ var request = require('../staff-5db8ea9b.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-8cf9d456.js');
17
+ var request = require('../staff-5db8ea9b.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.55.0",
3
+ "version": "11.56.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -45,11 +45,11 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@babel/plugin-transform-runtime": "7.8.3",
48
- "@medipass/utils": "^11.76.0",
48
+ "@medipass/utils": "^11.77.0",
49
49
  "@types/jest": "28.1.6",
50
50
  "@types/mocha": "9.1.1",
51
51
  "@types/node": "18.7.1",
52
- "axios-mock-adapter": "1.19.0",
52
+ "axios-mock-adapter": "1.21.2",
53
53
  "query-string": "7.0.0",
54
54
  "rimraf": "2.6.2",
55
55
  "typescript": "4.7.4"
@@ -57,5 +57,5 @@
57
57
  "resolutions": {
58
58
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
59
59
  },
60
- "gitHead": "86cdb0cb6f5b75b662e43bdeceb80c9a3731fa91"
60
+ "gitHead": "5010b922cc4c6e8ec8c402c9a8835a4e85e67a67"
61
61
  }