@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.
- 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/aged-care.d.ts +4 -0
- package/lib/resources/aged-care.js +5 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applePay.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.js +1 -1
- 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-email-log.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- 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/icare.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/qbe.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/s3-files.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/transaction-reports.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.js +1 -1
- package/lib/services/version.js +1 -1
- package/lib/{staff-f878ff9b.js → staff-9307a362.js} +46 -0
- package/lib/types/aged-care.d.ts +70 -18
- 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 +2 -2
package/lib/types/aged-care.d.ts
CHANGED
|
@@ -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?:
|
|
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 =
|
|
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
|
|
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
|
|
362
|
-
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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 & {
|
package/lib/utils/application.js
CHANGED
|
@@ -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-
|
|
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');
|
package/lib/utils/professions.js
CHANGED
|
@@ -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-
|
|
10
|
+
var utils_request = require('../staff-9307a362.js');
|
|
11
11
|
require('lodash/merge');
|
|
12
12
|
require('axios');
|
|
13
13
|
require('date-fns/differenceInSeconds');
|
package/lib/utils/request.js
CHANGED
|
@@ -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-
|
|
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');
|
package/lib/utils/staff.js
CHANGED
|
@@ -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-
|
|
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.
|
|
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": "
|
|
62
|
+
"gitHead": "b20a3a4ffb2c77082a1088aae3206acf8add6248"
|
|
63
63
|
}
|