@medipass/web-sdk 11.49.4-feature-tailwind-migration-heading-component.0 → 11.49.4-feature-healthpoint-upload-endpoints.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 (111) 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.d.ts +35 -1
  8. package/lib/resources/attachments.js +7 -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.js +1 -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.js +1 -1
  66. package/lib/resources/sign-up.js +1 -1
  67. package/lib/resources/specialties.js +1 -1
  68. package/lib/resources/staff-profiles.js +1 -1
  69. package/lib/resources/staff.js +1 -1
  70. package/lib/resources/statistics.js +1 -1
  71. package/lib/resources/subscriptions.js +1 -1
  72. package/lib/resources/terminals.js +1 -1
  73. package/lib/resources/transaction-export.js +1 -1
  74. package/lib/resources/transactions.js +1 -1
  75. package/lib/resources/triggers.js +1 -1
  76. package/lib/resources/vendors.js +1 -1
  77. package/lib/resources/verify.js +1 -1
  78. package/lib/resources/workers.js +1 -1
  79. package/lib/resources/workflow-exceptions.js +1 -1
  80. package/lib/services/aws.d.ts +10 -0
  81. package/lib/services/aws.js +2 -1
  82. package/lib/services/version.js +1 -1
  83. package/lib/{staff-97eddb5e.js → staff-76b1e016.js} +218 -31
  84. package/lib/types/funder.d.ts +10 -0
  85. package/lib/types/funder.js +2 -0
  86. package/lib/types/index.d.ts +12 -2
  87. package/lib/types/practice.d.ts +96 -0
  88. package/lib/types/practice.js +2 -0
  89. package/lib/types/professional-category.d.ts +6 -0
  90. package/lib/types/professional-category.js +2 -0
  91. package/lib/types/provider-number-type.d.ts +11 -0
  92. package/lib/types/provider-number-type.js +2 -0
  93. package/lib/types/provider-registration-type.d.ts +9 -0
  94. package/lib/types/provider-registration-type.js +2 -0
  95. package/lib/types/provider-registration.d.ts +6 -0
  96. package/lib/types/provider-registration.js +2 -0
  97. package/lib/types/provider-set-item.d.ts +53 -0
  98. package/lib/types/provider-set-item.js +2 -0
  99. package/lib/types/specialty.d.ts +7 -0
  100. package/lib/types/specialty.js +2 -0
  101. package/lib/types/staff-member.d.ts +50 -0
  102. package/lib/types/staff-member.js +2 -0
  103. package/lib/types/virus-scan.d.ts +13 -0
  104. package/lib/types/virus-scan.js +2 -0
  105. package/lib/utils/application.js +1 -1
  106. package/lib/utils/professions.d.ts +8 -3
  107. package/lib/utils/professions.js +1 -1
  108. package/lib/utils/request.js +1 -1
  109. package/lib/utils/staff.d.ts +42 -8
  110. package/lib/utils/staff.js +1 -1
  111. package/package.json +3 -3
@@ -0,0 +1,50 @@
1
+ import type { ProviderSetItem } from './provider-set-item';
2
+ import type { ProviderRegistration } from './provider-registration';
3
+ export declare type HealthFundOverride = {
4
+ healthFundId: string;
5
+ providerNumber: string;
6
+ };
7
+ export declare type StaffMember = {
8
+ serviceIds: string[];
9
+ practiceIds: string[];
10
+ worksAtPracticeIds: string[];
11
+ status: string;
12
+ _id: string;
13
+ firstName: string;
14
+ lastName: string;
15
+ email: string;
16
+ isProvider: boolean;
17
+ modified: string;
18
+ created: string;
19
+ organisationId: string;
20
+ businessId: string;
21
+ providerSet?: ProviderSetItem[];
22
+ providerRegistrations: ProviderRegistration[];
23
+ refId: string;
24
+ refSource: string;
25
+ hasAccount: boolean;
26
+ staffType: 'person';
27
+ description: string;
28
+ landline: string;
29
+ mobile: string;
30
+ _links: StaffLinks;
31
+ };
32
+ declare type StaffLinks = {
33
+ self: Links;
34
+ practices: Links;
35
+ services: Links;
36
+ staff: Links;
37
+ tranasctions: Links;
38
+ documents: Links;
39
+ subscriptions: Links;
40
+ paymentMethods: Links;
41
+ };
42
+ declare type Links = {
43
+ read?: string;
44
+ update?: string;
45
+ delete?: string;
46
+ updatePhoto?: string;
47
+ deleteEmail?: string;
48
+ changeEmail?: string;
49
+ };
50
+ export {};
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,13 @@
1
+ export interface VirusScan {
2
+ _id: string;
3
+ accountId: string;
4
+ healthFundId: string;
5
+ businessId: string;
6
+ s3Bucket: string;
7
+ s3Key: string;
8
+ antiVirusStatus: string;
9
+ antiVirusTimestamp: string;
10
+ viruses: string[];
11
+ created: string;
12
+ modified: string;
13
+ }
@@ -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-97eddb5e.js');
17
+ var request = require('../staff-76b1e016.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -1,3 +1,8 @@
1
- export declare function parseProfessions(professions: any, { providerRegistrationTypes }?: {
2
- providerRegistrationTypes: any;
3
- }): Promise<any>;
1
+ import type { PaginatedResponse, StaffMember, ProviderRegistrationType, Specialty, ProfessionalCategory } from 'types';
2
+ export declare function parseProfessions(registration: StaffMember['providerSet'] | StaffMember['providerRegistrations'], { providerRegistrationTypes }?: {
3
+ providerRegistrationTypes?: PaginatedResponse<ProviderRegistrationType>;
4
+ }): Promise<{
5
+ professionalCategory: ProfessionalCategory;
6
+ specialties: Specialty[];
7
+ providerRegistrationType: ProviderRegistrationType;
8
+ }[]>;
@@ -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-97eddb5e.js');
17
+ var request = require('../staff-76b1e016.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-97eddb5e.js');
17
+ var request = require('../staff-76b1e016.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -1,8 +1,42 @@
1
- export declare function parseProviderSet(providerSet: any, { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType }?: {
2
- businessId: any;
3
- funders: any;
4
- providerRegistrationTypes: any;
5
- providerNumberTypes: any;
6
- parseProviderNumberType?: boolean;
7
- }): Promise<any>;
8
- export declare function parseProviderRegistrations(providerRegistrations: any, opts?: {}): Promise<any>;
1
+ import type { Funder, PaginatedResponse, StaffMember, ProviderRegistrationType, ProviderNumberType, Practice, ProviderRegistration } from 'types';
2
+ export declare function parseProviderSet(providerSet: StaffMember['providerSet'] | StaffMember['providerRegistrations'], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType }?: {
3
+ businessId: string;
4
+ funders: Funder[];
5
+ providerRegistrationTypes: PaginatedResponse<ProviderRegistrationType>;
6
+ providerNumberTypes: ProviderNumberType[];
7
+ parseProviderNumberType: boolean;
8
+ }): Promise<({
9
+ providerNumberType: ProviderNumberType;
10
+ practice: Practice;
11
+ funder: Funder;
12
+ professionalCategory: import("types").ProfessionalCategory;
13
+ specialties: import("types").Specialty[];
14
+ providerRegistrationType: ProviderRegistrationType;
15
+ specialtyIds: string[];
16
+ providerRegistrationTypeId: string;
17
+ professionalCategoryId: string;
18
+ providerNumber: string;
19
+ } | {
20
+ providerNumberType: ProviderNumberType;
21
+ practice: Practice;
22
+ funder: Funder;
23
+ professionalCategory: import("types").ProfessionalCategory;
24
+ specialties: import("types").Specialty[];
25
+ providerRegistrationType: ProviderRegistrationType;
26
+ created: string;
27
+ funderId: string;
28
+ healthFundOverrides: string[];
29
+ practiceId: string;
30
+ professionalCategoryId: string;
31
+ providerNumber: string;
32
+ providerNumberTypeId?: string;
33
+ specialtyIds: string[];
34
+ status: string;
35
+ statusHistory: string[];
36
+ _id: string;
37
+ })[]>;
38
+ export declare function parseProviderRegistrations(providerRegistrations: StaffMember['providerRegistrations'], opts?: {}): Promise<ProviderRegistration[] & {
39
+ professionalCategory: import("types").ProfessionalCategory;
40
+ specialties: import("types").Specialty[];
41
+ providerRegistrationType: ProviderRegistrationType;
42
+ }[]>;
@@ -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-97eddb5e.js');
17
+ var request = require('../staff-76b1e016.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.49.4-feature-tailwind-migration-heading-component.0",
3
+ "version": "11.49.4-feature-healthpoint-upload-endpoints.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@babel/plugin-transform-runtime": "7.8.3",
48
- "@medipass/utils": "^11.74.1",
48
+ "@medipass/utils": "^11.74.2-feature-healthpoint-upload-endpoints.0",
49
49
  "@types/jest": "28.1.6",
50
50
  "@types/mocha": "9.1.1",
51
51
  "@types/node": "18.7.1",
@@ -57,5 +57,5 @@
57
57
  "resolutions": {
58
58
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
59
59
  },
60
- "gitHead": "61ac4a4708d674f43fedfc6a0c803e5fcaa38a56"
60
+ "gitHead": "65dc3b9dd0675429a6deded7512a0d66a3479efe"
61
61
  }