@medipass/web-sdk 12.4.6-feature-aged-care-supplement-apis.1 → 12.4.7-feature-aged-care-manage-supplement-apis.1

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 (95) 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/aged-care.d.ts +14 -3
  6. package/lib/resources/aged-care.js +15 -4
  7. package/lib/resources/api-keys.js +1 -1
  8. package/lib/resources/applePay.js +1 -1
  9. package/lib/resources/applications.js +1 -1
  10. package/lib/resources/attachments.js +1 -1
  11. package/lib/resources/auth.js +1 -1
  12. package/lib/resources/blacklist.js +1 -1
  13. package/lib/resources/bulk-submits.js +1 -1
  14. package/lib/resources/bulk-uploads.js +1 -1
  15. package/lib/resources/business-email-log.js +1 -1
  16. package/lib/resources/business-profiles.js +1 -1
  17. package/lib/resources/businesses.js +1 -1
  18. package/lib/resources/claim-items.js +1 -1
  19. package/lib/resources/devices.js +1 -1
  20. package/lib/resources/doc-accounts.js +1 -1
  21. package/lib/resources/documents.js +1 -1
  22. package/lib/resources/emails.js +1 -1
  23. package/lib/resources/filter-options.js +1 -1
  24. package/lib/resources/form-application-templates.js +1 -1
  25. package/lib/resources/form-applications.js +1 -1
  26. package/lib/resources/forms.js +1 -1
  27. package/lib/resources/funder-services.js +1 -1
  28. package/lib/resources/funder-settings.js +1 -1
  29. package/lib/resources/funder-values.js +1 -1
  30. package/lib/resources/funders.js +1 -1
  31. package/lib/resources/futures.js +1 -1
  32. package/lib/resources/health-fund-accounts.js +1 -1
  33. package/lib/resources/health-fund-settings.js +1 -1
  34. package/lib/resources/healthfunds.js +1 -1
  35. package/lib/resources/icare.js +1 -1
  36. package/lib/resources/icditems.js +1 -1
  37. package/lib/resources/invoice-scans.js +1 -1
  38. package/lib/resources/jhcs.js +1 -1
  39. package/lib/resources/kyc.js +1 -1
  40. package/lib/resources/logs.js +1 -1
  41. package/lib/resources/members.js +1 -1
  42. package/lib/resources/message-mappings.js +1 -1
  43. package/lib/resources/minions.js +1 -1
  44. package/lib/resources/modalities.js +1 -1
  45. package/lib/resources/notes.js +1 -1
  46. package/lib/resources/onboarding-applications.js +1 -1
  47. package/lib/resources/onboarding-requests.js +1 -1
  48. package/lib/resources/ops.js +1 -1
  49. package/lib/resources/organisations.js +1 -1
  50. package/lib/resources/partners.js +1 -1
  51. package/lib/resources/patients.js +1 -1
  52. package/lib/resources/payments.js +1 -1
  53. package/lib/resources/pms.js +1 -1
  54. package/lib/resources/practice-profiles.js +1 -1
  55. package/lib/resources/practice-types.js +1 -1
  56. package/lib/resources/practices.js +1 -1
  57. package/lib/resources/products.js +1 -1
  58. package/lib/resources/professional-categories.js +1 -1
  59. package/lib/resources/provider-number-types.js +1 -1
  60. package/lib/resources/provider-registration-types.js +1 -1
  61. package/lib/resources/provider-requests.js +1 -1
  62. package/lib/resources/provider-types.js +1 -1
  63. package/lib/resources/qbe.js +1 -1
  64. package/lib/resources/ref-sources.js +1 -1
  65. package/lib/resources/risk.js +1 -1
  66. package/lib/resources/rnas.js +1 -1
  67. package/lib/resources/roles.js +1 -1
  68. package/lib/resources/s3-files.js +1 -1
  69. package/lib/resources/self-checkout-sessions.js +1 -1
  70. package/lib/resources/services.js +1 -1
  71. package/lib/resources/settlements.js +1 -1
  72. package/lib/resources/sign-up.js +1 -1
  73. package/lib/resources/specialties.js +1 -1
  74. package/lib/resources/staff-profiles.js +1 -1
  75. package/lib/resources/staff.js +1 -1
  76. package/lib/resources/statistics.js +1 -1
  77. package/lib/resources/subscriptions.js +1 -1
  78. package/lib/resources/terminals.js +1 -1
  79. package/lib/resources/transaction-export.js +1 -1
  80. package/lib/resources/transaction-reports.js +1 -1
  81. package/lib/resources/transactions.js +1 -1
  82. package/lib/resources/triggers.js +1 -1
  83. package/lib/resources/vendors.js +1 -1
  84. package/lib/resources/verify.js +1 -1
  85. package/lib/resources/workers.js +1 -1
  86. package/lib/resources/workflow-exceptions.js +1 -1
  87. package/lib/services/aws.js +1 -1
  88. package/lib/services/version.js +1 -1
  89. package/lib/{staff-ada1e9bc.js → staff-b88563f6.js} +162 -15
  90. package/lib/types/aged-care.d.ts +66 -0
  91. package/lib/utils/application.js +1 -1
  92. package/lib/utils/professions.js +1 -1
  93. package/lib/utils/request.js +1 -1
  94. package/lib/utils/staff.js +1 -1
  95. package/package.json +2 -2
@@ -246,15 +246,24 @@ var pathGetBudgetDetails = function pathGetBudgetDetails(budgetId) {
246
246
  var pathGetEnteralFeedingSupplementDetails = function pathGetEnteralFeedingSupplementDetails(supplementId) {
247
247
  return "/agedcare/enteralfeedingsupplements/" + supplementId;
248
248
  };
249
- var pathGetOxygenSupplementDetails = function pathGetOxygenSupplementDetails(supplementId) {
250
- return "/agedcare/oxygensupplements/" + supplementId;
251
- };
252
- var pathGetEnteralFeedingSupplements = function pathGetEnteralFeedingSupplements() {
249
+ var pathEnteralFeedingSupplements = function pathEnteralFeedingSupplements() {
253
250
  return "/agedcare/enteralfeedingsupplements";
254
251
  };
255
- var pathGetOxygenSupplements = function pathGetOxygenSupplements() {
252
+ var pathOxygenSupplements = function pathOxygenSupplements() {
256
253
  return "/agedcare/oxygensupplements";
257
254
  };
255
+ var pathOxygenSupplement = function pathOxygenSupplement(supplementId) {
256
+ return pathOxygenSupplements() + "/" + supplementId;
257
+ };
258
+ var pathEnteralFeedingSupplement = function pathEnteralFeedingSupplement(supplementId) {
259
+ return pathEnteralFeedingSupplements() + "/" + supplementId;
260
+ };
261
+ var pathUpdateEnteralFeedingSupplementEndDate = function pathUpdateEnteralFeedingSupplementEndDate() {
262
+ return pathEnteralFeedingSupplements() + "/enddate";
263
+ };
264
+ var pathUpdateOxygenSupplementEndDate = function pathUpdateOxygenSupplementEndDate() {
265
+ return pathOxygenSupplements() + "/enddate";
266
+ };
258
267
  var createDraftInvoice = function createDraftInvoice(body, opts) {
259
268
  if (opts === void 0) {
260
269
  opts = {};
@@ -609,7 +618,7 @@ var getOxygenSupplementDetails = function getOxygenSupplementDetails(supplementI
609
618
  }
610
619
 
611
620
  return request(_objectSpread$1m({}, opts, {
612
- path: pathGetOxygenSupplementDetails(supplementId)
621
+ path: pathOxygenSupplement(supplementId)
613
622
  }), {
614
623
  method: 'get',
615
624
  params: query
@@ -625,12 +634,39 @@ var getEnteralFeedingSupplements = function getEnteralFeedingSupplements(query,
625
634
  }
626
635
 
627
636
  return request(_objectSpread$1m({}, opts, {
628
- path: pathGetEnteralFeedingSupplements()
637
+ path: pathEnteralFeedingSupplements()
629
638
  }), {
630
639
  method: 'get',
631
640
  params: query
632
641
  });
633
642
  };
643
+ var createEnteralFeedingSupplement = function createEnteralFeedingSupplement(body, opts) {
644
+ if (opts === void 0) {
645
+ opts = {};
646
+ }
647
+
648
+ return request(_objectSpread$1m({}, opts, {
649
+ path: pathEnteralFeedingSupplements()
650
+ }), {
651
+ method: 'post',
652
+ data: body
653
+ });
654
+ };
655
+ var updateEnteralFeedingSupplement = function updateEnteralFeedingSupplement(supplementId, body, opts) {
656
+ if (opts === void 0) {
657
+ opts = {};
658
+ }
659
+
660
+ utils_doesParamExist["default"]({
661
+ supplementId: supplementId
662
+ }, opts.hyperMediaEndpoint);
663
+ return request(_objectSpread$1m({}, opts, {
664
+ path: pathEnteralFeedingSupplement(supplementId)
665
+ }), {
666
+ method: 'put',
667
+ data: body
668
+ });
669
+ };
634
670
  var getOxygenSupplements = function getOxygenSupplements(query, opts) {
635
671
  if (query === void 0) {
636
672
  query = {};
@@ -641,12 +677,101 @@ var getOxygenSupplements = function getOxygenSupplements(query, opts) {
641
677
  }
642
678
 
643
679
  return request(_objectSpread$1m({}, opts, {
644
- path: pathGetOxygenSupplements()
680
+ path: pathOxygenSupplements()
645
681
  }), {
646
682
  method: 'get',
647
683
  params: query
648
684
  });
649
685
  };
686
+ var createOxygenSupplement = function createOxygenSupplement(body, opts) {
687
+ if (opts === void 0) {
688
+ opts = {};
689
+ }
690
+
691
+ return request(_objectSpread$1m({}, opts, {
692
+ path: pathOxygenSupplements()
693
+ }), {
694
+ method: 'post',
695
+ data: body
696
+ });
697
+ };
698
+ var updateOxygenSupplement = function updateOxygenSupplement(supplementId, body, opts) {
699
+ if (opts === void 0) {
700
+ opts = {};
701
+ }
702
+
703
+ utils_doesParamExist["default"]({
704
+ supplementId: supplementId
705
+ }, opts.hyperMediaEndpoint);
706
+ return request(_objectSpread$1m({}, opts, {
707
+ path: pathOxygenSupplement(supplementId)
708
+ }), {
709
+ method: 'put',
710
+ data: body
711
+ });
712
+ };
713
+ var deleteEnteralFeedingSupplement = function deleteEnteralFeedingSupplement(supplementId, query, opts) {
714
+ if (query === void 0) {
715
+ query = {};
716
+ }
717
+
718
+ if (opts === void 0) {
719
+ opts = {};
720
+ }
721
+
722
+ utils_doesParamExist["default"]({
723
+ supplementId: supplementId
724
+ }, opts.hyperMediaEndpoint);
725
+ return request(_objectSpread$1m({}, opts, {
726
+ path: pathEnteralFeedingSupplement(supplementId)
727
+ }), {
728
+ method: 'delete',
729
+ params: query
730
+ });
731
+ };
732
+ var deleteOxygenSupplement = function deleteOxygenSupplement(supplementId, query, opts) {
733
+ if (query === void 0) {
734
+ query = {};
735
+ }
736
+
737
+ if (opts === void 0) {
738
+ opts = {};
739
+ }
740
+
741
+ utils_doesParamExist["default"]({
742
+ supplementId: supplementId
743
+ }, opts.hyperMediaEndpoint);
744
+ return request(_objectSpread$1m({}, opts, {
745
+ path: pathOxygenSupplement(supplementId)
746
+ }), {
747
+ method: 'delete',
748
+ params: query
749
+ });
750
+ };
751
+ var updateEnteralFeedingSupplementEndDate = function updateEnteralFeedingSupplementEndDate(body, opts) {
752
+ if (opts === void 0) {
753
+ opts = {};
754
+ }
755
+
756
+ return request(_objectSpread$1m({}, opts, {
757
+ path: pathUpdateEnteralFeedingSupplementEndDate()
758
+ }), {
759
+ method: 'post',
760
+ data: body
761
+ });
762
+ };
763
+ var updateOxygenSupplementEndDate = function updateOxygenSupplementEndDate(body, opts) {
764
+ if (opts === void 0) {
765
+ opts = {};
766
+ }
767
+
768
+ return request(_objectSpread$1m({}, opts, {
769
+ path: pathUpdateOxygenSupplementEndDate()
770
+ }), {
771
+ method: 'post',
772
+ data: body
773
+ });
774
+ };
650
775
 
651
776
  var agedCare = /*#__PURE__*/Object.freeze({
652
777
  __proto__: null,
@@ -672,9 +797,12 @@ var agedCare = /*#__PURE__*/Object.freeze({
672
797
  pathGetCareRecipientBudgets: pathGetCareRecipientBudgets,
673
798
  pathGetBudgetDetails: pathGetBudgetDetails,
674
799
  pathGetEnteralFeedingSupplementDetails: pathGetEnteralFeedingSupplementDetails,
675
- pathGetOxygenSupplementDetails: pathGetOxygenSupplementDetails,
676
- pathGetEnteralFeedingSupplements: pathGetEnteralFeedingSupplements,
677
- pathGetOxygenSupplements: pathGetOxygenSupplements,
800
+ pathEnteralFeedingSupplements: pathEnteralFeedingSupplements,
801
+ pathOxygenSupplements: pathOxygenSupplements,
802
+ pathOxygenSupplement: pathOxygenSupplement,
803
+ pathEnteralFeedingSupplement: pathEnteralFeedingSupplement,
804
+ pathUpdateEnteralFeedingSupplementEndDate: pathUpdateEnteralFeedingSupplementEndDate,
805
+ pathUpdateOxygenSupplementEndDate: pathUpdateOxygenSupplementEndDate,
678
806
  createDraftInvoice: createDraftInvoice,
679
807
  getCareRecipientDetails: getCareRecipientDetails,
680
808
  searchCareRecipients: searchCareRecipients,
@@ -699,7 +827,15 @@ var agedCare = /*#__PURE__*/Object.freeze({
699
827
  getEnteralFeedingSupplementDetails: getEnteralFeedingSupplementDetails,
700
828
  getOxygenSupplementDetails: getOxygenSupplementDetails,
701
829
  getEnteralFeedingSupplements: getEnteralFeedingSupplements,
702
- getOxygenSupplements: getOxygenSupplements
830
+ createEnteralFeedingSupplement: createEnteralFeedingSupplement,
831
+ updateEnteralFeedingSupplement: updateEnteralFeedingSupplement,
832
+ getOxygenSupplements: getOxygenSupplements,
833
+ createOxygenSupplement: createOxygenSupplement,
834
+ updateOxygenSupplement: updateOxygenSupplement,
835
+ deleteEnteralFeedingSupplement: deleteEnteralFeedingSupplement,
836
+ deleteOxygenSupplement: deleteOxygenSupplement,
837
+ updateEnteralFeedingSupplementEndDate: updateEnteralFeedingSupplementEndDate,
838
+ updateOxygenSupplementEndDate: updateOxygenSupplementEndDate
703
839
  });
704
840
 
705
841
  function ownKeys$1l(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; }
@@ -24541,6 +24677,7 @@ exports.createEclipseInPatientInvoice = createEclipseInPatientInvoice;
24541
24677
  exports.createEclipseOnlineEligibilityCheckInvoice = createEclipseOnlineEligibilityCheckInvoice;
24542
24678
  exports.createEclipseOverseasInvoice = createEclipseOverseasInvoice;
24543
24679
  exports.createEmailPackage = createEmailPackage;
24680
+ exports.createEnteralFeedingSupplement = createEnteralFeedingSupplement;
24544
24681
  exports.createEnteralFeedingSupplementAttachment = createEnteralFeedingSupplementAttachment;
24545
24682
  exports.createHealthFund = createHealthFund;
24546
24683
  exports.createHealthFundDocumentNote = createHealthFundDocumentNote;
@@ -24561,6 +24698,7 @@ exports.createOrganisationBusiness = createOrganisationBusiness;
24561
24698
  exports.createOrganisationPractice = createOrganisationPractice;
24562
24699
  exports.createOrganisationStaffMember = createOrganisationStaffMember;
24563
24700
  exports.createOrganisationSupportAccount = createOrganisationSupportAccount;
24701
+ exports.createOxygenSupplement = createOxygenSupplement;
24564
24702
  exports.createOxygenSupplementAttachment = createOxygenSupplementAttachment;
24565
24703
  exports.createPayment = createPayment;
24566
24704
  exports.createPaymentAuthority = createPaymentAuthority;
@@ -24596,6 +24734,7 @@ exports.deleteBusinessService = deleteBusinessService;
24596
24734
  exports.deleteBusinessStaffMember = deleteBusinessStaffMember;
24597
24735
  exports.deleteBusinessStaffMemberEmail = deleteBusinessStaffMemberEmail;
24598
24736
  exports.deleteDocAccount = deleteDocAccount;
24737
+ exports.deleteEnteralFeedingSupplement = deleteEnteralFeedingSupplement;
24599
24738
  exports.deleteHealthFund = deleteHealthFund;
24600
24739
  exports.deleteHealthFundDocumentTag = deleteHealthFundDocumentTag;
24601
24740
  exports.deleteHealthFundForm = deleteHealthFundForm;
@@ -24606,6 +24745,7 @@ exports.deleteMembersHealthFundAccount = deleteMembersHealthFundAccount;
24606
24745
  exports.deleteMinionForHealthFund = deleteMinionForHealthFund;
24607
24746
  exports.deleteOnboardingRequest = deleteOnboardingRequest;
24608
24747
  exports.deleteOrganisationPractice = deleteOrganisationPractice;
24748
+ exports.deleteOxygenSupplement = deleteOxygenSupplement;
24609
24749
  exports.deletePaymentMethod = deletePaymentMethod;
24610
24750
  exports.deleteService = deleteService;
24611
24751
  exports.deleteStaffProviderRegistration = deleteStaffProviderRegistration;
@@ -25007,6 +25147,8 @@ exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionE
25007
25147
  exports.pathCreateOxygenSupplementAttachment = pathCreateOxygenSupplementAttachment;
25008
25148
  exports.pathDeviceByDeviceId = pathDeviceByDeviceId;
25009
25149
  exports.pathDownloadBusinessExport = pathDownloadBusinessExport;
25150
+ exports.pathEnteralFeedingSupplement = pathEnteralFeedingSupplement;
25151
+ exports.pathEnteralFeedingSupplements = pathEnteralFeedingSupplements;
25010
25152
  exports.pathFilterOptions = pathFilterOptions;
25011
25153
  exports.pathFunder = pathFunder;
25012
25154
  exports.pathFunderSettings = pathFunderSettings;
@@ -25027,14 +25169,11 @@ exports.pathGetClaims = pathGetClaims;
25027
25169
  exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
25028
25170
  exports.pathGetEmailLog = pathGetEmailLog;
25029
25171
  exports.pathGetEnteralFeedingSupplementDetails = pathGetEnteralFeedingSupplementDetails;
25030
- exports.pathGetEnteralFeedingSupplements = pathGetEnteralFeedingSupplements;
25031
25172
  exports.pathGetHealthFundTransactionExport = pathGetHealthFundTransactionExport;
25032
25173
  exports.pathGetIndividualContributions = pathGetIndividualContributions;
25033
25174
  exports.pathGetInvoice = pathGetInvoice;
25034
25175
  exports.pathGetLatestApprovedDocument = pathGetLatestApprovedDocument;
25035
25176
  exports.pathGetManualFormUploadUrl = pathGetManualFormUploadUrl;
25036
- exports.pathGetOxygenSupplementDetails = pathGetOxygenSupplementDetails;
25037
- exports.pathGetOxygenSupplements = pathGetOxygenSupplements;
25038
25177
  exports.pathGetPaymentStatement = pathGetPaymentStatement;
25039
25178
  exports.pathGetProviderRegistrationType = pathGetProviderRegistrationType;
25040
25179
  exports.pathGetProviderRegistrationTypes = pathGetProviderRegistrationTypes;
@@ -25088,6 +25227,8 @@ exports.pathOnboardingRequestSubmit = pathOnboardingRequestSubmit;
25088
25227
  exports.pathOrganisationBusinessProfiles = pathOrganisationBusinessProfiles;
25089
25228
  exports.pathOrganisationPracticeProfiles = pathOrganisationPracticeProfiles;
25090
25229
  exports.pathOrganisationStaffProfiles = pathOrganisationStaffProfiles;
25230
+ exports.pathOxygenSupplement = pathOxygenSupplement;
25231
+ exports.pathOxygenSupplements = pathOxygenSupplements;
25091
25232
  exports.pathPaymentItemsReport = pathPaymentItemsReport;
25092
25233
  exports.pathPaymentLink = pathPaymentLink;
25093
25234
  exports.pathPerformMerchantValidation = pathPerformMerchantValidation;
@@ -25130,6 +25271,8 @@ exports.pathTransactionNotes = pathTransactionNotes;
25130
25271
  exports.pathUnlinkBusinessProfile = pathUnlinkBusinessProfile;
25131
25272
  exports.pathUnlinkPracticeProfile = pathUnlinkPracticeProfile;
25132
25273
  exports.pathUnlinkStaffProfile = pathUnlinkStaffProfile;
25274
+ exports.pathUpdateEnteralFeedingSupplementEndDate = pathUpdateEnteralFeedingSupplementEndDate;
25275
+ exports.pathUpdateOxygenSupplementEndDate = pathUpdateOxygenSupplementEndDate;
25133
25276
  exports.pathUpdatePracticeRepresentative = pathUpdatePracticeRepresentative;
25134
25277
  exports.pathUploadUrl = pathUploadUrl;
25135
25278
  exports.pathUploadUrlByBusinessId = pathUploadUrlByBusinessId;
@@ -25271,6 +25414,8 @@ exports.updateClaim = updateClaim;
25271
25414
  exports.updateDevice = updateDevice;
25272
25415
  exports.updateDocAccount = updateDocAccount;
25273
25416
  exports.updateEmailPackage = updateEmailPackage;
25417
+ exports.updateEnteralFeedingSupplement = updateEnteralFeedingSupplement;
25418
+ exports.updateEnteralFeedingSupplementEndDate = updateEnteralFeedingSupplementEndDate;
25274
25419
  exports.updateHealthFund = updateHealthFund;
25275
25420
  exports.updateHealthFundForm = updateHealthFundForm;
25276
25421
  exports.updateHealthFundNote = updateHealthFundNote;
@@ -25283,6 +25428,8 @@ exports.updateMySelfCheckoutSession = updateMySelfCheckoutSession;
25283
25428
  exports.updateOnboardingRequestStep = updateOnboardingRequestStep;
25284
25429
  exports.updateOrganisationPractice = updateOrganisationPractice;
25285
25430
  exports.updateOrganisationStaffMember = updateOrganisationStaffMember;
25431
+ exports.updateOxygenSupplement = updateOxygenSupplement;
25432
+ exports.updateOxygenSupplementEndDate = updateOxygenSupplementEndDate;
25286
25433
  exports.updatePartner = updatePartner;
25287
25434
  exports.updatePartnerPractice = updatePartnerPractice;
25288
25435
  exports.updatePartnerPracticeProviderData = updatePartnerPracticeProviderData;
@@ -782,3 +782,69 @@ export interface GetOxygenSupplementsItem {
782
782
  updatedAtDateTime: string;
783
783
  }
784
784
  export declare type GetOxygenSupplementsResponse = PaginatedResponse<GetOxygenSupplementsItem>;
785
+ export interface CreateOxygenSupplementRequestBody {
786
+ businessId?: string;
787
+ externalReferenceId: string;
788
+ careRecipientId: string;
789
+ serviceNapsId: string;
790
+ startDate: string;
791
+ oxygenTypeCode: string;
792
+ }
793
+ export interface UpdateOxygenSupplementRequestBody {
794
+ businessId?: string;
795
+ externalReferenceId: string;
796
+ careRecipientId: string;
797
+ serviceNapsId: string;
798
+ startDate: string;
799
+ oxygenTypeCode: string;
800
+ }
801
+ export interface DeleteOxygenSupplementQuery {
802
+ businessId?: string;
803
+ }
804
+ export interface CreateEnteralFeedingSupplementRequestBody {
805
+ businessId?: string;
806
+ externalReferenceId: string;
807
+ careRecipientId: string;
808
+ serviceNapsId: string;
809
+ startDate: string;
810
+ enteralFeedingTypeCode: string;
811
+ }
812
+ export interface UpdateEnteralFeedingSupplementRequestBody {
813
+ businessId?: string;
814
+ externalReferenceId: string;
815
+ careRecipientId: string;
816
+ serviceNapsId: string;
817
+ startDate: string;
818
+ enteralFeedingTypeCode: string;
819
+ }
820
+ export interface DeleteEnteralFeedingSupplementQuery {
821
+ businessId?: string;
822
+ }
823
+ export interface UpdateEnteralFeedingSupplementEndDateRequestBody {
824
+ businessId?: string;
825
+ careRecipientId: string;
826
+ startDate: string;
827
+ endDate: string;
828
+ }
829
+ export interface UpdateOxygenSupplementEndDateRequestBody {
830
+ businessId?: string;
831
+ careRecipientId: string;
832
+ startDate: string;
833
+ endDate: string;
834
+ }
835
+ export interface EndDateEnteralFeedingSupplement {
836
+ careRecipientId: string;
837
+ careRecipientName: string;
838
+ startDate: string;
839
+ endDate: string;
840
+ status: 'Created' | 'Updated' | 'Deleted' | 'Pending approval' | 'Approved' | 'Rejected';
841
+ updatedAtDateTime: string;
842
+ }
843
+ export interface EndDateOxygenSupplement {
844
+ careRecipientId: string;
845
+ careRecipientName: string;
846
+ startDate: string;
847
+ endDate: string;
848
+ status: 'Created' | 'Updated' | 'Deleted' | 'Pending approval' | 'Approved' | 'Rejected';
849
+ updatedAtDateTime: string;
850
+ }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('@babel/runtime/regenerator');
6
6
  require('@babel/runtime/helpers/asyncToGenerator');
7
- var utils_request = require('../staff-ada1e9bc.js');
7
+ var utils_request = require('../staff-b88563f6.js');
8
8
  require('@babel/runtime/helpers/defineProperty');
9
9
  require('lodash/merge');
10
10
  require('lodash/uniq');
@@ -7,7 +7,7 @@ require('@babel/runtime/helpers/defineProperty');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('lodash/uniq');
9
9
  require('lodash/flatten');
10
- var utils_request = require('../staff-ada1e9bc.js');
10
+ var utils_request = require('../staff-b88563f6.js');
11
11
  require('lodash/merge');
12
12
  require('axios');
13
13
  require('date-fns/differenceInSeconds');
@@ -6,7 +6,7 @@ require('@babel/runtime/regenerator');
6
6
  require('@babel/runtime/helpers/asyncToGenerator');
7
7
  require('@babel/runtime/helpers/defineProperty');
8
8
  require('lodash/get');
9
- var utils_request = require('../staff-ada1e9bc.js');
9
+ var utils_request = require('../staff-b88563f6.js');
10
10
  require('./get-axios-error.js');
11
11
  require('lodash/merge');
12
12
  require('lodash/uniq');
@@ -7,7 +7,7 @@ require('@babel/runtime/regenerator');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('lodash/merge');
9
9
  require('lodash/uniq');
10
- var utils_request = require('../staff-ada1e9bc.js');
10
+ var utils_request = require('../staff-b88563f6.js');
11
11
  require('axios');
12
12
  require('date-fns/differenceInSeconds');
13
13
  require('jwt-decode');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "12.4.6-feature-aged-care-supplement-apis.1",
3
+ "version": "12.4.7-feature-aged-care-manage-supplement-apis.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -58,5 +58,5 @@
58
58
  "resolutions": {
59
59
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
60
60
  },
61
- "gitHead": "65199c01ffa0f1ce3b3e8948b1d0c7d43557a8e7"
61
+ "gitHead": "c891e73ec18517a112696d9b989e71bbc1abbf9b"
62
62
  }