@medipass/web-sdk 12.10.4 → 12.10.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.
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 +4 -0
  6. package/lib/resources/aged-care.js +5 -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-f878ff9b.js → staff-9307a362.js} +46 -0
  90. package/lib/types/aged-care.d.ts +70 -18
  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
@@ -161,18 +161,14 @@ export interface ServiceProviderDetailsResponse {
161
161
  }
162
162
  export declare type SearchCareRecipientsQuery = PaginatedQuery & {
163
163
  businessId?: string;
164
- careRecipientId?: string;
165
164
  registeredProviderId?: string;
166
165
  firstName?: string;
167
- middleName?: string;
168
166
  lastName?: string;
169
167
  birthDate?: string;
170
168
  gender?: string;
171
169
  myAgedCareGatewayId?: string;
172
170
  sparcId?: string;
173
- sortFields?: string;
174
- postCode?: string;
175
- state?: string;
171
+ sortFields?: 'lastName' | 'firstName' | 'careRecipientId' | 'birthDate' | '';
176
172
  };
177
173
  export declare type SearchCareRecipient = {
178
174
  careRecipientId: string;
@@ -185,6 +181,32 @@ export declare type SearchCareRecipient = {
185
181
  sparcId: string;
186
182
  };
187
183
  export declare type SearchCareRecipientsResponse = PaginatedResponse<SearchCareRecipient>;
184
+ export declare type SearchSingleCareRecipientQuery = {
185
+ businessId?: string;
186
+ registeredProviderId?: string;
187
+ careRecipientId?: string;
188
+ firstName?: string;
189
+ middleName?: string;
190
+ lastName?: string;
191
+ gender?: string;
192
+ birthDate?: string;
193
+ postCode?: string;
194
+ state?: string;
195
+ };
196
+ export interface SearchSingleCareRecipientResponse {
197
+ careRecipientId: string;
198
+ firstName: string;
199
+ middleName: string;
200
+ lastName: string;
201
+ gender: string;
202
+ birthDate: string;
203
+ tempAccessKey: string;
204
+ tempAccessExpiry: string;
205
+ messages: Array<{
206
+ type: string;
207
+ message: string;
208
+ }>;
209
+ }
188
210
  export declare type CreateAgedCareInvoiceBody = {
189
211
  draftTransactionId?: string;
190
212
  businessId: string;
@@ -318,14 +340,23 @@ export declare type OnboardRequestBody = {
318
340
  otac: string;
319
341
  deviceName: string;
320
342
  };
321
- export declare type OnboardResponse = RegisteredProvider;
343
+ export declare type OnboardResponse = RegisteredProviderDetails;
322
344
  export declare type GetRegisteredProviderQuery = {
323
345
  businessId?: string;
324
346
  };
325
347
  export declare type GetRegisteredProvidersQuery = PaginatedQuery & {
326
348
  businessId?: string;
349
+ registeredProviderId?: string;
350
+ providerNapsId?: string;
351
+ providerId?: string;
352
+ providerRacsId?: string;
353
+ providerName?: string;
327
354
  };
328
- export declare type RegisteredProvider = {
355
+ export declare type GetMyRegisteredProviderQuery = PaginatedQuery & {
356
+ businessId?: string;
357
+ registeredProviderId?: string;
358
+ };
359
+ export declare type RegisteredProviderDetails = {
329
360
  providerId: string;
330
361
  providerNapsId: string;
331
362
  providerName: string;
@@ -358,8 +389,15 @@ export declare type RegisteredProvider = {
358
389
  operationalStatus: string;
359
390
  }>;
360
391
  };
361
- export declare type GetRegisteredProviderResponse = Array<RegisteredProvider>;
362
- export declare type GetRegisteredProvidersResponse = PaginatedResponse<RegisteredProvider>;
392
+ export declare type RegisteredProviderSearchResponse = {
393
+ providerId: string;
394
+ providerNapsId: string;
395
+ providerRacsId: string;
396
+ providerName: string;
397
+ };
398
+ export declare type GetRegisteredProviderResponse = Array<RegisteredProviderDetails>;
399
+ export declare type GetRegisteredProvidersResponse = PaginatedResponse<RegisteredProviderSearchResponse>;
400
+ export declare type MyRegisteredProviderResponse = RegisteredProviderDetails;
363
401
  export declare type GetServiceProviderAccountSummaryQuery = {
364
402
  businessId?: string;
365
403
  periodStartDate?: string;
@@ -681,7 +719,7 @@ export declare type GetIndividualContributionsQuery = PaginatedQuery & {
681
719
  effectiveDateTo?: string;
682
720
  updatedAtDateTimeFrom?: string;
683
721
  updatedAtDateTimeTo?: string;
684
- sortFields?: string;
722
+ sortFields?: 'careRecipientId' | 'createdAtDateTime' | 'updatedAtDateTime' | '';
685
723
  };
686
724
  export declare type IndividualContribution = {
687
725
  serviceProviderId: string;
@@ -703,13 +741,13 @@ export declare type GetCareRecipientBudgetsQuery = PaginatedQuery & {
703
741
  businessId?: string;
704
742
  effectiveDateFrom?: string;
705
743
  effectiveDateTo?: string;
706
- sortFields?: string;
744
+ sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | '';
707
745
  };
708
746
  export declare type GetServiceProviderBudgetsQuery = PaginatedQuery & {
709
747
  businessId?: string;
710
748
  effectiveDateFrom?: string;
711
749
  effectiveDateTo?: string;
712
- sortFields?: string;
750
+ sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | '';
713
751
  };
714
752
  export declare type GetServiceProviderActiveBudgetsQuery = PaginatedQuery & {
715
753
  businessId?: string;
@@ -899,7 +937,7 @@ export declare type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
899
937
  endDateTo?: string;
900
938
  updatedAtDateTimeFrom?: string;
901
939
  updatedAtDateTimeTo?: string;
902
- sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
940
+ sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId' | '';
903
941
  };
904
942
  export declare type GetOxygenSupplementsQuery = PaginatedQuery & {
905
943
  businessId?: string;
@@ -913,7 +951,7 @@ export declare type GetOxygenSupplementsQuery = PaginatedQuery & {
913
951
  endDateTo?: string;
914
952
  updatedAtDateTimeFrom?: string;
915
953
  updatedAtDateTimeTo?: string;
916
- sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
954
+ sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId' | '';
917
955
  };
918
956
  export interface GetEnteralFeedingSupplementsItem {
919
957
  supplementId: string;
@@ -1027,7 +1065,7 @@ export declare type GetEntriesQuery = PaginatedQuery & {
1027
1065
  departureDateTo?: string;
1028
1066
  updatedAtDateTimeFrom?: string;
1029
1067
  updatedAtDateTimeTo?: string;
1030
- sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'entryDate' | 'careRecipientId' | 'externalReferenceId';
1068
+ sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'entryDate' | 'careRecipientId' | 'externalReferenceId' | '';
1031
1069
  };
1032
1070
  export interface GetEntriesItem {
1033
1071
  eventId: string;
@@ -1207,7 +1245,7 @@ export declare type GetDeparturesQuery = PaginatedQuery & {
1207
1245
  departureDateTo?: string;
1208
1246
  updatedAtDateTimeFrom?: string;
1209
1247
  updatedAtDateTimeTo?: string;
1210
- sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'entryDate' | 'careRecipientId' | 'externalReferenceId';
1248
+ sortFields?: 'createdAtDateTime' | 'updatedAtDateTime' | 'entryDate' | 'careRecipientId' | 'externalReferenceId' | '';
1211
1249
  };
1212
1250
  export interface GetDeparturesItem {
1213
1251
  eventId: string;
@@ -1369,7 +1407,7 @@ export declare type GetFundingSourcesQuery = {
1369
1407
  businessId?: string;
1370
1408
  registeredProviderId?: string;
1371
1409
  };
1372
- export declare type GetFundingSourcesResponse = {
1410
+ export declare type GetFundingSourcesResponse = Array<{
1373
1411
  fundingSourceCode: string;
1374
1412
  fundingSourceText: string;
1375
1413
  entryCategories: Array<{
@@ -1386,7 +1424,7 @@ export declare type GetFundingSourcesResponse = {
1386
1424
  budgetTypeCode: string;
1387
1425
  budgetTypeText: string;
1388
1426
  }>;
1389
- };
1427
+ }>;
1390
1428
  export declare type GetLateSubmissionReasonsQuery = {
1391
1429
  businessId?: string;
1392
1430
  registeredProviderId?: string;
@@ -1406,10 +1444,24 @@ export declare type GetBudgetItemCodesResponse = {
1406
1444
  entitlementCodes: Array<{
1407
1445
  budgetItemCode: string;
1408
1446
  budgetItemText: string;
1447
+ rates: Array<{
1448
+ rate: number;
1449
+ frequency: number;
1450
+ frequencyPeriod: string;
1451
+ validFrom: string;
1452
+ validTo: string;
1453
+ }>;
1409
1454
  }>;
1410
1455
  usageCodes: Array<{
1411
1456
  budgetItemCode: string;
1412
1457
  budgetItemText: string;
1458
+ rates: Array<{
1459
+ rate: number;
1460
+ frequency: number;
1461
+ frequencyPeriod: string;
1462
+ validFrom: string;
1463
+ validTo: string;
1464
+ }>;
1413
1465
  }>;
1414
1466
  };
1415
1467
  export declare type GetEventsQuery = PaginatedQuery & {
@@ -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-f878ff9b.js');
7
+ var utils_request = require('../staff-9307a362.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-f878ff9b.js');
10
+ var utils_request = require('../staff-9307a362.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-f878ff9b.js');
9
+ var utils_request = require('../staff-9307a362.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-f878ff9b.js');
10
+ var utils_request = require('../staff-9307a362.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.4",
3
+ "version": "12.10.5",
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": "59d096ba4cc291d7626a98d71f2cd28698302ff0"
62
+ "gitHead": "b20a3a4ffb2c77082a1088aae3206acf8add6248"
63
63
  }