@medipass/web-sdk 11.57.4 → 11.57.5-chore-improve-eslint-config.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 (106) hide show
  1. package/lib/index.d.ts +1 -1
  2. package/lib/index.js +1 -1
  3. package/lib/resources/abr.js +1 -1
  4. package/lib/resources/accounts.d.ts +2 -2
  5. package/lib/resources/accounts.js +1 -1
  6. package/lib/resources/actions.js +1 -1
  7. package/lib/resources/api-keys.js +1 -1
  8. package/lib/resources/applications.js +1 -1
  9. package/lib/resources/attachments.js +1 -1
  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.d.ts +2 -2
  15. package/lib/resources/business-profiles.js +1 -1
  16. package/lib/resources/businesses.js +1 -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.d.ts +1 -1
  51. package/lib/resources/payments.js +1 -1
  52. package/lib/resources/pms.js +1 -1
  53. package/lib/resources/practice-profiles.d.ts +2 -2
  54. package/lib/resources/practice-profiles.js +1 -1
  55. package/lib/resources/practice-types.js +1 -1
  56. package/lib/resources/practices.js +1 -1
  57. package/lib/resources/products.js +1 -1
  58. package/lib/resources/professional-categories.js +1 -1
  59. package/lib/resources/provider-number-types.js +1 -1
  60. package/lib/resources/provider-registration-types.js +1 -1
  61. package/lib/resources/provider-requests.js +1 -1
  62. package/lib/resources/provider-types.js +1 -1
  63. package/lib/resources/ref-sources.js +1 -1
  64. package/lib/resources/risk.js +1 -1
  65. package/lib/resources/rnas.js +1 -1
  66. package/lib/resources/roles.js +1 -1
  67. package/lib/resources/self-checkout-sessions.d.ts +1 -1
  68. package/lib/resources/self-checkout-sessions.js +1 -1
  69. package/lib/resources/services.js +1 -1
  70. package/lib/resources/settlements.js +1 -1
  71. package/lib/resources/sign-up.js +1 -1
  72. package/lib/resources/specialties.js +1 -1
  73. package/lib/resources/staff-profiles.d.ts +2 -2
  74. package/lib/resources/staff-profiles.js +1 -1
  75. package/lib/resources/staff.js +1 -1
  76. package/lib/resources/statistics.js +1 -1
  77. package/lib/resources/subscriptions.js +1 -1
  78. package/lib/resources/terminals.js +1 -1
  79. package/lib/resources/transaction-export.js +1 -1
  80. package/lib/resources/transactions.js +1 -1
  81. package/lib/resources/triggers.js +1 -1
  82. package/lib/resources/vendors.js +1 -1
  83. package/lib/resources/verify.js +1 -1
  84. package/lib/resources/workers.js +1 -1
  85. package/lib/resources/workflow-exceptions.js +1 -1
  86. package/lib/services/aws.js +1 -1
  87. package/lib/services/storage.d.ts +2 -2
  88. package/lib/services/version.js +1 -1
  89. package/lib/{staff-93abcae5.js → staff-9b3d1a2b.js} +3 -1
  90. package/lib/types/business.d.ts +14 -14
  91. package/lib/types/documents.d.ts +14 -14
  92. package/lib/types/forms.d.ts +8 -8
  93. package/lib/types/funder.d.ts +2 -2
  94. package/lib/types/index.d.ts +8 -8
  95. package/lib/types/message-mappings.d.ts +2 -2
  96. package/lib/types/notes.d.ts +2 -2
  97. package/lib/types/practice.d.ts +16 -16
  98. package/lib/types/products.d.ts +4 -4
  99. package/lib/types/staff-member.d.ts +8 -8
  100. package/lib/types/subscriptions.d.ts +8 -8
  101. package/lib/utils/application.js +1 -1
  102. package/lib/utils/professions.js +1 -1
  103. package/lib/utils/request.js +1 -1
  104. package/lib/utils/staff.d.ts +1 -1
  105. package/lib/utils/staff.js +1 -1
  106. package/package.json +3 -3
@@ -38,7 +38,7 @@ export interface Practice {
38
38
  locationId: string;
39
39
  _links: PracticeLinks;
40
40
  }
41
- export declare type ShortPracticeResponse = {
41
+ export interface ShortPracticeResponse {
42
42
  tz: string;
43
43
  _id: string;
44
44
  fullName: string;
@@ -57,40 +57,40 @@ export declare type ShortPracticeResponse = {
57
57
  streetNumber: string;
58
58
  route: string;
59
59
  mobileE164: string;
60
- };
61
- declare type PracticeSettings = {
60
+ }
61
+ interface PracticeSettings {
62
62
  appointments: Record<string, any>;
63
63
  directory: PracticeSettingsDirectory;
64
64
  quotes: PracticeSettingsQuotes;
65
- };
66
- declare type PracticeSettingsDirectory = {
65
+ }
66
+ interface PracticeSettingsDirectory {
67
67
  searchEnabled: boolean;
68
- };
69
- declare type PracticeSettingsQuotes = {
68
+ }
69
+ interface PracticeSettingsQuotes {
70
70
  memberRequestQuotesEnabled: boolean;
71
- };
72
- declare type PracticeBillingAddress = {
71
+ }
72
+ interface PracticeBillingAddress {
73
73
  address: string;
74
74
  addressLine2?: string;
75
75
  city: string;
76
76
  postcode: string;
77
77
  state: string;
78
- };
79
- declare type PracticeBankAccount = {
78
+ }
79
+ interface PracticeBankAccount {
80
80
  accountName: string;
81
81
  accountNumber: string;
82
82
  bankName: string;
83
83
  bsb: string;
84
- };
85
- declare type PracticeLinks = {
84
+ }
85
+ interface PracticeLinks {
86
86
  self: Links;
87
87
  services: Links;
88
88
  staff: Links;
89
89
  tranasctions: Links;
90
- };
91
- declare type Links = {
90
+ }
91
+ interface Links {
92
92
  read?: string;
93
93
  update?: string;
94
94
  delete?: string;
95
- };
95
+ }
96
96
  export {};
@@ -3,7 +3,7 @@ import type { PaginationMeta, PaginatedQuery } from './index';
3
3
  export declare type GetBusinessProductsQuery = PaginatedQuery;
4
4
  /** START: Requests */
5
5
  /** START: Responses */
6
- export declare type ProductResponse = {
6
+ export interface ProductResponse {
7
7
  _id: string;
8
8
  organisationId: string;
9
9
  fullName: string;
@@ -26,9 +26,9 @@ export declare type ProductResponse = {
26
26
  phasedOut: string;
27
27
  created: string;
28
28
  modified: string;
29
- };
30
- export declare type ProductsResponse = {
29
+ }
30
+ export interface ProductsResponse {
31
31
  meta: PaginationMeta;
32
32
  items: Array<ProductResponse>;
33
- };
33
+ }
34
34
  /** END: Responses */
@@ -1,10 +1,10 @@
1
1
  import type { ProviderSetItem } from './provider-set-item';
2
2
  import type { ProviderRegistration } from './provider-registration';
3
- export declare type HealthFundOverride = {
3
+ export interface HealthFundOverride {
4
4
  healthFundId: string;
5
5
  providerNumber: string;
6
- };
7
- export declare type StaffMember = {
6
+ }
7
+ export interface StaffMember {
8
8
  serviceIds: string[];
9
9
  practiceIds: string[];
10
10
  worksAtPracticeIds: string[];
@@ -28,8 +28,8 @@ export declare type StaffMember = {
28
28
  landline: string;
29
29
  mobile: string;
30
30
  _links: StaffLinks;
31
- };
32
- declare type StaffLinks = {
31
+ }
32
+ interface StaffLinks {
33
33
  self: Links;
34
34
  practices: Links;
35
35
  services: Links;
@@ -38,13 +38,13 @@ declare type StaffLinks = {
38
38
  documents: Links;
39
39
  subscriptions: Links;
40
40
  paymentMethods: Links;
41
- };
42
- declare type Links = {
41
+ }
42
+ interface Links {
43
43
  read?: string;
44
44
  update?: string;
45
45
  delete?: string;
46
46
  updatePhoto?: string;
47
47
  deleteEmail?: string;
48
48
  changeEmail?: string;
49
- };
49
+ }
50
50
  export {};
@@ -1,20 +1,20 @@
1
1
  import type { PaginationMeta, PaginatedQuery } from './index';
2
2
  /** START: Requests */
3
- export declare type CreateBusinessSubscriptionBody = {
3
+ export interface CreateBusinessSubscriptionBody {
4
4
  productId: string;
5
5
  paymentMethodId: string;
6
- };
7
- export declare type UpdateBusinessSubscriptionBody = {
6
+ }
7
+ export interface UpdateBusinessSubscriptionBody {
8
8
  paymentMethodId?: string;
9
9
  promotionCode?: string;
10
- };
10
+ }
11
11
  export declare type GetBusinessSubscriptionsQuery = PaginatedQuery & {
12
12
  excludeEnded?: boolean;
13
13
  excludeUpcoming?: boolean;
14
14
  };
15
15
  /** START: Requests */
16
16
  /** START: Responses */
17
- export declare type SubscriptionResponse = {
17
+ export interface SubscriptionResponse {
18
18
  _id: string;
19
19
  organisationId: string;
20
20
  businessId: string;
@@ -54,9 +54,9 @@ export declare type SubscriptionResponse = {
54
54
  };
55
55
  created: string;
56
56
  modified: string;
57
- };
58
- export declare type SubscriptionsResponse = {
57
+ }
58
+ export interface SubscriptionsResponse {
59
59
  meta: PaginationMeta;
60
60
  items: Array<SubscriptionResponse>;
61
- };
61
+ }
62
62
  /** END: Responses */
@@ -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-93abcae5.js');
17
+ var request = require('../staff-9b3d1a2b.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-93abcae5.js');
17
+ var request = require('../staff-9b3d1a2b.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-93abcae5.js');
17
+ var request = require('../staff-9b3d1a2b.js');
18
18
  require('@babel/runtime/helpers/inheritsLoose');
19
19
  require('@babel/runtime/helpers/wrapNativeSuper');
20
20
  require('./param-error.js');
@@ -1,6 +1,6 @@
1
1
  import type { Funder, PaginatedResponse, ParsedProviderSetItem, ProviderNumberType, ProviderRegistration, ProviderRegistrationType, ProviderSetItem } from '../index';
2
2
  import * as professionsUtils from './professions';
3
- export declare function parseProviderSet(providerSet: ProviderSetItem[], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType }: {
3
+ export declare function parseProviderSet(providerSet: ProviderSetItem[], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType, }: {
4
4
  businessId: string;
5
5
  funders?: Funder[];
6
6
  providerRegistrationTypes?: PaginatedResponse<ProviderRegistrationType>;
@@ -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-93abcae5.js');
17
+ var request = require('../staff-9b3d1a2b.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.57.4",
3
+ "version": "11.57.5-chore-improve-eslint-config.1",
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-chore-improve-eslint-config.1",
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": "e57bea49359a0443e168212049ee71588cfdb64a"
61
+ "gitHead": "087ccd8334735bda7ca893323d49e028063858c5"
62
62
  }