@medipass/web-sdk 12.5.2-chore-upgrade-dependencies.0 → 12.5.2-feature-aged-care-api-changes.1

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 (122) hide show
  1. package/lib/index.js +2 -2
  2. package/lib/resources/abr.js +2 -2
  3. package/lib/resources/accounts.js +2 -2
  4. package/lib/resources/actions.js +2 -2
  5. package/lib/resources/aged-care.d.ts +10 -6
  6. package/lib/resources/aged-care.js +6 -2
  7. package/lib/resources/api-keys.js +2 -2
  8. package/lib/resources/applePay.js +2 -2
  9. package/lib/resources/applications.js +2 -2
  10. package/lib/resources/attachments.d.ts +1 -1
  11. package/lib/resources/attachments.js +2 -2
  12. package/lib/resources/auth.js +2 -2
  13. package/lib/resources/blacklist.js +2 -2
  14. package/lib/resources/bulk-submits.js +2 -2
  15. package/lib/resources/bulk-uploads.js +2 -2
  16. package/lib/resources/business-email-log.js +2 -2
  17. package/lib/resources/business-profiles.d.ts +1 -1
  18. package/lib/resources/business-profiles.js +2 -2
  19. package/lib/resources/businesses.js +2 -2
  20. package/lib/resources/claim-items.js +2 -2
  21. package/lib/resources/devices.js +2 -2
  22. package/lib/resources/doc-accounts.js +2 -2
  23. package/lib/resources/documents.js +2 -2
  24. package/lib/resources/emails.js +2 -2
  25. package/lib/resources/filter-options.js +2 -2
  26. package/lib/resources/form-application-templates.js +2 -2
  27. package/lib/resources/form-applications.js +2 -2
  28. package/lib/resources/forms.js +2 -2
  29. package/lib/resources/funder-services.js +2 -2
  30. package/lib/resources/funder-settings.js +2 -2
  31. package/lib/resources/funder-values.js +2 -2
  32. package/lib/resources/funders.js +2 -2
  33. package/lib/resources/futures.js +2 -2
  34. package/lib/resources/health-fund-accounts.js +2 -2
  35. package/lib/resources/health-fund-settings.js +2 -2
  36. package/lib/resources/healthfunds.js +2 -2
  37. package/lib/resources/icare.js +2 -2
  38. package/lib/resources/icditems.js +2 -2
  39. package/lib/resources/invoice-scans.js +2 -2
  40. package/lib/resources/jhcs.js +2 -2
  41. package/lib/resources/kyc.js +2 -2
  42. package/lib/resources/logs.js +2 -2
  43. package/lib/resources/members.js +2 -2
  44. package/lib/resources/message-mappings.js +2 -2
  45. package/lib/resources/minions.js +2 -2
  46. package/lib/resources/modalities.js +2 -2
  47. package/lib/resources/notes.js +2 -2
  48. package/lib/resources/onboarding-applications.js +2 -2
  49. package/lib/resources/onboarding-requests.js +2 -2
  50. package/lib/resources/ops.js +2 -2
  51. package/lib/resources/organisations.js +2 -2
  52. package/lib/resources/partners.js +2 -2
  53. package/lib/resources/patients.js +2 -2
  54. package/lib/resources/payments.d.ts +1 -1
  55. package/lib/resources/payments.js +2 -2
  56. package/lib/resources/pms.js +2 -2
  57. package/lib/resources/practice-profiles.d.ts +1 -1
  58. package/lib/resources/practice-profiles.js +2 -2
  59. package/lib/resources/practice-types.js +2 -2
  60. package/lib/resources/practices.js +2 -2
  61. package/lib/resources/products.js +2 -2
  62. package/lib/resources/professional-categories.js +2 -2
  63. package/lib/resources/provider-number-types.js +2 -2
  64. package/lib/resources/provider-registration-types.js +2 -2
  65. package/lib/resources/provider-requests.js +2 -2
  66. package/lib/resources/provider-types.js +2 -2
  67. package/lib/resources/qbe.js +2 -2
  68. package/lib/resources/ref-sources.js +2 -2
  69. package/lib/resources/risk.js +2 -2
  70. package/lib/resources/rnas.js +2 -2
  71. package/lib/resources/roles.js +2 -2
  72. package/lib/resources/s3-files.js +2 -2
  73. package/lib/resources/self-checkout-sessions.js +2 -2
  74. package/lib/resources/services.js +2 -2
  75. package/lib/resources/settlements.js +2 -2
  76. package/lib/resources/sign-up.js +2 -2
  77. package/lib/resources/specialties.js +2 -2
  78. package/lib/resources/staff-profiles.d.ts +1 -1
  79. package/lib/resources/staff-profiles.js +2 -2
  80. package/lib/resources/staff.js +2 -2
  81. package/lib/resources/statistics.js +2 -2
  82. package/lib/resources/subscriptions.js +2 -2
  83. package/lib/resources/terminals.js +2 -2
  84. package/lib/resources/transaction-export.js +2 -2
  85. package/lib/resources/transaction-reports.js +2 -2
  86. package/lib/resources/transactions.d.ts +2 -2
  87. package/lib/resources/transactions.js +2 -2
  88. package/lib/resources/triggers.js +2 -2
  89. package/lib/resources/vendors.js +2 -2
  90. package/lib/resources/verify.js +2 -2
  91. package/lib/resources/workers.js +2 -2
  92. package/lib/resources/workflow-exceptions.js +2 -2
  93. package/lib/services/aws.js +2 -2
  94. package/lib/services/storage.d.ts +3 -3
  95. package/lib/services/version.js +2 -2
  96. package/lib/{staff-87f6066b.js → staff-e612ce0c.js} +66 -24
  97. package/lib/types/account.d.ts +1 -1
  98. package/lib/types/aged-care.d.ts +64 -53
  99. package/lib/types/business.d.ts +7 -7
  100. package/lib/types/documents.d.ts +9 -9
  101. package/lib/types/forms.d.ts +5 -5
  102. package/lib/types/funder.d.ts +1 -1
  103. package/lib/types/index.d.ts +4 -4
  104. package/lib/types/kyc.d.ts +4 -4
  105. package/lib/types/message-mappings.d.ts +2 -2
  106. package/lib/types/notes.d.ts +1 -1
  107. package/lib/types/payment-methods.d.ts +1 -1
  108. package/lib/types/practice.d.ts +8 -8
  109. package/lib/types/products.d.ts +3 -3
  110. package/lib/types/professional-category.d.ts +1 -1
  111. package/lib/types/provider-registration.d.ts +1 -1
  112. package/lib/types/provider-set-item.d.ts +1 -1
  113. package/lib/types/specialty.d.ts +1 -1
  114. package/lib/types/staff-member.d.ts +4 -4
  115. package/lib/types/subscription.d.ts +5 -5
  116. package/lib/types/transaction.d.ts +1 -1
  117. package/lib/utils/application.js +2 -2
  118. package/lib/utils/professions.d.ts +1 -1
  119. package/lib/utils/professions.js +2 -2
  120. package/lib/utils/request.js +2 -2
  121. package/lib/utils/staff.js +2 -2
  122. package/package.json +14 -14
@@ -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,21 @@ 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 = StaffMember;
284
- export type GetRegisteredProvidersQuery = {
282
+ export declare type OnboardResponse = RegisteredProvider;
283
+ export declare type GetRegisteredProviderQuery = {
285
284
  businessId?: string;
286
285
  };
287
- export type RegisteredProvider = {
286
+ export declare type GetRegisteredProvidersQuery = PaginatedQuery & {
287
+ businessId?: string;
288
+ };
289
+ export declare type RegisteredProvider = {
288
290
  providerId: string;
289
291
  providerNapsId: string;
290
292
  providerName: string;
@@ -317,13 +319,14 @@ export type RegisteredProvider = {
317
319
  operationalStatus: string;
318
320
  }>;
319
321
  };
320
- export type GetRegisteredProvidersResponse = Array<RegisteredProvider>;
321
- export type GetServiceProviderAccountSummaryQuery = {
322
+ export declare type GetRegisteredProviderResponse = Array<RegisteredProvider>;
323
+ export declare type GetRegisteredProvidersResponse = PaginatedResponse<RegisteredProvider>;
324
+ export declare type GetServiceProviderAccountSummaryQuery = {
322
325
  businessId?: string;
323
326
  periodStartDate?: string;
324
327
  periodEndDate?: string;
325
328
  };
326
- export type ServiceProviderAccountSummary = {
329
+ export declare type ServiceProviderAccountSummary = {
327
330
  serviceProviderId: string;
328
331
  serviceNapsId: string;
329
332
  periodStartDate: string;
@@ -339,13 +342,13 @@ export type ServiceProviderAccountSummary = {
339
342
  }>;
340
343
  heldoverAmount: number;
341
344
  };
342
- export type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
343
- export type GetClaimsQuery = PaginatedQuery & {
345
+ export declare type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
346
+ export declare type GetClaimsQuery = PaginatedQuery & {
344
347
  fromDate?: string;
345
348
  toDate?: string;
346
349
  };
347
- export type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
348
- export type AgedCareClaim = {
350
+ export declare type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
351
+ export declare type AgedCareClaim = {
349
352
  _id: string;
350
353
  businessId: string;
351
354
  staff: {
@@ -380,15 +383,15 @@ export type AgedCareClaim = {
380
383
  created: string;
381
384
  modified: string;
382
385
  };
383
- export type GetClaimQuery = {
386
+ export declare type GetClaimQuery = {
384
387
  businessId?: string;
385
388
  };
386
- export type GetPaymentStatementQuery = {
389
+ export declare type GetPaymentStatementQuery = {
387
390
  businessId?: string;
388
391
  serviceProviderId: string;
389
392
  claimId: string;
390
393
  };
391
- export type AgedCarePaymentStatement = {
394
+ export declare type AgedCarePaymentStatement = {
392
395
  id: string;
393
396
  serviceProviderId: string;
394
397
  serviceNapsId: string;
@@ -448,12 +451,12 @@ export type AgedCarePaymentStatement = {
448
451
  note: string;
449
452
  }>;
450
453
  };
451
- export type AgedCareUploadUrlRequestBody = {
454
+ export declare type AgedCareUploadUrlRequestBody = {
452
455
  businessId?: string;
453
456
  contentType: string;
454
457
  contentLength: number;
455
458
  };
456
- export type AgedCareUploadUrlResponse = {
459
+ export declare type AgedCareUploadUrlResponse = {
457
460
  signedPost: {
458
461
  fields: {
459
462
  key: string;
@@ -472,14 +475,14 @@ export type AgedCareUploadUrlResponse = {
472
475
  s3Url: string;
473
476
  s3SignedUrlId: string;
474
477
  };
475
- export type AgedCareTransactionAttachmentType = 'INVOICE' | 'PRESC' | 'QUOTE' | 'RECEIPT' | 'OTHER';
476
- export type CreateInvoiceItemAttachmentRequestBody = {
478
+ export declare type AgedCareTransactionAttachmentType = 'INVOICE' | 'PRESC' | 'QUOTE' | 'RECEIPT' | 'OTHER';
479
+ export declare type CreateInvoiceItemAttachmentRequestBody = {
477
480
  businessId?: string;
478
481
  s3SignedUrlId: string;
479
482
  filename: string;
480
483
  type: AgedCareTransactionAttachmentType;
481
484
  };
482
- export type CreateInvoiceItemAttachmentResponse = {
485
+ export declare type CreateInvoiceItemAttachmentResponse = {
483
486
  type: string;
484
487
  typeText: string;
485
488
  id: string;
@@ -487,10 +490,10 @@ export type CreateInvoiceItemAttachmentResponse = {
487
490
  mimeType: string;
488
491
  createdAtDateTime: string;
489
492
  };
490
- export type GetTransactionFilesQuery = PaginatedQuery & {
493
+ export declare type GetTransactionFilesQuery = PaginatedQuery & {
491
494
  businessId?: string;
492
495
  };
493
- export type AgedCareTransactionFile = {
496
+ export declare type AgedCareTransactionFile = {
494
497
  _id: string;
495
498
  businessId: string;
496
499
  funderId: string;
@@ -503,14 +506,14 @@ export type AgedCareTransactionFile = {
503
506
  created: string;
504
507
  modified: string;
505
508
  };
506
- export type GetInvoiceQuery = {
509
+ export declare type GetInvoiceQuery = {
507
510
  businessId?: string;
508
511
  };
509
- export type GetPaymentItemsReportQuery = PaginatedQuery & {
512
+ export declare type GetPaymentItemsReportQuery = PaginatedQuery & {
510
513
  businessId?: string;
511
514
  invoiceId?: string;
512
515
  };
513
- export type AgedCarePaymentItemsReport = {
516
+ export declare type AgedCarePaymentItemsReport = {
514
517
  invoiceId: string;
515
518
  itemId: string;
516
519
  invoiceExternalReferenceId: string;
@@ -546,14 +549,14 @@ export type AgedCarePaymentItemsReport = {
546
549
  amount: number;
547
550
  }>;
548
551
  };
549
- export type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
550
- export type CreateEnteralFeedingSupplementAttachmentRequestBody = {
552
+ export declare type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
553
+ export declare type CreateEnteralFeedingSupplementAttachmentRequestBody = {
551
554
  businessId?: string;
552
555
  s3SignedUrlId: string;
553
556
  filename: string;
554
557
  type: AgedCareEnteralFeedingSupplementAttachmentType;
555
558
  };
556
- export type CreateEnteralFeedingSupplementAttachmentResponse = {
559
+ export declare type CreateEnteralFeedingSupplementAttachmentResponse = {
557
560
  type: string;
558
561
  typeText: string;
559
562
  id: string;
@@ -561,14 +564,14 @@ export type CreateEnteralFeedingSupplementAttachmentResponse = {
561
564
  mimeType: string;
562
565
  createdAtDateTime: string;
563
566
  };
564
- export type AgedCareOxygenSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
565
- export type CreateOxygenSupplementAttachmentRequestBody = {
567
+ export declare type AgedCareOxygenSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
568
+ export declare type CreateOxygenSupplementAttachmentRequestBody = {
566
569
  businessId?: string;
567
570
  s3SignedUrlId: string;
568
571
  filename: string;
569
572
  type: AgedCareOxygenSupplementAttachmentType;
570
573
  };
571
- export type CreateOxygenSupplementAttachmentResponse = {
574
+ export declare type CreateOxygenSupplementAttachmentResponse = {
572
575
  type: string;
573
576
  typeText: string;
574
577
  id: string;
@@ -576,7 +579,7 @@ export type CreateOxygenSupplementAttachmentResponse = {
576
579
  mimeType: string;
577
580
  createdAtDateTime: string;
578
581
  };
579
- export type GetIndividualContributionsQuery = PaginatedQuery & {
582
+ export declare type GetIndividualContributionsQuery = PaginatedQuery & {
580
583
  businessId?: string;
581
584
  careRecipientId?: string;
582
585
  serviceNapsId?: string;
@@ -587,7 +590,7 @@ export type GetIndividualContributionsQuery = PaginatedQuery & {
587
590
  updatedAtDateTimeTo?: string;
588
591
  sortFields?: string;
589
592
  };
590
- export type IndividualContribution = {
593
+ export declare type IndividualContribution = {
591
594
  serviceProviderId: string;
592
595
  serviceNapsId: string;
593
596
  careRecipientId: string;
@@ -603,19 +606,19 @@ export type IndividualContribution = {
603
606
  endDate: string;
604
607
  updatedAtDateTime: string;
605
608
  };
606
- export type GetCareRecipientBudgetsQuery = PaginatedQuery & {
609
+ export declare type GetCareRecipientBudgetsQuery = PaginatedQuery & {
607
610
  businessId?: string;
608
611
  effectiveDateFrom?: string;
609
612
  effectiveDateTo?: string;
610
613
  sortFields?: string;
611
614
  };
612
- export type GetServiceProviderBudgetsQuery = PaginatedQuery & {
615
+ export declare type GetServiceProviderBudgetsQuery = PaginatedQuery & {
613
616
  businessId?: string;
614
617
  effectiveDateFrom?: string;
615
618
  effectiveDateTo?: string;
616
619
  sortFields?: string;
617
620
  };
618
- export type CareRecipientBudget = {
621
+ export declare type CareRecipientBudget = {
619
622
  budgetId: string;
620
623
  serviceProviderId: string;
621
624
  careRecipientId: string;
@@ -631,7 +634,7 @@ export type CareRecipientBudget = {
631
634
  updatedAtDateTime: string;
632
635
  status: string;
633
636
  };
634
- export type ServiceProviderBudget = {
637
+ export declare type ServiceProviderBudget = {
635
638
  budgetId: string;
636
639
  serviceProviderId: string;
637
640
  careRecipientId: string;
@@ -647,10 +650,10 @@ export type ServiceProviderBudget = {
647
650
  updatedAtDateTime: string;
648
651
  status: string;
649
652
  };
650
- export type GetBudgetDetailsQuery = {
653
+ export declare type GetBudgetDetailsQuery = {
651
654
  businessId?: string;
652
655
  };
653
- export type BudgetDetailsResponse = {
656
+ export declare type BudgetDetailsResponse = {
654
657
  budgetId: string;
655
658
  careRecipientId: string;
656
659
  careRecipientName: string;
@@ -745,7 +748,7 @@ export interface GetEnteralFeedingSupplementDetailsQuery {
745
748
  export interface GetOxygenSupplementDetailsQuery {
746
749
  businessId?: string;
747
750
  }
748
- export type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
751
+ export declare type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
749
752
  businessId?: string;
750
753
  serviceNapsId?: string;
751
754
  serviceProviderId?: string;
@@ -759,7 +762,7 @@ export type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
759
762
  updatedAtDateTimeTo?: string;
760
763
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
761
764
  };
762
- export type GetOxygenSupplementsQuery = PaginatedQuery & {
765
+ export declare type GetOxygenSupplementsQuery = PaginatedQuery & {
763
766
  businessId?: string;
764
767
  serviceNapsId?: string;
765
768
  serviceProviderId?: string;
@@ -789,7 +792,7 @@ export interface GetEnteralFeedingSupplementsItem {
789
792
  createdAtDateTime: string;
790
793
  updatedAtDateTime: string;
791
794
  }
792
- export type GetEnteralFeedingSupplementsResponse = PaginatedResponse<GetEnteralFeedingSupplementsItem>;
795
+ export declare type GetEnteralFeedingSupplementsResponse = PaginatedResponse<GetEnteralFeedingSupplementsItem>;
793
796
  export interface GetOxygenSupplementsItem {
794
797
  supplementId: string;
795
798
  externalReferenceId: string;
@@ -806,7 +809,7 @@ export interface GetOxygenSupplementsItem {
806
809
  createdAtDateTime: string;
807
810
  updatedAtDateTime: string;
808
811
  }
809
- export type GetOxygenSupplementsResponse = PaginatedResponse<GetOxygenSupplementsItem>;
812
+ export declare type GetOxygenSupplementsResponse = PaginatedResponse<GetOxygenSupplementsItem>;
810
813
  export interface CreateOxygenSupplementRequestBody {
811
814
  businessId?: string;
812
815
  externalReferenceId?: string;
@@ -873,7 +876,7 @@ export interface EndDateOxygenSupplement {
873
876
  status: 'Created' | 'Updated' | 'Deleted' | 'Pending approval' | 'Approved' | 'Rejected';
874
877
  updatedAtDateTime: string;
875
878
  }
876
- export type GetEntriesQuery = PaginatedQuery & {
879
+ export declare type GetEntriesQuery = PaginatedQuery & {
877
880
  businessId?: string;
878
881
  serviceNapsId?: string;
879
882
  serviceProviderId?: string;
@@ -926,7 +929,7 @@ export interface GetEntriesItem {
926
929
  longText: string;
927
930
  }>;
928
931
  }
929
- export type GetEntriesResponse = PaginatedResponse<GetEntriesItem>;
932
+ export declare type GetEntriesResponse = PaginatedResponse<GetEntriesItem>;
930
933
  export interface GetEntryQuery {
931
934
  businessId?: string;
932
935
  }
@@ -1055,7 +1058,7 @@ export interface CreateEntryResponse {
1055
1058
  export interface DeleteEntryQuery {
1056
1059
  businessId?: string;
1057
1060
  }
1058
- export type GetDeparturesQuery = PaginatedQuery & {
1061
+ export declare type GetDeparturesQuery = PaginatedQuery & {
1059
1062
  businessId?: string;
1060
1063
  serviceNapsId?: string;
1061
1064
  serviceProviderId?: string;
@@ -1090,7 +1093,7 @@ export interface GetDeparturesItem {
1090
1093
  longText: string;
1091
1094
  }>;
1092
1095
  }
1093
- export type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
1096
+ export declare type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
1094
1097
  export interface GetDepartureQuery {
1095
1098
  businessId?: string;
1096
1099
  }
@@ -1173,3 +1176,11 @@ export interface CreateOxygenSupplementAttachmentDownloadRequestBody {
1173
1176
  export interface CreateOxygenSupplementAttachmentDownloadRequestResponse {
1174
1177
  userDownloadId: string;
1175
1178
  }
1179
+ export interface GetProdaDetailsQuery {
1180
+ businessId?: string;
1181
+ }
1182
+ export interface ProdaDetailsResponse {
1183
+ deviceName: string;
1184
+ orgId: string;
1185
+ registeredProviderId: string;
1186
+ }
@@ -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;
@@ -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
  };
@@ -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;
@@ -1,4 +1,4 @@
1
- export type Funder = {
1
+ export declare type Funder = {
2
2
  code: string;
3
3
  created: string;
4
4
  displayName: string;
@@ -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;
@@ -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;
@@ -1,5 +1,5 @@
1
1
  /** START: Requests */
2
- export type CreateNoteRequestBody = {
2
+ export declare type CreateNoteRequestBody = {
3
3
  note: string;
4
4
  };
5
5
  /** END: Requests */
@@ -17,4 +17,4 @@ export interface PaymentMethod {
17
17
  source: string;
18
18
  _id: string;
19
19
  }
20
- export type PaymentMethodResponse = PaginatedResponse<PaymentMethod>;
20
+ export declare type PaymentMethodResponse = PaginatedResponse<PaymentMethod>;
@@ -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;