@medipass/web-sdk 11.49.4-feature-healthpoint-upload-endpoints.3 → 11.49.4-feature-healthpoint-upload-endpoints.4

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 (98) hide show
  1. package/lib/index.d.ts +8 -8
  2. package/lib/index.js +2 -2
  3. package/lib/{regions-0da90c43.js → regions-5bf75df6.js} +2 -1
  4. package/lib/resources/abr.js +2 -2
  5. package/lib/resources/accounts.js +2 -2
  6. package/lib/resources/actions.js +2 -2
  7. package/lib/resources/api-keys.js +2 -2
  8. package/lib/resources/applications.js +2 -2
  9. package/lib/resources/attachments.js +2 -2
  10. package/lib/resources/auth.js +2 -2
  11. package/lib/resources/blacklist.js +2 -2
  12. package/lib/resources/bulk-submits.js +2 -2
  13. package/lib/resources/bulk-uploads.js +2 -2
  14. package/lib/resources/business-profiles.js +2 -2
  15. package/lib/resources/businesses.js +2 -2
  16. package/lib/resources/claim-items.js +2 -2
  17. package/lib/resources/devices.js +2 -2
  18. package/lib/resources/doc-accounts.js +2 -2
  19. package/lib/resources/documents.js +2 -2
  20. package/lib/resources/emails.js +2 -2
  21. package/lib/resources/filter-options.js +2 -2
  22. package/lib/resources/form-application-templates.js +2 -2
  23. package/lib/resources/form-applications.js +2 -2
  24. package/lib/resources/forms.js +2 -2
  25. package/lib/resources/funder-services.js +2 -2
  26. package/lib/resources/funder-settings.js +2 -2
  27. package/lib/resources/funder-values.js +2 -2
  28. package/lib/resources/funders.js +2 -2
  29. package/lib/resources/futures.js +2 -2
  30. package/lib/resources/health-fund-accounts.js +2 -2
  31. package/lib/resources/health-fund-settings.js +2 -2
  32. package/lib/resources/healthfunds.js +2 -2
  33. package/lib/resources/icditems.js +2 -2
  34. package/lib/resources/invoice-scans.js +2 -2
  35. package/lib/resources/jhcs.js +2 -2
  36. package/lib/resources/kyc.js +2 -2
  37. package/lib/resources/logs.js +2 -2
  38. package/lib/resources/members.js +2 -2
  39. package/lib/resources/message-mappings.js +2 -2
  40. package/lib/resources/minions.js +2 -2
  41. package/lib/resources/modalities.js +2 -2
  42. package/lib/resources/notes.js +2 -2
  43. package/lib/resources/onboarding-applications.js +2 -2
  44. package/lib/resources/onboarding-requests.js +2 -2
  45. package/lib/resources/ops.js +2 -2
  46. package/lib/resources/organisations.js +2 -2
  47. package/lib/resources/partners.js +2 -2
  48. package/lib/resources/patients.js +2 -2
  49. package/lib/resources/payments.d.ts +1 -1
  50. package/lib/resources/payments.js +2 -2
  51. package/lib/resources/pms.js +2 -2
  52. package/lib/resources/practice-profiles.js +2 -2
  53. package/lib/resources/practice-types.js +2 -2
  54. package/lib/resources/practices.js +2 -2
  55. package/lib/resources/products.js +2 -2
  56. package/lib/resources/professional-categories.js +2 -2
  57. package/lib/resources/provider-number-types.js +2 -2
  58. package/lib/resources/provider-registration-types.js +2 -2
  59. package/lib/resources/provider-requests.js +2 -2
  60. package/lib/resources/provider-types.js +2 -2
  61. package/lib/resources/ref-sources.js +2 -2
  62. package/lib/resources/risk.js +2 -2
  63. package/lib/resources/rnas.js +2 -2
  64. package/lib/resources/roles.js +2 -2
  65. package/lib/resources/self-checkout-sessions.d.ts +3 -3
  66. package/lib/resources/self-checkout-sessions.js +2 -2
  67. package/lib/resources/services.js +2 -2
  68. package/lib/resources/settlements.js +2 -2
  69. package/lib/resources/sign-up.js +2 -2
  70. package/lib/resources/specialties.js +2 -2
  71. package/lib/resources/staff-profiles.js +2 -2
  72. package/lib/resources/staff.js +2 -2
  73. package/lib/resources/statistics.js +2 -2
  74. package/lib/resources/subscriptions.js +2 -2
  75. package/lib/resources/terminals.js +2 -2
  76. package/lib/resources/transaction-export.js +2 -2
  77. package/lib/resources/transactions.js +2 -2
  78. package/lib/resources/triggers.js +2 -2
  79. package/lib/resources/vendors.js +2 -2
  80. package/lib/resources/verify.js +2 -2
  81. package/lib/resources/workers.js +2 -2
  82. package/lib/resources/workflow-exceptions.js +2 -2
  83. package/lib/services/aws.js +2 -2
  84. package/lib/services/storage.js +9 -1
  85. package/lib/services/version.js +2 -2
  86. package/lib/{staff-1620f06c.js → staff-85bee763.js} +347 -179
  87. package/lib/types/provider-registration.d.ts +4 -4
  88. package/lib/types/provider-set-item.d.ts +5 -5
  89. package/lib/utils/application.js +2 -2
  90. package/lib/utils/does-param-exist.d.ts +1 -1
  91. package/lib/utils/professions.d.ts +3 -3
  92. package/lib/utils/professions.js +2 -2
  93. package/lib/utils/regions.js +1 -1
  94. package/lib/utils/request.js +2 -2
  95. package/lib/utils/staff.d.ts +2 -2
  96. package/lib/utils/staff.js +2 -2
  97. package/package.json +2 -2
  98. package/tsconfig.json +2 -1
@@ -31,7 +31,7 @@ var funders$1 = require('@medipass/utils/funders');
31
31
  var compareVersions = _interopDefault(require('compare-versions'));
32
32
  var index = require('./utils/base-urls/index.js');
33
33
  var _flatten = _interopDefault(require('lodash/flatten'));
34
- var regions = require('./regions-0da90c43.js');
34
+ var regions = require('./regions-5bf75df6.js');
35
35
 
36
36
  var staffUtils = /*#__PURE__*/Object.freeze({
37
37
  __proto__: null,
@@ -78,8 +78,10 @@ var request = /*#__PURE__*/function () {
78
78
  case 11:
79
79
  _context.prev = 11;
80
80
  _context.t0 = _context["catch"](4);
81
+ // @ts-expect-error TS(2345): Argument of type 'unknown' is not assignable to pa... Remove this comment to see the full error message
81
82
  axiosError = medipassRequestOpts.getFullError ? _context.t0 : getAxiosError.default(_context.t0);
82
- skipErrorLogging = (medipassRequestOpts == null ? void 0 : (_medipassRequestOpts$ = medipassRequestOpts.skipErrorLoggingCodes) == null ? void 0 : _medipassRequestOpts$.length) > 0 && (medipassRequestOpts == null ? void 0 : (_medipassRequestOpts$2 = medipassRequestOpts.skipErrorLoggingCodes) == null ? void 0 : _medipassRequestOpts$2.includes(axiosError == null ? void 0 : axiosError.status));
83
+ skipErrorLogging = // @ts-expect-error TS(2532): Object is possibly 'undefined'.
84
+ (medipassRequestOpts == null ? void 0 : (_medipassRequestOpts$ = medipassRequestOpts.skipErrorLoggingCodes) == null ? void 0 : _medipassRequestOpts$.length) > 0 && (medipassRequestOpts == null ? void 0 : (_medipassRequestOpts$2 = medipassRequestOpts.skipErrorLoggingCodes) == null ? void 0 : _medipassRequestOpts$2.includes(axiosError == null ? void 0 : axiosError.status));
83
85
 
84
86
  if (!skipErrorLogging) {
85
87
  sentry.logError(_context.t0, {
@@ -153,7 +155,7 @@ var abr = /*#__PURE__*/Object.freeze({
153
155
  function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
154
156
 
155
157
  function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
156
- var PATH__ACCOUNTS = '/accounts';
158
+ var PATH__ACCOUNTS = '/accounts'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
157
159
 
158
160
  var pathAccountsByAccountId = function pathAccountsByAccountId(accountId) {
159
161
  return "/accounts/" + accountId;
@@ -161,23 +163,28 @@ var pathAccountsByAccountId = function pathAccountsByAccountId(accountId) {
161
163
 
162
164
  var pathAccountExists = function pathAccountExists() {
163
165
  return "/accounts/exists";
164
- };
166
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
167
+
165
168
 
166
169
  var pathAccountRolesByAccountId = function pathAccountRolesByAccountId(accountId) {
167
170
  return "/accounts/" + accountId + "/roles";
168
- };
171
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
172
+
169
173
 
170
174
  var pathAccountSecretKeysByAccountId = function pathAccountSecretKeysByAccountId(accountId) {
171
175
  return "/accounts/" + accountId + "/secretkeys";
172
- };
176
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
177
+
173
178
 
174
179
  var pathAccountSecretKey = function pathAccountSecretKey(accountId, secretKey) {
175
180
  return "/accounts/" + accountId + "/secretkeys/" + secretKey;
176
- };
181
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
182
+
177
183
 
178
184
  var pathAccountTransactions = function pathAccountTransactions(accountId) {
179
185
  return "/accounts/" + accountId + "/transactions";
180
- };
186
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
187
+
181
188
 
182
189
  var pathBusinessStaffAccount = function pathBusinessStaffAccount(businessId, staffId) {
183
190
  return "/businesses/" + businessId + "/staff/" + staffId + "/account";
@@ -185,31 +192,38 @@ var pathBusinessStaffAccount = function pathBusinessStaffAccount(businessId, sta
185
192
 
186
193
  var pathChangePassword = function pathChangePassword() {
187
194
  return "/accounts/changepassword";
188
- };
195
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
196
+
189
197
 
190
198
  var pathEnableAccount = function pathEnableAccount(accountId) {
191
199
  return "/accounts/" + accountId + "/enable";
192
- };
200
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
201
+
193
202
 
194
203
  var pathDisableAccount = function pathDisableAccount(accountId) {
195
204
  return "/accounts/" + accountId + "/disable";
196
- };
205
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
206
+
197
207
 
198
208
  var pathRequestVerifyAccount = function pathRequestVerifyAccount(accountId) {
199
209
  return "/accounts/" + accountId + "/verify/request";
200
- };
210
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
211
+
201
212
 
202
213
  var pathHealthFundAccounts = function pathHealthFundAccounts(healthFundId) {
203
214
  return "/healthfunds/" + healthFundId + "/accounts";
204
- };
215
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
216
+
205
217
 
206
218
  var pathHealthFundAccount = function pathHealthFundAccount(healthFundId, accountId) {
207
219
  return "/healthfunds/" + healthFundId + "/accounts/" + accountId;
208
- };
220
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
221
+
209
222
 
210
223
  var pathOrganisationAccounts = function pathOrganisationAccounts(organisationId) {
211
224
  return "/organisations/" + organisationId + "/accounts";
212
- };
225
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
226
+
213
227
 
214
228
  var pathAccountPractices = function pathAccountPractices(accountId) {
215
229
  return "/accounts/" + accountId + "/practices";
@@ -1550,7 +1564,7 @@ var accounts = /*#__PURE__*/Object.freeze({
1550
1564
  function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1551
1565
 
1552
1566
  function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1553
- var PATH__ACTIONS = '/actions';
1567
+ var PATH__ACTIONS = '/actions'; // @ts-expect-error TS(7006): Parameter 'actionId' implicitly has an 'any' type.
1554
1568
 
1555
1569
  var pathAction = function pathAction(actionId) {
1556
1570
  return PATH__ACTIONS + "/" + actionId;
@@ -1962,27 +1976,32 @@ function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if
1962
1976
 
1963
1977
  function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1964
1978
  var PATH__MEMBERS = '/members';
1965
- var PATH__DISCOVER_MEMBERS = '/discovery/members';
1979
+ var PATH__DISCOVER_MEMBERS = '/discovery/members'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
1966
1980
 
1967
1981
  var pathAccountMembers = function pathAccountMembers(accountId) {
1968
1982
  return "/accounts/" + accountId + "/members";
1969
- };
1983
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
1984
+
1970
1985
 
1971
1986
  var pathBusinessMember = function pathBusinessMember(businessId, memberId) {
1972
1987
  return "/businesses/" + businessId + "/members/" + memberId;
1973
- };
1988
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
1989
+
1974
1990
 
1975
1991
  var pathBusinessMembers = function pathBusinessMembers(businessId) {
1976
1992
  return "/businesses/" + businessId + "/members";
1977
- };
1993
+ }; // @ts-expect-error TS(7006): Parameter 'memberId' implicitly has an 'any' type.
1994
+
1978
1995
 
1979
1996
  var pathMember = function pathMember(memberId) {
1980
1997
  return "/members/" + memberId;
1981
- };
1998
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
1999
+
1982
2000
 
1983
2001
  var pathMembersForHealthFund = function pathMembersForHealthFund(healthFundId) {
1984
2002
  return "/healthfunds/" + healthFundId + "/members";
1985
- };
2003
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
2004
+
1986
2005
 
1987
2006
  var pathHealthFundMemberByMemberId = function pathHealthFundMemberByMemberId(healthFundId, memberId) {
1988
2007
  return "/healthfunds/" + healthFundId + "/members/" + memberId;
@@ -2562,7 +2581,8 @@ function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if
2562
2581
 
2563
2582
  function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$7(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2564
2583
  var PATH__DEVICES = '/devices';
2565
- var isRegistering = false;
2584
+ var isRegistering = false; // @ts-expect-error TS(7006): Parameter 'deviceId' implicitly has an 'any' type.
2585
+
2566
2586
  var pathDeviceByDeviceId = function pathDeviceByDeviceId(deviceId) {
2567
2587
  return "/devices/" + deviceId;
2568
2588
  };
@@ -2743,7 +2763,8 @@ function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if
2743
2763
  function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2744
2764
  var PATH__AUTH = '/auth';
2745
2765
  var PATH__OTK = '/otk';
2746
- var PATH__AUTH_TOKEN = '/auth/token';
2766
+ var PATH__AUTH_TOKEN = '/auth/token'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
2767
+
2747
2768
  var pathImpersonateAccount = function pathImpersonateAccount(accountId) {
2748
2769
  return "/auth/impersonate/" + accountId;
2749
2770
  };
@@ -3261,7 +3282,7 @@ function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if
3261
3282
 
3262
3283
  function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3263
3284
  var PATH__APPLICATIONS = '/applications';
3264
- var PATH__SELF_APPLICATION = '/applications/me';
3285
+ var PATH__SELF_APPLICATION = '/applications/me'; // @ts-expect-error TS(7006): Parameter 'applicationId' implicitly has an 'any' ... Remove this comment to see the full error message
3265
3286
 
3266
3287
  var pathApplication = function pathApplication(applicationId) {
3267
3288
  return "/applications/" + applicationId;
@@ -3718,68 +3739,83 @@ function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if
3718
3739
 
3719
3740
  function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3720
3741
  var PATH__BUSINESSES = '/businesses';
3721
- var PATH__MY_BUSINESSES = '/businesses/me';
3742
+ var PATH__MY_BUSINESSES = '/businesses/me'; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3722
3743
 
3723
3744
  var pathBusiness = function pathBusiness(businessId) {
3724
3745
  return "/businesses/" + businessId;
3725
- };
3746
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
3747
+
3726
3748
 
3727
3749
  var pathAccountsBusinesses = function pathAccountsBusinesses(accountId) {
3728
3750
  return "/accounts/" + accountId + "/businesses";
3729
- };
3751
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3752
+
3730
3753
 
3731
3754
  var pathBusinessOnboardingQuestions = function pathBusinessOnboardingQuestions(businessId) {
3732
3755
  return "/businesses/" + businessId + "/onboarding/emailquestions";
3733
- };
3756
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3757
+
3734
3758
 
3735
3759
  var pathBusinessSendEmails = function pathBusinessSendEmails(businessId) {
3736
3760
  return "/businesses/" + businessId + "/sendemail";
3737
- };
3761
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
3762
+
3738
3763
 
3739
3764
  var pathOrganisationBusiness = function pathOrganisationBusiness(organisationId) {
3740
3765
  return "/organisations/" + organisationId + "/businesses";
3741
- };
3766
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3767
+
3742
3768
 
3743
3769
  var pathVerifyMedicare = function pathVerifyMedicare(businessId) {
3744
3770
  return "/businesses/" + businessId + "/medicare/verify";
3745
3771
  }; // This can be removed once we migrate to the new medicare service
3772
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3746
3773
 
3747
3774
 
3748
3775
  var oldPathVerifyDVA = function oldPathVerifyDVA(businessId) {
3749
3776
  return "/businesses/" + businessId + "/dva/pvv/verify";
3750
- };
3777
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3778
+
3751
3779
 
3752
3780
  var pathVerifyDVA = function pathVerifyDVA(businessId) {
3753
3781
  return "/businesses/" + businessId + "/dva/verify";
3754
- };
3782
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3783
+
3755
3784
 
3756
3785
  var pathVerifyIcare = function pathVerifyIcare(businessId) {
3757
3786
  return "/businesses/" + businessId + "/icare/verify";
3758
- };
3787
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3788
+
3759
3789
 
3760
3790
  var pathVerifyComcare = function pathVerifyComcare(businessId, staffId, providerSetItemId) {
3761
3791
  return "/businesses/" + businessId + "/staff/" + staffId + "/providersetitems/" + providerSetItemId + "/comcare/verify";
3762
- };
3792
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3793
+
3763
3794
 
3764
3795
  var pathCreateSupportNote = function pathCreateSupportNote(businessId) {
3765
3796
  return "/businesses/" + businessId + "/supportnotes";
3766
- };
3797
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3798
+
3767
3799
 
3768
3800
  var pathBsbDetails = function pathBsbDetails(businessId) {
3769
3801
  return "/businesses/" + businessId + "/bsbs";
3770
- };
3802
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3803
+
3771
3804
 
3772
3805
  var pathDisableBusiness = function pathDisableBusiness(businessId) {
3773
3806
  return "/businesses/" + businessId + "/disable";
3774
- };
3807
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3808
+
3775
3809
 
3776
3810
  var pathEnableBusiness = function pathEnableBusiness(businessId) {
3777
3811
  return "/businesses/" + businessId + "/reenable";
3778
- };
3812
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3813
+
3779
3814
 
3780
3815
  var pathSuspendBusiness = function pathSuspendBusiness(businessId) {
3781
3816
  return "/businesses/" + businessId + "/suspend";
3782
- };
3817
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
3818
+
3783
3819
 
3784
3820
  var pathUnsuspendBusiness = function pathUnsuspendBusiness(businessId) {
3785
3821
  return "/businesses/" + businessId + "/unsuspend";
@@ -4334,17 +4370,21 @@ function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if
4334
4370
 
4335
4371
  function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$f(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4336
4372
 
4373
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
4337
4374
  var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
4338
4375
  return "/businesses/" + businessId + "/claimitems";
4339
- };
4376
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
4377
+
4340
4378
 
4341
4379
  var pathBusinessClaimItem = function pathBusinessClaimItem(businessId, claimItemId) {
4342
4380
  return "/businesses/" + businessId + "/claimitems/" + claimItemId;
4343
- };
4381
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
4382
+
4344
4383
 
4345
4384
  var pathHealthFundClaimItems = function pathHealthFundClaimItems(healthFundId) {
4346
4385
  return "/healthfunds/" + healthFundId + "/claimitems";
4347
- };
4386
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
4387
+
4348
4388
 
4349
4389
  var pathHealthFundClaimItem = function pathHealthFundClaimItem(healthFundId, claimItemId) {
4350
4390
  return "/healthfunds/" + healthFundId + "/claimitems/" + claimItemId;
@@ -4538,7 +4578,7 @@ var claimItems = /*#__PURE__*/Object.freeze({
4538
4578
  function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4539
4579
 
4540
4580
  function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4541
- var PATH__DOC_ACCOUNTS = '/docaccounts';
4581
+ var PATH__DOC_ACCOUNTS = '/docaccounts'; // @ts-expect-error TS(7006): Parameter 'docAccountId' implicitly has an 'any' t... Remove this comment to see the full error message
4542
4582
 
4543
4583
  var pathDocAccount = function pathDocAccount(docAccountId) {
4544
4584
  return "/docaccounts/" + docAccountId;
@@ -6369,17 +6409,21 @@ function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if
6369
6409
 
6370
6410
  function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$s(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6371
6411
 
6412
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
6372
6413
  var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
6373
6414
  return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
6374
- };
6415
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
6416
+
6375
6417
 
6376
6418
  var pathBusinessPatientHealthFundAccount = function pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId) {
6377
6419
  return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts/" + healthFundAccountId;
6378
- };
6420
+ }; // @ts-expect-error TS(7006): Parameter 'memberId' implicitly has an 'any' type.
6421
+
6379
6422
 
6380
6423
  var pathMemberHealthFundAccounts = function pathMemberHealthFundAccounts(memberId) {
6381
6424
  return "/members/" + memberId + "/healthfundaccounts";
6382
- };
6425
+ }; // @ts-expect-error TS(7006): Parameter 'memberId' implicitly has an 'any' type.
6426
+
6383
6427
 
6384
6428
  var pathMemberHealthFundAccount = function pathMemberHealthFundAccount(memberId, healthFundAccountId) {
6385
6429
  return "/members/" + memberId + "/healthfundaccounts/" + healthFundAccountId;
@@ -6808,13 +6852,16 @@ function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if
6808
6852
 
6809
6853
  function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6810
6854
 
6855
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
6811
6856
  var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
6812
6857
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
6813
- };
6858
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
6859
+
6814
6860
 
6815
6861
  var pathHealthFundSettings = function pathHealthFundSettings(healthFundId) {
6816
6862
  return "/healthfunds/" + healthFundId + "/healthfundsettings";
6817
- };
6863
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
6864
+
6818
6865
 
6819
6866
  var pathHealthFundSetting = function pathHealthFundSetting(healthFundId, healthFundSettingId) {
6820
6867
  return "/healthfunds/" + healthFundId + "/healthfundsettings/" + healthFundSettingId;
@@ -7052,23 +7099,27 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
7052
7099
  function ownKeys$u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7053
7100
 
7054
7101
  function _objectSpread$u(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$u(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7055
- var PATH__HEALTH_FUNDS = '/healthfunds';
7102
+ var PATH__HEALTH_FUNDS = '/healthfunds'; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
7056
7103
 
7057
7104
  var pathHealthFund = function pathHealthFund(healthFundId) {
7058
7105
  return "/healthfunds/" + healthFundId;
7059
- };
7106
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
7107
+
7060
7108
 
7061
7109
  var pathHealthFundVerifyMember = function pathHealthFundVerifyMember(healthFundId) {
7062
7110
  return "/healthfunds/" + healthFundId + "/verifymember";
7063
- };
7111
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
7112
+
7064
7113
 
7065
7114
  var pathOrganisationHealthFunds = function pathOrganisationHealthFunds(organisationId) {
7066
7115
  return "/organisations/" + organisationId + "/healthfunds";
7067
- };
7116
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
7117
+
7068
7118
 
7069
7119
  var pathHealthFundsByAccountId = function pathHealthFundsByAccountId(accountId) {
7070
7120
  return "/accounts/" + accountId + "/healthfunds";
7071
- };
7121
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
7122
+
7072
7123
 
7073
7124
  var pathBusinessHealthFunds = function pathBusinessHealthFunds(businessId) {
7074
7125
  return "/businesses/" + businessId + "/healthfunds";
@@ -7496,7 +7547,7 @@ var healthfunds = /*#__PURE__*/Object.freeze({
7496
7547
  function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7497
7548
 
7498
7549
  function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$v(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7499
- var pathICDItems = '/icditems';
7550
+ var pathICDItems = '/icditems'; // @ts-expect-error TS(7006): Parameter 'modalityId' implicitly has an 'any' typ... Remove this comment to see the full error message
7500
7551
 
7501
7552
  var pathModalityICDItems = function pathModalityICDItems(modalityId) {
7502
7553
  return "/modalities/" + modalityId + "/icditems";
@@ -8233,9 +8284,11 @@ function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if
8233
8284
 
8234
8285
  function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8235
8286
 
8287
+ // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
8236
8288
  var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
8237
8289
  return "/healthfunds/" + healthFundId + "/minions";
8238
- };
8290
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
8291
+
8239
8292
 
8240
8293
  var pathMinionForHealthFund = function pathMinionForHealthFund(healthFundId, minionId) {
8241
8294
  return pathMinionsForHealthFund(healthFundId) + "/" + minionId;
@@ -8464,11 +8517,12 @@ var minions = /*#__PURE__*/Object.freeze({
8464
8517
  function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
8465
8518
 
8466
8519
  function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8467
- var PATH__MODALITIES = '/modalities';
8520
+ var PATH__MODALITIES = '/modalities'; // @ts-expect-error TS(7006): Parameter 'modalityId' implicitly has an 'any' typ... Remove this comment to see the full error message
8468
8521
 
8469
8522
  var pathModality = function pathModality(modalityId) {
8470
8523
  return "/modalities/" + modalityId;
8471
- };
8524
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
8525
+
8472
8526
 
8473
8527
  var pathBusinessModalities = function pathBusinessModalities(businessId) {
8474
8528
  return "/businesses/" + businessId + "/modalities";
@@ -9198,11 +9252,12 @@ function ownKeys$G(object, enumerableOnly) { var keys = Object.keys(object); if
9198
9252
  function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$G(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9199
9253
  var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
9200
9254
  var PATH__OPS_SERVICES = '/ops/services';
9201
- var PATH__OPS_DECRTPT = '/ops/decrypt';
9255
+ var PATH__OPS_DECRTPT = '/ops/decrypt'; // @ts-expect-error TS(7006): Parameter 'deploymentId' implicitly has an 'any' t... Remove this comment to see the full error message
9202
9256
 
9203
9257
  var pathOpsDeployment = function pathOpsDeployment(deploymentId) {
9204
9258
  return "/ops/deployments/" + deploymentId;
9205
- };
9259
+ }; // @ts-expect-error TS(7006): Parameter 'serviceId' implicitly has an 'any' type... Remove this comment to see the full error message
9260
+
9206
9261
 
9207
9262
  var pathOpsService = function pathOpsService(serviceId) {
9208
9263
  return "/ops/services/" + serviceId;
@@ -9461,19 +9516,22 @@ var organisations = /*#__PURE__*/Object.freeze({
9461
9516
  function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9462
9517
 
9463
9518
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9464
- var PATH__PARTNERS = '/partners';
9519
+ var PATH__PARTNERS = '/partners'; // @ts-expect-error TS(7006): Parameter 'partnerId' implicitly has an 'any' type... Remove this comment to see the full error message
9465
9520
 
9466
9521
  var pathPartner = function pathPartner(partnerId) {
9467
9522
  return "/partners/" + partnerId;
9468
- };
9523
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
9524
+
9469
9525
 
9470
9526
  var pathPartnerAccount = function pathPartnerAccount(accountId) {
9471
9527
  return "/partners/accounts/" + accountId;
9472
- };
9528
+ }; // @ts-expect-error TS(7006): Parameter 'partnerId' implicitly has an 'any' type... Remove this comment to see the full error message
9529
+
9473
9530
 
9474
9531
  var pathPartnerPractices = function pathPartnerPractices(partnerId) {
9475
9532
  return "/partners/" + partnerId + "/practices";
9476
- };
9533
+ }; // @ts-expect-error TS(7006): Parameter 'partnerId' implicitly has an 'any' type... Remove this comment to see the full error message
9534
+
9477
9535
 
9478
9536
  var pathPartnerPracticeProviderData = function pathPartnerPracticeProviderData(partnerId, practiceId) {
9479
9537
  return "/partners/" + partnerId + "/practices/" + practiceId + "/providerdata";
@@ -9793,7 +9851,8 @@ var pathBusinessPatient = function pathBusinessPatient(businessId, patientId) {
9793
9851
 
9794
9852
  var pathBusinessPatientByRefId = function pathBusinessPatientByRefId(businessId, refId) {
9795
9853
  return "/businesses/" + businessId + "/patients/ref/" + refId;
9796
- };
9854
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
9855
+
9797
9856
 
9798
9857
  var pathRequestUpdatePatientPaymentMethod = function pathRequestUpdatePatientPaymentMethod(businessId, patientId) {
9799
9858
  return "/businesses/" + businessId + "/patients/" + patientId + "/paymentmethods/updaterequests";
@@ -10075,43 +10134,52 @@ var patients = /*#__PURE__*/Object.freeze({
10075
10134
  function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10076
10135
 
10077
10136
  function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$K(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10078
- var PATH__PAYMENTS = '/payments';
10137
+ var PATH__PAYMENTS = '/payments'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
10079
10138
 
10080
10139
  var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
10081
10140
  return "/accounts/" + accountId + "/paymentmethods";
10082
- };
10141
+ }; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
10142
+
10083
10143
 
10084
10144
  var pathAccountPaymentMethod = function pathAccountPaymentMethod(accountId, paymentMethodId) {
10085
10145
  return "/accounts/" + accountId + "/paymentmethods/" + paymentMethodId;
10086
- };
10146
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10147
+
10087
10148
 
10088
10149
  var pathBusinessPaymentsClientTokens = function pathBusinessPaymentsClientTokens(businessId) {
10089
10150
  return "/businesses/" + businessId + "/payments/clienttoken";
10090
- };
10151
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10152
+
10091
10153
 
10092
10154
  var pathBusinessPaymentMethods = function pathBusinessPaymentMethods(businessId) {
10093
10155
  return "/businesses/" + businessId + "/paymentmethods";
10094
- };
10156
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10157
+
10095
10158
 
10096
10159
  var pathBusinessPaymentMethod = function pathBusinessPaymentMethod(businessId, paymentMethodId) {
10097
10160
  return "/businesses/" + businessId + "/paymentmethods/" + paymentMethodId;
10098
- };
10161
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10162
+
10099
10163
 
10100
10164
  var pathBusinessPatientPaymentMethods = function pathBusinessPatientPaymentMethods(businessId, patientId) {
10101
10165
  return "/businesses/" + businessId + "/patients/" + patientId + "/paymentmethods";
10102
- };
10166
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10167
+
10103
10168
 
10104
10169
  var pathBusinessPatientPaymentMethodsByRefId = function pathBusinessPatientPaymentMethodsByRefId(businessId, refId) {
10105
10170
  return "/businesses/" + businessId + "/patients/refid/" + refId + "/paymentmethods";
10106
- };
10171
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10172
+
10107
10173
 
10108
10174
  var pathBusinessPatientPaymentMethod = function pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId) {
10109
10175
  return "/businesses/" + businessId + "/patients/" + patientId + "/paymentmethods/" + paymentMethodId;
10110
- };
10176
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10177
+
10111
10178
 
10112
10179
  var pathBusinessSalesClientToken = function pathBusinessSalesClientToken(businessId) {
10113
10180
  return "/businesses/" + businessId + "/sales/clienttoken";
10114
- };
10181
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
10182
+
10115
10183
 
10116
10184
  var pathBusinessPaymentClientToken = function pathBusinessPaymentClientToken(businessId, patientId) {
10117
10185
  return "/businesses/" + businessId + "/patients/" + patientId + "/sales/clienttoken";
@@ -11252,13 +11320,16 @@ function ownKeys$L(object, enumerableOnly) { var keys = Object.keys(object); if
11252
11320
 
11253
11321
  function _objectSpread$L(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$L(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11254
11322
 
11323
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11255
11324
  var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
11256
11325
  return "/businesses/" + businessId + "/pmspractices";
11257
- };
11326
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11327
+
11258
11328
 
11259
11329
  var pathBusinessPmsServices = function pathBusinessPmsServices(businessId) {
11260
11330
  return "/businesses/" + businessId + "/pmsservices";
11261
- };
11331
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11332
+
11262
11333
 
11263
11334
  var pathBusinessPmsStaffMembers = function pathBusinessPmsStaffMembers(businessId) {
11264
11335
  return "/businesses/" + businessId + "/pmsstaff";
@@ -11615,17 +11686,21 @@ function ownKeys$N(object, enumerableOnly) { var keys = Object.keys(object); if
11615
11686
 
11616
11687
  function _objectSpread$N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$N(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11617
11688
 
11689
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11618
11690
  var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
11619
11691
  return "/businesses/" + businessId + "/forms/" + formId + "/practices";
11620
- };
11692
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11693
+
11621
11694
 
11622
11695
  var pathBusinessPractices = function pathBusinessPractices(businessId) {
11623
11696
  return "/businesses/" + businessId + "/practices";
11624
- };
11697
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11698
+
11625
11699
 
11626
11700
  var pathBusinessPractice = function pathBusinessPractice(businessId, practiceId) {
11627
11701
  return "/businesses/" + businessId + "/practices/" + practiceId;
11628
- };
11702
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11703
+
11629
11704
 
11630
11705
  var pathBusinessPracticeUploadUrl = function pathBusinessPracticeUploadUrl(businessId, practiceId) {
11631
11706
  return "/businesses/" + businessId + "/practices/" + practiceId + "/uploadurlv2";
@@ -11633,23 +11708,28 @@ var pathBusinessPracticeUploadUrl = function pathBusinessPracticeUploadUrl(busin
11633
11708
 
11634
11709
  var pathOnboardingPractices = function pathOnboardingPractices() {
11635
11710
  return '/practices/onboarding/search';
11636
- };
11711
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
11712
+
11637
11713
 
11638
11714
  var pathOrganisationPractices = function pathOrganisationPractices(organisationId) {
11639
11715
  return "/organisations/" + organisationId + "/practices";
11640
- };
11716
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
11717
+
11641
11718
 
11642
11719
  var pathOrganisationPractice = function pathOrganisationPractice(organisationId, practiceId) {
11643
11720
  return "/organisations/" + organisationId + "/practices/" + practiceId;
11644
- };
11721
+ }; // @ts-expect-error TS(7006): Parameter 'practiceId' implicitly has an 'any' typ... Remove this comment to see the full error message
11722
+
11645
11723
 
11646
11724
  var pathPractice = function pathPractice(practiceId) {
11647
11725
  return "/practices/" + practiceId;
11648
- };
11726
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11727
+
11649
11728
 
11650
11729
  var pathGetPracticesWithApprovedApplications = function pathGetPracticesWithApprovedApplications(businessId, formId) {
11651
11730
  return "/businesses/" + businessId + "/forms/" + formId + "/practices/approved";
11652
- };
11731
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
11732
+
11653
11733
 
11654
11734
  var pathBusinessStaffPractices = function pathBusinessStaffPractices(businessId, staffId) {
11655
11735
  return "/businesses/" + businessId + "/staff/" + staffId + "/practices";
@@ -12586,9 +12666,11 @@ function ownKeys$R(object, enumerableOnly) { var keys = Object.keys(object); if
12586
12666
 
12587
12667
  function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12588
12668
 
12669
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
12589
12670
  var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
12590
12671
  return "/businesses/" + businessId + "/providerrequests";
12591
- };
12672
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
12673
+
12592
12674
 
12593
12675
  var pathBusinessPracticeStaffMemberProviderRequest = function pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId) {
12594
12676
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/providerrequests";
@@ -13886,6 +13968,7 @@ var addPaymentMethodToSelfCheckoutSession = /*#__PURE__*/function () {
13886
13968
 
13887
13969
  case 28:
13888
13970
  paymentMethods = _context16.sent;
13971
+ // @ts-expect-error TS(7006): Parameter 'paymentMethod' implicitly has an 'any' ... Remove this comment to see the full error message
13889
13972
  paymentMethod = paymentMethods.find(function (paymentMethod) {
13890
13973
  return Boolean(paymentMethod.isDefault);
13891
13974
  });
@@ -14215,29 +14298,36 @@ function ownKeys$_(object, enumerableOnly) { var keys = Object.keys(object); if
14215
14298
 
14216
14299
  function _objectSpread$_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$_(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14217
14300
 
14301
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14218
14302
  var pathBusinessServices = function pathBusinessServices(businessId) {
14219
14303
  return "/businesses/" + businessId + "/services";
14220
- };
14304
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14305
+
14221
14306
 
14222
14307
  var pathBusinessService = function pathBusinessService(businessId, serviceId) {
14223
14308
  return "/businesses/" + businessId + "/services/" + serviceId;
14224
- };
14309
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14310
+
14225
14311
 
14226
14312
  var pathBusinessPracticeServices = function pathBusinessPracticeServices(businessId, practiceId) {
14227
14313
  return "/businesses/" + businessId + "/practices/" + practiceId + "/services";
14228
- };
14314
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14315
+
14229
14316
 
14230
14317
  var pathBusinessPracticeService = function pathBusinessPracticeService(businessId, practiceId, serviceId) {
14231
14318
  return "/businesses/" + businessId + "/practices/" + practiceId + "/services/" + serviceId;
14232
- };
14319
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14320
+
14233
14321
 
14234
14322
  var pathBusinessStaffMemberServices = function pathBusinessStaffMemberServices(businessId, staffId) {
14235
14323
  return "/businesses/" + businessId + "/staff/" + staffId + "/services";
14236
- };
14324
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14325
+
14237
14326
 
14238
14327
  var pathBusinessPracticeStaffMemberServices = function pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId) {
14239
14328
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/services";
14240
- };
14329
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14330
+
14241
14331
 
14242
14332
  var pathBusinessPracticeStaffMemberService = function pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId) {
14243
14333
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/services/" + serviceId;
@@ -14724,6 +14814,7 @@ function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if
14724
14814
 
14725
14815
  function _objectSpread$$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$$(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14726
14816
 
14817
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
14727
14818
  var pathBusiness$1 = function pathBusiness(businessId) {
14728
14819
  return "/businesses/" + businessId;
14729
14820
  };
@@ -15089,45 +15180,56 @@ function ownKeys$13(object, enumerableOnly) { var keys = Object.keys(object); if
15089
15180
 
15090
15181
  function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$13(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15091
15182
 
15183
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15092
15184
  var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
15093
15185
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
15094
- };
15186
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15187
+
15095
15188
 
15096
15189
  var pathBusinessPracticeStaffMember = function pathBusinessPracticeStaffMember(businessId, practiceId, staffId) {
15097
15190
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId;
15098
- };
15191
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15192
+
15099
15193
 
15100
15194
  var pathBusinessFormPracticeStaffMembers = function pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId) {
15101
15195
  return "/businesses/" + businessId + "/forms/" + formId + "/practices/" + practiceId + "/staff";
15102
- };
15196
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15197
+
15103
15198
 
15104
15199
  var pathBusinessServiceStaffMembers = function pathBusinessServiceStaffMembers(businessId, serviceId) {
15105
15200
  return "/businesses/" + businessId + "/services/" + serviceId + "/staff";
15106
- };
15201
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15202
+
15107
15203
 
15108
15204
  var pathBusinessStaff = function pathBusinessStaff(businessId) {
15109
15205
  return "/businesses/" + businessId + "/staff";
15110
- };
15206
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15207
+
15111
15208
 
15112
15209
  var pathBusinessStaffMember = function pathBusinessStaffMember(businessId, staffId) {
15113
15210
  return "/businesses/" + businessId + "/staff/" + staffId;
15114
- };
15211
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
15212
+
15115
15213
 
15116
15214
  var pathOrganisationStaff = function pathOrganisationStaff(organisationId) {
15117
15215
  return "/organisations/" + organisationId + "/staff";
15118
- };
15216
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
15217
+
15119
15218
 
15120
15219
  var pathOrganisationStaffMember = function pathOrganisationStaffMember(organisationId, staffId) {
15121
15220
  return "/organisations/" + organisationId + "/staff/" + staffId;
15122
- };
15221
+ }; // @ts-expect-error TS(7006): Parameter 'staffId' implicitly has an 'any' type.
15222
+
15123
15223
 
15124
15224
  var pathStaffMember = function pathStaffMember(staffId) {
15125
15225
  return "/staff/" + staffId;
15126
- };
15226
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15227
+
15127
15228
 
15128
15229
  var pathProviderSetItems = function pathProviderSetItems(businessId, staffId) {
15129
15230
  return "/businesses/" + businessId + "/staff/" + staffId + "/providersetitems";
15130
- };
15231
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
15232
+
15131
15233
 
15132
15234
  var pathProviderSetItem = function pathProviderSetItem(businessId, staffId, providerSetItemId) {
15133
15235
  return "/businesses/" + businessId + "/staff/" + staffId + "/providersetitems/" + providerSetItemId;
@@ -16423,25 +16525,31 @@ function ownKeys$14(object, enumerableOnly) { var keys = Object.keys(object); if
16423
16525
 
16424
16526
  function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$14(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16425
16527
 
16528
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
16426
16529
  var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
16427
16530
  return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
16428
- };
16531
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
16532
+
16429
16533
 
16430
16534
  var pathTransactionStatsForBusiness = function pathTransactionStatsForBusiness(businessId) {
16431
16535
  return "/businesses/" + businessId + "/transactionstats";
16432
- };
16536
+ }; // @ts-expect-error TS(7006): Parameter 'organisationId' implicitly has an 'any'... Remove this comment to see the full error message
16537
+
16433
16538
 
16434
16539
  var pathTransactionStatsForOrganisation = function pathTransactionStatsForOrganisation(organisationId) {
16435
16540
  return "/organisations/" + organisationId + "/transactionstats";
16436
- };
16541
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
16542
+
16437
16543
 
16438
16544
  var pathTransactionStatsForHealthFundId = function pathTransactionStatsForHealthFundId(healthFundId) {
16439
16545
  return "/healthfunds/" + healthFundId + "/transactionstats";
16440
- };
16546
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
16547
+
16441
16548
 
16442
16549
  var pathTransactionStatsCSVForHealthFundId = function pathTransactionStatsCSVForHealthFundId(healthFundId) {
16443
16550
  return "/healthfunds/" + healthFundId + "/transactionstats/csv";
16444
- };
16551
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
16552
+
16445
16553
 
16446
16554
  var pathHealthFundAccountStatsForHealthFundId = function pathHealthFundAccountStatsForHealthFundId(healthFundId) {
16447
16555
  return "/healthfunds/" + healthFundId + "/healthfundaccountstats";
@@ -17329,183 +17437,227 @@ function ownKeys$18(object, enumerableOnly) { var keys = Object.keys(object); if
17329
17437
 
17330
17438
  function _objectSpread$18(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$18(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$18(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17331
17439
 
17440
+ // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17332
17441
  var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
17333
17442
  return "/businesses/" + businessId + "/transactions";
17334
- };
17443
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17444
+
17335
17445
 
17336
17446
  var pathBusinessTransaction = function pathBusinessTransaction(businessId, transactionId) {
17337
17447
  return "/businesses/" + businessId + "/transactions/" + transactionId;
17338
- };
17448
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17449
+
17339
17450
 
17340
17451
  var pathBusinessTransactionRefund = function pathBusinessTransactionRefund(businessId, transactionId) {
17341
17452
  return "/businesses/" + businessId + "/transactions/" + transactionId + "/refunds";
17342
- };
17453
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17454
+
17343
17455
 
17344
17456
  var pathBusinessPracticeTransactions = function pathBusinessPracticeTransactions(businessId, practiceId) {
17345
17457
  return "/businesses/" + businessId + "/practices/" + practiceId + "/transactions";
17346
- };
17458
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17459
+
17347
17460
 
17348
17461
  var pathBusinessPracticeStaffInvoices = function pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId) {
17349
17462
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/invoices";
17350
- };
17463
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17464
+
17351
17465
 
17352
17466
  var pathBusinessPracticeInvoices = function pathBusinessPracticeInvoices(businessId, practiceId) {
17353
17467
  return "/businesses/" + businessId + "/practices/" + practiceId + "/invoices";
17354
- };
17468
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17469
+
17355
17470
 
17356
17471
  var pathBusinessTransactionQuotes = function pathBusinessTransactionQuotes(businessId) {
17357
17472
  return "/businesses/" + businessId + "/transactions/quotes";
17358
- };
17473
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17474
+
17359
17475
 
17360
17476
  var pathBusinessPracticeStaffQuotes = function pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId) {
17361
17477
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/quotes";
17362
- };
17478
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17479
+
17363
17480
 
17364
17481
  var pathBusinessPracticeStaffTransactions = function pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId) {
17365
17482
  return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/transactions";
17366
- };
17483
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17484
+
17367
17485
 
17368
17486
  var pathBusinessTransactionsInvoiceReference = function pathBusinessTransactionsInvoiceReference(businessId, invoiceReference) {
17369
17487
  return "/businesses/" + businessId + "/transactions/invoicereference/" + invoiceReference;
17370
- };
17488
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
17489
+
17371
17490
 
17372
17491
  var pathHealthFundTransaction = function pathHealthFundTransaction(healthFundId, transactionId) {
17373
17492
  return "/healthfunds/" + healthFundId + "/transactions/" + transactionId;
17374
- };
17493
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17494
+
17375
17495
 
17376
17496
  var pathReplyQuote = function pathReplyQuote(transactionId) {
17377
17497
  return "/transactions/" + transactionId + "/replyquote";
17378
- };
17498
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17499
+
17379
17500
 
17380
17501
  var pathTransactionApprove = function pathTransactionApprove(transactionId) {
17381
17502
  return "/transactions/" + transactionId + "/approve";
17382
- };
17503
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17504
+
17383
17505
 
17384
17506
  var pathTransactionSendReceipt = function pathTransactionSendReceipt(transactionId) {
17385
17507
  return "/transactions/" + transactionId + "/sendreceipt";
17386
- };
17508
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17509
+
17387
17510
 
17388
17511
  var pathTransactionByTransactionId = function pathTransactionByTransactionId(transactionId) {
17389
17512
  return "/transactions/" + transactionId;
17390
- };
17513
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
17514
+
17391
17515
 
17392
17516
  var pathTransactionsForHealthFund = function pathTransactionsForHealthFund(healthFundId) {
17393
17517
  return "/healthfunds/" + healthFundId + "/transactions";
17394
- };
17518
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
17519
+
17395
17520
 
17396
17521
  var pathHealthFundMemberTransactions = function pathHealthFundMemberTransactions(healthFundId, memberId) {
17397
17522
  return "/healthfunds/" + healthFundId + "/members/" + memberId + "/transactions";
17398
- };
17523
+ }; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
17524
+
17399
17525
 
17400
17526
  var pathHealthFundTransactionsAssign = function pathHealthFundTransactionsAssign(healthFundId) {
17401
17527
  return "/healthfunds/" + healthFundId + "/transactions/assign";
17402
- };
17528
+ }; // @ts-expect-error TS(7006): Parameter 'memberId' implicitly has an 'any' type.
17529
+
17403
17530
 
17404
17531
  var pathTransactionsByMember = function pathTransactionsByMember(memberId) {
17405
17532
  return "/members/" + memberId + "/transactions";
17406
- };
17533
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17534
+
17407
17535
 
17408
17536
  var pathTransactionTag = function pathTransactionTag(transactionId, tagId) {
17409
17537
  return "/transactions/" + transactionId + "/tags/" + tagId;
17410
- };
17538
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17539
+
17411
17540
 
17412
17541
  var pathValidateTransaction = function pathValidateTransaction(transactionId) {
17413
17542
  return "/transactions/" + transactionId + "/validate";
17414
- };
17543
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17544
+
17415
17545
 
17416
17546
  var pathTransactionSubmitBridgeClaim = function pathTransactionSubmitBridgeClaim(transactionId) {
17417
17547
  return "/transactions/" + transactionId + "/submitbridgeclaim";
17418
- };
17548
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17549
+
17419
17550
 
17420
17551
  var pathTransactionSubmitBridgePayment = function pathTransactionSubmitBridgePayment(transactionId) {
17421
17552
  return "/transactions/" + transactionId + "/submitbridgepayment";
17422
- };
17553
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17554
+
17423
17555
 
17424
17556
  var pathTransactionTriggerBridge = function pathTransactionTriggerBridge(transactionId) {
17425
17557
  return "/transactions/" + transactionId + "/triggerbridge";
17426
- };
17558
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17559
+
17427
17560
 
17428
17561
  var pathCreateInvoice = function pathCreateInvoice(businessId) {
17429
17562
  return "/businesses/" + businessId + "/transactions/invoices";
17430
- };
17563
+ }; // @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
17564
+
17431
17565
 
17432
17566
  var pathCreateDraft = function pathCreateDraft(businessId) {
17433
17567
  return "/businesses/" + businessId + "/transactions/drafts";
17434
- };
17568
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17569
+
17435
17570
 
17436
17571
  var pathConvertDraft = function pathConvertDraft(transactionId) {
17437
17572
  return "/transactions/" + transactionId + "/convertdrafts";
17438
- };
17573
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17574
+
17439
17575
 
17440
17576
  var pathCreateSendClaim = function pathCreateSendClaim(transactionId) {
17441
17577
  return "/transactions/" + transactionId + "/claims";
17442
- };
17578
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17579
+
17443
17580
 
17444
17581
  var pathCompleteTransaction = function pathCompleteTransaction(transactionId) {
17445
17582
  return "/transactions/" + transactionId + "/completes";
17446
- };
17583
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17584
+
17447
17585
 
17448
17586
  var pathClaim = function pathClaim(transactionId, claimId) {
17449
17587
  return "/transactions/" + transactionId + "/claims/" + claimId;
17450
- };
17588
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17589
+
17451
17590
 
17452
17591
  var pathApproveClaim = function pathApproveClaim(transactionId, claimId) {
17453
17592
  return "/transactions/" + transactionId + "/claims/" + claimId + "/approves";
17454
- };
17593
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17594
+
17455
17595
 
17456
17596
  var pathCancelClaim = function pathCancelClaim(transactionId, claimId) {
17457
17597
  return "/transactions/" + transactionId + "/claims/" + claimId + "/cancels";
17458
- };
17598
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17599
+
17459
17600
 
17460
17601
  var pathSaveClaim = function pathSaveClaim(transactionId, claimId) {
17461
17602
  return "/transactions/" + transactionId + "/claims/" + claimId + "/savedetails";
17462
- };
17603
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17604
+
17463
17605
 
17464
17606
  var pathSubmitClaim = function pathSubmitClaim(transactionId, claimId) {
17465
17607
  return "/transactions/" + transactionId + "/claims/" + claimId + "/submits";
17466
- };
17608
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17609
+
17467
17610
 
17468
17611
  var pathTransactionClaimPdf = function pathTransactionClaimPdf(transactionId, claimId) {
17469
17612
  return "/transactions/" + transactionId + "/claims/" + claimId + "/pdf";
17470
17613
  };
17471
17614
 
17472
- var pathTransactionClaimPdfV2 = '/transactions/pdfs';
17615
+ var pathTransactionClaimPdfV2 = '/transactions/pdfs'; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17473
17616
 
17474
17617
  var pathTransactionPays = function pathTransactionPays(transactionId) {
17475
17618
  return "/transactions/" + transactionId + "/pays";
17476
- };
17619
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17620
+
17477
17621
 
17478
17622
  var pathTransactionProcessingRequests = function pathTransactionProcessingRequests(transactionId) {
17479
17623
  return "/transactions/" + transactionId + "/processingrequests";
17480
- };
17624
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17625
+
17481
17626
 
17482
17627
  var pathTransactionCancel = function pathTransactionCancel(transactionId) {
17483
17628
  return "/transactions/" + transactionId + "/cancels";
17484
- };
17629
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17630
+
17485
17631
 
17486
17632
  var pathTransactionPaymentLink = function pathTransactionPaymentLink(transactionId) {
17487
17633
  return "/transactions/" + transactionId + "/paymentlink";
17488
- };
17634
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17635
+
17489
17636
 
17490
17637
  var pathTransactionRefund = function pathTransactionRefund(transactionId) {
17491
17638
  return "/transactions/" + transactionId + "/refunds";
17492
- };
17639
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17640
+
17493
17641
 
17494
17642
  var pathTransactionArchives = function pathTransactionArchives(transactionId) {
17495
17643
  return "/transactions/" + transactionId + "/archives";
17496
- };
17644
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17645
+
17497
17646
 
17498
17647
  var pathTransactionUnarchives = function pathTransactionUnarchives(transactionId) {
17499
17648
  return "/transactions/" + transactionId + "/unarchives";
17500
- };
17649
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17650
+
17501
17651
 
17502
17652
  var pathTransactionTerminalInput = function pathTransactionTerminalInput(transactionId) {
17503
17653
  return "/transactions/" + transactionId + "/terminalinput";
17504
- };
17654
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17655
+
17505
17656
 
17506
17657
  var pathTransactionTerminalCancel = function pathTransactionTerminalCancel(transactionId) {
17507
17658
  return "/transactions/" + transactionId + "/terminalcancel";
17508
- };
17659
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17660
+
17509
17661
 
17510
17662
  var pathTransactionPaymentRefund = function pathTransactionPaymentRefund(transactionId, paymentId) {
17511
17663
  return "/transactions/" + transactionId + "/payments/" + paymentId + "/refunds";
@@ -17521,7 +17673,8 @@ var pathCreateEclipseOverseasInvoice = function pathCreateEclipseOverseasInvoice
17521
17673
 
17522
17674
  var pathCreateEclipseOnlineEligibilityCheckInvoice = function pathCreateEclipseOnlineEligibilityCheckInvoice() {
17523
17675
  return "/transactions/invoices/eclipse/oecw";
17524
- };
17676
+ }; // @ts-expect-error TS(7006): Parameter 'transactionId' implicitly has an 'any' ... Remove this comment to see the full error message
17677
+
17525
17678
 
17526
17679
  var pathReconcileClaim = function pathReconcileClaim(transactionId, claimId) {
17527
17680
  return "/transactions/" + transactionId + "/claims/" + claimId + "/reconciles";
@@ -21608,6 +21761,7 @@ var getSelfApplicationCached = /*#__PURE__*/function () {
21608
21761
  });
21609
21762
 
21610
21763
  case 15:
21764
+ // @ts-expect-error TS(7005): Variable '_getSelfApplicationCache' implicitly has... Remove this comment to see the full error message
21611
21765
  data = _getSelfApplicationCache;
21612
21766
 
21613
21767
  case 16:
@@ -21657,12 +21811,12 @@ function _parseProfessions() {
21657
21811
  _ref = _temp === void 0 ? {
21658
21812
  providerRegistrationTypes: undefined
21659
21813
  } : _temp, providerRegistrationTypes = _ref.providerRegistrationTypes;
21660
- professionalCategoryIds = registration.map(function (registration) {
21814
+ professionalCategoryIds = registration == null ? void 0 : registration.map(function (registration) {
21661
21815
  return registration.professionalCategoryId;
21662
21816
  });
21663
21817
  uniqueProfessionalCategoryIds = _uniq(professionalCategoryIds).filter(Boolean);
21664
21818
  professionalCategoryIdsString = uniqueProfessionalCategoryIds.join(',');
21665
- specialtyIdSets = registration.map(function (registration) {
21819
+ specialtyIdSets = registration == null ? void 0 : registration.map(function (registration) {
21666
21820
  return registration.specialtyIds;
21667
21821
  });
21668
21822
  specialtyIds = _flatten(specialtyIdSets);
@@ -21700,9 +21854,11 @@ function _parseProfessions() {
21700
21854
  return _objectSpread$1f({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
21701
21855
  }, {});
21702
21856
  newProfessions = registration == null ? void 0 : registration.map(function (registration) {
21703
- var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
21704
- var specialties = registration.specialtyIds.map(function (specialtyId) {
21705
- return specialtiesMap[specialtyId];
21857
+ var _registration$special;
21858
+
21859
+ var professionalCategory = professionalCategoriesMap == null ? void 0 : professionalCategoriesMap[registration.professionalCategoryId];
21860
+ var specialties = registration == null ? void 0 : (_registration$special = registration.specialtyIds) == null ? void 0 : _registration$special.map(function (specialtyId) {
21861
+ return specialtiesMap == null ? void 0 : specialtiesMap[specialtyId];
21706
21862
  }); // @ts-expect-error
21707
21863
 
21708
21864
  var providerRegistrationType = providerRegistrationTypesMap[registration == null ? void 0 : registration.providerRegistrationTypeId];
@@ -21756,7 +21912,7 @@ var _isTokenExpired = function _isTokenExpired(token) {
21756
21912
  } catch (err) {
21757
21913
  return true;
21758
21914
  }
21759
- };
21915
+ }; // @ts-expect-error TS(7031): Binding element 'env' implicitly has an 'any' type... Remove this comment to see the full error message
21760
21916
 
21761
21917
  var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
21762
21918
  var env = _ref.env,
@@ -21914,11 +22070,13 @@ var sdkClient = {
21914
22070
  // Setup initial SDK properties
21915
22071
  this.appId = _get(opts, 'appId', this.appId);
21916
22072
  this.appVersion = _get(opts, 'appVersion', this.appVersion);
21917
- this.apiVer = _get(opts, 'apiVer', this.apiVer);
22073
+ this.apiVer = _get(opts, 'apiVer', this.apiVer); // @ts-expect-error TS(2322): Type '{ core: string; risk: string; } | Record<str... Remove this comment to see the full error message
22074
+
21918
22075
  this.apiVersions = _get(opts, 'apiVersions', this.apiVersions);
21919
22076
  this.defaultVersion = _get(opts, 'defaultVersion', this.defaultVersion);
21920
22077
  this.env = _get(opts, 'env', this.env);
21921
- this.sdkVersion = _get(opts, 'sdkVersion', this.sdkVersion);
22078
+ this.sdkVersion = _get(opts, 'sdkVersion', this.sdkVersion); // @ts-expect-error TS(2322): Type 'Record<string, any> | undefined' is not assi... Remove this comment to see the full error message
22079
+
21922
22080
  this.baseUrls = _get(opts, 'baseUrls');
21923
22081
  this.setRegion(_get(opts, 'region', this.regions.getUserRegion()));
21924
22082
  },
@@ -21960,6 +22118,7 @@ var sdkClient = {
21960
22118
  setRequestInterceptor: function setRequestInterceptor(headers) {
21961
22119
  var _this = this;
21962
22120
 
22121
+ // @ts-expect-error TS(2322): Type 'number' is not assignable to type 'undefined... Remove this comment to see the full error message
21963
22122
  this.requestInterceptor = this.axios.interceptors.request.use( /*#__PURE__*/function () {
21964
22123
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(config) {
21965
22124
  var request, deviceId;
@@ -21979,13 +22138,15 @@ var sdkClient = {
21979
22138
 
21980
22139
  if (_this.sdkVersion) {
21981
22140
  request.headers[HEADER__SDK_VERSION] = _this.sdkVersion;
21982
- }
22141
+ } // @ts-expect-error TS(2339): Property 'tokenType' does not exist on type 'Axios... Remove this comment to see the full error message
22142
+
21983
22143
 
21984
22144
  if (config.tokenType === 'session' && _this.tokens.session) {
21985
22145
  request.headers.Authorization = _this.tokens.session;
21986
22146
  } else if (_this.tokens.account) {
21987
22147
  request.headers.Authorization = _this.tokens.account;
21988
- }
22148
+ } // @ts-expect-error TS(2339): Property 'skipDeviceCheck' does not exist on type ... Remove this comment to see the full error message
22149
+
21989
22150
 
21990
22151
  if (config.skipDeviceCheck) {
21991
22152
  _context.next = 12;
@@ -22001,6 +22162,7 @@ var sdkClient = {
22001
22162
 
22002
22163
  case 12:
22003
22164
  if (_this.requestInterceptorSuccess) {
22165
+ // @ts-expect-error TS(2349): This expression is not callable.
22004
22166
  _this.requestInterceptorSuccess(config);
22005
22167
  }
22006
22168
 
@@ -22028,6 +22190,7 @@ var sdkClient = {
22028
22190
  setResponseInterceptor: function setResponseInterceptor() {
22029
22191
  var _this2 = this;
22030
22192
 
22193
+ // @ts-expect-error TS(2339): Property 'responseInterceptor' does not exist on t... Remove this comment to see the full error message
22031
22194
  this.responseInterceptor = this.axios.interceptors.response.use(function (config) {
22032
22195
  var response = Object.assign({}, config);
22033
22196
 
@@ -22040,15 +22203,19 @@ var sdkClient = {
22040
22203
  if (response.headers && response.headers[HEADER__INTERCOM_HASH]) {
22041
22204
  _this2.intercomHash = response.headers[HEADER__INTERCOM_HASH];
22042
22205
  storage.default.set('intercomHash', _this2.intercomHash);
22043
- }
22206
+ } // @ts-expect-error TS(2551): Property 'responseInterceptorSuccess' does not exi... Remove this comment to see the full error message
22207
+
22044
22208
 
22045
22209
  if (_this2.responseInterceptorSuccess) {
22210
+ // @ts-expect-error TS(2551): Property 'responseInterceptorSuccess' does not exi... Remove this comment to see the full error message
22046
22211
  _this2.responseInterceptorSuccess(config);
22047
22212
  }
22048
22213
 
22049
22214
  return response;
22050
22215
  }, function (err) {
22216
+ // @ts-expect-error TS(2339): Property 'responseInterceptorFailure' does not exi... Remove this comment to see the full error message
22051
22217
  if (_this2.responseInterceptorFailure) {
22218
+ // @ts-expect-error TS(2339): Property 'responseInterceptorFailure' does not exi... Remove this comment to see the full error message
22052
22219
  _this2.responseInterceptorFailure(_get(err, 'response', err));
22053
22220
  }
22054
22221
 
@@ -22101,10 +22268,12 @@ var sdkClient = {
22101
22268
  },
22102
22269
  setRegion: function setRegion(region) {
22103
22270
  if (region) {
22271
+ // @ts-expect-error TS(2322): Type 'string' is not assignable to type 'undefined... Remove this comment to see the full error message
22104
22272
  this.region = region;
22105
22273
  }
22106
22274
 
22107
22275
  if (this.env && this.region) {
22276
+ // @ts-expect-error TS(2322): Type '{}' is not assignable to type 'undefined'.
22108
22277
  this.baseUrls = this.baseUrls || _getEnvBaseUrls(index.default, {
22109
22278
  env: this.env,
22110
22279
  region: this.region
@@ -22118,7 +22287,9 @@ var sdkClient = {
22118
22287
  * Kill the SDK - stop interceptors, clear class properties, clear local storage
22119
22288
  */
22120
22289
  stop: function stop() {
22121
- this.axios.interceptors.request.eject(this.requestInterceptor);
22290
+ // @ts-expect-error TS(2345): Argument of type 'undefined' is not assignable to ... Remove this comment to see the full error message
22291
+ this.axios.interceptors.request.eject(this.requestInterceptor); // @ts-expect-error TS(2339): Property 'responseInterceptor' does not exist on t... Remove this comment to see the full error message
22292
+
22122
22293
  this.axios.interceptors.request.eject(this.responseInterceptor);
22123
22294
  this.removeStorage();
22124
22295
  },
@@ -22139,25 +22310,20 @@ var sdkClient = {
22139
22310
  function ownKeys$1h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22140
22311
 
22141
22312
  function _objectSpread$1h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1h(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
22313
+ // Promise<(ParsedProviderSetItem | ParsedProviderRegistration)[]>
22142
22314
  function parseProviderSet(_x, _x2) {
22143
22315
  return _parseProviderSet.apply(this, arguments);
22144
22316
  }
22145
22317
 
22146
22318
  function _parseProviderSet() {
22147
- _parseProviderSet = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(providerSet, _temp) {
22148
- var _ref, businessId, funders, providerRegistrationTypes, _providerNumberTypes, _ref$parseProviderNum, parseProviderNumberType, fetchPractices, fetchProviderNumberTypes, _yield$Promise$all, fundersResponse, practicesResponse, providerRegistrations, providerNumberTypesResponse, fundersMap, practicesMap, providerNumberTypesMap, newProviderSet;
22319
+ _parseProviderSet = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(providerSet, _ref) {
22320
+ var businessId, funders, providerRegistrationTypes, _providerNumberTypes, _ref$parseProviderNum, parseProviderNumberType, fetchPractices, fetchProviderNumberTypes, _yield$Promise$all, fundersResponse, practicesResponse, providerRegistrations, providerNumberTypesResponse, fundersMap, practicesMap, providerNumberTypesMap, newProviderSet;
22149
22321
 
22150
22322
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
22151
22323
  while (1) {
22152
22324
  switch (_context3.prev = _context3.next) {
22153
22325
  case 0:
22154
- _ref = _temp === void 0 ? {
22155
- businessId: undefined,
22156
- funders: undefined,
22157
- providerRegistrationTypes: undefined,
22158
- providerNumberTypes: undefined,
22159
- parseProviderNumberType: false
22160
- } : _temp, businessId = _ref.businessId, funders = _ref.funders, providerRegistrationTypes = _ref.providerRegistrationTypes, _providerNumberTypes = _ref.providerNumberTypes, _ref$parseProviderNum = _ref.parseProviderNumberType, parseProviderNumberType = _ref$parseProviderNum === void 0 ? false : _ref$parseProviderNum;
22326
+ businessId = _ref.businessId, funders = _ref.funders, providerRegistrationTypes = _ref.providerRegistrationTypes, _providerNumberTypes = _ref.providerNumberTypes, _ref$parseProviderNum = _ref.parseProviderNumberType, parseProviderNumberType = _ref$parseProviderNum === void 0 ? false : _ref$parseProviderNum;
22161
22327
 
22162
22328
  fetchPractices = /*#__PURE__*/function () {
22163
22329
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
@@ -22166,8 +22332,9 @@ function _parseProviderSet() {
22166
22332
  while (1) {
22167
22333
  switch (_context.prev = _context.next) {
22168
22334
  case 0:
22169
- practiceIds = providerSet.map(function (providerData) {
22170
- return providerData.practiceId;
22335
+ // @ts-expect-error
22336
+ practiceIds = providerSet == null ? void 0 : providerSet.map(function (providerData) {
22337
+ return providerData == null ? void 0 : providerData.practiceId;
22171
22338
  });
22172
22339
  uniquePracticeIds = _uniq(practiceIds).filter(Boolean);
22173
22340
  practices = [];
@@ -22212,8 +22379,9 @@ function _parseProviderSet() {
22212
22379
  return _context2.abrupt("return", _providerNumberTypes);
22213
22380
 
22214
22381
  case 2:
22215
- providerNumberTypeIds = providerSet.map(function (providerData) {
22216
- return providerData.providerNumberTypeId;
22382
+ // @ts-expect-error
22383
+ providerNumberTypeIds = providerSet == null ? void 0 : providerSet.map(function (providerData) {
22384
+ return providerData == null ? void 0 : providerData.providerNumberTypeId;
22217
22385
  });
22218
22386
  uniqueProviderNumberTypeIds = _uniq(providerNumberTypeIds).filter(Boolean);
22219
22387
  _context2.next = 6;
@@ -22265,8 +22433,8 @@ function _parseProviderSet() {
22265
22433
 
22266
22434
  return _objectSpread$1h({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
22267
22435
  }, {});
22268
- newProviderSet = providerSet.map(function (providerData, i) {
22269
- return _objectSpread$1h({}, providerData, {}, providerRegistrations[i], {
22436
+ newProviderSet = providerSet == null ? void 0 : providerSet.map(function (providerData, i) {
22437
+ return _objectSpread$1h({}, providerData, {}, providerRegistrations == null ? void 0 : providerRegistrations[i], {
22270
22438
  // @ts-expect-error
22271
22439
  practice: practicesMap[providerData == null ? void 0 : providerData.practiceId],
22272
22440
  // @ts-expect-error