@medipass/web-sdk 11.52.2-feature-healthpoint-upload-endpoints.1 → 11.52.3-chore-refactor-sidebar.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.
- package/CHANGELOG.md +8 -0
- package/lib/index.js +1 -1
- package/lib/resources/abr.js +1 -1
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.js +1 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.d.ts +1 -35
- package/lib/resources/attachments.js +1 -7
- package/lib/resources/auth.js +1 -1
- package/lib/resources/blacklist.js +1 -1
- package/lib/resources/bulk-submits.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.d.ts +0 -9
- package/lib/resources/businesses.js +1 -2
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/filter-options.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icditems.js +1 -1
- package/lib/resources/invoice-scans.js +1 -1
- package/lib/resources/jhcs.js +1 -1
- package/lib/resources/kyc.js +1 -1
- package/lib/resources/logs.js +1 -1
- package/lib/resources/members.js +1 -1
- package/lib/resources/message-mappings.js +1 -1
- package/lib/resources/minions.js +1 -1
- package/lib/resources/modalities.js +1 -1
- package/lib/resources/notes.js +1 -1
- package/lib/resources/onboarding-applications.js +1 -1
- package/lib/resources/onboarding-requests.js +1 -1
- package/lib/resources/ops.js +1 -1
- package/lib/resources/organisations.js +1 -1
- package/lib/resources/partners.js +1 -1
- package/lib/resources/patients.js +1 -1
- package/lib/resources/payments.js +1 -1
- package/lib/resources/pms.js +1 -1
- package/lib/resources/practice-profiles.js +1 -1
- package/lib/resources/practice-types.js +1 -1
- package/lib/resources/practices.js +1 -1
- package/lib/resources/products.js +1 -1
- package/lib/resources/professional-categories.js +1 -1
- package/lib/resources/provider-number-types.js +1 -1
- package/lib/resources/provider-registration-types.js +1 -1
- package/lib/resources/provider-requests.js +1 -1
- package/lib/resources/provider-types.js +1 -1
- package/lib/resources/ref-sources.js +1 -1
- package/lib/resources/risk.js +1 -1
- package/lib/resources/rnas.js +1 -1
- package/lib/resources/roles.js +1 -1
- package/lib/resources/self-checkout-sessions.js +1 -1
- package/lib/resources/services.js +1 -1
- package/lib/resources/settlements.js +1 -1
- package/lib/resources/sign-up.js +1 -1
- package/lib/resources/specialties.js +1 -1
- package/lib/resources/staff-profiles.js +1 -1
- package/lib/resources/staff.js +1 -1
- package/lib/resources/statistics.js +1 -1
- package/lib/resources/subscriptions.js +1 -1
- package/lib/resources/terminals.js +1 -1
- package/lib/resources/transaction-export.js +1 -1
- package/lib/resources/transactions.js +1 -1
- package/lib/resources/triggers.js +1 -1
- package/lib/resources/vendors.js +1 -1
- package/lib/resources/verify.js +1 -1
- package/lib/resources/workers.js +1 -1
- package/lib/resources/workflow-exceptions.js +1 -1
- package/lib/services/aws.d.ts +0 -10
- package/lib/services/aws.js +1 -2
- package/lib/services/version.js +1 -1
- package/lib/{staff-edec8e01.js → staff-75ea1b6f.js} +4 -213
- package/lib/types/index.d.ts +1 -3
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.js +1 -1
- package/package.json +7 -6
- package/lib/types/virus-scan.d.ts +0 -13
- package/lib/types/virus-scan.js +0 -2
|
@@ -1798,15 +1798,6 @@ 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
|
-
};
|
|
1810
1801
|
/**
|
|
1811
1802
|
* Get url to upload a file associated to a claim
|
|
1812
1803
|
* @param {String} businessId - Business ID
|
|
@@ -1888,88 +1879,14 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
|
|
|
1888
1879
|
});
|
|
1889
1880
|
};
|
|
1890
1881
|
|
|
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
|
-
|
|
1959
1882
|
var attachments = /*#__PURE__*/Object.freeze({
|
|
1960
1883
|
__proto__: null,
|
|
1961
1884
|
pathGetClaimAttachmentUrl: pathGetClaimAttachmentUrl,
|
|
1962
1885
|
pathGetS3SignedUrl: pathGetS3SignedUrl,
|
|
1963
1886
|
pathScanClaimFile: pathScanClaimFile,
|
|
1964
|
-
pathScanFile: pathScanFile,
|
|
1965
|
-
pathGetAttachmentUrl: pathGetAttachmentUrl,
|
|
1966
|
-
pathGetBusinessS3SignedUrl: pathGetBusinessS3SignedUrl,
|
|
1967
1887
|
getClaimAttachmentUrl: getClaimAttachmentUrl,
|
|
1968
1888
|
scanClaimFile: scanClaimFile,
|
|
1969
|
-
getS3SignedUrl: getS3SignedUrl
|
|
1970
|
-
scanFile: scanFile,
|
|
1971
|
-
getAttachmentUrl: getAttachmentUrl,
|
|
1972
|
-
getBusinessS3SignedUrl: getBusinessS3SignedUrl
|
|
1889
|
+
getS3SignedUrl: getS3SignedUrl
|
|
1973
1890
|
});
|
|
1974
1891
|
|
|
1975
1892
|
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; }
|
|
@@ -3813,10 +3730,6 @@ var pathGetBusinessBillingHistoryRecords = function pathGetBusinessBillingHistor
|
|
|
3813
3730
|
var pathGetBusinessBillingHistoryRecord = function pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId) {
|
|
3814
3731
|
return "/businesses/" + businessId + "/billinghistories/" + billingHistoryId;
|
|
3815
3732
|
};
|
|
3816
|
-
|
|
3817
|
-
var pathGetOrgByHealthFundExists = function pathGetOrgByHealthFundExists(businessId) {
|
|
3818
|
-
return "/businesses/" + businessId + "/orgexists";
|
|
3819
|
-
};
|
|
3820
3733
|
/**
|
|
3821
3734
|
* Create businesses
|
|
3822
3735
|
* @param {Object} body - Request body
|
|
@@ -4390,27 +4303,6 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4390
4303
|
});
|
|
4391
4304
|
};
|
|
4392
4305
|
|
|
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
|
-
|
|
4414
4306
|
var businesses = /*#__PURE__*/Object.freeze({
|
|
4415
4307
|
__proto__: null,
|
|
4416
4308
|
createBusiness: createBusiness,
|
|
@@ -4437,8 +4329,7 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4437
4329
|
createSupportNote: createSupportNote,
|
|
4438
4330
|
getBsbDetails: getBsbDetails,
|
|
4439
4331
|
sendBusinessEmail: sendBusinessEmail,
|
|
4440
|
-
suspendBusiness: suspendBusiness
|
|
4441
|
-
getOrgByHealthFundExists: getOrgByHealthFundExists
|
|
4332
|
+
suspendBusiness: suspendBusiness
|
|
4442
4333
|
});
|
|
4443
4334
|
|
|
4444
4335
|
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; }
|
|
@@ -21500,95 +21391,6 @@ var uploadKycTrustDocumentToS3 = /*#__PURE__*/function () {
|
|
|
21500
21391
|
return _ref8.apply(this, arguments);
|
|
21501
21392
|
};
|
|
21502
21393
|
}();
|
|
21503
|
-
/**
|
|
21504
|
-
* Upload attachment to S3
|
|
21505
|
-
* @param {String} businessId - Business ID
|
|
21506
|
-
* @param {String} healthFundId - Health fund ID
|
|
21507
|
-
* @param {File} file - File
|
|
21508
|
-
*/
|
|
21509
|
-
|
|
21510
|
-
var uploadAttachmentToS3 = /*#__PURE__*/function () {
|
|
21511
|
-
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(businessId, healthFundId, file, opts) {
|
|
21512
|
-
var awsAxios, _yield$getAttachmentU, signedPost, s3Url, s3SignedUrlId, bodyFormData, key;
|
|
21513
|
-
|
|
21514
|
-
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
21515
|
-
while (1) {
|
|
21516
|
-
switch (_context9.prev = _context9.next) {
|
|
21517
|
-
case 0:
|
|
21518
|
-
awsAxios = axios.create();
|
|
21519
|
-
|
|
21520
|
-
if (businessId) {
|
|
21521
|
-
_context9.next = 3;
|
|
21522
|
-
break;
|
|
21523
|
-
}
|
|
21524
|
-
|
|
21525
|
-
throw new paramError.default('businessId');
|
|
21526
|
-
|
|
21527
|
-
case 3:
|
|
21528
|
-
if (healthFundId) {
|
|
21529
|
-
_context9.next = 5;
|
|
21530
|
-
break;
|
|
21531
|
-
}
|
|
21532
|
-
|
|
21533
|
-
throw new paramError.default('healthFundId');
|
|
21534
|
-
|
|
21535
|
-
case 5:
|
|
21536
|
-
if (file) {
|
|
21537
|
-
_context9.next = 7;
|
|
21538
|
-
break;
|
|
21539
|
-
}
|
|
21540
|
-
|
|
21541
|
-
throw new paramError.default('file');
|
|
21542
|
-
|
|
21543
|
-
case 7:
|
|
21544
|
-
_context9.prev = 7;
|
|
21545
|
-
_context9.next = 10;
|
|
21546
|
-
return getAttachmentUrl(businessId, {
|
|
21547
|
-
contentType: file.type,
|
|
21548
|
-
fileName: file.name,
|
|
21549
|
-
healthFundId: healthFundId,
|
|
21550
|
-
contentLength: file.size
|
|
21551
|
-
}, opts);
|
|
21552
|
-
|
|
21553
|
-
case 10:
|
|
21554
|
-
_yield$getAttachmentU = _context9.sent;
|
|
21555
|
-
signedPost = _yield$getAttachmentU.signedPost;
|
|
21556
|
-
s3Url = _yield$getAttachmentU.s3Url;
|
|
21557
|
-
s3SignedUrlId = _yield$getAttachmentU.s3SignedUrlId;
|
|
21558
|
-
// eslint-disable-next-line
|
|
21559
|
-
bodyFormData = new FormData();
|
|
21560
|
-
|
|
21561
|
-
for (key in signedPost.fields) {
|
|
21562
|
-
bodyFormData.append(key, signedPost.fields[key]);
|
|
21563
|
-
}
|
|
21564
|
-
|
|
21565
|
-
bodyFormData.append('file', file);
|
|
21566
|
-
_context9.next = 19;
|
|
21567
|
-
return awsAxios.post(signedPost.url, bodyFormData);
|
|
21568
|
-
|
|
21569
|
-
case 19:
|
|
21570
|
-
return _context9.abrupt("return", {
|
|
21571
|
-
s3Url: s3Url,
|
|
21572
|
-
s3SignedUrlId: s3SignedUrlId
|
|
21573
|
-
});
|
|
21574
|
-
|
|
21575
|
-
case 22:
|
|
21576
|
-
_context9.prev = 22;
|
|
21577
|
-
_context9.t0 = _context9["catch"](7);
|
|
21578
|
-
throw _context9.t0;
|
|
21579
|
-
|
|
21580
|
-
case 25:
|
|
21581
|
-
case "end":
|
|
21582
|
-
return _context9.stop();
|
|
21583
|
-
}
|
|
21584
|
-
}
|
|
21585
|
-
}, _callee9, null, [[7, 22]]);
|
|
21586
|
-
}));
|
|
21587
|
-
|
|
21588
|
-
return function uploadAttachmentToS3(_x30, _x31, _x32, _x33) {
|
|
21589
|
-
return _ref9.apply(this, arguments);
|
|
21590
|
-
};
|
|
21591
|
-
}();
|
|
21592
21394
|
|
|
21593
21395
|
var aws = /*#__PURE__*/Object.freeze({
|
|
21594
21396
|
__proto__: null,
|
|
@@ -21599,8 +21401,7 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
21599
21401
|
uploadBusinessStaffMemberImageToS3: uploadBusinessStaffMemberImageToS3,
|
|
21600
21402
|
uploadInvoiceScanToS3: uploadInvoiceScanToS3,
|
|
21601
21403
|
uploadBulkUploadCSVToS3: uploadBulkUploadCSVToS3,
|
|
21602
|
-
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
21603
|
-
uploadAttachmentToS3: uploadAttachmentToS3
|
|
21404
|
+
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
21604
21405
|
});
|
|
21605
21406
|
|
|
21606
21407
|
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; }
|
|
@@ -22413,9 +22214,7 @@ function _parseProviderSet() {
|
|
|
22413
22214
|
practiceIds = providerSet.map(function (providerData) {
|
|
22414
22215
|
return providerData.practiceId;
|
|
22415
22216
|
});
|
|
22416
|
-
uniquePracticeIds = _uniq(practiceIds).filter(Boolean)
|
|
22417
|
-
return !!practiceId;
|
|
22418
|
-
});
|
|
22217
|
+
uniquePracticeIds = _uniq(practiceIds).filter(Boolean);
|
|
22419
22218
|
practices = [];
|
|
22420
22219
|
_context.next = 5;
|
|
22421
22220
|
return Promise.all(uniquePracticeIds.map(function (practiceId) {
|
|
@@ -22789,7 +22588,6 @@ exports.getAction = getAction;
|
|
|
22789
22588
|
exports.getActions = getActions;
|
|
22790
22589
|
exports.getApplication = getApplication;
|
|
22791
22590
|
exports.getApplications = getApplications;
|
|
22792
|
-
exports.getAttachmentUrl = getAttachmentUrl;
|
|
22793
22591
|
exports.getBlacklistedBankAccounts = getBlacklistedBankAccounts;
|
|
22794
22592
|
exports.getBsbDetails = getBsbDetails;
|
|
22795
22593
|
exports.getBulkUpload = getBulkUpload;
|
|
@@ -22860,7 +22658,6 @@ exports.getBusinessProducts = getBusinessProducts;
|
|
|
22860
22658
|
exports.getBusinessProfessionalCategories = getBusinessProfessionalCategories;
|
|
22861
22659
|
exports.getBusinessRNA = getBusinessRNA;
|
|
22862
22660
|
exports.getBusinessRNAs = getBusinessRNAs;
|
|
22863
|
-
exports.getBusinessS3SignedUrl = getBusinessS3SignedUrl;
|
|
22864
22661
|
exports.getBusinessSalesClientToken = getBusinessSalesClientToken;
|
|
22865
22662
|
exports.getBusinessService = getBusinessService;
|
|
22866
22663
|
exports.getBusinessServiceStaffMembers = getBusinessServiceStaffMembers;
|
|
@@ -22953,7 +22750,6 @@ exports.getMySelfCheckoutSession = getMySelfCheckoutSession;
|
|
|
22953
22750
|
exports.getMySelfCheckoutSessionTransaction = getMySelfCheckoutSessionTransaction;
|
|
22954
22751
|
exports.getNonce = getNonce;
|
|
22955
22752
|
exports.getOnboardingRequest = getOnboardingRequest;
|
|
22956
|
-
exports.getOrgByHealthFundExists = getOrgByHealthFundExists;
|
|
22957
22753
|
exports.getOrganisationAccounts = getOrganisationAccounts;
|
|
22958
22754
|
exports.getOrganisationBusinessProfiles = getOrganisationBusinessProfiles;
|
|
22959
22755
|
exports.getOrganisationBusinesses = getOrganisationBusinesses;
|
|
@@ -23111,8 +22907,6 @@ exports.pathFunderValues = pathFunderValues;
|
|
|
23111
22907
|
exports.pathFunderValuesById = pathFunderValuesById;
|
|
23112
22908
|
exports.pathFuture = pathFuture;
|
|
23113
22909
|
exports.pathGetAbr = pathGetAbr;
|
|
23114
|
-
exports.pathGetAttachmentUrl = pathGetAttachmentUrl;
|
|
23115
|
-
exports.pathGetBusinessS3SignedUrl = pathGetBusinessS3SignedUrl;
|
|
23116
22910
|
exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
|
|
23117
22911
|
exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
|
|
23118
22912
|
exports.pathGetHealthFundTransactionExport = pathGetHealthFundTransactionExport;
|
|
@@ -23179,7 +22973,6 @@ exports.pathRequestVerificationSupport = pathRequestVerificationSupport;
|
|
|
23179
22973
|
exports.pathResetTerminal = pathResetTerminal;
|
|
23180
22974
|
exports.pathResumeComplexVerification = pathResumeComplexVerification;
|
|
23181
22975
|
exports.pathScanClaimFile = pathScanClaimFile;
|
|
23182
|
-
exports.pathScanFile = pathScanFile;
|
|
23183
22976
|
exports.pathSendReceipt = pathSendReceipt;
|
|
23184
22977
|
exports.pathSendWorkerMessage = pathSendWorkerMessage;
|
|
23185
22978
|
exports.pathSignUp = pathSignUp;
|
|
@@ -23253,7 +23046,6 @@ exports.saveDraft = saveDraft;
|
|
|
23253
23046
|
exports.saveDraftEclipseInPatientInvoice = saveDraftEclipseInPatientInvoice;
|
|
23254
23047
|
exports.saveDraftEclipseOverseasInvoice = saveDraftEclipseOverseasInvoice;
|
|
23255
23048
|
exports.scanClaimFile = scanClaimFile;
|
|
23256
|
-
exports.scanFile = scanFile;
|
|
23257
23049
|
exports.scoreAndSaveTransaction = scoreAndSaveTransaction;
|
|
23258
23050
|
exports.sdk = sdkClient;
|
|
23259
23051
|
exports.sdkClient = sdkClient;
|
|
@@ -23346,7 +23138,6 @@ exports.updateService = updateService;
|
|
|
23346
23138
|
exports.updateStaffProviderSetItem = updateStaffProviderSetItem;
|
|
23347
23139
|
exports.updateTerminal = updateTerminal;
|
|
23348
23140
|
exports.updateTransaction = updateTransaction;
|
|
23349
|
-
exports.uploadAttachmentToS3 = uploadAttachmentToS3;
|
|
23350
23141
|
exports.uploadBulkUploadCSVToS3 = uploadBulkUploadCSVToS3;
|
|
23351
23142
|
exports.uploadBusinessPracticeImageToS3 = uploadBusinessPracticeImageToS3;
|
|
23352
23143
|
exports.uploadBusinessStaffMemberImageToS3 = uploadBusinessStaffMemberImageToS3;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
export * from './device';
|
|
6
5
|
export * from './documents';
|
|
7
6
|
export * from './filter-option';
|
|
@@ -17,10 +16,9 @@ export * from './provider-number-type';
|
|
|
17
16
|
export * from './provider-registration-type';
|
|
18
17
|
export * from './provider-registration';
|
|
19
18
|
export * from './provider-set-item';
|
|
20
|
-
export * from './staff-member';
|
|
21
19
|
export * from './specialty';
|
|
22
20
|
export * from './subscriptions';
|
|
23
|
-
export * from './
|
|
21
|
+
export * from './business';
|
|
24
22
|
export declare type MedipassRequestOpts = {
|
|
25
23
|
baseUrl?: string;
|
|
26
24
|
hyperMediaEndpoint?: string | null | undefined;
|
package/lib/utils/application.js
CHANGED
|
@@ -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-
|
|
17
|
+
var request = require('../staff-75ea1b6f.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/lib/utils/professions.js
CHANGED
|
@@ -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-
|
|
17
|
+
var request = require('../staff-75ea1b6f.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/lib/utils/request.js
CHANGED
|
@@ -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-
|
|
17
|
+
var request = require('../staff-75ea1b6f.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/lib/utils/staff.js
CHANGED
|
@@ -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-
|
|
17
|
+
var request = require('../staff-75ea1b6f.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.52.
|
|
3
|
+
"version": "11.52.3-chore-refactor-sidebar.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -45,16 +45,17 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@babel/plugin-transform-runtime": "7.8.3",
|
|
48
|
-
"@medipass/utils": "^11.75.
|
|
49
|
-
"@types/jest": "
|
|
48
|
+
"@medipass/utils": "^11.75.2-chore-refactor-sidebar.0",
|
|
49
|
+
"@types/jest": "28.1.6",
|
|
50
|
+
"@types/mocha": "9.1.1",
|
|
50
51
|
"@types/node": "18.7.1",
|
|
51
|
-
"axios-mock-adapter": "1.
|
|
52
|
+
"axios-mock-adapter": "1.19.0",
|
|
52
53
|
"query-string": "7.0.0",
|
|
53
|
-
"rimraf": "
|
|
54
|
+
"rimraf": "2.6.2",
|
|
54
55
|
"typescript": "4.7.4"
|
|
55
56
|
},
|
|
56
57
|
"resolutions": {
|
|
57
58
|
"react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
|
|
58
59
|
},
|
|
59
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "eb1781c213da0ca5046a7c1f753f466f648dffa1"
|
|
60
61
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
package/lib/types/virus-scan.js
DELETED