@medipass/web-sdk 11.58.1-feature-export-daily-remittance-endpoints.4 → 11.59.1-feature-healthpoint-registration-application-endpoints.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 (95) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/lib/index.js +1 -1
  3. package/lib/resources/abr.js +1 -1
  4. package/lib/resources/accounts.js +1 -1
  5. package/lib/resources/actions.js +1 -1
  6. package/lib/resources/api-keys.js +1 -1
  7. package/lib/resources/applications.js +1 -1
  8. package/lib/resources/attachments.js +1 -1
  9. package/lib/resources/auth.js +1 -1
  10. package/lib/resources/blacklist.js +1 -1
  11. package/lib/resources/bulk-submits.js +1 -1
  12. package/lib/resources/bulk-uploads.js +1 -1
  13. package/lib/resources/business-profiles.js +1 -1
  14. package/lib/resources/businesses.js +1 -1
  15. package/lib/resources/claim-items.js +1 -1
  16. package/lib/resources/devices.js +1 -1
  17. package/lib/resources/doc-accounts.js +1 -1
  18. package/lib/resources/documents.d.ts +26 -1
  19. package/lib/resources/documents.js +6 -1
  20. package/lib/resources/emails.js +1 -1
  21. package/lib/resources/filter-options.js +1 -1
  22. package/lib/resources/form-application-templates.js +1 -1
  23. package/lib/resources/form-applications.js +1 -1
  24. package/lib/resources/forms.js +1 -1
  25. package/lib/resources/funder-services.js +1 -1
  26. package/lib/resources/funder-settings.js +1 -1
  27. package/lib/resources/funder-values.js +1 -1
  28. package/lib/resources/funders.js +1 -1
  29. package/lib/resources/futures.js +1 -1
  30. package/lib/resources/health-fund-accounts.js +1 -1
  31. package/lib/resources/health-fund-settings.js +1 -1
  32. package/lib/resources/healthfunds.js +1 -1
  33. package/lib/resources/icditems.js +1 -1
  34. package/lib/resources/invoice-scans.js +1 -1
  35. package/lib/resources/jhcs.js +1 -1
  36. package/lib/resources/kyc.js +1 -1
  37. package/lib/resources/logs.js +1 -1
  38. package/lib/resources/members.js +1 -1
  39. package/lib/resources/message-mappings.js +1 -1
  40. package/lib/resources/minions.js +1 -1
  41. package/lib/resources/modalities.js +1 -1
  42. package/lib/resources/notes.js +1 -1
  43. package/lib/resources/onboarding-applications.js +1 -1
  44. package/lib/resources/onboarding-requests.js +1 -1
  45. package/lib/resources/ops.js +1 -1
  46. package/lib/resources/organisations.js +1 -1
  47. package/lib/resources/partners.js +1 -1
  48. package/lib/resources/patients.js +1 -1
  49. package/lib/resources/payments.js +1 -1
  50. package/lib/resources/pms.js +1 -1
  51. package/lib/resources/practice-profiles.js +1 -1
  52. package/lib/resources/practice-types.js +1 -1
  53. package/lib/resources/practices.js +1 -1
  54. package/lib/resources/products.js +1 -1
  55. package/lib/resources/professional-categories.js +1 -1
  56. package/lib/resources/provider-number-types.js +1 -1
  57. package/lib/resources/provider-registration-types.js +1 -1
  58. package/lib/resources/provider-requests.js +1 -1
  59. package/lib/resources/provider-types.js +1 -1
  60. package/lib/resources/ref-sources.js +1 -1
  61. package/lib/resources/risk.js +1 -1
  62. package/lib/resources/rnas.js +1 -1
  63. package/lib/resources/roles.js +1 -1
  64. package/lib/resources/self-checkout-sessions.js +1 -1
  65. package/lib/resources/services.js +1 -1
  66. package/lib/resources/settlements.d.ts +1 -33
  67. package/lib/resources/settlements.js +1 -4
  68. package/lib/resources/sign-up.js +1 -1
  69. package/lib/resources/specialties.js +1 -1
  70. package/lib/resources/staff-profiles.js +1 -1
  71. package/lib/resources/staff.js +1 -1
  72. package/lib/resources/statistics.js +1 -1
  73. package/lib/resources/subscriptions.js +1 -1
  74. package/lib/resources/terminals.js +1 -1
  75. package/lib/resources/transaction-export.js +1 -1
  76. package/lib/resources/transactions.js +1 -1
  77. package/lib/resources/triggers.js +1 -1
  78. package/lib/resources/vendors.js +1 -1
  79. package/lib/resources/verify.js +1 -1
  80. package/lib/resources/workers.js +1 -1
  81. package/lib/resources/workflow-exceptions.js +1 -1
  82. package/lib/services/aws.js +1 -1
  83. package/lib/services/version.js +1 -1
  84. package/lib/{staff-451ec207.js → staff-bd374256.js} +89 -73
  85. package/lib/types/business.d.ts +14 -3
  86. package/lib/types/documents.d.ts +59 -1
  87. package/lib/types/index.d.ts +0 -1
  88. package/lib/types/provider-set-item.d.ts +24 -12
  89. package/lib/utils/application.js +1 -1
  90. package/lib/utils/professions.js +1 -1
  91. package/lib/utils/request.js +1 -1
  92. package/lib/utils/staff.js +1 -1
  93. package/package.json +3 -3
  94. package/lib/types/settlement-export.d.ts +0 -23
  95. package/lib/types/settlement-export.js +0 -2
@@ -1,4 +1,4 @@
1
- import type { PaginationMeta, PaginatedQuery } from './index';
1
+ import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, ShortBusinessResponse, StaffMember } from './index';
2
2
  /** START: Query */
3
3
  export declare type BusinessDocumentsQuery = PaginatedQuery & {
4
4
  isPublished?: boolean;
@@ -107,9 +107,67 @@ export declare type HealthFundDocumentResponse = {
107
107
  isPublished?: boolean;
108
108
  created: string;
109
109
  modified: string;
110
+ _links: {
111
+ self: {
112
+ assign?: string;
113
+ approve?: string;
114
+ archive?: string;
115
+ cease?: string;
116
+ close?: string;
117
+ decline?: string;
118
+ park?: string;
119
+ read?: string;
120
+ unarchive?: string;
121
+ };
122
+ };
110
123
  };
111
124
  export declare type HealthFundDocumentsResponse = {
112
125
  meta: PaginationMeta;
113
126
  items: Array<HealthFundDocumentResponse>;
114
127
  };
115
128
  /** END: Responses */
129
+ /** START: Responses */
130
+ interface HealthPointResponse {
131
+ deviceIds: [];
132
+ digitalId: string;
133
+ orgId: string;
134
+ providerNumbers: [];
135
+ siteId: string;
136
+ }
137
+ export interface HealthPointRegistrationApplicationResponse {
138
+ business: ShortBusinessResponse;
139
+ created: string;
140
+ devicesRequested?: number;
141
+ errorMessage?: string;
142
+ formId: string;
143
+ funderId: string;
144
+ healthFundId: string;
145
+ healthpoint: HealthPointResponse;
146
+ isMidChecked?: boolean;
147
+ isMidCheckedForSettlement?: boolean;
148
+ isMidEnabled?: boolean;
149
+ modified: string;
150
+ practice: ShortPracticeResponse;
151
+ staffs: StaffMember[];
152
+ status: string;
153
+ _id: string;
154
+ }
155
+ /** END: Responses */
156
+ /** START: Requests */
157
+ export interface UpdateHealthPointRegistrationApplicationBody {
158
+ isMidChecked: boolean;
159
+ isMidEnabled: boolean;
160
+ isMidCheckedForSettlement: boolean;
161
+ staffs: {
162
+ _id: string;
163
+ providerSet: {
164
+ _id: string;
165
+ isCertificationMatch: boolean;
166
+ }[];
167
+ }[];
168
+ }
169
+ export interface ActivateHealthPointDigitalClaimingBody {
170
+ numberOfDevices: number;
171
+ }
172
+ export {};
173
+ /** END: Requests */
@@ -22,7 +22,6 @@ export * from './staff-member';
22
22
  export * from './specialty';
23
23
  export * from './subscriptions';
24
24
  export * from './virus-scan';
25
- export * from './settlement-export';
26
25
  export declare type MedipassRequestOpts = {
27
26
  baseUrl?: string;
28
27
  hyperMediaEndpoint?: string | null | undefined;
@@ -3,7 +3,9 @@ export interface ProviderSetItem {
3
3
  created: string;
4
4
  funderId: string;
5
5
  healthFundOverrides: string[];
6
- healthpoint?: HealthPointProviderSetAttributes;
6
+ healthpoint?: {
7
+ settlement: HealthPointSettlementAttributes;
8
+ };
7
9
  practiceId: string;
8
10
  professionalCategoryId: string;
9
11
  providerNumber: string;
@@ -20,7 +22,9 @@ export interface ProviderSetItemRequestBody {
20
22
  providerNumber: string;
21
23
  specialtyIds: string[];
22
24
  hicaps?: HicapsProviderSetAttributes;
23
- healthpoint?: HealthPointProviderSetAttributes;
25
+ healthpoint?: {
26
+ settlement: HealthPointSettlementAttributes;
27
+ };
24
28
  }
25
29
  export interface HicapsProviderSetAttributes {
26
30
  address?: string;
@@ -32,22 +36,30 @@ export interface HicapsProviderSetAttributes {
32
36
  lnglat?: string[];
33
37
  gmapsPlaceId?: string;
34
38
  }
35
- export declare type ParsedProviderSetItem = ProviderSetItem & {
39
+ export declare type ParsedProviderSetItem = ProviderSetItem & HealthPointProviderSetItemResponse & {
36
40
  providerNumberType?: ProviderNumberType | undefined;
37
41
  funder: Funder;
38
42
  practice: Practice;
39
43
  professionalCategory: ProfessionalCategory | undefined;
40
44
  specialties: Specialty[];
41
45
  providerRegistrationType: ProviderRegistrationType | undefined;
42
- healthpoint?: HealthPointProviderSetAttributes;
43
46
  };
44
- export interface HealthPointProviderSetAttributes {
45
- settlement: {
46
- bankAccount: {
47
- accountName: string;
48
- accountNumber: string;
49
- bankName: string;
50
- bsb: string;
51
- };
47
+ export interface HealthPointProviderSetItemResponse {
48
+ files?: HealthPointProviderSetFilesAttributes[];
49
+ isCertificationMatch?: boolean;
50
+ settlement?: HealthPointSettlementAttributes;
51
+ }
52
+ interface HealthPointProviderSetFilesAttributes {
53
+ category: string;
54
+ displayName: string;
55
+ url: string;
56
+ }
57
+ interface HealthPointSettlementAttributes {
58
+ bankAccount: {
59
+ accountName: string;
60
+ accountNumber: string;
61
+ bankName: string;
62
+ bsb: string;
52
63
  };
53
64
  }
65
+ export {};
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('./get-axios-error.js');
17
- var request = require('../staff-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('./get-axios-error.js');
17
- var request = require('../staff-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('./get-axios-error.js');
17
- var request = require('../staff-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -14,7 +14,7 @@ require('lodash/forOwn');
14
14
  require('lodash/get');
15
15
  require('@medipass/utils/sentry');
16
16
  require('./get-axios-error.js');
17
- var request = require('../staff-451ec207.js');
17
+ var request = require('../staff-bd374256.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "11.58.1-feature-export-daily-remittance-endpoints.4",
3
+ "version": "11.59.1-feature-healthpoint-registration-application-endpoints.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@babel/plugin-transform-runtime": "7.8.3",
49
- "@medipass/utils": "^11.77.4",
49
+ "@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.0",
50
50
  "@types/jest": "28.1.6",
51
51
  "@types/mocha": "9.1.1",
52
52
  "@types/node": "18.7.1",
@@ -58,5 +58,5 @@
58
58
  "resolutions": {
59
59
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
60
60
  },
61
- "gitHead": "51ff06dad8bb29b49b6fca35a88e28b60994c911"
61
+ "gitHead": "c6ba67e6ecbf01944bfd1ba6089f36692716921a"
62
62
  }
@@ -1,23 +0,0 @@
1
- export interface CheckStatusOfBusinessSettlementExport {
2
- businessId: string;
3
- created: string;
4
- file: {
5
- contentType: string;
6
- fileErrors: any[];
7
- filename: string;
8
- s3Bucket: string;
9
- s3Key: string;
10
- };
11
- modified: string;
12
- organisationId: string;
13
- origination: string;
14
- status: string;
15
- statusHistory: {
16
- status: string;
17
- createdByAccountId: string;
18
- createdByAccountUsername: string;
19
- createdByApplicationId: string;
20
- created: string;
21
- }[];
22
- _id: string;
23
- }
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-