@medipass/web-sdk 11.58.1-feature-export-daily-remittance-endpoints.0 → 11.58.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 (92) hide show
  1. package/lib/index.js +1 -1
  2. package/lib/resources/abr.js +1 -1
  3. package/lib/resources/accounts.js +1 -1
  4. package/lib/resources/actions.js +1 -1
  5. package/lib/resources/api-keys.js +1 -1
  6. package/lib/resources/applications.js +1 -1
  7. package/lib/resources/attachments.js +1 -1
  8. package/lib/resources/auth.js +1 -1
  9. package/lib/resources/blacklist.js +1 -1
  10. package/lib/resources/bulk-submits.js +1 -1
  11. package/lib/resources/bulk-uploads.js +1 -1
  12. package/lib/resources/business-profiles.js +1 -1
  13. package/lib/resources/businesses.js +1 -1
  14. package/lib/resources/claim-items.js +1 -1
  15. package/lib/resources/devices.js +1 -1
  16. package/lib/resources/doc-accounts.js +1 -1
  17. package/lib/resources/documents.d.ts +26 -1
  18. package/lib/resources/documents.js +6 -1
  19. package/lib/resources/emails.js +1 -1
  20. package/lib/resources/filter-options.js +1 -1
  21. package/lib/resources/form-application-templates.js +1 -1
  22. package/lib/resources/form-applications.js +1 -1
  23. package/lib/resources/forms.js +1 -1
  24. package/lib/resources/funder-services.js +1 -1
  25. package/lib/resources/funder-settings.js +1 -1
  26. package/lib/resources/funder-values.js +1 -1
  27. package/lib/resources/funders.js +1 -1
  28. package/lib/resources/futures.js +1 -1
  29. package/lib/resources/health-fund-accounts.js +1 -1
  30. package/lib/resources/health-fund-settings.js +1 -1
  31. package/lib/resources/healthfunds.js +1 -1
  32. package/lib/resources/icditems.js +1 -1
  33. package/lib/resources/invoice-scans.js +1 -1
  34. package/lib/resources/jhcs.js +1 -1
  35. package/lib/resources/kyc.js +1 -1
  36. package/lib/resources/logs.js +1 -1
  37. package/lib/resources/members.js +1 -1
  38. package/lib/resources/message-mappings.js +1 -1
  39. package/lib/resources/minions.js +1 -1
  40. package/lib/resources/modalities.js +1 -1
  41. package/lib/resources/notes.js +1 -1
  42. package/lib/resources/onboarding-applications.js +1 -1
  43. package/lib/resources/onboarding-requests.js +1 -1
  44. package/lib/resources/ops.js +1 -1
  45. package/lib/resources/organisations.js +1 -1
  46. package/lib/resources/partners.js +1 -1
  47. package/lib/resources/patients.js +1 -1
  48. package/lib/resources/payments.js +1 -1
  49. package/lib/resources/pms.js +1 -1
  50. package/lib/resources/practice-profiles.js +1 -1
  51. package/lib/resources/practice-types.js +1 -1
  52. package/lib/resources/practices.js +1 -1
  53. package/lib/resources/products.js +1 -1
  54. package/lib/resources/professional-categories.js +1 -1
  55. package/lib/resources/provider-number-types.js +1 -1
  56. package/lib/resources/provider-registration-types.js +1 -1
  57. package/lib/resources/provider-requests.js +1 -1
  58. package/lib/resources/provider-types.js +1 -1
  59. package/lib/resources/ref-sources.js +1 -1
  60. package/lib/resources/risk.js +1 -1
  61. package/lib/resources/rnas.js +1 -1
  62. package/lib/resources/roles.js +1 -1
  63. package/lib/resources/self-checkout-sessions.js +1 -1
  64. package/lib/resources/services.js +1 -1
  65. package/lib/resources/settlements.d.ts +0 -23
  66. package/lib/resources/settlements.js +1 -4
  67. package/lib/resources/sign-up.js +1 -1
  68. package/lib/resources/specialties.js +1 -1
  69. package/lib/resources/staff-profiles.js +1 -1
  70. package/lib/resources/staff.js +1 -1
  71. package/lib/resources/statistics.js +1 -1
  72. package/lib/resources/subscriptions.js +1 -1
  73. package/lib/resources/terminals.js +1 -1
  74. package/lib/resources/transaction-export.js +1 -1
  75. package/lib/resources/transactions.js +1 -1
  76. package/lib/resources/triggers.js +1 -1
  77. package/lib/resources/vendors.js +1 -1
  78. package/lib/resources/verify.js +1 -1
  79. package/lib/resources/workers.js +1 -1
  80. package/lib/resources/workflow-exceptions.js +1 -1
  81. package/lib/services/aws.js +1 -1
  82. package/lib/services/version.js +1 -1
  83. package/lib/{staff-58386a06.js → staff-bd374256.js} +89 -88
  84. package/lib/types/business.d.ts +14 -3
  85. package/lib/types/documents.d.ts +57 -1
  86. package/lib/types/provider-set-item.d.ts +35 -11
  87. package/lib/types/staff-member.d.ts +7 -1
  88. package/lib/utils/application.js +1 -1
  89. package/lib/utils/professions.js +1 -1
  90. package/lib/utils/request.js +1 -1
  91. package/lib/utils/staff.js +1 -1
  92. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import type { PaginationMeta, PaginatedQuery } from './index';
1
+ import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, ShortBusinessResponse, ShortStaffMemberResponse } from './index';
2
2
  /** START: Query */
3
3
  export declare type BusinessDocumentsQuery = PaginatedQuery & {
4
4
  isPublished?: boolean;
@@ -107,9 +107,65 @@ 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
+ export interface HealthPointRegistrationApplicationResponse {
131
+ business: ShortBusinessResponse;
132
+ created: string;
133
+ devicesRequested?: number;
134
+ errorMessage?: string;
135
+ formId: string;
136
+ funderId: string;
137
+ healthFundId: string;
138
+ healthpoint: {
139
+ deviceIds: [];
140
+ digitalId: string;
141
+ orgId: string;
142
+ providerNumbers: [];
143
+ siteId: string;
144
+ };
145
+ isMidChecked?: boolean;
146
+ isMidCheckedForSettlement?: boolean;
147
+ isMidEnabled?: boolean;
148
+ modified: string;
149
+ practice: ShortPracticeResponse;
150
+ staffs: ShortStaffMemberResponse[];
151
+ status: string;
152
+ _id: string;
153
+ }
154
+ /** END: Responses */
155
+ /** START: Requests */
156
+ export interface UpdateHealthPointRegistrationApplicationBody {
157
+ isMidChecked: boolean;
158
+ isMidEnabled: boolean;
159
+ isMidCheckedForSettlement: boolean;
160
+ staffs: {
161
+ _id: string;
162
+ providerSet: {
163
+ _id: string;
164
+ isCertificationMatch: boolean;
165
+ }[];
166
+ }[];
167
+ }
168
+ export interface ActivateHealthPointDigitalClaimingBody {
169
+ numberOfDevices: number;
170
+ }
171
+ /** END: Requests */
@@ -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;
@@ -39,15 +43,35 @@ export declare type ParsedProviderSetItem = ProviderSetItem & {
39
43
  professionalCategory: ProfessionalCategory | undefined;
40
44
  specialties: Specialty[];
41
45
  providerRegistrationType: ProviderRegistrationType | undefined;
42
- healthpoint?: HealthPointProviderSetAttributes;
46
+ healthpoint?: {
47
+ settlement: HealthPointSettlementAttributes;
48
+ };
43
49
  };
44
- export interface HealthPointProviderSetAttributes {
45
- settlement: {
46
- bankAccount: {
47
- accountName: string;
48
- accountNumber: string;
49
- bankName: string;
50
- bsb: string;
51
- };
50
+ export interface HealthPointSettlementAttributes {
51
+ bankAccount: {
52
+ accountName: string;
53
+ accountNumber: string;
54
+ bankName: string;
55
+ bsb: string;
56
+ };
57
+ }
58
+ export interface HealthPointProviderSetFilesAttributes {
59
+ category: string;
60
+ displayName: string;
61
+ url: string;
62
+ }
63
+ export interface HealthPointProviderSetItemResponse {
64
+ files: HealthPointProviderSetFilesAttributes[];
65
+ isCertificationMatch?: boolean;
66
+ professionalCategory: {
67
+ _id: string;
68
+ displayName: string;
52
69
  };
70
+ providerNumber: string;
71
+ settlement: HealthPointSettlementAttributes;
72
+ specialties: {
73
+ _id: string;
74
+ displayName: string;
75
+ }[];
76
+ _id: string;
53
77
  }
@@ -1,4 +1,4 @@
1
- import type { ProviderSetItem } from './provider-set-item';
1
+ import type { ProviderSetItem, HealthPointProviderSetItemResponse } from './provider-set-item';
2
2
  import type { ProviderRegistration } from './provider-registration';
3
3
  export declare type HealthFundOverride = {
4
4
  healthFundId: string;
@@ -29,6 +29,12 @@ export declare type StaffMember = {
29
29
  mobile: string;
30
30
  _links: StaffLinks;
31
31
  };
32
+ export declare type ShortStaffMemberResponse = {
33
+ firstName: string;
34
+ lastName: string;
35
+ providerSet: HealthPointProviderSetItemResponse[];
36
+ _id: string;
37
+ };
32
38
  declare type StaffLinks = {
33
39
  self: Links;
34
40
  practices: Links;
@@ -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-58386a06.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-58386a06.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-58386a06.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-58386a06.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.0",
3
+ "version": "11.58.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": "6cdfc20cb5e7d0d10634b3c01dd7bba65a130bae"
61
+ "gitHead": "74f4cab6e18082a58536edc93a2c92509263d862"
62
62
  }