@medipass/web-sdk 12.4.8-feature-aged-care-entry-departure-apis.3 → 12.4.8-feature-aged-care-entry-departure-apis.5

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.
@@ -889,11 +889,11 @@ export interface GetEntriesItem {
889
889
  departureReasonText: string;
890
890
  createdAtDateTime: string;
891
891
  updatedAtDateTime: string;
892
- address: {
893
- streetLine: string;
894
- suburb: string;
895
- state: string;
896
- postcode: string;
892
+ address?: {
893
+ streetLine?: string;
894
+ suburb?: string;
895
+ state?: string;
896
+ postcode?: string;
897
897
  };
898
898
  messages: Array<{
899
899
  type: string;
@@ -932,11 +932,11 @@ export interface GetEntryResponse {
932
932
  departureReasonText: string;
933
933
  createdAtDateTime: string;
934
934
  updatedAtDateTime: string;
935
- address: {
936
- streetLine: string;
937
- suburb: string;
938
- state: string;
939
- postcode: string;
935
+ address?: {
936
+ streetLine?: string;
937
+ suburb?: string;
938
+ state?: string;
939
+ postcode?: string;
940
940
  };
941
941
  messages: Array<{
942
942
  type: string;
@@ -946,7 +946,25 @@ export interface GetEntryResponse {
946
946
  }
947
947
  export interface UpdateEntryRequestBody {
948
948
  businessId?: string;
949
- eventId: string;
949
+ serviceNapsId: string;
950
+ careRecipientId: string;
951
+ entryDate: string;
952
+ entryCategoryCode: string;
953
+ externalReferenceId?: string;
954
+ optInSupportAtHomeRates?: 'Y' | 'N' | '';
955
+ centrelinkCrn?: string;
956
+ dvaUin?: string;
957
+ careLevel?: string;
958
+ carerStatus?: string;
959
+ awardOrSettlementTypeCode?: string;
960
+ unfundedPriorEntryDate?: string;
961
+ approvalSighted?: 'Y' | 'N' | '';
962
+ address?: {
963
+ streetLine?: string;
964
+ suburb?: string;
965
+ state?: string;
966
+ postcode?: string;
967
+ };
950
968
  }
951
969
  export interface CreateEntryRequestBody {
952
970
  businessId?: string;
@@ -997,11 +1015,11 @@ export interface CreateEntryResponse {
997
1015
  departureReasonText: string;
998
1016
  createdAtDateTime: string;
999
1017
  updatedAtDateTime: string;
1000
- address: {
1001
- streetLine: string;
1002
- suburb: string;
1003
- state: string;
1004
- postcode: string;
1018
+ address?: {
1019
+ streetLine?: string;
1020
+ suburb?: string;
1021
+ state?: string;
1022
+ postcode?: string;
1005
1023
  };
1006
1024
  messages: Array<{
1007
1025
  type: string;
@@ -1076,7 +1094,12 @@ export interface GetDepartureResponse {
1076
1094
  }
1077
1095
  export interface UpdateDepartureRequestBody {
1078
1096
  businessId?: string;
1079
- eventId: string;
1097
+ serviceNapsId: string;
1098
+ careRecipientId: string;
1099
+ externalReferenceId?: string;
1100
+ entryCategoryCode: string;
1101
+ departureDate: string;
1102
+ departureReasonCode: string;
1080
1103
  }
1081
1104
  export interface CreateDepartureRequestBody {
1082
1105
  businessId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "12.4.8-feature-aged-care-entry-departure-apis.3",
3
+ "version": "12.4.8-feature-aged-care-entry-departure-apis.5",
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": "b6b2749141e3afcd9b6f7f0753a3109c940b859b"
61
+ "gitHead": "68904c8039b4e780866ac06fc75cec8935125135"
62
62
  }