@medipass/web-sdk 12.10.6 → 12.10.8

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 +10 -8
  6. package/lib/resources/aged-care.js +3 -1
  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-84d67400.js → staff-c4874ab9.js} +24 -1
  90. package/lib/types/aged-care.d.ts +55 -49
  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
@@ -3,6 +3,7 @@ export type { PaginatedQuery, PaginatedResponse };
3
3
  export interface GetCareRecipientDetailsQuery {
4
4
  registeredProviderId?: string;
5
5
  businessId?: string;
6
+ tempAccessKey?: string;
6
7
  }
7
8
  export interface CareRecipientDetailsResponse {
8
9
  careRecipientId: string;
@@ -159,6 +160,11 @@ export interface ServiceProviderDetailsResponse {
159
160
  updatedAtDateTime: string;
160
161
  }>;
161
162
  }
163
+ export declare type MessageResponse = {
164
+ type: string;
165
+ shortText: string;
166
+ longText: string;
167
+ };
162
168
  export declare type SearchCareRecipientsQuery = PaginatedQuery & {
163
169
  businessId?: string;
164
170
  registeredProviderId?: string;
@@ -423,12 +429,22 @@ export declare type ServiceProviderAccountSummary = {
423
429
  heldoverAmountString: string;
424
430
  };
425
431
  export declare type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
432
+ export declare type GetAgedCareClaimsQuery = PaginatedQuery & {
433
+ serviceProviderId?: string;
434
+ serviceNapsId?: string;
435
+ status?: AgedCareClaimStatus;
436
+ paymentDateFrom?: string;
437
+ paymentDateTo?: string;
438
+ updatedAtDateTimeFrom?: string;
439
+ updatedAtDateTimeTo?: string;
440
+ createdAtDateTimeFrom?: string;
441
+ createdAtDateTimeTo?: string;
442
+ };
426
443
  export declare type GetClaimsQuery = PaginatedQuery & {
427
444
  fromDate?: string;
428
445
  toDate?: string;
429
446
  };
430
- export declare type AgedCareClaimStatus = 'Being Calculated' | 'Pending Approval' | 'Cancelled' | 'Approved' | 'Paid' | 'Completed';
431
- export declare type AgedCareInvoiceStatus = 'OPEN' | 'SUBMITTED' | 'HELD' | 'DELETED' | 'CLAIMED' | 'COMPLETED';
447
+ export declare type AgedCareClaimStatus = 'Being calculated' | 'In Error' | 'Pending Approval' | 'Cancelled' | 'Approved' | 'Paid' | 'Completed';
432
448
  export interface MedipassAgedCareClaimShort {
433
449
  _id: string;
434
450
  businessId: string;
@@ -450,13 +466,23 @@ export interface AgedCareClaim {
450
466
  claimId: string;
451
467
  serviceProviderId: string;
452
468
  serviceNapsId: string;
469
+ paymentDate: string;
453
470
  status: AgedCareClaimStatus;
454
471
  updatedAtDateTime: string;
455
472
  createdAtDateTime: string;
456
473
  invoices: Array<{
457
474
  invoiceId: string;
458
475
  }>;
459
- messages: Array<string>;
476
+ messages: Array<MessageResponse>;
477
+ }
478
+ export interface AgedCareClaimSearchResponse {
479
+ claimId: string;
480
+ serviceProviderId: string;
481
+ serviceNapsId: string;
482
+ paymentDate: string;
483
+ status: AgedCareClaimStatus;
484
+ updatedAtDateTime: string;
485
+ createdAtDateTime: string;
460
486
  }
461
487
  export interface MedipassAgedCareClaim {
462
488
  _id: string;
@@ -636,8 +662,19 @@ export declare type GetInvoiceQuery = {
636
662
  businessId?: string;
637
663
  };
638
664
  export declare type GetPaymentItemsReportQuery = PaginatedQuery & {
639
- businessId?: string;
665
+ serviceProviderId?: string;
666
+ serviceNapsId?: string;
667
+ careRecipientId?: string;
668
+ paymentDateFrom?: string;
669
+ paymentDateTo?: string;
670
+ deliveryDateFrom?: string;
671
+ deliveryDateTo?: string;
672
+ serviceGroupId?: string;
673
+ serviceTypeId?: string;
674
+ serviceId?: string;
640
675
  invoiceId?: string;
676
+ updatedAtDateTimeFrom?: string;
677
+ updatedAtDateTimeTo?: string;
641
678
  };
642
679
  export declare type AgedCarePaymentItemsReport = {
643
680
  invoiceId: string;
@@ -661,6 +698,7 @@ export declare type AgedCarePaymentItemsReport = {
661
698
  itemDescriptionText: string;
662
699
  wraparoundDescriptionCode: string;
663
700
  wraparoundDescriptionText: string;
701
+ entitlementType: string;
664
702
  quantity: number;
665
703
  pricePerUnit: number;
666
704
  pricePerUnitString: string;
@@ -673,11 +711,14 @@ export declare type AgedCarePaymentItemsReport = {
673
711
  individualContributionAmountString: string;
674
712
  paymentDetermination: number;
675
713
  paymentDeterminationString: string;
714
+ finalDetermination: number;
715
+ finalDeterminationString: string;
676
716
  updatedAtDateTime: string;
677
717
  budgets: Array<{
678
718
  budgetTypeCode: string;
679
719
  budgetTypeText: string;
680
720
  amount: number;
721
+ amountString: string;
681
722
  }>;
682
723
  };
683
724
  export declare type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
@@ -876,11 +917,7 @@ export interface OxygenSupplement {
876
917
  channel: string;
877
918
  createdAtDateTime: string;
878
919
  updatedAtDateTime: string;
879
- messages: Array<{
880
- type: string;
881
- shortText: string;
882
- longText: string;
883
- }>;
920
+ messages: Array<MessageResponse>;
884
921
  attachments: Array<{
885
922
  type: string;
886
923
  typeText: string;
@@ -905,11 +942,7 @@ export interface EnteralFeedingSupplement {
905
942
  channel: string;
906
943
  createdAtDateTime: string;
907
944
  updatedAtDateTime: string;
908
- messages: Array<{
909
- type: string;
910
- shortText: string;
911
- longText: string;
912
- }>;
945
+ messages: Array<MessageResponse>;
913
946
  attachments: Array<{
914
947
  type: string;
915
948
  typeText: string;
@@ -1085,7 +1118,6 @@ export interface GetEntriesItem {
1085
1118
  optInSupportAtHomeRates: string;
1086
1119
  centrelinkCrn: string;
1087
1120
  dvaUin: string;
1088
- careLevel: string;
1089
1121
  carerStatus: string;
1090
1122
  awardOrSettlementTypeCode: string;
1091
1123
  unfundedPriorEntryDate: string;
@@ -1100,11 +1132,7 @@ export interface GetEntriesItem {
1100
1132
  state?: string;
1101
1133
  postcode?: string;
1102
1134
  };
1103
- messages: Array<{
1104
- type: string;
1105
- shortText: string;
1106
- longText: string;
1107
- }>;
1135
+ messages: Array<MessageResponse>;
1108
1136
  }
1109
1137
  export declare type GetEntriesResponse = PaginatedResponse<GetEntriesItem>;
1110
1138
  export interface GetEntryQuery {
@@ -1128,7 +1156,6 @@ export interface GetEntryResponse {
1128
1156
  optInSupportAtHomeRates: string;
1129
1157
  centrelinkCrn: string;
1130
1158
  dvaUin: string;
1131
- careLevel: string;
1132
1159
  carerStatus: string;
1133
1160
  awardOrSettlementTypeCode: string;
1134
1161
  unfundedPriorEntryDate: string;
@@ -1143,11 +1170,7 @@ export interface GetEntryResponse {
1143
1170
  state?: string;
1144
1171
  postcode?: string;
1145
1172
  };
1146
- messages: Array<{
1147
- type: string;
1148
- shortText: string;
1149
- longText: string;
1150
- }>;
1173
+ messages: Array<MessageResponse>;
1151
1174
  }
1152
1175
  export interface UpdateEntryRequestBody {
1153
1176
  businessId?: string;
@@ -1159,7 +1182,6 @@ export interface UpdateEntryRequestBody {
1159
1182
  optInSupportAtHomeRates?: 'Y' | 'N' | '';
1160
1183
  centrelinkCrn?: string;
1161
1184
  dvaUin?: string;
1162
- careLevel?: string;
1163
1185
  carerStatus?: string;
1164
1186
  awardOrSettlementTypeCode?: string;
1165
1187
  unfundedPriorEntryDate?: string;
@@ -1181,7 +1203,6 @@ export interface CreateEntryRequestBody {
1181
1203
  optInSupportAtHomeRates?: 'Y' | 'N' | '';
1182
1204
  centrelinkCrn?: string;
1183
1205
  dvaUin?: string;
1184
- careLevel?: string;
1185
1206
  carerStatus?: string;
1186
1207
  awardOrSettlementTypeCode?: string;
1187
1208
  unfundedPriorEntryDate?: string;
@@ -1192,6 +1213,7 @@ export interface CreateEntryRequestBody {
1192
1213
  state?: string;
1193
1214
  postcode?: string;
1194
1215
  };
1216
+ tempAccessKey?: string;
1195
1217
  }
1196
1218
  export interface CreateEntryResponse {
1197
1219
  eventId: string;
@@ -1211,7 +1233,6 @@ export interface CreateEntryResponse {
1211
1233
  optInSupportAtHomeRates: string;
1212
1234
  centrelinkCrn: string;
1213
1235
  dvaUin: string;
1214
- careLevel: string;
1215
1236
  carerStatus: string;
1216
1237
  awardOrSettlementTypeCode: string;
1217
1238
  unfundedPriorEntryDate: string;
@@ -1226,11 +1247,7 @@ export interface CreateEntryResponse {
1226
1247
  state?: string;
1227
1248
  postcode?: string;
1228
1249
  };
1229
- messages: Array<{
1230
- type: string;
1231
- shortText: string;
1232
- longText: string;
1233
- }>;
1250
+ messages: Array<MessageResponse>;
1234
1251
  }
1235
1252
  export interface DeleteEntryQuery {
1236
1253
  businessId?: string;
@@ -1264,11 +1281,7 @@ export interface GetDeparturesItem {
1264
1281
  entryId: string;
1265
1282
  createdAtDateTime: string;
1266
1283
  updatedAtDateTime: string;
1267
- messages: Array<{
1268
- type: string;
1269
- shortText: string;
1270
- longText: string;
1271
- }>;
1284
+ messages: Array<MessageResponse>;
1272
1285
  }
1273
1286
  export declare type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
1274
1287
  export interface GetDepartureQuery {
@@ -1291,11 +1304,7 @@ export interface GetDepartureResponse {
1291
1304
  entryId: string;
1292
1305
  createdAtDateTime: string;
1293
1306
  updatedAtDateTime: string;
1294
- messages: Array<{
1295
- type: string;
1296
- shortText: string;
1297
- longText: string;
1298
- }>;
1307
+ messages: Array<MessageResponse>;
1299
1308
  }
1300
1309
  export interface UpdateDepartureRequestBody {
1301
1310
  businessId?: string;
@@ -1332,11 +1341,7 @@ export interface CreateDepartureResponse {
1332
1341
  entryId: string;
1333
1342
  createdAtDateTime: string;
1334
1343
  updatedAtDateTime: string;
1335
- messages: Array<{
1336
- type: string;
1337
- shortText: string;
1338
- longText: string;
1339
- }>;
1344
+ messages: Array<MessageResponse>;
1340
1345
  }
1341
1346
  export interface DeleteDepartureQuery {
1342
1347
  businessId?: string;
@@ -1527,6 +1532,7 @@ export declare type AgedCareInvoiceListResponse = {
1527
1532
  updatedAtDateTime: string;
1528
1533
  };
1529
1534
  export declare type GetInvoicesResponse = PaginatedResponse<AgedCareInvoiceListResponse>;
1535
+ export declare type GetClaimsResponse = PaginatedResponse<AgedCareClaimSearchResponse>;
1530
1536
  export declare type Correspondence = {
1531
1537
  correspondenceId: string;
1532
1538
  description: string;
@@ -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-84d67400.js');
7
+ var utils_request = require('../staff-c4874ab9.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-84d67400.js');
10
+ var utils_request = require('../staff-c4874ab9.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-84d67400.js');
9
+ var utils_request = require('../staff-c4874ab9.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-84d67400.js');
10
+ var utils_request = require('../staff-c4874ab9.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.10.6",
3
+ "version": "12.10.8",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -59,5 +59,5 @@
59
59
  "resolutions": {
60
60
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
61
61
  },
62
- "gitHead": "dc14c4ea952b11061a38f6bf3aecf4235910ce7a"
62
+ "gitHead": "9575e3124a8680cbc878b105efa2d09c255440ee"
63
63
  }