@medipass/web-sdk 11.63.12-feature-bottleneck-safety.3 → 11.63.12

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 (91) hide show
  1. package/lib/index.js +2 -2
  2. package/lib/resources/abr.js +2 -2
  3. package/lib/resources/accounts.js +2 -2
  4. package/lib/resources/actions.js +2 -2
  5. package/lib/resources/api-keys.js +2 -2
  6. package/lib/resources/applications.js +2 -2
  7. package/lib/resources/attachments.js +2 -2
  8. package/lib/resources/auth.js +2 -2
  9. package/lib/resources/blacklist.js +2 -2
  10. package/lib/resources/bulk-submits.js +2 -2
  11. package/lib/resources/bulk-uploads.js +2 -2
  12. package/lib/resources/business-profiles.js +2 -2
  13. package/lib/resources/businesses.js +2 -2
  14. package/lib/resources/claim-items.js +2 -2
  15. package/lib/resources/devices.js +2 -2
  16. package/lib/resources/doc-accounts.js +2 -2
  17. package/lib/resources/documents.js +2 -2
  18. package/lib/resources/emails.js +2 -2
  19. package/lib/resources/filter-options.js +2 -2
  20. package/lib/resources/form-application-templates.js +2 -2
  21. package/lib/resources/form-applications.js +2 -2
  22. package/lib/resources/forms.js +2 -2
  23. package/lib/resources/funder-services.js +2 -2
  24. package/lib/resources/funder-settings.js +2 -2
  25. package/lib/resources/funder-values.js +2 -2
  26. package/lib/resources/funders.js +2 -2
  27. package/lib/resources/futures.js +2 -2
  28. package/lib/resources/health-fund-accounts.js +2 -2
  29. package/lib/resources/health-fund-settings.js +2 -2
  30. package/lib/resources/healthfunds.js +2 -2
  31. package/lib/resources/icditems.js +2 -2
  32. package/lib/resources/invoice-scans.js +2 -2
  33. package/lib/resources/jhcs.js +2 -2
  34. package/lib/resources/kyc.js +2 -2
  35. package/lib/resources/logs.js +2 -2
  36. package/lib/resources/members.js +2 -2
  37. package/lib/resources/message-mappings.js +2 -2
  38. package/lib/resources/minions.js +2 -2
  39. package/lib/resources/modalities.js +2 -2
  40. package/lib/resources/notes.js +2 -2
  41. package/lib/resources/onboarding-applications.js +2 -2
  42. package/lib/resources/onboarding-requests.js +2 -2
  43. package/lib/resources/ops.js +2 -2
  44. package/lib/resources/organisations.js +2 -2
  45. package/lib/resources/partners.js +2 -2
  46. package/lib/resources/patients.js +2 -2
  47. package/lib/resources/payments.js +2 -2
  48. package/lib/resources/pms.js +2 -2
  49. package/lib/resources/practice-profiles.js +2 -2
  50. package/lib/resources/practice-types.js +2 -2
  51. package/lib/resources/practices.js +2 -2
  52. package/lib/resources/products.js +2 -2
  53. package/lib/resources/professional-categories.js +2 -2
  54. package/lib/resources/provider-number-types.js +2 -2
  55. package/lib/resources/provider-registration-types.js +2 -2
  56. package/lib/resources/provider-requests.js +2 -2
  57. package/lib/resources/provider-types.js +2 -2
  58. package/lib/resources/ref-sources.js +2 -2
  59. package/lib/resources/risk.js +2 -2
  60. package/lib/resources/rnas.js +2 -2
  61. package/lib/resources/roles.js +2 -2
  62. package/lib/resources/self-checkout-sessions.js +2 -2
  63. package/lib/resources/services.js +2 -2
  64. package/lib/resources/settlements.js +2 -2
  65. package/lib/resources/sign-up.js +2 -2
  66. package/lib/resources/specialties.js +2 -2
  67. package/lib/resources/staff-profiles.js +2 -2
  68. package/lib/resources/staff.js +2 -2
  69. package/lib/resources/statistics.js +2 -2
  70. package/lib/resources/subscriptions.js +2 -2
  71. package/lib/resources/terminals.js +2 -2
  72. package/lib/resources/transaction-export.js +2 -2
  73. package/lib/resources/transactions.js +2 -2
  74. package/lib/resources/triggers.js +2 -2
  75. package/lib/resources/vendors.js +2 -2
  76. package/lib/resources/verify.js +2 -2
  77. package/lib/resources/workers.js +2 -2
  78. package/lib/resources/workflow-exceptions.js +2 -2
  79. package/lib/services/aws.js +2 -2
  80. package/lib/services/storage.js +1 -1
  81. package/lib/services/version.js +2 -2
  82. package/lib/{staff-43048999.js → staff-979f1af1.js} +562 -562
  83. package/lib/utils/application.js +2 -2
  84. package/lib/utils/base-urls/core.js +0 -2
  85. package/lib/utils/base-urls/risk.js +0 -2
  86. package/lib/utils/professions.js +2 -2
  87. package/lib/utils/regions.js +1 -1
  88. package/lib/utils/request.js +2 -2
  89. package/lib/utils/staff.js +2 -2
  90. package/package.json +2 -2
  91. /package/lib/{regions-d7407c2f.js → regions-5bf75df6.js} +0 -0
@@ -32,7 +32,7 @@ var funders$1 = require('@medipass/utils/funders');
32
32
  var compareVersions = _interopDefault(require('compare-versions'));
33
33
  var index = require('./utils/base-urls/index.js');
34
34
  var _flatten = _interopDefault(require('lodash/flatten'));
35
- var regions = require('./regions-d7407c2f.js');
35
+ var regions = require('./regions-5bf75df6.js');
36
36
 
37
37
  var staffUtils = /*#__PURE__*/Object.freeze({
38
38
  __proto__: null,
@@ -92,7 +92,7 @@ var request = /*#__PURE__*/function () {
92
92
  strippedAxiosRequestOpts = medipassRequestOpts.unrestrictBottleneckOpts ? axiosRequestOpts : module.exports.stripBottleneckOpts(axiosRequestOpts);
93
93
  _context.prev = 5;
94
94
  _context.next = 8;
95
- return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread(_objectSpread({}, strippedAxiosRequestOpts), medipassRequestOpts.requestConfig));
95
+ return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread({}, strippedAxiosRequestOpts, {}, medipassRequestOpts.requestConfig));
96
96
 
97
97
  case 8:
98
98
  res = _context.sent;
@@ -149,7 +149,7 @@ var getAbr = /*#__PURE__*/function () {
149
149
  opts = {};
150
150
  }
151
151
 
152
- return _context.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
152
+ return _context.abrupt("return", request(_objectSpread$1({}, opts, {
153
153
  path: pathGetAbr()
154
154
  }), {
155
155
  method: 'get',
@@ -280,7 +280,7 @@ var createAccountSecretKey = /*#__PURE__*/function () {
280
280
  doesParamExist.default({
281
281
  accountId: accountId
282
282
  }, opts.hyperMediaEndpoint);
283
- return _context.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
283
+ return _context.abrupt("return", request(_objectSpread$2({}, opts, {
284
284
  path: pathAccountSecretKeysByAccountId(accountId)
285
285
  }), {
286
286
  method: 'post'
@@ -318,7 +318,7 @@ var createOrganisationAccount = /*#__PURE__*/function () {
318
318
  doesParamExist.default({
319
319
  organisationId: organisationId
320
320
  }, opts.hyperMediaEndpoint);
321
- return _context2.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
321
+ return _context2.abrupt("return", request(_objectSpread$2({}, opts, {
322
322
  path: pathOrganisationAccounts(organisationId)
323
323
  }), {
324
324
  method: 'post',
@@ -358,7 +358,7 @@ var deleteAccountSecretKey = /*#__PURE__*/function () {
358
358
  accountId: accountId,
359
359
  secretKey: secretKey
360
360
  }, opts.hyperMediaEndpoint);
361
- return _context3.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
361
+ return _context3.abrupt("return", request(_objectSpread$2({}, opts, {
362
362
  path: pathAccountSecretKey(accountId, secretKey)
363
363
  }), {
364
364
  method: 'delete'
@@ -395,7 +395,7 @@ var deleteAccount = /*#__PURE__*/function () {
395
395
  doesParamExist.default({
396
396
  accountId: accountId
397
397
  }, opts.hyperMediaEndpoint);
398
- return _context4.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
398
+ return _context4.abrupt("return", request(_objectSpread$2({}, opts, {
399
399
  path: pathAccountsByAccountId(accountId)
400
400
  }), {
401
401
  method: 'delete'
@@ -432,7 +432,7 @@ var disableAccount = /*#__PURE__*/function () {
432
432
  doesParamExist.default({
433
433
  accountId: accountId
434
434
  }, opts.hyperMediaEndpoint);
435
- return _context5.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
435
+ return _context5.abrupt("return", request(_objectSpread$2({}, opts, {
436
436
  path: pathDisableAccount(accountId)
437
437
  }), {
438
438
  method: 'put'
@@ -469,7 +469,7 @@ var enableAccount = /*#__PURE__*/function () {
469
469
  doesParamExist.default({
470
470
  accountId: accountId
471
471
  }, opts.hyperMediaEndpoint);
472
- return _context6.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
472
+ return _context6.abrupt("return", request(_objectSpread$2({}, opts, {
473
473
  path: pathEnableAccount(accountId)
474
474
  }), {
475
475
  method: 'put'
@@ -504,7 +504,7 @@ var requestAccountReset = /*#__PURE__*/function () {
504
504
  opts = {};
505
505
  }
506
506
 
507
- return _context7.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
507
+ return _context7.abrupt("return", request(_objectSpread$2({}, opts, {
508
508
  path: PATH__REQUEST_ACCOUNT_RESET
509
509
  }), {
510
510
  method: 'post',
@@ -552,17 +552,17 @@ var requestPasswordReset = /*#__PURE__*/function () {
552
552
 
553
553
  if (email) {
554
554
  // @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
555
- data = _objectSpread$2(_objectSpread$2({}, data), {}, {
555
+ data = _objectSpread$2({}, data, {
556
556
  email: email
557
557
  });
558
558
  } else if (accountId) {
559
559
  // @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
560
- data = _objectSpread$2(_objectSpread$2({}, data), {}, {
560
+ data = _objectSpread$2({}, data, {
561
561
  accountId: accountId
562
562
  });
563
563
  }
564
564
 
565
- return _context8.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
565
+ return _context8.abrupt("return", request(_objectSpread$2({}, opts, {
566
566
  path: PATH__REQUEST_PASSWORD_RESET
567
567
  }), {
568
568
  method: 'post',
@@ -607,17 +607,17 @@ var requestMobileReset = /*#__PURE__*/function () {
607
607
 
608
608
  if (email) {
609
609
  // @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
610
- data = _objectSpread$2(_objectSpread$2({}, data), {}, {
610
+ data = _objectSpread$2({}, data, {
611
611
  email: email
612
612
  });
613
613
  } else if (accountId) {
614
614
  // @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
615
- data = _objectSpread$2(_objectSpread$2({}, data), {}, {
615
+ data = _objectSpread$2({}, data, {
616
616
  accountId: accountId
617
617
  });
618
618
  }
619
619
 
620
- return _context9.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
620
+ return _context9.abrupt("return", request(_objectSpread$2({}, opts, {
621
621
  path: PATH__REQUEST_MOBILE_RESET
622
622
  }), {
623
623
  method: 'post',
@@ -652,7 +652,7 @@ var resetAccount = /*#__PURE__*/function () {
652
652
  opts = {};
653
653
  }
654
654
 
655
- return _context10.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
655
+ return _context10.abrupt("return", request(_objectSpread$2({}, opts, {
656
656
  path: PATH__ACCOUNT_RESET
657
657
  }), {
658
658
  method: 'post',
@@ -687,7 +687,7 @@ var resetPassword = /*#__PURE__*/function () {
687
687
  opts = {};
688
688
  }
689
689
 
690
- return _context11.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
690
+ return _context11.abrupt("return", request(_objectSpread$2({}, opts, {
691
691
  path: PATH__ACCOUNT_PASSWORD_RESET
692
692
  }), {
693
693
  method: 'post',
@@ -722,7 +722,7 @@ var resetMobile = /*#__PURE__*/function () {
722
722
  opts = {};
723
723
  }
724
724
 
725
- return _context12.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
725
+ return _context12.abrupt("return", request(_objectSpread$2({}, opts, {
726
726
  path: PATH__ACCOUNT_MOBILE_RESET
727
727
  }), {
728
728
  method: 'post',
@@ -757,7 +757,7 @@ var verifyAccount = /*#__PURE__*/function () {
757
757
  opts = {};
758
758
  }
759
759
 
760
- return _context13.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
760
+ return _context13.abrupt("return", request(_objectSpread$2({}, opts, {
761
761
  path: PATH__ACCOUNT_VERIFY
762
762
  }), {
763
763
  method: 'post',
@@ -796,7 +796,7 @@ var getAccounts = /*#__PURE__*/function () {
796
796
  opts = {};
797
797
  }
798
798
 
799
- return _context14.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
799
+ return _context14.abrupt("return", request(_objectSpread$2({}, opts, {
800
800
  path: PATH__ACCOUNTS
801
801
  }), {
802
802
  method: 'get',
@@ -836,7 +836,7 @@ var getHealthFundAccount = /*#__PURE__*/function () {
836
836
  accountId: accountId,
837
837
  healthFundId: healthFundId
838
838
  }, opts.hyperMediaEndpoint);
839
- return _context15.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
839
+ return _context15.abrupt("return", request(_objectSpread$2({}, opts, {
840
840
  path: pathHealthFundAccount(healthFundId, accountId)
841
841
  }), {
842
842
  method: 'get'
@@ -878,7 +878,7 @@ var getHealthFundAccounts = /*#__PURE__*/function () {
878
878
  doesParamExist.default({
879
879
  healthFundId: healthFundId
880
880
  }, opts.hyperMediaEndpoint);
881
- return _context16.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
881
+ return _context16.abrupt("return", request(_objectSpread$2({}, opts, {
882
882
  path: pathHealthFundAccounts(healthFundId)
883
883
  }), {
884
884
  method: 'get',
@@ -921,7 +921,7 @@ var getOrganisationAccounts = /*#__PURE__*/function () {
921
921
  doesParamExist.default({
922
922
  organisationId: organisationId
923
923
  }, opts.hyperMediaEndpoint);
924
- return _context17.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
924
+ return _context17.abrupt("return", request(_objectSpread$2({}, opts, {
925
925
  path: pathOrganisationAccounts(organisationId)
926
926
  }), {
927
927
  method: 'get',
@@ -961,7 +961,7 @@ var getAccount = /*#__PURE__*/function () {
961
961
  accountId: accountId
962
962
  }, opts.hyperMediaEndpoint);
963
963
  _context18.next = 4;
964
- return request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
964
+ return request(_objectSpread$2({}, opts, {
965
965
  path: pathAccountsByAccountId(accountId)
966
966
  }), {
967
967
  method: 'get'
@@ -1010,7 +1010,7 @@ var getBusinessStaffAccount = /*#__PURE__*/function () {
1010
1010
  staffId: staffId
1011
1011
  }, opts.hyperMediaEndpoint);
1012
1012
  _context19.next = 4;
1013
- return request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1013
+ return request(_objectSpread$2({}, opts, {
1014
1014
  path: pathBusinessStaffAccount(businessId, staffId)
1015
1015
  }), {
1016
1016
  method: 'get'
@@ -1051,7 +1051,7 @@ var getAccountExists = /*#__PURE__*/function () {
1051
1051
  opts = {};
1052
1052
  }
1053
1053
 
1054
- return _context20.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1054
+ return _context20.abrupt("return", request(_objectSpread$2({}, opts, {
1055
1055
  path: pathAccountExists()
1056
1056
  }), {
1057
1057
  method: 'get',
@@ -1089,7 +1089,7 @@ var getAccountRoles = /*#__PURE__*/function () {
1089
1089
  doesParamExist.default({
1090
1090
  accountId: accountId
1091
1091
  }, opts.hyperMediaEndpoint);
1092
- return _context21.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1092
+ return _context21.abrupt("return", request(_objectSpread$2({}, opts, {
1093
1093
  path: pathAccountRolesByAccountId(accountId)
1094
1094
  }), {
1095
1095
  method: 'get'
@@ -1126,7 +1126,7 @@ var getAccountSecretKeys = /*#__PURE__*/function () {
1126
1126
  doesParamExist.default({
1127
1127
  accountId: accountId
1128
1128
  }, opts.hyperMediaEndpoint);
1129
- return _context22.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1129
+ return _context22.abrupt("return", request(_objectSpread$2({}, opts, {
1130
1130
  path: pathAccountSecretKeysByAccountId(accountId)
1131
1131
  }), {
1132
1132
  method: 'get'
@@ -1168,7 +1168,7 @@ var getAccountTransactions = /*#__PURE__*/function () {
1168
1168
  doesParamExist.default({
1169
1169
  accountId: accountId
1170
1170
  }, opts.hyperMediaEndpoint);
1171
- return _context23.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1171
+ return _context23.abrupt("return", request(_objectSpread$2({}, opts, {
1172
1172
  path: pathAccountTransactions(accountId)
1173
1173
  }), {
1174
1174
  method: 'get',
@@ -1207,7 +1207,7 @@ var inviteHealthFundAccount = /*#__PURE__*/function () {
1207
1207
  doesParamExist.default({
1208
1208
  healthFundId: healthFundId
1209
1209
  }, opts.hyperMediaEndpoint);
1210
- return _context24.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1210
+ return _context24.abrupt("return", request(_objectSpread$2({}, opts, {
1211
1211
  path: pathHealthFundAccounts(healthFundId) + "/invites"
1212
1212
  }), {
1213
1213
  method: 'post',
@@ -1247,7 +1247,7 @@ var removeHealthFundFromAccount = /*#__PURE__*/function () {
1247
1247
  accountId: accountId,
1248
1248
  healthFundId: healthFundId
1249
1249
  }, opts.hyperMediaEndpoint);
1250
- return _context25.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1250
+ return _context25.abrupt("return", request(_objectSpread$2({}, opts, {
1251
1251
  path: pathHealthFundAccount(healthFundId, accountId)
1252
1252
  }), {
1253
1253
  method: 'delete'
@@ -1284,7 +1284,7 @@ var requestToVerifyAccount = /*#__PURE__*/function () {
1284
1284
  doesParamExist.default({
1285
1285
  accountId: accountId
1286
1286
  }, opts.hyperMediaEndpoint);
1287
- return _context26.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1287
+ return _context26.abrupt("return", request(_objectSpread$2({}, opts, {
1288
1288
  path: pathRequestVerifyAccount(accountId)
1289
1289
  }), {
1290
1290
  method: 'post'
@@ -1324,7 +1324,7 @@ var signUp = /*#__PURE__*/function () {
1324
1324
  email: email,
1325
1325
  mobile: mobile
1326
1326
  }, opts.hyperMediaEndpoint);
1327
- return _context27.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1327
+ return _context27.abrupt("return", request(_objectSpread$2({}, opts, {
1328
1328
  path: PATH__SIGN_UP
1329
1329
  }), {
1330
1330
  method: 'post',
@@ -1362,7 +1362,7 @@ var acceptInvite = /*#__PURE__*/function () {
1362
1362
  opts = {};
1363
1363
  }
1364
1364
 
1365
- return _context28.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1365
+ return _context28.abrupt("return", request(_objectSpread$2({}, opts, {
1366
1366
  path: PATH__ACCEPT_ACCOUNT_INVITE
1367
1367
  }), {
1368
1368
  method: 'post',
@@ -1403,7 +1403,7 @@ var updateAccount = /*#__PURE__*/function () {
1403
1403
  accountId: accountId
1404
1404
  }, opts.hyperMediaEndpoint);
1405
1405
  _context29.next = 4;
1406
- return request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1406
+ return request(_objectSpread$2({}, opts, {
1407
1407
  path: pathAccountsByAccountId(accountId)
1408
1408
  }), {
1409
1409
  method: 'put',
@@ -1450,7 +1450,7 @@ var updateAccountRoles = /*#__PURE__*/function () {
1450
1450
  doesParamExist.default({
1451
1451
  accountId: accountId
1452
1452
  }, opts.hyperMediaEndpoint);
1453
- return _context30.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1453
+ return _context30.abrupt("return", request(_objectSpread$2({}, opts, {
1454
1454
  path: pathAccountRolesByAccountId(accountId)
1455
1455
  }), {
1456
1456
  method: 'put',
@@ -1493,7 +1493,7 @@ var getAccountPractices = /*#__PURE__*/function () {
1493
1493
  doesParamExist.default({
1494
1494
  accountId: accountId
1495
1495
  }, opts.hyperMediaEndpoint);
1496
- return _context31.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1496
+ return _context31.abrupt("return", request(_objectSpread$2({}, opts, {
1497
1497
  path: pathAccountPractices(accountId)
1498
1498
  }), {
1499
1499
  method: 'get',
@@ -1528,7 +1528,7 @@ var changePassword = /*#__PURE__*/function () {
1528
1528
  opts = {};
1529
1529
  }
1530
1530
 
1531
- return _context32.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1531
+ return _context32.abrupt("return", request(_objectSpread$2({}, opts, {
1532
1532
  path: pathChangePassword()
1533
1533
  }), {
1534
1534
  method: 'post',
@@ -1567,7 +1567,7 @@ var enableTwoFactorAuthentication = /*#__PURE__*/function () {
1567
1567
  doesParamExist.default({
1568
1568
  accountId: accountId
1569
1569
  }, opts.hyperMediaEndpoint);
1570
- return _context33.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1570
+ return _context33.abrupt("return", request(_objectSpread$2({}, opts, {
1571
1571
  path: pathEnableTwoFactorAuthentication(accountId)
1572
1572
  }), {
1573
1573
  method: 'post',
@@ -1606,7 +1606,7 @@ var disableTwoFactorAuthentication = /*#__PURE__*/function () {
1606
1606
  doesParamExist.default({
1607
1607
  accountId: accountId
1608
1608
  }, opts.hyperMediaEndpoint);
1609
- return _context34.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1609
+ return _context34.abrupt("return", request(_objectSpread$2({}, opts, {
1610
1610
  path: pathDisableTwoFactorAuthentication(accountId)
1611
1611
  }), {
1612
1612
  method: 'delete',
@@ -1645,7 +1645,7 @@ var updateTwoFactorAuthentication = /*#__PURE__*/function () {
1645
1645
  doesParamExist.default({
1646
1646
  accountId: accountId
1647
1647
  }, opts.hyperMediaEndpoint);
1648
- return _context35.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1648
+ return _context35.abrupt("return", request(_objectSpread$2({}, opts, {
1649
1649
  path: pathUpdateTwoFactorAuthentication(accountId)
1650
1650
  }), {
1651
1651
  method: 'put',
@@ -1733,7 +1733,7 @@ var getActions = /*#__PURE__*/function () {
1733
1733
  opts = {};
1734
1734
  }
1735
1735
 
1736
- return _context.abrupt("return", request(_objectSpread$3(_objectSpread$3({}, opts), {}, {
1736
+ return _context.abrupt("return", request(_objectSpread$3({}, opts, {
1737
1737
  path: PATH__ACTIONS
1738
1738
  }), {
1739
1739
  method: 'get',
@@ -1768,7 +1768,7 @@ var getAction = /*#__PURE__*/function () {
1768
1768
  opts = {};
1769
1769
  }
1770
1770
 
1771
- return _context2.abrupt("return", request(_objectSpread$3(_objectSpread$3({}, opts), {}, {
1771
+ return _context2.abrupt("return", request(_objectSpread$3({}, opts, {
1772
1772
  path: pathAction(actionId)
1773
1773
  }), {
1774
1774
  method: 'get'
@@ -1822,7 +1822,7 @@ var createApiKey = /*#__PURE__*/function () {
1822
1822
  doesParamExist.default({
1823
1823
  businessId: businessId
1824
1824
  }, opts.hyperMediaEndpoint);
1825
- return _context.abrupt("return", request(_objectSpread$4(_objectSpread$4({}, opts), {}, {
1825
+ return _context.abrupt("return", request(_objectSpread$4({}, opts, {
1826
1826
  path: pathApiKeysByBusinessId(businessId)
1827
1827
  }), {
1828
1828
  method: 'post',
@@ -1861,7 +1861,7 @@ var getBusinessApiKeys = /*#__PURE__*/function () {
1861
1861
  doesParamExist.default({
1862
1862
  businessId: businessId
1863
1863
  }, opts.hyperMediaEndpoint);
1864
- return _context2.abrupt("return", request(_objectSpread$4(_objectSpread$4({}, opts), {}, {
1864
+ return _context2.abrupt("return", request(_objectSpread$4({}, opts, {
1865
1865
  path: pathApiKeysByBusinessId(businessId)
1866
1866
  }), {
1867
1867
  method: 'get',
@@ -1901,7 +1901,7 @@ var deleteApiKey = /*#__PURE__*/function () {
1901
1901
  businessId: businessId,
1902
1902
  apiKeyId: apiKeyId
1903
1903
  }, opts.hyperMediaEndpoint);
1904
- return _context3.abrupt("return", request(_objectSpread$4(_objectSpread$4({}, opts), {}, {
1904
+ return _context3.abrupt("return", request(_objectSpread$4({}, opts, {
1905
1905
  path: pathApiKeyByApiKeyId(businessId, apiKeyId)
1906
1906
  }), {
1907
1907
  method: 'delete'
@@ -1969,7 +1969,7 @@ var getClaimAttachmentUrl = function getClaimAttachmentUrl(businessId, practiceI
1969
1969
  practiceId: practiceId,
1970
1970
  staffId: staffId
1971
1971
  }, opts.hyperMediaEndpoint);
1972
- return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
1972
+ return request(_objectSpread$5({}, opts, {
1973
1973
  path: pathGetClaimAttachmentUrl(businessId, practiceId, staffId)
1974
1974
  }), {
1975
1975
  method: 'get',
@@ -1995,7 +1995,7 @@ var scanClaimFile = function scanClaimFile(businessId, practiceId, staffId, body
1995
1995
  practiceId: practiceId,
1996
1996
  staffId: staffId
1997
1997
  }, opts.hyperMediaEndpoint);
1998
- return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
1998
+ return request(_objectSpread$5({}, opts, {
1999
1999
  path: pathScanClaimFile(businessId, practiceId, staffId)
2000
2000
  }), {
2001
2001
  method: 'post',
@@ -2023,7 +2023,7 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
2023
2023
  staffId: staffId,
2024
2024
  s3SignedUrlId: s3SignedUrlId
2025
2025
  }, opts.hyperMediaEndpoint);
2026
- return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2026
+ return request(_objectSpread$5({}, opts, {
2027
2027
  path: pathGetS3SignedUrl(businessId, practiceId, staffId, s3SignedUrlId)
2028
2028
  }), {
2029
2029
  method: 'get',
@@ -2045,7 +2045,7 @@ var scanFile = function scanFile(businessId, body, opts) {
2045
2045
  doesParamExist.default({
2046
2046
  businessId: businessId
2047
2047
  }, opts.hyperMediaEndpoint);
2048
- return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2048
+ return request(_objectSpread$5({}, opts, {
2049
2049
  path: pathScanFile(businessId)
2050
2050
  }), {
2051
2051
  method: 'post',
@@ -2067,7 +2067,7 @@ var getAttachmentUrl = function getAttachmentUrl(businessId, query, opts) {
2067
2067
  doesParamExist.default({
2068
2068
  businessId: businessId
2069
2069
  }, opts.hyperMediaEndpoint);
2070
- return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2070
+ return request(_objectSpread$5({}, opts, {
2071
2071
  path: pathGetAttachmentUrl(businessId)
2072
2072
  }), {
2073
2073
  method: 'get',
@@ -2091,7 +2091,7 @@ var getBusinessS3SignedUrl = function getBusinessS3SignedUrl(businessId, s3Signe
2091
2091
  businessId: businessId,
2092
2092
  s3SignedUrlId: s3SignedUrlId
2093
2093
  }, opts.hyperMediaEndpoint);
2094
- return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2094
+ return request(_objectSpread$5({}, opts, {
2095
2095
  path: pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId)
2096
2096
  }), {
2097
2097
  method: 'get',
@@ -2166,7 +2166,7 @@ var checkDupe = /*#__PURE__*/function () {
2166
2166
  opts = {};
2167
2167
  }
2168
2168
 
2169
- return _context.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2169
+ return _context.abrupt("return", request(_objectSpread$6({}, opts, {
2170
2170
  path: PATH__MEMBERS + "/checkdupe"
2171
2171
  }), {
2172
2172
  method: 'post',
@@ -2202,7 +2202,7 @@ var createAccountMember = /*#__PURE__*/function () {
2202
2202
  opts = {};
2203
2203
  }
2204
2204
 
2205
- return _context2.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2205
+ return _context2.abrupt("return", request(_objectSpread$6({}, opts, {
2206
2206
  path: pathAccountMembers(accountId)
2207
2207
  }), {
2208
2208
  method: 'post',
@@ -2241,7 +2241,7 @@ var deleteMember = /*#__PURE__*/function () {
2241
2241
  doesParamExist.default({
2242
2242
  memberId: memberId
2243
2243
  }, opts.hyperMediaEndpoint);
2244
- return _context3.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2244
+ return _context3.abrupt("return", request(_objectSpread$6({}, opts, {
2245
2245
  path: pathMember(memberId)
2246
2246
  }), {
2247
2247
  method: 'delete'
@@ -2275,7 +2275,7 @@ var discoverMember = /*#__PURE__*/function () {
2275
2275
  opts = {};
2276
2276
  }
2277
2277
 
2278
- return _context4.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2278
+ return _context4.abrupt("return", request(_objectSpread$6({}, opts, {
2279
2279
  path: PATH__DISCOVER_MEMBERS
2280
2280
  }), {
2281
2281
  method: 'get',
@@ -2314,7 +2314,7 @@ var inviteAnyone = /*#__PURE__*/function () {
2314
2314
  doesParamExist.default({
2315
2315
  businessId: businessId
2316
2316
  }, opts.hyperMediaEndpoint);
2317
- return _context5.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2317
+ return _context5.abrupt("return", request(_objectSpread$6({}, opts, {
2318
2318
  path: pathBusinessMembers(businessId) + "/invites"
2319
2319
  }), {
2320
2320
  method: 'post',
@@ -2352,7 +2352,7 @@ var inviteMember = /*#__PURE__*/function () {
2352
2352
  doesParamExist.default({
2353
2353
  memberId: memberId
2354
2354
  }, opts.hyperMediaEndpoint);
2355
- return _context6.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2355
+ return _context6.abrupt("return", request(_objectSpread$6({}, opts, {
2356
2356
  path: pathMember(memberId) + "/invites"
2357
2357
  }), {
2358
2358
  method: 'post'
@@ -2391,7 +2391,7 @@ var getAccountMembers = /*#__PURE__*/function () {
2391
2391
  opts = {};
2392
2392
  }
2393
2393
 
2394
- return _context7.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2394
+ return _context7.abrupt("return", request(_objectSpread$6({}, opts, {
2395
2395
  path: pathAccountMembers(accountId)
2396
2396
  }), {
2397
2397
  method: 'get',
@@ -2430,7 +2430,7 @@ var getMembersForHealthFund = /*#__PURE__*/function () {
2430
2430
  opts = {};
2431
2431
  }
2432
2432
 
2433
- return _context8.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2433
+ return _context8.abrupt("return", request(_objectSpread$6({}, opts, {
2434
2434
  path: pathMembersForHealthFund(healthFundId)
2435
2435
  }), {
2436
2436
  method: 'get',
@@ -2466,7 +2466,7 @@ var getHealthFundMemberByMemberId = /*#__PURE__*/function () {
2466
2466
  opts = {};
2467
2467
  }
2468
2468
 
2469
- return _context9.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2469
+ return _context9.abrupt("return", request(_objectSpread$6({}, opts, {
2470
2470
  path: pathHealthFundMemberByMemberId(healthFundId, memberId)
2471
2471
  }), {
2472
2472
  method: 'get'
@@ -2508,7 +2508,7 @@ var getBusinessMembers = /*#__PURE__*/function () {
2508
2508
  doesParamExist.default({
2509
2509
  businessId: businessId
2510
2510
  }, opts.hyperMediaEndpoint);
2511
- return _context10.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2511
+ return _context10.abrupt("return", request(_objectSpread$6({}, opts, {
2512
2512
  path: pathBusinessMembers(businessId)
2513
2513
  }), {
2514
2514
  method: 'get',
@@ -2547,7 +2547,7 @@ var getBusinessMember = /*#__PURE__*/function () {
2547
2547
  doesParamExist.default({
2548
2548
  businessId: businessId
2549
2549
  }, opts.hyperMediaEndpoint);
2550
- return _context11.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2550
+ return _context11.abrupt("return", request(_objectSpread$6({}, opts, {
2551
2551
  path: pathBusinessMember(businessId, memberId)
2552
2552
  }), {
2553
2553
  method: 'get'
@@ -2584,7 +2584,7 @@ var getMembers = /*#__PURE__*/function () {
2584
2584
  opts = {};
2585
2585
  }
2586
2586
 
2587
- return _context12.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2587
+ return _context12.abrupt("return", request(_objectSpread$6({}, opts, {
2588
2588
  path: PATH__MEMBERS
2589
2589
  }), {
2590
2590
  method: 'get',
@@ -2624,7 +2624,7 @@ var getMember = /*#__PURE__*/function () {
2624
2624
  memberId: memberId
2625
2625
  }, opts.hyperMediaEndpoint);
2626
2626
  _context13.next = 4;
2627
- return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2627
+ return request(_objectSpread$6({}, opts, {
2628
2628
  path: pathMember(memberId)
2629
2629
  }), {
2630
2630
  method: 'get'
@@ -2673,7 +2673,7 @@ var updateMember = /*#__PURE__*/function () {
2673
2673
  memberId: memberId
2674
2674
  }, opts.hyperMediaEndpoint);
2675
2675
  _context14.next = 4;
2676
- return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2676
+ return request(_objectSpread$6({}, opts, {
2677
2677
  path: pathMember(memberId)
2678
2678
  }), {
2679
2679
  method: 'put',
@@ -2761,7 +2761,7 @@ var registerDevice = /*#__PURE__*/function () {
2761
2761
  _context.prev = 1;
2762
2762
  isRegistering = true;
2763
2763
  _context.next = 5;
2764
- return request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
2764
+ return request(_objectSpread$7({}, opts, {
2765
2765
  path: PATH__DEVICES
2766
2766
  }), {
2767
2767
  method: 'post',
@@ -2873,7 +2873,7 @@ var updateDevice = /*#__PURE__*/function () {
2873
2873
  doesParamExist.default({
2874
2874
  deviceId: deviceId
2875
2875
  }, opts.hyperMediaEndpoint);
2876
- return _context3.abrupt("return", request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
2876
+ return _context3.abrupt("return", request(_objectSpread$7({}, opts, {
2877
2877
  path: pathDeviceByDeviceId(deviceId)
2878
2878
  }), {
2879
2879
  method: 'put',
@@ -2943,7 +2943,7 @@ var setupAccountResources = /*#__PURE__*/function () {
2943
2943
  case 6:
2944
2944
  member = _context.sent;
2945
2945
  sdkClient.setMember(member);
2946
- return _context.abrupt("return", _objectSpread$8(_objectSpread$8({}, account), {}, {
2946
+ return _context.abrupt("return", _objectSpread$8({}, account, {
2947
2947
  _member: member
2948
2948
  }));
2949
2949
 
@@ -3000,7 +3000,7 @@ var login = /*#__PURE__*/function () {
3000
3000
  }
3001
3001
 
3002
3002
  _context2.next = 6;
3003
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3003
+ return request(_objectSpread$8({}, opts, {
3004
3004
  path: PATH__AUTH,
3005
3005
  getFullResponse: true
3006
3006
  }), {
@@ -3127,7 +3127,7 @@ var impersonate = /*#__PURE__*/function () {
3127
3127
  doesParamExist.default({
3128
3128
  accountId: accountId
3129
3129
  }, opts.hyperMediaEndpoint);
3130
- return _context4.abrupt("return", request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3130
+ return _context4.abrupt("return", request(_objectSpread$8({}, opts, {
3131
3131
  getFullResponse: true,
3132
3132
  path: pathImpersonateAccount(accountId)
3133
3133
  }), {
@@ -3159,7 +3159,7 @@ var logout = /*#__PURE__*/function () {
3159
3159
  switch (_context5.prev = _context5.next) {
3160
3160
  case 0:
3161
3161
  _context5.next = 2;
3162
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3162
+ return request(_objectSpread$8({}, opts, {
3163
3163
  getFullResponse: true,
3164
3164
  path: PATH__AUTH
3165
3165
  }), {
@@ -3202,7 +3202,7 @@ var requestOtk = /*#__PURE__*/function () {
3202
3202
  accountId: accountId
3203
3203
  }, requestBody), _isEmpty);
3204
3204
  _context6.next = 3;
3205
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3205
+ return request(_objectSpread$8({}, opts, {
3206
3206
  getFullResponse: true,
3207
3207
  path: PATH__OTK
3208
3208
  }), {
@@ -3247,7 +3247,7 @@ var generateAuthy = /*#__PURE__*/function () {
3247
3247
  accountId: accountId
3248
3248
  }, opts.hyperMediaEndpoint);
3249
3249
  _context7.next = 4;
3250
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3250
+ return request(_objectSpread$8({}, opts, {
3251
3251
  path: pathAuthy(accountId),
3252
3252
  getFullResponse: true
3253
3253
  }), {
@@ -3291,7 +3291,7 @@ var removeAuthy = /*#__PURE__*/function () {
3291
3291
  accountId: accountId
3292
3292
  }, opts.hyperMediaEndpoint);
3293
3293
  _context8.next = 4;
3294
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3294
+ return request(_objectSpread$8({}, opts, {
3295
3295
  path: pathAuthy(accountId),
3296
3296
  getFullResponse: true
3297
3297
  }), {
@@ -3336,7 +3336,7 @@ var verifyAuthy = /*#__PURE__*/function () {
3336
3336
  accountId: accountId
3337
3337
  }, opts.hyperMediaEndpoint);
3338
3338
  _context9.next = 4;
3339
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3339
+ return request(_objectSpread$8({}, opts, {
3340
3340
  path: pathAuthyVerify(accountId),
3341
3341
  getFullResponse: true
3342
3342
  }), {
@@ -3385,7 +3385,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
3385
3385
  }, opts.hyperMediaEndpoint);
3386
3386
  sdkClient.setToken("Bearer " + apiKey);
3387
3387
  _context10.next = 5;
3388
- return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3388
+ return request(_objectSpread$8({}, opts, {
3389
3389
  path: PATH__AUTH_TOKEN
3390
3390
  }), {
3391
3391
  method: 'post',
@@ -3450,7 +3450,7 @@ var getSelfApplication = function getSelfApplication(opts) {
3450
3450
  opts = {};
3451
3451
  }
3452
3452
 
3453
- return request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3453
+ return request(_objectSpread$9({}, opts, {
3454
3454
  path: PATH__SELF_APPLICATION
3455
3455
  }), {
3456
3456
  method: 'get'
@@ -3471,7 +3471,7 @@ var getApplications = function getApplications(query, opts) {
3471
3471
  opts = {};
3472
3472
  }
3473
3473
 
3474
- return request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3474
+ return request(_objectSpread$9({}, opts, {
3475
3475
  path: PATH__APPLICATIONS
3476
3476
  }), {
3477
3477
  method: 'get',
@@ -3492,7 +3492,7 @@ var getApplication = function getApplication(applicationId, opts) {
3492
3492
  doesParamExist.default({
3493
3493
  applicationId: applicationId
3494
3494
  }, opts.hyperMediaEndpoint);
3495
- return request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3495
+ return request(_objectSpread$9({}, opts, {
3496
3496
  path: pathApplication(applicationId)
3497
3497
  }), {
3498
3498
  method: 'get'
@@ -3513,7 +3513,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
3513
3513
  doesParamExist.default({
3514
3514
  applicationId: applicationId
3515
3515
  }, opts.hyperMediaEndpoint);
3516
- return request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3516
+ return request(_objectSpread$9({}, opts, {
3517
3517
  path: pathApplication(applicationId)
3518
3518
  }), {
3519
3519
  method: 'put',
@@ -3531,7 +3531,7 @@ var createApplication = function createApplication(body, opts) {
3531
3531
  opts = {};
3532
3532
  }
3533
3533
 
3534
- return request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3534
+ return request(_objectSpread$9({}, opts, {
3535
3535
  path: PATH__APPLICATIONS
3536
3536
  }), {
3537
3537
  method: 'post',
@@ -3568,7 +3568,7 @@ var createBlacklistedBankAccount = /*#__PURE__*/function () {
3568
3568
  opts = {};
3569
3569
  }
3570
3570
 
3571
- return _context.abrupt("return", request(_objectSpread$a(_objectSpread$a({}, opts), {}, {
3571
+ return _context.abrupt("return", request(_objectSpread$a({}, opts, {
3572
3572
  path: PATH_BLACKLIST_BANK_ACCOUNT
3573
3573
  }), {
3574
3574
  method: 'post',
@@ -3603,7 +3603,7 @@ var getBlacklistedBankAccounts = /*#__PURE__*/function () {
3603
3603
  opts = {};
3604
3604
  }
3605
3605
 
3606
- return _context2.abrupt("return", request(_objectSpread$a(_objectSpread$a({}, opts), {}, {
3606
+ return _context2.abrupt("return", request(_objectSpread$a({}, opts, {
3607
3607
  path: PATH_BLACKLIST_BANK_ACCOUNT
3608
3608
  }), {
3609
3609
  method: 'get',
@@ -3656,7 +3656,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
3656
3656
  doesParamExist.default({
3657
3657
  businessId: businessId
3658
3658
  });
3659
- return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3659
+ return request(_objectSpread$b({}, opts, {
3660
3660
  path: pathBusinessBulkUploads(businessId)
3661
3661
  }), {
3662
3662
  method: 'post',
@@ -3680,7 +3680,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
3680
3680
  businessId: businessId,
3681
3681
  bulkUploadId: bulkUploadId
3682
3682
  });
3683
- return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3683
+ return request(_objectSpread$b({}, opts, {
3684
3684
  path: pathBusinessBulkUpload(businessId, bulkUploadId)
3685
3685
  }), {
3686
3686
  method: 'get'
@@ -3701,7 +3701,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
3701
3701
  doesParamExist.default({
3702
3702
  businessId: businessId
3703
3703
  });
3704
- return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3704
+ return request(_objectSpread$b({}, opts, {
3705
3705
  path: pathBusinessBulkUploadUrl(businessId)
3706
3706
  }), {
3707
3707
  method: 'get',
@@ -3748,7 +3748,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
3748
3748
  doesParamExist.default({
3749
3749
  businessId: businessId
3750
3750
  }, opts.hyperMediaEndpoint);
3751
- return _context.abrupt("return", request(_objectSpread$c(_objectSpread$c({}, opts), {}, {
3751
+ return _context.abrupt("return", request(_objectSpread$c({}, opts, {
3752
3752
  path: pathSubmitDraftInvoices(businessId)
3753
3753
  }), {
3754
3754
  method: 'post',
@@ -3788,7 +3788,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
3788
3788
  businessId: businessId,
3789
3789
  bulkSubmitId: bulkSubmitId
3790
3790
  }, opts.hyperMediaEndpoint);
3791
- return _context2.abrupt("return", request(_objectSpread$c(_objectSpread$c({}, opts), {}, {
3791
+ return _context2.abrupt("return", request(_objectSpread$c({}, opts, {
3792
3792
  path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
3793
3793
  }), {
3794
3794
  method: 'get',
@@ -3836,7 +3836,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
3836
3836
  doesParamExist.default({
3837
3837
  organisationId: organisationId
3838
3838
  }, opts.hyperMediaEndpoint);
3839
- return request(_objectSpread$d(_objectSpread$d({}, opts), {}, {
3839
+ return request(_objectSpread$d({}, opts, {
3840
3840
  path: pathOrganisationBusinessProfiles(organisationId)
3841
3841
  }), {
3842
3842
  method: 'get',
@@ -3855,7 +3855,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
3855
3855
  var body = {
3856
3856
  businessId: businessId
3857
3857
  };
3858
- return request(_objectSpread$d(_objectSpread$d({}, opts), {}, {
3858
+ return request(_objectSpread$d({}, opts, {
3859
3859
  path: pathLinkBusinessProfile(businessProfileId)
3860
3860
  }), {
3861
3861
  method: 'put',
@@ -3870,7 +3870,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
3870
3870
  doesParamExist.default({
3871
3871
  businessProfileId: businessProfileId
3872
3872
  }, opts.hyperMediaEndpoint);
3873
- return request(_objectSpread$d(_objectSpread$d({}, opts), {}, {
3873
+ return request(_objectSpread$d({}, opts, {
3874
3874
  path: pathUnlinkBusinessProfile(businessProfileId)
3875
3875
  }), {
3876
3876
  method: 'put'
@@ -3985,7 +3985,7 @@ var createBusiness = function createBusiness(body, opts) {
3985
3985
  opts = {};
3986
3986
  }
3987
3987
 
3988
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
3988
+ return request(_objectSpread$e({}, opts, {
3989
3989
  path: PATH__BUSINESSES
3990
3990
  }), {
3991
3991
  method: 'post',
@@ -4007,7 +4007,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
4007
4007
  doesParamExist.default({
4008
4008
  organisationId: organisationId
4009
4009
  }, opts.hyperMediaEndpoint);
4010
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4010
+ return request(_objectSpread$e({}, opts, {
4011
4011
  path: pathOrganisationBusiness(organisationId)
4012
4012
  }), {
4013
4013
  method: 'post',
@@ -4028,7 +4028,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
4028
4028
  doesParamExist.default({
4029
4029
  businessId: businessId
4030
4030
  }, opts.hyperMediaEndpoint);
4031
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4031
+ return request(_objectSpread$e({}, opts, {
4032
4032
  path: pathBusiness(businessId)
4033
4033
  }), {
4034
4034
  method: 'delete'
@@ -4049,7 +4049,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
4049
4049
  doesParamExist.default({
4050
4050
  businessId: businessId
4051
4051
  }, opts.hyperMediaEndpoint);
4052
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4052
+ return request(_objectSpread$e({}, opts, {
4053
4053
  path: pathDisableBusiness(businessId)
4054
4054
  }), {
4055
4055
  method: 'post',
@@ -4071,7 +4071,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
4071
4071
  doesParamExist.default({
4072
4072
  businessId: businessId
4073
4073
  }, opts.hyperMediaEndpoint);
4074
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4074
+ return request(_objectSpread$e({}, opts, {
4075
4075
  path: pathBusinessOnboardingQuestions(businessId)
4076
4076
  }), {
4077
4077
  method: 'post',
@@ -4093,7 +4093,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
4093
4093
  doesParamExist.default({
4094
4094
  businessId: businessId
4095
4095
  }, opts.hyperMediaEndpoint);
4096
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4096
+ return request(_objectSpread$e({}, opts, {
4097
4097
  path: pathEnableBusiness(businessId)
4098
4098
  }), {
4099
4099
  method: 'post',
@@ -4119,7 +4119,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
4119
4119
  doesParamExist.default({
4120
4120
  businessId: businessId
4121
4121
  }, opts.hyperMediaEndpoint);
4122
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4122
+ return request(_objectSpread$e({}, opts, {
4123
4123
  path: pathBusiness(businessId)
4124
4124
  }), {
4125
4125
  method: 'get',
@@ -4145,7 +4145,7 @@ var getBusinessBillingHistoryRecords = function getBusinessBillingHistoryRecords
4145
4145
  doesParamExist.default({
4146
4146
  businessId: businessId
4147
4147
  }, opts.hyperMediaEndpoint);
4148
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4148
+ return request(_objectSpread$e({}, opts, {
4149
4149
  path: pathGetBusinessBillingHistoryRecords(businessId)
4150
4150
  }), {
4151
4151
  method: 'get',
@@ -4173,7 +4173,7 @@ var getBusinessBillingHistoryRecord = function getBusinessBillingHistoryRecord(b
4173
4173
  businessId: businessId,
4174
4174
  billingHistoryId: billingHistoryId
4175
4175
  }, opts.hyperMediaEndpoint);
4176
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4176
+ return request(_objectSpread$e({}, opts, {
4177
4177
  path: pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId)
4178
4178
  }), {
4179
4179
  method: 'get',
@@ -4195,7 +4195,7 @@ var getBusinesses = function getBusinesses(query, opts) {
4195
4195
  opts = {};
4196
4196
  }
4197
4197
 
4198
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4198
+ return request(_objectSpread$e({}, opts, {
4199
4199
  path: PATH__BUSINESSES
4200
4200
  }), {
4201
4201
  method: 'get',
@@ -4217,7 +4217,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
4217
4217
  opts = {};
4218
4218
  }
4219
4219
 
4220
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4220
+ return request(_objectSpread$e({}, opts, {
4221
4221
  path: PATH__MY_BUSINESSES
4222
4222
  }), {
4223
4223
  method: 'get',
@@ -4239,7 +4239,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
4239
4239
  doesParamExist.default({
4240
4240
  businessId: businessId
4241
4241
  }, opts.hyperMediaEndpoint);
4242
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4242
+ return request(_objectSpread$e({}, opts, {
4243
4243
  path: pathBusiness(businessId) + "/pdfs"
4244
4244
  }), {
4245
4245
  method: 'post',
@@ -4266,7 +4266,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
4266
4266
  doesParamExist.default({
4267
4267
  accountId: accountId
4268
4268
  }, opts.hyperMediaEndpoint);
4269
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4269
+ return request(_objectSpread$e({}, opts, {
4270
4270
  path: pathAccountsBusinesses(accountId)
4271
4271
  }), {
4272
4272
  method: 'get',
@@ -4292,7 +4292,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
4292
4292
  doesParamExist.default({
4293
4293
  organisationId: organisationId
4294
4294
  }, opts.hyperMediaEndpoint);
4295
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4295
+ return request(_objectSpread$e({}, opts, {
4296
4296
  path: pathOrganisationBusiness(organisationId)
4297
4297
  }), {
4298
4298
  method: 'get',
@@ -4314,7 +4314,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
4314
4314
  doesParamExist.default({
4315
4315
  businessId: businessId
4316
4316
  }, opts.hyperMediaEndpoint);
4317
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4317
+ return request(_objectSpread$e({}, opts, {
4318
4318
  path: pathBusiness(businessId)
4319
4319
  }), {
4320
4320
  method: 'put',
@@ -4336,7 +4336,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
4336
4336
  doesParamExist.default({
4337
4337
  businessId: businessId
4338
4338
  }, opts.hyperMediaEndpoint);
4339
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4339
+ return request(_objectSpread$e({}, opts, {
4340
4340
  path: pathUnsuspendBusiness(businessId)
4341
4341
  }), {
4342
4342
  method: 'post',
@@ -4358,7 +4358,7 @@ var verifyMedicare = function verifyMedicare(businessId, body, opts) {
4358
4358
  doesParamExist.default({
4359
4359
  businessId: businessId
4360
4360
  }, opts.hyperMediaEndpoint);
4361
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4361
+ return request(_objectSpread$e({}, opts, {
4362
4362
  path: pathVerifyMedicare(businessId)
4363
4363
  }), {
4364
4364
  method: 'post',
@@ -4380,7 +4380,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
4380
4380
  doesParamExist.default({
4381
4381
  businessId: businessId
4382
4382
  }, opts.hyperMediaEndpoint);
4383
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4383
+ return request(_objectSpread$e({}, opts, {
4384
4384
  path: oldPathVerifyDVA(businessId)
4385
4385
  }), {
4386
4386
  method: 'post',
@@ -4402,7 +4402,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
4402
4402
  doesParamExist.default({
4403
4403
  businessId: businessId
4404
4404
  }, opts.hyperMediaEndpoint);
4405
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4405
+ return request(_objectSpread$e({}, opts, {
4406
4406
  path: pathVerifyDVA(businessId)
4407
4407
  }), {
4408
4408
  method: 'post',
@@ -4424,7 +4424,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
4424
4424
  doesParamExist.default({
4425
4425
  businessId: businessId
4426
4426
  }, opts.hyperMediaEndpoint);
4427
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4427
+ return request(_objectSpread$e({}, opts, {
4428
4428
  path: pathVerifyIcare(businessId)
4429
4429
  }), {
4430
4430
  method: 'post',
@@ -4450,7 +4450,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
4450
4450
  staffId: staffId,
4451
4451
  providerSetItemId: providerSetItemId
4452
4452
  }, opts.hyperMediaEndpoint);
4453
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4453
+ return request(_objectSpread$e({}, opts, {
4454
4454
  path: pathVerifyComcare(businessId, staffId, providerSetItemId)
4455
4455
  }), {
4456
4456
  method: 'post',
@@ -4472,7 +4472,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
4472
4472
  doesParamExist.default({
4473
4473
  businessId: businessId
4474
4474
  }, opts.hyperMediaEndpoint);
4475
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4475
+ return request(_objectSpread$e({}, opts, {
4476
4476
  path: pathCreateSupportNote(businessId)
4477
4477
  }), {
4478
4478
  method: 'post',
@@ -4494,7 +4494,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
4494
4494
  doesParamExist.default({
4495
4495
  businessId: businessId
4496
4496
  }, opts.hyperMediaEndpoint);
4497
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4497
+ return request(_objectSpread$e({}, opts, {
4498
4498
  path: pathBsbDetails(businessId)
4499
4499
  }), {
4500
4500
  method: 'get',
@@ -4516,7 +4516,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
4516
4516
  doesParamExist.default({
4517
4517
  businessId: businessId
4518
4518
  }, opts.hyperMediaEndpoint);
4519
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4519
+ return request(_objectSpread$e({}, opts, {
4520
4520
  path: pathBusinessSendEmails(businessId)
4521
4521
  }), {
4522
4522
  method: 'post',
@@ -4538,7 +4538,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
4538
4538
  doesParamExist.default({
4539
4539
  businessId: businessId
4540
4540
  }, opts.hyperMediaEndpoint);
4541
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4541
+ return request(_objectSpread$e({}, opts, {
4542
4542
  path: pathSuspendBusiness(businessId)
4543
4543
  }), {
4544
4544
  method: 'post',
@@ -4559,7 +4559,7 @@ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, que
4559
4559
  doesParamExist.default({
4560
4560
  businessId: businessId
4561
4561
  }, opts.hyperMediaEndpoint);
4562
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4562
+ return request(_objectSpread$e({}, opts, {
4563
4563
  path: pathGetOrgByHealthFundExists(businessId)
4564
4564
  }), {
4565
4565
  method: 'get',
@@ -4581,7 +4581,7 @@ var submitHealthPointManualOnboarding = function submitHealthPointManualOnboardi
4581
4581
  doesParamExist.default({
4582
4582
  businessId: businessId
4583
4583
  }, opts.hyperMediaEndpoint);
4584
- return request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4584
+ return request(_objectSpread$e({}, opts, {
4585
4585
  path: pathSubmitHealthPointManualOnboarding(businessId)
4586
4586
  }), {
4587
4587
  method: 'post',
@@ -4668,7 +4668,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
4668
4668
  doesParamExist.default({
4669
4669
  businessId: businessId
4670
4670
  }, opts.hyperMediaEndpoint);
4671
- return _context.abrupt("return", request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4671
+ return _context.abrupt("return", request(_objectSpread$f({}, opts, {
4672
4672
  path: pathBusinessClaimItems(businessId)
4673
4673
  }), {
4674
4674
  method: 'get',
@@ -4713,7 +4713,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
4713
4713
  businessId: businessId,
4714
4714
  claimItemId: claimItemId
4715
4715
  }, opts.hyperMediaEndpoint);
4716
- return _context2.abrupt("return", request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4716
+ return _context2.abrupt("return", request(_objectSpread$f({}, opts, {
4717
4717
  path: pathBusinessClaimItem(businessId, claimItemId)
4718
4718
  }), {
4719
4719
  method: 'get',
@@ -4756,7 +4756,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
4756
4756
  doesParamExist.default({
4757
4757
  healthFundId: healthFundId
4758
4758
  }, opts.hyperMediaEndpoint);
4759
- return _context3.abrupt("return", request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4759
+ return _context3.abrupt("return", request(_objectSpread$f({}, opts, {
4760
4760
  path: pathHealthFundClaimItems(healthFundId)
4761
4761
  }), {
4762
4762
  method: 'get',
@@ -4801,7 +4801,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
4801
4801
  healthFundId: healthFundId,
4802
4802
  claimItemId: claimItemId
4803
4803
  }, opts.hyperMediaEndpoint);
4804
- return _context4.abrupt("return", request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4804
+ return _context4.abrupt("return", request(_objectSpread$f({}, opts, {
4805
4805
  path: pathHealthFundClaimItem(healthFundId, claimItemId)
4806
4806
  }), {
4807
4807
  method: 'get',
@@ -4858,7 +4858,7 @@ var getDocAccounts = /*#__PURE__*/function () {
4858
4858
  opts = {};
4859
4859
  }
4860
4860
 
4861
- return _context.abrupt("return", request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4861
+ return _context.abrupt("return", request(_objectSpread$g({}, opts, {
4862
4862
  path: PATH__DOC_ACCOUNTS
4863
4863
  }), {
4864
4864
  method: 'get',
@@ -4896,7 +4896,7 @@ var getDocAccount = /*#__PURE__*/function () {
4896
4896
  doesParamExist.default({
4897
4897
  partnerId: partnerId
4898
4898
  }, opts.hyperMediaEndpoint);
4899
- return _context2.abrupt("return", request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4899
+ return _context2.abrupt("return", request(_objectSpread$g({}, opts, {
4900
4900
  path: pathDocAccount(partnerId)
4901
4901
  }), {
4902
4902
  method: 'get'
@@ -4930,7 +4930,7 @@ var createDocAccount = /*#__PURE__*/function () {
4930
4930
  opts = {};
4931
4931
  }
4932
4932
 
4933
- return _context3.abrupt("return", request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4933
+ return _context3.abrupt("return", request(_objectSpread$g({}, opts, {
4934
4934
  path: PATH__DOC_ACCOUNTS
4935
4935
  }), {
4936
4936
  method: 'post',
@@ -4969,7 +4969,7 @@ var updateDocAccount = /*#__PURE__*/function () {
4969
4969
  doesParamExist.default({
4970
4970
  docAccountId: docAccountId
4971
4971
  }, opts.hyperMediaEndpoint);
4972
- return _context4.abrupt("return", request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4972
+ return _context4.abrupt("return", request(_objectSpread$g({}, opts, {
4973
4973
  path: pathDocAccount(docAccountId)
4974
4974
  }), {
4975
4975
  method: 'put',
@@ -5007,7 +5007,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
5007
5007
  doesParamExist.default({
5008
5008
  docAccountId: docAccountId
5009
5009
  }, opts.hyperMediaEndpoint);
5010
- return _context5.abrupt("return", request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
5010
+ return _context5.abrupt("return", request(_objectSpread$g({}, opts, {
5011
5011
  path: pathDocAccount(docAccountId)
5012
5012
  }), {
5013
5013
  method: 'delete'
@@ -5093,7 +5093,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
5093
5093
  healthFundId: healthFundId,
5094
5094
  documentId: documentId
5095
5095
  }, opts.hyperMediaEndpoint);
5096
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5096
+ return request(_objectSpread$h({}, opts, {
5097
5097
  path: pathHealthFundDocumentApprove(healthFundId, documentId)
5098
5098
  }), {
5099
5099
  method: 'post'
@@ -5115,7 +5115,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
5115
5115
  healthFundId: healthFundId,
5116
5116
  documentId: documentId
5117
5117
  }, opts.hyperMediaEndpoint);
5118
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5118
+ return request(_objectSpread$h({}, opts, {
5119
5119
  path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
5120
5120
  }), {
5121
5121
  method: 'put'
@@ -5137,7 +5137,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
5137
5137
  businessId: businessId,
5138
5138
  documentId: documentId
5139
5139
  }, opts.hyperMediaEndpoint);
5140
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5140
+ return request(_objectSpread$h({}, opts, {
5141
5141
  path: pathBusinessDocumentCancel(businessId, documentId)
5142
5142
  }), {
5143
5143
  method: 'post'
@@ -5159,7 +5159,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
5159
5159
  healthFundId: healthFundId,
5160
5160
  documentId: documentId
5161
5161
  }, opts.hyperMediaEndpoint);
5162
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5162
+ return request(_objectSpread$h({}, opts, {
5163
5163
  path: pathHealthFundDocumentDecline(healthFundId, documentId)
5164
5164
  }), {
5165
5165
  method: 'post',
@@ -5182,7 +5182,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
5182
5182
  healthFundId: healthFundId,
5183
5183
  documentId: documentId
5184
5184
  }, opts.hyperMediaEndpoint);
5185
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5185
+ return request(_objectSpread$h({}, opts, {
5186
5186
  path: pathHealthFundDocumentCease(healthFundId, documentId)
5187
5187
  }), {
5188
5188
  method: 'post',
@@ -5207,7 +5207,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
5207
5207
  documentId: documentId,
5208
5208
  tagId: tagId
5209
5209
  }, opts.hyperMediaEndpoint);
5210
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5210
+ return request(_objectSpread$h({}, opts, {
5211
5211
  path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
5212
5212
  }), {
5213
5213
  method: 'delete'
@@ -5228,7 +5228,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
5228
5228
  doesParamExist.default({
5229
5229
  businessId: businessId
5230
5230
  }, opts.hyperMediaEndpoint);
5231
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5231
+ return request(_objectSpread$h({}, opts, {
5232
5232
  path: pathBusinessDocuments(businessId)
5233
5233
  }), {
5234
5234
  method: 'get',
@@ -5250,7 +5250,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
5250
5250
  doesParamExist.default({
5251
5251
  businessId: businessId
5252
5252
  }, opts.hyperMediaEndpoint);
5253
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5253
+ return request(_objectSpread$h({}, opts, {
5254
5254
  path: pathBusinessDocument(businessId, documentId)
5255
5255
  }), {
5256
5256
  method: 'get'
@@ -5271,7 +5271,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
5271
5271
  doesParamExist.default({
5272
5272
  healthFundId: healthFundId
5273
5273
  }, opts.hyperMediaEndpoint);
5274
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5274
+ return request(_objectSpread$h({}, opts, {
5275
5275
  path: pathHealthFundDocuments(healthFundId)
5276
5276
  }), {
5277
5277
  method: 'get',
@@ -5294,7 +5294,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
5294
5294
  healthFundId: healthFundId,
5295
5295
  documentId: documentId
5296
5296
  }, opts.hyperMediaEndpoint);
5297
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5297
+ return request(_objectSpread$h({}, opts, {
5298
5298
  path: pathHealthFundDocument(healthFundId, documentId)
5299
5299
  }), {
5300
5300
  method: 'get'
@@ -5316,7 +5316,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
5316
5316
  healthFundId: healthFundId,
5317
5317
  documentId: documentId
5318
5318
  }, opts.hyperMediaEndpoint);
5319
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5319
+ return request(_objectSpread$h({}, opts, {
5320
5320
  path: pathHealthFundDocumentPark(healthFundId, documentId)
5321
5321
  }), {
5322
5322
  method: 'post',
@@ -5339,7 +5339,7 @@ var getHealthPointRegistrationApplication = function getHealthPointRegistrationA
5339
5339
  healthFundId: healthFundId,
5340
5340
  healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5341
5341
  }, opts.hyperMediaEndpoint);
5342
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5342
+ return request(_objectSpread$h({}, opts, {
5343
5343
  path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
5344
5344
  }), {
5345
5345
  method: 'get'
@@ -5362,7 +5362,7 @@ var updateHealthPointRegistrationApplication = function updateHealthPointRegistr
5362
5362
  healthFundId: healthFundId,
5363
5363
  healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5364
5364
  }, opts.hyperMediaEndpoint);
5365
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5365
+ return request(_objectSpread$h({}, opts, {
5366
5366
  path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
5367
5367
  }), {
5368
5368
  method: 'put',
@@ -5386,7 +5386,7 @@ var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClai
5386
5386
  healthFundId: healthFundId,
5387
5387
  healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
5388
5388
  }, opts.hyperMediaEndpoint);
5389
- return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
5389
+ return request(_objectSpread$h({}, opts, {
5390
5390
  path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
5391
5391
  }), {
5392
5392
  method: 'post',
@@ -5459,7 +5459,7 @@ var getHealthFundEmailSections = function getHealthFundEmailSections(healthFundI
5459
5459
  healthFundId: healthFundId,
5460
5460
  emailTemplateId: emailTemplateId
5461
5461
  }, opts.hyperMediaEndpoint);
5462
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5462
+ return request(_objectSpread$i({}, opts, {
5463
5463
  path: healthFundEmailSections(healthFundId, emailTemplateId)
5464
5464
  }), {
5465
5465
  method: 'get',
@@ -5478,7 +5478,7 @@ var getHealthFundEmailTemplates = function getHealthFundEmailTemplates(healthFun
5478
5478
  doesParamExist.default({
5479
5479
  healthFundId: healthFundId
5480
5480
  }, opts.hyperMediaEndpoint);
5481
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5481
+ return request(_objectSpread$i({}, opts, {
5482
5482
  path: healthFundEmailTemplates(healthFundId)
5483
5483
  }), {
5484
5484
  method: 'get',
@@ -5494,7 +5494,7 @@ var generateEmailTemplate = function generateEmailTemplate(healthFundId, transac
5494
5494
  healthFundId: healthFundId,
5495
5495
  transactionId: transactionId
5496
5496
  }, opts.hyperMediaEndpoint);
5497
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5497
+ return request(_objectSpread$i({}, opts, {
5498
5498
  path: healthFundTransactionEmail(healthFundId, transactionId)
5499
5499
  }), {
5500
5500
  method: 'post',
@@ -5510,7 +5510,7 @@ var generateDocumentEmailTemplate = function generateDocumentEmailTemplate(healt
5510
5510
  healthFundId: healthFundId,
5511
5511
  documentId: documentId
5512
5512
  }, opts.hyperMediaEndpoint);
5513
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5513
+ return request(_objectSpread$i({}, opts, {
5514
5514
  path: healthFundDocumentEmail(healthFundId, documentId)
5515
5515
  }), {
5516
5516
  method: 'post',
@@ -5525,7 +5525,7 @@ var createEmailPackage = function createEmailPackage(transactionId, body, opts)
5525
5525
  doesParamExist.default({
5526
5526
  transactionId: transactionId
5527
5527
  }, opts.hyperMediaEndpoint);
5528
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5528
+ return request(_objectSpread$i({}, opts, {
5529
5529
  path: transactionEmailPackages(transactionId)
5530
5530
  }), {
5531
5531
  method: 'post',
@@ -5541,7 +5541,7 @@ var updateEmailPackage = function updateEmailPackage(transactionId, emailPackage
5541
5541
  transactionId: transactionId,
5542
5542
  emailPackageId: emailPackageId
5543
5543
  }, opts.hyperMediaEndpoint);
5544
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5544
+ return request(_objectSpread$i({}, opts, {
5545
5545
  path: transactionEmailPackage(transactionId, emailPackageId)
5546
5546
  }), {
5547
5547
  method: 'put',
@@ -5557,7 +5557,7 @@ var sendEmailPackage = function sendEmailPackage(transactionId, emailPackageId,
5557
5557
  transactionId: transactionId,
5558
5558
  emailPackageId: emailPackageId
5559
5559
  }, opts.hyperMediaEndpoint);
5560
- return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5560
+ return request(_objectSpread$i({}, opts, {
5561
5561
  path: transactionEmailPackage(transactionId, emailPackageId) + "/send"
5562
5562
  }), {
5563
5563
  method: 'post',
@@ -5601,7 +5601,7 @@ var getBusinessFilterOptions = /*#__PURE__*/function () {
5601
5601
  doesParamExist.default({
5602
5602
  businessId: businessId
5603
5603
  }, opts.hyperMediaEndpoint);
5604
- return _context.abrupt("return", request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5604
+ return _context.abrupt("return", request(_objectSpread$j({}, opts, {
5605
5605
  path: pathFilterOptions(businessId)
5606
5606
  }), {
5607
5607
  method: 'get',
@@ -5655,7 +5655,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
5655
5655
  formId: formId,
5656
5656
  formApplicationTemplateId: formApplicationTemplateId
5657
5657
  }, opts.hyperMediaEndpoint);
5658
- return request(_objectSpread$k(_objectSpread$k({}, opts), {}, {
5658
+ return request(_objectSpread$k({}, opts, {
5659
5659
  path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
5660
5660
  }), {
5661
5661
  method: 'get'
@@ -5678,7 +5678,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
5678
5678
  healthFundId: healthFundId,
5679
5679
  formApplicationTemplateId: formApplicationTemplateId
5680
5680
  }, opts.hyperMediaEndpoint);
5681
- return request(_objectSpread$k(_objectSpread$k({}, opts), {}, {
5681
+ return request(_objectSpread$k({}, opts, {
5682
5682
  path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
5683
5683
  }), {
5684
5684
  method: 'get'
@@ -5722,7 +5722,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
5722
5722
  businessId: businessId,
5723
5723
  formApplicationId: formApplicationId
5724
5724
  }, opts.hyperMediaEndpoint);
5725
- return request(_objectSpread$l(_objectSpread$l({}, opts), {}, {
5725
+ return request(_objectSpread$l({}, opts, {
5726
5726
  path: pathBusinessFormApplication(businessId, formApplicationId)
5727
5727
  }), {
5728
5728
  method: 'get'
@@ -5745,7 +5745,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
5745
5745
  healthFundId: healthFundId,
5746
5746
  formApplicationId: formApplicationId
5747
5747
  }, opts.hyperMediaEndpoint);
5748
- return request(_objectSpread$l(_objectSpread$l({}, opts), {}, {
5748
+ return request(_objectSpread$l({}, opts, {
5749
5749
  path: pathHealthFundFormApplication(healthFundId, formApplicationId)
5750
5750
  }), {
5751
5751
  method: 'get'
@@ -5772,7 +5772,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
5772
5772
  healthFundId: healthFundId,
5773
5773
  formApplicationId: formApplicationId
5774
5774
  }, opts.hyperMediaEndpoint);
5775
- return _context.abrupt("return", request(_objectSpread$l(_objectSpread$l({}, opts), {}, {
5775
+ return _context.abrupt("return", request(_objectSpread$l({}, opts, {
5776
5776
  path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
5777
5777
  }), {
5778
5778
  method: 'put',
@@ -5849,7 +5849,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
5849
5849
  businessId: businessId,
5850
5850
  formId: formId
5851
5851
  }, opts.hyperMediaEndpoint);
5852
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5852
+ return request(_objectSpread$m({}, opts, {
5853
5853
  path: pathBusinessFormApplications(businessId, formId)
5854
5854
  }), {
5855
5855
  method: 'post',
@@ -5871,7 +5871,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
5871
5871
  doesParamExist.default({
5872
5872
  healthFundId: healthFundId
5873
5873
  }, opts.hyperMediaEndpoint);
5874
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5874
+ return request(_objectSpread$m({}, opts, {
5875
5875
  path: pathHealthFundForms(healthFundId)
5876
5876
  }), {
5877
5877
  method: 'post',
@@ -5894,7 +5894,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
5894
5894
  healthFundId: healthFundId,
5895
5895
  formId: formId
5896
5896
  }, opts.hyperMediaEndpoint);
5897
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5897
+ return request(_objectSpread$m({}, opts, {
5898
5898
  path: pathHealthFundForm(healthFundId, formId)
5899
5899
  }), {
5900
5900
  method: 'delete'
@@ -5917,7 +5917,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
5917
5917
  businessId: businessId,
5918
5918
  formId: formId
5919
5919
  }, opts.hyperMediaEndpoint);
5920
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5920
+ return request(_objectSpread$m({}, opts, {
5921
5921
  path: pathBusinessForm(businessId, formId)
5922
5922
  }), {
5923
5923
  method: 'get'
@@ -5942,7 +5942,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
5942
5942
  doesParamExist.default({
5943
5943
  healthFundId: healthFundId
5944
5944
  }, opts.hyperMediaEndpoint);
5945
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5945
+ return request(_objectSpread$m({}, opts, {
5946
5946
  path: pathHealthFundForms(healthFundId)
5947
5947
  }), {
5948
5948
  method: 'get',
@@ -5965,7 +5965,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
5965
5965
  healthFundId: healthFundId,
5966
5966
  formId: formId
5967
5967
  }, opts.hyperMediaEndpoint);
5968
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5968
+ return request(_objectSpread$m({}, opts, {
5969
5969
  path: pathHealthFundForm(healthFundId, formId)
5970
5970
  }), {
5971
5971
  method: 'get'
@@ -5990,7 +5990,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
5990
5990
  contentType: contentType,
5991
5991
  fileName: fileName
5992
5992
  }, opts.hyperMediaEndpoint);
5993
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5993
+ return request(_objectSpread$m({}, opts, {
5994
5994
  path: pathHealthFundFormUploadUrl(healthFundId)
5995
5995
  }), {
5996
5996
  method: 'get',
@@ -6013,7 +6013,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
6013
6013
  healthFundId: healthFundId,
6014
6014
  formId: formId
6015
6015
  }, opts.hyperMediaEndpoint);
6016
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
6016
+ return request(_objectSpread$m({}, opts, {
6017
6017
  path: pathHealthFundFormPublish(healthFundId, formId)
6018
6018
  }), {
6019
6019
  method: 'post'
@@ -6036,7 +6036,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
6036
6036
  healthFundId: healthFundId,
6037
6037
  formId: formId
6038
6038
  }, opts.hyperMediaEndpoint);
6039
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
6039
+ return request(_objectSpread$m({}, opts, {
6040
6040
  path: pathHealthFundForm(healthFundId, formId)
6041
6041
  }), {
6042
6042
  method: 'put',
@@ -6059,7 +6059,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
6059
6059
  healthFundId: healthFundId,
6060
6060
  formId: formId
6061
6061
  }, opts.hyperMediaEndpoint);
6062
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
6062
+ return request(_objectSpread$m({}, opts, {
6063
6063
  path: pathHealthFundFormUnpublish(healthFundId, formId)
6064
6064
  }), {
6065
6065
  method: 'post'
@@ -6083,7 +6083,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
6083
6083
  practiceId: practiceId,
6084
6084
  formId: formId
6085
6085
  }, opts.hyperMediaEndpoint);
6086
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
6086
+ return request(_objectSpread$m({}, opts, {
6087
6087
  path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
6088
6088
  }), {
6089
6089
  method: 'get'
@@ -6108,7 +6108,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
6108
6108
  practiceId: practiceId,
6109
6109
  formId: formId
6110
6110
  }, opts.hyperMediaEndpoint);
6111
- return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
6111
+ return request(_objectSpread$m({}, opts, {
6112
6112
  path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
6113
6113
  }), {
6114
6114
  method: 'get',
@@ -6153,7 +6153,7 @@ var getFunders = function getFunders(opts) {
6153
6153
  opts = {};
6154
6154
  }
6155
6155
 
6156
- return request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
6156
+ return request(_objectSpread$n({}, opts, {
6157
6157
  path: PATH__FUNDERS
6158
6158
  }), {
6159
6159
  method: 'get'
@@ -6164,7 +6164,7 @@ var getFunder = function getFunder(funderId, opts) {
6164
6164
  opts = {};
6165
6165
  }
6166
6166
 
6167
- return request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
6167
+ return request(_objectSpread$n({}, opts, {
6168
6168
  path: pathFunder(funderId)
6169
6169
  }), {
6170
6170
  method: 'get'
@@ -6199,7 +6199,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
6199
6199
  doesParamExist.default({
6200
6200
  body: body
6201
6201
  }, opts.hyperMediaEndpoint);
6202
- return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
6202
+ return request(_objectSpread$o({}, opts, {
6203
6203
  path: pathVerifyEclipse()
6204
6204
  }), {
6205
6205
  method: 'post',
@@ -6234,7 +6234,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
6234
6234
  doesParamExist.default({
6235
6235
  businessId: businessId
6236
6236
  }, opts.hyperMediaEndpoint);
6237
- return request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6237
+ return request(_objectSpread$p({}, opts, {
6238
6238
  path: pathFunderSettings(businessId)
6239
6239
  }), {
6240
6240
  method: 'get',
@@ -6250,7 +6250,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
6250
6250
  businessId: businessId,
6251
6251
  funderSettingsId: funderSettingsId
6252
6252
  }, opts.hyperMediaEndpoint);
6253
- return request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6253
+ return request(_objectSpread$p({}, opts, {
6254
6254
  path: pathFunderSettingsById(businessId, funderSettingsId)
6255
6255
  }), {
6256
6256
  method: 'get'
@@ -6265,7 +6265,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
6265
6265
  businessId: businessId,
6266
6266
  funderSettingsId: funderSettingsId
6267
6267
  }, opts.hyperMediaEndpoint);
6268
- return request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6268
+ return request(_objectSpread$p({}, opts, {
6269
6269
  path: pathFunderSettingsById(businessId, funderSettingsId)
6270
6270
  }), {
6271
6271
  method: 'put',
@@ -6280,7 +6280,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
6280
6280
  doesParamExist.default({
6281
6281
  businessId: businessId
6282
6282
  }, opts.hyperMediaEndpoint);
6283
- return request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6283
+ return request(_objectSpread$p({}, opts, {
6284
6284
  path: pathFunderSettings(businessId)
6285
6285
  }), {
6286
6286
  method: 'post',
@@ -6296,7 +6296,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
6296
6296
  businessId: businessId,
6297
6297
  funderSettingsId: funderSettingsId
6298
6298
  }, opts.hyperMediaEndpoint);
6299
- return request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6299
+ return request(_objectSpread$p({}, opts, {
6300
6300
  path: pathFunderSettingsById(businessId, funderSettingsId)
6301
6301
  }), {
6302
6302
  method: 'delete'
@@ -6336,7 +6336,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
6336
6336
  doesParamExist.default({
6337
6337
  businessId: businessId
6338
6338
  }, opts.hyperMediaEndpoint);
6339
- return _context.abrupt("return", request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6339
+ return _context.abrupt("return", request(_objectSpread$q({}, opts, {
6340
6340
  path: pathFunderValues(businessId)
6341
6341
  }), {
6342
6342
  method: 'get',
@@ -6364,7 +6364,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
6364
6364
  businessId: businessId,
6365
6365
  funderValueId: funderValueId
6366
6366
  }, opts.hyperMediaEndpoint);
6367
- return request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6367
+ return request(_objectSpread$q({}, opts, {
6368
6368
  path: pathFunderValuesById(businessId, funderValueId)
6369
6369
  }), {
6370
6370
  method: 'get'
@@ -6378,7 +6378,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
6378
6378
  doesParamExist.default({
6379
6379
  businessId: businessId
6380
6380
  }, opts.hyperMediaEndpoint);
6381
- return request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6381
+ return request(_objectSpread$q({}, opts, {
6382
6382
  path: pathFunderValues(businessId)
6383
6383
  }), {
6384
6384
  method: 'post',
@@ -6394,7 +6394,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
6394
6394
  businessId: businessId,
6395
6395
  funderValueId: funderValueId
6396
6396
  }, opts.hyperMediaEndpoint);
6397
- return request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6397
+ return request(_objectSpread$q({}, opts, {
6398
6398
  path: pathFunderValuesById(businessId, funderValueId)
6399
6399
  }), {
6400
6400
  method: 'put',
@@ -6410,7 +6410,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
6410
6410
  businessId: businessId,
6411
6411
  funderValueId: funderValueId
6412
6412
  }, opts.hyperMediaEndpoint);
6413
- return request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6413
+ return request(_objectSpread$q({}, opts, {
6414
6414
  path: pathFunderValuesById(businessId, funderValueId)
6415
6415
  }), {
6416
6416
  method: 'delete'
@@ -6476,7 +6476,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
6476
6476
  doesParamExist.default({
6477
6477
  businessId: businessId
6478
6478
  }, opts.hyperMediaEndpoint);
6479
- return request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6479
+ return request(_objectSpread$r({}, opts, {
6480
6480
  path: pathBusinessHolds(businessId)
6481
6481
  }), {
6482
6482
  method: 'post',
@@ -6503,7 +6503,7 @@ var createBusinessInstalmentPlan = /*#__PURE__*/function () {
6503
6503
  doesParamExist.default({
6504
6504
  businessId: businessId
6505
6505
  }, opts.hyperMediaEndpoint);
6506
- return _context.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6506
+ return _context.abrupt("return", request(_objectSpread$r({}, opts, {
6507
6507
  path: pathBusinessInstalmentPlans(businessId)
6508
6508
  }), {
6509
6509
  method: 'post',
@@ -6541,7 +6541,7 @@ var cancel = /*#__PURE__*/function () {
6541
6541
  doesParamExist.default({
6542
6542
  futureId: futureId
6543
6543
  }, opts.hyperMediaEndpoint);
6544
- return _context2.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6544
+ return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
6545
6545
  path: pathCancels(futureId)
6546
6546
  }), {
6547
6547
  method: 'post'
@@ -6579,7 +6579,7 @@ var getBusinessFutures = /*#__PURE__*/function () {
6579
6579
  doesParamExist.default({
6580
6580
  businessId: businessId
6581
6581
  }, opts.hyperMediaEndpoint);
6582
- return _context3.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6582
+ return _context3.abrupt("return", request(_objectSpread$r({}, opts, {
6583
6583
  path: pathBusinessFutures(businessId)
6584
6584
  }), {
6585
6585
  method: 'get',
@@ -6619,7 +6619,7 @@ var getBusinessFuture = /*#__PURE__*/function () {
6619
6619
  businessId: businessId,
6620
6620
  futureId: futureId
6621
6621
  }, opts.hyperMediaEndpoint);
6622
- return _context4.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6622
+ return _context4.abrupt("return", request(_objectSpread$r({}, opts, {
6623
6623
  path: pathBusinessFuture(businessId, futureId)
6624
6624
  }), {
6625
6625
  method: 'get'
@@ -6656,7 +6656,7 @@ var getFuture = /*#__PURE__*/function () {
6656
6656
  doesParamExist.default({
6657
6657
  futureId: futureId
6658
6658
  }, opts.hyperMediaEndpoint);
6659
- return _context5.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6659
+ return _context5.abrupt("return", request(_objectSpread$r({}, opts, {
6660
6660
  path: pathFuture(futureId)
6661
6661
  }), {
6662
6662
  method: 'get'
@@ -6693,7 +6693,7 @@ var getPaymentLink = /*#__PURE__*/function () {
6693
6693
  doesParamExist.default({
6694
6694
  futureId: futureId
6695
6695
  }, opts.hyperMediaEndpoint);
6696
- return _context6.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6696
+ return _context6.abrupt("return", request(_objectSpread$r({}, opts, {
6697
6697
  path: pathPaymentLink(futureId)
6698
6698
  }), {
6699
6699
  method: 'get'
@@ -6731,7 +6731,7 @@ var sendProcessingRequest = /*#__PURE__*/function () {
6731
6731
  doesParamExist.default({
6732
6732
  futureId: futureId
6733
6733
  }, opts.hyperMediaEndpoint);
6734
- return _context7.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6734
+ return _context7.abrupt("return", request(_objectSpread$r({}, opts, {
6735
6735
  path: pathProcessingRequests(futureId)
6736
6736
  }), {
6737
6737
  method: 'post',
@@ -6770,7 +6770,7 @@ var submit = /*#__PURE__*/function () {
6770
6770
  doesParamExist.default({
6771
6771
  futureId: futureId
6772
6772
  }, opts.hyperMediaEndpoint);
6773
- return _context8.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6773
+ return _context8.abrupt("return", request(_objectSpread$r({}, opts, {
6774
6774
  path: pathSubmits(futureId)
6775
6775
  }), {
6776
6776
  method: 'post',
@@ -6809,7 +6809,7 @@ var update = /*#__PURE__*/function () {
6809
6809
  doesParamExist.default({
6810
6810
  futureId: futureId
6811
6811
  }, opts.hyperMediaEndpoint);
6812
- return _context9.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6812
+ return _context9.abrupt("return", request(_objectSpread$r({}, opts, {
6813
6813
  path: pathFuture(futureId)
6814
6814
  }), {
6815
6815
  method: 'put',
@@ -6848,7 +6848,7 @@ var sendReceipt = /*#__PURE__*/function () {
6848
6848
  doesParamExist.default({
6849
6849
  futureId: futureId
6850
6850
  }, opts.hyperMediaEndpoint);
6851
- return _context10.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6851
+ return _context10.abrupt("return", request(_objectSpread$r({}, opts, {
6852
6852
  path: pathSendReceipt(futureId)
6853
6853
  }), {
6854
6854
  method: 'post',
@@ -6937,7 +6937,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
6937
6937
  doesParamExist.default({
6938
6938
  memberId: memberId
6939
6939
  }, opts.hyperMediaEndpoint);
6940
- return _context.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
6940
+ return _context.abrupt("return", request(_objectSpread$s({}, opts, {
6941
6941
  path: "" + pathMemberHealthFundAccounts(memberId)
6942
6942
  }), {
6943
6943
  method: 'post',
@@ -6978,7 +6978,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
6978
6978
  businessId: businessId,
6979
6979
  patientId: patientId
6980
6980
  }, opts.hyperMediaEndpoint);
6981
- return _context2.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
6981
+ return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
6982
6982
  path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
6983
6983
  }), {
6984
6984
  method: 'post',
@@ -7018,7 +7018,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
7018
7018
  memberId: memberId,
7019
7019
  healthFundAccountId: healthFundAccountId
7020
7020
  }, opts.hyperMediaEndpoint);
7021
- return _context3.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7021
+ return _context3.abrupt("return", request(_objectSpread$s({}, opts, {
7022
7022
  path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
7023
7023
  }), {
7024
7024
  method: 'delete'
@@ -7059,7 +7059,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
7059
7059
  patientId: patientId,
7060
7060
  healthFundAccountId: healthFundAccountId
7061
7061
  }, opts.hyperMediaEndpoint);
7062
- return _context4.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7062
+ return _context4.abrupt("return", request(_objectSpread$s({}, opts, {
7063
7063
  path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
7064
7064
  }), {
7065
7065
  method: 'delete'
@@ -7097,7 +7097,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
7097
7097
  doesParamExist.default({
7098
7098
  memberId: memberId
7099
7099
  }, opts.hyperMediaEndpoint);
7100
- return _context5.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7100
+ return _context5.abrupt("return", request(_objectSpread$s({}, opts, {
7101
7101
  path: pathMemberHealthFundAccounts(memberId)
7102
7102
  }), {
7103
7103
  method: 'get',
@@ -7138,7 +7138,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
7138
7138
  businessId: businessId,
7139
7139
  patientId: patientId
7140
7140
  }, opts.hyperMediaEndpoint);
7141
- return _context6.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7141
+ return _context6.abrupt("return", request(_objectSpread$s({}, opts, {
7142
7142
  path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
7143
7143
  }), {
7144
7144
  method: 'get',
@@ -7178,7 +7178,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
7178
7178
  memberId: memberId,
7179
7179
  healthFundAccountId: healthFundAccountId
7180
7180
  }, opts.hyperMediaEndpoint);
7181
- return _context7.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7181
+ return _context7.abrupt("return", request(_objectSpread$s({}, opts, {
7182
7182
  path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
7183
7183
  }), {
7184
7184
  method: 'get'
@@ -7219,7 +7219,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
7219
7219
  patientId: patientId,
7220
7220
  healthFundAccountId: healthFundAccountId
7221
7221
  }, opts.hyperMediaEndpoint);
7222
- return _context8.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7222
+ return _context8.abrupt("return", request(_objectSpread$s({}, opts, {
7223
7223
  path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
7224
7224
  }), {
7225
7225
  method: 'get'
@@ -7259,7 +7259,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
7259
7259
  memberId: memberId,
7260
7260
  healthFundAccountId: healthFundAccountId
7261
7261
  }, opts.hyperMediaEndpoint);
7262
- return _context9.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7262
+ return _context9.abrupt("return", request(_objectSpread$s({}, opts, {
7263
7263
  path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
7264
7264
  }), {
7265
7265
  method: 'put',
@@ -7302,7 +7302,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
7302
7302
  patientId: patientId,
7303
7303
  healthFundAccountId: healthFundAccountId
7304
7304
  }, opts.hyperMediaEndpoint);
7305
- return _context10.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7305
+ return _context10.abrupt("return", request(_objectSpread$s({}, opts, {
7306
7306
  path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
7307
7307
  }), {
7308
7308
  method: 'put',
@@ -7378,7 +7378,7 @@ var createHealthFundSetting = /*#__PURE__*/function () {
7378
7378
  doesParamExist.default({
7379
7379
  healthFundId: healthFundId
7380
7380
  }, opts.hyperMediaEndpoint);
7381
- return _context.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7381
+ return _context.abrupt("return", request(_objectSpread$t({}, opts, {
7382
7382
  path: "" + pathHealthFundSettings(healthFundId)
7383
7383
  }), {
7384
7384
  method: 'post',
@@ -7419,7 +7419,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
7419
7419
  doesParamExist.default({
7420
7420
  healthFundId: healthFundId
7421
7421
  }, opts.hyperMediaEndpoint);
7422
- return _context2.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7422
+ return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
7423
7423
  path: pathHealthFundSetting(healthFundId, healthFundSettingId)
7424
7424
  }), {
7425
7425
  method: 'delete'
@@ -7464,7 +7464,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
7464
7464
  doesParamExist.default({
7465
7465
  healthFundId: healthFundId
7466
7466
  }, opts.hyperMediaEndpoint);
7467
- return _context3.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7467
+ return _context3.abrupt("return", request(_objectSpread$t({}, opts, {
7468
7468
  path: pathHealthFundSettings(healthFundId)
7469
7469
  }), {
7470
7470
  method: 'get',
@@ -7514,7 +7514,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
7514
7514
  practiceId: practiceId,
7515
7515
  staffId: staffId
7516
7516
  }, opts.hyperMediaEndpoint);
7517
- return _context4.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7517
+ return _context4.abrupt("return", request(_objectSpread$t({}, opts, {
7518
7518
  path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
7519
7519
  }), {
7520
7520
  method: 'get',
@@ -7555,7 +7555,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
7555
7555
  healthFundId: healthFundId,
7556
7556
  healthFundSettingId: healthFundSettingId
7557
7557
  }, opts.hyperMediaEndpoint);
7558
- return _context5.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7558
+ return _context5.abrupt("return", request(_objectSpread$t({}, opts, {
7559
7559
  path: pathHealthFundSetting(healthFundId, healthFundSettingId)
7560
7560
  }), {
7561
7561
  method: 'put',
@@ -7633,7 +7633,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
7633
7633
  doesParamExist.default({
7634
7634
  accountId: accountId
7635
7635
  }, opts.hyperMediaEndpoint);
7636
- return _context.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7636
+ return _context.abrupt("return", request(_objectSpread$u({}, opts, {
7637
7637
  path: pathHealthFundsByAccountId(accountId)
7638
7638
  }), {
7639
7639
  method: 'get'
@@ -7675,7 +7675,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
7675
7675
  doesParamExist.default({
7676
7676
  businessId: businessId
7677
7677
  }, opts.hyperMediaEndpoint);
7678
- return _context2.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7678
+ return _context2.abrupt("return", request(_objectSpread$u({}, opts, {
7679
7679
  path: pathBusinessHealthFunds(businessId)
7680
7680
  }), {
7681
7681
  method: 'get',
@@ -7710,7 +7710,7 @@ var getHealthFunds = /*#__PURE__*/function () {
7710
7710
  opts = {};
7711
7711
  }
7712
7712
 
7713
- return _context3.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7713
+ return _context3.abrupt("return", request(_objectSpread$u({}, opts, {
7714
7714
  path: PATH__HEALTH_FUNDS
7715
7715
  }), {
7716
7716
  method: 'get',
@@ -7754,7 +7754,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
7754
7754
  doesParamExist.default({
7755
7755
  organisationId: organisationId
7756
7756
  }, opts.hyperMediaEndpoint);
7757
- return _context4.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7757
+ return _context4.abrupt("return", request(_objectSpread$u({}, opts, {
7758
7758
  path: pathOrganisationHealthFunds(organisationId)
7759
7759
  }), {
7760
7760
  method: 'get',
@@ -7790,7 +7790,7 @@ var createHealthFund = /*#__PURE__*/function () {
7790
7790
  opts = {};
7791
7791
  }
7792
7792
 
7793
- return _context5.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7793
+ return _context5.abrupt("return", request(_objectSpread$u({}, opts, {
7794
7794
  path: PATH__HEALTH_FUNDS
7795
7795
  }), {
7796
7796
  method: 'post',
@@ -7828,7 +7828,7 @@ var getHealthFund = /*#__PURE__*/function () {
7828
7828
  doesParamExist.default({
7829
7829
  healthFundId: healthFundId
7830
7830
  }, opts.hyperMediaEndpoint);
7831
- return _context6.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7831
+ return _context6.abrupt("return", request(_objectSpread$u({}, opts, {
7832
7832
  path: pathHealthFund(healthFundId)
7833
7833
  }), {
7834
7834
  method: 'get'
@@ -7866,7 +7866,7 @@ var updateHealthFund = /*#__PURE__*/function () {
7866
7866
  doesParamExist.default({
7867
7867
  healthFundId: healthFundId
7868
7868
  }, opts.hyperMediaEndpoint);
7869
- return _context7.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7869
+ return _context7.abrupt("return", request(_objectSpread$u({}, opts, {
7870
7870
  path: pathHealthFund(healthFundId)
7871
7871
  }), {
7872
7872
  method: 'put',
@@ -7904,7 +7904,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
7904
7904
  doesParamExist.default({
7905
7905
  healthFundId: healthFundId
7906
7906
  }, opts.hyperMediaEndpoint);
7907
- return _context8.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7907
+ return _context8.abrupt("return", request(_objectSpread$u({}, opts, {
7908
7908
  path: pathHealthFund(healthFundId)
7909
7909
  }), {
7910
7910
  method: 'delete'
@@ -7997,7 +7997,7 @@ var verifyMember = /*#__PURE__*/function () {
7997
7997
  healthFundId: healthFundId,
7998
7998
  body: body
7999
7999
  }, opts.hyperMediaEndpoint);
8000
- return _context10.abrupt("return", request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
8000
+ return _context10.abrupt("return", request(_objectSpread$u({}, opts, {
8001
8001
  path: "" + pathHealthFundVerifyMember(healthFundId)
8002
8002
  }), {
8003
8003
  method: 'post',
@@ -8063,7 +8063,7 @@ var getICDItems = /*#__PURE__*/function () {
8063
8063
  };
8064
8064
  }
8065
8065
 
8066
- return _context.abrupt("return", request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
8066
+ return _context.abrupt("return", request(_objectSpread$v({}, opts, {
8067
8067
  path: pathICDItems
8068
8068
  }), {
8069
8069
  method: 'get',
@@ -8108,7 +8108,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
8108
8108
  doesParamExist.default({
8109
8109
  modalityId: modalityId
8110
8110
  }, opts.hyperMediaEndpoint);
8111
- return _context2.abrupt("return", request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
8111
+ return _context2.abrupt("return", request(_objectSpread$v({}, opts, {
8112
8112
  path: pathModalityICDItems(modalityId)
8113
8113
  }), {
8114
8114
  method: 'get',
@@ -8166,7 +8166,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
8166
8166
  doesParamExist.default({
8167
8167
  businessId: businessId
8168
8168
  }, opts.hyperMediaEndpoint);
8169
- return _context.abrupt("return", request(_objectSpread$w(_objectSpread$w({}, opts), {}, {
8169
+ return _context.abrupt("return", request(_objectSpread$w({}, opts, {
8170
8170
  path: pathInvoiceScansByBusinessId(businessId)
8171
8171
  }), {
8172
8172
  method: 'post',
@@ -8207,7 +8207,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
8207
8207
  businessId: businessId,
8208
8208
  invoiceScanId: invoiceScanId
8209
8209
  }, opts.hyperMediaEndpoint);
8210
- return _context2.abrupt("return", request(_objectSpread$w(_objectSpread$w({}, opts), {}, {
8210
+ return _context2.abrupt("return", request(_objectSpread$w({}, opts, {
8211
8211
  path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
8212
8212
  }), {
8213
8213
  method: 'get'
@@ -8240,7 +8240,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
8240
8240
  doesParamExist.default({
8241
8241
  businessId: businessId
8242
8242
  }, opts.hyperMediaEndpoint);
8243
- return request(_objectSpread$w(_objectSpread$w({}, opts), {}, {
8243
+ return request(_objectSpread$w({}, opts, {
8244
8244
  path: pathUploadUrlByBusinessId(businessId)
8245
8245
  }), {
8246
8246
  method: 'get',
@@ -8273,7 +8273,7 @@ var getJHC = function getJHC(jhcId, opts) {
8273
8273
  doesParamExist.default({
8274
8274
  jhcId: jhcId
8275
8275
  }, opts.hyperMediaEndpoint);
8276
- return request(_objectSpread$x(_objectSpread$x({}, opts), {}, {
8276
+ return request(_objectSpread$x({}, opts, {
8277
8277
  path: pathJHC(jhcId)
8278
8278
  }), {
8279
8279
  method: 'get'
@@ -8284,7 +8284,7 @@ var getJHCs = function getJHCs(query, opts) {
8284
8284
  opts = {};
8285
8285
  }
8286
8286
 
8287
- return request(_objectSpread$x(_objectSpread$x({}, opts), {}, {
8287
+ return request(_objectSpread$x({}, opts, {
8288
8288
  path: PATH__JHCS
8289
8289
  }), {
8290
8290
  method: 'get',
@@ -8356,7 +8356,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
8356
8356
  doesParamExist.default({
8357
8357
  businessId: businessId
8358
8358
  }, opts.hyperMediaEndpoint);
8359
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8359
+ return request(_objectSpread$y({}, opts, {
8360
8360
  path: pathBusinessKyc(businessId)
8361
8361
  }), {
8362
8362
  method: 'get'
@@ -8378,7 +8378,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
8378
8378
  businessId: businessId,
8379
8379
  practiceId: practiceId
8380
8380
  }, opts.hyperMediaEndpoint);
8381
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8381
+ return request(_objectSpread$y({}, opts, {
8382
8382
  path: pathPracticeKyc(businessId, practiceId)
8383
8383
  }), {
8384
8384
  method: 'get'
@@ -8399,7 +8399,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
8399
8399
  doesParamExist.default({
8400
8400
  businessId: businessId
8401
8401
  }, opts.hyperMediaEndpoint);
8402
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8402
+ return request(_objectSpread$y({}, opts, {
8403
8403
  path: pathBusinessKyc(businessId)
8404
8404
  }), {
8405
8405
  method: 'put',
@@ -8421,7 +8421,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
8421
8421
  doesParamExist.default({
8422
8422
  businessId: businessId
8423
8423
  }, opts.hyperMediaEndpoint);
8424
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8424
+ return request(_objectSpread$y({}, opts, {
8425
8425
  path: pathBusinessCbo(businessId)
8426
8426
  }), {
8427
8427
  method: 'get',
@@ -8442,7 +8442,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
8442
8442
  doesParamExist.default({
8443
8443
  businessId: businessId
8444
8444
  }, opts.hyperMediaEndpoint);
8445
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8445
+ return request(_objectSpread$y({}, opts, {
8446
8446
  path: pathBusinessKycVerify(businessId)
8447
8447
  }), {
8448
8448
  method: 'post'
@@ -8464,7 +8464,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
8464
8464
  businessId: businessId,
8465
8465
  practiceId: practiceId
8466
8466
  }, opts.hyperMediaEndpoint);
8467
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8467
+ return request(_objectSpread$y({}, opts, {
8468
8468
  path: pathPracticeKycVerify(businessId, practiceId)
8469
8469
  }), {
8470
8470
  method: 'post',
@@ -8485,7 +8485,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
8485
8485
  doesParamExist.default({
8486
8486
  businessId: businessId
8487
8487
  }, opts.hyperMediaEndpoint);
8488
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8488
+ return request(_objectSpread$y({}, opts, {
8489
8489
  path: pathBusinessKycUnverify(businessId)
8490
8490
  }), {
8491
8491
  method: 'post'
@@ -8507,7 +8507,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
8507
8507
  businessId: businessId,
8508
8508
  practiceId: practiceId
8509
8509
  }, opts.hyperMediaEndpoint);
8510
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8510
+ return request(_objectSpread$y({}, opts, {
8511
8511
  path: pathPracticeKycUnverify(businessId, practiceId)
8512
8512
  }), {
8513
8513
  method: 'post'
@@ -8528,7 +8528,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
8528
8528
  doesParamExist.default({
8529
8529
  businessId: businessId
8530
8530
  }, opts.hyperMediaEndpoint);
8531
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8531
+ return request(_objectSpread$y({}, opts, {
8532
8532
  path: pathBusinessVerifyBeneficialOwner(businessId)
8533
8533
  }), {
8534
8534
  method: 'post',
@@ -8550,7 +8550,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
8550
8550
  doesParamExist.default({
8551
8551
  businessId: businessId
8552
8552
  }, opts.hyperMediaEndpoint);
8553
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8553
+ return request(_objectSpread$y({}, opts, {
8554
8554
  path: pathRequestVerificationSupport(businessId)
8555
8555
  }), {
8556
8556
  method: 'post',
@@ -8572,7 +8572,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
8572
8572
  doesParamExist.default({
8573
8573
  businessId: businessId
8574
8574
  }, opts.hyperMediaEndpoint);
8575
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8575
+ return request(_objectSpread$y({}, opts, {
8576
8576
  path: pathBusinessAddBeneficialOwner(businessId)
8577
8577
  }), {
8578
8578
  method: 'post',
@@ -8595,7 +8595,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
8595
8595
  doesParamExist.default({
8596
8596
  businessId: businessId
8597
8597
  }, opts.hyperMediaEndpoint);
8598
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8598
+ return request(_objectSpread$y({}, opts, {
8599
8599
  path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
8600
8600
  }), {
8601
8601
  method: 'delete'
@@ -8615,7 +8615,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
8615
8615
  doesParamExist.default({
8616
8616
  businessId: businessId
8617
8617
  }, opts.hyperMediaEndpoint);
8618
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8618
+ return request(_objectSpread$y({}, opts, {
8619
8619
  path: pathResumeComplexVerification(businessId)
8620
8620
  }), {
8621
8621
  method: 'post'
@@ -8636,7 +8636,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
8636
8636
  doesParamExist.default({
8637
8637
  businessId: businessId
8638
8638
  }, opts.hyperMediaEndpoint);
8639
- return request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8639
+ return request(_objectSpread$y({}, opts, {
8640
8640
  path: pathGetTrustDocumentUploadUrl(businessId)
8641
8641
  }), {
8642
8642
  method: 'get',
@@ -8695,7 +8695,7 @@ var createLog = function createLog(body, opts) {
8695
8695
  opts = {};
8696
8696
  }
8697
8697
 
8698
- return request(_objectSpread$z(_objectSpread$z({}, opts), {}, {
8698
+ return request(_objectSpread$z({}, opts, {
8699
8699
  path: pathLog()
8700
8700
  }), {
8701
8701
  method: 'post',
@@ -8717,7 +8717,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
8717
8717
  doesParamExist.default({
8718
8718
  businessId: businessId
8719
8719
  });
8720
- return request(_objectSpread$z(_objectSpread$z({}, opts), {}, {
8720
+ return request(_objectSpread$z({}, opts, {
8721
8721
  path: pathBusinessLog(businessId)
8722
8722
  }), {
8723
8723
  method: 'post',
@@ -8754,7 +8754,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
8754
8754
  doesParamExist.default({
8755
8755
  businessId: businessId
8756
8756
  }, opts.hyperMediaEndpoint);
8757
- return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8757
+ return request(_objectSpread$A({}, opts, {
8758
8758
  path: pathBusinessMessageMappings(businessId)
8759
8759
  }), {
8760
8760
  method: 'get',
@@ -8814,7 +8814,7 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
8814
8814
  triggerId: triggerId,
8815
8815
  actionId: actionId
8816
8816
  }, body);
8817
- return _context.abrupt("return", request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8817
+ return _context.abrupt("return", request(_objectSpread$B({}, opts, {
8818
8818
  path: pathMinionsForHealthFund(healthFundId)
8819
8819
  }), {
8820
8820
  method: 'post',
@@ -8854,7 +8854,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
8854
8854
  opts = {};
8855
8855
  }
8856
8856
 
8857
- return _context2.abrupt("return", request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8857
+ return _context2.abrupt("return", request(_objectSpread$B({}, opts, {
8858
8858
  path: pathMinionsForHealthFund(healthFundId)
8859
8859
  }), {
8860
8860
  method: 'get',
@@ -8894,7 +8894,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
8894
8894
  healthFundId: healthFundId,
8895
8895
  minionId: minionId
8896
8896
  }, opts.hyperMediaEndpoint);
8897
- return _context3.abrupt("return", request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8897
+ return _context3.abrupt("return", request(_objectSpread$B({}, opts, {
8898
8898
  path: pathMinionForHealthFund(healthFundId, minionId)
8899
8899
  }), {
8900
8900
  method: 'get'
@@ -8934,7 +8934,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
8934
8934
  healthFundId: healthFundId,
8935
8935
  minionId: minionId
8936
8936
  }, opts.hyperMediaEndpoint);
8937
- return _context4.abrupt("return", request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8937
+ return _context4.abrupt("return", request(_objectSpread$B({}, opts, {
8938
8938
  path: pathMinionForHealthFund(healthFundId, minionId)
8939
8939
  }), {
8940
8940
  method: 'put',
@@ -8974,7 +8974,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
8974
8974
  healthFundId: healthFundId,
8975
8975
  minionId: minionId
8976
8976
  }, opts.hyperMediaEndpoint);
8977
- return _context5.abrupt("return", request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8977
+ return _context5.abrupt("return", request(_objectSpread$B({}, opts, {
8978
8978
  path: pathMinionForHealthFund(healthFundId, minionId)
8979
8979
  }), {
8980
8980
  method: 'delete'
@@ -9037,7 +9037,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
9037
9037
  doesParamExist.default({
9038
9038
  businessId: businessId
9039
9039
  }, opts.hyperMediaEndpoint);
9040
- return _context.abrupt("return", request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
9040
+ return _context.abrupt("return", request(_objectSpread$C({}, opts, {
9041
9041
  path: pathBusinessModalities(businessId)
9042
9042
  }), {
9043
9043
  method: 'get'
@@ -9077,7 +9077,7 @@ var getModalities = /*#__PURE__*/function () {
9077
9077
  };
9078
9078
  }
9079
9079
 
9080
- return _context2.abrupt("return", request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
9080
+ return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
9081
9081
  path: PATH__MODALITIES
9082
9082
  }), {
9083
9083
  method: 'get',
@@ -9114,7 +9114,7 @@ var getModality = /*#__PURE__*/function () {
9114
9114
  };
9115
9115
  }
9116
9116
 
9117
- return _context3.abrupt("return", request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
9117
+ return _context3.abrupt("return", request(_objectSpread$C({}, opts, {
9118
9118
  path: pathModality(modalityId)
9119
9119
  }), {
9120
9120
  method: 'get'
@@ -9170,7 +9170,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
9170
9170
  healthFundId: healthFundId,
9171
9171
  documentId: documentId
9172
9172
  }, opts.hyperMediaEndpoint);
9173
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9173
+ return request(_objectSpread$D({}, opts, {
9174
9174
  path: pathHealthFundDocumentNotes(healthFundId, documentId)
9175
9175
  }), {
9176
9176
  method: 'post',
@@ -9186,7 +9186,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
9186
9186
  healthFundId: healthFundId,
9187
9187
  documentId: documentId
9188
9188
  }, opts.hyperMediaEndpoint);
9189
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9189
+ return request(_objectSpread$D({}, opts, {
9190
9190
  path: pathHealthFundDocumentNotes(healthFundId, documentId)
9191
9191
  }), {
9192
9192
  method: 'get'
@@ -9201,7 +9201,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
9201
9201
  healthFundId: healthFundId,
9202
9202
  transactionId: transactionId
9203
9203
  }, opts.hyperMediaEndpoint);
9204
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9204
+ return request(_objectSpread$D({}, opts, {
9205
9205
  path: pathHealthFundTransactionNote(healthFundId, transactionId)
9206
9206
  }), {
9207
9207
  method: 'get'
@@ -9216,7 +9216,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
9216
9216
  healthFundId: healthFundId,
9217
9217
  noteId: noteId
9218
9218
  }, opts.hyperMediaEndpoint);
9219
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9219
+ return request(_objectSpread$D({}, opts, {
9220
9220
  path: pathHealthFundNote(healthFundId, noteId)
9221
9221
  }), {
9222
9222
  method: 'get'
@@ -9230,7 +9230,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
9230
9230
  doesParamExist.default({
9231
9231
  transactionId: transactionId
9232
9232
  }, opts.hyperMediaEndpoint);
9233
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9233
+ return request(_objectSpread$D({}, opts, {
9234
9234
  path: pathTransactionNotes(transactionId)
9235
9235
  }), {
9236
9236
  method: 'get',
@@ -9246,7 +9246,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
9246
9246
  businessId: businessId,
9247
9247
  transactionId: transactionId
9248
9248
  }, opts.hyperMediaEndpoint);
9249
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9249
+ return request(_objectSpread$D({}, opts, {
9250
9250
  path: pathGetTransactionNote(businessId, transactionId)
9251
9251
  }), {
9252
9252
  method: 'get'
@@ -9260,7 +9260,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
9260
9260
  doesParamExist.default({
9261
9261
  transactionId: transactionId
9262
9262
  }, opts.hyperMediaEndpoint);
9263
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9263
+ return request(_objectSpread$D({}, opts, {
9264
9264
  path: pathTransactionNotes(transactionId)
9265
9265
  }), {
9266
9266
  method: 'post',
@@ -9276,7 +9276,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
9276
9276
  transactionId: transactionId,
9277
9277
  transactionNoteId: transactionNoteId
9278
9278
  }, opts.hyperMediaEndpoint);
9279
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9279
+ return request(_objectSpread$D({}, opts, {
9280
9280
  path: pathTransactionNote(transactionId, transactionNoteId)
9281
9281
  }), {
9282
9282
  method: 'delete'
@@ -9291,7 +9291,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
9291
9291
  healthFundId: healthFundId,
9292
9292
  noteId: noteId
9293
9293
  }, opts.hyperMediaEndpoint);
9294
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9294
+ return request(_objectSpread$D({}, opts, {
9295
9295
  path: pathHealthFundNote(healthFundId, noteId)
9296
9296
  }), {
9297
9297
  method: 'put',
@@ -9307,7 +9307,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
9307
9307
  healthFundId: healthFundId,
9308
9308
  noteId: noteId
9309
9309
  }, opts.hyperMediaEndpoint);
9310
- return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9310
+ return request(_objectSpread$D({}, opts, {
9311
9311
  path: pathHealthFundNote(healthFundId, noteId)
9312
9312
  }), {
9313
9313
  method: 'delete'
@@ -9367,7 +9367,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
9367
9367
  doesParamExist.default({
9368
9368
  practiceId: practiceId
9369
9369
  });
9370
- return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9370
+ return request(_objectSpread$E({}, opts, {
9371
9371
  path: pathPracticeOnboardingApplications(practiceId)
9372
9372
  }), {
9373
9373
  method: 'post',
@@ -9400,7 +9400,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
9400
9400
  businessId: businessId,
9401
9401
  practiceId: practiceId
9402
9402
  }, opts.hyperMediaEndpoint);
9403
- return _context.abrupt("return", request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9403
+ return _context.abrupt("return", request(_objectSpread$E({}, opts, {
9404
9404
  path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
9405
9405
  }), {
9406
9406
  method: 'get',
@@ -9434,7 +9434,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
9434
9434
  doesParamExist.default({
9435
9435
  businessId: businessId
9436
9436
  });
9437
- return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9437
+ return request(_objectSpread$E({}, opts, {
9438
9438
  path: pathBusinessOnboardingApplications(businessId)
9439
9439
  }), {
9440
9440
  method: 'get',
@@ -9454,7 +9454,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
9454
9454
  doesParamExist.default({
9455
9455
  businessId: businessId
9456
9456
  });
9457
- return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9457
+ return request(_objectSpread$E({}, opts, {
9458
9458
  path: pathBusinessOnboardingApplications(businessId)
9459
9459
  }), {
9460
9460
  method: 'post',
@@ -9474,7 +9474,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
9474
9474
  doesParamExist.default({
9475
9475
  businessId: businessId
9476
9476
  });
9477
- return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9477
+ return request(_objectSpread$E({}, opts, {
9478
9478
  path: pathBusinessOnboardingApplications(businessId)
9479
9479
  }), {
9480
9480
  method: 'put',
@@ -9498,7 +9498,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
9498
9498
  staffId: staffId,
9499
9499
  providerSetItemId: providerSetItemId
9500
9500
  });
9501
- return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9501
+ return request(_objectSpread$E({}, opts, {
9502
9502
  path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
9503
9503
  }), {
9504
9504
  method: 'post',
@@ -9520,7 +9520,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
9520
9520
  doesParamExist.default({
9521
9521
  businessId: businessId
9522
9522
  });
9523
- return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9523
+ return request(_objectSpread$E({}, opts, {
9524
9524
  path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
9525
9525
  }), {
9526
9526
  method: 'get',
@@ -9578,7 +9578,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
9578
9578
  doesParamExist.default({
9579
9579
  onboardingRequestId: onboardingRequestId
9580
9580
  }, opts.hyperMediaEndpoint);
9581
- return _context.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9581
+ return _context.abrupt("return", request(_objectSpread$F({}, opts, {
9582
9582
  path: pathOnboardingRequest(onboardingRequestId)
9583
9583
  }), {
9584
9584
  method: 'get'
@@ -9620,7 +9620,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
9620
9620
  doesParamExist.default({
9621
9621
  businessId: businessId
9622
9622
  }, opts.hyperMediaEndpoint);
9623
- return _context2.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9623
+ return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
9624
9624
  path: pathBusinessOnboardingRequests(businessId)
9625
9625
  }), {
9626
9626
  method: 'get',
@@ -9652,7 +9652,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
9652
9652
  doesParamExist.default({
9653
9653
  businessId: businessId
9654
9654
  });
9655
- return request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9655
+ return request(_objectSpread$F({}, opts, {
9656
9656
  path: pathBusinessOnboardingRequests(businessId)
9657
9657
  }), {
9658
9658
  method: 'post',
@@ -9672,7 +9672,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
9672
9672
  doesParamExist.default({
9673
9673
  onboardingRequestId: onboardingRequestId
9674
9674
  });
9675
- return request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9675
+ return request(_objectSpread$F({}, opts, {
9676
9676
  path: pathOnboardingRequestSubmit(onboardingRequestId)
9677
9677
  }), {
9678
9678
  method: 'post',
@@ -9693,7 +9693,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
9693
9693
  doesParamExist.default({
9694
9694
  onboardingRequestId: onboardingRequestId
9695
9695
  });
9696
- return request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9696
+ return request(_objectSpread$F({}, opts, {
9697
9697
  path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
9698
9698
  }), {
9699
9699
  method: 'put',
@@ -9713,7 +9713,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
9713
9713
  doesParamExist.default({
9714
9714
  onboardingRequestId: onboardingRequestId
9715
9715
  });
9716
- return request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9716
+ return request(_objectSpread$F({}, opts, {
9717
9717
  path: pathOnboardingRequest(onboardingRequestId)
9718
9718
  }), {
9719
9719
  method: 'delete',
@@ -9777,7 +9777,7 @@ var createService = function createService(fullName, displayName, type, body, op
9777
9777
  type: type
9778
9778
  }, body);
9779
9779
 
9780
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9780
+ return request(_objectSpread$G({}, opts, {
9781
9781
  path: PATH__OPS_SERVICES
9782
9782
  }), {
9783
9783
  method: 'post',
@@ -9798,7 +9798,7 @@ var deleteService = function deleteService(serviceId, opts) {
9798
9798
  doesParamExist.default({
9799
9799
  serviceId: serviceId
9800
9800
  }, opts.hyperMediaEndpoint);
9801
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9801
+ return request(_objectSpread$G({}, opts, {
9802
9802
  path: pathOpsService(serviceId)
9803
9803
  }), {
9804
9804
  method: 'delete'
@@ -9818,7 +9818,7 @@ var deployService = function deployService(serviceId, opts) {
9818
9818
  doesParamExist.default({
9819
9819
  serviceId: serviceId
9820
9820
  }, opts.hyperMediaEndpoint);
9821
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9821
+ return request(_objectSpread$G({}, opts, {
9822
9822
  path: PATH__OPS_DEPLOYMENTS
9823
9823
  }), {
9824
9824
  method: 'post',
@@ -9842,7 +9842,7 @@ var getDeployments = function getDeployments(query, opts) {
9842
9842
  opts = {};
9843
9843
  }
9844
9844
 
9845
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9845
+ return request(_objectSpread$G({}, opts, {
9846
9846
  path: PATH__OPS_DEPLOYMENTS
9847
9847
  }), {
9848
9848
  method: 'get',
@@ -9863,7 +9863,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
9863
9863
  doesParamExist.default({
9864
9864
  deploymentId: deploymentId
9865
9865
  }, opts.hyperMediaEndpoint);
9866
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9866
+ return request(_objectSpread$G({}, opts, {
9867
9867
  path: pathOpsDeployment(deploymentId)
9868
9868
  }), {
9869
9869
  method: 'get'
@@ -9884,7 +9884,7 @@ var getServices = function getServices(query, opts) {
9884
9884
  opts = {};
9885
9885
  }
9886
9886
 
9887
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9887
+ return request(_objectSpread$G({}, opts, {
9888
9888
  path: PATH__OPS_SERVICES
9889
9889
  }), {
9890
9890
  method: 'get',
@@ -9905,7 +9905,7 @@ var getService = function getService(serviceId, opts) {
9905
9905
  doesParamExist.default({
9906
9906
  serviceId: serviceId
9907
9907
  }, opts.hyperMediaEndpoint);
9908
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9908
+ return request(_objectSpread$G({}, opts, {
9909
9909
  path: pathOpsService(serviceId)
9910
9910
  }), {
9911
9911
  method: 'get'
@@ -9926,7 +9926,7 @@ var updateService = function updateService(serviceId, body, opts) {
9926
9926
  doesParamExist.default({
9927
9927
  serviceId: serviceId
9928
9928
  }, opts.hyperMediaEndpoint);
9929
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9929
+ return request(_objectSpread$G({}, opts, {
9930
9930
  path: pathOpsService(serviceId)
9931
9931
  }), {
9932
9932
  method: 'put',
@@ -9948,7 +9948,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
9948
9948
  doesParamExist.default({
9949
9949
  serviceId: serviceId
9950
9950
  }, opts.hyperMediaEndpoint);
9951
- return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9951
+ return request(_objectSpread$G({}, opts, {
9952
9952
  path: PATH__OPS_DECRTPT
9953
9953
  }), {
9954
9954
  method: 'post',
@@ -9988,7 +9988,7 @@ var getOrganisations = function getOrganisations(query, opts) {
9988
9988
  opts = {};
9989
9989
  }
9990
9990
 
9991
- return request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9991
+ return request(_objectSpread$H({}, opts, {
9992
9992
  path: PATH__ORGANISATIONS
9993
9993
  }), {
9994
9994
  method: 'get',
@@ -10045,7 +10045,7 @@ var getPartners = /*#__PURE__*/function () {
10045
10045
  opts = {};
10046
10046
  }
10047
10047
 
10048
- return _context.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10048
+ return _context.abrupt("return", request(_objectSpread$I({}, opts, {
10049
10049
  path: PATH__PARTNERS
10050
10050
  }), {
10051
10051
  method: 'get',
@@ -10083,7 +10083,7 @@ var getPartner = /*#__PURE__*/function () {
10083
10083
  doesParamExist.default({
10084
10084
  partnerId: partnerId
10085
10085
  }, opts.hyperMediaEndpoint);
10086
- return _context2.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10086
+ return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
10087
10087
  path: pathPartner(partnerId)
10088
10088
  }), {
10089
10089
  method: 'get'
@@ -10121,7 +10121,7 @@ var updatePartner = /*#__PURE__*/function () {
10121
10121
  doesParamExist.default({
10122
10122
  partnerId: partnerId
10123
10123
  }, opts.hyperMediaEndpoint);
10124
- return _context3.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10124
+ return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
10125
10125
  path: pathPartner(partnerId)
10126
10126
  }), {
10127
10127
  method: 'put',
@@ -10165,7 +10165,7 @@ var updatePartnerPractice = /*#__PURE__*/function () {
10165
10165
  data = _objectSpread$I({
10166
10166
  fullNameId: fullNameId
10167
10167
  }, body);
10168
- return _context4.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10168
+ return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
10169
10169
  path: pathPartnerPractices(partnerId)
10170
10170
  }), {
10171
10171
  method: 'put',
@@ -10212,7 +10212,7 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
10212
10212
  data = _objectSpread$I({
10213
10213
  providerNumberId: providerNumberId
10214
10214
  }, body);
10215
- return _context5.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10215
+ return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
10216
10216
  path: pathPartnerPracticeProviderData(partnerId, practiceId)
10217
10217
  }), {
10218
10218
  method: 'put',
@@ -10255,7 +10255,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
10255
10255
  doesParamExist.default({
10256
10256
  accountId: accountId
10257
10257
  }, opts.hyperMediaEndpoint);
10258
- return _context6.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10258
+ return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
10259
10259
  path: pathPartnerAccount(accountId) + "/verify"
10260
10260
  }), {
10261
10261
  method: 'post',
@@ -10295,7 +10295,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
10295
10295
  doesParamExist.default({
10296
10296
  accountId: accountId
10297
10297
  }, opts.hyperMediaEndpoint);
10298
- return _context7.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10298
+ return _context7.abrupt("return", request(_objectSpread$I({}, opts, {
10299
10299
  path: pathPartnerAccount(accountId) + "/notify"
10300
10300
  }), {
10301
10301
  method: 'post'
@@ -10363,7 +10363,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
10363
10363
  businessId: businessId,
10364
10364
  patientId: patientId
10365
10365
  }, opts.hyperMediaEndpoint);
10366
- return request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10366
+ return request(_objectSpread$J({}, opts, {
10367
10367
  path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
10368
10368
  }), {
10369
10369
  method: 'post',
@@ -10390,7 +10390,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
10390
10390
  doesParamExist.default({
10391
10391
  businessId: businessId
10392
10392
  }, opts.hyperMediaEndpoint);
10393
- return _context.abrupt("return", request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10393
+ return _context.abrupt("return", request(_objectSpread$J({}, opts, {
10394
10394
  path: pathBusinessPatients(businessId)
10395
10395
  }), {
10396
10396
  method: 'post',
@@ -10433,7 +10433,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
10433
10433
  doesParamExist.default({
10434
10434
  businessId: businessId
10435
10435
  }, opts.hyperMediaEndpoint);
10436
- return _context2.abrupt("return", request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10436
+ return _context2.abrupt("return", request(_objectSpread$J({}, opts, {
10437
10437
  path: pathBusinessPatients(businessId)
10438
10438
  }), {
10439
10439
  method: 'get',
@@ -10472,7 +10472,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
10472
10472
  doesParamExist.default({
10473
10473
  businessId: businessId
10474
10474
  }, opts.hyperMediaEndpoint);
10475
- return _context3.abrupt("return", request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10475
+ return _context3.abrupt("return", request(_objectSpread$J({}, opts, {
10476
10476
  path: pathBusinessPatient(businessId, patientId)
10477
10477
  }), {
10478
10478
  method: 'get'
@@ -10511,7 +10511,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
10511
10511
  businessId: businessId,
10512
10512
  refId: refId
10513
10513
  }, opts.hyperMediaEndpoint);
10514
- return _context4.abrupt("return", request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10514
+ return _context4.abrupt("return", request(_objectSpread$J({}, opts, {
10515
10515
  path: pathBusinessPatientByRefId(businessId, refId)
10516
10516
  }), {
10517
10517
  method: 'get'
@@ -10550,7 +10550,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
10550
10550
  doesParamExist.default({
10551
10551
  businessId: businessId
10552
10552
  }, opts.hyperMediaEndpoint);
10553
- return _context5.abrupt("return", request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10553
+ return _context5.abrupt("return", request(_objectSpread$J({}, opts, {
10554
10554
  path: pathBusinessPatient(businessId, patientId)
10555
10555
  }), {
10556
10556
  method: 'put',
@@ -10589,7 +10589,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
10589
10589
  doesParamExist.default({
10590
10590
  businessId: businessId
10591
10591
  }, opts.hyperMediaEndpoint);
10592
- return _context6.abrupt("return", request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
10592
+ return _context6.abrupt("return", request(_objectSpread$J({}, opts, {
10593
10593
  path: pathBusinessPatient(businessId, patientId)
10594
10594
  }), {
10595
10595
  method: 'delete'
@@ -10695,7 +10695,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
10695
10695
  nonce: nonce,
10696
10696
  source: source
10697
10697
  }, opts.hyperMediaEndpoint);
10698
- return _context.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10698
+ return _context.abrupt("return", request(_objectSpread$K({}, opts, {
10699
10699
  path: pathAccountPaymentMethods(accountId)
10700
10700
  }), {
10701
10701
  method: 'post',
@@ -10739,7 +10739,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
10739
10739
  nonce: nonce,
10740
10740
  source: source
10741
10741
  }, opts.hyperMediaEndpoint);
10742
- return _context2.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10742
+ return _context2.abrupt("return", request(_objectSpread$K({}, opts, {
10743
10743
  path: pathBusinessPaymentMethods(businessId)
10744
10744
  }), {
10745
10745
  method: 'post',
@@ -10785,7 +10785,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
10785
10785
  nonce: nonce,
10786
10786
  source: source
10787
10787
  }, opts.hyperMediaEndpoint);
10788
- return _context3.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10788
+ return _context3.abrupt("return", request(_objectSpread$K({}, opts, {
10789
10789
  path: pathBusinessPatientPaymentMethods(businessId, patientId)
10790
10790
  }), {
10791
10791
  method: 'post',
@@ -10829,7 +10829,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
10829
10829
  accountId: accountId,
10830
10830
  paymentMethodId: paymentMethodId
10831
10831
  }, opts.hyperMediaEndpoint);
10832
- return _context4.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10832
+ return _context4.abrupt("return", request(_objectSpread$K({}, opts, {
10833
10833
  path: pathAccountPaymentMethod(accountId, paymentMethodId)
10834
10834
  }), {
10835
10835
  method: 'delete'
@@ -10869,7 +10869,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
10869
10869
  businessId: businessId,
10870
10870
  paymentMethodId: paymentMethodId
10871
10871
  }, opts.hyperMediaEndpoint);
10872
- return _context5.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10872
+ return _context5.abrupt("return", request(_objectSpread$K({}, opts, {
10873
10873
  path: pathBusinessPaymentMethod(businessId, paymentMethodId)
10874
10874
  }), {
10875
10875
  method: 'delete'
@@ -10911,7 +10911,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
10911
10911
  patientId: patientId,
10912
10912
  paymentMethodId: paymentMethodId
10913
10913
  }, opts.hyperMediaEndpoint);
10914
- return _context6.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10914
+ return _context6.abrupt("return", request(_objectSpread$K({}, opts, {
10915
10915
  path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
10916
10916
  }), {
10917
10917
  method: 'delete'
@@ -10949,7 +10949,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
10949
10949
  doesParamExist.default({
10950
10950
  accountId: accountId
10951
10951
  }, opts.hyperMediaEndpoint);
10952
- return _context7.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10952
+ return _context7.abrupt("return", request(_objectSpread$K({}, opts, {
10953
10953
  path: pathAccountPaymentMethods(accountId)
10954
10954
  }), {
10955
10955
  method: 'get'
@@ -10987,7 +10987,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
10987
10987
  doesParamExist.default({
10988
10988
  businessId: businessId
10989
10989
  }, opts.hyperMediaEndpoint);
10990
- return _context8.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
10990
+ return _context8.abrupt("return", request(_objectSpread$K({}, opts, {
10991
10991
  path: pathBusinessPaymentMethods(businessId)
10992
10992
  }), {
10993
10993
  method: 'get'
@@ -11026,7 +11026,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
11026
11026
  businessId: businessId,
11027
11027
  patientId: patientId
11028
11028
  }, opts.hyperMediaEndpoint);
11029
- return _context9.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11029
+ return _context9.abrupt("return", request(_objectSpread$K({}, opts, {
11030
11030
  path: pathBusinessPatientPaymentMethods(businessId, patientId)
11031
11031
  }), {
11032
11032
  method: 'get'
@@ -11066,7 +11066,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
11066
11066
  businessId: businessId,
11067
11067
  refId: refId
11068
11068
  }, opts.hyperMediaEndpoint);
11069
- return _context10.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11069
+ return _context10.abrupt("return", request(_objectSpread$K({}, opts, {
11070
11070
  path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
11071
11071
  }), {
11072
11072
  method: 'get'
@@ -11106,7 +11106,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
11106
11106
  accountId: accountId,
11107
11107
  paymentMethodId: paymentMethodId
11108
11108
  }, opts.hyperMediaEndpoint);
11109
- return _context11.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11109
+ return _context11.abrupt("return", request(_objectSpread$K({}, opts, {
11110
11110
  path: pathAccountPaymentMethod(accountId, paymentMethodId)
11111
11111
  }), {
11112
11112
  method: 'get'
@@ -11146,7 +11146,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
11146
11146
  businessId: businessId,
11147
11147
  paymentMethodId: paymentMethodId
11148
11148
  }, opts.hyperMediaEndpoint);
11149
- return _context12.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11149
+ return _context12.abrupt("return", request(_objectSpread$K({}, opts, {
11150
11150
  path: pathBusinessPaymentMethod(businessId, paymentMethodId)
11151
11151
  }), {
11152
11152
  method: 'get'
@@ -11188,7 +11188,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
11188
11188
  patientId: patientId,
11189
11189
  paymentMethodId: paymentMethodId
11190
11190
  }, opts.hyperMediaEndpoint);
11191
- return _context13.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11191
+ return _context13.abrupt("return", request(_objectSpread$K({}, opts, {
11192
11192
  path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
11193
11193
  }), {
11194
11194
  method: 'get'
@@ -11228,7 +11228,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
11228
11228
  businessId: businessId,
11229
11229
  source: source
11230
11230
  }, opts.hyperMediaEndpoint);
11231
- return _context14.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11231
+ return _context14.abrupt("return", request(_objectSpread$K({}, opts, {
11232
11232
  path: pathBusinessPaymentsClientTokens(businessId)
11233
11233
  }), {
11234
11234
  method: 'get',
@@ -11271,7 +11271,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
11271
11271
  businessId: businessId,
11272
11272
  patientId: patientId
11273
11273
  }, opts.hyperMediaEndpoint);
11274
- return _context15.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11274
+ return _context15.abrupt("return", request(_objectSpread$K({}, opts, {
11275
11275
  path: pathBusinessPaymentClientToken(businessId, patientId)
11276
11276
  }), {
11277
11277
  method: 'get'
@@ -11309,7 +11309,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
11309
11309
  doesParamExist.default({
11310
11310
  businessId: businessId
11311
11311
  }, opts.hyperMediaEndpoint);
11312
- return _context16.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11312
+ return _context16.abrupt("return", request(_objectSpread$K({}, opts, {
11313
11313
  path: pathBusinessSalesClientToken(businessId)
11314
11314
  }), {
11315
11315
  method: 'get'
@@ -11349,7 +11349,7 @@ var getClientToken = /*#__PURE__*/function () {
11349
11349
  doesParamExist.default({
11350
11350
  source: source
11351
11351
  }, opts.hyperMediaEndpoint);
11352
- return _context17.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11352
+ return _context17.abrupt("return", request(_objectSpread$K({}, opts, {
11353
11353
  path: PATH__PAYMENTS + "/clienttoken"
11354
11354
  }), {
11355
11355
  method: 'get',
@@ -11393,7 +11393,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
11393
11393
  accountId: accountId,
11394
11394
  paymentMethodId: paymentMethodId
11395
11395
  }, opts.hyperMediaEndpoint);
11396
- return _context18.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11396
+ return _context18.abrupt("return", request(_objectSpread$K({}, opts, {
11397
11397
  path: pathAccountPaymentMethod(accountId, paymentMethodId)
11398
11398
  }), {
11399
11399
  data: body,
@@ -11434,7 +11434,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
11434
11434
  businessId: businessId,
11435
11435
  paymentMethodId: paymentMethodId
11436
11436
  }, opts.hyperMediaEndpoint);
11437
- return _context19.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11437
+ return _context19.abrupt("return", request(_objectSpread$K({}, opts, {
11438
11438
  path: pathBusinessPaymentMethod(businessId, paymentMethodId)
11439
11439
  }), {
11440
11440
  data: body,
@@ -11476,7 +11476,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
11476
11476
  patientId: patientId,
11477
11477
  paymentMethodId: paymentMethodId
11478
11478
  }, opts.hyperMediaEndpoint);
11479
- return _context20.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11479
+ return _context20.abrupt("return", request(_objectSpread$K({}, opts, {
11480
11480
  path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
11481
11481
  }), {
11482
11482
  data: body,
@@ -11626,7 +11626,7 @@ var getNonce = /*#__PURE__*/function () {
11626
11626
  throw new Error(getPaymentGatewayError(updateSessionResponse));
11627
11627
 
11628
11628
  case 38:
11629
- return _context21.abrupt("return", _objectSpread$K(_objectSpread$K({}, clientToken), {}, {
11629
+ return _context21.abrupt("return", _objectSpread$K({}, clientToken, {
11630
11630
  nonce: clientToken.clientToken,
11631
11631
  sourceResponse: updateSessionResponse
11632
11632
  }));
@@ -11669,7 +11669,7 @@ var getNonce = /*#__PURE__*/function () {
11669
11669
 
11670
11670
  case 47:
11671
11671
  sourceResponse = _context21.sent;
11672
- return _context21.abrupt("return", _objectSpread$K(_objectSpread$K({}, clientToken), {}, {
11672
+ return _context21.abrupt("return", _objectSpread$K({}, clientToken, {
11673
11673
  nonce: _get(sourceResponse, 'creditCards[0].nonce'),
11674
11674
  sourceResponse: sourceResponse
11675
11675
  }));
@@ -11726,7 +11726,7 @@ var getNonce = /*#__PURE__*/function () {
11726
11726
 
11727
11727
  case 66:
11728
11728
  sourceResponse = _context21.sent;
11729
- return _context21.abrupt("return", _objectSpread$K(_objectSpread$K({}, clientToken), {}, {
11729
+ return _context21.abrupt("return", _objectSpread$K({}, clientToken, {
11730
11730
  nonce: sourceResponse.nonce,
11731
11731
  sourceResponse: sourceResponse
11732
11732
  }));
@@ -11756,7 +11756,7 @@ var getNonce = /*#__PURE__*/function () {
11756
11756
 
11757
11757
  case 75:
11758
11758
  canMakeApplePayment = _context21.sent;
11759
- return _context21.abrupt("return", _objectSpread$K(_objectSpread$K({}, clientToken), {}, {
11759
+ return _context21.abrupt("return", _objectSpread$K({}, clientToken, {
11760
11760
  applePayInstance: applePayInstance,
11761
11761
  canMakeApplePayment: canMakeApplePayment,
11762
11762
  paymentRequest: paymentRequest
@@ -11847,7 +11847,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
11847
11847
  doesParamExist.default({
11848
11848
  businessId: businessId
11849
11849
  }, opts.hyperMediaEndpoint);
11850
- return _context.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
11850
+ return _context.abrupt("return", request(_objectSpread$L({}, opts, {
11851
11851
  path: pathBusinessPmsPractices(businessId)
11852
11852
  }), {
11853
11853
  method: 'get',
@@ -11890,7 +11890,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
11890
11890
  doesParamExist.default({
11891
11891
  businessId: businessId
11892
11892
  }, opts.hyperMediaEndpoint);
11893
- return _context2.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
11893
+ return _context2.abrupt("return", request(_objectSpread$L({}, opts, {
11894
11894
  path: pathBusinessPmsServices(businessId)
11895
11895
  }), {
11896
11896
  method: 'get',
@@ -11933,7 +11933,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
11933
11933
  doesParamExist.default({
11934
11934
  businessId: businessId
11935
11935
  }, opts.hyperMediaEndpoint);
11936
- return _context3.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
11936
+ return _context3.abrupt("return", request(_objectSpread$L({}, opts, {
11937
11937
  path: pathBusinessPmsStaffMembers(businessId)
11938
11938
  }), {
11939
11939
  method: 'get',
@@ -11972,7 +11972,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
11972
11972
  doesParamExist.default({
11973
11973
  businessId: businessId
11974
11974
  }, opts.hyperMediaEndpoint);
11975
- return _context4.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
11975
+ return _context4.abrupt("return", request(_objectSpread$L({}, opts, {
11976
11976
  path: pathBusinessPmsPractices(businessId) + "/import"
11977
11977
  }), {
11978
11978
  method: 'post',
@@ -12011,7 +12011,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
12011
12011
  doesParamExist.default({
12012
12012
  businessId: businessId
12013
12013
  }, opts.hyperMediaEndpoint);
12014
- return _context5.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
12014
+ return _context5.abrupt("return", request(_objectSpread$L({}, opts, {
12015
12015
  path: pathBusinessPmsServices(businessId) + "/import"
12016
12016
  }), {
12017
12017
  method: 'post',
@@ -12050,7 +12050,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
12050
12050
  doesParamExist.default({
12051
12051
  businessId: businessId
12052
12052
  }, opts.hyperMediaEndpoint);
12053
- return _context6.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
12053
+ return _context6.abrupt("return", request(_objectSpread$L({}, opts, {
12054
12054
  path: pathBusinessPmsStaffMembers(businessId) + "/import"
12055
12055
  }), {
12056
12056
  method: 'post',
@@ -12103,7 +12103,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
12103
12103
  doesParamExist.default({
12104
12104
  organisationId: organisationId
12105
12105
  }, opts.hyperMediaEndpoint);
12106
- return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12106
+ return request(_objectSpread$M({}, opts, {
12107
12107
  path: pathOrganisationPracticeProfiles(organisationId)
12108
12108
  }), {
12109
12109
  method: 'get',
@@ -12118,7 +12118,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
12118
12118
  doesParamExist.default({
12119
12119
  practiceProfileId: practiceProfileId
12120
12120
  }, opts.hyperMediaEndpoint);
12121
- return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12121
+ return request(_objectSpread$M({}, opts, {
12122
12122
  path: pathPracticeProfile(practiceProfileId)
12123
12123
  }), {
12124
12124
  method: 'get'
@@ -12136,7 +12136,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
12136
12136
  var body = {
12137
12137
  practiceId: practiceId
12138
12138
  };
12139
- return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12139
+ return request(_objectSpread$M({}, opts, {
12140
12140
  path: pathLinkPracticeProfile(practiceProfileId)
12141
12141
  }), {
12142
12142
  method: 'put',
@@ -12151,7 +12151,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
12151
12151
  doesParamExist.default({
12152
12152
  practiceProfileId: practiceProfileId
12153
12153
  }, opts.hyperMediaEndpoint);
12154
- return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12154
+ return request(_objectSpread$M({}, opts, {
12155
12155
  path: pathUnlinkPracticeProfile(practiceProfileId)
12156
12156
  }), {
12157
12157
  method: 'put'
@@ -12243,7 +12243,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
12243
12243
  doesParamExist.default({
12244
12244
  businessId: businessId
12245
12245
  }, opts.hyperMediaEndpoint);
12246
- return _context.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12246
+ return _context.abrupt("return", request(_objectSpread$N({}, opts, {
12247
12247
  path: pathBusinessPractices(businessId)
12248
12248
  }), {
12249
12249
  method: 'post',
@@ -12282,7 +12282,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
12282
12282
  doesParamExist.default({
12283
12283
  organisationId: organisationId
12284
12284
  }, opts.hyperMediaEndpoint);
12285
- return _context2.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12285
+ return _context2.abrupt("return", request(_objectSpread$N({}, opts, {
12286
12286
  path: pathOrganisationPractices(organisationId)
12287
12287
  }), {
12288
12288
  method: 'post',
@@ -12322,7 +12322,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
12322
12322
  businessId: businessId,
12323
12323
  practiceId: practiceId
12324
12324
  }, opts.hyperMediaEndpoint);
12325
- return _context3.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12325
+ return _context3.abrupt("return", request(_objectSpread$N({}, opts, {
12326
12326
  path: pathBusinessPractice(businessId, practiceId)
12327
12327
  }), {
12328
12328
  method: 'delete'
@@ -12361,7 +12361,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
12361
12361
  organisationId: organisationId,
12362
12362
  practiceId: practiceId
12363
12363
  }, opts.hyperMediaEndpoint);
12364
- return _context4.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12364
+ return _context4.abrupt("return", request(_objectSpread$N({}, opts, {
12365
12365
  path: pathOrganisationPractice(organisationId, practiceId)
12366
12366
  }), {
12367
12367
  method: 'delete'
@@ -12400,7 +12400,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
12400
12400
  businessId: businessId,
12401
12401
  practiceId: practiceId
12402
12402
  }, opts.hyperMediaEndpoint);
12403
- return _context5.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12403
+ return _context5.abrupt("return", request(_objectSpread$N({}, opts, {
12404
12404
  path: pathBusinessPractice(businessId, practiceId)
12405
12405
  }), {
12406
12406
  method: 'get'
@@ -12442,7 +12442,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
12442
12442
  doesParamExist.default({
12443
12443
  businessId: businessId
12444
12444
  }, opts.hyperMediaEndpoint);
12445
- return _context6.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12445
+ return _context6.abrupt("return", request(_objectSpread$N({}, opts, {
12446
12446
  path: pathBusinessPractices(businessId)
12447
12447
  }), {
12448
12448
  method: 'get',
@@ -12487,7 +12487,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
12487
12487
  businessId: businessId,
12488
12488
  formId: formId
12489
12489
  }, opts.hyperMediaEndpoint);
12490
- return _context7.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12490
+ return _context7.abrupt("return", request(_objectSpread$N({}, opts, {
12491
12491
  path: pathBusinessFormPractices(businessId, formId)
12492
12492
  }), {
12493
12493
  method: 'get',
@@ -12529,7 +12529,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
12529
12529
  practiceId: practiceId,
12530
12530
  query: query
12531
12531
  }, opts.hyperMediaEndpoint);
12532
- return _context8.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12532
+ return _context8.abrupt("return", request(_objectSpread$N({}, opts, {
12533
12533
  path: pathBusinessPracticeUploadUrl(businessId, practiceId)
12534
12534
  }), {
12535
12535
  method: 'get',
@@ -12573,7 +12573,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
12573
12573
  businessId: businessId,
12574
12574
  staffId: staffId
12575
12575
  }, opts.hyperMediaEndpoint);
12576
- return _context9.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12576
+ return _context9.abrupt("return", request(_objectSpread$N({}, opts, {
12577
12577
  path: pathBusinessStaffPractices(businessId, staffId)
12578
12578
  }), {
12579
12579
  method: 'get',
@@ -12616,7 +12616,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
12616
12616
  doesParamExist.default({
12617
12617
  organisationId: organisationId
12618
12618
  }, opts.hyperMediaEndpoint);
12619
- return _context10.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12619
+ return _context10.abrupt("return", request(_objectSpread$N({}, opts, {
12620
12620
  path: pathOrganisationPractices(organisationId)
12621
12621
  }), {
12622
12622
  method: 'get',
@@ -12655,7 +12655,7 @@ var getPractice = /*#__PURE__*/function () {
12655
12655
  doesParamExist.default({
12656
12656
  practiceId: practiceId
12657
12657
  }, opts.hyperMediaEndpoint);
12658
- return _context11.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12658
+ return _context11.abrupt("return", request(_objectSpread$N({}, opts, {
12659
12659
  path: pathPractice(practiceId)
12660
12660
  }), {
12661
12661
  method: 'get'
@@ -12684,7 +12684,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
12684
12684
  opts = {};
12685
12685
  }
12686
12686
 
12687
- return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12687
+ return request(_objectSpread$N({}, opts, {
12688
12688
  path: pathPractice(practiceId) + "/verify/request"
12689
12689
  }), {
12690
12690
  method: 'post'
@@ -12702,7 +12702,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
12702
12702
  opts = {};
12703
12703
  }
12704
12704
 
12705
- return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12705
+ return request(_objectSpread$N({}, opts, {
12706
12706
  path: pathPractice(practiceId) + "/access/request"
12707
12707
  }), {
12708
12708
  method: 'post',
@@ -12726,7 +12726,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
12726
12726
  opts = {};
12727
12727
  }
12728
12728
 
12729
- return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12729
+ return request(_objectSpread$N({}, opts, {
12730
12730
  path: pathOnboardingPractices()
12731
12731
  }), {
12732
12732
  method: 'get',
@@ -12755,7 +12755,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
12755
12755
  businessId: businessId,
12756
12756
  practiceId: practiceId
12757
12757
  }, opts.hyperMediaEndpoint);
12758
- return _context12.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12758
+ return _context12.abrupt("return", request(_objectSpread$N({}, opts, {
12759
12759
  path: pathBusinessPractice(businessId, practiceId)
12760
12760
  }), {
12761
12761
  method: 'put',
@@ -12796,7 +12796,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
12796
12796
  organisationId: organisationId,
12797
12797
  practiceId: practiceId
12798
12798
  }, opts.hyperMediaEndpoint);
12799
- return _context13.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12799
+ return _context13.abrupt("return", request(_objectSpread$N({}, opts, {
12800
12800
  path: pathOrganisationPractice(organisationId, practiceId)
12801
12801
  }), {
12802
12802
  method: 'put',
@@ -12828,11 +12828,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
12828
12828
  opts = {};
12829
12829
  }
12830
12830
 
12831
- return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12831
+ return request(_objectSpread$N({}, opts, {
12832
12832
  path: pathPractice(practiceId) + "/verify"
12833
12833
  }), {
12834
12834
  method: 'post',
12835
- data: _objectSpread$N(_objectSpread$N({}, body), {}, {
12835
+ data: _objectSpread$N({}, body, {
12836
12836
  otkCode: otkCode
12837
12837
  })
12838
12838
  });
@@ -12857,7 +12857,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
12857
12857
  doesParamExist.default({
12858
12858
  practiceId: practiceId
12859
12859
  }, opts.hyperMediaEndpoint);
12860
- return _context14.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12860
+ return _context14.abrupt("return", request(_objectSpread$N({}, opts, {
12861
12861
  path: pathPractice(practiceId) + "/clone"
12862
12862
  }), {
12863
12863
  method: 'post',
@@ -12902,7 +12902,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
12902
12902
  businessId: businessId,
12903
12903
  formId: formId
12904
12904
  }, opts.hyperMediaEndpoint);
12905
- return _context15.abrupt("return", request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12905
+ return _context15.abrupt("return", request(_objectSpread$N({}, opts, {
12906
12906
  path: pathGetPracticesWithApprovedApplications(businessId, formId)
12907
12907
  }), {
12908
12908
  method: 'get',
@@ -12964,7 +12964,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
12964
12964
  opts = {};
12965
12965
  }
12966
12966
 
12967
- return _context.abrupt("return", request(_objectSpread$O(_objectSpread$O({}, opts), {}, {
12967
+ return _context.abrupt("return", request(_objectSpread$O({}, opts, {
12968
12968
  path: PATH__PRACTICE_TYPES
12969
12969
  }), {
12970
12970
  method: 'get'
@@ -13008,7 +13008,7 @@ var getProducts = function getProducts(query, opts) {
13008
13008
  opts = {};
13009
13009
  }
13010
13010
 
13011
- return request(_objectSpread$P(_objectSpread$P({}, opts), {}, {
13011
+ return request(_objectSpread$P({}, opts, {
13012
13012
  path: '/products'
13013
13013
  }), {
13014
13014
  method: 'get',
@@ -13030,7 +13030,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
13030
13030
  doesParamExist.default({
13031
13031
  businessId: businessId
13032
13032
  });
13033
- return request(_objectSpread$P(_objectSpread$P({}, opts), {}, {
13033
+ return request(_objectSpread$P({}, opts, {
13034
13034
  path: pathBusinessProducts(businessId)
13035
13035
  }), {
13036
13036
  method: 'get',
@@ -13053,7 +13053,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
13053
13053
  businessId: businessId,
13054
13054
  productId: productId
13055
13055
  });
13056
- return request(_objectSpread$P(_objectSpread$P({}, opts), {}, {
13056
+ return request(_objectSpread$P({}, opts, {
13057
13057
  path: pathBusinessProduct(businessId, productId)
13058
13058
  }), {
13059
13059
  method: 'get'
@@ -13090,7 +13090,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
13090
13090
  opts = {};
13091
13091
  }
13092
13092
 
13093
- return request(_objectSpread$Q(_objectSpread$Q({}, opts), {}, {
13093
+ return request(_objectSpread$Q({}, opts, {
13094
13094
  path: pathProfessionalCategories
13095
13095
  }), {
13096
13096
  method: 'get',
@@ -13112,7 +13112,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
13112
13112
  doesParamExist.default({
13113
13113
  businessId: businessId
13114
13114
  });
13115
- return request(_objectSpread$Q(_objectSpread$Q({}, opts), {}, {
13115
+ return request(_objectSpread$Q({}, opts, {
13116
13116
  path: pathBusinessProfessionalCategories(businessId)
13117
13117
  }), {
13118
13118
  method: 'get',
@@ -13133,7 +13133,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
13133
13133
  doesParamExist.default({
13134
13134
  professionalCategoryId: professionalCategoryId
13135
13135
  });
13136
- return request(_objectSpread$Q(_objectSpread$Q({}, opts), {}, {
13136
+ return request(_objectSpread$Q({}, opts, {
13137
13137
  path: pathProfessionalCategory(professionalCategoryId)
13138
13138
  }), {
13139
13139
  method: 'get'
@@ -13184,7 +13184,7 @@ var createProviderRequest = /*#__PURE__*/function () {
13184
13184
  doesParamExist.default({
13185
13185
  businessId: businessId
13186
13186
  }, opts.hyperMediaEndpoint);
13187
- return _context.abrupt("return", request(_objectSpread$R(_objectSpread$R({}, opts), {}, {
13187
+ return _context.abrupt("return", request(_objectSpread$R({}, opts, {
13188
13188
  path: pathBusinessProviderRequests(businessId)
13189
13189
  }), {
13190
13190
  method: 'post',
@@ -13225,7 +13225,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
13225
13225
  doesParamExist.default({
13226
13226
  businessId: businessId
13227
13227
  }, opts.hyperMediaEndpoint);
13228
- return _context2.abrupt("return", request(_objectSpread$R(_objectSpread$R({}, opts), {}, {
13228
+ return _context2.abrupt("return", request(_objectSpread$R({}, opts, {
13229
13229
  path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
13230
13230
  }), {
13231
13231
  method: 'post',
@@ -13276,7 +13276,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
13276
13276
  opts = {};
13277
13277
  }
13278
13278
 
13279
- return _context.abrupt("return", request(_objectSpread$S(_objectSpread$S({}, opts), {}, {
13279
+ return _context.abrupt("return", request(_objectSpread$S({}, opts, {
13280
13280
  path: pathGetProviderRegistrationTypes
13281
13281
  }), {
13282
13282
  method: 'get',
@@ -13311,7 +13311,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
13311
13311
  opts = {};
13312
13312
  }
13313
13313
 
13314
- return _context2.abrupt("return", request(_objectSpread$S(_objectSpread$S({}, opts), {}, {
13314
+ return _context2.abrupt("return", request(_objectSpread$S({}, opts, {
13315
13315
  path: pathGetProviderRegistrationType(providerRegistrationTypeId)
13316
13316
  }), {
13317
13317
  method: 'get'
@@ -13367,7 +13367,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
13367
13367
  opts = {};
13368
13368
  }
13369
13369
 
13370
- return _context.abrupt("return", request(_objectSpread$T(_objectSpread$T({}, opts), {}, {
13370
+ return _context.abrupt("return", request(_objectSpread$T({}, opts, {
13371
13371
  path: pathProviderNumberTypes()
13372
13372
  }), {
13373
13373
  method: 'get',
@@ -13405,7 +13405,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
13405
13405
  doesParamExist.default({
13406
13406
  providerNumberTypeId: providerNumberTypeId
13407
13407
  }, opts.hyperMediaEndpoint);
13408
- return request(_objectSpread$T(_objectSpread$T({}, opts), {}, {
13408
+ return request(_objectSpread$T({}, opts, {
13409
13409
  path: pathProviderNumberType(providerNumberTypeId)
13410
13410
  }), {
13411
13411
  method: 'get',
@@ -13440,7 +13440,7 @@ var getProviderTypes = /*#__PURE__*/function () {
13440
13440
  opts = {};
13441
13441
  }
13442
13442
 
13443
- return _context.abrupt("return", request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
13443
+ return _context.abrupt("return", request(_objectSpread$U({}, opts, {
13444
13444
  path: PATH__PROVIDER_TYPES
13445
13445
  }), {
13446
13446
  method: 'get'
@@ -13473,7 +13473,7 @@ var getRefSources = function getRefSources(query, opts) {
13473
13473
  opts = {};
13474
13474
  }
13475
13475
 
13476
- return request(_objectSpread$V(_objectSpread$V({}, opts), {}, {
13476
+ return request(_objectSpread$V({}, opts, {
13477
13477
  path: PATH__REF_SOURCES
13478
13478
  }), {
13479
13479
  method: 'get',
@@ -13510,7 +13510,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
13510
13510
  doesParamExist.default({
13511
13511
  transactionId: transactionId
13512
13512
  }, opts.hyperMediaEndpoint);
13513
- return _context.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13513
+ return _context.abrupt("return", request(_objectSpread$W({}, opts, {
13514
13514
  apiName: 'risk',
13515
13515
  path: PATH__TRANSACTIONS + "/risk/" + transactionId
13516
13516
  }), {
@@ -13545,7 +13545,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
13545
13545
  opts = {};
13546
13546
  }
13547
13547
 
13548
- return _context2.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13548
+ return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
13549
13549
  apiName: 'risk',
13550
13550
  path: PATH__TRANSACTIONS
13551
13551
  }), {
@@ -13608,7 +13608,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
13608
13608
  doesParamExist.default({
13609
13609
  businessId: businessId
13610
13610
  }, opts.hyperMediaEndpoint);
13611
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13611
+ return request(_objectSpread$X({}, opts, {
13612
13612
  path: pathBusinessesRNAs(businessId)
13613
13613
  }), {
13614
13614
  method: 'get',
@@ -13631,7 +13631,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
13631
13631
  businessId: businessId,
13632
13632
  rnaId: rnaId
13633
13633
  }, opts.hyperMediaEndpoint);
13634
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13634
+ return request(_objectSpread$X({}, opts, {
13635
13635
  path: "" + pathBusinessRNA(businessId, rnaId)
13636
13636
  }), {
13637
13637
  method: 'get'
@@ -13652,7 +13652,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
13652
13652
  doesParamExist.default({
13653
13653
  businessId: businessId
13654
13654
  }, opts.hyperMediaEndpoint);
13655
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13655
+ return request(_objectSpread$X({}, opts, {
13656
13656
  path: pathBusinessesRNAs(businessId) + "/exists"
13657
13657
  }), {
13658
13658
  method: 'get',
@@ -13667,7 +13667,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
13667
13667
  doesParamExist.default({
13668
13668
  healthFundId: healthFundId
13669
13669
  }, opts.hyperMediaEndpoint);
13670
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13670
+ return request(_objectSpread$X({}, opts, {
13671
13671
  path: pathHealthFundRNAs(healthFundId)
13672
13672
  }), {
13673
13673
  method: 'post',
@@ -13683,7 +13683,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
13683
13683
  healthFundId: healthFundId,
13684
13684
  rnaId: rnaId
13685
13685
  }, opts.hyperMediaEndpoint);
13686
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13686
+ return request(_objectSpread$X({}, opts, {
13687
13687
  path: pathHealthFundRNAAppointments(healthFundId, rnaId)
13688
13688
  }), {
13689
13689
  method: 'post',
@@ -13699,7 +13699,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
13699
13699
  healthFundId: healthFundId,
13700
13700
  rnaId: rnaId
13701
13701
  }, opts.hyperMediaEndpoint);
13702
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13702
+ return request(_objectSpread$X({}, opts, {
13703
13703
  path: pathHealthFundRNA(healthFundId, rnaId)
13704
13704
  }), {
13705
13705
  method: 'get',
@@ -13714,7 +13714,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
13714
13714
  doesParamExist.default({
13715
13715
  healthFundId: healthFundId
13716
13716
  }, opts.hyperMediaEndpoint);
13717
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13717
+ return request(_objectSpread$X({}, opts, {
13718
13718
  path: pathHealthFundRNAs(healthFundId)
13719
13719
  }), {
13720
13720
  method: 'get',
@@ -13731,7 +13731,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
13731
13731
  rnaId: rnaId,
13732
13732
  rnaAppointmentId: rnaAppointmentId
13733
13733
  }, opts.hyperMediaEndpoint);
13734
- return request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13734
+ return request(_objectSpread$X({}, opts, {
13735
13735
  path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
13736
13736
  }), {
13737
13737
  method: 'put',
@@ -13776,7 +13776,7 @@ var getRoles = /*#__PURE__*/function () {
13776
13776
  opts = {};
13777
13777
  }
13778
13778
 
13779
- return _context.abrupt("return", request(_objectSpread$Y(_objectSpread$Y({}, opts), {}, {
13779
+ return _context.abrupt("return", request(_objectSpread$Y({}, opts, {
13780
13780
  path: PATH__ROLES
13781
13781
  }), {
13782
13782
  method: 'get'
@@ -13820,7 +13820,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
13820
13820
  opts = {};
13821
13821
  }
13822
13822
 
13823
- return _context.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
13823
+ return _context.abrupt("return", request(_objectSpread$Z({}, opts, {
13824
13824
  path: PATH__SELF_CHECKOUT_SESSIONS
13825
13825
  }), {
13826
13826
  method: 'post',
@@ -13855,7 +13855,7 @@ var approve = /*#__PURE__*/function () {
13855
13855
  opts = {};
13856
13856
  }
13857
13857
 
13858
- return _context2.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
13858
+ return _context2.abrupt("return", request(_objectSpread$Z({}, opts, {
13859
13859
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
13860
13860
  }), {
13861
13861
  method: 'post',
@@ -13891,7 +13891,7 @@ var cancel$1 = /*#__PURE__*/function () {
13891
13891
  opts = {};
13892
13892
  }
13893
13893
 
13894
- return _context3.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
13894
+ return _context3.abrupt("return", request(_objectSpread$Z({}, opts, {
13895
13895
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
13896
13896
  }), {
13897
13897
  method: 'post',
@@ -13927,7 +13927,7 @@ var cancelSession = /*#__PURE__*/function () {
13927
13927
  opts = {};
13928
13928
  }
13929
13929
 
13930
- return _context4.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
13930
+ return _context4.abrupt("return", request(_objectSpread$Z({}, opts, {
13931
13931
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
13932
13932
  }), {
13933
13933
  method: 'post',
@@ -13962,7 +13962,7 @@ var createMyInvoice = /*#__PURE__*/function () {
13962
13962
  opts = {};
13963
13963
  }
13964
13964
 
13965
- return _context5.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
13965
+ return _context5.abrupt("return", request(_objectSpread$Z({}, opts, {
13966
13966
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
13967
13967
  }), {
13968
13968
  method: 'post',
@@ -13996,7 +13996,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
13996
13996
  opts = {};
13997
13997
  }
13998
13998
 
13999
- return _context6.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
13999
+ return _context6.abrupt("return", request(_objectSpread$Z({}, opts, {
14000
14000
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
14001
14001
  }), {
14002
14002
  method: 'post',
@@ -14036,7 +14036,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
14036
14036
  nonce: nonce,
14037
14037
  source: source
14038
14038
  }, opts.hyperMediaEndpoint);
14039
- return _context7.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14039
+ return _context7.abrupt("return", request(_objectSpread$Z({}, opts, {
14040
14040
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
14041
14041
  }), {
14042
14042
  method: 'post',
@@ -14074,7 +14074,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
14074
14074
  opts = {};
14075
14075
  }
14076
14076
 
14077
- return _context8.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14077
+ return _context8.abrupt("return", request(_objectSpread$Z({}, opts, {
14078
14078
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
14079
14079
  }), {
14080
14080
  method: 'get',
@@ -14128,7 +14128,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
14128
14128
  email: email,
14129
14129
  memberId: memberId
14130
14130
  });
14131
- return _context9.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14131
+ return _context9.abrupt("return", request(_objectSpread$Z({}, opts, {
14132
14132
  path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
14133
14133
  }), {
14134
14134
  method: 'get',
@@ -14165,7 +14165,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
14165
14165
  opts = {};
14166
14166
  }
14167
14167
 
14168
- return _context10.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14168
+ return _context10.abrupt("return", request(_objectSpread$Z({}, opts, {
14169
14169
  path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
14170
14170
  }), {
14171
14171
  method: 'post',
@@ -14200,7 +14200,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
14200
14200
  opts = {};
14201
14201
  }
14202
14202
 
14203
- return _context11.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14203
+ return _context11.abrupt("return", request(_objectSpread$Z({}, opts, {
14204
14204
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
14205
14205
  }), {
14206
14206
  method: 'get',
@@ -14234,7 +14234,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
14234
14234
  opts = {};
14235
14235
  }
14236
14236
 
14237
- return _context12.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14237
+ return _context12.abrupt("return", request(_objectSpread$Z({}, opts, {
14238
14238
  path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
14239
14239
  }), {
14240
14240
  method: 'get',
@@ -14268,7 +14268,7 @@ var rememberMe = /*#__PURE__*/function () {
14268
14268
  opts = {};
14269
14269
  }
14270
14270
 
14271
- return _context13.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14271
+ return _context13.abrupt("return", request(_objectSpread$Z({}, opts, {
14272
14272
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
14273
14273
  }), {
14274
14274
  method: 'post',
@@ -14303,7 +14303,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
14303
14303
  opts = {};
14304
14304
  }
14305
14305
 
14306
- return _context14.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14306
+ return _context14.abrupt("return", request(_objectSpread$Z({}, opts, {
14307
14307
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
14308
14308
  }), {
14309
14309
  method: 'put',
@@ -14342,7 +14342,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
14342
14342
  doesParamExist.default({
14343
14343
  accountId: accountId
14344
14344
  }, opts.hyperMediaEndpoint);
14345
- return _context15.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14345
+ return _context15.abrupt("return", request(_objectSpread$Z({}, opts, {
14346
14346
  path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
14347
14347
  }), {
14348
14348
  method: 'post',
@@ -14587,7 +14587,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
14587
14587
  }
14588
14588
 
14589
14589
  _context18.next = 8;
14590
- return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14590
+ return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$Z({}, opts, {
14591
14591
  requestConfig: {
14592
14592
  tokenType: 'session'
14593
14593
  }
@@ -14739,7 +14739,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
14739
14739
  doesParamExist.default({
14740
14740
  paymentMethodId: paymentMethodId
14741
14741
  }, opts.hyperMediaEndpoint);
14742
- return _context19.abrupt("return", request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14742
+ return _context19.abrupt("return", request(_objectSpread$Z({}, opts, {
14743
14743
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
14744
14744
  }), {
14745
14745
  method: 'delete',
@@ -14841,7 +14841,7 @@ var createBusinessService = /*#__PURE__*/function () {
14841
14841
  doesParamExist.default({
14842
14842
  businessId: businessId
14843
14843
  }, opts.hyperMediaEndpoint);
14844
- return _context.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14844
+ return _context.abrupt("return", request(_objectSpread$_({}, opts, {
14845
14845
  path: "" + pathBusinessServices(businessId)
14846
14846
  }), {
14847
14847
  method: 'post',
@@ -14882,7 +14882,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
14882
14882
  businessId: businessId,
14883
14883
  practiceId: practiceId
14884
14884
  }, opts.hyperMediaEndpoint);
14885
- return _context2.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14885
+ return _context2.abrupt("return", request(_objectSpread$_({}, opts, {
14886
14886
  path: "" + pathBusinessPracticeServices(businessId, practiceId)
14887
14887
  }), {
14888
14888
  method: 'post',
@@ -14922,7 +14922,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
14922
14922
  businessId: businessId,
14923
14923
  serviceId: serviceId
14924
14924
  }, opts.hyperMediaEndpoint);
14925
- return _context3.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14925
+ return _context3.abrupt("return", request(_objectSpread$_({}, opts, {
14926
14926
  path: "" + pathBusinessService(businessId, serviceId)
14927
14927
  }), {
14928
14928
  method: 'delete'
@@ -14961,7 +14961,7 @@ var getBusinessService = /*#__PURE__*/function () {
14961
14961
  businessId: businessId,
14962
14962
  serviceId: serviceId
14963
14963
  }, opts.hyperMediaEndpoint);
14964
- return _context4.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14964
+ return _context4.abrupt("return", request(_objectSpread$_({}, opts, {
14965
14965
  path: "" + pathBusinessService(businessId, serviceId)
14966
14966
  }), {
14967
14967
  method: 'get'
@@ -14999,7 +14999,7 @@ var getBusinessServices = /*#__PURE__*/function () {
14999
14999
  doesParamExist.default({
15000
15000
  businessId: businessId
15001
15001
  }, opts.hyperMediaEndpoint);
15002
- return _context5.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15002
+ return _context5.abrupt("return", request(_objectSpread$_({}, opts, {
15003
15003
  path: "" + pathBusinessServices(businessId)
15004
15004
  }), {
15005
15005
  method: 'get',
@@ -15041,7 +15041,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
15041
15041
  practiceId: practiceId,
15042
15042
  serviceId: serviceId
15043
15043
  }, opts.hyperMediaEndpoint);
15044
- return _context6.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15044
+ return _context6.abrupt("return", request(_objectSpread$_({}, opts, {
15045
15045
  path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
15046
15046
  }), {
15047
15047
  method: 'get'
@@ -15085,7 +15085,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
15085
15085
  businessId: businessId,
15086
15086
  practiceId: practiceId
15087
15087
  }, opts.hyperMediaEndpoint);
15088
- return _context7.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15088
+ return _context7.abrupt("return", request(_objectSpread$_({}, opts, {
15089
15089
  path: "" + pathBusinessPracticeServices(businessId, practiceId)
15090
15090
  }), {
15091
15091
  method: 'get',
@@ -15132,7 +15132,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
15132
15132
  practiceId: practiceId,
15133
15133
  staffId: staffId
15134
15134
  }, opts.hyperMediaEndpoint);
15135
- return _context8.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15135
+ return _context8.abrupt("return", request(_objectSpread$_({}, opts, {
15136
15136
  path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
15137
15137
  }), {
15138
15138
  method: 'get',
@@ -15181,7 +15181,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
15181
15181
  staffId: staffId,
15182
15182
  serviceId: serviceId
15183
15183
  }, opts.hyperMediaEndpoint);
15184
- return _context9.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15184
+ return _context9.abrupt("return", request(_objectSpread$_({}, opts, {
15185
15185
  path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
15186
15186
  }), {
15187
15187
  method: 'get',
@@ -15222,7 +15222,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
15222
15222
  opts = {};
15223
15223
  }
15224
15224
 
15225
- return _context10.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15225
+ return _context10.abrupt("return", request(_objectSpread$_({}, opts, {
15226
15226
  path: "" + pathBusinessStaffMemberServices(businessId, staffId)
15227
15227
  }), {
15228
15228
  method: 'get',
@@ -15263,7 +15263,7 @@ var updateBusinessService = /*#__PURE__*/function () {
15263
15263
  businessId: businessId,
15264
15264
  serviceId: serviceId
15265
15265
  }, opts.hyperMediaEndpoint);
15266
- return _context11.abrupt("return", request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
15266
+ return _context11.abrupt("return", request(_objectSpread$_({}, opts, {
15267
15267
  path: "" + pathBusinessService(businessId, serviceId)
15268
15268
  }), {
15269
15269
  method: 'put',
@@ -15322,7 +15322,7 @@ var initiateBusinessSettlementExport = function initiateBusinessSettlementExport
15322
15322
  doesParamExist.default({
15323
15323
  businessId: businessId
15324
15324
  }, opts.hyperMediaEndpoint);
15325
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15325
+ return request(_objectSpread$$({}, opts, {
15326
15326
  path: pathBusiness$1(businessId) + "/settlementsummaries/csv"
15327
15327
  }), {
15328
15328
  method: 'post',
@@ -15344,7 +15344,7 @@ var checkStatusOfBusinessSettlementExport = function checkStatusOfBusinessSettle
15344
15344
  doesParamExist.default({
15345
15345
  businessId: businessId
15346
15346
  }, opts.hyperMediaEndpoint);
15347
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15347
+ return request(_objectSpread$$({}, opts, {
15348
15348
  path: pathBusiness$1(businessId) + "/s3files/" + s3FileId
15349
15349
  }), {
15350
15350
  method: 'get'
@@ -15365,7 +15365,7 @@ var downloadBusinessSettlementExport = function downloadBusinessSettlementExport
15365
15365
  doesParamExist.default({
15366
15366
  businessId: businessId
15367
15367
  }, opts.hyperMediaEndpoint);
15368
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15368
+ return request(_objectSpread$$({}, opts, {
15369
15369
  path: pathBusiness$1(businessId) + "/s3files/" + s3FileId + "/s3signedurl"
15370
15370
  }), {
15371
15371
  method: 'get'
@@ -15390,7 +15390,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
15390
15390
  doesParamExist.default({
15391
15391
  businessId: businessId
15392
15392
  }, opts.hyperMediaEndpoint);
15393
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15393
+ return request(_objectSpread$$({}, opts, {
15394
15394
  path: pathBusiness$1(businessId) + "/settlements"
15395
15395
  }), {
15396
15396
  method: 'get',
@@ -15416,7 +15416,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
15416
15416
  doesParamExist.default({
15417
15417
  businessId: businessId
15418
15418
  }, opts.hyperMediaEndpoint);
15419
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15419
+ return request(_objectSpread$$({}, opts, {
15420
15420
  path: pathBusiness$1(businessId) + "/settlementsummaries"
15421
15421
  }), {
15422
15422
  method: 'get',
@@ -15442,7 +15442,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
15442
15442
  doesParamExist.default({
15443
15443
  businessId: businessId
15444
15444
  }, opts.hyperMediaEndpoint);
15445
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15445
+ return request(_objectSpread$$({}, opts, {
15446
15446
  path: pathBusiness$1(businessId) + "/settlementsummaries/period"
15447
15447
  }), {
15448
15448
  method: 'get',
@@ -15472,7 +15472,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
15472
15472
  doesParamExist.default({
15473
15473
  settlementSummaryId: settlementSummaryId
15474
15474
  }, opts.hyperMediaEndpoint);
15475
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15475
+ return request(_objectSpread$$({}, opts, {
15476
15476
  path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
15477
15477
  }), {
15478
15478
  method: 'get',
@@ -15498,7 +15498,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
15498
15498
  doesParamExist.default({
15499
15499
  businessId: businessId
15500
15500
  }, opts.hyperMediaEndpoint);
15501
- return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
15501
+ return request(_objectSpread$$({}, opts, {
15502
15502
  path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
15503
15503
  }), {
15504
15504
  method: 'get',
@@ -15532,7 +15532,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
15532
15532
  opts = {};
15533
15533
  }
15534
15534
 
15535
- return request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15535
+ return request(_objectSpread$10({}, opts, {
15536
15536
  path: pathBusinessSignUp()
15537
15537
  }), {
15538
15538
  method: 'post',
@@ -15544,7 +15544,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
15544
15544
  opts = {};
15545
15545
  }
15546
15546
 
15547
- return request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15547
+ return request(_objectSpread$10({}, opts, {
15548
15548
  path: pathSignUp()
15549
15549
  }), {
15550
15550
  method: 'post',
@@ -15581,7 +15581,7 @@ var getSpecialties = function getSpecialties(query, opts) {
15581
15581
  opts = {};
15582
15582
  }
15583
15583
 
15584
- return request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
15584
+ return request(_objectSpread$11({}, opts, {
15585
15585
  path: pathSpecialties
15586
15586
  }), {
15587
15587
  method: 'get',
@@ -15603,7 +15603,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
15603
15603
  doesParamExist.default({
15604
15604
  businessId: businessId
15605
15605
  });
15606
- return request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
15606
+ return request(_objectSpread$11({}, opts, {
15607
15607
  path: pathBusinessSpecialties(businessId)
15608
15608
  }), {
15609
15609
  method: 'get',
@@ -15624,7 +15624,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
15624
15624
  doesParamExist.default({
15625
15625
  specialtyId: specialtyId
15626
15626
  });
15627
- return request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
15627
+ return request(_objectSpread$11({}, opts, {
15628
15628
  path: pathSpecialty(specialtyId)
15629
15629
  }), {
15630
15630
  method: 'get'
@@ -15664,7 +15664,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
15664
15664
  doesParamExist.default({
15665
15665
  organisationId: organisationId
15666
15666
  }, opts.hyperMediaEndpoint);
15667
- return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
15667
+ return request(_objectSpread$12({}, opts, {
15668
15668
  path: pathOrganisationStaffProfiles(organisationId)
15669
15669
  }), {
15670
15670
  method: 'get',
@@ -15679,7 +15679,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
15679
15679
  doesParamExist.default({
15680
15680
  staffProfileId: staffProfileId
15681
15681
  }, opts.hyperMediaEndpoint);
15682
- return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
15682
+ return request(_objectSpread$12({}, opts, {
15683
15683
  path: pathStaffProfile(staffProfileId)
15684
15684
  }), {
15685
15685
  method: 'get'
@@ -15697,7 +15697,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
15697
15697
  var body = {
15698
15698
  staffId: staffId
15699
15699
  };
15700
- return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
15700
+ return request(_objectSpread$12({}, opts, {
15701
15701
  path: pathLinkStaffProfile(staffProfileId)
15702
15702
  }), {
15703
15703
  method: 'put',
@@ -15712,7 +15712,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
15712
15712
  doesParamExist.default({
15713
15713
  staffProfileId: staffProfileId
15714
15714
  }, opts.hyperMediaEndpoint);
15715
- return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
15715
+ return request(_objectSpread$12({}, opts, {
15716
15716
  path: pathUnlinkStaffProfile(staffProfileId)
15717
15717
  }), {
15718
15718
  method: 'put'
@@ -15811,7 +15811,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
15811
15811
  doesParamExist.default({
15812
15812
  businessId: businessId
15813
15813
  }, opts.hyperMediaEndpoint);
15814
- return _context.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
15814
+ return _context.abrupt("return", request(_objectSpread$13({}, opts, {
15815
15815
  path: pathBusinessStaff(businessId)
15816
15816
  }), {
15817
15817
  method: 'post',
@@ -15850,7 +15850,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
15850
15850
  doesParamExist.default({
15851
15851
  organisationId: organisationId
15852
15852
  }, opts.hyperMediaEndpoint);
15853
- return _context2.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
15853
+ return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
15854
15854
  path: pathOrganisationStaff(organisationId)
15855
15855
  }), {
15856
15856
  method: 'post',
@@ -15890,7 +15890,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
15890
15890
  businessId: businessId,
15891
15891
  staffId: staffId
15892
15892
  }, opts.hyperMediaEndpoint);
15893
- return _context3.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
15893
+ return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
15894
15894
  path: pathBusinessStaffMember(businessId, staffId)
15895
15895
  }), {
15896
15896
  method: 'delete'
@@ -15929,7 +15929,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
15929
15929
  businessId: businessId,
15930
15930
  staffId: staffId
15931
15931
  }, opts.hyperMediaEndpoint);
15932
- return _context4.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
15932
+ return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
15933
15933
  path: pathBusinessStaffMember(businessId, staffId) + "/email"
15934
15934
  }), {
15935
15935
  method: 'delete'
@@ -15968,7 +15968,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
15968
15968
  businessId: businessId,
15969
15969
  staffId: staffId
15970
15970
  }, opts.hyperMediaEndpoint);
15971
- return _context5.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
15971
+ return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
15972
15972
  path: pathBusinessStaffMember(businessId, staffId)
15973
15973
  }), {
15974
15974
  method: 'get'
@@ -16008,7 +16008,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
16008
16008
  businessId: businessId,
16009
16009
  staffId: staffId
16010
16010
  }, opts.hyperMediaEndpoint);
16011
- return _context6.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16011
+ return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
16012
16012
  path: pathBusinessStaffMember(businessId, staffId) + "/roles"
16013
16013
  }), {
16014
16014
  method: 'get',
@@ -16052,7 +16052,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
16052
16052
  practiceId: practiceId,
16053
16053
  staffId: staffId
16054
16054
  }, opts.hyperMediaEndpoint);
16055
- return _context7.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16055
+ return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
16056
16056
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
16057
16057
  }), {
16058
16058
  method: 'get'
@@ -16098,7 +16098,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
16098
16098
  practiceId: practiceId,
16099
16099
  staffId: staffId
16100
16100
  }, opts.hyperMediaEndpoint);
16101
- return _context8.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16101
+ return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
16102
16102
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
16103
16103
  }), {
16104
16104
  method: 'get',
@@ -16139,7 +16139,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
16139
16139
  businessId: businessId,
16140
16140
  practiceId: practiceId
16141
16141
  }, opts.hyperMediaEndpoint);
16142
- return _context9.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16142
+ return _context9.abrupt("return", request(_objectSpread$13({}, opts, {
16143
16143
  path: pathBusinessPracticeStaffMembers(businessId, practiceId)
16144
16144
  }), {
16145
16145
  method: 'get',
@@ -16182,7 +16182,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
16182
16182
  formId: formId,
16183
16183
  practiceId: practiceId
16184
16184
  }, opts.hyperMediaEndpoint);
16185
- return _context10.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16185
+ return _context10.abrupt("return", request(_objectSpread$13({}, opts, {
16186
16186
  path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
16187
16187
  }), {
16188
16188
  method: 'get',
@@ -16227,7 +16227,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
16227
16227
  businessId: businessId,
16228
16228
  serviceId: serviceId
16229
16229
  }, opts.hyperMediaEndpoint);
16230
- return _context11.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16230
+ return _context11.abrupt("return", request(_objectSpread$13({}, opts, {
16231
16231
  path: pathBusinessServiceStaffMembers(businessId, serviceId)
16232
16232
  }), {
16233
16233
  method: 'get',
@@ -16264,7 +16264,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
16264
16264
  doesParamExist.default({
16265
16265
  businessId: businessId
16266
16266
  }, opts.hyperMediaEndpoint);
16267
- return _context12.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16267
+ return _context12.abrupt("return", request(_objectSpread$13({}, opts, {
16268
16268
  path: pathBusinessStaff(businessId)
16269
16269
  }), {
16270
16270
  method: 'get',
@@ -16306,7 +16306,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
16306
16306
  staffId: staffId,
16307
16307
  contentType: contentType
16308
16308
  }, opts.hyperMediaEndpoint);
16309
- return _context13.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16309
+ return _context13.abrupt("return", request(_objectSpread$13({}, opts, {
16310
16310
  path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
16311
16311
  }), {
16312
16312
  method: 'get',
@@ -16350,7 +16350,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
16350
16350
  doesParamExist.default({
16351
16351
  organisationId: organisationId
16352
16352
  }, opts.hyperMediaEndpoint);
16353
- return _context14.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16353
+ return _context14.abrupt("return", request(_objectSpread$13({}, opts, {
16354
16354
  path: pathOrganisationStaff(organisationId)
16355
16355
  }), {
16356
16356
  method: 'get',
@@ -16388,7 +16388,7 @@ var getStaffMember = /*#__PURE__*/function () {
16388
16388
  doesParamExist.default({
16389
16389
  staffId: staffId
16390
16390
  }, opts.hyperMediaEndpoint);
16391
- return _context15.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16391
+ return _context15.abrupt("return", request(_objectSpread$13({}, opts, {
16392
16392
  path: pathStaffMember(staffId)
16393
16393
  }), {
16394
16394
  method: 'get'
@@ -16430,7 +16430,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
16430
16430
  practiceId: practiceId,
16431
16431
  staffId: staffId
16432
16432
  }, opts.hyperMediaEndpoint);
16433
- return _context16.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16433
+ return _context16.abrupt("return", request(_objectSpread$13({}, opts, {
16434
16434
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
16435
16435
  }), {
16436
16436
  method: 'post',
@@ -16474,7 +16474,7 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
16474
16474
  businessId: businessId,
16475
16475
  staffId: staffId
16476
16476
  }, opts.hyperMediaEndpoint);
16477
- return _context17.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16477
+ return _context17.abrupt("return", request(_objectSpread$13({}, opts, {
16478
16478
  path: pathBusinessStaffMember(businessId, staffId) + "/roles"
16479
16479
  }), {
16480
16480
  method: 'post',
@@ -16515,7 +16515,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
16515
16515
  doesParamExist.default({
16516
16516
  businessId: businessId
16517
16517
  }, opts.hyperMediaEndpoint);
16518
- return _context18.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16518
+ return _context18.abrupt("return", request(_objectSpread$13({}, opts, {
16519
16519
  path: pathBusinessStaff(businessId) + "/invites"
16520
16520
  }), {
16521
16521
  method: 'post',
@@ -16560,7 +16560,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
16560
16560
  doesParamExist.default({
16561
16561
  businessId: businessId
16562
16562
  }, opts.hyperMediaEndpoint);
16563
- return _context19.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16563
+ return _context19.abrupt("return", request(_objectSpread$13({}, opts, {
16564
16564
  path: pathBusinessStaffMember(businessId, staffId) + "/invites"
16565
16565
  }), {
16566
16566
  method: 'post',
@@ -16603,7 +16603,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
16603
16603
  practiceId: practiceId,
16604
16604
  staffId: staffId
16605
16605
  }, opts.hyperMediaEndpoint);
16606
- return _context20.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16606
+ return _context20.abrupt("return", request(_objectSpread$13({}, opts, {
16607
16607
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
16608
16608
  }), {
16609
16609
  method: 'delete',
@@ -16647,7 +16647,7 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
16647
16647
  businessId: businessId,
16648
16648
  staffId: staffId
16649
16649
  }, opts.hyperMediaEndpoint);
16650
- return _context21.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16650
+ return _context21.abrupt("return", request(_objectSpread$13({}, opts, {
16651
16651
  path: pathBusinessStaffMember(businessId, staffId) + "/roles"
16652
16652
  }), {
16653
16653
  method: 'delete',
@@ -16690,7 +16690,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
16690
16690
  businessId: businessId,
16691
16691
  staffId: staffId
16692
16692
  }, opts.hyperMediaEndpoint);
16693
- return _context22.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16693
+ return _context22.abrupt("return", request(_objectSpread$13({}, opts, {
16694
16694
  path: pathBusinessStaffMember(businessId, staffId)
16695
16695
  }), {
16696
16696
  method: 'put',
@@ -16731,7 +16731,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
16731
16731
  businessId: businessId,
16732
16732
  staffId: staffId
16733
16733
  }, opts.hyperMediaEndpoint);
16734
- return _context23.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16734
+ return _context23.abrupt("return", request(_objectSpread$13({}, opts, {
16735
16735
  path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
16736
16736
  }), {
16737
16737
  method: 'post',
@@ -16772,7 +16772,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
16772
16772
  organisationId: organisationId,
16773
16773
  staffId: staffId
16774
16774
  }, opts.hyperMediaEndpoint);
16775
- return _context24.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16775
+ return _context24.abrupt("return", request(_objectSpread$13({}, opts, {
16776
16776
  path: pathOrganisationStaffMember(organisationId, staffId)
16777
16777
  }), {
16778
16778
  method: 'put',
@@ -16811,7 +16811,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
16811
16811
  doesParamExist.default({
16812
16812
  staffId: staffId
16813
16813
  }, opts.hyperMediaEndpoint);
16814
- return _context25.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16814
+ return _context25.abrupt("return", request(_objectSpread$13({}, opts, {
16815
16815
  path: pathStaffMember(staffId) + "/verify"
16816
16816
  }), {
16817
16817
  method: 'post',
@@ -16850,7 +16850,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
16850
16850
  doesParamExist.default({
16851
16851
  staffId: staffId
16852
16852
  }, opts.hyperMediaEndpoint);
16853
- return _context26.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16853
+ return _context26.abrupt("return", request(_objectSpread$13({}, opts, {
16854
16854
  path: pathStaffMember(staffId) + "/clone"
16855
16855
  }), {
16856
16856
  method: 'post',
@@ -16884,7 +16884,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
16884
16884
  doesParamExist.default({
16885
16885
  businessId: businessId
16886
16886
  }, opts.hyperMediaEndpoint);
16887
- return request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16887
+ return request(_objectSpread$13({}, opts, {
16888
16888
  path: pathBusinessStaff(businessId) + "/exists"
16889
16889
  }), {
16890
16890
  method: 'get',
@@ -16913,7 +16913,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
16913
16913
  businessId: businessId,
16914
16914
  staffId: staffId
16915
16915
  }, opts.hyperMediaEndpoint);
16916
- return _context27.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16916
+ return _context27.abrupt("return", request(_objectSpread$13({}, opts, {
16917
16917
  path: "" + pathProviderSetItems(businessId, staffId)
16918
16918
  }), {
16919
16919
  method: 'post',
@@ -16956,7 +16956,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
16956
16956
  staffId: staffId,
16957
16957
  providerSetItemId: providerSetItemId
16958
16958
  }, opts.hyperMediaEndpoint);
16959
- return _context28.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16959
+ return _context28.abrupt("return", request(_objectSpread$13({}, opts, {
16960
16960
  path: pathProviderSetItem(businessId, staffId, providerSetItemId)
16961
16961
  }), {
16962
16962
  method: 'put',
@@ -16998,7 +16998,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
16998
16998
  staffId: staffId,
16999
16999
  providerSetItemId: providerSetItemId
17000
17000
  }, opts.hyperMediaEndpoint);
17001
- return _context29.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
17001
+ return _context29.abrupt("return", request(_objectSpread$13({}, opts, {
17002
17002
  path: pathProviderSetItem(businessId, staffId, providerSetItemId)
17003
17003
  }), {
17004
17004
  method: 'delete'
@@ -17031,11 +17031,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
17031
17031
  doesParamExist.default({
17032
17032
  businessId: businessId
17033
17033
  }, opts.hyperMediaEndpoint);
17034
- return request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
17034
+ return request(_objectSpread$13({}, opts, {
17035
17035
  path: pathProvidersStatus
17036
17036
  }), {
17037
17037
  method: 'get',
17038
- params: _objectSpread$13(_objectSpread$13({}, query), {}, {
17038
+ params: _objectSpread$13({}, query, {
17039
17039
  businessId: businessId
17040
17040
  })
17041
17041
  });
@@ -17136,7 +17136,7 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
17136
17136
  doesParamExist.default({
17137
17137
  healthFundId: healthFundId
17138
17138
  }, opts.hyperMediaEndpoint);
17139
- return _context.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
17139
+ return _context.abrupt("return", request(_objectSpread$14({}, opts, {
17140
17140
  path: pathTransactionStatsForHealthFundId(healthFundId)
17141
17141
  }), {
17142
17142
  method: 'get',
@@ -17184,7 +17184,7 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
17184
17184
  doesParamExist.default({
17185
17185
  healthFundId: healthFundId
17186
17186
  }, opts.hyperMediaEndpoint);
17187
- return _context2.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
17187
+ return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
17188
17188
  path: pathTransactionStatsCSVForHealthFundId(healthFundId)
17189
17189
  }), {
17190
17190
  method: 'get',
@@ -17232,7 +17232,7 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
17232
17232
  doesParamExist.default({
17233
17233
  healthFundId: healthFundId
17234
17234
  }, opts.hyperMediaEndpoint);
17235
- return _context3.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
17235
+ return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
17236
17236
  path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
17237
17237
  }), {
17238
17238
  method: 'get',
@@ -17280,7 +17280,7 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
17280
17280
  doesParamExist.default({
17281
17281
  businessId: businessId
17282
17282
  }, opts.hyperMediaEndpoint);
17283
- return _context4.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
17283
+ return _context4.abrupt("return", request(_objectSpread$14({}, opts, {
17284
17284
  path: pathTransactionStatsForBusiness(businessId)
17285
17285
  }), {
17286
17286
  method: 'get',
@@ -17330,7 +17330,7 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
17330
17330
  businessId: businessId,
17331
17331
  practiceId: practiceId
17332
17332
  }, opts.hyperMediaEndpoint);
17333
- return _context5.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
17333
+ return _context5.abrupt("return", request(_objectSpread$14({}, opts, {
17334
17334
  path: pathTransactionStatsForPractice(businessId, practiceId)
17335
17335
  }), {
17336
17336
  method: 'get',
@@ -17378,7 +17378,7 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
17378
17378
  doesParamExist.default({
17379
17379
  organisationId: organisationId
17380
17380
  }, opts.hyperMediaEndpoint);
17381
- return _context6.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
17381
+ return _context6.abrupt("return", request(_objectSpread$14({}, opts, {
17382
17382
  path: pathTransactionStatsForOrganisation(organisationId)
17383
17383
  }), {
17384
17384
  method: 'get',
@@ -17435,7 +17435,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
17435
17435
  doesParamExist.default({
17436
17436
  businessId: businessId
17437
17437
  });
17438
- return request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17438
+ return request(_objectSpread$15({}, opts, {
17439
17439
  path: pathBusinessSubscriptions(businessId)
17440
17440
  }), {
17441
17441
  method: 'post',
@@ -17457,7 +17457,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
17457
17457
  doesParamExist.default({
17458
17458
  businessId: businessId
17459
17459
  });
17460
- return request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17460
+ return request(_objectSpread$15({}, opts, {
17461
17461
  path: pathBusinessSubscriptions(businessId)
17462
17462
  }), {
17463
17463
  method: 'get',
@@ -17480,7 +17480,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
17480
17480
  businessId: businessId,
17481
17481
  subscriptionId: subscriptionId
17482
17482
  });
17483
- return request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17483
+ return request(_objectSpread$15({}, opts, {
17484
17484
  path: pathBusinessSubscription(businessId, subscriptionId)
17485
17485
  }), {
17486
17486
  method: 'get'
@@ -17503,7 +17503,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
17503
17503
  businessId: businessId,
17504
17504
  subscriptionId: subscriptionId
17505
17505
  });
17506
- return request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17506
+ return request(_objectSpread$15({}, opts, {
17507
17507
  path: pathBusinessSubscription(businessId, subscriptionId)
17508
17508
  }), {
17509
17509
  method: 'put',
@@ -17561,7 +17561,7 @@ var registerTerminal = /*#__PURE__*/function () {
17561
17561
  businessId: businessId,
17562
17562
  practiceId: practiceId
17563
17563
  }, opts.hyperMediaEndpoint);
17564
- return _context.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17564
+ return _context.abrupt("return", request(_objectSpread$16({}, opts, {
17565
17565
  path: pathTerminalsByPracticeId(businessId, practiceId)
17566
17566
  }), {
17567
17567
  method: 'post',
@@ -17600,7 +17600,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
17600
17600
  doesParamExist.default({
17601
17601
  businessId: businessId
17602
17602
  }, opts.hyperMediaEndpoint);
17603
- return _context2.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17603
+ return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
17604
17604
  path: pathTerminalsByBusinessId(businessId)
17605
17605
  }), {
17606
17606
  method: 'get',
@@ -17641,7 +17641,7 @@ var getTerminals = /*#__PURE__*/function () {
17641
17641
  businessId: businessId,
17642
17642
  practiceId: practiceId
17643
17643
  }, opts.hyperMediaEndpoint);
17644
- return _context3.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17644
+ return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
17645
17645
  path: pathTerminalsByPracticeId(businessId, practiceId)
17646
17646
  }), {
17647
17647
  method: 'get',
@@ -17684,7 +17684,7 @@ var getTerminal = /*#__PURE__*/function () {
17684
17684
  practiceId: practiceId,
17685
17685
  terminalId: terminalId
17686
17686
  }, opts.hyperMediaEndpoint);
17687
- return _context4.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17687
+ return _context4.abrupt("return", request(_objectSpread$16({}, opts, {
17688
17688
  path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
17689
17689
  }), {
17690
17690
  method: 'get'
@@ -17726,7 +17726,7 @@ var updateTerminal = /*#__PURE__*/function () {
17726
17726
  practiceId: practiceId,
17727
17727
  terminalId: terminalId
17728
17728
  }, opts.hyperMediaEndpoint);
17729
- return _context5.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17729
+ return _context5.abrupt("return", request(_objectSpread$16({}, opts, {
17730
17730
  path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
17731
17731
  }), {
17732
17732
  method: 'put',
@@ -17768,7 +17768,7 @@ var deleteTerminal = /*#__PURE__*/function () {
17768
17768
  practiceId: practiceId,
17769
17769
  terminalId: terminalId
17770
17770
  }, opts.hyperMediaEndpoint);
17771
- return _context6.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17771
+ return _context6.abrupt("return", request(_objectSpread$16({}, opts, {
17772
17772
  path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
17773
17773
  }), {
17774
17774
  method: 'delete'
@@ -17807,7 +17807,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
17807
17807
  businessId: businessId,
17808
17808
  practiceId: practiceId
17809
17809
  }, opts.hyperMediaEndpoint);
17810
- return _context7.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17810
+ return _context7.abrupt("return", request(_objectSpread$16({}, opts, {
17811
17811
  path: pathClientTokenByPracticeId(businessId, practiceId)
17812
17812
  }), {
17813
17813
  method: 'get'
@@ -17849,7 +17849,7 @@ var resetTerminal = /*#__PURE__*/function () {
17849
17849
  practiceId: practiceId,
17850
17850
  terminalId: terminalId
17851
17851
  }, opts.hyperMediaEndpoint);
17852
- return _context8.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
17852
+ return _context8.abrupt("return", request(_objectSpread$16({}, opts, {
17853
17853
  path: pathResetTerminal(businessId, practiceId, terminalId)
17854
17854
  }), {
17855
17855
  method: 'post',
@@ -17915,7 +17915,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
17915
17915
  doesParamExist.default({
17916
17916
  healthFundId: healthFundId
17917
17917
  }, opts.hyperMediaEndpoint);
17918
- return _context.abrupt("return", request(_objectSpread$17(_objectSpread$17({}, opts), {}, {
17918
+ return _context.abrupt("return", request(_objectSpread$17({}, opts, {
17919
17919
  path: pathCreateHealthFundTransactionExport(healthFundId)
17920
17920
  }), {
17921
17921
  method: 'post',
@@ -17960,7 +17960,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
17960
17960
  healthFundId: healthFundId,
17961
17961
  transactionExportId: transactionExportId
17962
17962
  }, opts.hyperMediaEndpoint);
17963
- return _context2.abrupt("return", request(_objectSpread$17(_objectSpread$17({}, opts), {}, {
17963
+ return _context2.abrupt("return", request(_objectSpread$17({}, opts, {
17964
17964
  path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
17965
17965
  }), {
17966
17966
  method: 'get',
@@ -18275,7 +18275,7 @@ var approveTransaction = /*#__PURE__*/function () {
18275
18275
  doesParamExist.default({
18276
18276
  transactionId: transactionId
18277
18277
  }, opts.hyperMediaEndpoint);
18278
- return _context.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18278
+ return _context.abrupt("return", request(_objectSpread$18({}, opts, {
18279
18279
  path: pathTransactionApprove(transactionId)
18280
18280
  }), {
18281
18281
  method: 'post',
@@ -18313,7 +18313,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
18313
18313
  doesParamExist.default({
18314
18314
  healthFundId: healthFundId
18315
18315
  }, opts.hyperMediaEndpoint);
18316
- return _context2.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18316
+ return _context2.abrupt("return", request(_objectSpread$18({}, opts, {
18317
18317
  path: pathHealthFundTransactionsAssign(healthFundId)
18318
18318
  }), {
18319
18319
  method: 'post',
@@ -18353,7 +18353,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
18353
18353
  transactionId: transactionId,
18354
18354
  healthFundId: healthFundId
18355
18355
  }, opts.hyperMediaEndpoint);
18356
- return _context3.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18356
+ return _context3.abrupt("return", request(_objectSpread$18({}, opts, {
18357
18357
  path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
18358
18358
  }), {
18359
18359
  method: 'put'
@@ -18390,7 +18390,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
18390
18390
  doesParamExist.default({
18391
18391
  transactionId: transactionId
18392
18392
  }, opts.hyperMediaEndpoint);
18393
- return _context4.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18393
+ return _context4.abrupt("return", request(_objectSpread$18({}, opts, {
18394
18394
  path: pathTransactionByTransactionId(transactionId) + "/assigntome"
18395
18395
  }), {
18396
18396
  method: 'put'
@@ -18427,7 +18427,7 @@ var cancelTransaction = /*#__PURE__*/function () {
18427
18427
  doesParamExist.default({
18428
18428
  transactionId: transactionId
18429
18429
  }, opts.hyperMediaEndpoint);
18430
- return _context5.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18430
+ return _context5.abrupt("return", request(_objectSpread$18({}, opts, {
18431
18431
  path: pathTransactionByTransactionId(transactionId) + "/cancellations"
18432
18432
  }), {
18433
18433
  data: body,
@@ -18467,7 +18467,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
18467
18467
  transactionId: transactionId,
18468
18468
  businessId: businessId
18469
18469
  }, opts.hyperMediaEndpoint);
18470
- return _context6.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18470
+ return _context6.abrupt("return", request(_objectSpread$18({}, opts, {
18471
18471
  path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
18472
18472
  }), {
18473
18473
  data: body,
@@ -18510,7 +18510,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
18510
18510
  practiceId: practiceId,
18511
18511
  staffId: staffId
18512
18512
  }, opts.hyperMediaEndpoint);
18513
- return _context7.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18513
+ return _context7.abrupt("return", request(_objectSpread$18({}, opts, {
18514
18514
  path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
18515
18515
  }), {
18516
18516
  method: 'post',
@@ -18551,7 +18551,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
18551
18551
  businessId: businessId,
18552
18552
  practiceId: practiceId
18553
18553
  }, opts.hyperMediaEndpoint);
18554
- return _context8.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18554
+ return _context8.abrupt("return", request(_objectSpread$18({}, opts, {
18555
18555
  path: pathBusinessPracticeInvoices(businessId, practiceId)
18556
18556
  }), {
18557
18557
  method: 'post',
@@ -18590,7 +18590,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
18590
18590
  doesParamExist.default({
18591
18591
  businessId: businessId
18592
18592
  }, opts.hyperMediaEndpoint);
18593
- return _context9.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18593
+ return _context9.abrupt("return", request(_objectSpread$18({}, opts, {
18594
18594
  path: pathBusinessTransactionQuotes(businessId)
18595
18595
  }), {
18596
18596
  method: 'post',
@@ -18633,7 +18633,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
18633
18633
  practiceId: practiceId,
18634
18634
  staffId: staffId
18635
18635
  }, opts.hyperMediaEndpoint);
18636
- return _context10.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18636
+ return _context10.abrupt("return", request(_objectSpread$18({}, opts, {
18637
18637
  path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
18638
18638
  }), {
18639
18639
  method: 'post',
@@ -18684,7 +18684,7 @@ var createPayment = /*#__PURE__*/function () {
18684
18684
  };
18685
18685
  }
18686
18686
 
18687
- return _context11.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18687
+ return _context11.abrupt("return", request(_objectSpread$18({}, opts, {
18688
18688
  path: pathTransactionByTransactionId(transactionId) + "/payments"
18689
18689
  }), {
18690
18690
  method: 'post',
@@ -18723,7 +18723,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
18723
18723
  doesParamExist.default({
18724
18724
  transactionId: transactionId
18725
18725
  }, opts.hyperMediaEndpoint);
18726
- return _context12.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18726
+ return _context12.abrupt("return", request(_objectSpread$18({}, opts, {
18727
18727
  path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
18728
18728
  }), {
18729
18729
  method: 'post',
@@ -18763,7 +18763,7 @@ var completeQuote = /*#__PURE__*/function () {
18763
18763
  transactionId: transactionId,
18764
18764
  memberId: memberId
18765
18765
  }, opts.hyperMediaEndpoint);
18766
- return _context13.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18766
+ return _context13.abrupt("return", request(_objectSpread$18({}, opts, {
18767
18767
  path: pathTransactionByTransactionId(transactionId) + "/completequote"
18768
18768
  }), {
18769
18769
  method: 'post',
@@ -18805,7 +18805,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
18805
18805
  transactionId: transactionId,
18806
18806
  tagId: tagId
18807
18807
  }, opts.hyperMediaEndpoint);
18808
- return _context14.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18808
+ return _context14.abrupt("return", request(_objectSpread$18({}, opts, {
18809
18809
  path: pathTransactionTag(transactionId, tagId)
18810
18810
  }), {
18811
18811
  method: 'delete'
@@ -18842,7 +18842,7 @@ var deleteTransaction = /*#__PURE__*/function () {
18842
18842
  doesParamExist.default({
18843
18843
  transactionId: transactionId
18844
18844
  }, opts.hyperMediaEndpoint);
18845
- return _context15.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18845
+ return _context15.abrupt("return", request(_objectSpread$18({}, opts, {
18846
18846
  path: pathTransactionByTransactionId(transactionId)
18847
18847
  }), {
18848
18848
  method: 'delete'
@@ -18884,7 +18884,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
18884
18884
  doesParamExist.default({
18885
18885
  businessId: businessId
18886
18886
  }, opts.hyperMediaEndpoint);
18887
- return _context16.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18887
+ return _context16.abrupt("return", request(_objectSpread$18({}, opts, {
18888
18888
  path: pathBusinessTransactions(businessId)
18889
18889
  }), {
18890
18890
  method: 'get',
@@ -18924,7 +18924,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
18924
18924
  businessId: businessId,
18925
18925
  transactionId: transactionId
18926
18926
  }, opts.hyperMediaEndpoint);
18927
- return _context17.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18927
+ return _context17.abrupt("return", request(_objectSpread$18({}, opts, {
18928
18928
  path: pathBusinessTransaction(businessId, transactionId)
18929
18929
  }), {
18930
18930
  method: 'get',
@@ -18964,7 +18964,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
18964
18964
  businessId: businessId,
18965
18965
  invoiceReference: invoiceReference
18966
18966
  }, opts.hyperMediaEndpoint);
18967
- return _context18.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
18967
+ return _context18.abrupt("return", request(_objectSpread$18({}, opts, {
18968
18968
  path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
18969
18969
  }), {
18970
18970
  method: 'get'
@@ -19003,7 +19003,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
19003
19003
  businessId: businessId,
19004
19004
  transactionId: transactionId
19005
19005
  }, opts.hyperMediaEndpoint);
19006
- return _context19.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19006
+ return _context19.abrupt("return", request(_objectSpread$18({}, opts, {
19007
19007
  path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
19008
19008
  }), {
19009
19009
  method: 'get',
@@ -19043,7 +19043,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
19043
19043
  businessId: businessId,
19044
19044
  transactionId: transactionId
19045
19045
  }, opts.hyperMediaEndpoint);
19046
- return _context20.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19046
+ return _context20.abrupt("return", request(_objectSpread$18({}, opts, {
19047
19047
  path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
19048
19048
  }), {
19049
19049
  method: 'get',
@@ -19088,7 +19088,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
19088
19088
  businessId: businessId,
19089
19089
  practiceId: practiceId
19090
19090
  }, opts.hyperMediaEndpoint);
19091
- return _context21.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19091
+ return _context21.abrupt("return", request(_objectSpread$18({}, opts, {
19092
19092
  path: pathBusinessPracticeTransactions(businessId, practiceId)
19093
19093
  }), {
19094
19094
  method: 'get',
@@ -19135,7 +19135,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
19135
19135
  practiceId: practiceId,
19136
19136
  staffId: staffId
19137
19137
  }, opts.hyperMediaEndpoint);
19138
- return _context22.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19138
+ return _context22.abrupt("return", request(_objectSpread$18({}, opts, {
19139
19139
  path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
19140
19140
  }), {
19141
19141
  method: 'get',
@@ -19178,7 +19178,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
19178
19178
  doesParamExist.default({
19179
19179
  healthFundId: healthFundId
19180
19180
  }, opts.hyperMediaEndpoint);
19181
- return _context23.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19181
+ return _context23.abrupt("return", request(_objectSpread$18({}, opts, {
19182
19182
  path: pathTransactionsForHealthFund(healthFundId)
19183
19183
  }), {
19184
19184
  method: 'get',
@@ -19218,7 +19218,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
19218
19218
  healthFundId: healthFundId,
19219
19219
  transactionId: transactionId
19220
19220
  }, opts.hyperMediaEndpoint);
19221
- return _context24.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19221
+ return _context24.abrupt("return", request(_objectSpread$18({}, opts, {
19222
19222
  path: pathHealthFundTransaction(healthFundId, transactionId)
19223
19223
  }), {
19224
19224
  method: 'get'
@@ -19260,7 +19260,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
19260
19260
  doesParamExist.default({
19261
19261
  memberId: memberId
19262
19262
  }, opts.hyperMediaEndpoint);
19263
- return _context25.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19263
+ return _context25.abrupt("return", request(_objectSpread$18({}, opts, {
19264
19264
  path: pathTransactionsByMember(memberId)
19265
19265
  }), {
19266
19266
  method: 'get',
@@ -19304,7 +19304,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
19304
19304
  doesParamExist.default({
19305
19305
  healthFundId: healthFundId
19306
19306
  }, opts.hyperMediaEndpoint);
19307
- return _context26.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19307
+ return _context26.abrupt("return", request(_objectSpread$18({}, opts, {
19308
19308
  path: pathHealthFundMemberTransactions(healthFundId, memberId)
19309
19309
  }), {
19310
19310
  method: 'get',
@@ -19342,7 +19342,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
19342
19342
  doesParamExist.default({
19343
19343
  transactionId: transactionId
19344
19344
  }, opts.hyperMediaEndpoint);
19345
- return _context27.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19345
+ return _context27.abrupt("return", request(_objectSpread$18({}, opts, {
19346
19346
  path: pathTransactionByTransactionId(transactionId)
19347
19347
  }), {
19348
19348
  method: 'get',
@@ -19381,7 +19381,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
19381
19381
  doesParamExist.default({
19382
19382
  transactionId: transactionId
19383
19383
  }, opts.hyperMediaEndpoint);
19384
- return _context28.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19384
+ return _context28.abrupt("return", request(_objectSpread$18({}, opts, {
19385
19385
  path: pathTransactionByTransactionId(transactionId) + "/pdf"
19386
19386
  }), {
19387
19387
  method: 'post',
@@ -19423,7 +19423,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
19423
19423
  claimId: claimId,
19424
19424
  transactionId: transactionId
19425
19425
  }, opts.hyperMediaEndpoint);
19426
- return _context29.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19426
+ return _context29.abrupt("return", request(_objectSpread$18({}, opts, {
19427
19427
  path: pathTransactionClaimPdf(transactionId, claimId)
19428
19428
  }), {
19429
19429
  method: 'post',
@@ -19462,7 +19462,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
19462
19462
  opts = {};
19463
19463
  }
19464
19464
 
19465
- return _context30.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19465
+ return _context30.abrupt("return", request(_objectSpread$18({}, opts, {
19466
19466
  path: pathTransactionClaimPdfV2
19467
19467
  }), {
19468
19468
  method: 'post',
@@ -19502,7 +19502,7 @@ var replyToQuote = /*#__PURE__*/function () {
19502
19502
  doesParamExist.default({
19503
19503
  transactionId: transactionId
19504
19504
  }, opts.hyperMediaEndpoint);
19505
- return _context31.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19505
+ return _context31.abrupt("return", request(_objectSpread$18({}, opts, {
19506
19506
  path: pathReplyQuote(transactionId)
19507
19507
  }), {
19508
19508
  method: 'post',
@@ -19541,7 +19541,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
19541
19541
  doesParamExist.default({
19542
19542
  transactionId: transactionId
19543
19543
  }, opts.hyperMediaEndpoint);
19544
- return _context32.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19544
+ return _context32.abrupt("return", request(_objectSpread$18({}, opts, {
19545
19545
  path: pathTransactionSendReceipt(transactionId)
19546
19546
  }), {
19547
19547
  method: 'post',
@@ -19580,7 +19580,7 @@ var submitInvoice = /*#__PURE__*/function () {
19580
19580
  doesParamExist.default({
19581
19581
  transactionId: transactionId
19582
19582
  }, opts.hyperMediaEndpoint);
19583
- return _context33.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19583
+ return _context33.abrupt("return", request(_objectSpread$18({}, opts, {
19584
19584
  path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
19585
19585
  }), {
19586
19586
  method: 'post',
@@ -19619,7 +19619,7 @@ var updateTransaction = /*#__PURE__*/function () {
19619
19619
  doesParamExist.default({
19620
19620
  transactionId: transactionId
19621
19621
  }, opts.hyperMediaEndpoint);
19622
- return _context34.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19622
+ return _context34.abrupt("return", request(_objectSpread$18({}, opts, {
19623
19623
  path: pathTransactionByTransactionId(transactionId)
19624
19624
  }), {
19625
19625
  method: 'put',
@@ -19657,7 +19657,7 @@ var validateTransaction = /*#__PURE__*/function () {
19657
19657
  doesParamExist.default({
19658
19658
  transactionId: transactionId
19659
19659
  }, opts.hyperMediaEndpoint);
19660
- return _context35.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19660
+ return _context35.abrupt("return", request(_objectSpread$18({}, opts, {
19661
19661
  path: pathValidateTransaction(transactionId)
19662
19662
  }), {
19663
19663
  method: 'post'
@@ -19695,7 +19695,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
19695
19695
  doesParamExist.default({
19696
19696
  transactionId: transactionId
19697
19697
  }, opts.hyperMediaEndpoint);
19698
- return _context36.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19698
+ return _context36.abrupt("return", request(_objectSpread$18({}, opts, {
19699
19699
  path: pathTransactionSubmitBridgeClaim(transactionId)
19700
19700
  }), {
19701
19701
  method: 'post',
@@ -19734,7 +19734,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
19734
19734
  doesParamExist.default({
19735
19735
  transactionId: transactionId
19736
19736
  }, opts.hyperMediaEndpoint);
19737
- return _context37.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19737
+ return _context37.abrupt("return", request(_objectSpread$18({}, opts, {
19738
19738
  path: pathTransactionSubmitBridgePayment(transactionId)
19739
19739
  }), {
19740
19740
  method: 'post',
@@ -19773,7 +19773,7 @@ var triggerBridge = /*#__PURE__*/function () {
19773
19773
  doesParamExist.default({
19774
19774
  transactionId: transactionId
19775
19775
  }, opts.hyperMediaEndpoint);
19776
- return _context38.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19776
+ return _context38.abrupt("return", request(_objectSpread$18({}, opts, {
19777
19777
  path: pathTransactionTriggerBridge(transactionId)
19778
19778
  }), {
19779
19779
  method: 'post',
@@ -19812,7 +19812,7 @@ var createInvoice = /*#__PURE__*/function () {
19812
19812
  doesParamExist.default({
19813
19813
  businessId: businessId
19814
19814
  }, opts.hyperMediaEndpoint);
19815
- return _context39.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19815
+ return _context39.abrupt("return", request(_objectSpread$18({}, opts, {
19816
19816
  path: pathCreateInvoice(businessId)
19817
19817
  }), {
19818
19818
  method: 'post',
@@ -19851,7 +19851,7 @@ var createSendClaim = /*#__PURE__*/function () {
19851
19851
  doesParamExist.default({
19852
19852
  transactionId: transactionId
19853
19853
  }, opts.hyperMediaEndpoint);
19854
- return _context40.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19854
+ return _context40.abrupt("return", request(_objectSpread$18({}, opts, {
19855
19855
  path: pathCreateSendClaim(transactionId)
19856
19856
  }), {
19857
19857
  method: 'post',
@@ -19892,7 +19892,7 @@ var updateClaim = /*#__PURE__*/function () {
19892
19892
  claimId: claimId,
19893
19893
  transactionId: transactionId
19894
19894
  }, opts.hyperMediaEndpoint);
19895
- return _context41.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19895
+ return _context41.abrupt("return", request(_objectSpread$18({}, opts, {
19896
19896
  path: pathClaim(transactionId, claimId)
19897
19897
  }), {
19898
19898
  method: 'put',
@@ -19930,7 +19930,7 @@ var completeTransaction = /*#__PURE__*/function () {
19930
19930
  doesParamExist.default({
19931
19931
  transactionId: transactionId
19932
19932
  }, opts.hyperMediaEndpoint);
19933
- return _context42.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19933
+ return _context42.abrupt("return", request(_objectSpread$18({}, opts, {
19934
19934
  path: pathCompleteTransaction(transactionId)
19935
19935
  }), {
19936
19936
  method: 'post'
@@ -19969,7 +19969,7 @@ var approveClaim = /*#__PURE__*/function () {
19969
19969
  doesParamExist.default({
19970
19970
  transactionId: transactionId
19971
19971
  }, opts.hyperMediaEndpoint);
19972
- return _context43.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
19972
+ return _context43.abrupt("return", request(_objectSpread$18({}, opts, {
19973
19973
  path: pathApproveClaim(transactionId, claimId)
19974
19974
  }), {
19975
19975
  method: 'post',
@@ -20009,7 +20009,7 @@ var cancelClaim = /*#__PURE__*/function () {
20009
20009
  claimId: claimId,
20010
20010
  transactionId: transactionId
20011
20011
  }, opts.hyperMediaEndpoint);
20012
- return _context44.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20012
+ return _context44.abrupt("return", request(_objectSpread$18({}, opts, {
20013
20013
  path: pathCancelClaim(transactionId, claimId)
20014
20014
  }), {
20015
20015
  method: 'post',
@@ -20049,7 +20049,7 @@ var submitClaim = /*#__PURE__*/function () {
20049
20049
  doesParamExist.default({
20050
20050
  transactionId: transactionId
20051
20051
  }, opts.hyperMediaEndpoint);
20052
- return _context45.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20052
+ return _context45.abrupt("return", request(_objectSpread$18({}, opts, {
20053
20053
  path: pathSubmitClaim(transactionId, claimId)
20054
20054
  }), {
20055
20055
  method: 'post',
@@ -20089,7 +20089,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
20089
20089
  claimId: claimId,
20090
20090
  transactionId: transactionId
20091
20091
  }, opts.hyperMediaEndpoint);
20092
- return _context46.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20092
+ return _context46.abrupt("return", request(_objectSpread$18({}, opts, {
20093
20093
  path: pathSaveClaim(transactionId, claimId)
20094
20094
  }), {
20095
20095
  method: 'post'
@@ -20127,7 +20127,7 @@ var pay = /*#__PURE__*/function () {
20127
20127
  doesParamExist.default({
20128
20128
  transactionId: transactionId
20129
20129
  }, opts.hyperMediaEndpoint);
20130
- return _context47.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20130
+ return _context47.abrupt("return", request(_objectSpread$18({}, opts, {
20131
20131
  path: pathTransactionPays(transactionId)
20132
20132
  }), {
20133
20133
  method: 'post',
@@ -20166,7 +20166,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
20166
20166
  doesParamExist.default({
20167
20167
  transactionId: transactionId
20168
20168
  }, opts.hyperMediaEndpoint);
20169
- return _context48.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20169
+ return _context48.abrupt("return", request(_objectSpread$18({}, opts, {
20170
20170
  path: pathTransactionProcessingRequests(transactionId)
20171
20171
  }), {
20172
20172
  method: 'post',
@@ -20205,7 +20205,7 @@ var cancelInvoice = /*#__PURE__*/function () {
20205
20205
  doesParamExist.default({
20206
20206
  transactionId: transactionId
20207
20207
  }, opts.hyperMediaEndpoint);
20208
- return _context49.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20208
+ return _context49.abrupt("return", request(_objectSpread$18({}, opts, {
20209
20209
  path: pathTransactionCancel(transactionId)
20210
20210
  }), {
20211
20211
  method: 'post',
@@ -20243,7 +20243,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
20243
20243
  doesParamExist.default({
20244
20244
  transactionId: transactionId
20245
20245
  }, opts.hyperMediaEndpoint);
20246
- return _context50.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20246
+ return _context50.abrupt("return", request(_objectSpread$18({}, opts, {
20247
20247
  path: pathTransactionPaymentLink(transactionId)
20248
20248
  }), {
20249
20249
  method: 'get'
@@ -20283,7 +20283,7 @@ var refundByBusiness = /*#__PURE__*/function () {
20283
20283
  businessId: businessId,
20284
20284
  transactionId: transactionId
20285
20285
  }, opts.hyperMediaEndpoint);
20286
- return _context51.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20286
+ return _context51.abrupt("return", request(_objectSpread$18({}, opts, {
20287
20287
  path: pathBusinessTransactionRefund(businessId, transactionId)
20288
20288
  }), {
20289
20289
  method: 'post',
@@ -20322,7 +20322,7 @@ var refund = /*#__PURE__*/function () {
20322
20322
  doesParamExist.default({
20323
20323
  transactionId: transactionId
20324
20324
  }, opts.hyperMediaEndpoint);
20325
- return _context52.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20325
+ return _context52.abrupt("return", request(_objectSpread$18({}, opts, {
20326
20326
  path: pathTransactionRefund(transactionId)
20327
20327
  }), {
20328
20328
  method: 'post',
@@ -20361,7 +20361,7 @@ var saveDraft = /*#__PURE__*/function () {
20361
20361
  doesParamExist.default({
20362
20362
  businessId: businessId
20363
20363
  }, opts.hyperMediaEndpoint);
20364
- return _context53.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20364
+ return _context53.abrupt("return", request(_objectSpread$18({}, opts, {
20365
20365
  path: pathCreateDraft(businessId)
20366
20366
  }), {
20367
20367
  method: 'post',
@@ -20400,7 +20400,7 @@ var convertDraft = /*#__PURE__*/function () {
20400
20400
  doesParamExist.default({
20401
20401
  transactionId: transactionId
20402
20402
  }, opts.hyperMediaEndpoint);
20403
- return _context54.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20403
+ return _context54.abrupt("return", request(_objectSpread$18({}, opts, {
20404
20404
  path: pathConvertDraft(transactionId)
20405
20405
  }), {
20406
20406
  method: 'post',
@@ -20438,7 +20438,7 @@ var archive = /*#__PURE__*/function () {
20438
20438
  doesParamExist.default({
20439
20439
  transactionId: transactionId
20440
20440
  }, opts.hyperMediaEndpoint);
20441
- return _context55.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20441
+ return _context55.abrupt("return", request(_objectSpread$18({}, opts, {
20442
20442
  path: pathTransactionArchives(transactionId)
20443
20443
  }), {
20444
20444
  method: 'put'
@@ -20475,7 +20475,7 @@ var unarchive = /*#__PURE__*/function () {
20475
20475
  doesParamExist.default({
20476
20476
  transactionId: transactionId
20477
20477
  }, opts.hyperMediaEndpoint);
20478
- return _context56.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20478
+ return _context56.abrupt("return", request(_objectSpread$18({}, opts, {
20479
20479
  path: pathTransactionUnarchives(transactionId)
20480
20480
  }), {
20481
20481
  method: 'put'
@@ -20513,7 +20513,7 @@ var terminalInput = /*#__PURE__*/function () {
20513
20513
  doesParamExist.default({
20514
20514
  transactionId: transactionId
20515
20515
  }, opts.hyperMediaEndpoint);
20516
- return _context57.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20516
+ return _context57.abrupt("return", request(_objectSpread$18({}, opts, {
20517
20517
  path: pathTransactionTerminalInput(transactionId)
20518
20518
  }), {
20519
20519
  method: 'post',
@@ -20552,7 +20552,7 @@ var terminalCancellation = /*#__PURE__*/function () {
20552
20552
  doesParamExist.default({
20553
20553
  transactionId: transactionId
20554
20554
  }, opts.hyperMediaEndpoint);
20555
- return _context58.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20555
+ return _context58.abrupt("return", request(_objectSpread$18({}, opts, {
20556
20556
  path: pathTransactionTerminalCancel(transactionId)
20557
20557
  }), {
20558
20558
  method: 'post',
@@ -20592,7 +20592,7 @@ var refundPayment = /*#__PURE__*/function () {
20592
20592
  doesParamExist.default({
20593
20593
  transactionId: transactionId
20594
20594
  }, opts.hyperMediaEndpoint);
20595
- return _context59.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20595
+ return _context59.abrupt("return", request(_objectSpread$18({}, opts, {
20596
20596
  path: pathTransactionPaymentRefund(transactionId, paymentId)
20597
20597
  }), {
20598
20598
  method: 'post',
@@ -20632,7 +20632,7 @@ var voidPayment = /*#__PURE__*/function () {
20632
20632
  doesParamExist.default({
20633
20633
  transactionId: transactionId
20634
20634
  }, opts.hyperMediaEndpoint);
20635
- return _context60.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20635
+ return _context60.abrupt("return", request(_objectSpread$18({}, opts, {
20636
20636
  path: pathTransactionPaymentVoid(transactionId, paymentId)
20637
20637
  }), {
20638
20638
  method: 'post',
@@ -20667,7 +20667,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
20667
20667
  opts = {};
20668
20668
  }
20669
20669
 
20670
- return _context61.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20670
+ return _context61.abrupt("return", request(_objectSpread$18({}, opts, {
20671
20671
  path: pathCreateEclipseInPatientInvoice()
20672
20672
  }), {
20673
20673
  method: 'post',
@@ -20702,7 +20702,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
20702
20702
  opts = {};
20703
20703
  }
20704
20704
 
20705
- return _context62.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20705
+ return _context62.abrupt("return", request(_objectSpread$18({}, opts, {
20706
20706
  path: pathCreateEclipseOverseasInvoice()
20707
20707
  }), {
20708
20708
  method: 'post',
@@ -20737,7 +20737,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
20737
20737
  opts = {};
20738
20738
  }
20739
20739
 
20740
- return _context63.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20740
+ return _context63.abrupt("return", request(_objectSpread$18({}, opts, {
20741
20741
  path: pathCreateEclipseOnlineEligibilityCheckInvoice()
20742
20742
  }), {
20743
20743
  method: 'post',
@@ -20777,7 +20777,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
20777
20777
  businessId: businessId,
20778
20778
  transactionId: transactionId
20779
20779
  }, opts.hyperMediaEndpoint);
20780
- return _context64.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20780
+ return _context64.abrupt("return", request(_objectSpread$18({}, opts, {
20781
20781
  path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
20782
20782
  }), {
20783
20783
  method: 'get',
@@ -20817,7 +20817,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
20817
20817
  businessId: businessId,
20818
20818
  transactionId: transactionId
20819
20819
  }, opts.hyperMediaEndpoint);
20820
- return _context65.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20820
+ return _context65.abrupt("return", request(_objectSpread$18({}, opts, {
20821
20821
  path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
20822
20822
  }), {
20823
20823
  method: 'get',
@@ -20856,7 +20856,7 @@ var reconcileClaim = /*#__PURE__*/function () {
20856
20856
  doesParamExist.default({
20857
20857
  transactionId: transactionId
20858
20858
  }, opts.hyperMediaEndpoint);
20859
- return _context66.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20859
+ return _context66.abrupt("return", request(_objectSpread$18({}, opts, {
20860
20860
  path: pathReconcileClaim(transactionId, claimId)
20861
20861
  }), {
20862
20862
  method: 'post'
@@ -20890,7 +20890,7 @@ var saveDraftEclipseInPatientInvoice = /*#__PURE__*/function () {
20890
20890
  opts = {};
20891
20891
  }
20892
20892
 
20893
- return _context67.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20893
+ return _context67.abrupt("return", request(_objectSpread$18({}, opts, {
20894
20894
  path: pathSaveDraftEclipseInPatientInvoice()
20895
20895
  }), {
20896
20896
  method: 'post',
@@ -20925,7 +20925,7 @@ var saveDraftEclipseOverseasInvoice = /*#__PURE__*/function () {
20925
20925
  opts = {};
20926
20926
  }
20927
20927
 
20928
- return _context68.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20928
+ return _context68.abrupt("return", request(_objectSpread$18({}, opts, {
20929
20929
  path: pathSaveDraftEclipseOverseasInvoice()
20930
20930
  }), {
20931
20931
  method: 'post',
@@ -20960,7 +20960,7 @@ var createPhiInvoice = /*#__PURE__*/function () {
20960
20960
  opts = {};
20961
20961
  }
20962
20962
 
20963
- return _context69.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20963
+ return _context69.abrupt("return", request(_objectSpread$18({}, opts, {
20964
20964
  path: pathPhiInvoice()
20965
20965
  }), {
20966
20966
  method: 'post',
@@ -20995,7 +20995,7 @@ var createPhiQuote = /*#__PURE__*/function () {
20995
20995
  opts = {};
20996
20996
  }
20997
20997
 
20998
- return _context70.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20998
+ return _context70.abrupt("return", request(_objectSpread$18({}, opts, {
20999
20999
  path: pathPhiQuote()
21000
21000
  }), {
21001
21001
  method: 'post',
@@ -21118,7 +21118,7 @@ var getTrigger = /*#__PURE__*/function () {
21118
21118
  doesParamExist.default({
21119
21119
  triggerId: triggerId
21120
21120
  }, opts.hyperMediaEndpoint);
21121
- return _context.abrupt("return", request(_objectSpread$19(_objectSpread$19({}, opts), {}, {
21121
+ return _context.abrupt("return", request(_objectSpread$19({}, opts, {
21122
21122
  path: pathTrigger(triggerId)
21123
21123
  }), {
21124
21124
  method: 'get'
@@ -21156,7 +21156,7 @@ var getTriggers = /*#__PURE__*/function () {
21156
21156
  opts = {};
21157
21157
  }
21158
21158
 
21159
- return _context2.abrupt("return", request(_objectSpread$19(_objectSpread$19({}, opts), {}, {
21159
+ return _context2.abrupt("return", request(_objectSpread$19({}, opts, {
21160
21160
  path: PATH__TRIGGERS
21161
21161
  }), {
21162
21162
  method: 'get',
@@ -21195,7 +21195,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
21195
21195
  opts = {};
21196
21196
  }
21197
21197
 
21198
- return _context3.abrupt("return", request(_objectSpread$19(_objectSpread$19({}, opts), {}, {
21198
+ return _context3.abrupt("return", request(_objectSpread$19({}, opts, {
21199
21199
  path: PATH__TRIGGER_CATEGORIES
21200
21200
  }), {
21201
21201
  method: 'get',
@@ -21240,7 +21240,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
21240
21240
  healthFundId: healthFundId,
21241
21241
  vendorId: vendorId
21242
21242
  }, opts.hyperMediaEndpoint);
21243
- return request(_objectSpread$1a(_objectSpread$1a({}, opts), {}, {
21243
+ return request(_objectSpread$1a({}, opts, {
21244
21244
  path: pathHealthFundVendor(healthFundId, vendorId)
21245
21245
  }), {
21246
21246
  method: 'get',
@@ -21255,7 +21255,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
21255
21255
  doesParamExist.default({
21256
21256
  healthFundId: healthFundId
21257
21257
  }, opts.hyperMediaEndpoint);
21258
- return request(_objectSpread$1a(_objectSpread$1a({}, opts), {}, {
21258
+ return request(_objectSpread$1a({}, opts, {
21259
21259
  path: pathHealthFundVendors(healthFundId)
21260
21260
  }), {
21261
21261
  method: 'get',
@@ -21291,7 +21291,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
21291
21291
  opts = {};
21292
21292
  }
21293
21293
 
21294
- return _context.abrupt("return", request(_objectSpread$1b(_objectSpread$1b({}, opts), {}, {
21294
+ return _context.abrupt("return", request(_objectSpread$1b({}, opts, {
21295
21295
  path: PATH__MEDICARE_VERIFY
21296
21296
  }), {
21297
21297
  method: 'POST',
@@ -21328,7 +21328,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
21328
21328
  opts = {};
21329
21329
  }
21330
21330
 
21331
- return request(_objectSpread$1c(_objectSpread$1c({}, opts), {}, {
21331
+ return request(_objectSpread$1c({}, opts, {
21332
21332
  path: pathSendWorkerMessage()
21333
21333
  }), {
21334
21334
  method: 'post',
@@ -21356,7 +21356,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
21356
21356
  doesParamExist.default({
21357
21357
  healthFundId: healthFundId
21358
21358
  }, opts.hyperMediaEndpoint);
21359
- return request(_objectSpread$1d(_objectSpread$1d({}, opts), {}, {
21359
+ return request(_objectSpread$1d({}, opts, {
21360
21360
  path: pathHealthFundWorkflowExceptions(healthFundId)
21361
21361
  }), {
21362
21362
  method: 'get',
@@ -22312,7 +22312,7 @@ var checkAppVersion = /*#__PURE__*/function () {
22312
22312
  break;
22313
22313
  }
22314
22314
 
22315
- return _context3.abrupt("return", _objectSpread$1e(_objectSpread$1e({}, versions), {}, {
22315
+ return _context3.abrupt("return", _objectSpread$1e({}, versions, {
22316
22316
  requiresUpdate: true,
22317
22317
  isForced: true
22318
22318
  }));
@@ -22323,12 +22323,12 @@ var checkAppVersion = /*#__PURE__*/function () {
22323
22323
  break;
22324
22324
  }
22325
22325
 
22326
- return _context3.abrupt("return", _objectSpread$1e(_objectSpread$1e({}, versions), {}, {
22326
+ return _context3.abrupt("return", _objectSpread$1e({}, versions, {
22327
22327
  requiresUpdate: true
22328
22328
  }));
22329
22329
 
22330
22330
  case 14:
22331
- return _context3.abrupt("return", _objectSpread$1e(_objectSpread$1e({}, versions), {}, {
22331
+ return _context3.abrupt("return", _objectSpread$1e({}, versions, {
22332
22332
  requiresUpdate: false
22333
22333
  }));
22334
22334
 
@@ -22481,17 +22481,17 @@ function _parseProfessions() {
22481
22481
  professionalCategoriesMap = professionalCategoriesResponse == null ? void 0 : (_professionalCategori = professionalCategoriesResponse.items) == null ? void 0 : _professionalCategori.reduce(function (currentProfessionalCategories, professionalCategory) {
22482
22482
  var _objectSpread2;
22483
22483
 
22484
- return _objectSpread$1f(_objectSpread$1f({}, currentProfessionalCategories), {}, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
22484
+ return _objectSpread$1f({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
22485
22485
  }, {});
22486
22486
  specialtiesMap = specialtiesResponse == null ? void 0 : (_specialtiesResponse$ = specialtiesResponse.items) == null ? void 0 : _specialtiesResponse$.reduce(function (currentSpecialties, specialty) {
22487
22487
  var _objectSpread3;
22488
22488
 
22489
- return _objectSpread$1f(_objectSpread$1f({}, currentSpecialties), {}, (_objectSpread3 = {}, _objectSpread3[specialty._id] = specialty, _objectSpread3));
22489
+ return _objectSpread$1f({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[specialty._id] = specialty, _objectSpread3));
22490
22490
  }, {});
22491
22491
  providerRegistrationTypesMap = providerTypesResponse == null ? void 0 : (_providerTypesRespons = providerTypesResponse.items) == null ? void 0 : _providerTypesRespons.reduce(function (currentProviderType, providerType) {
22492
22492
  var _objectSpread4;
22493
22493
 
22494
- return _objectSpread$1f(_objectSpread$1f({}, currentProviderType), {}, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
22494
+ return _objectSpread$1f({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
22495
22495
  }, {});
22496
22496
  newProfessions = professions.map(function (registration) {
22497
22497
  var professionalCategory = professionalCategoriesMap == null ? void 0 : professionalCategoriesMap[registration.professionalCategoryId];
@@ -22564,7 +22564,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
22564
22564
  return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
22565
22565
  var _objectSpread2;
22566
22566
 
22567
- return _objectSpread$1g(_objectSpread$1g({}, baseUrls), {}, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
22567
+ return _objectSpread$1g({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
22568
22568
  }, {});
22569
22569
  };
22570
22570
 
@@ -22703,7 +22703,7 @@ var sdkClient = {
22703
22703
  this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
22704
22704
  }
22705
22705
 
22706
- this.setConfig(_objectSpread$1g(_objectSpread$1g({}, opts), {}, {
22706
+ this.setConfig(_objectSpread$1g({}, opts, {
22707
22707
  env: env
22708
22708
  }));
22709
22709
  this.hasInit = true; // Setup request/response interceptors
@@ -23068,20 +23068,20 @@ function _parseProviderSet() {
23068
23068
  fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
23069
23069
  var _objectSpread2;
23070
23070
 
23071
- return _objectSpread$1h(_objectSpread$1h({}, currentFunders), {}, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
23071
+ return _objectSpread$1h({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
23072
23072
  }, {});
23073
23073
  practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
23074
23074
  var _objectSpread3;
23075
23075
 
23076
- return _objectSpread$1h(_objectSpread$1h({}, currentPractices), {}, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
23076
+ return _objectSpread$1h({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
23077
23077
  }, {});
23078
23078
  providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
23079
23079
  var _objectSpread4;
23080
23080
 
23081
- return _objectSpread$1h(_objectSpread$1h({}, currentProviderNumberTypes), {}, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
23081
+ return _objectSpread$1h({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
23082
23082
  }, {});
23083
23083
  newProviderSet = providerSet.map(function (providerData, i) {
23084
- return _objectSpread$1h(_objectSpread$1h(_objectSpread$1h({}, providerData), providerRegistrations[i]), {}, {
23084
+ return _objectSpread$1h({}, providerData, {}, providerRegistrations[i], {
23085
23085
  practice: practicesMap[providerData.practiceId],
23086
23086
  funder: fundersMap[providerData.funderId]
23087
23087
  }, parseProviderNumberType && {