@medipass/web-sdk 11.52.2-feature-healthpoint-upload-endpoints.0 → 11.52.2
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 -7
- 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-43625f2c.js → staff-75ea1b6f.js} +4 -214
- 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 pathGetHealthpointOrgExists = function pathGetHealthpointOrgExists(businessId) {
|
|
3818
|
-
return "/businesses/" + businessId + "/orgexists";
|
|
3819
|
-
};
|
|
3820
3733
|
/**
|
|
3821
3734
|
* Create businesses
|
|
3822
3735
|
* @param {Object} body - Request body
|
|
@@ -4389,28 +4302,6 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4389
4302
|
data: body
|
|
4390
4303
|
});
|
|
4391
4304
|
};
|
|
4392
|
-
/**
|
|
4393
|
-
* Get business' healthpoint organisation
|
|
4394
|
-
* @param {String} businessId - Business ID
|
|
4395
|
-
* @param {Object} query - Query parameters
|
|
4396
|
-
* @param {Object} opts - Additional options
|
|
4397
|
-
*/
|
|
4398
|
-
|
|
4399
|
-
var getHealthpointOrgExists = function getHealthpointOrgExists(businessId, query, opts) {
|
|
4400
|
-
if (opts === void 0) {
|
|
4401
|
-
opts = {};
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
|
-
doesParamExist.default({
|
|
4405
|
-
businessId: businessId
|
|
4406
|
-
}, opts.hyperMediaEndpoint);
|
|
4407
|
-
return request(_objectSpread$e({}, opts, {
|
|
4408
|
-
path: pathGetHealthpointOrgExists(businessId)
|
|
4409
|
-
}), {
|
|
4410
|
-
method: 'get',
|
|
4411
|
-
params: query
|
|
4412
|
-
});
|
|
4413
|
-
};
|
|
4414
4305
|
|
|
4415
4306
|
var businesses = /*#__PURE__*/Object.freeze({
|
|
4416
4307
|
__proto__: null,
|
|
@@ -4438,8 +4329,7 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4438
4329
|
createSupportNote: createSupportNote,
|
|
4439
4330
|
getBsbDetails: getBsbDetails,
|
|
4440
4331
|
sendBusinessEmail: sendBusinessEmail,
|
|
4441
|
-
suspendBusiness: suspendBusiness
|
|
4442
|
-
getHealthpointOrgExists: getHealthpointOrgExists
|
|
4332
|
+
suspendBusiness: suspendBusiness
|
|
4443
4333
|
});
|
|
4444
4334
|
|
|
4445
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; }
|
|
@@ -21501,95 +21391,6 @@ var uploadKycTrustDocumentToS3 = /*#__PURE__*/function () {
|
|
|
21501
21391
|
return _ref8.apply(this, arguments);
|
|
21502
21392
|
};
|
|
21503
21393
|
}();
|
|
21504
|
-
/**
|
|
21505
|
-
* Upload attachment to S3
|
|
21506
|
-
* @param {String} businessId - Business ID
|
|
21507
|
-
* @param {String} healthFundId - Health fund ID
|
|
21508
|
-
* @param {File} file - File
|
|
21509
|
-
*/
|
|
21510
|
-
|
|
21511
|
-
var uploadAttachmentToS3 = /*#__PURE__*/function () {
|
|
21512
|
-
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(businessId, healthFundId, file, opts) {
|
|
21513
|
-
var awsAxios, _yield$getAttachmentU, signedPost, s3Url, s3SignedUrlId, bodyFormData, key;
|
|
21514
|
-
|
|
21515
|
-
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
21516
|
-
while (1) {
|
|
21517
|
-
switch (_context9.prev = _context9.next) {
|
|
21518
|
-
case 0:
|
|
21519
|
-
awsAxios = axios.create();
|
|
21520
|
-
|
|
21521
|
-
if (businessId) {
|
|
21522
|
-
_context9.next = 3;
|
|
21523
|
-
break;
|
|
21524
|
-
}
|
|
21525
|
-
|
|
21526
|
-
throw new paramError.default('businessId');
|
|
21527
|
-
|
|
21528
|
-
case 3:
|
|
21529
|
-
if (healthFundId) {
|
|
21530
|
-
_context9.next = 5;
|
|
21531
|
-
break;
|
|
21532
|
-
}
|
|
21533
|
-
|
|
21534
|
-
throw new paramError.default('healthFundId');
|
|
21535
|
-
|
|
21536
|
-
case 5:
|
|
21537
|
-
if (file) {
|
|
21538
|
-
_context9.next = 7;
|
|
21539
|
-
break;
|
|
21540
|
-
}
|
|
21541
|
-
|
|
21542
|
-
throw new paramError.default('file');
|
|
21543
|
-
|
|
21544
|
-
case 7:
|
|
21545
|
-
_context9.prev = 7;
|
|
21546
|
-
_context9.next = 10;
|
|
21547
|
-
return getAttachmentUrl(businessId, {
|
|
21548
|
-
contentType: file.type,
|
|
21549
|
-
fileName: file.name,
|
|
21550
|
-
healthFundId: healthFundId,
|
|
21551
|
-
contentLength: file.size
|
|
21552
|
-
}, opts);
|
|
21553
|
-
|
|
21554
|
-
case 10:
|
|
21555
|
-
_yield$getAttachmentU = _context9.sent;
|
|
21556
|
-
signedPost = _yield$getAttachmentU.signedPost;
|
|
21557
|
-
s3Url = _yield$getAttachmentU.s3Url;
|
|
21558
|
-
s3SignedUrlId = _yield$getAttachmentU.s3SignedUrlId;
|
|
21559
|
-
// eslint-disable-next-line
|
|
21560
|
-
bodyFormData = new FormData();
|
|
21561
|
-
|
|
21562
|
-
for (key in signedPost.fields) {
|
|
21563
|
-
bodyFormData.append(key, signedPost.fields[key]);
|
|
21564
|
-
}
|
|
21565
|
-
|
|
21566
|
-
bodyFormData.append('file', file);
|
|
21567
|
-
_context9.next = 19;
|
|
21568
|
-
return awsAxios.post(signedPost.url, bodyFormData);
|
|
21569
|
-
|
|
21570
|
-
case 19:
|
|
21571
|
-
return _context9.abrupt("return", {
|
|
21572
|
-
s3Url: s3Url,
|
|
21573
|
-
s3SignedUrlId: s3SignedUrlId
|
|
21574
|
-
});
|
|
21575
|
-
|
|
21576
|
-
case 22:
|
|
21577
|
-
_context9.prev = 22;
|
|
21578
|
-
_context9.t0 = _context9["catch"](7);
|
|
21579
|
-
throw _context9.t0;
|
|
21580
|
-
|
|
21581
|
-
case 25:
|
|
21582
|
-
case "end":
|
|
21583
|
-
return _context9.stop();
|
|
21584
|
-
}
|
|
21585
|
-
}
|
|
21586
|
-
}, _callee9, null, [[7, 22]]);
|
|
21587
|
-
}));
|
|
21588
|
-
|
|
21589
|
-
return function uploadAttachmentToS3(_x30, _x31, _x32, _x33) {
|
|
21590
|
-
return _ref9.apply(this, arguments);
|
|
21591
|
-
};
|
|
21592
|
-
}();
|
|
21593
21394
|
|
|
21594
21395
|
var aws = /*#__PURE__*/Object.freeze({
|
|
21595
21396
|
__proto__: null,
|
|
@@ -21600,8 +21401,7 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
21600
21401
|
uploadBusinessStaffMemberImageToS3: uploadBusinessStaffMemberImageToS3,
|
|
21601
21402
|
uploadInvoiceScanToS3: uploadInvoiceScanToS3,
|
|
21602
21403
|
uploadBulkUploadCSVToS3: uploadBulkUploadCSVToS3,
|
|
21603
|
-
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
21604
|
-
uploadAttachmentToS3: uploadAttachmentToS3
|
|
21404
|
+
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
21605
21405
|
});
|
|
21606
21406
|
|
|
21607
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; }
|
|
@@ -22414,9 +22214,7 @@ function _parseProviderSet() {
|
|
|
22414
22214
|
practiceIds = providerSet.map(function (providerData) {
|
|
22415
22215
|
return providerData.practiceId;
|
|
22416
22216
|
});
|
|
22417
|
-
uniquePracticeIds = _uniq(practiceIds).filter(Boolean)
|
|
22418
|
-
return !!practiceId;
|
|
22419
|
-
});
|
|
22217
|
+
uniquePracticeIds = _uniq(practiceIds).filter(Boolean);
|
|
22420
22218
|
practices = [];
|
|
22421
22219
|
_context.next = 5;
|
|
22422
22220
|
return Promise.all(uniquePracticeIds.map(function (practiceId) {
|
|
@@ -22790,7 +22588,6 @@ exports.getAction = getAction;
|
|
|
22790
22588
|
exports.getActions = getActions;
|
|
22791
22589
|
exports.getApplication = getApplication;
|
|
22792
22590
|
exports.getApplications = getApplications;
|
|
22793
|
-
exports.getAttachmentUrl = getAttachmentUrl;
|
|
22794
22591
|
exports.getBlacklistedBankAccounts = getBlacklistedBankAccounts;
|
|
22795
22592
|
exports.getBsbDetails = getBsbDetails;
|
|
22796
22593
|
exports.getBulkUpload = getBulkUpload;
|
|
@@ -22861,7 +22658,6 @@ exports.getBusinessProducts = getBusinessProducts;
|
|
|
22861
22658
|
exports.getBusinessProfessionalCategories = getBusinessProfessionalCategories;
|
|
22862
22659
|
exports.getBusinessRNA = getBusinessRNA;
|
|
22863
22660
|
exports.getBusinessRNAs = getBusinessRNAs;
|
|
22864
|
-
exports.getBusinessS3SignedUrl = getBusinessS3SignedUrl;
|
|
22865
22661
|
exports.getBusinessSalesClientToken = getBusinessSalesClientToken;
|
|
22866
22662
|
exports.getBusinessService = getBusinessService;
|
|
22867
22663
|
exports.getBusinessServiceStaffMembers = getBusinessServiceStaffMembers;
|
|
@@ -22931,7 +22727,6 @@ exports.getHealthFundVendors = getHealthFundVendors;
|
|
|
22931
22727
|
exports.getHealthFundWorkflowExceptions = getHealthFundWorkflowExceptions;
|
|
22932
22728
|
exports.getHealthFunds = getHealthFunds;
|
|
22933
22729
|
exports.getHealthFundsForAccount = getHealthFundsForAccount;
|
|
22934
|
-
exports.getHealthpointOrgExists = getHealthpointOrgExists;
|
|
22935
22730
|
exports.getICDItems = getICDItems;
|
|
22936
22731
|
exports.getInvoiceScan = getInvoiceScan;
|
|
22937
22732
|
exports.getInvoiceScanUploadUrl = getInvoiceScanUploadUrl;
|
|
@@ -23112,8 +22907,6 @@ exports.pathFunderValues = pathFunderValues;
|
|
|
23112
22907
|
exports.pathFunderValuesById = pathFunderValuesById;
|
|
23113
22908
|
exports.pathFuture = pathFuture;
|
|
23114
22909
|
exports.pathGetAbr = pathGetAbr;
|
|
23115
|
-
exports.pathGetAttachmentUrl = pathGetAttachmentUrl;
|
|
23116
|
-
exports.pathGetBusinessS3SignedUrl = pathGetBusinessS3SignedUrl;
|
|
23117
22910
|
exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
|
|
23118
22911
|
exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
|
|
23119
22912
|
exports.pathGetHealthFundTransactionExport = pathGetHealthFundTransactionExport;
|
|
@@ -23180,7 +22973,6 @@ exports.pathRequestVerificationSupport = pathRequestVerificationSupport;
|
|
|
23180
22973
|
exports.pathResetTerminal = pathResetTerminal;
|
|
23181
22974
|
exports.pathResumeComplexVerification = pathResumeComplexVerification;
|
|
23182
22975
|
exports.pathScanClaimFile = pathScanClaimFile;
|
|
23183
|
-
exports.pathScanFile = pathScanFile;
|
|
23184
22976
|
exports.pathSendReceipt = pathSendReceipt;
|
|
23185
22977
|
exports.pathSendWorkerMessage = pathSendWorkerMessage;
|
|
23186
22978
|
exports.pathSignUp = pathSignUp;
|
|
@@ -23254,7 +23046,6 @@ exports.saveDraft = saveDraft;
|
|
|
23254
23046
|
exports.saveDraftEclipseInPatientInvoice = saveDraftEclipseInPatientInvoice;
|
|
23255
23047
|
exports.saveDraftEclipseOverseasInvoice = saveDraftEclipseOverseasInvoice;
|
|
23256
23048
|
exports.scanClaimFile = scanClaimFile;
|
|
23257
|
-
exports.scanFile = scanFile;
|
|
23258
23049
|
exports.scoreAndSaveTransaction = scoreAndSaveTransaction;
|
|
23259
23050
|
exports.sdk = sdkClient;
|
|
23260
23051
|
exports.sdkClient = sdkClient;
|
|
@@ -23347,7 +23138,6 @@ exports.updateService = updateService;
|
|
|
23347
23138
|
exports.updateStaffProviderSetItem = updateStaffProviderSetItem;
|
|
23348
23139
|
exports.updateTerminal = updateTerminal;
|
|
23349
23140
|
exports.updateTransaction = updateTransaction;
|
|
23350
|
-
exports.uploadAttachmentToS3 = uploadAttachmentToS3;
|
|
23351
23141
|
exports.uploadBulkUploadCSVToS3 = uploadBulkUploadCSVToS3;
|
|
23352
23142
|
exports.uploadBusinessPracticeImageToS3 = uploadBusinessPracticeImageToS3;
|
|
23353
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.2
|
|
3
|
+
"version": "11.52.2",
|
|
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.1
|
|
49
|
-
"@types/jest": "
|
|
48
|
+
"@medipass/utils": "^11.75.1",
|
|
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": "32646dd476a6c6fabda6fd5d73678d069b6fe02e"
|
|
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