@medipass/web-sdk 12.5.2-chore-upgrade-dependencies.0 → 12.5.2-feature-aged-care-api-changes.0
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 +2 -2
- package/lib/resources/abr.js +2 -2
- package/lib/resources/accounts.js +2 -2
- package/lib/resources/actions.js +2 -2
- package/lib/resources/aged-care.d.ts +10 -6
- package/lib/resources/aged-care.js +6 -2
- package/lib/resources/api-keys.js +2 -2
- package/lib/resources/applePay.js +2 -2
- package/lib/resources/applications.js +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +2 -2
- package/lib/resources/auth.js +2 -2
- package/lib/resources/blacklist.js +2 -2
- package/lib/resources/bulk-submits.js +2 -2
- package/lib/resources/bulk-uploads.js +2 -2
- package/lib/resources/business-email-log.js +2 -2
- package/lib/resources/business-profiles.d.ts +1 -1
- package/lib/resources/business-profiles.js +2 -2
- package/lib/resources/businesses.js +2 -2
- package/lib/resources/claim-items.js +2 -2
- package/lib/resources/devices.js +2 -2
- package/lib/resources/doc-accounts.js +2 -2
- package/lib/resources/documents.js +2 -2
- package/lib/resources/emails.js +2 -2
- package/lib/resources/filter-options.js +2 -2
- package/lib/resources/form-application-templates.js +2 -2
- package/lib/resources/form-applications.js +2 -2
- package/lib/resources/forms.js +2 -2
- package/lib/resources/funder-services.js +2 -2
- package/lib/resources/funder-settings.js +2 -2
- package/lib/resources/funder-values.js +2 -2
- package/lib/resources/funders.js +2 -2
- package/lib/resources/futures.js +2 -2
- package/lib/resources/health-fund-accounts.js +2 -2
- package/lib/resources/health-fund-settings.js +2 -2
- package/lib/resources/healthfunds.js +2 -2
- package/lib/resources/icare.js +2 -2
- package/lib/resources/icditems.js +2 -2
- package/lib/resources/invoice-scans.js +2 -2
- package/lib/resources/jhcs.js +2 -2
- package/lib/resources/kyc.js +2 -2
- package/lib/resources/logs.js +2 -2
- package/lib/resources/members.js +2 -2
- package/lib/resources/message-mappings.js +2 -2
- package/lib/resources/minions.js +2 -2
- package/lib/resources/modalities.js +2 -2
- package/lib/resources/notes.js +2 -2
- package/lib/resources/onboarding-applications.js +2 -2
- package/lib/resources/onboarding-requests.js +2 -2
- package/lib/resources/ops.js +2 -2
- package/lib/resources/organisations.js +2 -2
- package/lib/resources/partners.js +2 -2
- package/lib/resources/patients.js +2 -2
- package/lib/resources/payments.d.ts +1 -1
- package/lib/resources/payments.js +2 -2
- package/lib/resources/pms.js +2 -2
- package/lib/resources/practice-profiles.d.ts +1 -1
- package/lib/resources/practice-profiles.js +2 -2
- package/lib/resources/practice-types.js +2 -2
- package/lib/resources/practices.js +2 -2
- package/lib/resources/products.js +2 -2
- package/lib/resources/professional-categories.js +2 -2
- package/lib/resources/provider-number-types.js +2 -2
- package/lib/resources/provider-registration-types.js +2 -2
- package/lib/resources/provider-requests.js +2 -2
- package/lib/resources/provider-types.js +2 -2
- package/lib/resources/qbe.js +2 -2
- package/lib/resources/ref-sources.js +2 -2
- package/lib/resources/risk.js +2 -2
- package/lib/resources/rnas.js +2 -2
- package/lib/resources/roles.js +2 -2
- package/lib/resources/s3-files.js +2 -2
- package/lib/resources/self-checkout-sessions.js +2 -2
- package/lib/resources/services.js +2 -2
- package/lib/resources/settlements.js +2 -2
- package/lib/resources/sign-up.js +2 -2
- package/lib/resources/specialties.js +2 -2
- package/lib/resources/staff-profiles.d.ts +1 -1
- package/lib/resources/staff-profiles.js +2 -2
- package/lib/resources/staff.js +2 -2
- package/lib/resources/statistics.js +2 -2
- package/lib/resources/subscriptions.js +2 -2
- package/lib/resources/terminals.js +2 -2
- package/lib/resources/transaction-export.js +2 -2
- package/lib/resources/transaction-reports.js +2 -2
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/transactions.js +2 -2
- package/lib/resources/triggers.js +2 -2
- package/lib/resources/vendors.js +2 -2
- package/lib/resources/verify.js +2 -2
- package/lib/resources/workers.js +2 -2
- package/lib/resources/workflow-exceptions.js +2 -2
- package/lib/services/aws.js +2 -2
- package/lib/services/storage.d.ts +3 -3
- package/lib/services/version.js +2 -2
- package/lib/{staff-87f6066b.js → staff-e612ce0c.js} +66 -24
- package/lib/types/account.d.ts +1 -1
- package/lib/types/aged-care.d.ts +61 -53
- package/lib/types/business.d.ts +7 -7
- package/lib/types/documents.d.ts +9 -9
- package/lib/types/forms.d.ts +5 -5
- package/lib/types/funder.d.ts +1 -1
- package/lib/types/index.d.ts +4 -4
- package/lib/types/kyc.d.ts +4 -4
- package/lib/types/message-mappings.d.ts +2 -2
- package/lib/types/notes.d.ts +1 -1
- package/lib/types/payment-methods.d.ts +1 -1
- package/lib/types/practice.d.ts +8 -8
- package/lib/types/products.d.ts +3 -3
- package/lib/types/professional-category.d.ts +1 -1
- package/lib/types/provider-registration.d.ts +1 -1
- package/lib/types/provider-set-item.d.ts +1 -1
- package/lib/types/specialty.d.ts +1 -1
- package/lib/types/staff-member.d.ts +4 -4
- package/lib/types/subscription.d.ts +5 -5
- package/lib/types/transaction.d.ts +1 -1
- package/lib/utils/application.js +2 -2
- package/lib/utils/professions.d.ts +1 -1
- package/lib/utils/professions.js +2 -2
- package/lib/utils/request.js +2 -2
- package/lib/utils/staff.js +2 -2
- package/package.json +14 -14
package/lib/types/aged-care.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PaginatedQuery, PaginatedResponse } from 'types';
|
|
2
|
-
import type { StaffMember } from './staff-member';
|
|
3
2
|
export interface GetCareRecipientDetailsQuery {
|
|
4
3
|
registeredProviderId?: string;
|
|
5
4
|
businessId?: string;
|
|
@@ -138,7 +137,7 @@ export interface SearchCareRecipientsQuery {
|
|
|
138
137
|
sparcId?: string;
|
|
139
138
|
sortFields?: string;
|
|
140
139
|
}
|
|
141
|
-
export type SearchCareRecipient = {
|
|
140
|
+
export declare type SearchCareRecipient = {
|
|
142
141
|
careRecipientId: string;
|
|
143
142
|
birthDate: string;
|
|
144
143
|
firstName: string;
|
|
@@ -148,8 +147,8 @@ export type SearchCareRecipient = {
|
|
|
148
147
|
myAgedCareGatewayId: string;
|
|
149
148
|
sparcId: string;
|
|
150
149
|
};
|
|
151
|
-
export type SearchCareRecipientsResponse = PaginatedResponse<SearchCareRecipient>;
|
|
152
|
-
export type CreateAgedCareInvoiceBody = {
|
|
150
|
+
export declare type SearchCareRecipientsResponse = PaginatedResponse<SearchCareRecipient>;
|
|
151
|
+
export declare type CreateAgedCareInvoiceBody = {
|
|
153
152
|
draftTransactionId?: string;
|
|
154
153
|
businessId: string;
|
|
155
154
|
invoiceReference: string;
|
|
@@ -193,7 +192,7 @@ export type CreateAgedCareInvoiceBody = {
|
|
|
193
192
|
}>;
|
|
194
193
|
}>;
|
|
195
194
|
};
|
|
196
|
-
export type AgedCareInvoice = {
|
|
195
|
+
export declare type AgedCareInvoice = {
|
|
197
196
|
_id: string;
|
|
198
197
|
invoiceId: string;
|
|
199
198
|
serviceNapsId: string;
|
|
@@ -228,10 +227,10 @@ export type AgedCareInvoice = {
|
|
|
228
227
|
updatedAtDateTime: string;
|
|
229
228
|
}>;
|
|
230
229
|
};
|
|
231
|
-
export type GetServicesQuery = {
|
|
230
|
+
export declare type GetServicesQuery = {
|
|
232
231
|
businessId: string;
|
|
233
232
|
};
|
|
234
|
-
export type AgedCareService = {
|
|
233
|
+
export declare type AgedCareService = {
|
|
235
234
|
serviceGroupId: string;
|
|
236
235
|
serviceGroupText: string;
|
|
237
236
|
serviceTypeId: string;
|
|
@@ -273,18 +272,18 @@ export type AgedCareService = {
|
|
|
273
272
|
effectiveEndDate: string;
|
|
274
273
|
updatedAtDateTime: string;
|
|
275
274
|
};
|
|
276
|
-
export type OnboardRequestBody = {
|
|
275
|
+
export declare type OnboardRequestBody = {
|
|
277
276
|
businessId?: string;
|
|
278
277
|
registeredProviderId: string;
|
|
279
278
|
orgId: string;
|
|
280
279
|
otac: string;
|
|
281
280
|
deviceName: string;
|
|
282
281
|
};
|
|
283
|
-
export type OnboardResponse =
|
|
284
|
-
export type GetRegisteredProvidersQuery = {
|
|
282
|
+
export declare type OnboardResponse = RegisteredProvider;
|
|
283
|
+
export declare type GetRegisteredProvidersQuery = {
|
|
285
284
|
businessId?: string;
|
|
286
285
|
};
|
|
287
|
-
export type RegisteredProvider = {
|
|
286
|
+
export declare type RegisteredProvider = {
|
|
288
287
|
providerId: string;
|
|
289
288
|
providerNapsId: string;
|
|
290
289
|
providerName: string;
|
|
@@ -317,13 +316,14 @@ export type RegisteredProvider = {
|
|
|
317
316
|
operationalStatus: string;
|
|
318
317
|
}>;
|
|
319
318
|
};
|
|
320
|
-
export type
|
|
321
|
-
export type
|
|
319
|
+
export declare type GetRegisteredProviderResponse = Array<RegisteredProvider>;
|
|
320
|
+
export declare type GetRegisteredProvidersResponse = PaginatedResponse<RegisteredProvider>;
|
|
321
|
+
export declare type GetServiceProviderAccountSummaryQuery = {
|
|
322
322
|
businessId?: string;
|
|
323
323
|
periodStartDate?: string;
|
|
324
324
|
periodEndDate?: string;
|
|
325
325
|
};
|
|
326
|
-
export type ServiceProviderAccountSummary = {
|
|
326
|
+
export declare type ServiceProviderAccountSummary = {
|
|
327
327
|
serviceProviderId: string;
|
|
328
328
|
serviceNapsId: string;
|
|
329
329
|
periodStartDate: string;
|
|
@@ -339,13 +339,13 @@ export type ServiceProviderAccountSummary = {
|
|
|
339
339
|
}>;
|
|
340
340
|
heldoverAmount: number;
|
|
341
341
|
};
|
|
342
|
-
export type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
|
|
343
|
-
export type GetClaimsQuery = PaginatedQuery & {
|
|
342
|
+
export declare type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
|
|
343
|
+
export declare type GetClaimsQuery = PaginatedQuery & {
|
|
344
344
|
fromDate?: string;
|
|
345
345
|
toDate?: string;
|
|
346
346
|
};
|
|
347
|
-
export type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
|
|
348
|
-
export type AgedCareClaim = {
|
|
347
|
+
export declare type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
|
|
348
|
+
export declare type AgedCareClaim = {
|
|
349
349
|
_id: string;
|
|
350
350
|
businessId: string;
|
|
351
351
|
staff: {
|
|
@@ -380,15 +380,15 @@ export type AgedCareClaim = {
|
|
|
380
380
|
created: string;
|
|
381
381
|
modified: string;
|
|
382
382
|
};
|
|
383
|
-
export type GetClaimQuery = {
|
|
383
|
+
export declare type GetClaimQuery = {
|
|
384
384
|
businessId?: string;
|
|
385
385
|
};
|
|
386
|
-
export type GetPaymentStatementQuery = {
|
|
386
|
+
export declare type GetPaymentStatementQuery = {
|
|
387
387
|
businessId?: string;
|
|
388
388
|
serviceProviderId: string;
|
|
389
389
|
claimId: string;
|
|
390
390
|
};
|
|
391
|
-
export type AgedCarePaymentStatement = {
|
|
391
|
+
export declare type AgedCarePaymentStatement = {
|
|
392
392
|
id: string;
|
|
393
393
|
serviceProviderId: string;
|
|
394
394
|
serviceNapsId: string;
|
|
@@ -448,12 +448,12 @@ export type AgedCarePaymentStatement = {
|
|
|
448
448
|
note: string;
|
|
449
449
|
}>;
|
|
450
450
|
};
|
|
451
|
-
export type AgedCareUploadUrlRequestBody = {
|
|
451
|
+
export declare type AgedCareUploadUrlRequestBody = {
|
|
452
452
|
businessId?: string;
|
|
453
453
|
contentType: string;
|
|
454
454
|
contentLength: number;
|
|
455
455
|
};
|
|
456
|
-
export type AgedCareUploadUrlResponse = {
|
|
456
|
+
export declare type AgedCareUploadUrlResponse = {
|
|
457
457
|
signedPost: {
|
|
458
458
|
fields: {
|
|
459
459
|
key: string;
|
|
@@ -472,14 +472,14 @@ export type AgedCareUploadUrlResponse = {
|
|
|
472
472
|
s3Url: string;
|
|
473
473
|
s3SignedUrlId: string;
|
|
474
474
|
};
|
|
475
|
-
export type AgedCareTransactionAttachmentType = 'INVOICE' | 'PRESC' | 'QUOTE' | 'RECEIPT' | 'OTHER';
|
|
476
|
-
export type CreateInvoiceItemAttachmentRequestBody = {
|
|
475
|
+
export declare type AgedCareTransactionAttachmentType = 'INVOICE' | 'PRESC' | 'QUOTE' | 'RECEIPT' | 'OTHER';
|
|
476
|
+
export declare type CreateInvoiceItemAttachmentRequestBody = {
|
|
477
477
|
businessId?: string;
|
|
478
478
|
s3SignedUrlId: string;
|
|
479
479
|
filename: string;
|
|
480
480
|
type: AgedCareTransactionAttachmentType;
|
|
481
481
|
};
|
|
482
|
-
export type CreateInvoiceItemAttachmentResponse = {
|
|
482
|
+
export declare type CreateInvoiceItemAttachmentResponse = {
|
|
483
483
|
type: string;
|
|
484
484
|
typeText: string;
|
|
485
485
|
id: string;
|
|
@@ -487,10 +487,10 @@ export type CreateInvoiceItemAttachmentResponse = {
|
|
|
487
487
|
mimeType: string;
|
|
488
488
|
createdAtDateTime: string;
|
|
489
489
|
};
|
|
490
|
-
export type GetTransactionFilesQuery = PaginatedQuery & {
|
|
490
|
+
export declare type GetTransactionFilesQuery = PaginatedQuery & {
|
|
491
491
|
businessId?: string;
|
|
492
492
|
};
|
|
493
|
-
export type AgedCareTransactionFile = {
|
|
493
|
+
export declare type AgedCareTransactionFile = {
|
|
494
494
|
_id: string;
|
|
495
495
|
businessId: string;
|
|
496
496
|
funderId: string;
|
|
@@ -503,14 +503,14 @@ export type AgedCareTransactionFile = {
|
|
|
503
503
|
created: string;
|
|
504
504
|
modified: string;
|
|
505
505
|
};
|
|
506
|
-
export type GetInvoiceQuery = {
|
|
506
|
+
export declare type GetInvoiceQuery = {
|
|
507
507
|
businessId?: string;
|
|
508
508
|
};
|
|
509
|
-
export type GetPaymentItemsReportQuery = PaginatedQuery & {
|
|
509
|
+
export declare type GetPaymentItemsReportQuery = PaginatedQuery & {
|
|
510
510
|
businessId?: string;
|
|
511
511
|
invoiceId?: string;
|
|
512
512
|
};
|
|
513
|
-
export type AgedCarePaymentItemsReport = {
|
|
513
|
+
export declare type AgedCarePaymentItemsReport = {
|
|
514
514
|
invoiceId: string;
|
|
515
515
|
itemId: string;
|
|
516
516
|
invoiceExternalReferenceId: string;
|
|
@@ -546,14 +546,14 @@ export type AgedCarePaymentItemsReport = {
|
|
|
546
546
|
amount: number;
|
|
547
547
|
}>;
|
|
548
548
|
};
|
|
549
|
-
export type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
|
|
550
|
-
export type CreateEnteralFeedingSupplementAttachmentRequestBody = {
|
|
549
|
+
export declare type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
|
|
550
|
+
export declare type CreateEnteralFeedingSupplementAttachmentRequestBody = {
|
|
551
551
|
businessId?: string;
|
|
552
552
|
s3SignedUrlId: string;
|
|
553
553
|
filename: string;
|
|
554
554
|
type: AgedCareEnteralFeedingSupplementAttachmentType;
|
|
555
555
|
};
|
|
556
|
-
export type CreateEnteralFeedingSupplementAttachmentResponse = {
|
|
556
|
+
export declare type CreateEnteralFeedingSupplementAttachmentResponse = {
|
|
557
557
|
type: string;
|
|
558
558
|
typeText: string;
|
|
559
559
|
id: string;
|
|
@@ -561,14 +561,14 @@ export type CreateEnteralFeedingSupplementAttachmentResponse = {
|
|
|
561
561
|
mimeType: string;
|
|
562
562
|
createdAtDateTime: string;
|
|
563
563
|
};
|
|
564
|
-
export type AgedCareOxygenSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
|
|
565
|
-
export type CreateOxygenSupplementAttachmentRequestBody = {
|
|
564
|
+
export declare type AgedCareOxygenSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
|
|
565
|
+
export declare type CreateOxygenSupplementAttachmentRequestBody = {
|
|
566
566
|
businessId?: string;
|
|
567
567
|
s3SignedUrlId: string;
|
|
568
568
|
filename: string;
|
|
569
569
|
type: AgedCareOxygenSupplementAttachmentType;
|
|
570
570
|
};
|
|
571
|
-
export type CreateOxygenSupplementAttachmentResponse = {
|
|
571
|
+
export declare type CreateOxygenSupplementAttachmentResponse = {
|
|
572
572
|
type: string;
|
|
573
573
|
typeText: string;
|
|
574
574
|
id: string;
|
|
@@ -576,7 +576,7 @@ export type CreateOxygenSupplementAttachmentResponse = {
|
|
|
576
576
|
mimeType: string;
|
|
577
577
|
createdAtDateTime: string;
|
|
578
578
|
};
|
|
579
|
-
export type GetIndividualContributionsQuery = PaginatedQuery & {
|
|
579
|
+
export declare type GetIndividualContributionsQuery = PaginatedQuery & {
|
|
580
580
|
businessId?: string;
|
|
581
581
|
careRecipientId?: string;
|
|
582
582
|
serviceNapsId?: string;
|
|
@@ -587,7 +587,7 @@ export type GetIndividualContributionsQuery = PaginatedQuery & {
|
|
|
587
587
|
updatedAtDateTimeTo?: string;
|
|
588
588
|
sortFields?: string;
|
|
589
589
|
};
|
|
590
|
-
export type IndividualContribution = {
|
|
590
|
+
export declare type IndividualContribution = {
|
|
591
591
|
serviceProviderId: string;
|
|
592
592
|
serviceNapsId: string;
|
|
593
593
|
careRecipientId: string;
|
|
@@ -603,19 +603,19 @@ export type IndividualContribution = {
|
|
|
603
603
|
endDate: string;
|
|
604
604
|
updatedAtDateTime: string;
|
|
605
605
|
};
|
|
606
|
-
export type GetCareRecipientBudgetsQuery = PaginatedQuery & {
|
|
606
|
+
export declare type GetCareRecipientBudgetsQuery = PaginatedQuery & {
|
|
607
607
|
businessId?: string;
|
|
608
608
|
effectiveDateFrom?: string;
|
|
609
609
|
effectiveDateTo?: string;
|
|
610
610
|
sortFields?: string;
|
|
611
611
|
};
|
|
612
|
-
export type GetServiceProviderBudgetsQuery = PaginatedQuery & {
|
|
612
|
+
export declare type GetServiceProviderBudgetsQuery = PaginatedQuery & {
|
|
613
613
|
businessId?: string;
|
|
614
614
|
effectiveDateFrom?: string;
|
|
615
615
|
effectiveDateTo?: string;
|
|
616
616
|
sortFields?: string;
|
|
617
617
|
};
|
|
618
|
-
export type CareRecipientBudget = {
|
|
618
|
+
export declare type CareRecipientBudget = {
|
|
619
619
|
budgetId: string;
|
|
620
620
|
serviceProviderId: string;
|
|
621
621
|
careRecipientId: string;
|
|
@@ -631,7 +631,7 @@ export type CareRecipientBudget = {
|
|
|
631
631
|
updatedAtDateTime: string;
|
|
632
632
|
status: string;
|
|
633
633
|
};
|
|
634
|
-
export type ServiceProviderBudget = {
|
|
634
|
+
export declare type ServiceProviderBudget = {
|
|
635
635
|
budgetId: string;
|
|
636
636
|
serviceProviderId: string;
|
|
637
637
|
careRecipientId: string;
|
|
@@ -647,10 +647,10 @@ export type ServiceProviderBudget = {
|
|
|
647
647
|
updatedAtDateTime: string;
|
|
648
648
|
status: string;
|
|
649
649
|
};
|
|
650
|
-
export type GetBudgetDetailsQuery = {
|
|
650
|
+
export declare type GetBudgetDetailsQuery = {
|
|
651
651
|
businessId?: string;
|
|
652
652
|
};
|
|
653
|
-
export type BudgetDetailsResponse = {
|
|
653
|
+
export declare type BudgetDetailsResponse = {
|
|
654
654
|
budgetId: string;
|
|
655
655
|
careRecipientId: string;
|
|
656
656
|
careRecipientName: string;
|
|
@@ -745,7 +745,7 @@ export interface GetEnteralFeedingSupplementDetailsQuery {
|
|
|
745
745
|
export interface GetOxygenSupplementDetailsQuery {
|
|
746
746
|
businessId?: string;
|
|
747
747
|
}
|
|
748
|
-
export type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
|
|
748
|
+
export declare type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
|
|
749
749
|
businessId?: string;
|
|
750
750
|
serviceNapsId?: string;
|
|
751
751
|
serviceProviderId?: string;
|
|
@@ -759,7 +759,7 @@ export type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
|
|
|
759
759
|
updatedAtDateTimeTo?: string;
|
|
760
760
|
'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
|
|
761
761
|
};
|
|
762
|
-
export type GetOxygenSupplementsQuery = PaginatedQuery & {
|
|
762
|
+
export declare type GetOxygenSupplementsQuery = PaginatedQuery & {
|
|
763
763
|
businessId?: string;
|
|
764
764
|
serviceNapsId?: string;
|
|
765
765
|
serviceProviderId?: string;
|
|
@@ -789,7 +789,7 @@ export interface GetEnteralFeedingSupplementsItem {
|
|
|
789
789
|
createdAtDateTime: string;
|
|
790
790
|
updatedAtDateTime: string;
|
|
791
791
|
}
|
|
792
|
-
export type GetEnteralFeedingSupplementsResponse = PaginatedResponse<GetEnteralFeedingSupplementsItem>;
|
|
792
|
+
export declare type GetEnteralFeedingSupplementsResponse = PaginatedResponse<GetEnteralFeedingSupplementsItem>;
|
|
793
793
|
export interface GetOxygenSupplementsItem {
|
|
794
794
|
supplementId: string;
|
|
795
795
|
externalReferenceId: string;
|
|
@@ -806,7 +806,7 @@ export interface GetOxygenSupplementsItem {
|
|
|
806
806
|
createdAtDateTime: string;
|
|
807
807
|
updatedAtDateTime: string;
|
|
808
808
|
}
|
|
809
|
-
export type GetOxygenSupplementsResponse = PaginatedResponse<GetOxygenSupplementsItem>;
|
|
809
|
+
export declare type GetOxygenSupplementsResponse = PaginatedResponse<GetOxygenSupplementsItem>;
|
|
810
810
|
export interface CreateOxygenSupplementRequestBody {
|
|
811
811
|
businessId?: string;
|
|
812
812
|
externalReferenceId?: string;
|
|
@@ -873,7 +873,7 @@ export interface EndDateOxygenSupplement {
|
|
|
873
873
|
status: 'Created' | 'Updated' | 'Deleted' | 'Pending approval' | 'Approved' | 'Rejected';
|
|
874
874
|
updatedAtDateTime: string;
|
|
875
875
|
}
|
|
876
|
-
export type GetEntriesQuery = PaginatedQuery & {
|
|
876
|
+
export declare type GetEntriesQuery = PaginatedQuery & {
|
|
877
877
|
businessId?: string;
|
|
878
878
|
serviceNapsId?: string;
|
|
879
879
|
serviceProviderId?: string;
|
|
@@ -926,7 +926,7 @@ export interface GetEntriesItem {
|
|
|
926
926
|
longText: string;
|
|
927
927
|
}>;
|
|
928
928
|
}
|
|
929
|
-
export type GetEntriesResponse = PaginatedResponse<GetEntriesItem>;
|
|
929
|
+
export declare type GetEntriesResponse = PaginatedResponse<GetEntriesItem>;
|
|
930
930
|
export interface GetEntryQuery {
|
|
931
931
|
businessId?: string;
|
|
932
932
|
}
|
|
@@ -1055,7 +1055,7 @@ export interface CreateEntryResponse {
|
|
|
1055
1055
|
export interface DeleteEntryQuery {
|
|
1056
1056
|
businessId?: string;
|
|
1057
1057
|
}
|
|
1058
|
-
export type GetDeparturesQuery = PaginatedQuery & {
|
|
1058
|
+
export declare type GetDeparturesQuery = PaginatedQuery & {
|
|
1059
1059
|
businessId?: string;
|
|
1060
1060
|
serviceNapsId?: string;
|
|
1061
1061
|
serviceProviderId?: string;
|
|
@@ -1090,7 +1090,7 @@ export interface GetDeparturesItem {
|
|
|
1090
1090
|
longText: string;
|
|
1091
1091
|
}>;
|
|
1092
1092
|
}
|
|
1093
|
-
export type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
|
|
1093
|
+
export declare type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
|
|
1094
1094
|
export interface GetDepartureQuery {
|
|
1095
1095
|
businessId?: string;
|
|
1096
1096
|
}
|
|
@@ -1173,3 +1173,11 @@ export interface CreateOxygenSupplementAttachmentDownloadRequestBody {
|
|
|
1173
1173
|
export interface CreateOxygenSupplementAttachmentDownloadRequestResponse {
|
|
1174
1174
|
userDownloadId: string;
|
|
1175
1175
|
}
|
|
1176
|
+
export interface GetProdaDetailsQuery {
|
|
1177
|
+
businessId?: string;
|
|
1178
|
+
}
|
|
1179
|
+
export interface ProdaDetailsResponse {
|
|
1180
|
+
deviceName: string;
|
|
1181
|
+
orgId: string;
|
|
1182
|
+
registeredProviderId: string;
|
|
1183
|
+
}
|
package/lib/types/business.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export interface Business {
|
|
|
68
68
|
medicareEnabledDate: string;
|
|
69
69
|
_links: BusinessLinks;
|
|
70
70
|
}
|
|
71
|
-
export type ShortBusinessResponse = {
|
|
71
|
+
export declare type ShortBusinessResponse = {
|
|
72
72
|
abn: string;
|
|
73
73
|
address: string;
|
|
74
74
|
addressPrefix: string;
|
|
@@ -88,14 +88,14 @@ export type ShortBusinessResponse = {
|
|
|
88
88
|
subpremise: string | null;
|
|
89
89
|
_id: string;
|
|
90
90
|
};
|
|
91
|
-
export type BusinessContactInformation = {
|
|
91
|
+
export declare type BusinessContactInformation = {
|
|
92
92
|
landline: string;
|
|
93
93
|
email: string;
|
|
94
94
|
firstName: string;
|
|
95
95
|
lastName: string;
|
|
96
96
|
mobile: string;
|
|
97
97
|
};
|
|
98
|
-
type BusinessSettings = {
|
|
98
|
+
declare type BusinessSettings = {
|
|
99
99
|
transactions: {
|
|
100
100
|
limits: {
|
|
101
101
|
amountCardSalesPerTransaction: number;
|
|
@@ -115,13 +115,13 @@ type BusinessSettings = {
|
|
|
115
115
|
paymentFacility: 'medipass-payments' | null;
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
type BusinessBankAccount = {
|
|
118
|
+
declare type BusinessBankAccount = {
|
|
119
119
|
accountName: string;
|
|
120
120
|
accountNumber: string;
|
|
121
121
|
bankName: string;
|
|
122
122
|
bsb: string;
|
|
123
123
|
};
|
|
124
|
-
type BusinessLinks = {
|
|
124
|
+
declare type BusinessLinks = {
|
|
125
125
|
self: Links;
|
|
126
126
|
practices: Links;
|
|
127
127
|
services: Links;
|
|
@@ -131,12 +131,12 @@ type BusinessLinks = {
|
|
|
131
131
|
subscriptions: Links;
|
|
132
132
|
paymentMethods: Links;
|
|
133
133
|
};
|
|
134
|
-
type Links = {
|
|
134
|
+
declare type Links = {
|
|
135
135
|
read?: string;
|
|
136
136
|
update?: string;
|
|
137
137
|
delete?: string;
|
|
138
138
|
};
|
|
139
|
-
type BusinessMFA = {
|
|
139
|
+
declare type BusinessMFA = {
|
|
140
140
|
strategy: string;
|
|
141
141
|
expiresIn: number;
|
|
142
142
|
expiresInType: string;
|
package/lib/types/documents.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import type { PaginationMeta, PaginatedQuery, HealthPointSettlementAttributes } from './index';
|
|
2
2
|
/** START: Query */
|
|
3
|
-
export type BusinessDocumentsQuery = PaginatedQuery & {
|
|
3
|
+
export declare type BusinessDocumentsQuery = PaginatedQuery & {
|
|
4
4
|
isPublished?: boolean;
|
|
5
5
|
practiceId?: string;
|
|
6
6
|
sort?: string;
|
|
7
7
|
documentType?: 'form' | 'application';
|
|
8
8
|
};
|
|
9
|
-
export type HealthFundDocumentsQuery = PaginatedQuery & {
|
|
9
|
+
export declare type HealthFundDocumentsQuery = PaginatedQuery & {
|
|
10
10
|
excludeDocumentIds?: string;
|
|
11
11
|
};
|
|
12
12
|
/** END: Query */
|
|
13
13
|
/** START: Requests */
|
|
14
|
-
export type DeclineHealthFundDocumentBody = {
|
|
14
|
+
export declare type DeclineHealthFundDocumentBody = {
|
|
15
15
|
formApplicationDeclineReasonId: string;
|
|
16
16
|
note?: string;
|
|
17
17
|
};
|
|
18
|
-
export type CeaseHealthFundDocumentBody = {
|
|
18
|
+
export declare type CeaseHealthFundDocumentBody = {
|
|
19
19
|
formApplicationCeaseReasonId: string;
|
|
20
20
|
note?: string;
|
|
21
21
|
};
|
|
22
|
-
export type ParkHealthFundDocumentBody = {
|
|
22
|
+
export declare type ParkHealthFundDocumentBody = {
|
|
23
23
|
workflowExceptionId: string;
|
|
24
24
|
note?: string;
|
|
25
25
|
};
|
|
26
26
|
/** END: Requests */
|
|
27
27
|
/** START: Responses */
|
|
28
|
-
export type BusinessDocumentResponse = {
|
|
28
|
+
export declare type BusinessDocumentResponse = {
|
|
29
29
|
_id: string;
|
|
30
30
|
organisationId: string;
|
|
31
31
|
healthFund: {
|
|
@@ -48,11 +48,11 @@ export type BusinessDocumentResponse = {
|
|
|
48
48
|
created: string;
|
|
49
49
|
modified: string;
|
|
50
50
|
};
|
|
51
|
-
export type BusinessDocumentsResponse = {
|
|
51
|
+
export declare type BusinessDocumentsResponse = {
|
|
52
52
|
meta: PaginationMeta;
|
|
53
53
|
items: Array<BusinessDocumentResponse>;
|
|
54
54
|
};
|
|
55
|
-
export type HealthFundDocumentResponse = {
|
|
55
|
+
export declare type HealthFundDocumentResponse = {
|
|
56
56
|
_id: string;
|
|
57
57
|
businessId: string;
|
|
58
58
|
organisationId: string;
|
|
@@ -122,7 +122,7 @@ export type HealthFundDocumentResponse = {
|
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
export type HealthFundDocumentsResponse = {
|
|
125
|
+
export declare type HealthFundDocumentsResponse = {
|
|
126
126
|
meta: PaginationMeta;
|
|
127
127
|
items: Array<HealthFundDocumentResponse>;
|
|
128
128
|
};
|
package/lib/types/forms.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PaginatedQuery } from './index';
|
|
2
|
-
export type ApplyForBusinessFormRequestBody = {
|
|
2
|
+
export declare type ApplyForBusinessFormRequestBody = {
|
|
3
3
|
practiceIds: Array<string | null | undefined>;
|
|
4
4
|
subsections?: Array<{
|
|
5
5
|
_id: string;
|
|
@@ -7,7 +7,7 @@ export type ApplyForBusinessFormRequestBody = {
|
|
|
7
7
|
} | null | undefined>;
|
|
8
8
|
files?: Array<Record<string, any>>;
|
|
9
9
|
};
|
|
10
|
-
export type CreateHealthFundFormRequestBody = {
|
|
10
|
+
export declare type CreateHealthFundFormRequestBody = {
|
|
11
11
|
fullName: string;
|
|
12
12
|
displayName: string;
|
|
13
13
|
description?: string;
|
|
@@ -33,14 +33,14 @@ export type CreateHealthFundFormRequestBody = {
|
|
|
33
33
|
}>;
|
|
34
34
|
scannedApplication: boolean;
|
|
35
35
|
};
|
|
36
|
-
export type GetHealthFundFormsQuery = PaginatedQuery & {
|
|
36
|
+
export declare type GetHealthFundFormsQuery = PaginatedQuery & {
|
|
37
37
|
hasApplicationTemplate?: boolean;
|
|
38
38
|
};
|
|
39
|
-
export type GetHealthFundFormUploadUrlQuery = {
|
|
39
|
+
export declare type GetHealthFundFormUploadUrlQuery = {
|
|
40
40
|
contentType: string;
|
|
41
41
|
fileName: string;
|
|
42
42
|
};
|
|
43
|
-
export type UpdateHealthFundFormRequestBody = {
|
|
43
|
+
export declare type UpdateHealthFundFormRequestBody = {
|
|
44
44
|
fullName?: string;
|
|
45
45
|
displayName?: string;
|
|
46
46
|
description?: string;
|
package/lib/types/funder.d.ts
CHANGED
package/lib/types/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export * from './virus-scan';
|
|
|
29
29
|
export * from './s3-file-export';
|
|
30
30
|
export * from './account';
|
|
31
31
|
export * from './terminal-pin';
|
|
32
|
-
export type MedipassRequestOpts = {
|
|
32
|
+
export declare type MedipassRequestOpts = {
|
|
33
33
|
baseUrl?: string;
|
|
34
34
|
hyperMediaEndpoint?: string | null | undefined;
|
|
35
35
|
path?: string;
|
|
@@ -43,7 +43,7 @@ export type MedipassRequestOpts = {
|
|
|
43
43
|
skipErrorLoggingCodes?: number[];
|
|
44
44
|
unrestrictBottleneckOpts?: boolean;
|
|
45
45
|
};
|
|
46
|
-
export type PaginationMeta = {
|
|
46
|
+
export declare type PaginationMeta = {
|
|
47
47
|
count: number;
|
|
48
48
|
first: string;
|
|
49
49
|
last: string;
|
|
@@ -53,7 +53,7 @@ export type PaginationMeta = {
|
|
|
53
53
|
self: string;
|
|
54
54
|
totalCount: number;
|
|
55
55
|
};
|
|
56
|
-
export type PaginatedQuery = {
|
|
56
|
+
export declare type PaginatedQuery = {
|
|
57
57
|
limit?: number;
|
|
58
58
|
page?: number;
|
|
59
59
|
sort?: number;
|
|
@@ -62,7 +62,7 @@ export interface PaginatedResponse<T> {
|
|
|
62
62
|
items: T[];
|
|
63
63
|
meta: PaginationMeta;
|
|
64
64
|
}
|
|
65
|
-
export type SetupOpts = {
|
|
65
|
+
export declare type SetupOpts = {
|
|
66
66
|
baseUrls?: Record<string, any>;
|
|
67
67
|
defaultVersion?: string;
|
|
68
68
|
appId?: string;
|
package/lib/types/kyc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Kyc = {
|
|
1
|
+
export declare type Kyc = {
|
|
2
2
|
_id: string;
|
|
3
3
|
businessId: string;
|
|
4
4
|
practiceId: string;
|
|
@@ -42,12 +42,12 @@ export type Kyc = {
|
|
|
42
42
|
modified: string;
|
|
43
43
|
deleted: string;
|
|
44
44
|
};
|
|
45
|
-
export type SupportEmail = {
|
|
45
|
+
export declare type SupportEmail = {
|
|
46
46
|
isSent: false;
|
|
47
47
|
sentByAccountId: string;
|
|
48
48
|
sentByAccountUsername: string;
|
|
49
49
|
};
|
|
50
|
-
export type BeneficialOwner = {
|
|
50
|
+
export declare type BeneficialOwner = {
|
|
51
51
|
firstName: string;
|
|
52
52
|
middleName: string;
|
|
53
53
|
lastName: string;
|
|
@@ -88,7 +88,7 @@ export interface VerificationDocument {
|
|
|
88
88
|
passport: 'passed' | 'failed';
|
|
89
89
|
medicare: 'passed' | 'failed';
|
|
90
90
|
}
|
|
91
|
-
export type File = {
|
|
91
|
+
export declare type File = {
|
|
92
92
|
_id: string;
|
|
93
93
|
contentType: string;
|
|
94
94
|
displayName: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { PaginationMeta, PaginatedQuery } from './index';
|
|
2
2
|
/** START: Query */
|
|
3
|
-
export type GetBusinessMessageMappingsQuery = PaginatedQuery & {
|
|
3
|
+
export declare type GetBusinessMessageMappingsQuery = PaginatedQuery & {
|
|
4
4
|
type?: string;
|
|
5
5
|
};
|
|
6
6
|
/** END: Query */
|
|
7
7
|
/** START: Responses */
|
|
8
|
-
export type GetBusinessMessageMappingsResponse = {
|
|
8
|
+
export declare type GetBusinessMessageMappingsResponse = {
|
|
9
9
|
meta: PaginationMeta;
|
|
10
10
|
items: Array<{
|
|
11
11
|
_id: string;
|
package/lib/types/notes.d.ts
CHANGED
package/lib/types/practice.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface Practice {
|
|
|
39
39
|
locationId: string;
|
|
40
40
|
_links: PracticeLinks;
|
|
41
41
|
}
|
|
42
|
-
export type ShortPracticeResponse = {
|
|
42
|
+
export declare type ShortPracticeResponse = {
|
|
43
43
|
tz: string;
|
|
44
44
|
_id: string;
|
|
45
45
|
fullName: string;
|
|
@@ -60,37 +60,37 @@ export type ShortPracticeResponse = {
|
|
|
60
60
|
route: string;
|
|
61
61
|
mobileE164: string;
|
|
62
62
|
};
|
|
63
|
-
type PracticeSettings = {
|
|
63
|
+
declare type PracticeSettings = {
|
|
64
64
|
appointments: Record<string, any>;
|
|
65
65
|
directory: PracticeSettingsDirectory;
|
|
66
66
|
quotes: PracticeSettingsQuotes;
|
|
67
67
|
};
|
|
68
|
-
type PracticeSettingsDirectory = {
|
|
68
|
+
declare type PracticeSettingsDirectory = {
|
|
69
69
|
searchEnabled: boolean;
|
|
70
70
|
};
|
|
71
|
-
type PracticeSettingsQuotes = {
|
|
71
|
+
declare type PracticeSettingsQuotes = {
|
|
72
72
|
memberRequestQuotesEnabled: boolean;
|
|
73
73
|
};
|
|
74
|
-
type PracticeBillingAddress = {
|
|
74
|
+
declare type PracticeBillingAddress = {
|
|
75
75
|
address: string;
|
|
76
76
|
addressLine2?: string;
|
|
77
77
|
city: string;
|
|
78
78
|
postcode: string;
|
|
79
79
|
state: string;
|
|
80
80
|
};
|
|
81
|
-
type PracticeBankAccount = {
|
|
81
|
+
declare type PracticeBankAccount = {
|
|
82
82
|
accountName: string;
|
|
83
83
|
accountNumber: string;
|
|
84
84
|
bankName: string;
|
|
85
85
|
bsb: string;
|
|
86
86
|
};
|
|
87
|
-
type PracticeLinks = {
|
|
87
|
+
declare type PracticeLinks = {
|
|
88
88
|
self: Links;
|
|
89
89
|
services: Links;
|
|
90
90
|
staff: Links;
|
|
91
91
|
tranasctions: Links;
|
|
92
92
|
};
|
|
93
|
-
type Links = {
|
|
93
|
+
declare type Links = {
|
|
94
94
|
read?: string;
|
|
95
95
|
update?: string;
|
|
96
96
|
delete?: string;
|