@medipass/web-sdk 11.59.1-feature-healthpoint-registration-application-endpoints.0 → 11.60.1-feature-add-new-text-area-component.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 +1 -26
  19. package/lib/resources/documents.js +1 -6
  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 +33 -1
  67. package/lib/resources/settlements.js +4 -1
  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-bd374256.js → staff-451ec207.js} +73 -89
  85. package/lib/types/business.d.ts +3 -14
  86. package/lib/types/documents.d.ts +1 -59
  87. package/lib/types/index.d.ts +1 -0
  88. package/lib/types/provider-set-item.d.ts +12 -24
  89. package/lib/types/settlement-export.d.ts +23 -0
  90. package/lib/types/settlement-export.js +2 -0
  91. package/lib/utils/application.js +1 -1
  92. package/lib/utils/professions.js +1 -1
  93. package/lib/utils/request.js +1 -1
  94. package/lib/utils/staff.js +1 -1
  95. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, ShortBusinessResponse, StaffMember } from './index';
1
+ import type { PaginationMeta, PaginatedQuery } from './index';
2
2
  /** START: Query */
3
3
  export declare type BusinessDocumentsQuery = PaginatedQuery & {
4
4
  isPublished?: boolean;
@@ -107,67 +107,9 @@ 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
- };
123
110
  };
124
111
  export declare type HealthFundDocumentsResponse = {
125
112
  meta: PaginationMeta;
126
113
  items: Array<HealthFundDocumentResponse>;
127
114
  };
128
115
  /** 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,6 +22,7 @@ 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';
25
26
  export declare type MedipassRequestOpts = {
26
27
  baseUrl?: string;
27
28
  hyperMediaEndpoint?: string | null | undefined;
@@ -3,9 +3,7 @@ export interface ProviderSetItem {
3
3
  created: string;
4
4
  funderId: string;
5
5
  healthFundOverrides: string[];
6
- healthpoint?: {
7
- settlement: HealthPointSettlementAttributes;
8
- };
6
+ healthpoint?: HealthPointProviderSetAttributes;
9
7
  practiceId: string;
10
8
  professionalCategoryId: string;
11
9
  providerNumber: string;
@@ -22,9 +20,7 @@ export interface ProviderSetItemRequestBody {
22
20
  providerNumber: string;
23
21
  specialtyIds: string[];
24
22
  hicaps?: HicapsProviderSetAttributes;
25
- healthpoint?: {
26
- settlement: HealthPointSettlementAttributes;
27
- };
23
+ healthpoint?: HealthPointProviderSetAttributes;
28
24
  }
29
25
  export interface HicapsProviderSetAttributes {
30
26
  address?: string;
@@ -36,30 +32,22 @@ export interface HicapsProviderSetAttributes {
36
32
  lnglat?: string[];
37
33
  gmapsPlaceId?: string;
38
34
  }
39
- export declare type ParsedProviderSetItem = ProviderSetItem & HealthPointProviderSetItemResponse & {
35
+ export declare type ParsedProviderSetItem = ProviderSetItem & {
40
36
  providerNumberType?: ProviderNumberType | undefined;
41
37
  funder: Funder;
42
38
  practice: Practice;
43
39
  professionalCategory: ProfessionalCategory | undefined;
44
40
  specialties: Specialty[];
45
41
  providerRegistrationType: ProviderRegistrationType | undefined;
42
+ healthpoint?: HealthPointProviderSetAttributes;
46
43
  };
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;
44
+ export interface HealthPointProviderSetAttributes {
45
+ settlement: {
46
+ bankAccount: {
47
+ accountName: string;
48
+ accountNumber: string;
49
+ bankName: string;
50
+ bsb: string;
51
+ };
63
52
  };
64
53
  }
65
- export {};
@@ -0,0 +1,23 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -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-bd374256.js');
17
+ var request = require('../staff-451ec207.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-bd374256.js');
17
+ var request = require('../staff-451ec207.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-bd374256.js');
17
+ var request = require('../staff-451ec207.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-bd374256.js');
17
+ var request = require('../staff-451ec207.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.59.1-feature-healthpoint-registration-application-endpoints.0",
3
+ "version": "11.60.1-feature-add-new-text-area-component.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.5-feature-healthpoint-registration-application-endpoints.0",
49
+ "@medipass/utils": "^11.77.4",
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": "c6ba67e6ecbf01944bfd1ba6089f36692716921a"
61
+ "gitHead": "628da6e9249f3f544e4baffd3a2a530599a221a9"
62
62
  }