@medipass/web-sdk 12.5.1 → 12.5.2-chore-upgrade-dependencies.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.
Files changed (121) 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.js +2 -2
  6. package/lib/resources/api-keys.js +2 -2
  7. package/lib/resources/applePay.js +2 -2
  8. package/lib/resources/applications.js +2 -2
  9. package/lib/resources/attachments.d.ts +1 -1
  10. package/lib/resources/attachments.js +2 -2
  11. package/lib/resources/auth.js +2 -2
  12. package/lib/resources/blacklist.js +2 -2
  13. package/lib/resources/bulk-submits.js +2 -2
  14. package/lib/resources/bulk-uploads.js +2 -2
  15. package/lib/resources/business-email-log.js +2 -2
  16. package/lib/resources/business-profiles.d.ts +1 -1
  17. package/lib/resources/business-profiles.js +2 -2
  18. package/lib/resources/businesses.js +2 -2
  19. package/lib/resources/claim-items.js +2 -2
  20. package/lib/resources/devices.js +2 -2
  21. package/lib/resources/doc-accounts.js +2 -2
  22. package/lib/resources/documents.js +2 -2
  23. package/lib/resources/emails.js +2 -2
  24. package/lib/resources/filter-options.js +2 -2
  25. package/lib/resources/form-application-templates.js +2 -2
  26. package/lib/resources/form-applications.js +2 -2
  27. package/lib/resources/forms.js +2 -2
  28. package/lib/resources/funder-services.js +2 -2
  29. package/lib/resources/funder-settings.js +2 -2
  30. package/lib/resources/funder-values.js +2 -2
  31. package/lib/resources/funders.js +2 -2
  32. package/lib/resources/futures.js +2 -2
  33. package/lib/resources/health-fund-accounts.js +2 -2
  34. package/lib/resources/health-fund-settings.js +2 -2
  35. package/lib/resources/healthfunds.js +2 -2
  36. package/lib/resources/icare.js +2 -2
  37. package/lib/resources/icditems.js +2 -2
  38. package/lib/resources/invoice-scans.js +2 -2
  39. package/lib/resources/jhcs.js +2 -2
  40. package/lib/resources/kyc.js +2 -2
  41. package/lib/resources/logs.js +2 -2
  42. package/lib/resources/members.js +2 -2
  43. package/lib/resources/message-mappings.js +2 -2
  44. package/lib/resources/minions.js +2 -2
  45. package/lib/resources/modalities.js +2 -2
  46. package/lib/resources/notes.js +2 -2
  47. package/lib/resources/onboarding-applications.js +2 -2
  48. package/lib/resources/onboarding-requests.js +2 -2
  49. package/lib/resources/ops.js +2 -2
  50. package/lib/resources/organisations.js +2 -2
  51. package/lib/resources/partners.js +2 -2
  52. package/lib/resources/patients.js +2 -2
  53. package/lib/resources/payments.d.ts +1 -1
  54. package/lib/resources/payments.js +2 -2
  55. package/lib/resources/pms.js +2 -2
  56. package/lib/resources/practice-profiles.d.ts +1 -1
  57. package/lib/resources/practice-profiles.js +2 -2
  58. package/lib/resources/practice-types.js +2 -2
  59. package/lib/resources/practices.js +2 -2
  60. package/lib/resources/products.js +2 -2
  61. package/lib/resources/professional-categories.js +2 -2
  62. package/lib/resources/provider-number-types.js +2 -2
  63. package/lib/resources/provider-registration-types.js +2 -2
  64. package/lib/resources/provider-requests.js +2 -2
  65. package/lib/resources/provider-types.js +2 -2
  66. package/lib/resources/qbe.js +2 -2
  67. package/lib/resources/ref-sources.js +2 -2
  68. package/lib/resources/risk.js +2 -2
  69. package/lib/resources/rnas.js +2 -2
  70. package/lib/resources/roles.js +2 -2
  71. package/lib/resources/s3-files.js +2 -2
  72. package/lib/resources/self-checkout-sessions.js +2 -2
  73. package/lib/resources/services.js +2 -2
  74. package/lib/resources/settlements.js +2 -2
  75. package/lib/resources/sign-up.js +2 -2
  76. package/lib/resources/specialties.js +2 -2
  77. package/lib/resources/staff-profiles.d.ts +1 -1
  78. package/lib/resources/staff-profiles.js +2 -2
  79. package/lib/resources/staff.js +2 -2
  80. package/lib/resources/statistics.js +2 -2
  81. package/lib/resources/subscriptions.js +2 -2
  82. package/lib/resources/terminals.js +2 -2
  83. package/lib/resources/transaction-export.js +2 -2
  84. package/lib/resources/transaction-reports.js +2 -2
  85. package/lib/resources/transactions.d.ts +2 -2
  86. package/lib/resources/transactions.js +2 -2
  87. package/lib/resources/triggers.js +2 -2
  88. package/lib/resources/vendors.js +2 -2
  89. package/lib/resources/verify.js +2 -2
  90. package/lib/resources/workers.js +2 -2
  91. package/lib/resources/workflow-exceptions.js +2 -2
  92. package/lib/services/aws.js +2 -2
  93. package/lib/services/storage.d.ts +3 -3
  94. package/lib/services/version.js +2 -2
  95. package/lib/types/account.d.ts +1 -1
  96. package/lib/types/aged-care.d.ts +52 -52
  97. package/lib/types/business.d.ts +7 -7
  98. package/lib/types/documents.d.ts +9 -9
  99. package/lib/types/forms.d.ts +5 -5
  100. package/lib/types/funder.d.ts +1 -1
  101. package/lib/types/index.d.ts +4 -4
  102. package/lib/types/kyc.d.ts +4 -4
  103. package/lib/types/message-mappings.d.ts +2 -2
  104. package/lib/types/notes.d.ts +1 -1
  105. package/lib/types/payment-methods.d.ts +1 -1
  106. package/lib/types/practice.d.ts +8 -8
  107. package/lib/types/products.d.ts +3 -3
  108. package/lib/types/professional-category.d.ts +1 -1
  109. package/lib/types/provider-registration.d.ts +1 -1
  110. package/lib/types/provider-set-item.d.ts +1 -1
  111. package/lib/types/specialty.d.ts +1 -1
  112. package/lib/types/staff-member.d.ts +4 -4
  113. package/lib/types/subscription.d.ts +5 -5
  114. package/lib/types/transaction.d.ts +1 -1
  115. package/lib/utils/application.js +2 -2
  116. package/lib/utils/professions.d.ts +1 -1
  117. package/lib/utils/professions.js +2 -2
  118. package/lib/utils/request.js +2 -2
  119. package/lib/utils/staff.js +2 -2
  120. package/package.json +14 -14
  121. package/lib/{staff-fd7ef397.js → staff-87f6066b.js} +2 -2
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('@babel/runtime/regenerator');
6
5
  require('@babel/runtime/helpers/defineProperty');
7
6
  require('@babel/runtime/helpers/asyncToGenerator');
8
- var utils_request = require('../staff-fd7ef397.js');
7
+ require('@babel/runtime/regenerator');
8
+ var utils_request = require('../staff-87f6066b.js');
9
9
  require('lodash/merge');
10
10
  require('lodash/uniq');
11
11
  require('axios');
@@ -114,7 +114,7 @@ export declare const deleteTransaction: (transactionId: string, opts?: MedipassR
114
114
  * @param {Object} opts - Additional options
115
115
  */
116
116
  export declare const getBusinessTransactions: (businessId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
117
- export declare type GetBusinessTransactionQuery = {
117
+ export type GetBusinessTransactionQuery = {
118
118
  includeDeleted?: boolean;
119
119
  refreshTerminalStatus?: boolean;
120
120
  };
@@ -192,7 +192,7 @@ export declare const getTransactionsByMember: (memberId: string, query?: Record<
192
192
  * @param {Object} opts - Additional options
193
193
  */
194
194
  export declare const getHealthFundMemberTransactions: (healthFundId: string, memberId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
195
- export declare type GetTransactionByTransactionIdQuery = {
195
+ export type GetTransactionByTransactionIdQuery = {
196
196
  includeDeleted?: boolean;
197
197
  refreshTerminalStatus?: boolean;
198
198
  };
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('@babel/runtime/regenerator');
6
5
  require('@babel/runtime/helpers/defineProperty');
7
6
  require('@babel/runtime/helpers/asyncToGenerator');
8
- var utils_request = require('../staff-fd7ef397.js');
7
+ require('@babel/runtime/regenerator');
8
+ var utils_request = require('../staff-87f6066b.js');
9
9
  require('../utils/does-param-exist.js');
10
10
  require('lodash/merge');
11
11
  require('lodash/uniq');
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('@babel/runtime/regenerator');
6
5
  require('@babel/runtime/helpers/defineProperty');
7
6
  require('@babel/runtime/helpers/asyncToGenerator');
8
- var utils_request = require('../staff-fd7ef397.js');
7
+ require('@babel/runtime/regenerator');
8
+ var utils_request = require('../staff-87f6066b.js');
9
9
  require('../utils/does-param-exist.js');
10
10
  require('lodash/merge');
11
11
  require('lodash/uniq');
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('@babel/runtime/helpers/defineProperty');
6
6
  require('../utils/does-param-exist.js');
7
- var utils_request = require('../staff-fd7ef397.js');
7
+ var utils_request = require('../staff-87f6066b.js');
8
8
  require('../utils/param-error.js');
9
9
  require('@babel/runtime/helpers/inheritsLoose');
10
10
  require('@babel/runtime/helpers/wrapNativeSuper');
11
11
  require('lodash/forOwn');
12
- require('@babel/runtime/regenerator');
13
12
  require('@babel/runtime/helpers/asyncToGenerator');
13
+ require('@babel/runtime/regenerator');
14
14
  require('lodash/merge');
15
15
  require('lodash/uniq');
16
16
  require('axios');
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('@babel/runtime/regenerator');
6
5
  require('@babel/runtime/helpers/defineProperty');
7
6
  require('@babel/runtime/helpers/asyncToGenerator');
8
- var utils_request = require('../staff-fd7ef397.js');
7
+ require('@babel/runtime/regenerator');
8
+ var utils_request = require('../staff-87f6066b.js');
9
9
  require('lodash/merge');
10
10
  require('lodash/uniq');
11
11
  require('axios');
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('@babel/runtime/helpers/defineProperty');
6
- var utils_request = require('../staff-fd7ef397.js');
7
- require('@babel/runtime/regenerator');
6
+ var utils_request = require('../staff-87f6066b.js');
8
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
+ require('@babel/runtime/regenerator');
9
9
  require('lodash/merge');
10
10
  require('lodash/uniq');
11
11
  require('axios');
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('@babel/runtime/helpers/defineProperty');
6
6
  require('../utils/does-param-exist.js');
7
- var utils_request = require('../staff-fd7ef397.js');
7
+ var utils_request = require('../staff-87f6066b.js');
8
8
  require('../utils/param-error.js');
9
9
  require('@babel/runtime/helpers/inheritsLoose');
10
10
  require('@babel/runtime/helpers/wrapNativeSuper');
11
11
  require('lodash/forOwn');
12
- require('@babel/runtime/regenerator');
13
12
  require('@babel/runtime/helpers/asyncToGenerator');
13
+ require('@babel/runtime/regenerator');
14
14
  require('lodash/merge');
15
15
  require('lodash/uniq');
16
16
  require('axios');
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('@babel/runtime/regenerator');
6
5
  require('@babel/runtime/helpers/asyncToGenerator');
6
+ require('@babel/runtime/regenerator');
7
7
  require('axios');
8
- var utils_request = require('../staff-fd7ef397.js');
8
+ var utils_request = require('../staff-87f6066b.js');
9
9
  require('../utils/param-error.js');
10
10
  require('@babel/runtime/helpers/defineProperty');
11
11
  require('lodash/merge');
@@ -1,8 +1,8 @@
1
- export declare type StoreType = 'default' | 'session';
2
- export declare type CommonOpts = {
1
+ export type StoreType = 'default' | 'session';
2
+ export type CommonOpts = {
3
3
  storeType?: StoreType;
4
4
  };
5
- export declare type SetOpts = CommonOpts & {
5
+ export type SetOpts = CommonOpts & {
6
6
  override?: boolean;
7
7
  };
8
8
  export declare const clearAll: (opts?: CommonOpts) => void;
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('@babel/runtime/helpers/defineProperty');
6
- require('@babel/runtime/regenerator');
7
6
  require('@babel/runtime/helpers/asyncToGenerator');
7
+ require('@babel/runtime/regenerator');
8
8
  require('axios');
9
9
  require('compare-versions');
10
10
  require('lodash/get');
11
- var utils_request = require('../staff-fd7ef397.js');
11
+ var utils_request = require('../staff-87f6066b.js');
12
12
  require('lodash/merge');
13
13
  require('lodash/uniq');
14
14
  require('date-fns/differenceInSeconds');
@@ -29,7 +29,7 @@ export interface Account {
29
29
  };
30
30
  };
31
31
  }
32
- declare type MFA = {
32
+ type MFA = {
33
33
  sms: {
34
34
  countryCode: 'au';
35
35
  enabled: boolean;
@@ -138,7 +138,7 @@ export interface SearchCareRecipientsQuery {
138
138
  sparcId?: string;
139
139
  sortFields?: string;
140
140
  }
141
- export declare type SearchCareRecipient = {
141
+ export type SearchCareRecipient = {
142
142
  careRecipientId: string;
143
143
  birthDate: string;
144
144
  firstName: string;
@@ -148,8 +148,8 @@ export declare type SearchCareRecipient = {
148
148
  myAgedCareGatewayId: string;
149
149
  sparcId: string;
150
150
  };
151
- export declare type SearchCareRecipientsResponse = PaginatedResponse<SearchCareRecipient>;
152
- export declare type CreateAgedCareInvoiceBody = {
151
+ export type SearchCareRecipientsResponse = PaginatedResponse<SearchCareRecipient>;
152
+ export type CreateAgedCareInvoiceBody = {
153
153
  draftTransactionId?: string;
154
154
  businessId: string;
155
155
  invoiceReference: string;
@@ -193,7 +193,7 @@ export declare type CreateAgedCareInvoiceBody = {
193
193
  }>;
194
194
  }>;
195
195
  };
196
- export declare type AgedCareInvoice = {
196
+ export type AgedCareInvoice = {
197
197
  _id: string;
198
198
  invoiceId: string;
199
199
  serviceNapsId: string;
@@ -228,10 +228,10 @@ export declare type AgedCareInvoice = {
228
228
  updatedAtDateTime: string;
229
229
  }>;
230
230
  };
231
- export declare type GetServicesQuery = {
231
+ export type GetServicesQuery = {
232
232
  businessId: string;
233
233
  };
234
- export declare type AgedCareService = {
234
+ export type AgedCareService = {
235
235
  serviceGroupId: string;
236
236
  serviceGroupText: string;
237
237
  serviceTypeId: string;
@@ -273,18 +273,18 @@ export declare type AgedCareService = {
273
273
  effectiveEndDate: string;
274
274
  updatedAtDateTime: string;
275
275
  };
276
- export declare type OnboardRequestBody = {
276
+ export type OnboardRequestBody = {
277
277
  businessId?: string;
278
278
  registeredProviderId: string;
279
279
  orgId: string;
280
280
  otac: string;
281
281
  deviceName: string;
282
282
  };
283
- export declare type OnboardResponse = StaffMember;
284
- export declare type GetRegisteredProvidersQuery = {
283
+ export type OnboardResponse = StaffMember;
284
+ export type GetRegisteredProvidersQuery = {
285
285
  businessId?: string;
286
286
  };
287
- export declare type RegisteredProvider = {
287
+ export type RegisteredProvider = {
288
288
  providerId: string;
289
289
  providerNapsId: string;
290
290
  providerName: string;
@@ -317,13 +317,13 @@ export declare type RegisteredProvider = {
317
317
  operationalStatus: string;
318
318
  }>;
319
319
  };
320
- export declare type GetRegisteredProvidersResponse = Array<RegisteredProvider>;
321
- export declare type GetServiceProviderAccountSummaryQuery = {
320
+ export type GetRegisteredProvidersResponse = Array<RegisteredProvider>;
321
+ export type GetServiceProviderAccountSummaryQuery = {
322
322
  businessId?: string;
323
323
  periodStartDate?: string;
324
324
  periodEndDate?: string;
325
325
  };
326
- export declare type ServiceProviderAccountSummary = {
326
+ export type ServiceProviderAccountSummary = {
327
327
  serviceProviderId: string;
328
328
  serviceNapsId: string;
329
329
  periodStartDate: string;
@@ -339,13 +339,13 @@ export declare type ServiceProviderAccountSummary = {
339
339
  }>;
340
340
  heldoverAmount: number;
341
341
  };
342
- export declare type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
343
- export declare type GetClaimsQuery = PaginatedQuery & {
342
+ export type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
343
+ export type GetClaimsQuery = PaginatedQuery & {
344
344
  fromDate?: string;
345
345
  toDate?: string;
346
346
  };
347
- export declare type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
348
- export declare type AgedCareClaim = {
347
+ export type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
348
+ export type AgedCareClaim = {
349
349
  _id: string;
350
350
  businessId: string;
351
351
  staff: {
@@ -380,15 +380,15 @@ export declare type AgedCareClaim = {
380
380
  created: string;
381
381
  modified: string;
382
382
  };
383
- export declare type GetClaimQuery = {
383
+ export type GetClaimQuery = {
384
384
  businessId?: string;
385
385
  };
386
- export declare type GetPaymentStatementQuery = {
386
+ export type GetPaymentStatementQuery = {
387
387
  businessId?: string;
388
388
  serviceProviderId: string;
389
389
  claimId: string;
390
390
  };
391
- export declare type AgedCarePaymentStatement = {
391
+ export type AgedCarePaymentStatement = {
392
392
  id: string;
393
393
  serviceProviderId: string;
394
394
  serviceNapsId: string;
@@ -448,12 +448,12 @@ export declare type AgedCarePaymentStatement = {
448
448
  note: string;
449
449
  }>;
450
450
  };
451
- export declare type AgedCareUploadUrlRequestBody = {
451
+ export type AgedCareUploadUrlRequestBody = {
452
452
  businessId?: string;
453
453
  contentType: string;
454
454
  contentLength: number;
455
455
  };
456
- export declare type AgedCareUploadUrlResponse = {
456
+ export type AgedCareUploadUrlResponse = {
457
457
  signedPost: {
458
458
  fields: {
459
459
  key: string;
@@ -472,14 +472,14 @@ export declare type AgedCareUploadUrlResponse = {
472
472
  s3Url: string;
473
473
  s3SignedUrlId: string;
474
474
  };
475
- export declare type AgedCareTransactionAttachmentType = 'INVOICE' | 'PRESC' | 'QUOTE' | 'RECEIPT' | 'OTHER';
476
- export declare type CreateInvoiceItemAttachmentRequestBody = {
475
+ export type AgedCareTransactionAttachmentType = 'INVOICE' | 'PRESC' | 'QUOTE' | 'RECEIPT' | 'OTHER';
476
+ export type CreateInvoiceItemAttachmentRequestBody = {
477
477
  businessId?: string;
478
478
  s3SignedUrlId: string;
479
479
  filename: string;
480
480
  type: AgedCareTransactionAttachmentType;
481
481
  };
482
- export declare type CreateInvoiceItemAttachmentResponse = {
482
+ export type CreateInvoiceItemAttachmentResponse = {
483
483
  type: string;
484
484
  typeText: string;
485
485
  id: string;
@@ -487,10 +487,10 @@ export declare type CreateInvoiceItemAttachmentResponse = {
487
487
  mimeType: string;
488
488
  createdAtDateTime: string;
489
489
  };
490
- export declare type GetTransactionFilesQuery = PaginatedQuery & {
490
+ export type GetTransactionFilesQuery = PaginatedQuery & {
491
491
  businessId?: string;
492
492
  };
493
- export declare type AgedCareTransactionFile = {
493
+ export type AgedCareTransactionFile = {
494
494
  _id: string;
495
495
  businessId: string;
496
496
  funderId: string;
@@ -503,14 +503,14 @@ export declare type AgedCareTransactionFile = {
503
503
  created: string;
504
504
  modified: string;
505
505
  };
506
- export declare type GetInvoiceQuery = {
506
+ export type GetInvoiceQuery = {
507
507
  businessId?: string;
508
508
  };
509
- export declare type GetPaymentItemsReportQuery = PaginatedQuery & {
509
+ export type GetPaymentItemsReportQuery = PaginatedQuery & {
510
510
  businessId?: string;
511
511
  invoiceId?: string;
512
512
  };
513
- export declare type AgedCarePaymentItemsReport = {
513
+ export type AgedCarePaymentItemsReport = {
514
514
  invoiceId: string;
515
515
  itemId: string;
516
516
  invoiceExternalReferenceId: string;
@@ -546,14 +546,14 @@ export declare type AgedCarePaymentItemsReport = {
546
546
  amount: number;
547
547
  }>;
548
548
  };
549
- export declare type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
550
- export declare type CreateEnteralFeedingSupplementAttachmentRequestBody = {
549
+ export type AgedCareEnteralFeedingSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
550
+ export type CreateEnteralFeedingSupplementAttachmentRequestBody = {
551
551
  businessId?: string;
552
552
  s3SignedUrlId: string;
553
553
  filename: string;
554
554
  type: AgedCareEnteralFeedingSupplementAttachmentType;
555
555
  };
556
- export declare type CreateEnteralFeedingSupplementAttachmentResponse = {
556
+ export type CreateEnteralFeedingSupplementAttachmentResponse = {
557
557
  type: string;
558
558
  typeText: string;
559
559
  id: string;
@@ -561,14 +561,14 @@ export declare type CreateEnteralFeedingSupplementAttachmentResponse = {
561
561
  mimeType: string;
562
562
  createdAtDateTime: string;
563
563
  };
564
- export declare type AgedCareOxygenSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
565
- export declare type CreateOxygenSupplementAttachmentRequestBody = {
564
+ export type AgedCareOxygenSupplementAttachmentType = 'AC011' | 'MED_CERT' | 'INVOICE' | 'OTH_EVENT';
565
+ export type CreateOxygenSupplementAttachmentRequestBody = {
566
566
  businessId?: string;
567
567
  s3SignedUrlId: string;
568
568
  filename: string;
569
569
  type: AgedCareOxygenSupplementAttachmentType;
570
570
  };
571
- export declare type CreateOxygenSupplementAttachmentResponse = {
571
+ export type CreateOxygenSupplementAttachmentResponse = {
572
572
  type: string;
573
573
  typeText: string;
574
574
  id: string;
@@ -576,7 +576,7 @@ export declare type CreateOxygenSupplementAttachmentResponse = {
576
576
  mimeType: string;
577
577
  createdAtDateTime: string;
578
578
  };
579
- export declare type GetIndividualContributionsQuery = PaginatedQuery & {
579
+ export type GetIndividualContributionsQuery = PaginatedQuery & {
580
580
  businessId?: string;
581
581
  careRecipientId?: string;
582
582
  serviceNapsId?: string;
@@ -587,7 +587,7 @@ export declare type GetIndividualContributionsQuery = PaginatedQuery & {
587
587
  updatedAtDateTimeTo?: string;
588
588
  sortFields?: string;
589
589
  };
590
- export declare type IndividualContribution = {
590
+ export type IndividualContribution = {
591
591
  serviceProviderId: string;
592
592
  serviceNapsId: string;
593
593
  careRecipientId: string;
@@ -603,19 +603,19 @@ export declare type IndividualContribution = {
603
603
  endDate: string;
604
604
  updatedAtDateTime: string;
605
605
  };
606
- export declare type GetCareRecipientBudgetsQuery = PaginatedQuery & {
606
+ export type GetCareRecipientBudgetsQuery = PaginatedQuery & {
607
607
  businessId?: string;
608
608
  effectiveDateFrom?: string;
609
609
  effectiveDateTo?: string;
610
610
  sortFields?: string;
611
611
  };
612
- export declare type GetServiceProviderBudgetsQuery = PaginatedQuery & {
612
+ export type GetServiceProviderBudgetsQuery = PaginatedQuery & {
613
613
  businessId?: string;
614
614
  effectiveDateFrom?: string;
615
615
  effectiveDateTo?: string;
616
616
  sortFields?: string;
617
617
  };
618
- export declare type CareRecipientBudget = {
618
+ export type CareRecipientBudget = {
619
619
  budgetId: string;
620
620
  serviceProviderId: string;
621
621
  careRecipientId: string;
@@ -631,7 +631,7 @@ export declare type CareRecipientBudget = {
631
631
  updatedAtDateTime: string;
632
632
  status: string;
633
633
  };
634
- export declare type ServiceProviderBudget = {
634
+ export type ServiceProviderBudget = {
635
635
  budgetId: string;
636
636
  serviceProviderId: string;
637
637
  careRecipientId: string;
@@ -647,10 +647,10 @@ export declare type ServiceProviderBudget = {
647
647
  updatedAtDateTime: string;
648
648
  status: string;
649
649
  };
650
- export declare type GetBudgetDetailsQuery = {
650
+ export type GetBudgetDetailsQuery = {
651
651
  businessId?: string;
652
652
  };
653
- export declare type BudgetDetailsResponse = {
653
+ export 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 declare type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
748
+ export type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
749
749
  businessId?: string;
750
750
  serviceNapsId?: string;
751
751
  serviceProviderId?: string;
@@ -759,7 +759,7 @@ export declare type GetEnteralFeedingSupplementsQuery = PaginatedQuery & {
759
759
  updatedAtDateTimeTo?: string;
760
760
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
761
761
  };
762
- export declare type GetOxygenSupplementsQuery = PaginatedQuery & {
762
+ export 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 declare type GetEnteralFeedingSupplementsResponse = PaginatedResponse<GetEnteralFeedingSupplementsItem>;
792
+ export 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 declare type GetOxygenSupplementsResponse = PaginatedResponse<GetOxygenSupplementsItem>;
809
+ export 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 declare type GetEntriesQuery = PaginatedQuery & {
876
+ export 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 declare type GetEntriesResponse = PaginatedResponse<GetEntriesItem>;
929
+ export 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 declare type GetDeparturesQuery = PaginatedQuery & {
1058
+ export 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 declare type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
1093
+ export type GetDeparturesResponse = PaginatedResponse<GetDeparturesItem>;
1094
1094
  export interface GetDepartureQuery {
1095
1095
  businessId?: string;
1096
1096
  }
@@ -68,7 +68,7 @@ export interface Business {
68
68
  medicareEnabledDate: string;
69
69
  _links: BusinessLinks;
70
70
  }
71
- export declare type ShortBusinessResponse = {
71
+ export type ShortBusinessResponse = {
72
72
  abn: string;
73
73
  address: string;
74
74
  addressPrefix: string;
@@ -88,14 +88,14 @@ export declare type ShortBusinessResponse = {
88
88
  subpremise: string | null;
89
89
  _id: string;
90
90
  };
91
- export declare type BusinessContactInformation = {
91
+ export 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
- declare type BusinessSettings = {
98
+ type BusinessSettings = {
99
99
  transactions: {
100
100
  limits: {
101
101
  amountCardSalesPerTransaction: number;
@@ -115,13 +115,13 @@ declare type BusinessSettings = {
115
115
  paymentFacility: 'medipass-payments' | null;
116
116
  };
117
117
  };
118
- declare type BusinessBankAccount = {
118
+ type BusinessBankAccount = {
119
119
  accountName: string;
120
120
  accountNumber: string;
121
121
  bankName: string;
122
122
  bsb: string;
123
123
  };
124
- declare type BusinessLinks = {
124
+ type BusinessLinks = {
125
125
  self: Links;
126
126
  practices: Links;
127
127
  services: Links;
@@ -131,12 +131,12 @@ declare type BusinessLinks = {
131
131
  subscriptions: Links;
132
132
  paymentMethods: Links;
133
133
  };
134
- declare type Links = {
134
+ type Links = {
135
135
  read?: string;
136
136
  update?: string;
137
137
  delete?: string;
138
138
  };
139
- declare type BusinessMFA = {
139
+ 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 declare type BusinessDocumentsQuery = PaginatedQuery & {
3
+ export type BusinessDocumentsQuery = PaginatedQuery & {
4
4
  isPublished?: boolean;
5
5
  practiceId?: string;
6
6
  sort?: string;
7
7
  documentType?: 'form' | 'application';
8
8
  };
9
- export declare type HealthFundDocumentsQuery = PaginatedQuery & {
9
+ export type HealthFundDocumentsQuery = PaginatedQuery & {
10
10
  excludeDocumentIds?: string;
11
11
  };
12
12
  /** END: Query */
13
13
  /** START: Requests */
14
- export declare type DeclineHealthFundDocumentBody = {
14
+ export type DeclineHealthFundDocumentBody = {
15
15
  formApplicationDeclineReasonId: string;
16
16
  note?: string;
17
17
  };
18
- export declare type CeaseHealthFundDocumentBody = {
18
+ export type CeaseHealthFundDocumentBody = {
19
19
  formApplicationCeaseReasonId: string;
20
20
  note?: string;
21
21
  };
22
- export declare type ParkHealthFundDocumentBody = {
22
+ export type ParkHealthFundDocumentBody = {
23
23
  workflowExceptionId: string;
24
24
  note?: string;
25
25
  };
26
26
  /** END: Requests */
27
27
  /** START: Responses */
28
- export declare type BusinessDocumentResponse = {
28
+ export type BusinessDocumentResponse = {
29
29
  _id: string;
30
30
  organisationId: string;
31
31
  healthFund: {
@@ -48,11 +48,11 @@ export declare type BusinessDocumentResponse = {
48
48
  created: string;
49
49
  modified: string;
50
50
  };
51
- export declare type BusinessDocumentsResponse = {
51
+ export type BusinessDocumentsResponse = {
52
52
  meta: PaginationMeta;
53
53
  items: Array<BusinessDocumentResponse>;
54
54
  };
55
- export declare type HealthFundDocumentResponse = {
55
+ export type HealthFundDocumentResponse = {
56
56
  _id: string;
57
57
  businessId: string;
58
58
  organisationId: string;
@@ -122,7 +122,7 @@ export declare type HealthFundDocumentResponse = {
122
122
  };
123
123
  };
124
124
  };
125
- export declare type HealthFundDocumentsResponse = {
125
+ export 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 declare type ApplyForBusinessFormRequestBody = {
2
+ export type ApplyForBusinessFormRequestBody = {
3
3
  practiceIds: Array<string | null | undefined>;
4
4
  subsections?: Array<{
5
5
  _id: string;
@@ -7,7 +7,7 @@ export declare type ApplyForBusinessFormRequestBody = {
7
7
  } | null | undefined>;
8
8
  files?: Array<Record<string, any>>;
9
9
  };
10
- export declare type CreateHealthFundFormRequestBody = {
10
+ export type CreateHealthFundFormRequestBody = {
11
11
  fullName: string;
12
12
  displayName: string;
13
13
  description?: string;
@@ -33,14 +33,14 @@ export declare type CreateHealthFundFormRequestBody = {
33
33
  }>;
34
34
  scannedApplication: boolean;
35
35
  };
36
- export declare type GetHealthFundFormsQuery = PaginatedQuery & {
36
+ export type GetHealthFundFormsQuery = PaginatedQuery & {
37
37
  hasApplicationTemplate?: boolean;
38
38
  };
39
- export declare type GetHealthFundFormUploadUrlQuery = {
39
+ export type GetHealthFundFormUploadUrlQuery = {
40
40
  contentType: string;
41
41
  fileName: string;
42
42
  };
43
- export declare type UpdateHealthFundFormRequestBody = {
43
+ export type UpdateHealthFundFormRequestBody = {
44
44
  fullName?: string;
45
45
  displayName?: string;
46
46
  description?: string;