@medipass/web-sdk 11.49.4-feature-healthpoint-upload-endpoints.8 → 11.49.4-feature-tailwind-migration-heading-component.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 (107) hide show
  1. package/CHANGELOG.md +54 -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.d.ts +1 -35
  9. package/lib/resources/attachments.js +1 -7
  10. package/lib/resources/auth.js +1 -1
  11. package/lib/resources/blacklist.js +1 -1
  12. package/lib/resources/bulk-submits.js +1 -1
  13. package/lib/resources/bulk-uploads.js +1 -1
  14. package/lib/resources/business-profiles.js +1 -1
  15. package/lib/resources/businesses.d.ts +15 -0
  16. package/lib/resources/businesses.js +3 -1
  17. package/lib/resources/claim-items.js +1 -1
  18. package/lib/resources/devices.js +1 -1
  19. package/lib/resources/doc-accounts.js +1 -1
  20. package/lib/resources/documents.js +1 -1
  21. package/lib/resources/emails.js +1 -1
  22. package/lib/resources/filter-options.js +1 -1
  23. package/lib/resources/form-application-templates.js +1 -1
  24. package/lib/resources/form-applications.js +1 -1
  25. package/lib/resources/forms.js +1 -1
  26. package/lib/resources/funder-services.js +1 -1
  27. package/lib/resources/funder-settings.js +1 -1
  28. package/lib/resources/funder-values.js +1 -1
  29. package/lib/resources/funders.js +1 -1
  30. package/lib/resources/futures.js +1 -1
  31. package/lib/resources/health-fund-accounts.js +1 -1
  32. package/lib/resources/health-fund-settings.js +1 -1
  33. package/lib/resources/healthfunds.js +1 -1
  34. package/lib/resources/icditems.js +1 -1
  35. package/lib/resources/invoice-scans.js +1 -1
  36. package/lib/resources/jhcs.js +1 -1
  37. package/lib/resources/kyc.js +1 -1
  38. package/lib/resources/logs.js +1 -1
  39. package/lib/resources/members.js +1 -1
  40. package/lib/resources/message-mappings.js +1 -1
  41. package/lib/resources/minions.js +1 -1
  42. package/lib/resources/modalities.js +1 -1
  43. package/lib/resources/notes.js +1 -1
  44. package/lib/resources/onboarding-applications.js +1 -1
  45. package/lib/resources/onboarding-requests.js +1 -1
  46. package/lib/resources/ops.js +1 -1
  47. package/lib/resources/organisations.js +1 -1
  48. package/lib/resources/partners.js +1 -1
  49. package/lib/resources/patients.js +1 -1
  50. package/lib/resources/payments.js +1 -1
  51. package/lib/resources/pms.js +1 -1
  52. package/lib/resources/practice-profiles.js +1 -1
  53. package/lib/resources/practice-types.js +1 -1
  54. package/lib/resources/practices.js +1 -1
  55. package/lib/resources/products.js +1 -1
  56. package/lib/resources/professional-categories.d.ts +4 -4
  57. package/lib/resources/professional-categories.js +1 -1
  58. package/lib/resources/provider-number-types.js +1 -1
  59. package/lib/resources/provider-registration-types.js +1 -1
  60. package/lib/resources/provider-requests.js +1 -1
  61. package/lib/resources/provider-types.js +1 -1
  62. package/lib/resources/ref-sources.js +1 -1
  63. package/lib/resources/risk.js +1 -1
  64. package/lib/resources/rnas.js +1 -1
  65. package/lib/resources/roles.js +1 -1
  66. package/lib/resources/self-checkout-sessions.js +1 -1
  67. package/lib/resources/services.js +1 -1
  68. package/lib/resources/settlements.js +1 -1
  69. package/lib/resources/sign-up.js +1 -1
  70. package/lib/resources/specialties.d.ts +4 -4
  71. package/lib/resources/specialties.js +1 -1
  72. package/lib/resources/staff-profiles.js +1 -1
  73. package/lib/resources/staff.js +1 -1
  74. package/lib/resources/statistics.js +1 -1
  75. package/lib/resources/subscriptions.js +1 -1
  76. package/lib/resources/terminals.js +1 -1
  77. package/lib/resources/transaction-export.js +1 -1
  78. package/lib/resources/transactions.js +1 -1
  79. package/lib/resources/triggers.js +1 -1
  80. package/lib/resources/vendors.js +1 -1
  81. package/lib/resources/verify.js +1 -1
  82. package/lib/resources/workers.js +1 -1
  83. package/lib/resources/workflow-exceptions.js +1 -1
  84. package/lib/services/aws.d.ts +0 -10
  85. package/lib/services/aws.js +1 -2
  86. package/lib/services/version.js +1 -1
  87. package/lib/{staff-5e39f044.js → staff-75ea1b6f.js} +108 -236
  88. package/lib/types/funder.d.ts +1 -1
  89. package/lib/types/index.d.ts +3 -7
  90. package/lib/types/professional-category.d.ts +10 -0
  91. package/lib/types/provider-registration.d.ts +6 -12
  92. package/lib/types/provider-set-item.d.ts +8 -19
  93. package/lib/types/specialty.d.ts +11 -0
  94. package/lib/types/staff-member.d.ts +1 -1
  95. package/lib/utils/application.js +1 -1
  96. package/lib/utils/professions.d.ts +4 -4
  97. package/lib/utils/professions.js +1 -1
  98. package/lib/utils/request.js +1 -1
  99. package/lib/utils/staff.d.ts +5 -7
  100. package/lib/utils/staff.js +1 -1
  101. package/package.json +3 -3
  102. package/lib/types/professional-categories.d.ts +0 -21
  103. package/lib/types/professional-categories.js +0 -2
  104. package/lib/types/specialties.d.ts +0 -23
  105. package/lib/types/specialties.js +0 -2
  106. package/lib/types/virus-scan.d.ts +0 -13
  107. package/lib/types/virus-scan.js +0 -2
@@ -1,7 +1,18 @@
1
+ import type { PaginatedQuery } from './index';
1
2
  export interface Specialty {
2
3
  code: string;
3
4
  displayName: string;
4
5
  fullName: string;
5
6
  professionalCategoryId: string;
6
7
  _id: string;
8
+ description: string;
9
+ created: string;
10
+ modified: string;
7
11
  }
12
+ /** START: Requests */
13
+ export declare type GetSpecialtiesQuery = PaginatedQuery & {
14
+ professionalCategoryId?: string;
15
+ searchText?: string;
16
+ specialtyIds?: string;
17
+ };
18
+ /** END: Requests */
@@ -18,7 +18,7 @@ export declare type StaffMember = {
18
18
  created: string;
19
19
  organisationId: string;
20
20
  businessId: string;
21
- providerSet?: ProviderSetItem[];
21
+ providerSet: ProviderSetItem[];
22
22
  providerRegistrations: ProviderRegistration[];
23
23
  refId: string;
24
24
  refSource: string;
@@ -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-5e39f044.js');
17
+ var request = require('../staff-75ea1b6f.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -1,9 +1,9 @@
1
- import type { PaginatedResponse, ProviderRegistrationType, Specialty, ProfessionalCategory, ProviderSetItem, ProviderRegistration } from 'types';
1
+ import type { ProviderSetItem, PaginatedResponse, ProviderRegistrationType, ProfessionalCategory, Specialty, ProviderRegistration } from '../index';
2
2
  export declare type ParseProfessionsResponse = {
3
3
  professionalCategory: ProfessionalCategory | undefined;
4
- specialties: (Specialty | undefined)[];
5
- providerRegistrationType: ProviderRegistrationType;
4
+ specialties: Specialty[];
5
+ providerRegistrationType: ProviderRegistrationType | undefined;
6
6
  }[];
7
- export declare function parseProfessions(registration: ProviderSetItem[] | ProviderRegistration[], { providerRegistrationTypes }?: {
7
+ export declare function parseProfessions(professions: (ProviderSetItem | ProviderRegistration)[], { providerRegistrationTypes }?: {
8
8
  providerRegistrationTypes?: PaginatedResponse<ProviderRegistrationType>;
9
9
  }): Promise<ParseProfessionsResponse>;
@@ -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-5e39f044.js');
17
+ var request = require('../staff-75ea1b6f.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-5e39f044.js');
17
+ var request = require('../staff-75ea1b6f.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -1,12 +1,10 @@
1
+ import type { Funder, PaginatedResponse, ParsedProviderSetItem, ProviderNumberType, ProviderRegistration, ProviderRegistrationType, ProviderSetItem } from '../index';
1
2
  import * as professionsUtils from './professions';
2
- import type { Funder, PaginatedResponse, StaffMember, ProviderRegistrationType, ProviderNumberType, ProviderSetItem, ProviderRegistration, ParsedProviderSetItem, ParsedProviderRegistration } from 'types';
3
- export declare type ParseProviderSetResponse = (ParsedProviderSetItem | ParsedProviderRegistration)[];
4
- export declare function parseProviderSet(providerSet: ProviderSetItem[] | ProviderRegistration[], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType }: {
3
+ export declare function parseProviderSet(providerSet: ProviderSetItem[], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType }: {
5
4
  businessId: string;
6
5
  funders?: Funder[];
7
- providerRegistrationTypes: PaginatedResponse<ProviderRegistrationType>;
6
+ providerRegistrationTypes?: PaginatedResponse<ProviderRegistrationType>;
8
7
  providerNumberTypes?: ProviderNumberType[];
9
8
  parseProviderNumberType?: boolean;
10
- }): Promise<ParseProviderSetResponse>;
11
- export declare type ParseProviderRegistrationResponse = ProviderRegistration[] & professionsUtils.ParseProfessionsResponse;
12
- export declare function parseProviderRegistrations(providerRegistrations: StaffMember['providerRegistrations'], opts?: {}): Promise<ParseProviderRegistrationResponse>;
9
+ }): Promise<ParsedProviderSetItem[]>;
10
+ export declare function parseProviderRegistrations(providerRegistrations: ProviderRegistration[], opts?: {}): Promise<ProviderRegistration[] & professionsUtils.ParseProfessionsResponse>;
@@ -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-5e39f044.js');
17
+ var request = require('../staff-75ea1b6f.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-healthpoint-upload-endpoints.8",
3
+ "version": "11.49.4-feature-tailwind-migration-heading-component.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.2-feature-healthpoint-upload-endpoints.0",
48
+ "@medipass/utils": "^11.75.1-feature-tailwind-migration-heading-component.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": "aee94251c93cddb3080631a8424451858231d0d1"
60
+ "gitHead": "7177aca460333dec1592b911d1877bf359e78a8e"
61
61
  }
@@ -1,21 +0,0 @@
1
- import type { PaginationMeta, PaginatedQuery } from './index';
2
- /** START: Requests */
3
- export declare type GetProfessionalCategoriesQuery = PaginatedQuery & {
4
- searchText?: string;
5
- professionalCategoryIds?: string;
6
- };
7
- /** START: Requests */
8
- /** START: Responses */
9
- export declare type ProfessionalCategoryResponse = {
10
- _id: string;
11
- fullName: string;
12
- displayName: string;
13
- description: string;
14
- created: string;
15
- modified: string;
16
- };
17
- export declare type ProfessionalCategoriesResponse = {
18
- meta: PaginationMeta;
19
- items: Array<ProfessionalCategoryResponse>;
20
- };
21
- /** END: Responses */
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-
@@ -1,23 +0,0 @@
1
- import type { PaginationMeta, PaginatedQuery } from './index';
2
- /** START: Requests */
3
- export declare type GetSpecialtiesQuery = PaginatedQuery & {
4
- professionalCategoryId?: string;
5
- specialtyIds?: string;
6
- searchText?: string;
7
- };
8
- /** START: Requests */
9
- /** START: Responses */
10
- export declare type SpecialtyResponse = {
11
- _id: string;
12
- professionalCategoryId: string;
13
- fullName: string;
14
- displayName: string;
15
- description: string;
16
- created: string;
17
- modified: string;
18
- };
19
- export declare type SpecialtiesResponse = {
20
- meta: PaginationMeta;
21
- items: Array<SpecialtyResponse>;
22
- };
23
- /** END: Responses */
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-
@@ -1,13 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-