@medipass/web-sdk 11.42.0 → 11.42.1-feature-migrate-utils-to-ts.0

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 (86) hide show
  1. package/lib/index.js +2 -2
  2. package/lib/{regions-0da90c43.js → regions-dc95a5c6.js} +0 -0
  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/bulk-submits.js +2 -2
  10. package/lib/resources/bulk-uploads.js +2 -2
  11. package/lib/resources/business-profiles.js +2 -2
  12. package/lib/resources/businesses.js +2 -2
  13. package/lib/resources/claim-items.js +2 -2
  14. package/lib/resources/devices.js +2 -2
  15. package/lib/resources/doc-accounts.js +2 -2
  16. package/lib/resources/documents.js +2 -2
  17. package/lib/resources/emails.js +2 -2
  18. package/lib/resources/form-application-templates.js +2 -2
  19. package/lib/resources/form-applications.js +2 -2
  20. package/lib/resources/forms.js +2 -2
  21. package/lib/resources/funder-services.js +2 -2
  22. package/lib/resources/funder-settings.js +2 -2
  23. package/lib/resources/funder-values.js +2 -2
  24. package/lib/resources/funders.js +2 -2
  25. package/lib/resources/futures.js +2 -2
  26. package/lib/resources/health-fund-accounts.js +2 -2
  27. package/lib/resources/health-fund-settings.js +2 -2
  28. package/lib/resources/healthfunds.js +2 -2
  29. package/lib/resources/icditems.js +2 -2
  30. package/lib/resources/invoice-scans.js +2 -2
  31. package/lib/resources/jhcs.js +2 -2
  32. package/lib/resources/kyc.js +2 -2
  33. package/lib/resources/logs.js +2 -2
  34. package/lib/resources/members.js +2 -2
  35. package/lib/resources/message-mappings.js +2 -2
  36. package/lib/resources/minions.js +2 -2
  37. package/lib/resources/modalities.js +2 -2
  38. package/lib/resources/notes.js +2 -2
  39. package/lib/resources/onboarding-applications.js +2 -2
  40. package/lib/resources/onboarding-requests.js +2 -2
  41. package/lib/resources/ops.js +2 -2
  42. package/lib/resources/organisations.js +2 -2
  43. package/lib/resources/partners.js +2 -2
  44. package/lib/resources/patients.js +2 -2
  45. package/lib/resources/payments.js +2 -2
  46. package/lib/resources/pms.js +2 -2
  47. package/lib/resources/practice-profiles.js +2 -2
  48. package/lib/resources/practice-types.js +2 -2
  49. package/lib/resources/practices.js +2 -2
  50. package/lib/resources/products.js +2 -2
  51. package/lib/resources/professional-categories.js +2 -2
  52. package/lib/resources/provider-number-types.js +2 -2
  53. package/lib/resources/provider-registration-types.js +2 -2
  54. package/lib/resources/provider-requests.js +2 -2
  55. package/lib/resources/provider-types.js +2 -2
  56. package/lib/resources/ref-sources.js +2 -2
  57. package/lib/resources/risk.js +2 -2
  58. package/lib/resources/rnas.js +2 -2
  59. package/lib/resources/roles.js +2 -2
  60. package/lib/resources/self-checkout-sessions.js +2 -2
  61. package/lib/resources/services.js +2 -2
  62. package/lib/resources/settlements.js +2 -2
  63. package/lib/resources/sign-up.js +2 -2
  64. package/lib/resources/specialties.js +2 -2
  65. package/lib/resources/staff-profiles.js +2 -2
  66. package/lib/resources/staff.js +2 -2
  67. package/lib/resources/statistics.js +2 -2
  68. package/lib/resources/subscriptions.js +2 -2
  69. package/lib/resources/terminals.js +2 -2
  70. package/lib/resources/transaction-export.js +2 -2
  71. package/lib/resources/transactions.js +2 -2
  72. package/lib/resources/triggers.js +2 -2
  73. package/lib/resources/vendors.js +2 -2
  74. package/lib/resources/verify.js +2 -2
  75. package/lib/resources/workers.js +2 -2
  76. package/lib/resources/workflow-exceptions.js +2 -2
  77. package/lib/services/aws.js +2 -2
  78. package/lib/services/storage.js +1 -1
  79. package/lib/services/version.js +2 -2
  80. package/lib/{staff-0b32af48.js → staff-e164fd45.js} +536 -536
  81. package/lib/utils/application.js +2 -2
  82. package/lib/utils/professions.js +2 -2
  83. package/lib/utils/regions.js +1 -1
  84. package/lib/utils/request.js +2 -2
  85. package/lib/utils/staff.js +2 -2
  86. package/package.json +3 -3
@@ -30,7 +30,7 @@ var funders$1 = require('@medipass/utils/funders');
30
30
  var compareVersions = _interopDefault(require('compare-versions'));
31
31
  var index = require('./utils/base-urls/index.js');
32
32
  var _flatten = _interopDefault(require('lodash/flatten'));
33
- var regions = require('./regions-0da90c43.js');
33
+ var regions = require('./regions-dc95a5c6.js');
34
34
 
35
35
  var staffUtils = /*#__PURE__*/Object.freeze({
36
36
  __proto__: null,
@@ -68,7 +68,7 @@ var request = /*#__PURE__*/function () {
68
68
  baseUrl = getBaseUrl(apiName, medipassRequestOpts);
69
69
  _context.prev = 4;
70
70
  _context.next = 7;
71
- return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread({}, axiosRequestOpts, {}, medipassRequestOpts.requestConfig));
71
+ return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread(_objectSpread({}, axiosRequestOpts), medipassRequestOpts.requestConfig));
72
72
 
73
73
  case 7:
74
74
  res = _context.sent;
@@ -195,7 +195,7 @@ var createAccountSecretKey = /*#__PURE__*/function () {
195
195
  doesParamExist.default({
196
196
  accountId: accountId
197
197
  }, opts.hyperMediaEndpoint);
198
- return _context.abrupt("return", request(_objectSpread$1({}, opts, {
198
+ return _context.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
199
199
  path: pathAccountSecretKeysByAccountId(accountId)
200
200
  }), {
201
201
  method: 'post'
@@ -233,7 +233,7 @@ var createOrganisationAccount = /*#__PURE__*/function () {
233
233
  doesParamExist.default({
234
234
  organisationId: organisationId
235
235
  }, opts.hyperMediaEndpoint);
236
- return _context2.abrupt("return", request(_objectSpread$1({}, opts, {
236
+ return _context2.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
237
237
  path: pathOrganisationAccounts(organisationId)
238
238
  }), {
239
239
  method: 'post',
@@ -273,7 +273,7 @@ var deleteAccountSecretKey = /*#__PURE__*/function () {
273
273
  accountId: accountId,
274
274
  secretKey: secretKey
275
275
  }, opts.hyperMediaEndpoint);
276
- return _context3.abrupt("return", request(_objectSpread$1({}, opts, {
276
+ return _context3.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
277
277
  path: pathAccountSecretKey(accountId, secretKey)
278
278
  }), {
279
279
  method: 'delete'
@@ -310,7 +310,7 @@ var deleteAccount = /*#__PURE__*/function () {
310
310
  doesParamExist.default({
311
311
  accountId: accountId
312
312
  }, opts.hyperMediaEndpoint);
313
- return _context4.abrupt("return", request(_objectSpread$1({}, opts, {
313
+ return _context4.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
314
314
  path: pathAccountsByAccountId(accountId)
315
315
  }), {
316
316
  method: 'delete'
@@ -347,7 +347,7 @@ var disableAccount = /*#__PURE__*/function () {
347
347
  doesParamExist.default({
348
348
  accountId: accountId
349
349
  }, opts.hyperMediaEndpoint);
350
- return _context5.abrupt("return", request(_objectSpread$1({}, opts, {
350
+ return _context5.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
351
351
  path: pathDisableAccount(accountId)
352
352
  }), {
353
353
  method: 'put'
@@ -384,7 +384,7 @@ var enableAccount = /*#__PURE__*/function () {
384
384
  doesParamExist.default({
385
385
  accountId: accountId
386
386
  }, opts.hyperMediaEndpoint);
387
- return _context6.abrupt("return", request(_objectSpread$1({}, opts, {
387
+ return _context6.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
388
388
  path: pathEnableAccount(accountId)
389
389
  }), {
390
390
  method: 'put'
@@ -419,7 +419,7 @@ var requestAccountReset = /*#__PURE__*/function () {
419
419
  opts = {};
420
420
  }
421
421
 
422
- return _context7.abrupt("return", request(_objectSpread$1({}, opts, {
422
+ return _context7.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
423
423
  path: PATH__REQUEST_ACCOUNT_RESET
424
424
  }), {
425
425
  method: 'post',
@@ -467,17 +467,17 @@ var requestPasswordReset = /*#__PURE__*/function () {
467
467
 
468
468
  if (email) {
469
469
  // @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
470
- data = _objectSpread$1({}, data, {
470
+ data = _objectSpread$1(_objectSpread$1({}, data), {}, {
471
471
  email: email
472
472
  });
473
473
  } else if (accountId) {
474
474
  // @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
475
- data = _objectSpread$1({}, data, {
475
+ data = _objectSpread$1(_objectSpread$1({}, data), {}, {
476
476
  accountId: accountId
477
477
  });
478
478
  }
479
479
 
480
- return _context8.abrupt("return", request(_objectSpread$1({}, opts, {
480
+ return _context8.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
481
481
  path: PATH__REQUEST_PASSWORD_RESET
482
482
  }), {
483
483
  method: 'post',
@@ -522,17 +522,17 @@ var requestMobileReset = /*#__PURE__*/function () {
522
522
 
523
523
  if (email) {
524
524
  // @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
525
- data = _objectSpread$1({}, data, {
525
+ data = _objectSpread$1(_objectSpread$1({}, data), {}, {
526
526
  email: email
527
527
  });
528
528
  } else if (accountId) {
529
529
  // @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
530
- data = _objectSpread$1({}, data, {
530
+ data = _objectSpread$1(_objectSpread$1({}, data), {}, {
531
531
  accountId: accountId
532
532
  });
533
533
  }
534
534
 
535
- return _context9.abrupt("return", request(_objectSpread$1({}, opts, {
535
+ return _context9.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
536
536
  path: PATH__REQUEST_MOBILE_RESET
537
537
  }), {
538
538
  method: 'post',
@@ -567,7 +567,7 @@ var resetAccount = /*#__PURE__*/function () {
567
567
  opts = {};
568
568
  }
569
569
 
570
- return _context10.abrupt("return", request(_objectSpread$1({}, opts, {
570
+ return _context10.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
571
571
  path: PATH__ACCOUNT_RESET
572
572
  }), {
573
573
  method: 'post',
@@ -602,7 +602,7 @@ var resetPassword = /*#__PURE__*/function () {
602
602
  opts = {};
603
603
  }
604
604
 
605
- return _context11.abrupt("return", request(_objectSpread$1({}, opts, {
605
+ return _context11.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
606
606
  path: PATH__ACCOUNT_PASSWORD_RESET
607
607
  }), {
608
608
  method: 'post',
@@ -637,7 +637,7 @@ var resetMobile = /*#__PURE__*/function () {
637
637
  opts = {};
638
638
  }
639
639
 
640
- return _context12.abrupt("return", request(_objectSpread$1({}, opts, {
640
+ return _context12.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
641
641
  path: PATH__ACCOUNT_MOBILE_RESET
642
642
  }), {
643
643
  method: 'post',
@@ -672,7 +672,7 @@ var verifyAccount = /*#__PURE__*/function () {
672
672
  opts = {};
673
673
  }
674
674
 
675
- return _context13.abrupt("return", request(_objectSpread$1({}, opts, {
675
+ return _context13.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
676
676
  path: PATH__ACCOUNT_VERIFY
677
677
  }), {
678
678
  method: 'post',
@@ -711,7 +711,7 @@ var getAccounts = /*#__PURE__*/function () {
711
711
  opts = {};
712
712
  }
713
713
 
714
- return _context14.abrupt("return", request(_objectSpread$1({}, opts, {
714
+ return _context14.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
715
715
  path: PATH__ACCOUNTS
716
716
  }), {
717
717
  method: 'get',
@@ -751,7 +751,7 @@ var getHealthFundAccount = /*#__PURE__*/function () {
751
751
  accountId: accountId,
752
752
  healthFundId: healthFundId
753
753
  }, opts.hyperMediaEndpoint);
754
- return _context15.abrupt("return", request(_objectSpread$1({}, opts, {
754
+ return _context15.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
755
755
  path: pathHealthFundAccount(healthFundId, accountId)
756
756
  }), {
757
757
  method: 'get'
@@ -793,7 +793,7 @@ var getHealthFundAccounts = /*#__PURE__*/function () {
793
793
  doesParamExist.default({
794
794
  healthFundId: healthFundId
795
795
  }, opts.hyperMediaEndpoint);
796
- return _context16.abrupt("return", request(_objectSpread$1({}, opts, {
796
+ return _context16.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
797
797
  path: pathHealthFundAccounts(healthFundId)
798
798
  }), {
799
799
  method: 'get',
@@ -836,7 +836,7 @@ var getOrganisationAccounts = /*#__PURE__*/function () {
836
836
  doesParamExist.default({
837
837
  organisationId: organisationId
838
838
  }, opts.hyperMediaEndpoint);
839
- return _context17.abrupt("return", request(_objectSpread$1({}, opts, {
839
+ return _context17.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
840
840
  path: pathOrganisationAccounts(organisationId)
841
841
  }), {
842
842
  method: 'get',
@@ -876,7 +876,7 @@ var getAccount = /*#__PURE__*/function () {
876
876
  accountId: accountId
877
877
  }, opts.hyperMediaEndpoint);
878
878
  _context18.next = 4;
879
- return request(_objectSpread$1({}, opts, {
879
+ return request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
880
880
  path: pathAccountsByAccountId(accountId)
881
881
  }), {
882
882
  method: 'get'
@@ -925,7 +925,7 @@ var getBusinessStaffAccount = /*#__PURE__*/function () {
925
925
  staffId: staffId
926
926
  }, opts.hyperMediaEndpoint);
927
927
  _context19.next = 4;
928
- return request(_objectSpread$1({}, opts, {
928
+ return request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
929
929
  path: pathBusinessStaffAccount(businessId, staffId)
930
930
  }), {
931
931
  method: 'get'
@@ -966,7 +966,7 @@ var getAccountExists = /*#__PURE__*/function () {
966
966
  opts = {};
967
967
  }
968
968
 
969
- return _context20.abrupt("return", request(_objectSpread$1({}, opts, {
969
+ return _context20.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
970
970
  path: pathAccountExists()
971
971
  }), {
972
972
  method: 'get',
@@ -1004,7 +1004,7 @@ var getAccountRoles = /*#__PURE__*/function () {
1004
1004
  doesParamExist.default({
1005
1005
  accountId: accountId
1006
1006
  }, opts.hyperMediaEndpoint);
1007
- return _context21.abrupt("return", request(_objectSpread$1({}, opts, {
1007
+ return _context21.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1008
1008
  path: pathAccountRolesByAccountId(accountId)
1009
1009
  }), {
1010
1010
  method: 'get'
@@ -1041,7 +1041,7 @@ var getAccountSecretKeys = /*#__PURE__*/function () {
1041
1041
  doesParamExist.default({
1042
1042
  accountId: accountId
1043
1043
  }, opts.hyperMediaEndpoint);
1044
- return _context22.abrupt("return", request(_objectSpread$1({}, opts, {
1044
+ return _context22.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1045
1045
  path: pathAccountSecretKeysByAccountId(accountId)
1046
1046
  }), {
1047
1047
  method: 'get'
@@ -1083,7 +1083,7 @@ var getAccountTransactions = /*#__PURE__*/function () {
1083
1083
  doesParamExist.default({
1084
1084
  accountId: accountId
1085
1085
  }, opts.hyperMediaEndpoint);
1086
- return _context23.abrupt("return", request(_objectSpread$1({}, opts, {
1086
+ return _context23.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1087
1087
  path: pathAccountTransactions(accountId)
1088
1088
  }), {
1089
1089
  method: 'get',
@@ -1122,7 +1122,7 @@ var inviteHealthFundAccount = /*#__PURE__*/function () {
1122
1122
  doesParamExist.default({
1123
1123
  healthFundId: healthFundId
1124
1124
  }, opts.hyperMediaEndpoint);
1125
- return _context24.abrupt("return", request(_objectSpread$1({}, opts, {
1125
+ return _context24.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1126
1126
  path: pathHealthFundAccounts(healthFundId) + "/invites"
1127
1127
  }), {
1128
1128
  method: 'post',
@@ -1162,7 +1162,7 @@ var removeHealthFundFromAccount = /*#__PURE__*/function () {
1162
1162
  accountId: accountId,
1163
1163
  healthFundId: healthFundId
1164
1164
  }, opts.hyperMediaEndpoint);
1165
- return _context25.abrupt("return", request(_objectSpread$1({}, opts, {
1165
+ return _context25.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1166
1166
  path: pathHealthFundAccount(healthFundId, accountId)
1167
1167
  }), {
1168
1168
  method: 'delete'
@@ -1199,7 +1199,7 @@ var requestToVerifyAccount = /*#__PURE__*/function () {
1199
1199
  doesParamExist.default({
1200
1200
  accountId: accountId
1201
1201
  }, opts.hyperMediaEndpoint);
1202
- return _context26.abrupt("return", request(_objectSpread$1({}, opts, {
1202
+ return _context26.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1203
1203
  path: pathRequestVerifyAccount(accountId)
1204
1204
  }), {
1205
1205
  method: 'post'
@@ -1239,7 +1239,7 @@ var signUp = /*#__PURE__*/function () {
1239
1239
  email: email,
1240
1240
  mobile: mobile
1241
1241
  }, opts.hyperMediaEndpoint);
1242
- return _context27.abrupt("return", request(_objectSpread$1({}, opts, {
1242
+ return _context27.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1243
1243
  path: PATH__SIGN_UP
1244
1244
  }), {
1245
1245
  method: 'post',
@@ -1277,7 +1277,7 @@ var acceptInvite = /*#__PURE__*/function () {
1277
1277
  opts = {};
1278
1278
  }
1279
1279
 
1280
- return _context28.abrupt("return", request(_objectSpread$1({}, opts, {
1280
+ return _context28.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1281
1281
  path: PATH__ACCEPT_ACCOUNT_INVITE
1282
1282
  }), {
1283
1283
  method: 'post',
@@ -1318,7 +1318,7 @@ var updateAccount = /*#__PURE__*/function () {
1318
1318
  accountId: accountId
1319
1319
  }, opts.hyperMediaEndpoint);
1320
1320
  _context29.next = 4;
1321
- return request(_objectSpread$1({}, opts, {
1321
+ return request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1322
1322
  path: pathAccountsByAccountId(accountId)
1323
1323
  }), {
1324
1324
  method: 'put',
@@ -1365,7 +1365,7 @@ var updateAccountRoles = /*#__PURE__*/function () {
1365
1365
  doesParamExist.default({
1366
1366
  accountId: accountId
1367
1367
  }, opts.hyperMediaEndpoint);
1368
- return _context30.abrupt("return", request(_objectSpread$1({}, opts, {
1368
+ return _context30.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1369
1369
  path: pathAccountRolesByAccountId(accountId)
1370
1370
  }), {
1371
1371
  method: 'put',
@@ -1408,7 +1408,7 @@ var getAccountPractices = /*#__PURE__*/function () {
1408
1408
  doesParamExist.default({
1409
1409
  accountId: accountId
1410
1410
  }, opts.hyperMediaEndpoint);
1411
- return _context31.abrupt("return", request(_objectSpread$1({}, opts, {
1411
+ return _context31.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1412
1412
  path: pathAccountPractices(accountId)
1413
1413
  }), {
1414
1414
  method: 'get',
@@ -1443,7 +1443,7 @@ var changePassword = /*#__PURE__*/function () {
1443
1443
  opts = {};
1444
1444
  }
1445
1445
 
1446
- return _context32.abrupt("return", request(_objectSpread$1({}, opts, {
1446
+ return _context32.abrupt("return", request(_objectSpread$1(_objectSpread$1({}, opts), {}, {
1447
1447
  path: pathChangePassword()
1448
1448
  }), {
1449
1449
  method: 'post',
@@ -1528,7 +1528,7 @@ var getActions = /*#__PURE__*/function () {
1528
1528
  opts = {};
1529
1529
  }
1530
1530
 
1531
- return _context.abrupt("return", request(_objectSpread$2({}, opts, {
1531
+ return _context.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1532
1532
  path: PATH__ACTIONS
1533
1533
  }), {
1534
1534
  method: 'get',
@@ -1563,7 +1563,7 @@ var getAction = /*#__PURE__*/function () {
1563
1563
  opts = {};
1564
1564
  }
1565
1565
 
1566
- return _context2.abrupt("return", request(_objectSpread$2({}, opts, {
1566
+ return _context2.abrupt("return", request(_objectSpread$2(_objectSpread$2({}, opts), {}, {
1567
1567
  path: pathAction(actionId)
1568
1568
  }), {
1569
1569
  method: 'get'
@@ -1617,7 +1617,7 @@ var createApiKey = /*#__PURE__*/function () {
1617
1617
  doesParamExist.default({
1618
1618
  businessId: businessId
1619
1619
  }, opts.hyperMediaEndpoint);
1620
- return _context.abrupt("return", request(_objectSpread$3({}, opts, {
1620
+ return _context.abrupt("return", request(_objectSpread$3(_objectSpread$3({}, opts), {}, {
1621
1621
  path: pathApiKeysByBusinessId(businessId)
1622
1622
  }), {
1623
1623
  method: 'post',
@@ -1656,7 +1656,7 @@ var getBusinessApiKeys = /*#__PURE__*/function () {
1656
1656
  doesParamExist.default({
1657
1657
  businessId: businessId
1658
1658
  }, opts.hyperMediaEndpoint);
1659
- return _context2.abrupt("return", request(_objectSpread$3({}, opts, {
1659
+ return _context2.abrupt("return", request(_objectSpread$3(_objectSpread$3({}, opts), {}, {
1660
1660
  path: pathApiKeysByBusinessId(businessId)
1661
1661
  }), {
1662
1662
  method: 'get',
@@ -1696,7 +1696,7 @@ var deleteApiKey = /*#__PURE__*/function () {
1696
1696
  businessId: businessId,
1697
1697
  apiKeyId: apiKeyId
1698
1698
  }, opts.hyperMediaEndpoint);
1699
- return _context3.abrupt("return", request(_objectSpread$3({}, opts, {
1699
+ return _context3.abrupt("return", request(_objectSpread$3(_objectSpread$3({}, opts), {}, {
1700
1700
  path: pathApiKeyByApiKeyId(businessId, apiKeyId)
1701
1701
  }), {
1702
1702
  method: 'delete'
@@ -1755,7 +1755,7 @@ var getClaimAttachmentUrl = function getClaimAttachmentUrl(businessId, practiceI
1755
1755
  practiceId: practiceId,
1756
1756
  staffId: staffId
1757
1757
  }, opts.hyperMediaEndpoint);
1758
- return request(_objectSpread$4({}, opts, {
1758
+ return request(_objectSpread$4(_objectSpread$4({}, opts), {}, {
1759
1759
  path: pathGetClaimAttachmentUrl(businessId, practiceId, staffId)
1760
1760
  }), {
1761
1761
  method: 'get',
@@ -1781,7 +1781,7 @@ var scanClaimFile = function scanClaimFile(businessId, practiceId, staffId, body
1781
1781
  practiceId: practiceId,
1782
1782
  staffId: staffId
1783
1783
  }, opts.hyperMediaEndpoint);
1784
- return request(_objectSpread$4({}, opts, {
1784
+ return request(_objectSpread$4(_objectSpread$4({}, opts), {}, {
1785
1785
  path: pathScanClaimFile(businessId, practiceId, staffId)
1786
1786
  }), {
1787
1787
  method: 'post',
@@ -1809,7 +1809,7 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
1809
1809
  staffId: staffId,
1810
1810
  s3SignedUrlId: s3SignedUrlId
1811
1811
  }, opts.hyperMediaEndpoint);
1812
- return request(_objectSpread$4({}, opts, {
1812
+ return request(_objectSpread$4(_objectSpread$4({}, opts), {}, {
1813
1813
  path: pathGetS3SignedUrl(businessId, practiceId, staffId, s3SignedUrlId)
1814
1814
  }), {
1815
1815
  method: 'get',
@@ -1873,7 +1873,7 @@ var checkDupe = /*#__PURE__*/function () {
1873
1873
  opts = {};
1874
1874
  }
1875
1875
 
1876
- return _context.abrupt("return", request(_objectSpread$5({}, opts, {
1876
+ return _context.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
1877
1877
  path: PATH__MEMBERS + "/checkdupe"
1878
1878
  }), {
1879
1879
  method: 'post',
@@ -1909,7 +1909,7 @@ var createAccountMember = /*#__PURE__*/function () {
1909
1909
  opts = {};
1910
1910
  }
1911
1911
 
1912
- return _context2.abrupt("return", request(_objectSpread$5({}, opts, {
1912
+ return _context2.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
1913
1913
  path: pathAccountMembers(accountId)
1914
1914
  }), {
1915
1915
  method: 'post',
@@ -1948,7 +1948,7 @@ var deleteMember = /*#__PURE__*/function () {
1948
1948
  doesParamExist.default({
1949
1949
  memberId: memberId
1950
1950
  }, opts.hyperMediaEndpoint);
1951
- return _context3.abrupt("return", request(_objectSpread$5({}, opts, {
1951
+ return _context3.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
1952
1952
  path: pathMember(memberId)
1953
1953
  }), {
1954
1954
  method: 'delete'
@@ -1982,7 +1982,7 @@ var discoverMember = /*#__PURE__*/function () {
1982
1982
  opts = {};
1983
1983
  }
1984
1984
 
1985
- return _context4.abrupt("return", request(_objectSpread$5({}, opts, {
1985
+ return _context4.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
1986
1986
  path: PATH__DISCOVER_MEMBERS
1987
1987
  }), {
1988
1988
  method: 'get',
@@ -2021,7 +2021,7 @@ var inviteAnyone = /*#__PURE__*/function () {
2021
2021
  doesParamExist.default({
2022
2022
  businessId: businessId
2023
2023
  }, opts.hyperMediaEndpoint);
2024
- return _context5.abrupt("return", request(_objectSpread$5({}, opts, {
2024
+ return _context5.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2025
2025
  path: pathBusinessMembers(businessId) + "/invites"
2026
2026
  }), {
2027
2027
  method: 'post',
@@ -2059,7 +2059,7 @@ var inviteMember = /*#__PURE__*/function () {
2059
2059
  doesParamExist.default({
2060
2060
  memberId: memberId
2061
2061
  }, opts.hyperMediaEndpoint);
2062
- return _context6.abrupt("return", request(_objectSpread$5({}, opts, {
2062
+ return _context6.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2063
2063
  path: pathMember(memberId) + "/invites"
2064
2064
  }), {
2065
2065
  method: 'post'
@@ -2098,7 +2098,7 @@ var getAccountMembers = /*#__PURE__*/function () {
2098
2098
  opts = {};
2099
2099
  }
2100
2100
 
2101
- return _context7.abrupt("return", request(_objectSpread$5({}, opts, {
2101
+ return _context7.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2102
2102
  path: pathAccountMembers(accountId)
2103
2103
  }), {
2104
2104
  method: 'get',
@@ -2137,7 +2137,7 @@ var getMembersForHealthFund = /*#__PURE__*/function () {
2137
2137
  opts = {};
2138
2138
  }
2139
2139
 
2140
- return _context8.abrupt("return", request(_objectSpread$5({}, opts, {
2140
+ return _context8.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2141
2141
  path: pathMembersForHealthFund(healthFundId)
2142
2142
  }), {
2143
2143
  method: 'get',
@@ -2173,7 +2173,7 @@ var getHealthFundMemberByMemberId = /*#__PURE__*/function () {
2173
2173
  opts = {};
2174
2174
  }
2175
2175
 
2176
- return _context9.abrupt("return", request(_objectSpread$5({}, opts, {
2176
+ return _context9.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2177
2177
  path: pathHealthFundMemberByMemberId(healthFundId, memberId)
2178
2178
  }), {
2179
2179
  method: 'get'
@@ -2215,7 +2215,7 @@ var getBusinessMembers = /*#__PURE__*/function () {
2215
2215
  doesParamExist.default({
2216
2216
  businessId: businessId
2217
2217
  }, opts.hyperMediaEndpoint);
2218
- return _context10.abrupt("return", request(_objectSpread$5({}, opts, {
2218
+ return _context10.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2219
2219
  path: pathBusinessMembers(businessId)
2220
2220
  }), {
2221
2221
  method: 'get',
@@ -2254,7 +2254,7 @@ var getBusinessMember = /*#__PURE__*/function () {
2254
2254
  doesParamExist.default({
2255
2255
  businessId: businessId
2256
2256
  }, opts.hyperMediaEndpoint);
2257
- return _context11.abrupt("return", request(_objectSpread$5({}, opts, {
2257
+ return _context11.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2258
2258
  path: pathBusinessMember(businessId, memberId)
2259
2259
  }), {
2260
2260
  method: 'get'
@@ -2291,7 +2291,7 @@ var getMembers = /*#__PURE__*/function () {
2291
2291
  opts = {};
2292
2292
  }
2293
2293
 
2294
- return _context12.abrupt("return", request(_objectSpread$5({}, opts, {
2294
+ return _context12.abrupt("return", request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2295
2295
  path: PATH__MEMBERS
2296
2296
  }), {
2297
2297
  method: 'get',
@@ -2331,7 +2331,7 @@ var getMember = /*#__PURE__*/function () {
2331
2331
  memberId: memberId
2332
2332
  }, opts.hyperMediaEndpoint);
2333
2333
  _context13.next = 4;
2334
- return request(_objectSpread$5({}, opts, {
2334
+ return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2335
2335
  path: pathMember(memberId)
2336
2336
  }), {
2337
2337
  method: 'get'
@@ -2380,7 +2380,7 @@ var updateMember = /*#__PURE__*/function () {
2380
2380
  memberId: memberId
2381
2381
  }, opts.hyperMediaEndpoint);
2382
2382
  _context14.next = 4;
2383
- return request(_objectSpread$5({}, opts, {
2383
+ return request(_objectSpread$5(_objectSpread$5({}, opts), {}, {
2384
2384
  path: pathMember(memberId)
2385
2385
  }), {
2386
2386
  method: 'put',
@@ -2471,7 +2471,7 @@ var setupAccountResources = /*#__PURE__*/function () {
2471
2471
  case 6:
2472
2472
  member = _context.sent;
2473
2473
  sdkClient.setMember(member);
2474
- return _context.abrupt("return", _objectSpread$6({}, account, {
2474
+ return _context.abrupt("return", _objectSpread$6(_objectSpread$6({}, account), {}, {
2475
2475
  _member: member
2476
2476
  }));
2477
2477
 
@@ -2527,7 +2527,7 @@ var login = /*#__PURE__*/function () {
2527
2527
 
2528
2528
 
2529
2529
  _context2.next = 6;
2530
- return request(_objectSpread$6({}, opts, {
2530
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2531
2531
  path: PATH__AUTH,
2532
2532
  getFullResponse: true
2533
2533
  }), {
@@ -2631,7 +2631,7 @@ var impersonate = /*#__PURE__*/function () {
2631
2631
  doesParamExist.default({
2632
2632
  accountId: accountId
2633
2633
  }, opts.hyperMediaEndpoint);
2634
- return _context4.abrupt("return", request(_objectSpread$6({}, opts, {
2634
+ return _context4.abrupt("return", request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2635
2635
  getFullResponse: true,
2636
2636
  path: pathImpersonateAccount(accountId)
2637
2637
  }), {
@@ -2663,7 +2663,7 @@ var logout = /*#__PURE__*/function () {
2663
2663
  switch (_context5.prev = _context5.next) {
2664
2664
  case 0:
2665
2665
  _context5.next = 2;
2666
- return request(_objectSpread$6({}, opts, {
2666
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2667
2667
  getFullResponse: true,
2668
2668
  path: PATH__AUTH
2669
2669
  }), {
@@ -2706,7 +2706,7 @@ var requestOtk = /*#__PURE__*/function () {
2706
2706
  accountId: accountId
2707
2707
  }, requestBody), _isEmpty);
2708
2708
  _context6.next = 3;
2709
- return request(_objectSpread$6({}, opts, {
2709
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2710
2710
  getFullResponse: true,
2711
2711
  path: PATH__OTK
2712
2712
  }), {
@@ -2751,7 +2751,7 @@ var generateAuthy = /*#__PURE__*/function () {
2751
2751
  accountId: accountId
2752
2752
  }, opts.hyperMediaEndpoint);
2753
2753
  _context7.next = 4;
2754
- return request(_objectSpread$6({}, opts, {
2754
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2755
2755
  path: pathAuthy(accountId),
2756
2756
  getFullResponse: true
2757
2757
  }), {
@@ -2795,7 +2795,7 @@ var removeAuthy = /*#__PURE__*/function () {
2795
2795
  accountId: accountId
2796
2796
  }, opts.hyperMediaEndpoint);
2797
2797
  _context8.next = 4;
2798
- return request(_objectSpread$6({}, opts, {
2798
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2799
2799
  path: pathAuthy(accountId),
2800
2800
  getFullResponse: true
2801
2801
  }), {
@@ -2840,7 +2840,7 @@ var verifyAuthy = /*#__PURE__*/function () {
2840
2840
  accountId: accountId
2841
2841
  }, opts.hyperMediaEndpoint);
2842
2842
  _context9.next = 4;
2843
- return request(_objectSpread$6({}, opts, {
2843
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2844
2844
  path: pathAuthyVerify(accountId),
2845
2845
  getFullResponse: true
2846
2846
  }), {
@@ -2889,7 +2889,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
2889
2889
  }, opts.hyperMediaEndpoint);
2890
2890
  sdkClient.setToken("Bearer " + apiKey);
2891
2891
  _context10.next = 5;
2892
- return request(_objectSpread$6({}, opts, {
2892
+ return request(_objectSpread$6(_objectSpread$6({}, opts), {}, {
2893
2893
  path: PATH__AUTH_TOKEN
2894
2894
  }), {
2895
2895
  method: 'post',
@@ -2946,7 +2946,7 @@ var getSelfApplication = function getSelfApplication(opts) {
2946
2946
  opts = {};
2947
2947
  }
2948
2948
 
2949
- return request(_objectSpread$7({}, opts, {
2949
+ return request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
2950
2950
  path: PATH__SELF_APPLICATION
2951
2951
  }), {
2952
2952
  method: 'get'
@@ -2967,7 +2967,7 @@ var getApplications = function getApplications(query, opts) {
2967
2967
  opts = {};
2968
2968
  }
2969
2969
 
2970
- return request(_objectSpread$7({}, opts, {
2970
+ return request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
2971
2971
  path: PATH__APPLICATIONS
2972
2972
  }), {
2973
2973
  method: 'get',
@@ -2988,7 +2988,7 @@ var getApplication = function getApplication(applicationId, opts) {
2988
2988
  doesParamExist.default({
2989
2989
  applicationId: applicationId
2990
2990
  }, opts.hyperMediaEndpoint);
2991
- return request(_objectSpread$7({}, opts, {
2991
+ return request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
2992
2992
  path: pathApplication(applicationId)
2993
2993
  }), {
2994
2994
  method: 'get'
@@ -3009,7 +3009,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
3009
3009
  doesParamExist.default({
3010
3010
  applicationId: applicationId
3011
3011
  }, opts.hyperMediaEndpoint);
3012
- return request(_objectSpread$7({}, opts, {
3012
+ return request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
3013
3013
  path: pathApplication(applicationId)
3014
3014
  }), {
3015
3015
  method: 'put',
@@ -3027,7 +3027,7 @@ var createApplication = function createApplication(body, opts) {
3027
3027
  opts = {};
3028
3028
  }
3029
3029
 
3030
- return request(_objectSpread$7({}, opts, {
3030
+ return request(_objectSpread$7(_objectSpread$7({}, opts), {}, {
3031
3031
  path: PATH__APPLICATIONS
3032
3032
  }), {
3033
3033
  method: 'post',
@@ -3071,7 +3071,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
3071
3071
  doesParamExist.default({
3072
3072
  businessId: businessId
3073
3073
  });
3074
- return request(_objectSpread$8({}, opts, {
3074
+ return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3075
3075
  path: pathBusinessBulkUploads(businessId)
3076
3076
  }), {
3077
3077
  method: 'post',
@@ -3095,7 +3095,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
3095
3095
  businessId: businessId,
3096
3096
  bulkUploadId: bulkUploadId
3097
3097
  });
3098
- return request(_objectSpread$8({}, opts, {
3098
+ return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3099
3099
  path: pathBusinessBulkUpload(businessId, bulkUploadId)
3100
3100
  }), {
3101
3101
  method: 'get'
@@ -3116,7 +3116,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
3116
3116
  doesParamExist.default({
3117
3117
  businessId: businessId
3118
3118
  });
3119
- return request(_objectSpread$8({}, opts, {
3119
+ return request(_objectSpread$8(_objectSpread$8({}, opts), {}, {
3120
3120
  path: pathBusinessBulkUploadUrl(businessId)
3121
3121
  }), {
3122
3122
  method: 'get',
@@ -3163,7 +3163,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
3163
3163
  doesParamExist.default({
3164
3164
  businessId: businessId
3165
3165
  }, opts.hyperMediaEndpoint);
3166
- return _context.abrupt("return", request(_objectSpread$9({}, opts, {
3166
+ return _context.abrupt("return", request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3167
3167
  path: pathSubmitDraftInvoices(businessId)
3168
3168
  }), {
3169
3169
  method: 'post',
@@ -3203,7 +3203,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
3203
3203
  businessId: businessId,
3204
3204
  bulkSubmitId: bulkSubmitId
3205
3205
  }, opts.hyperMediaEndpoint);
3206
- return _context2.abrupt("return", request(_objectSpread$9({}, opts, {
3206
+ return _context2.abrupt("return", request(_objectSpread$9(_objectSpread$9({}, opts), {}, {
3207
3207
  path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
3208
3208
  }), {
3209
3209
  method: 'get',
@@ -3251,7 +3251,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
3251
3251
  doesParamExist.default({
3252
3252
  organisationId: organisationId
3253
3253
  }, opts.hyperMediaEndpoint);
3254
- return request(_objectSpread$a({}, opts, {
3254
+ return request(_objectSpread$a(_objectSpread$a({}, opts), {}, {
3255
3255
  path: pathOrganisationBusinessProfiles(organisationId)
3256
3256
  }), {
3257
3257
  method: 'get',
@@ -3270,7 +3270,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
3270
3270
  var body = {
3271
3271
  businessId: businessId
3272
3272
  };
3273
- return request(_objectSpread$a({}, opts, {
3273
+ return request(_objectSpread$a(_objectSpread$a({}, opts), {}, {
3274
3274
  path: pathLinkBusinessProfile(businessProfileId)
3275
3275
  }), {
3276
3276
  method: 'put',
@@ -3285,7 +3285,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
3285
3285
  doesParamExist.default({
3286
3286
  businessProfileId: businessProfileId
3287
3287
  }, opts.hyperMediaEndpoint);
3288
- return request(_objectSpread$a({}, opts, {
3288
+ return request(_objectSpread$a(_objectSpread$a({}, opts), {}, {
3289
3289
  path: pathUnlinkBusinessProfile(businessProfileId)
3290
3290
  }), {
3291
3291
  method: 'put'
@@ -3376,7 +3376,7 @@ var createBusiness = function createBusiness(body, opts) {
3376
3376
  opts = {};
3377
3377
  }
3378
3378
 
3379
- return request(_objectSpread$b({}, opts, {
3379
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3380
3380
  path: PATH__BUSINESSES
3381
3381
  }), {
3382
3382
  method: 'post',
@@ -3398,7 +3398,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
3398
3398
  doesParamExist.default({
3399
3399
  organisationId: organisationId
3400
3400
  }, opts.hyperMediaEndpoint);
3401
- return request(_objectSpread$b({}, opts, {
3401
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3402
3402
  path: pathOrganisationBusiness(organisationId)
3403
3403
  }), {
3404
3404
  method: 'post',
@@ -3419,7 +3419,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
3419
3419
  doesParamExist.default({
3420
3420
  businessId: businessId
3421
3421
  }, opts.hyperMediaEndpoint);
3422
- return request(_objectSpread$b({}, opts, {
3422
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3423
3423
  path: pathBusiness(businessId)
3424
3424
  }), {
3425
3425
  method: 'delete'
@@ -3440,7 +3440,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
3440
3440
  doesParamExist.default({
3441
3441
  businessId: businessId
3442
3442
  }, opts.hyperMediaEndpoint);
3443
- return request(_objectSpread$b({}, opts, {
3443
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3444
3444
  path: pathDisableBusiness(businessId)
3445
3445
  }), {
3446
3446
  method: 'post',
@@ -3462,7 +3462,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
3462
3462
  doesParamExist.default({
3463
3463
  businessId: businessId
3464
3464
  }, opts.hyperMediaEndpoint);
3465
- return request(_objectSpread$b({}, opts, {
3465
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3466
3466
  path: pathBusinessOnboardingQuestions(businessId)
3467
3467
  }), {
3468
3468
  method: 'post',
@@ -3484,7 +3484,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
3484
3484
  doesParamExist.default({
3485
3485
  businessId: businessId
3486
3486
  }, opts.hyperMediaEndpoint);
3487
- return request(_objectSpread$b({}, opts, {
3487
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3488
3488
  path: pathEnableBusiness(businessId)
3489
3489
  }), {
3490
3490
  method: 'post',
@@ -3510,7 +3510,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
3510
3510
  doesParamExist.default({
3511
3511
  businessId: businessId
3512
3512
  }, opts.hyperMediaEndpoint);
3513
- return request(_objectSpread$b({}, opts, {
3513
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3514
3514
  path: pathBusiness(businessId)
3515
3515
  }), {
3516
3516
  method: 'get',
@@ -3532,7 +3532,7 @@ var getBusinesses = function getBusinesses(query, opts) {
3532
3532
  opts = {};
3533
3533
  }
3534
3534
 
3535
- return request(_objectSpread$b({}, opts, {
3535
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3536
3536
  path: PATH__BUSINESSES
3537
3537
  }), {
3538
3538
  method: 'get',
@@ -3554,7 +3554,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
3554
3554
  opts = {};
3555
3555
  }
3556
3556
 
3557
- return request(_objectSpread$b({}, opts, {
3557
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3558
3558
  path: PATH__MY_BUSINESSES
3559
3559
  }), {
3560
3560
  method: 'get',
@@ -3576,7 +3576,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
3576
3576
  doesParamExist.default({
3577
3577
  businessId: businessId
3578
3578
  }, opts.hyperMediaEndpoint);
3579
- return request(_objectSpread$b({}, opts, {
3579
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3580
3580
  path: pathBusiness(businessId) + "/pdfs"
3581
3581
  }), {
3582
3582
  method: 'post',
@@ -3603,7 +3603,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
3603
3603
  doesParamExist.default({
3604
3604
  accountId: accountId
3605
3605
  }, opts.hyperMediaEndpoint);
3606
- return request(_objectSpread$b({}, opts, {
3606
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3607
3607
  path: pathAccountsBusinesses(accountId)
3608
3608
  }), {
3609
3609
  method: 'get',
@@ -3629,7 +3629,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
3629
3629
  doesParamExist.default({
3630
3630
  organisationId: organisationId
3631
3631
  }, opts.hyperMediaEndpoint);
3632
- return request(_objectSpread$b({}, opts, {
3632
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3633
3633
  path: pathOrganisationBusiness(organisationId)
3634
3634
  }), {
3635
3635
  method: 'get',
@@ -3651,7 +3651,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
3651
3651
  doesParamExist.default({
3652
3652
  businessId: businessId
3653
3653
  }, opts.hyperMediaEndpoint);
3654
- return request(_objectSpread$b({}, opts, {
3654
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3655
3655
  path: pathBusiness(businessId)
3656
3656
  }), {
3657
3657
  method: 'put',
@@ -3673,7 +3673,7 @@ var verifyMedicare = function verifyMedicare(businessId, body, opts) {
3673
3673
  doesParamExist.default({
3674
3674
  businessId: businessId
3675
3675
  }, opts.hyperMediaEndpoint);
3676
- return request(_objectSpread$b({}, opts, {
3676
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3677
3677
  path: pathVerifyMedicare(businessId)
3678
3678
  }), {
3679
3679
  method: 'post',
@@ -3695,7 +3695,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
3695
3695
  doesParamExist.default({
3696
3696
  businessId: businessId
3697
3697
  }, opts.hyperMediaEndpoint);
3698
- return request(_objectSpread$b({}, opts, {
3698
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3699
3699
  path: oldPathVerifyDVA(businessId)
3700
3700
  }), {
3701
3701
  method: 'post',
@@ -3717,7 +3717,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
3717
3717
  doesParamExist.default({
3718
3718
  businessId: businessId
3719
3719
  }, opts.hyperMediaEndpoint);
3720
- return request(_objectSpread$b({}, opts, {
3720
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3721
3721
  path: pathVerifyDVA(businessId)
3722
3722
  }), {
3723
3723
  method: 'post',
@@ -3739,7 +3739,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
3739
3739
  doesParamExist.default({
3740
3740
  businessId: businessId
3741
3741
  }, opts.hyperMediaEndpoint);
3742
- return request(_objectSpread$b({}, opts, {
3742
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3743
3743
  path: pathVerifyIcare(businessId)
3744
3744
  }), {
3745
3745
  method: 'post',
@@ -3765,7 +3765,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
3765
3765
  staffId: staffId,
3766
3766
  providerSetItemId: providerSetItemId
3767
3767
  }, opts.hyperMediaEndpoint);
3768
- return request(_objectSpread$b({}, opts, {
3768
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3769
3769
  path: pathVerifyComcare(businessId, staffId, providerSetItemId)
3770
3770
  }), {
3771
3771
  method: 'post',
@@ -3787,7 +3787,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
3787
3787
  doesParamExist.default({
3788
3788
  businessId: businessId
3789
3789
  }, opts.hyperMediaEndpoint);
3790
- return request(_objectSpread$b({}, opts, {
3790
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3791
3791
  path: pathCreateSupportNote(businessId)
3792
3792
  }), {
3793
3793
  method: 'post',
@@ -3809,7 +3809,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
3809
3809
  doesParamExist.default({
3810
3810
  businessId: businessId
3811
3811
  }, opts.hyperMediaEndpoint);
3812
- return request(_objectSpread$b({}, opts, {
3812
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3813
3813
  path: pathBsbDetails(businessId)
3814
3814
  }), {
3815
3815
  method: 'get',
@@ -3831,7 +3831,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
3831
3831
  doesParamExist.default({
3832
3832
  businessId: businessId
3833
3833
  }, opts.hyperMediaEndpoint);
3834
- return request(_objectSpread$b({}, opts, {
3834
+ return request(_objectSpread$b(_objectSpread$b({}, opts), {}, {
3835
3835
  path: pathBusinessSendEmails(businessId)
3836
3836
  }), {
3837
3837
  method: 'post',
@@ -3908,7 +3908,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
3908
3908
  doesParamExist.default({
3909
3909
  businessId: businessId
3910
3910
  }, opts.hyperMediaEndpoint);
3911
- return _context.abrupt("return", request(_objectSpread$c({}, opts, {
3911
+ return _context.abrupt("return", request(_objectSpread$c(_objectSpread$c({}, opts), {}, {
3912
3912
  path: pathBusinessClaimItems(businessId)
3913
3913
  }), {
3914
3914
  method: 'get',
@@ -3953,7 +3953,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
3953
3953
  businessId: businessId,
3954
3954
  claimItemId: claimItemId
3955
3955
  }, opts.hyperMediaEndpoint);
3956
- return _context2.abrupt("return", request(_objectSpread$c({}, opts, {
3956
+ return _context2.abrupt("return", request(_objectSpread$c(_objectSpread$c({}, opts), {}, {
3957
3957
  path: pathBusinessClaimItem(businessId, claimItemId)
3958
3958
  }), {
3959
3959
  method: 'get',
@@ -3996,7 +3996,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
3996
3996
  doesParamExist.default({
3997
3997
  healthFundId: healthFundId
3998
3998
  }, opts.hyperMediaEndpoint);
3999
- return _context3.abrupt("return", request(_objectSpread$c({}, opts, {
3999
+ return _context3.abrupt("return", request(_objectSpread$c(_objectSpread$c({}, opts), {}, {
4000
4000
  path: pathHealthFundClaimItems(healthFundId)
4001
4001
  }), {
4002
4002
  method: 'get',
@@ -4041,7 +4041,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
4041
4041
  healthFundId: healthFundId,
4042
4042
  claimItemId: claimItemId
4043
4043
  }, opts.hyperMediaEndpoint);
4044
- return _context4.abrupt("return", request(_objectSpread$c({}, opts, {
4044
+ return _context4.abrupt("return", request(_objectSpread$c(_objectSpread$c({}, opts), {}, {
4045
4045
  path: pathHealthFundClaimItem(healthFundId, claimItemId)
4046
4046
  }), {
4047
4047
  method: 'get',
@@ -4106,7 +4106,7 @@ var registerDevice = /*#__PURE__*/function () {
4106
4106
  }
4107
4107
  };
4108
4108
  _context.next = 6;
4109
- return request(_objectSpread$d({}, opts, {
4109
+ return request(_objectSpread$d(_objectSpread$d({}, opts), {}, {
4110
4110
  path: PATH__DEVICES
4111
4111
  }), {
4112
4112
  method: 'post',
@@ -4235,7 +4235,7 @@ var getDocAccounts = /*#__PURE__*/function () {
4235
4235
  opts = {};
4236
4236
  }
4237
4237
 
4238
- return _context.abrupt("return", request(_objectSpread$e({}, opts, {
4238
+ return _context.abrupt("return", request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4239
4239
  path: PATH__DOC_ACCOUNTS
4240
4240
  }), {
4241
4241
  method: 'get',
@@ -4273,7 +4273,7 @@ var getDocAccount = /*#__PURE__*/function () {
4273
4273
  doesParamExist.default({
4274
4274
  partnerId: partnerId
4275
4275
  }, opts.hyperMediaEndpoint);
4276
- return _context2.abrupt("return", request(_objectSpread$e({}, opts, {
4276
+ return _context2.abrupt("return", request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4277
4277
  path: pathDocAccount(partnerId)
4278
4278
  }), {
4279
4279
  method: 'get'
@@ -4307,7 +4307,7 @@ var createDocAccount = /*#__PURE__*/function () {
4307
4307
  opts = {};
4308
4308
  }
4309
4309
 
4310
- return _context3.abrupt("return", request(_objectSpread$e({}, opts, {
4310
+ return _context3.abrupt("return", request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4311
4311
  path: PATH__DOC_ACCOUNTS
4312
4312
  }), {
4313
4313
  method: 'post',
@@ -4346,7 +4346,7 @@ var updateDocAccount = /*#__PURE__*/function () {
4346
4346
  doesParamExist.default({
4347
4347
  docAccountId: docAccountId
4348
4348
  }, opts.hyperMediaEndpoint);
4349
- return _context4.abrupt("return", request(_objectSpread$e({}, opts, {
4349
+ return _context4.abrupt("return", request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4350
4350
  path: pathDocAccount(docAccountId)
4351
4351
  }), {
4352
4352
  method: 'put',
@@ -4384,7 +4384,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
4384
4384
  doesParamExist.default({
4385
4385
  docAccountId: docAccountId
4386
4386
  }, opts.hyperMediaEndpoint);
4387
- return _context5.abrupt("return", request(_objectSpread$e({}, opts, {
4387
+ return _context5.abrupt("return", request(_objectSpread$e(_objectSpread$e({}, opts), {}, {
4388
4388
  path: pathDocAccount(docAccountId)
4389
4389
  }), {
4390
4390
  method: 'delete'
@@ -4464,7 +4464,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
4464
4464
  healthFundId: healthFundId,
4465
4465
  documentId: documentId
4466
4466
  }, opts.hyperMediaEndpoint);
4467
- return request(_objectSpread$f({}, opts, {
4467
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4468
4468
  path: pathHealthFundDocumentApprove(healthFundId, documentId)
4469
4469
  }), {
4470
4470
  method: 'post'
@@ -4486,7 +4486,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
4486
4486
  healthFundId: healthFundId,
4487
4487
  documentId: documentId
4488
4488
  }, opts.hyperMediaEndpoint);
4489
- return request(_objectSpread$f({}, opts, {
4489
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4490
4490
  path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
4491
4491
  }), {
4492
4492
  method: 'put'
@@ -4508,7 +4508,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
4508
4508
  businessId: businessId,
4509
4509
  documentId: documentId
4510
4510
  }, opts.hyperMediaEndpoint);
4511
- return request(_objectSpread$f({}, opts, {
4511
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4512
4512
  path: pathBusinessDocumentCancel(businessId, documentId)
4513
4513
  }), {
4514
4514
  method: 'post'
@@ -4530,7 +4530,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
4530
4530
  healthFundId: healthFundId,
4531
4531
  documentId: documentId
4532
4532
  }, opts.hyperMediaEndpoint);
4533
- return request(_objectSpread$f({}, opts, {
4533
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4534
4534
  path: pathHealthFundDocumentDecline(healthFundId, documentId)
4535
4535
  }), {
4536
4536
  method: 'post',
@@ -4553,7 +4553,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
4553
4553
  healthFundId: healthFundId,
4554
4554
  documentId: documentId
4555
4555
  }, opts.hyperMediaEndpoint);
4556
- return request(_objectSpread$f({}, opts, {
4556
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4557
4557
  path: pathHealthFundDocumentCease(healthFundId, documentId)
4558
4558
  }), {
4559
4559
  method: 'post',
@@ -4578,7 +4578,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
4578
4578
  documentId: documentId,
4579
4579
  tagId: tagId
4580
4580
  }, opts.hyperMediaEndpoint);
4581
- return request(_objectSpread$f({}, opts, {
4581
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4582
4582
  path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
4583
4583
  }), {
4584
4584
  method: 'delete'
@@ -4599,7 +4599,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
4599
4599
  doesParamExist.default({
4600
4600
  businessId: businessId
4601
4601
  }, opts.hyperMediaEndpoint);
4602
- return request(_objectSpread$f({}, opts, {
4602
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4603
4603
  path: pathBusinessDocuments(businessId)
4604
4604
  }), {
4605
4605
  method: 'get',
@@ -4621,7 +4621,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
4621
4621
  doesParamExist.default({
4622
4622
  businessId: businessId
4623
4623
  }, opts.hyperMediaEndpoint);
4624
- return request(_objectSpread$f({}, opts, {
4624
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4625
4625
  path: pathBusinessDocument(businessId, documentId)
4626
4626
  }), {
4627
4627
  method: 'get'
@@ -4642,7 +4642,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
4642
4642
  doesParamExist.default({
4643
4643
  healthFundId: healthFundId
4644
4644
  }, opts.hyperMediaEndpoint);
4645
- return request(_objectSpread$f({}, opts, {
4645
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4646
4646
  path: pathHealthFundDocuments(healthFundId)
4647
4647
  }), {
4648
4648
  method: 'get',
@@ -4665,7 +4665,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
4665
4665
  healthFundId: healthFundId,
4666
4666
  documentId: documentId
4667
4667
  }, opts.hyperMediaEndpoint);
4668
- return request(_objectSpread$f({}, opts, {
4668
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4669
4669
  path: pathHealthFundDocument(healthFundId, documentId)
4670
4670
  }), {
4671
4671
  method: 'get'
@@ -4687,7 +4687,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
4687
4687
  healthFundId: healthFundId,
4688
4688
  documentId: documentId
4689
4689
  }, opts.hyperMediaEndpoint);
4690
- return request(_objectSpread$f({}, opts, {
4690
+ return request(_objectSpread$f(_objectSpread$f({}, opts), {}, {
4691
4691
  path: pathHealthFundDocumentPark(healthFundId, documentId)
4692
4692
  }), {
4693
4693
  method: 'post',
@@ -4755,7 +4755,7 @@ var getHealthFundEmailSections = function getHealthFundEmailSections(healthFundI
4755
4755
  healthFundId: healthFundId,
4756
4756
  emailTemplateId: emailTemplateId
4757
4757
  }, opts.hyperMediaEndpoint);
4758
- return request(_objectSpread$g({}, opts, {
4758
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4759
4759
  path: healthFundEmailSections(healthFundId, emailTemplateId)
4760
4760
  }), {
4761
4761
  method: 'get',
@@ -4774,7 +4774,7 @@ var getHealthFundEmailTemplates = function getHealthFundEmailTemplates(healthFun
4774
4774
  doesParamExist.default({
4775
4775
  healthFundId: healthFundId
4776
4776
  }, opts.hyperMediaEndpoint);
4777
- return request(_objectSpread$g({}, opts, {
4777
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4778
4778
  path: healthFundEmailTemplates(healthFundId)
4779
4779
  }), {
4780
4780
  method: 'get',
@@ -4790,7 +4790,7 @@ var generateEmailTemplate = function generateEmailTemplate(healthFundId, transac
4790
4790
  healthFundId: healthFundId,
4791
4791
  transactionId: transactionId
4792
4792
  }, opts.hyperMediaEndpoint);
4793
- return request(_objectSpread$g({}, opts, {
4793
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4794
4794
  path: healthFundTransactionEmail(healthFundId, transactionId)
4795
4795
  }), {
4796
4796
  method: 'post',
@@ -4806,7 +4806,7 @@ var generateDocumentEmailTemplate = function generateDocumentEmailTemplate(healt
4806
4806
  healthFundId: healthFundId,
4807
4807
  documentId: documentId
4808
4808
  }, opts.hyperMediaEndpoint);
4809
- return request(_objectSpread$g({}, opts, {
4809
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4810
4810
  path: healthFundDocumentEmail(healthFundId, documentId)
4811
4811
  }), {
4812
4812
  method: 'post',
@@ -4821,7 +4821,7 @@ var createEmailPackage = function createEmailPackage(transactionId, body, opts)
4821
4821
  doesParamExist.default({
4822
4822
  transactionId: transactionId
4823
4823
  }, opts.hyperMediaEndpoint);
4824
- return request(_objectSpread$g({}, opts, {
4824
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4825
4825
  path: transactionEmailPackages(transactionId)
4826
4826
  }), {
4827
4827
  method: 'post',
@@ -4837,7 +4837,7 @@ var updateEmailPackage = function updateEmailPackage(transactionId, emailPackage
4837
4837
  transactionId: transactionId,
4838
4838
  emailPackageId: emailPackageId
4839
4839
  }, opts.hyperMediaEndpoint);
4840
- return request(_objectSpread$g({}, opts, {
4840
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4841
4841
  path: transactionEmailPackage(transactionId, emailPackageId)
4842
4842
  }), {
4843
4843
  method: 'put',
@@ -4853,7 +4853,7 @@ var sendEmailPackage = function sendEmailPackage(transactionId, emailPackageId,
4853
4853
  transactionId: transactionId,
4854
4854
  emailPackageId: emailPackageId
4855
4855
  }, opts.hyperMediaEndpoint);
4856
- return request(_objectSpread$g({}, opts, {
4856
+ return request(_objectSpread$g(_objectSpread$g({}, opts), {}, {
4857
4857
  path: transactionEmailPackage(transactionId, emailPackageId) + "/send"
4858
4858
  }), {
4859
4859
  method: 'post',
@@ -4906,7 +4906,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
4906
4906
  formId: formId,
4907
4907
  formApplicationTemplateId: formApplicationTemplateId
4908
4908
  }, opts.hyperMediaEndpoint);
4909
- return request(_objectSpread$h({}, opts, {
4909
+ return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
4910
4910
  path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
4911
4911
  }), {
4912
4912
  method: 'get'
@@ -4929,7 +4929,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
4929
4929
  healthFundId: healthFundId,
4930
4930
  formApplicationTemplateId: formApplicationTemplateId
4931
4931
  }, opts.hyperMediaEndpoint);
4932
- return request(_objectSpread$h({}, opts, {
4932
+ return request(_objectSpread$h(_objectSpread$h({}, opts), {}, {
4933
4933
  path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
4934
4934
  }), {
4935
4935
  method: 'get'
@@ -4973,7 +4973,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
4973
4973
  businessId: businessId,
4974
4974
  formApplicationId: formApplicationId
4975
4975
  }, opts.hyperMediaEndpoint);
4976
- return request(_objectSpread$i({}, opts, {
4976
+ return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
4977
4977
  path: pathBusinessFormApplication(businessId, formApplicationId)
4978
4978
  }), {
4979
4979
  method: 'get'
@@ -4996,7 +4996,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
4996
4996
  healthFundId: healthFundId,
4997
4997
  formApplicationId: formApplicationId
4998
4998
  }, opts.hyperMediaEndpoint);
4999
- return request(_objectSpread$i({}, opts, {
4999
+ return request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5000
5000
  path: pathHealthFundFormApplication(healthFundId, formApplicationId)
5001
5001
  }), {
5002
5002
  method: 'get'
@@ -5023,7 +5023,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
5023
5023
  healthFundId: healthFundId,
5024
5024
  formApplicationId: formApplicationId
5025
5025
  }, opts.hyperMediaEndpoint);
5026
- return _context.abrupt("return", request(_objectSpread$i({}, opts, {
5026
+ return _context.abrupt("return", request(_objectSpread$i(_objectSpread$i({}, opts), {}, {
5027
5027
  path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
5028
5028
  }), {
5029
5029
  method: 'put',
@@ -5100,7 +5100,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
5100
5100
  businessId: businessId,
5101
5101
  formId: formId
5102
5102
  }, opts.hyperMediaEndpoint);
5103
- return request(_objectSpread$j({}, opts, {
5103
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5104
5104
  path: pathBusinessFormApplications(businessId, formId)
5105
5105
  }), {
5106
5106
  method: 'post',
@@ -5122,7 +5122,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
5122
5122
  doesParamExist.default({
5123
5123
  healthFundId: healthFundId
5124
5124
  }, opts.hyperMediaEndpoint);
5125
- return request(_objectSpread$j({}, opts, {
5125
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5126
5126
  path: pathHealthFundForms(healthFundId)
5127
5127
  }), {
5128
5128
  method: 'post',
@@ -5145,7 +5145,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
5145
5145
  healthFundId: healthFundId,
5146
5146
  formId: formId
5147
5147
  }, opts.hyperMediaEndpoint);
5148
- return request(_objectSpread$j({}, opts, {
5148
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5149
5149
  path: pathHealthFundForm(healthFundId, formId)
5150
5150
  }), {
5151
5151
  method: 'delete'
@@ -5168,7 +5168,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
5168
5168
  businessId: businessId,
5169
5169
  formId: formId
5170
5170
  }, opts.hyperMediaEndpoint);
5171
- return request(_objectSpread$j({}, opts, {
5171
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5172
5172
  path: pathBusinessForm(businessId, formId)
5173
5173
  }), {
5174
5174
  method: 'get'
@@ -5193,7 +5193,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
5193
5193
  doesParamExist.default({
5194
5194
  healthFundId: healthFundId
5195
5195
  }, opts.hyperMediaEndpoint);
5196
- return request(_objectSpread$j({}, opts, {
5196
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5197
5197
  path: pathHealthFundForms(healthFundId)
5198
5198
  }), {
5199
5199
  method: 'get',
@@ -5216,7 +5216,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
5216
5216
  healthFundId: healthFundId,
5217
5217
  formId: formId
5218
5218
  }, opts.hyperMediaEndpoint);
5219
- return request(_objectSpread$j({}, opts, {
5219
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5220
5220
  path: pathHealthFundForm(healthFundId, formId)
5221
5221
  }), {
5222
5222
  method: 'get'
@@ -5241,7 +5241,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
5241
5241
  contentType: contentType,
5242
5242
  fileName: fileName
5243
5243
  }, opts.hyperMediaEndpoint);
5244
- return request(_objectSpread$j({}, opts, {
5244
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5245
5245
  path: pathHealthFundFormUploadUrl(healthFundId)
5246
5246
  }), {
5247
5247
  method: 'get',
@@ -5264,7 +5264,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
5264
5264
  healthFundId: healthFundId,
5265
5265
  formId: formId
5266
5266
  }, opts.hyperMediaEndpoint);
5267
- return request(_objectSpread$j({}, opts, {
5267
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5268
5268
  path: pathHealthFundFormPublish(healthFundId, formId)
5269
5269
  }), {
5270
5270
  method: 'post'
@@ -5287,7 +5287,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
5287
5287
  healthFundId: healthFundId,
5288
5288
  formId: formId
5289
5289
  }, opts.hyperMediaEndpoint);
5290
- return request(_objectSpread$j({}, opts, {
5290
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5291
5291
  path: pathHealthFundForm(healthFundId, formId)
5292
5292
  }), {
5293
5293
  method: 'put',
@@ -5310,7 +5310,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
5310
5310
  healthFundId: healthFundId,
5311
5311
  formId: formId
5312
5312
  }, opts.hyperMediaEndpoint);
5313
- return request(_objectSpread$j({}, opts, {
5313
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5314
5314
  path: pathHealthFundFormUnpublish(healthFundId, formId)
5315
5315
  }), {
5316
5316
  method: 'post'
@@ -5334,7 +5334,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
5334
5334
  practiceId: practiceId,
5335
5335
  formId: formId
5336
5336
  }, opts.hyperMediaEndpoint);
5337
- return request(_objectSpread$j({}, opts, {
5337
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5338
5338
  path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
5339
5339
  }), {
5340
5340
  method: 'get'
@@ -5359,7 +5359,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
5359
5359
  practiceId: practiceId,
5360
5360
  formId: formId
5361
5361
  }, opts.hyperMediaEndpoint);
5362
- return request(_objectSpread$j({}, opts, {
5362
+ return request(_objectSpread$j(_objectSpread$j({}, opts), {}, {
5363
5363
  path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
5364
5364
  }), {
5365
5365
  method: 'get',
@@ -5404,7 +5404,7 @@ var getFunders = function getFunders(opts) {
5404
5404
  opts = {};
5405
5405
  }
5406
5406
 
5407
- return request(_objectSpread$k({}, opts, {
5407
+ return request(_objectSpread$k(_objectSpread$k({}, opts), {}, {
5408
5408
  path: PATH__FUNDERS
5409
5409
  }), {
5410
5410
  method: 'get'
@@ -5415,7 +5415,7 @@ var getFunder = function getFunder(funderId, opts) {
5415
5415
  opts = {};
5416
5416
  }
5417
5417
 
5418
- return request(_objectSpread$k({}, opts, {
5418
+ return request(_objectSpread$k(_objectSpread$k({}, opts), {}, {
5419
5419
  path: pathFunder(funderId)
5420
5420
  }), {
5421
5421
  method: 'get'
@@ -5450,7 +5450,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
5450
5450
  doesParamExist.default({
5451
5451
  body: body
5452
5452
  }, opts.hyperMediaEndpoint);
5453
- return request(_objectSpread$l({}, opts, {
5453
+ return request(_objectSpread$l(_objectSpread$l({}, opts), {}, {
5454
5454
  path: pathVerifyEclipse()
5455
5455
  }), {
5456
5456
  method: 'post',
@@ -5485,7 +5485,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
5485
5485
  doesParamExist.default({
5486
5486
  businessId: businessId
5487
5487
  }, opts.hyperMediaEndpoint);
5488
- return request(_objectSpread$m({}, opts, {
5488
+ return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5489
5489
  path: pathFunderSettings(businessId)
5490
5490
  }), {
5491
5491
  method: 'get',
@@ -5501,7 +5501,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
5501
5501
  businessId: businessId,
5502
5502
  funderSettingsId: funderSettingsId
5503
5503
  }, opts.hyperMediaEndpoint);
5504
- return request(_objectSpread$m({}, opts, {
5504
+ return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5505
5505
  path: pathFunderSettingsById(businessId, funderSettingsId)
5506
5506
  }), {
5507
5507
  method: 'get'
@@ -5516,7 +5516,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
5516
5516
  businessId: businessId,
5517
5517
  funderSettingsId: funderSettingsId
5518
5518
  }, opts.hyperMediaEndpoint);
5519
- return request(_objectSpread$m({}, opts, {
5519
+ return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5520
5520
  path: pathFunderSettingsById(businessId, funderSettingsId)
5521
5521
  }), {
5522
5522
  method: 'put',
@@ -5531,7 +5531,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
5531
5531
  doesParamExist.default({
5532
5532
  businessId: businessId
5533
5533
  }, opts.hyperMediaEndpoint);
5534
- return request(_objectSpread$m({}, opts, {
5534
+ return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5535
5535
  path: pathFunderSettings(businessId)
5536
5536
  }), {
5537
5537
  method: 'post',
@@ -5547,7 +5547,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
5547
5547
  businessId: businessId,
5548
5548
  funderSettingsId: funderSettingsId
5549
5549
  }, opts.hyperMediaEndpoint);
5550
- return request(_objectSpread$m({}, opts, {
5550
+ return request(_objectSpread$m(_objectSpread$m({}, opts), {}, {
5551
5551
  path: pathFunderSettingsById(businessId, funderSettingsId)
5552
5552
  }), {
5553
5553
  method: 'delete'
@@ -5587,7 +5587,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
5587
5587
  doesParamExist.default({
5588
5588
  businessId: businessId
5589
5589
  }, opts.hyperMediaEndpoint);
5590
- return _context.abrupt("return", request(_objectSpread$n({}, opts, {
5590
+ return _context.abrupt("return", request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
5591
5591
  path: pathFunderValues(businessId)
5592
5592
  }), {
5593
5593
  method: 'get',
@@ -5615,7 +5615,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
5615
5615
  businessId: businessId,
5616
5616
  funderValueId: funderValueId
5617
5617
  }, opts.hyperMediaEndpoint);
5618
- return request(_objectSpread$n({}, opts, {
5618
+ return request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
5619
5619
  path: pathFunderValuesById(businessId, funderValueId)
5620
5620
  }), {
5621
5621
  method: 'get'
@@ -5629,7 +5629,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
5629
5629
  doesParamExist.default({
5630
5630
  businessId: businessId
5631
5631
  }, opts.hyperMediaEndpoint);
5632
- return request(_objectSpread$n({}, opts, {
5632
+ return request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
5633
5633
  path: pathFunderValues(businessId)
5634
5634
  }), {
5635
5635
  method: 'post',
@@ -5645,7 +5645,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
5645
5645
  businessId: businessId,
5646
5646
  funderValueId: funderValueId
5647
5647
  }, opts.hyperMediaEndpoint);
5648
- return request(_objectSpread$n({}, opts, {
5648
+ return request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
5649
5649
  path: pathFunderValuesById(businessId, funderValueId)
5650
5650
  }), {
5651
5651
  method: 'put',
@@ -5661,7 +5661,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
5661
5661
  businessId: businessId,
5662
5662
  funderValueId: funderValueId
5663
5663
  }, opts.hyperMediaEndpoint);
5664
- return request(_objectSpread$n({}, opts, {
5664
+ return request(_objectSpread$n(_objectSpread$n({}, opts), {}, {
5665
5665
  path: pathFunderValuesById(businessId, funderValueId)
5666
5666
  }), {
5667
5667
  method: 'delete'
@@ -5727,7 +5727,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
5727
5727
  doesParamExist.default({
5728
5728
  businessId: businessId
5729
5729
  }, opts.hyperMediaEndpoint);
5730
- return request(_objectSpread$o({}, opts, {
5730
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5731
5731
  path: pathBusinessHolds(businessId)
5732
5732
  }), {
5733
5733
  method: 'post',
@@ -5749,7 +5749,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
5749
5749
  doesParamExist.default({
5750
5750
  businessId: businessId
5751
5751
  }, opts.hyperMediaEndpoint);
5752
- return request(_objectSpread$o({}, opts, {
5752
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5753
5753
  path: pathBusinessInstalmentPlans(businessId)
5754
5754
  }), {
5755
5755
  method: 'post',
@@ -5770,7 +5770,7 @@ var cancel = function cancel(futureId, opts) {
5770
5770
  doesParamExist.default({
5771
5771
  futureId: futureId
5772
5772
  }, opts.hyperMediaEndpoint);
5773
- return request(_objectSpread$o({}, opts, {
5773
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5774
5774
  path: pathCancels(futureId)
5775
5775
  }), {
5776
5776
  method: 'post'
@@ -5791,7 +5791,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
5791
5791
  doesParamExist.default({
5792
5792
  businessId: businessId
5793
5793
  }, opts.hyperMediaEndpoint);
5794
- return request(_objectSpread$o({}, opts, {
5794
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5795
5795
  path: pathBusinessFutures(businessId)
5796
5796
  }), {
5797
5797
  method: 'get',
@@ -5814,7 +5814,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
5814
5814
  businessId: businessId,
5815
5815
  futureId: futureId
5816
5816
  }, opts.hyperMediaEndpoint);
5817
- return request(_objectSpread$o({}, opts, {
5817
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5818
5818
  path: pathBusinessFuture(businessId, futureId)
5819
5819
  }), {
5820
5820
  method: 'get'
@@ -5834,7 +5834,7 @@ var getFuture = function getFuture(futureId, opts) {
5834
5834
  doesParamExist.default({
5835
5835
  futureId: futureId
5836
5836
  }, opts.hyperMediaEndpoint);
5837
- return request(_objectSpread$o({}, opts, {
5837
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5838
5838
  path: pathFuture(futureId)
5839
5839
  }), {
5840
5840
  method: 'get'
@@ -5859,7 +5859,7 @@ var getPaymentLink = /*#__PURE__*/function () {
5859
5859
  doesParamExist.default({
5860
5860
  futureId: futureId
5861
5861
  }, opts.hyperMediaEndpoint);
5862
- return _context.abrupt("return", request(_objectSpread$o({}, opts, {
5862
+ return _context.abrupt("return", request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5863
5863
  path: pathPaymentLink(futureId)
5864
5864
  }), {
5865
5865
  method: 'get'
@@ -5892,7 +5892,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
5892
5892
  doesParamExist.default({
5893
5893
  futureId: futureId
5894
5894
  }, opts.hyperMediaEndpoint);
5895
- return request(_objectSpread$o({}, opts, {
5895
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5896
5896
  path: pathProcessingRequests(futureId)
5897
5897
  }), {
5898
5898
  method: 'post',
@@ -5914,7 +5914,7 @@ var submit = function submit(futureId, body, opts) {
5914
5914
  doesParamExist.default({
5915
5915
  futureId: futureId
5916
5916
  }, opts.hyperMediaEndpoint);
5917
- return request(_objectSpread$o({}, opts, {
5917
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5918
5918
  path: pathSubmits(futureId)
5919
5919
  }), {
5920
5920
  method: 'post',
@@ -5936,7 +5936,7 @@ var update = function update(futureId, body, opts) {
5936
5936
  doesParamExist.default({
5937
5937
  futureId: futureId
5938
5938
  }, opts.hyperMediaEndpoint);
5939
- return request(_objectSpread$o({}, opts, {
5939
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5940
5940
  path: pathFuture(futureId)
5941
5941
  }), {
5942
5942
  method: 'put',
@@ -5958,7 +5958,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
5958
5958
  doesParamExist.default({
5959
5959
  futureId: futureId
5960
5960
  }, opts.hyperMediaEndpoint);
5961
- return request(_objectSpread$o({}, opts, {
5961
+ return request(_objectSpread$o(_objectSpread$o({}, opts), {}, {
5962
5962
  path: pathSendReceipt(futureId)
5963
5963
  }), {
5964
5964
  method: 'post',
@@ -6031,7 +6031,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
6031
6031
  doesParamExist.default({
6032
6032
  memberId: memberId
6033
6033
  }, opts.hyperMediaEndpoint);
6034
- return _context.abrupt("return", request(_objectSpread$p({}, opts, {
6034
+ return _context.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6035
6035
  path: "" + pathMemberHealthFundAccounts(memberId)
6036
6036
  }), {
6037
6037
  method: 'post',
@@ -6072,7 +6072,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
6072
6072
  businessId: businessId,
6073
6073
  patientId: patientId
6074
6074
  }, opts.hyperMediaEndpoint);
6075
- return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
6075
+ return _context2.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6076
6076
  path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
6077
6077
  }), {
6078
6078
  method: 'post',
@@ -6112,7 +6112,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
6112
6112
  memberId: memberId,
6113
6113
  healthFundAccountId: healthFundAccountId
6114
6114
  }, opts.hyperMediaEndpoint);
6115
- return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
6115
+ return _context3.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6116
6116
  path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
6117
6117
  }), {
6118
6118
  method: 'delete'
@@ -6153,7 +6153,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
6153
6153
  patientId: patientId,
6154
6154
  healthFundAccountId: healthFundAccountId
6155
6155
  }, opts.hyperMediaEndpoint);
6156
- return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
6156
+ return _context4.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6157
6157
  path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
6158
6158
  }), {
6159
6159
  method: 'delete'
@@ -6191,7 +6191,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
6191
6191
  doesParamExist.default({
6192
6192
  memberId: memberId
6193
6193
  }, opts.hyperMediaEndpoint);
6194
- return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
6194
+ return _context5.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6195
6195
  path: pathMemberHealthFundAccounts(memberId)
6196
6196
  }), {
6197
6197
  method: 'get',
@@ -6232,7 +6232,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
6232
6232
  businessId: businessId,
6233
6233
  patientId: patientId
6234
6234
  }, opts.hyperMediaEndpoint);
6235
- return _context6.abrupt("return", request(_objectSpread$p({}, opts, {
6235
+ return _context6.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6236
6236
  path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
6237
6237
  }), {
6238
6238
  method: 'get',
@@ -6272,7 +6272,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
6272
6272
  memberId: memberId,
6273
6273
  healthFundAccountId: healthFundAccountId
6274
6274
  }, opts.hyperMediaEndpoint);
6275
- return _context7.abrupt("return", request(_objectSpread$p({}, opts, {
6275
+ return _context7.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6276
6276
  path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
6277
6277
  }), {
6278
6278
  method: 'get'
@@ -6313,7 +6313,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
6313
6313
  patientId: patientId,
6314
6314
  healthFundAccountId: healthFundAccountId
6315
6315
  }, opts.hyperMediaEndpoint);
6316
- return _context8.abrupt("return", request(_objectSpread$p({}, opts, {
6316
+ return _context8.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6317
6317
  path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
6318
6318
  }), {
6319
6319
  method: 'get'
@@ -6353,7 +6353,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
6353
6353
  memberId: memberId,
6354
6354
  healthFundAccountId: healthFundAccountId
6355
6355
  }, opts.hyperMediaEndpoint);
6356
- return _context9.abrupt("return", request(_objectSpread$p({}, opts, {
6356
+ return _context9.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6357
6357
  path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
6358
6358
  }), {
6359
6359
  method: 'put',
@@ -6396,7 +6396,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
6396
6396
  patientId: patientId,
6397
6397
  healthFundAccountId: healthFundAccountId
6398
6398
  }, opts.hyperMediaEndpoint);
6399
- return _context10.abrupt("return", request(_objectSpread$p({}, opts, {
6399
+ return _context10.abrupt("return", request(_objectSpread$p(_objectSpread$p({}, opts), {}, {
6400
6400
  path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
6401
6401
  }), {
6402
6402
  method: 'put',
@@ -6469,7 +6469,7 @@ var createHealthFundSetting = /*#__PURE__*/function () {
6469
6469
  doesParamExist.default({
6470
6470
  healthFundId: healthFundId
6471
6471
  }, opts.hyperMediaEndpoint);
6472
- return _context.abrupt("return", request(_objectSpread$q({}, opts, {
6472
+ return _context.abrupt("return", request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6473
6473
  path: "" + pathHealthFundSettings(healthFundId)
6474
6474
  }), {
6475
6475
  method: 'post',
@@ -6510,7 +6510,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
6510
6510
  doesParamExist.default({
6511
6511
  healthFundId: healthFundId
6512
6512
  }, opts.hyperMediaEndpoint);
6513
- return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
6513
+ return _context2.abrupt("return", request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6514
6514
  path: pathHealthFundSetting(healthFundId, healthFundSettingId)
6515
6515
  }), {
6516
6516
  method: 'delete'
@@ -6555,7 +6555,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
6555
6555
  doesParamExist.default({
6556
6556
  healthFundId: healthFundId
6557
6557
  }, opts.hyperMediaEndpoint);
6558
- return _context3.abrupt("return", request(_objectSpread$q({}, opts, {
6558
+ return _context3.abrupt("return", request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6559
6559
  path: pathHealthFundSettings(healthFundId)
6560
6560
  }), {
6561
6561
  method: 'get',
@@ -6605,7 +6605,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
6605
6605
  practiceId: practiceId,
6606
6606
  staffId: staffId
6607
6607
  }, opts.hyperMediaEndpoint);
6608
- return _context4.abrupt("return", request(_objectSpread$q({}, opts, {
6608
+ return _context4.abrupt("return", request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6609
6609
  path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
6610
6610
  }), {
6611
6611
  method: 'get',
@@ -6646,7 +6646,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
6646
6646
  healthFundId: healthFundId,
6647
6647
  healthFundSettingId: healthFundSettingId
6648
6648
  }, opts.hyperMediaEndpoint);
6649
- return _context5.abrupt("return", request(_objectSpread$q({}, opts, {
6649
+ return _context5.abrupt("return", request(_objectSpread$q(_objectSpread$q({}, opts), {}, {
6650
6650
  path: pathHealthFundSetting(healthFundId, healthFundSettingId)
6651
6651
  }), {
6652
6652
  method: 'put',
@@ -6720,7 +6720,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
6720
6720
  doesParamExist.default({
6721
6721
  accountId: accountId
6722
6722
  }, opts.hyperMediaEndpoint);
6723
- return _context.abrupt("return", request(_objectSpread$r({}, opts, {
6723
+ return _context.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6724
6724
  path: pathHealthFundsByAccountId(accountId)
6725
6725
  }), {
6726
6726
  method: 'get'
@@ -6762,7 +6762,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
6762
6762
  doesParamExist.default({
6763
6763
  businessId: businessId
6764
6764
  }, opts.hyperMediaEndpoint);
6765
- return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
6765
+ return _context2.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6766
6766
  path: pathBusinessHealthFunds(businessId)
6767
6767
  }), {
6768
6768
  method: 'get',
@@ -6797,7 +6797,7 @@ var getHealthFunds = /*#__PURE__*/function () {
6797
6797
  opts = {};
6798
6798
  }
6799
6799
 
6800
- return _context3.abrupt("return", request(_objectSpread$r({}, opts, {
6800
+ return _context3.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6801
6801
  path: PATH__HEALTH_FUNDS
6802
6802
  }), {
6803
6803
  method: 'get',
@@ -6841,7 +6841,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
6841
6841
  doesParamExist.default({
6842
6842
  organisationId: organisationId
6843
6843
  }, opts.hyperMediaEndpoint);
6844
- return _context4.abrupt("return", request(_objectSpread$r({}, opts, {
6844
+ return _context4.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6845
6845
  path: pathOrganisationHealthFunds(organisationId)
6846
6846
  }), {
6847
6847
  method: 'get',
@@ -6877,7 +6877,7 @@ var createHealthFund = /*#__PURE__*/function () {
6877
6877
  opts = {};
6878
6878
  }
6879
6879
 
6880
- return _context5.abrupt("return", request(_objectSpread$r({}, opts, {
6880
+ return _context5.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6881
6881
  path: PATH__HEALTH_FUNDS
6882
6882
  }), {
6883
6883
  method: 'post',
@@ -6915,7 +6915,7 @@ var getHealthFund = /*#__PURE__*/function () {
6915
6915
  doesParamExist.default({
6916
6916
  healthFundId: healthFundId
6917
6917
  }, opts.hyperMediaEndpoint);
6918
- return _context6.abrupt("return", request(_objectSpread$r({}, opts, {
6918
+ return _context6.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6919
6919
  path: pathHealthFund(healthFundId)
6920
6920
  }), {
6921
6921
  method: 'get'
@@ -6953,7 +6953,7 @@ var updateHealthFund = /*#__PURE__*/function () {
6953
6953
  doesParamExist.default({
6954
6954
  healthFundId: healthFundId
6955
6955
  }, opts.hyperMediaEndpoint);
6956
- return _context7.abrupt("return", request(_objectSpread$r({}, opts, {
6956
+ return _context7.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6957
6957
  path: pathHealthFund(healthFundId)
6958
6958
  }), {
6959
6959
  method: 'put',
@@ -6991,7 +6991,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
6991
6991
  doesParamExist.default({
6992
6992
  healthFundId: healthFundId
6993
6993
  }, opts.hyperMediaEndpoint);
6994
- return _context8.abrupt("return", request(_objectSpread$r({}, opts, {
6994
+ return _context8.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
6995
6995
  path: pathHealthFund(healthFundId)
6996
6996
  }), {
6997
6997
  method: 'delete'
@@ -7084,7 +7084,7 @@ var verifyMember = /*#__PURE__*/function () {
7084
7084
  healthFundId: healthFundId,
7085
7085
  body: body
7086
7086
  }, opts.hyperMediaEndpoint);
7087
- return _context10.abrupt("return", request(_objectSpread$r({}, opts, {
7087
+ return _context10.abrupt("return", request(_objectSpread$r(_objectSpread$r({}, opts), {}, {
7088
7088
  path: "" + pathHealthFundVerifyMember(healthFundId)
7089
7089
  }), {
7090
7090
  method: 'post',
@@ -7150,7 +7150,7 @@ var getICDItems = /*#__PURE__*/function () {
7150
7150
  };
7151
7151
  }
7152
7152
 
7153
- return _context.abrupt("return", request(_objectSpread$s({}, opts, {
7153
+ return _context.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7154
7154
  path: pathICDItems
7155
7155
  }), {
7156
7156
  method: 'get',
@@ -7195,7 +7195,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
7195
7195
  doesParamExist.default({
7196
7196
  modalityId: modalityId
7197
7197
  }, opts.hyperMediaEndpoint);
7198
- return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
7198
+ return _context2.abrupt("return", request(_objectSpread$s(_objectSpread$s({}, opts), {}, {
7199
7199
  path: pathModalityICDItems(modalityId)
7200
7200
  }), {
7201
7201
  method: 'get',
@@ -7253,7 +7253,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
7253
7253
  doesParamExist.default({
7254
7254
  businessId: businessId
7255
7255
  }, opts.hyperMediaEndpoint);
7256
- return _context.abrupt("return", request(_objectSpread$t({}, opts, {
7256
+ return _context.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7257
7257
  path: pathInvoiceScansByBusinessId(businessId)
7258
7258
  }), {
7259
7259
  method: 'post',
@@ -7294,7 +7294,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
7294
7294
  businessId: businessId,
7295
7295
  invoiceScanId: invoiceScanId
7296
7296
  }, opts.hyperMediaEndpoint);
7297
- return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
7297
+ return _context2.abrupt("return", request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7298
7298
  path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
7299
7299
  }), {
7300
7300
  method: 'get'
@@ -7327,7 +7327,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
7327
7327
  doesParamExist.default({
7328
7328
  businessId: businessId
7329
7329
  }, opts.hyperMediaEndpoint);
7330
- return request(_objectSpread$t({}, opts, {
7330
+ return request(_objectSpread$t(_objectSpread$t({}, opts), {}, {
7331
7331
  path: pathUploadUrlByBusinessId(businessId)
7332
7332
  }), {
7333
7333
  method: 'get',
@@ -7360,7 +7360,7 @@ var getJHC = function getJHC(jhcId, opts) {
7360
7360
  doesParamExist.default({
7361
7361
  jhcId: jhcId
7362
7362
  }, opts.hyperMediaEndpoint);
7363
- return request(_objectSpread$u({}, opts, {
7363
+ return request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7364
7364
  path: pathJHC(jhcId)
7365
7365
  }), {
7366
7366
  method: 'get'
@@ -7371,7 +7371,7 @@ var getJHCs = function getJHCs(query, opts) {
7371
7371
  opts = {};
7372
7372
  }
7373
7373
 
7374
- return request(_objectSpread$u({}, opts, {
7374
+ return request(_objectSpread$u(_objectSpread$u({}, opts), {}, {
7375
7375
  path: PATH__JHCS
7376
7376
  }), {
7377
7377
  method: 'get',
@@ -7443,7 +7443,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
7443
7443
  doesParamExist.default({
7444
7444
  businessId: businessId
7445
7445
  }, opts.hyperMediaEndpoint);
7446
- return request(_objectSpread$v({}, opts, {
7446
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7447
7447
  path: pathBusinessKyc(businessId)
7448
7448
  }), {
7449
7449
  method: 'get'
@@ -7465,7 +7465,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
7465
7465
  businessId: businessId,
7466
7466
  practiceId: practiceId
7467
7467
  }, opts.hyperMediaEndpoint);
7468
- return request(_objectSpread$v({}, opts, {
7468
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7469
7469
  path: pathPracticeKyc(businessId, practiceId)
7470
7470
  }), {
7471
7471
  method: 'get'
@@ -7486,7 +7486,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
7486
7486
  doesParamExist.default({
7487
7487
  businessId: businessId
7488
7488
  }, opts.hyperMediaEndpoint);
7489
- return request(_objectSpread$v({}, opts, {
7489
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7490
7490
  path: pathBusinessKyc(businessId)
7491
7491
  }), {
7492
7492
  method: 'put',
@@ -7508,7 +7508,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
7508
7508
  doesParamExist.default({
7509
7509
  businessId: businessId
7510
7510
  }, opts.hyperMediaEndpoint);
7511
- return request(_objectSpread$v({}, opts, {
7511
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7512
7512
  path: pathBusinessCbo(businessId)
7513
7513
  }), {
7514
7514
  method: 'get',
@@ -7529,7 +7529,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
7529
7529
  doesParamExist.default({
7530
7530
  businessId: businessId
7531
7531
  }, opts.hyperMediaEndpoint);
7532
- return request(_objectSpread$v({}, opts, {
7532
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7533
7533
  path: pathBusinessKycVerify(businessId)
7534
7534
  }), {
7535
7535
  method: 'post'
@@ -7551,7 +7551,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
7551
7551
  businessId: businessId,
7552
7552
  practiceId: practiceId
7553
7553
  }, opts.hyperMediaEndpoint);
7554
- return request(_objectSpread$v({}, opts, {
7554
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7555
7555
  path: pathPracticeKycVerify(businessId, practiceId)
7556
7556
  }), {
7557
7557
  method: 'post',
@@ -7572,7 +7572,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
7572
7572
  doesParamExist.default({
7573
7573
  businessId: businessId
7574
7574
  }, opts.hyperMediaEndpoint);
7575
- return request(_objectSpread$v({}, opts, {
7575
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7576
7576
  path: pathBusinessKycUnverify(businessId)
7577
7577
  }), {
7578
7578
  method: 'post'
@@ -7594,7 +7594,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
7594
7594
  businessId: businessId,
7595
7595
  practiceId: practiceId
7596
7596
  }, opts.hyperMediaEndpoint);
7597
- return request(_objectSpread$v({}, opts, {
7597
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7598
7598
  path: pathPracticeKycUnverify(businessId, practiceId)
7599
7599
  }), {
7600
7600
  method: 'post'
@@ -7615,7 +7615,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
7615
7615
  doesParamExist.default({
7616
7616
  businessId: businessId
7617
7617
  }, opts.hyperMediaEndpoint);
7618
- return request(_objectSpread$v({}, opts, {
7618
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7619
7619
  path: pathBusinessVerifyBeneficialOwner(businessId)
7620
7620
  }), {
7621
7621
  method: 'post',
@@ -7637,7 +7637,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
7637
7637
  doesParamExist.default({
7638
7638
  businessId: businessId
7639
7639
  }, opts.hyperMediaEndpoint);
7640
- return request(_objectSpread$v({}, opts, {
7640
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7641
7641
  path: pathRequestVerificationSupport(businessId)
7642
7642
  }), {
7643
7643
  method: 'post',
@@ -7659,7 +7659,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
7659
7659
  doesParamExist.default({
7660
7660
  businessId: businessId
7661
7661
  }, opts.hyperMediaEndpoint);
7662
- return request(_objectSpread$v({}, opts, {
7662
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7663
7663
  path: pathBusinessAddBeneficialOwner(businessId)
7664
7664
  }), {
7665
7665
  method: 'post',
@@ -7682,7 +7682,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
7682
7682
  doesParamExist.default({
7683
7683
  businessId: businessId
7684
7684
  }, opts.hyperMediaEndpoint);
7685
- return request(_objectSpread$v({}, opts, {
7685
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7686
7686
  path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
7687
7687
  }), {
7688
7688
  method: 'delete'
@@ -7702,7 +7702,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
7702
7702
  doesParamExist.default({
7703
7703
  businessId: businessId
7704
7704
  }, opts.hyperMediaEndpoint);
7705
- return request(_objectSpread$v({}, opts, {
7705
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7706
7706
  path: pathResumeComplexVerification(businessId)
7707
7707
  }), {
7708
7708
  method: 'post'
@@ -7723,7 +7723,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
7723
7723
  doesParamExist.default({
7724
7724
  businessId: businessId
7725
7725
  }, opts.hyperMediaEndpoint);
7726
- return request(_objectSpread$v({}, opts, {
7726
+ return request(_objectSpread$v(_objectSpread$v({}, opts), {}, {
7727
7727
  path: pathGetTrustDocumentUploadUrl(businessId)
7728
7728
  }), {
7729
7729
  method: 'get',
@@ -7782,7 +7782,7 @@ var createLog = function createLog(body, opts) {
7782
7782
  opts = {};
7783
7783
  }
7784
7784
 
7785
- return request(_objectSpread$w({}, opts, {
7785
+ return request(_objectSpread$w(_objectSpread$w({}, opts), {}, {
7786
7786
  path: pathLog()
7787
7787
  }), {
7788
7788
  method: 'post',
@@ -7804,7 +7804,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
7804
7804
  doesParamExist.default({
7805
7805
  businessId: businessId
7806
7806
  });
7807
- return request(_objectSpread$w({}, opts, {
7807
+ return request(_objectSpread$w(_objectSpread$w({}, opts), {}, {
7808
7808
  path: pathBusinessLog(businessId)
7809
7809
  }), {
7810
7810
  method: 'post',
@@ -7841,7 +7841,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
7841
7841
  doesParamExist.default({
7842
7842
  businessId: businessId
7843
7843
  }, opts.hyperMediaEndpoint);
7844
- return request(_objectSpread$x({}, opts, {
7844
+ return request(_objectSpread$x(_objectSpread$x({}, opts), {}, {
7845
7845
  path: pathBusinessMessageMappings(businessId)
7846
7846
  }), {
7847
7847
  method: 'get',
@@ -7899,7 +7899,7 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
7899
7899
  triggerId: triggerId,
7900
7900
  actionId: actionId
7901
7901
  }, body);
7902
- return _context.abrupt("return", request(_objectSpread$y({}, opts, {
7902
+ return _context.abrupt("return", request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
7903
7903
  path: pathMinionsForHealthFund(healthFundId)
7904
7904
  }), {
7905
7905
  method: 'post',
@@ -7939,7 +7939,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
7939
7939
  opts = {};
7940
7940
  }
7941
7941
 
7942
- return _context2.abrupt("return", request(_objectSpread$y({}, opts, {
7942
+ return _context2.abrupt("return", request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
7943
7943
  path: pathMinionsForHealthFund(healthFundId)
7944
7944
  }), {
7945
7945
  method: 'get',
@@ -7979,7 +7979,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
7979
7979
  healthFundId: healthFundId,
7980
7980
  minionId: minionId
7981
7981
  }, opts.hyperMediaEndpoint);
7982
- return _context3.abrupt("return", request(_objectSpread$y({}, opts, {
7982
+ return _context3.abrupt("return", request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
7983
7983
  path: pathMinionForHealthFund(healthFundId, minionId)
7984
7984
  }), {
7985
7985
  method: 'get'
@@ -8019,7 +8019,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
8019
8019
  healthFundId: healthFundId,
8020
8020
  minionId: minionId
8021
8021
  }, opts.hyperMediaEndpoint);
8022
- return _context4.abrupt("return", request(_objectSpread$y({}, opts, {
8022
+ return _context4.abrupt("return", request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8023
8023
  path: pathMinionForHealthFund(healthFundId, minionId)
8024
8024
  }), {
8025
8025
  method: 'put',
@@ -8059,7 +8059,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
8059
8059
  healthFundId: healthFundId,
8060
8060
  minionId: minionId
8061
8061
  }, opts.hyperMediaEndpoint);
8062
- return _context5.abrupt("return", request(_objectSpread$y({}, opts, {
8062
+ return _context5.abrupt("return", request(_objectSpread$y(_objectSpread$y({}, opts), {}, {
8063
8063
  path: pathMinionForHealthFund(healthFundId, minionId)
8064
8064
  }), {
8065
8065
  method: 'delete'
@@ -8121,7 +8121,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
8121
8121
  doesParamExist.default({
8122
8122
  businessId: businessId
8123
8123
  }, opts.hyperMediaEndpoint);
8124
- return _context.abrupt("return", request(_objectSpread$z({}, opts, {
8124
+ return _context.abrupt("return", request(_objectSpread$z(_objectSpread$z({}, opts), {}, {
8125
8125
  path: pathBusinessModalities(businessId)
8126
8126
  }), {
8127
8127
  method: 'get'
@@ -8161,7 +8161,7 @@ var getModalities = /*#__PURE__*/function () {
8161
8161
  };
8162
8162
  }
8163
8163
 
8164
- return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
8164
+ return _context2.abrupt("return", request(_objectSpread$z(_objectSpread$z({}, opts), {}, {
8165
8165
  path: PATH__MODALITIES
8166
8166
  }), {
8167
8167
  method: 'get',
@@ -8198,7 +8198,7 @@ var getModality = /*#__PURE__*/function () {
8198
8198
  };
8199
8199
  }
8200
8200
 
8201
- return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
8201
+ return _context3.abrupt("return", request(_objectSpread$z(_objectSpread$z({}, opts), {}, {
8202
8202
  path: pathModality(modalityId)
8203
8203
  }), {
8204
8204
  method: 'get'
@@ -8254,7 +8254,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
8254
8254
  healthFundId: healthFundId,
8255
8255
  documentId: documentId
8256
8256
  }, opts.hyperMediaEndpoint);
8257
- return request(_objectSpread$A({}, opts, {
8257
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8258
8258
  path: pathHealthFundDocumentNotes(healthFundId, documentId)
8259
8259
  }), {
8260
8260
  method: 'post',
@@ -8270,7 +8270,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
8270
8270
  healthFundId: healthFundId,
8271
8271
  documentId: documentId
8272
8272
  }, opts.hyperMediaEndpoint);
8273
- return request(_objectSpread$A({}, opts, {
8273
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8274
8274
  path: pathHealthFundDocumentNotes(healthFundId, documentId)
8275
8275
  }), {
8276
8276
  method: 'get'
@@ -8285,7 +8285,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
8285
8285
  healthFundId: healthFundId,
8286
8286
  transactionId: transactionId
8287
8287
  }, opts.hyperMediaEndpoint);
8288
- return request(_objectSpread$A({}, opts, {
8288
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8289
8289
  path: pathHealthFundTransactionNote(healthFundId, transactionId)
8290
8290
  }), {
8291
8291
  method: 'get'
@@ -8300,7 +8300,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
8300
8300
  healthFundId: healthFundId,
8301
8301
  noteId: noteId
8302
8302
  }, opts.hyperMediaEndpoint);
8303
- return request(_objectSpread$A({}, opts, {
8303
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8304
8304
  path: pathHealthFundNote(healthFundId, noteId)
8305
8305
  }), {
8306
8306
  method: 'get'
@@ -8314,7 +8314,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
8314
8314
  doesParamExist.default({
8315
8315
  transactionId: transactionId
8316
8316
  }, opts.hyperMediaEndpoint);
8317
- return request(_objectSpread$A({}, opts, {
8317
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8318
8318
  path: pathTransactionNotes(transactionId)
8319
8319
  }), {
8320
8320
  method: 'get',
@@ -8330,7 +8330,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
8330
8330
  businessId: businessId,
8331
8331
  transactionId: transactionId
8332
8332
  }, opts.hyperMediaEndpoint);
8333
- return request(_objectSpread$A({}, opts, {
8333
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8334
8334
  path: pathGetTransactionNote(businessId, transactionId)
8335
8335
  }), {
8336
8336
  method: 'get'
@@ -8344,7 +8344,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
8344
8344
  doesParamExist.default({
8345
8345
  transactionId: transactionId
8346
8346
  }, opts.hyperMediaEndpoint);
8347
- return request(_objectSpread$A({}, opts, {
8347
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8348
8348
  path: pathTransactionNotes(transactionId)
8349
8349
  }), {
8350
8350
  method: 'post',
@@ -8360,7 +8360,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
8360
8360
  transactionId: transactionId,
8361
8361
  transactionNoteId: transactionNoteId
8362
8362
  }, opts.hyperMediaEndpoint);
8363
- return request(_objectSpread$A({}, opts, {
8363
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8364
8364
  path: pathTransactionNote(transactionId, transactionNoteId)
8365
8365
  }), {
8366
8366
  method: 'delete'
@@ -8375,7 +8375,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
8375
8375
  healthFundId: healthFundId,
8376
8376
  noteId: noteId
8377
8377
  }, opts.hyperMediaEndpoint);
8378
- return request(_objectSpread$A({}, opts, {
8378
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8379
8379
  path: pathHealthFundNote(healthFundId, noteId)
8380
8380
  }), {
8381
8381
  method: 'put',
@@ -8391,7 +8391,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
8391
8391
  healthFundId: healthFundId,
8392
8392
  noteId: noteId
8393
8393
  }, opts.hyperMediaEndpoint);
8394
- return request(_objectSpread$A({}, opts, {
8394
+ return request(_objectSpread$A(_objectSpread$A({}, opts), {}, {
8395
8395
  path: pathHealthFundNote(healthFundId, noteId)
8396
8396
  }), {
8397
8397
  method: 'delete'
@@ -8451,7 +8451,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
8451
8451
  doesParamExist.default({
8452
8452
  practiceId: practiceId
8453
8453
  });
8454
- return request(_objectSpread$B({}, opts, {
8454
+ return request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8455
8455
  path: pathPracticeOnboardingApplications(practiceId)
8456
8456
  }), {
8457
8457
  method: 'post',
@@ -8484,7 +8484,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
8484
8484
  businessId: businessId,
8485
8485
  practiceId: practiceId
8486
8486
  }, opts.hyperMediaEndpoint);
8487
- return _context.abrupt("return", request(_objectSpread$B({}, opts, {
8487
+ return _context.abrupt("return", request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8488
8488
  path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
8489
8489
  }), {
8490
8490
  method: 'get',
@@ -8518,7 +8518,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
8518
8518
  doesParamExist.default({
8519
8519
  businessId: businessId
8520
8520
  });
8521
- return request(_objectSpread$B({}, opts, {
8521
+ return request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8522
8522
  path: pathBusinessOnboardingApplications(businessId)
8523
8523
  }), {
8524
8524
  method: 'get',
@@ -8538,7 +8538,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
8538
8538
  doesParamExist.default({
8539
8539
  businessId: businessId
8540
8540
  });
8541
- return request(_objectSpread$B({}, opts, {
8541
+ return request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8542
8542
  path: pathBusinessOnboardingApplications(businessId)
8543
8543
  }), {
8544
8544
  method: 'post',
@@ -8558,7 +8558,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
8558
8558
  doesParamExist.default({
8559
8559
  businessId: businessId
8560
8560
  });
8561
- return request(_objectSpread$B({}, opts, {
8561
+ return request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8562
8562
  path: pathBusinessOnboardingApplications(businessId)
8563
8563
  }), {
8564
8564
  method: 'put',
@@ -8582,7 +8582,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
8582
8582
  staffId: staffId,
8583
8583
  providerSetItemId: providerSetItemId
8584
8584
  });
8585
- return request(_objectSpread$B({}, opts, {
8585
+ return request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8586
8586
  path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
8587
8587
  }), {
8588
8588
  method: 'post',
@@ -8604,7 +8604,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
8604
8604
  doesParamExist.default({
8605
8605
  businessId: businessId
8606
8606
  });
8607
- return request(_objectSpread$B({}, opts, {
8607
+ return request(_objectSpread$B(_objectSpread$B({}, opts), {}, {
8608
8608
  path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
8609
8609
  }), {
8610
8610
  method: 'get',
@@ -8662,7 +8662,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
8662
8662
  doesParamExist.default({
8663
8663
  onboardingRequestId: onboardingRequestId
8664
8664
  }, opts.hyperMediaEndpoint);
8665
- return _context.abrupt("return", request(_objectSpread$C({}, opts, {
8665
+ return _context.abrupt("return", request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
8666
8666
  path: pathOnboardingRequest(onboardingRequestId)
8667
8667
  }), {
8668
8668
  method: 'get'
@@ -8704,7 +8704,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
8704
8704
  doesParamExist.default({
8705
8705
  businessId: businessId
8706
8706
  }, opts.hyperMediaEndpoint);
8707
- return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
8707
+ return _context2.abrupt("return", request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
8708
8708
  path: pathBusinessOnboardingRequests(businessId)
8709
8709
  }), {
8710
8710
  method: 'get',
@@ -8736,7 +8736,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
8736
8736
  doesParamExist.default({
8737
8737
  businessId: businessId
8738
8738
  });
8739
- return request(_objectSpread$C({}, opts, {
8739
+ return request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
8740
8740
  path: pathBusinessOnboardingRequests(businessId)
8741
8741
  }), {
8742
8742
  method: 'post',
@@ -8756,7 +8756,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
8756
8756
  doesParamExist.default({
8757
8757
  onboardingRequestId: onboardingRequestId
8758
8758
  });
8759
- return request(_objectSpread$C({}, opts, {
8759
+ return request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
8760
8760
  path: pathOnboardingRequestSubmit(onboardingRequestId)
8761
8761
  }), {
8762
8762
  method: 'post',
@@ -8777,7 +8777,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
8777
8777
  doesParamExist.default({
8778
8778
  onboardingRequestId: onboardingRequestId
8779
8779
  });
8780
- return request(_objectSpread$C({}, opts, {
8780
+ return request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
8781
8781
  path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
8782
8782
  }), {
8783
8783
  method: 'put',
@@ -8797,7 +8797,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
8797
8797
  doesParamExist.default({
8798
8798
  onboardingRequestId: onboardingRequestId
8799
8799
  });
8800
- return request(_objectSpread$C({}, opts, {
8800
+ return request(_objectSpread$C(_objectSpread$C({}, opts), {}, {
8801
8801
  path: pathOnboardingRequest(onboardingRequestId)
8802
8802
  }), {
8803
8803
  method: 'delete',
@@ -8860,7 +8860,7 @@ var createService = function createService(fullName, displayName, type, body, op
8860
8860
  type: type
8861
8861
  }, body);
8862
8862
 
8863
- return request(_objectSpread$D({}, opts, {
8863
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8864
8864
  path: PATH__OPS_SERVICES
8865
8865
  }), {
8866
8866
  method: 'post',
@@ -8881,7 +8881,7 @@ var deleteService = function deleteService(serviceId, opts) {
8881
8881
  doesParamExist.default({
8882
8882
  serviceId: serviceId
8883
8883
  }, opts.hyperMediaEndpoint);
8884
- return request(_objectSpread$D({}, opts, {
8884
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8885
8885
  path: pathOpsService(serviceId)
8886
8886
  }), {
8887
8887
  method: 'delete'
@@ -8901,7 +8901,7 @@ var deployService = function deployService(serviceId, opts) {
8901
8901
  doesParamExist.default({
8902
8902
  serviceId: serviceId
8903
8903
  }, opts.hyperMediaEndpoint);
8904
- return request(_objectSpread$D({}, opts, {
8904
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8905
8905
  path: PATH__OPS_DEPLOYMENTS
8906
8906
  }), {
8907
8907
  method: 'post',
@@ -8925,7 +8925,7 @@ var getDeployments = function getDeployments(query, opts) {
8925
8925
  opts = {};
8926
8926
  }
8927
8927
 
8928
- return request(_objectSpread$D({}, opts, {
8928
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8929
8929
  path: PATH__OPS_DEPLOYMENTS
8930
8930
  }), {
8931
8931
  method: 'get',
@@ -8946,7 +8946,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
8946
8946
  doesParamExist.default({
8947
8947
  deploymentId: deploymentId
8948
8948
  }, opts.hyperMediaEndpoint);
8949
- return request(_objectSpread$D({}, opts, {
8949
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8950
8950
  path: pathOpsDeployment(deploymentId)
8951
8951
  }), {
8952
8952
  method: 'get'
@@ -8967,7 +8967,7 @@ var getServices = function getServices(query, opts) {
8967
8967
  opts = {};
8968
8968
  }
8969
8969
 
8970
- return request(_objectSpread$D({}, opts, {
8970
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8971
8971
  path: PATH__OPS_SERVICES
8972
8972
  }), {
8973
8973
  method: 'get',
@@ -8988,7 +8988,7 @@ var getService = function getService(serviceId, opts) {
8988
8988
  doesParamExist.default({
8989
8989
  serviceId: serviceId
8990
8990
  }, opts.hyperMediaEndpoint);
8991
- return request(_objectSpread$D({}, opts, {
8991
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
8992
8992
  path: pathOpsService(serviceId)
8993
8993
  }), {
8994
8994
  method: 'get'
@@ -9009,7 +9009,7 @@ var updateService = function updateService(serviceId, body, opts) {
9009
9009
  doesParamExist.default({
9010
9010
  serviceId: serviceId
9011
9011
  }, opts.hyperMediaEndpoint);
9012
- return request(_objectSpread$D({}, opts, {
9012
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9013
9013
  path: pathOpsService(serviceId)
9014
9014
  }), {
9015
9015
  method: 'put',
@@ -9031,7 +9031,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
9031
9031
  doesParamExist.default({
9032
9032
  serviceId: serviceId
9033
9033
  }, opts.hyperMediaEndpoint);
9034
- return request(_objectSpread$D({}, opts, {
9034
+ return request(_objectSpread$D(_objectSpread$D({}, opts), {}, {
9035
9035
  path: PATH__OPS_DECRTPT
9036
9036
  }), {
9037
9037
  method: 'post',
@@ -9071,7 +9071,7 @@ var getOrganisations = function getOrganisations(query, opts) {
9071
9071
  opts = {};
9072
9072
  }
9073
9073
 
9074
- return request(_objectSpread$E({}, opts, {
9074
+ return request(_objectSpread$E(_objectSpread$E({}, opts), {}, {
9075
9075
  path: PATH__ORGANISATIONS
9076
9076
  }), {
9077
9077
  method: 'get',
@@ -9125,7 +9125,7 @@ var getPartners = /*#__PURE__*/function () {
9125
9125
  opts = {};
9126
9126
  }
9127
9127
 
9128
- return _context.abrupt("return", request(_objectSpread$F({}, opts, {
9128
+ return _context.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9129
9129
  path: PATH__PARTNERS
9130
9130
  }), {
9131
9131
  method: 'get',
@@ -9163,7 +9163,7 @@ var getPartner = /*#__PURE__*/function () {
9163
9163
  doesParamExist.default({
9164
9164
  partnerId: partnerId
9165
9165
  }, opts.hyperMediaEndpoint);
9166
- return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
9166
+ return _context2.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9167
9167
  path: pathPartner(partnerId)
9168
9168
  }), {
9169
9169
  method: 'get'
@@ -9201,7 +9201,7 @@ var updatePartner = /*#__PURE__*/function () {
9201
9201
  doesParamExist.default({
9202
9202
  partnerId: partnerId
9203
9203
  }, opts.hyperMediaEndpoint);
9204
- return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
9204
+ return _context3.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9205
9205
  path: pathPartner(partnerId)
9206
9206
  }), {
9207
9207
  method: 'put',
@@ -9245,7 +9245,7 @@ var updatePartnerPractice = /*#__PURE__*/function () {
9245
9245
  data = _objectSpread$F({
9246
9246
  fullNameId: fullNameId
9247
9247
  }, body);
9248
- return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
9248
+ return _context4.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9249
9249
  path: pathPartnerPractices(partnerId)
9250
9250
  }), {
9251
9251
  method: 'put',
@@ -9292,7 +9292,7 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
9292
9292
  data = _objectSpread$F({
9293
9293
  providerNumberId: providerNumberId
9294
9294
  }, body);
9295
- return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
9295
+ return _context5.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9296
9296
  path: pathPartnerPracticeProviderData(partnerId, practiceId)
9297
9297
  }), {
9298
9298
  method: 'put',
@@ -9335,7 +9335,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
9335
9335
  doesParamExist.default({
9336
9336
  accountId: accountId
9337
9337
  }, opts.hyperMediaEndpoint);
9338
- return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
9338
+ return _context6.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9339
9339
  path: pathPartnerAccount(accountId) + "/verify"
9340
9340
  }), {
9341
9341
  method: 'post',
@@ -9375,7 +9375,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
9375
9375
  doesParamExist.default({
9376
9376
  accountId: accountId
9377
9377
  }, opts.hyperMediaEndpoint);
9378
- return _context7.abrupt("return", request(_objectSpread$F({}, opts, {
9378
+ return _context7.abrupt("return", request(_objectSpread$F(_objectSpread$F({}, opts), {}, {
9379
9379
  path: pathPartnerAccount(accountId) + "/notify"
9380
9380
  }), {
9381
9381
  method: 'post'
@@ -9442,7 +9442,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
9442
9442
  businessId: businessId,
9443
9443
  patientId: patientId
9444
9444
  }, opts.hyperMediaEndpoint);
9445
- return request(_objectSpread$G({}, opts, {
9445
+ return request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9446
9446
  path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
9447
9447
  }), {
9448
9448
  method: 'post',
@@ -9469,7 +9469,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
9469
9469
  doesParamExist.default({
9470
9470
  businessId: businessId
9471
9471
  }, opts.hyperMediaEndpoint);
9472
- return _context.abrupt("return", request(_objectSpread$G({}, opts, {
9472
+ return _context.abrupt("return", request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9473
9473
  path: pathBusinessPatients(businessId)
9474
9474
  }), {
9475
9475
  method: 'post',
@@ -9512,7 +9512,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
9512
9512
  doesParamExist.default({
9513
9513
  businessId: businessId
9514
9514
  }, opts.hyperMediaEndpoint);
9515
- return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
9515
+ return _context2.abrupt("return", request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9516
9516
  path: pathBusinessPatients(businessId)
9517
9517
  }), {
9518
9518
  method: 'get',
@@ -9551,7 +9551,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
9551
9551
  doesParamExist.default({
9552
9552
  businessId: businessId
9553
9553
  }, opts.hyperMediaEndpoint);
9554
- return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
9554
+ return _context3.abrupt("return", request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9555
9555
  path: pathBusinessPatient(businessId, patientId)
9556
9556
  }), {
9557
9557
  method: 'get'
@@ -9590,7 +9590,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
9590
9590
  businessId: businessId,
9591
9591
  refId: refId
9592
9592
  }, opts.hyperMediaEndpoint);
9593
- return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
9593
+ return _context4.abrupt("return", request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9594
9594
  path: pathBusinessPatientByRefId(businessId, refId)
9595
9595
  }), {
9596
9596
  method: 'get'
@@ -9629,7 +9629,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
9629
9629
  doesParamExist.default({
9630
9630
  businessId: businessId
9631
9631
  }, opts.hyperMediaEndpoint);
9632
- return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
9632
+ return _context5.abrupt("return", request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9633
9633
  path: pathBusinessPatient(businessId, patientId)
9634
9634
  }), {
9635
9635
  method: 'put',
@@ -9668,7 +9668,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
9668
9668
  doesParamExist.default({
9669
9669
  businessId: businessId
9670
9670
  }, opts.hyperMediaEndpoint);
9671
- return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
9671
+ return _context6.abrupt("return", request(_objectSpread$G(_objectSpread$G({}, opts), {}, {
9672
9672
  path: pathBusinessPatient(businessId, patientId)
9673
9673
  }), {
9674
9674
  method: 'delete'
@@ -9765,7 +9765,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
9765
9765
  nonce: nonce,
9766
9766
  source: source
9767
9767
  }, opts.hyperMediaEndpoint);
9768
- return _context.abrupt("return", request(_objectSpread$H({}, opts, {
9768
+ return _context.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9769
9769
  path: pathAccountPaymentMethods(accountId)
9770
9770
  }), {
9771
9771
  method: 'post',
@@ -9809,7 +9809,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
9809
9809
  nonce: nonce,
9810
9810
  source: source
9811
9811
  }, opts.hyperMediaEndpoint);
9812
- return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
9812
+ return _context2.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9813
9813
  path: pathBusinessPaymentMethods(businessId)
9814
9814
  }), {
9815
9815
  method: 'post',
@@ -9855,7 +9855,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
9855
9855
  nonce: nonce,
9856
9856
  source: source
9857
9857
  }, opts.hyperMediaEndpoint);
9858
- return _context3.abrupt("return", request(_objectSpread$H({}, opts, {
9858
+ return _context3.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9859
9859
  path: pathBusinessPatientPaymentMethods(businessId, patientId)
9860
9860
  }), {
9861
9861
  method: 'post',
@@ -9899,7 +9899,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
9899
9899
  accountId: accountId,
9900
9900
  paymentMethodId: paymentMethodId
9901
9901
  }, opts.hyperMediaEndpoint);
9902
- return _context4.abrupt("return", request(_objectSpread$H({}, opts, {
9902
+ return _context4.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9903
9903
  path: pathAccountPaymentMethod(accountId, paymentMethodId)
9904
9904
  }), {
9905
9905
  method: 'delete'
@@ -9939,7 +9939,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
9939
9939
  businessId: businessId,
9940
9940
  paymentMethodId: paymentMethodId
9941
9941
  }, opts.hyperMediaEndpoint);
9942
- return _context5.abrupt("return", request(_objectSpread$H({}, opts, {
9942
+ return _context5.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9943
9943
  path: pathBusinessPaymentMethod(businessId, paymentMethodId)
9944
9944
  }), {
9945
9945
  method: 'delete'
@@ -9981,7 +9981,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
9981
9981
  patientId: patientId,
9982
9982
  paymentMethodId: paymentMethodId
9983
9983
  }, opts.hyperMediaEndpoint);
9984
- return _context6.abrupt("return", request(_objectSpread$H({}, opts, {
9984
+ return _context6.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
9985
9985
  path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
9986
9986
  }), {
9987
9987
  method: 'delete'
@@ -10019,7 +10019,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
10019
10019
  doesParamExist.default({
10020
10020
  accountId: accountId
10021
10021
  }, opts.hyperMediaEndpoint);
10022
- return _context7.abrupt("return", request(_objectSpread$H({}, opts, {
10022
+ return _context7.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10023
10023
  path: pathAccountPaymentMethods(accountId)
10024
10024
  }), {
10025
10025
  method: 'get'
@@ -10057,7 +10057,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
10057
10057
  doesParamExist.default({
10058
10058
  businessId: businessId
10059
10059
  }, opts.hyperMediaEndpoint);
10060
- return _context8.abrupt("return", request(_objectSpread$H({}, opts, {
10060
+ return _context8.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10061
10061
  path: pathBusinessPaymentMethods(businessId)
10062
10062
  }), {
10063
10063
  method: 'get'
@@ -10096,7 +10096,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
10096
10096
  businessId: businessId,
10097
10097
  patientId: patientId
10098
10098
  }, opts.hyperMediaEndpoint);
10099
- return _context9.abrupt("return", request(_objectSpread$H({}, opts, {
10099
+ return _context9.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10100
10100
  path: pathBusinessPatientPaymentMethods(businessId, patientId)
10101
10101
  }), {
10102
10102
  method: 'get'
@@ -10136,7 +10136,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
10136
10136
  businessId: businessId,
10137
10137
  refId: refId
10138
10138
  }, opts.hyperMediaEndpoint);
10139
- return _context10.abrupt("return", request(_objectSpread$H({}, opts, {
10139
+ return _context10.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10140
10140
  path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
10141
10141
  }), {
10142
10142
  method: 'get'
@@ -10176,7 +10176,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
10176
10176
  accountId: accountId,
10177
10177
  paymentMethodId: paymentMethodId
10178
10178
  }, opts.hyperMediaEndpoint);
10179
- return _context11.abrupt("return", request(_objectSpread$H({}, opts, {
10179
+ return _context11.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10180
10180
  path: pathAccountPaymentMethod(accountId, paymentMethodId)
10181
10181
  }), {
10182
10182
  method: 'get'
@@ -10216,7 +10216,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
10216
10216
  businessId: businessId,
10217
10217
  paymentMethodId: paymentMethodId
10218
10218
  }, opts.hyperMediaEndpoint);
10219
- return _context12.abrupt("return", request(_objectSpread$H({}, opts, {
10219
+ return _context12.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10220
10220
  path: pathBusinessPaymentMethod(businessId, paymentMethodId)
10221
10221
  }), {
10222
10222
  method: 'get'
@@ -10258,7 +10258,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
10258
10258
  patientId: patientId,
10259
10259
  paymentMethodId: paymentMethodId
10260
10260
  }, opts.hyperMediaEndpoint);
10261
- return _context13.abrupt("return", request(_objectSpread$H({}, opts, {
10261
+ return _context13.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10262
10262
  path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
10263
10263
  }), {
10264
10264
  method: 'get'
@@ -10298,7 +10298,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
10298
10298
  businessId: businessId,
10299
10299
  source: source
10300
10300
  }, opts.hyperMediaEndpoint);
10301
- return _context14.abrupt("return", request(_objectSpread$H({}, opts, {
10301
+ return _context14.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10302
10302
  path: pathBusinessPaymentsClientTokens(businessId)
10303
10303
  }), {
10304
10304
  method: 'get',
@@ -10341,7 +10341,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
10341
10341
  businessId: businessId,
10342
10342
  patientId: patientId
10343
10343
  }, opts.hyperMediaEndpoint);
10344
- return _context15.abrupt("return", request(_objectSpread$H({}, opts, {
10344
+ return _context15.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10345
10345
  path: pathBusinessPaymentClientToken(businessId, patientId)
10346
10346
  }), {
10347
10347
  method: 'get'
@@ -10379,7 +10379,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
10379
10379
  doesParamExist.default({
10380
10380
  businessId: businessId
10381
10381
  }, opts.hyperMediaEndpoint);
10382
- return _context16.abrupt("return", request(_objectSpread$H({}, opts, {
10382
+ return _context16.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10383
10383
  path: pathBusinessSalesClientToken(businessId)
10384
10384
  }), {
10385
10385
  method: 'get'
@@ -10419,7 +10419,7 @@ var getClientToken = /*#__PURE__*/function () {
10419
10419
  doesParamExist.default({
10420
10420
  source: source
10421
10421
  }, opts.hyperMediaEndpoint);
10422
- return _context17.abrupt("return", request(_objectSpread$H({}, opts, {
10422
+ return _context17.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10423
10423
  path: PATH__PAYMENTS + "/clienttoken"
10424
10424
  }), {
10425
10425
  method: 'get',
@@ -10463,7 +10463,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
10463
10463
  accountId: accountId,
10464
10464
  paymentMethodId: paymentMethodId
10465
10465
  }, opts.hyperMediaEndpoint);
10466
- return _context18.abrupt("return", request(_objectSpread$H({}, opts, {
10466
+ return _context18.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10467
10467
  path: pathAccountPaymentMethod(accountId, paymentMethodId)
10468
10468
  }), {
10469
10469
  data: body,
@@ -10504,7 +10504,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
10504
10504
  businessId: businessId,
10505
10505
  paymentMethodId: paymentMethodId
10506
10506
  }, opts.hyperMediaEndpoint);
10507
- return _context19.abrupt("return", request(_objectSpread$H({}, opts, {
10507
+ return _context19.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10508
10508
  path: pathBusinessPaymentMethod(businessId, paymentMethodId)
10509
10509
  }), {
10510
10510
  data: body,
@@ -10546,7 +10546,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
10546
10546
  patientId: patientId,
10547
10547
  paymentMethodId: paymentMethodId
10548
10548
  }, opts.hyperMediaEndpoint);
10549
- return _context20.abrupt("return", request(_objectSpread$H({}, opts, {
10549
+ return _context20.abrupt("return", request(_objectSpread$H(_objectSpread$H({}, opts), {}, {
10550
10550
  path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
10551
10551
  }), {
10552
10552
  data: body,
@@ -10696,7 +10696,7 @@ var getNonce = /*#__PURE__*/function () {
10696
10696
  throw new Error(getPaymentGatewayError(updateSessionResponse));
10697
10697
 
10698
10698
  case 38:
10699
- return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
10699
+ return _context21.abrupt("return", _objectSpread$H(_objectSpread$H({}, clientToken), {}, {
10700
10700
  nonce: clientToken.clientToken,
10701
10701
  sourceResponse: updateSessionResponse
10702
10702
  }));
@@ -10739,7 +10739,7 @@ var getNonce = /*#__PURE__*/function () {
10739
10739
 
10740
10740
  case 47:
10741
10741
  sourceResponse = _context21.sent;
10742
- return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
10742
+ return _context21.abrupt("return", _objectSpread$H(_objectSpread$H({}, clientToken), {}, {
10743
10743
  nonce: _get(sourceResponse, 'creditCards[0].nonce'),
10744
10744
  sourceResponse: sourceResponse
10745
10745
  }));
@@ -10796,7 +10796,7 @@ var getNonce = /*#__PURE__*/function () {
10796
10796
 
10797
10797
  case 66:
10798
10798
  sourceResponse = _context21.sent;
10799
- return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
10799
+ return _context21.abrupt("return", _objectSpread$H(_objectSpread$H({}, clientToken), {}, {
10800
10800
  nonce: sourceResponse.nonce,
10801
10801
  sourceResponse: sourceResponse
10802
10802
  }));
@@ -10826,7 +10826,7 @@ var getNonce = /*#__PURE__*/function () {
10826
10826
 
10827
10827
  case 75:
10828
10828
  canMakeApplePayment = _context21.sent;
10829
- return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
10829
+ return _context21.abrupt("return", _objectSpread$H(_objectSpread$H({}, clientToken), {}, {
10830
10830
  applePayInstance: applePayInstance,
10831
10831
  canMakeApplePayment: canMakeApplePayment,
10832
10832
  paymentRequest: paymentRequest
@@ -10914,7 +10914,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
10914
10914
  doesParamExist.default({
10915
10915
  businessId: businessId
10916
10916
  }, opts.hyperMediaEndpoint);
10917
- return _context.abrupt("return", request(_objectSpread$I({}, opts, {
10917
+ return _context.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10918
10918
  path: pathBusinessPmsPractices(businessId)
10919
10919
  }), {
10920
10920
  method: 'get',
@@ -10957,7 +10957,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
10957
10957
  doesParamExist.default({
10958
10958
  businessId: businessId
10959
10959
  }, opts.hyperMediaEndpoint);
10960
- return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
10960
+ return _context2.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
10961
10961
  path: pathBusinessPmsServices(businessId)
10962
10962
  }), {
10963
10963
  method: 'get',
@@ -11000,7 +11000,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
11000
11000
  doesParamExist.default({
11001
11001
  businessId: businessId
11002
11002
  }, opts.hyperMediaEndpoint);
11003
- return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
11003
+ return _context3.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
11004
11004
  path: pathBusinessPmsStaffMembers(businessId)
11005
11005
  }), {
11006
11006
  method: 'get',
@@ -11039,7 +11039,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
11039
11039
  doesParamExist.default({
11040
11040
  businessId: businessId
11041
11041
  }, opts.hyperMediaEndpoint);
11042
- return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
11042
+ return _context4.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
11043
11043
  path: pathBusinessPmsPractices(businessId) + "/import"
11044
11044
  }), {
11045
11045
  method: 'post',
@@ -11078,7 +11078,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
11078
11078
  doesParamExist.default({
11079
11079
  businessId: businessId
11080
11080
  }, opts.hyperMediaEndpoint);
11081
- return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
11081
+ return _context5.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
11082
11082
  path: pathBusinessPmsServices(businessId) + "/import"
11083
11083
  }), {
11084
11084
  method: 'post',
@@ -11117,7 +11117,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
11117
11117
  doesParamExist.default({
11118
11118
  businessId: businessId
11119
11119
  }, opts.hyperMediaEndpoint);
11120
- return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
11120
+ return _context6.abrupt("return", request(_objectSpread$I(_objectSpread$I({}, opts), {}, {
11121
11121
  path: pathBusinessPmsStaffMembers(businessId) + "/import"
11122
11122
  }), {
11123
11123
  method: 'post',
@@ -11170,7 +11170,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
11170
11170
  doesParamExist.default({
11171
11171
  organisationId: organisationId
11172
11172
  }, opts.hyperMediaEndpoint);
11173
- return request(_objectSpread$J({}, opts, {
11173
+ return request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
11174
11174
  path: pathOrganisationPracticeProfiles(organisationId)
11175
11175
  }), {
11176
11176
  method: 'get',
@@ -11185,7 +11185,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
11185
11185
  doesParamExist.default({
11186
11186
  practiceProfileId: practiceProfileId
11187
11187
  }, opts.hyperMediaEndpoint);
11188
- return request(_objectSpread$J({}, opts, {
11188
+ return request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
11189
11189
  path: pathPracticeProfile(practiceProfileId)
11190
11190
  }), {
11191
11191
  method: 'get'
@@ -11203,7 +11203,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
11203
11203
  var body = {
11204
11204
  practiceId: practiceId
11205
11205
  };
11206
- return request(_objectSpread$J({}, opts, {
11206
+ return request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
11207
11207
  path: pathLinkPracticeProfile(practiceProfileId)
11208
11208
  }), {
11209
11209
  method: 'put',
@@ -11218,7 +11218,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
11218
11218
  doesParamExist.default({
11219
11219
  practiceProfileId: practiceProfileId
11220
11220
  }, opts.hyperMediaEndpoint);
11221
- return request(_objectSpread$J({}, opts, {
11221
+ return request(_objectSpread$J(_objectSpread$J({}, opts), {}, {
11222
11222
  path: pathUnlinkPracticeProfile(practiceProfileId)
11223
11223
  }), {
11224
11224
  method: 'put'
@@ -11301,7 +11301,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
11301
11301
  doesParamExist.default({
11302
11302
  businessId: businessId
11303
11303
  }, opts.hyperMediaEndpoint);
11304
- return _context.abrupt("return", request(_objectSpread$K({}, opts, {
11304
+ return _context.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11305
11305
  path: pathBusinessPractices(businessId)
11306
11306
  }), {
11307
11307
  method: 'post',
@@ -11340,7 +11340,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
11340
11340
  doesParamExist.default({
11341
11341
  organisationId: organisationId
11342
11342
  }, opts.hyperMediaEndpoint);
11343
- return _context2.abrupt("return", request(_objectSpread$K({}, opts, {
11343
+ return _context2.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11344
11344
  path: pathOrganisationPractices(organisationId)
11345
11345
  }), {
11346
11346
  method: 'post',
@@ -11380,7 +11380,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
11380
11380
  businessId: businessId,
11381
11381
  practiceId: practiceId
11382
11382
  }, opts.hyperMediaEndpoint);
11383
- return _context3.abrupt("return", request(_objectSpread$K({}, opts, {
11383
+ return _context3.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11384
11384
  path: pathBusinessPractice(businessId, practiceId)
11385
11385
  }), {
11386
11386
  method: 'delete'
@@ -11419,7 +11419,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
11419
11419
  organisationId: organisationId,
11420
11420
  practiceId: practiceId
11421
11421
  }, opts.hyperMediaEndpoint);
11422
- return _context4.abrupt("return", request(_objectSpread$K({}, opts, {
11422
+ return _context4.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11423
11423
  path: pathOrganisationPractice(organisationId, practiceId)
11424
11424
  }), {
11425
11425
  method: 'delete'
@@ -11458,7 +11458,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
11458
11458
  businessId: businessId,
11459
11459
  practiceId: practiceId
11460
11460
  }, opts.hyperMediaEndpoint);
11461
- return _context5.abrupt("return", request(_objectSpread$K({}, opts, {
11461
+ return _context5.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11462
11462
  path: pathBusinessPractice(businessId, practiceId)
11463
11463
  }), {
11464
11464
  method: 'get'
@@ -11500,7 +11500,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
11500
11500
  doesParamExist.default({
11501
11501
  businessId: businessId
11502
11502
  }, opts.hyperMediaEndpoint);
11503
- return _context6.abrupt("return", request(_objectSpread$K({}, opts, {
11503
+ return _context6.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11504
11504
  path: pathBusinessPractices(businessId)
11505
11505
  }), {
11506
11506
  method: 'get',
@@ -11545,7 +11545,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
11545
11545
  businessId: businessId,
11546
11546
  formId: formId
11547
11547
  }, opts.hyperMediaEndpoint);
11548
- return _context7.abrupt("return", request(_objectSpread$K({}, opts, {
11548
+ return _context7.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11549
11549
  path: pathBusinessFormPractices(businessId, formId)
11550
11550
  }), {
11551
11551
  method: 'get',
@@ -11587,7 +11587,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
11587
11587
  practiceId: practiceId,
11588
11588
  query: query
11589
11589
  }, opts.hyperMediaEndpoint);
11590
- return _context8.abrupt("return", request(_objectSpread$K({}, opts, {
11590
+ return _context8.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11591
11591
  path: pathBusinessPracticeUploadUrl(businessId, practiceId)
11592
11592
  }), {
11593
11593
  method: 'get',
@@ -11631,7 +11631,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
11631
11631
  businessId: businessId,
11632
11632
  staffId: staffId
11633
11633
  }, opts.hyperMediaEndpoint);
11634
- return _context9.abrupt("return", request(_objectSpread$K({}, opts, {
11634
+ return _context9.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11635
11635
  path: pathBusinessStaffPractices(businessId, staffId)
11636
11636
  }), {
11637
11637
  method: 'get',
@@ -11674,7 +11674,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
11674
11674
  doesParamExist.default({
11675
11675
  organisationId: organisationId
11676
11676
  }, opts.hyperMediaEndpoint);
11677
- return _context10.abrupt("return", request(_objectSpread$K({}, opts, {
11677
+ return _context10.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11678
11678
  path: pathOrganisationPractices(organisationId)
11679
11679
  }), {
11680
11680
  method: 'get',
@@ -11713,7 +11713,7 @@ var getPractice = /*#__PURE__*/function () {
11713
11713
  doesParamExist.default({
11714
11714
  practiceId: practiceId
11715
11715
  }, opts.hyperMediaEndpoint);
11716
- return _context11.abrupt("return", request(_objectSpread$K({}, opts, {
11716
+ return _context11.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11717
11717
  path: pathPractice(practiceId)
11718
11718
  }), {
11719
11719
  method: 'get'
@@ -11742,7 +11742,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
11742
11742
  opts = {};
11743
11743
  }
11744
11744
 
11745
- return request(_objectSpread$K({}, opts, {
11745
+ return request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11746
11746
  path: pathPractice(practiceId) + "/verify/request"
11747
11747
  }), {
11748
11748
  method: 'post'
@@ -11760,7 +11760,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
11760
11760
  opts = {};
11761
11761
  }
11762
11762
 
11763
- return request(_objectSpread$K({}, opts, {
11763
+ return request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11764
11764
  path: pathPractice(practiceId) + "/access/request"
11765
11765
  }), {
11766
11766
  method: 'post',
@@ -11784,7 +11784,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
11784
11784
  opts = {};
11785
11785
  }
11786
11786
 
11787
- return request(_objectSpread$K({}, opts, {
11787
+ return request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11788
11788
  path: pathOnboardingPractices()
11789
11789
  }), {
11790
11790
  method: 'get',
@@ -11813,7 +11813,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
11813
11813
  businessId: businessId,
11814
11814
  practiceId: practiceId
11815
11815
  }, opts.hyperMediaEndpoint);
11816
- return _context12.abrupt("return", request(_objectSpread$K({}, opts, {
11816
+ return _context12.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11817
11817
  path: pathBusinessPractice(businessId, practiceId)
11818
11818
  }), {
11819
11819
  method: 'put',
@@ -11854,7 +11854,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
11854
11854
  organisationId: organisationId,
11855
11855
  practiceId: practiceId
11856
11856
  }, opts.hyperMediaEndpoint);
11857
- return _context13.abrupt("return", request(_objectSpread$K({}, opts, {
11857
+ return _context13.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11858
11858
  path: pathOrganisationPractice(organisationId, practiceId)
11859
11859
  }), {
11860
11860
  method: 'put',
@@ -11886,11 +11886,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
11886
11886
  opts = {};
11887
11887
  }
11888
11888
 
11889
- return request(_objectSpread$K({}, opts, {
11889
+ return request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11890
11890
  path: pathPractice(practiceId) + "/verify"
11891
11891
  }), {
11892
11892
  method: 'post',
11893
- data: _objectSpread$K({}, body, {
11893
+ data: _objectSpread$K(_objectSpread$K({}, body), {}, {
11894
11894
  otkCode: otkCode
11895
11895
  })
11896
11896
  });
@@ -11915,7 +11915,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
11915
11915
  doesParamExist.default({
11916
11916
  practiceId: practiceId
11917
11917
  }, opts.hyperMediaEndpoint);
11918
- return _context14.abrupt("return", request(_objectSpread$K({}, opts, {
11918
+ return _context14.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11919
11919
  path: pathPractice(practiceId) + "/clone"
11920
11920
  }), {
11921
11921
  method: 'post',
@@ -11960,7 +11960,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
11960
11960
  businessId: businessId,
11961
11961
  formId: formId
11962
11962
  }, opts.hyperMediaEndpoint);
11963
- return _context15.abrupt("return", request(_objectSpread$K({}, opts, {
11963
+ return _context15.abrupt("return", request(_objectSpread$K(_objectSpread$K({}, opts), {}, {
11964
11964
  path: pathGetPracticesWithApprovedApplications(businessId, formId)
11965
11965
  }), {
11966
11966
  method: 'get',
@@ -12022,7 +12022,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
12022
12022
  opts = {};
12023
12023
  }
12024
12024
 
12025
- return _context.abrupt("return", request(_objectSpread$L({}, opts, {
12025
+ return _context.abrupt("return", request(_objectSpread$L(_objectSpread$L({}, opts), {}, {
12026
12026
  path: PATH__PRACTICE_TYPES
12027
12027
  }), {
12028
12028
  method: 'get'
@@ -12066,7 +12066,7 @@ var getProducts = function getProducts(query, opts) {
12066
12066
  opts = {};
12067
12067
  }
12068
12068
 
12069
- return request(_objectSpread$M({}, opts, {
12069
+ return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12070
12070
  path: '/products'
12071
12071
  }), {
12072
12072
  method: 'get',
@@ -12088,7 +12088,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
12088
12088
  doesParamExist.default({
12089
12089
  businessId: businessId
12090
12090
  });
12091
- return request(_objectSpread$M({}, opts, {
12091
+ return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12092
12092
  path: pathBusinessProducts(businessId)
12093
12093
  }), {
12094
12094
  method: 'get',
@@ -12111,7 +12111,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
12111
12111
  businessId: businessId,
12112
12112
  productId: productId
12113
12113
  });
12114
- return request(_objectSpread$M({}, opts, {
12114
+ return request(_objectSpread$M(_objectSpread$M({}, opts), {}, {
12115
12115
  path: pathBusinessProduct(businessId, productId)
12116
12116
  }), {
12117
12117
  method: 'get'
@@ -12148,7 +12148,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
12148
12148
  opts = {};
12149
12149
  }
12150
12150
 
12151
- return request(_objectSpread$N({}, opts, {
12151
+ return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12152
12152
  path: pathProfessionalCategories
12153
12153
  }), {
12154
12154
  method: 'get',
@@ -12170,7 +12170,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
12170
12170
  doesParamExist.default({
12171
12171
  businessId: businessId
12172
12172
  });
12173
- return request(_objectSpread$N({}, opts, {
12173
+ return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12174
12174
  path: pathBusinessProfessionalCategories(businessId)
12175
12175
  }), {
12176
12176
  method: 'get',
@@ -12191,7 +12191,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
12191
12191
  doesParamExist.default({
12192
12192
  professionalCategoryId: professionalCategoryId
12193
12193
  });
12194
- return request(_objectSpread$N({}, opts, {
12194
+ return request(_objectSpread$N(_objectSpread$N({}, opts), {}, {
12195
12195
  path: pathProfessionalCategory(professionalCategoryId)
12196
12196
  }), {
12197
12197
  method: 'get'
@@ -12240,7 +12240,7 @@ var createProviderRequest = /*#__PURE__*/function () {
12240
12240
  doesParamExist.default({
12241
12241
  businessId: businessId
12242
12242
  }, opts.hyperMediaEndpoint);
12243
- return _context.abrupt("return", request(_objectSpread$O({}, opts, {
12243
+ return _context.abrupt("return", request(_objectSpread$O(_objectSpread$O({}, opts), {}, {
12244
12244
  path: pathBusinessProviderRequests(businessId)
12245
12245
  }), {
12246
12246
  method: 'post',
@@ -12281,7 +12281,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
12281
12281
  doesParamExist.default({
12282
12282
  businessId: businessId
12283
12283
  }, opts.hyperMediaEndpoint);
12284
- return _context2.abrupt("return", request(_objectSpread$O({}, opts, {
12284
+ return _context2.abrupt("return", request(_objectSpread$O(_objectSpread$O({}, opts), {}, {
12285
12285
  path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
12286
12286
  }), {
12287
12287
  method: 'post',
@@ -12332,7 +12332,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
12332
12332
  opts = {};
12333
12333
  }
12334
12334
 
12335
- return _context.abrupt("return", request(_objectSpread$P({}, opts, {
12335
+ return _context.abrupt("return", request(_objectSpread$P(_objectSpread$P({}, opts), {}, {
12336
12336
  path: pathGetProviderRegistrationTypes
12337
12337
  }), {
12338
12338
  method: 'get',
@@ -12367,7 +12367,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
12367
12367
  opts = {};
12368
12368
  }
12369
12369
 
12370
- return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
12370
+ return _context2.abrupt("return", request(_objectSpread$P(_objectSpread$P({}, opts), {}, {
12371
12371
  path: pathGetProviderRegistrationType(providerRegistrationTypeId)
12372
12372
  }), {
12373
12373
  method: 'get'
@@ -12423,7 +12423,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
12423
12423
  opts = {};
12424
12424
  }
12425
12425
 
12426
- return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
12426
+ return _context.abrupt("return", request(_objectSpread$Q(_objectSpread$Q({}, opts), {}, {
12427
12427
  path: pathProviderNumberTypes()
12428
12428
  }), {
12429
12429
  method: 'get',
@@ -12461,7 +12461,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
12461
12461
  doesParamExist.default({
12462
12462
  providerNumberTypeId: providerNumberTypeId
12463
12463
  }, opts.hyperMediaEndpoint);
12464
- return request(_objectSpread$Q({}, opts, {
12464
+ return request(_objectSpread$Q(_objectSpread$Q({}, opts), {}, {
12465
12465
  path: pathProviderNumberType(providerNumberTypeId)
12466
12466
  }), {
12467
12467
  method: 'get',
@@ -12496,7 +12496,7 @@ var getProviderTypes = /*#__PURE__*/function () {
12496
12496
  opts = {};
12497
12497
  }
12498
12498
 
12499
- return _context.abrupt("return", request(_objectSpread$R({}, opts, {
12499
+ return _context.abrupt("return", request(_objectSpread$R(_objectSpread$R({}, opts), {}, {
12500
12500
  path: PATH__PROVIDER_TYPES
12501
12501
  }), {
12502
12502
  method: 'get'
@@ -12529,7 +12529,7 @@ var getRefSources = function getRefSources(query, opts) {
12529
12529
  opts = {};
12530
12530
  }
12531
12531
 
12532
- return request(_objectSpread$S({}, opts, {
12532
+ return request(_objectSpread$S(_objectSpread$S({}, opts), {}, {
12533
12533
  path: PATH__REF_SOURCES
12534
12534
  }), {
12535
12535
  method: 'get',
@@ -12566,7 +12566,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
12566
12566
  doesParamExist.default({
12567
12567
  transactionId: transactionId
12568
12568
  }, opts.hyperMediaEndpoint);
12569
- return _context.abrupt("return", request(_objectSpread$T({}, opts, {
12569
+ return _context.abrupt("return", request(_objectSpread$T(_objectSpread$T({}, opts), {}, {
12570
12570
  apiName: 'risk',
12571
12571
  path: PATH__TRANSACTIONS + "/risk/" + transactionId
12572
12572
  }), {
@@ -12601,7 +12601,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
12601
12601
  opts = {};
12602
12602
  }
12603
12603
 
12604
- return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
12604
+ return _context2.abrupt("return", request(_objectSpread$T(_objectSpread$T({}, opts), {}, {
12605
12605
  apiName: 'risk',
12606
12606
  path: PATH__TRANSACTIONS
12607
12607
  }), {
@@ -12664,7 +12664,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
12664
12664
  doesParamExist.default({
12665
12665
  businessId: businessId
12666
12666
  }, opts.hyperMediaEndpoint);
12667
- return request(_objectSpread$U({}, opts, {
12667
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12668
12668
  path: pathBusinessesRNAs(businessId)
12669
12669
  }), {
12670
12670
  method: 'get',
@@ -12687,7 +12687,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
12687
12687
  businessId: businessId,
12688
12688
  rnaId: rnaId
12689
12689
  }, opts.hyperMediaEndpoint);
12690
- return request(_objectSpread$U({}, opts, {
12690
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12691
12691
  path: "" + pathBusinessRNA(businessId, rnaId)
12692
12692
  }), {
12693
12693
  method: 'get'
@@ -12708,7 +12708,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
12708
12708
  doesParamExist.default({
12709
12709
  businessId: businessId
12710
12710
  }, opts.hyperMediaEndpoint);
12711
- return request(_objectSpread$U({}, opts, {
12711
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12712
12712
  path: pathBusinessesRNAs(businessId) + "/exists"
12713
12713
  }), {
12714
12714
  method: 'get',
@@ -12723,7 +12723,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
12723
12723
  doesParamExist.default({
12724
12724
  healthFundId: healthFundId
12725
12725
  }, opts.hyperMediaEndpoint);
12726
- return request(_objectSpread$U({}, opts, {
12726
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12727
12727
  path: pathHealthFundRNAs(healthFundId)
12728
12728
  }), {
12729
12729
  method: 'post',
@@ -12739,7 +12739,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
12739
12739
  healthFundId: healthFundId,
12740
12740
  rnaId: rnaId
12741
12741
  }, opts.hyperMediaEndpoint);
12742
- return request(_objectSpread$U({}, opts, {
12742
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12743
12743
  path: pathHealthFundRNAAppointments(healthFundId, rnaId)
12744
12744
  }), {
12745
12745
  method: 'post',
@@ -12755,7 +12755,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
12755
12755
  healthFundId: healthFundId,
12756
12756
  rnaId: rnaId
12757
12757
  }, opts.hyperMediaEndpoint);
12758
- return request(_objectSpread$U({}, opts, {
12758
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12759
12759
  path: pathHealthFundRNA(healthFundId, rnaId)
12760
12760
  }), {
12761
12761
  method: 'get',
@@ -12770,7 +12770,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
12770
12770
  doesParamExist.default({
12771
12771
  healthFundId: healthFundId
12772
12772
  }, opts.hyperMediaEndpoint);
12773
- return request(_objectSpread$U({}, opts, {
12773
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12774
12774
  path: pathHealthFundRNAs(healthFundId)
12775
12775
  }), {
12776
12776
  method: 'get',
@@ -12787,7 +12787,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
12787
12787
  rnaId: rnaId,
12788
12788
  rnaAppointmentId: rnaAppointmentId
12789
12789
  }, opts.hyperMediaEndpoint);
12790
- return request(_objectSpread$U({}, opts, {
12790
+ return request(_objectSpread$U(_objectSpread$U({}, opts), {}, {
12791
12791
  path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
12792
12792
  }), {
12793
12793
  method: 'put',
@@ -12832,7 +12832,7 @@ var getRoles = /*#__PURE__*/function () {
12832
12832
  opts = {};
12833
12833
  }
12834
12834
 
12835
- return _context.abrupt("return", request(_objectSpread$V({}, opts, {
12835
+ return _context.abrupt("return", request(_objectSpread$V(_objectSpread$V({}, opts), {}, {
12836
12836
  path: PATH__ROLES
12837
12837
  }), {
12838
12838
  method: 'get'
@@ -12876,7 +12876,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
12876
12876
  opts = {};
12877
12877
  }
12878
12878
 
12879
- return _context.abrupt("return", request(_objectSpread$W({}, opts, {
12879
+ return _context.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
12880
12880
  path: PATH__SELF_CHECKOUT_SESSIONS
12881
12881
  }), {
12882
12882
  method: 'post',
@@ -12911,7 +12911,7 @@ var approve = /*#__PURE__*/function () {
12911
12911
  opts = {};
12912
12912
  }
12913
12913
 
12914
- return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
12914
+ return _context2.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
12915
12915
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
12916
12916
  }), {
12917
12917
  method: 'post',
@@ -12947,7 +12947,7 @@ var cancel$1 = /*#__PURE__*/function () {
12947
12947
  opts = {};
12948
12948
  }
12949
12949
 
12950
- return _context3.abrupt("return", request(_objectSpread$W({}, opts, {
12950
+ return _context3.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
12951
12951
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
12952
12952
  }), {
12953
12953
  method: 'post',
@@ -12983,7 +12983,7 @@ var cancelSession = /*#__PURE__*/function () {
12983
12983
  opts = {};
12984
12984
  }
12985
12985
 
12986
- return _context4.abrupt("return", request(_objectSpread$W({}, opts, {
12986
+ return _context4.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
12987
12987
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
12988
12988
  }), {
12989
12989
  method: 'post',
@@ -13018,7 +13018,7 @@ var createMyInvoice = /*#__PURE__*/function () {
13018
13018
  opts = {};
13019
13019
  }
13020
13020
 
13021
- return _context5.abrupt("return", request(_objectSpread$W({}, opts, {
13021
+ return _context5.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13022
13022
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
13023
13023
  }), {
13024
13024
  method: 'post',
@@ -13052,7 +13052,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
13052
13052
  opts = {};
13053
13053
  }
13054
13054
 
13055
- return _context6.abrupt("return", request(_objectSpread$W({}, opts, {
13055
+ return _context6.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13056
13056
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
13057
13057
  }), {
13058
13058
  method: 'post',
@@ -13092,7 +13092,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
13092
13092
  nonce: nonce,
13093
13093
  source: source
13094
13094
  }, opts.hyperMediaEndpoint);
13095
- return _context7.abrupt("return", request(_objectSpread$W({}, opts, {
13095
+ return _context7.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13096
13096
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
13097
13097
  }), {
13098
13098
  method: 'post',
@@ -13130,7 +13130,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
13130
13130
  opts = {};
13131
13131
  }
13132
13132
 
13133
- return _context8.abrupt("return", request(_objectSpread$W({}, opts, {
13133
+ return _context8.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13134
13134
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
13135
13135
  }), {
13136
13136
  method: 'get',
@@ -13184,7 +13184,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
13184
13184
  email: email,
13185
13185
  memberId: memberId
13186
13186
  });
13187
- return _context9.abrupt("return", request(_objectSpread$W({}, opts, {
13187
+ return _context9.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13188
13188
  path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
13189
13189
  }), {
13190
13190
  method: 'get',
@@ -13221,7 +13221,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
13221
13221
  opts = {};
13222
13222
  }
13223
13223
 
13224
- return _context10.abrupt("return", request(_objectSpread$W({}, opts, {
13224
+ return _context10.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13225
13225
  path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
13226
13226
  }), {
13227
13227
  method: 'post',
@@ -13256,7 +13256,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
13256
13256
  opts = {};
13257
13257
  }
13258
13258
 
13259
- return _context11.abrupt("return", request(_objectSpread$W({}, opts, {
13259
+ return _context11.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13260
13260
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
13261
13261
  }), {
13262
13262
  method: 'get',
@@ -13290,7 +13290,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
13290
13290
  opts = {};
13291
13291
  }
13292
13292
 
13293
- return _context12.abrupt("return", request(_objectSpread$W({}, opts, {
13293
+ return _context12.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13294
13294
  path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
13295
13295
  }), {
13296
13296
  method: 'get',
@@ -13324,7 +13324,7 @@ var rememberMe = /*#__PURE__*/function () {
13324
13324
  opts = {};
13325
13325
  }
13326
13326
 
13327
- return _context13.abrupt("return", request(_objectSpread$W({}, opts, {
13327
+ return _context13.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13328
13328
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
13329
13329
  }), {
13330
13330
  method: 'post',
@@ -13359,7 +13359,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
13359
13359
  opts = {};
13360
13360
  }
13361
13361
 
13362
- return _context14.abrupt("return", request(_objectSpread$W({}, opts, {
13362
+ return _context14.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13363
13363
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
13364
13364
  }), {
13365
13365
  method: 'put',
@@ -13398,7 +13398,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
13398
13398
  doesParamExist.default({
13399
13399
  accountId: accountId
13400
13400
  }, opts.hyperMediaEndpoint);
13401
- return _context15.abrupt("return", request(_objectSpread$W({}, opts, {
13401
+ return _context15.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13402
13402
  path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
13403
13403
  }), {
13404
13404
  method: 'post',
@@ -13642,7 +13642,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
13642
13642
  }
13643
13643
 
13644
13644
  _context18.next = 8;
13645
- return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$W({}, opts, {
13645
+ return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13646
13646
  requestConfig: {
13647
13647
  tokenType: 'session'
13648
13648
  }
@@ -13794,7 +13794,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
13794
13794
  doesParamExist.default({
13795
13795
  paymentMethodId: paymentMethodId
13796
13796
  }, opts.hyperMediaEndpoint);
13797
- return _context19.abrupt("return", request(_objectSpread$W({}, opts, {
13797
+ return _context19.abrupt("return", request(_objectSpread$W(_objectSpread$W({}, opts), {}, {
13798
13798
  path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
13799
13799
  }), {
13800
13800
  method: 'delete',
@@ -13889,7 +13889,7 @@ var createBusinessService = /*#__PURE__*/function () {
13889
13889
  doesParamExist.default({
13890
13890
  businessId: businessId
13891
13891
  }, opts.hyperMediaEndpoint);
13892
- return _context.abrupt("return", request(_objectSpread$X({}, opts, {
13892
+ return _context.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13893
13893
  path: "" + pathBusinessServices(businessId)
13894
13894
  }), {
13895
13895
  method: 'post',
@@ -13930,7 +13930,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
13930
13930
  businessId: businessId,
13931
13931
  practiceId: practiceId
13932
13932
  }, opts.hyperMediaEndpoint);
13933
- return _context2.abrupt("return", request(_objectSpread$X({}, opts, {
13933
+ return _context2.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13934
13934
  path: "" + pathBusinessPracticeServices(businessId, practiceId)
13935
13935
  }), {
13936
13936
  method: 'post',
@@ -13970,7 +13970,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
13970
13970
  businessId: businessId,
13971
13971
  serviceId: serviceId
13972
13972
  }, opts.hyperMediaEndpoint);
13973
- return _context3.abrupt("return", request(_objectSpread$X({}, opts, {
13973
+ return _context3.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
13974
13974
  path: "" + pathBusinessService(businessId, serviceId)
13975
13975
  }), {
13976
13976
  method: 'delete'
@@ -14009,7 +14009,7 @@ var getBusinessService = /*#__PURE__*/function () {
14009
14009
  businessId: businessId,
14010
14010
  serviceId: serviceId
14011
14011
  }, opts.hyperMediaEndpoint);
14012
- return _context4.abrupt("return", request(_objectSpread$X({}, opts, {
14012
+ return _context4.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14013
14013
  path: "" + pathBusinessService(businessId, serviceId)
14014
14014
  }), {
14015
14015
  method: 'get'
@@ -14047,7 +14047,7 @@ var getBusinessServices = /*#__PURE__*/function () {
14047
14047
  doesParamExist.default({
14048
14048
  businessId: businessId
14049
14049
  }, opts.hyperMediaEndpoint);
14050
- return _context5.abrupt("return", request(_objectSpread$X({}, opts, {
14050
+ return _context5.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14051
14051
  path: "" + pathBusinessServices(businessId)
14052
14052
  }), {
14053
14053
  method: 'get',
@@ -14089,7 +14089,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
14089
14089
  practiceId: practiceId,
14090
14090
  serviceId: serviceId
14091
14091
  }, opts.hyperMediaEndpoint);
14092
- return _context6.abrupt("return", request(_objectSpread$X({}, opts, {
14092
+ return _context6.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14093
14093
  path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
14094
14094
  }), {
14095
14095
  method: 'get'
@@ -14133,7 +14133,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
14133
14133
  businessId: businessId,
14134
14134
  practiceId: practiceId
14135
14135
  }, opts.hyperMediaEndpoint);
14136
- return _context7.abrupt("return", request(_objectSpread$X({}, opts, {
14136
+ return _context7.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14137
14137
  path: "" + pathBusinessPracticeServices(businessId, practiceId)
14138
14138
  }), {
14139
14139
  method: 'get',
@@ -14180,7 +14180,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
14180
14180
  practiceId: practiceId,
14181
14181
  staffId: staffId
14182
14182
  }, opts.hyperMediaEndpoint);
14183
- return _context8.abrupt("return", request(_objectSpread$X({}, opts, {
14183
+ return _context8.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14184
14184
  path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
14185
14185
  }), {
14186
14186
  method: 'get',
@@ -14229,7 +14229,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
14229
14229
  staffId: staffId,
14230
14230
  serviceId: serviceId
14231
14231
  }, opts.hyperMediaEndpoint);
14232
- return _context9.abrupt("return", request(_objectSpread$X({}, opts, {
14232
+ return _context9.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14233
14233
  path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
14234
14234
  }), {
14235
14235
  method: 'get',
@@ -14270,7 +14270,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
14270
14270
  opts = {};
14271
14271
  }
14272
14272
 
14273
- return _context10.abrupt("return", request(_objectSpread$X({}, opts, {
14273
+ return _context10.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14274
14274
  path: "" + pathBusinessStaffMemberServices(businessId, staffId)
14275
14275
  }), {
14276
14276
  method: 'get',
@@ -14311,7 +14311,7 @@ var updateBusinessService = /*#__PURE__*/function () {
14311
14311
  businessId: businessId,
14312
14312
  serviceId: serviceId
14313
14313
  }, opts.hyperMediaEndpoint);
14314
- return _context11.abrupt("return", request(_objectSpread$X({}, opts, {
14314
+ return _context11.abrupt("return", request(_objectSpread$X(_objectSpread$X({}, opts), {}, {
14315
14315
  path: "" + pathBusinessService(businessId, serviceId)
14316
14316
  }), {
14317
14317
  method: 'put',
@@ -14373,7 +14373,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
14373
14373
  doesParamExist.default({
14374
14374
  businessId: businessId
14375
14375
  }, opts.hyperMediaEndpoint);
14376
- return request(_objectSpread$Y({}, opts, {
14376
+ return request(_objectSpread$Y(_objectSpread$Y({}, opts), {}, {
14377
14377
  path: pathBusiness$1(businessId) + "/settlements"
14378
14378
  }), {
14379
14379
  method: 'get',
@@ -14399,7 +14399,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
14399
14399
  doesParamExist.default({
14400
14400
  businessId: businessId
14401
14401
  }, opts.hyperMediaEndpoint);
14402
- return request(_objectSpread$Y({}, opts, {
14402
+ return request(_objectSpread$Y(_objectSpread$Y({}, opts), {}, {
14403
14403
  path: pathBusiness$1(businessId) + "/settlementsummaries"
14404
14404
  }), {
14405
14405
  method: 'get',
@@ -14425,7 +14425,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
14425
14425
  doesParamExist.default({
14426
14426
  businessId: businessId
14427
14427
  }, opts.hyperMediaEndpoint);
14428
- return request(_objectSpread$Y({}, opts, {
14428
+ return request(_objectSpread$Y(_objectSpread$Y({}, opts), {}, {
14429
14429
  path: pathBusiness$1(businessId) + "/settlementsummaries/period"
14430
14430
  }), {
14431
14431
  method: 'get',
@@ -14455,7 +14455,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
14455
14455
  doesParamExist.default({
14456
14456
  settlementSummaryId: settlementSummaryId
14457
14457
  }, opts.hyperMediaEndpoint);
14458
- return request(_objectSpread$Y({}, opts, {
14458
+ return request(_objectSpread$Y(_objectSpread$Y({}, opts), {}, {
14459
14459
  path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
14460
14460
  }), {
14461
14461
  method: 'get',
@@ -14481,7 +14481,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
14481
14481
  doesParamExist.default({
14482
14482
  businessId: businessId
14483
14483
  }, opts.hyperMediaEndpoint);
14484
- return request(_objectSpread$Y({}, opts, {
14484
+ return request(_objectSpread$Y(_objectSpread$Y({}, opts), {}, {
14485
14485
  path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
14486
14486
  }), {
14487
14487
  method: 'get',
@@ -14512,7 +14512,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
14512
14512
  opts = {};
14513
14513
  }
14514
14514
 
14515
- return request(_objectSpread$Z({}, opts, {
14515
+ return request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14516
14516
  path: pathBusinessSignUp()
14517
14517
  }), {
14518
14518
  method: 'post',
@@ -14524,7 +14524,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
14524
14524
  opts = {};
14525
14525
  }
14526
14526
 
14527
- return request(_objectSpread$Z({}, opts, {
14527
+ return request(_objectSpread$Z(_objectSpread$Z({}, opts), {}, {
14528
14528
  path: pathSignUp()
14529
14529
  }), {
14530
14530
  method: 'post',
@@ -14561,7 +14561,7 @@ var getSpecialties = function getSpecialties(query, opts) {
14561
14561
  opts = {};
14562
14562
  }
14563
14563
 
14564
- return request(_objectSpread$_({}, opts, {
14564
+ return request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14565
14565
  path: pathSpecialties
14566
14566
  }), {
14567
14567
  method: 'get',
@@ -14583,7 +14583,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
14583
14583
  doesParamExist.default({
14584
14584
  businessId: businessId
14585
14585
  });
14586
- return request(_objectSpread$_({}, opts, {
14586
+ return request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14587
14587
  path: pathBusinessSpecialties(businessId)
14588
14588
  }), {
14589
14589
  method: 'get',
@@ -14604,7 +14604,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
14604
14604
  doesParamExist.default({
14605
14605
  specialtyId: specialtyId
14606
14606
  });
14607
- return request(_objectSpread$_({}, opts, {
14607
+ return request(_objectSpread$_(_objectSpread$_({}, opts), {}, {
14608
14608
  path: pathSpecialty(specialtyId)
14609
14609
  }), {
14610
14610
  method: 'get'
@@ -14644,7 +14644,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
14644
14644
  doesParamExist.default({
14645
14645
  organisationId: organisationId
14646
14646
  }, opts.hyperMediaEndpoint);
14647
- return request(_objectSpread$$({}, opts, {
14647
+ return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
14648
14648
  path: pathOrganisationStaffProfiles(organisationId)
14649
14649
  }), {
14650
14650
  method: 'get',
@@ -14659,7 +14659,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
14659
14659
  doesParamExist.default({
14660
14660
  staffProfileId: staffProfileId
14661
14661
  }, opts.hyperMediaEndpoint);
14662
- return request(_objectSpread$$({}, opts, {
14662
+ return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
14663
14663
  path: pathStaffProfile(staffProfileId)
14664
14664
  }), {
14665
14665
  method: 'get'
@@ -14677,7 +14677,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
14677
14677
  var body = {
14678
14678
  staffId: staffId
14679
14679
  };
14680
- return request(_objectSpread$$({}, opts, {
14680
+ return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
14681
14681
  path: pathLinkStaffProfile(staffProfileId)
14682
14682
  }), {
14683
14683
  method: 'put',
@@ -14692,7 +14692,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
14692
14692
  doesParamExist.default({
14693
14693
  staffProfileId: staffProfileId
14694
14694
  }, opts.hyperMediaEndpoint);
14695
- return request(_objectSpread$$({}, opts, {
14695
+ return request(_objectSpread$$(_objectSpread$$({}, opts), {}, {
14696
14696
  path: pathUnlinkStaffProfile(staffProfileId)
14697
14697
  }), {
14698
14698
  method: 'put'
@@ -14780,7 +14780,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
14780
14780
  doesParamExist.default({
14781
14781
  businessId: businessId
14782
14782
  }, opts.hyperMediaEndpoint);
14783
- return _context.abrupt("return", request(_objectSpread$10({}, opts, {
14783
+ return _context.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
14784
14784
  path: pathBusinessStaff(businessId)
14785
14785
  }), {
14786
14786
  method: 'post',
@@ -14819,7 +14819,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
14819
14819
  doesParamExist.default({
14820
14820
  organisationId: organisationId
14821
14821
  }, opts.hyperMediaEndpoint);
14822
- return _context2.abrupt("return", request(_objectSpread$10({}, opts, {
14822
+ return _context2.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
14823
14823
  path: pathOrganisationStaff(organisationId)
14824
14824
  }), {
14825
14825
  method: 'post',
@@ -14859,7 +14859,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
14859
14859
  businessId: businessId,
14860
14860
  staffId: staffId
14861
14861
  }, opts.hyperMediaEndpoint);
14862
- return _context3.abrupt("return", request(_objectSpread$10({}, opts, {
14862
+ return _context3.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
14863
14863
  path: pathBusinessStaffMember(businessId, staffId)
14864
14864
  }), {
14865
14865
  method: 'delete'
@@ -14898,7 +14898,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
14898
14898
  businessId: businessId,
14899
14899
  staffId: staffId
14900
14900
  }, opts.hyperMediaEndpoint);
14901
- return _context4.abrupt("return", request(_objectSpread$10({}, opts, {
14901
+ return _context4.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
14902
14902
  path: pathBusinessStaffMember(businessId, staffId) + "/email"
14903
14903
  }), {
14904
14904
  method: 'delete'
@@ -14937,7 +14937,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
14937
14937
  businessId: businessId,
14938
14938
  staffId: staffId
14939
14939
  }, opts.hyperMediaEndpoint);
14940
- return _context5.abrupt("return", request(_objectSpread$10({}, opts, {
14940
+ return _context5.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
14941
14941
  path: pathBusinessStaffMember(businessId, staffId)
14942
14942
  }), {
14943
14943
  method: 'get'
@@ -14977,7 +14977,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
14977
14977
  businessId: businessId,
14978
14978
  staffId: staffId
14979
14979
  }, opts.hyperMediaEndpoint);
14980
- return _context6.abrupt("return", request(_objectSpread$10({}, opts, {
14980
+ return _context6.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
14981
14981
  path: pathBusinessStaffMember(businessId, staffId) + "/roles"
14982
14982
  }), {
14983
14983
  method: 'get',
@@ -15021,7 +15021,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
15021
15021
  practiceId: practiceId,
15022
15022
  staffId: staffId
15023
15023
  }, opts.hyperMediaEndpoint);
15024
- return _context7.abrupt("return", request(_objectSpread$10({}, opts, {
15024
+ return _context7.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15025
15025
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
15026
15026
  }), {
15027
15027
  method: 'get'
@@ -15067,7 +15067,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
15067
15067
  practiceId: practiceId,
15068
15068
  staffId: staffId
15069
15069
  }, opts.hyperMediaEndpoint);
15070
- return _context8.abrupt("return", request(_objectSpread$10({}, opts, {
15070
+ return _context8.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15071
15071
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
15072
15072
  }), {
15073
15073
  method: 'get',
@@ -15108,7 +15108,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
15108
15108
  businessId: businessId,
15109
15109
  practiceId: practiceId
15110
15110
  }, opts.hyperMediaEndpoint);
15111
- return _context9.abrupt("return", request(_objectSpread$10({}, opts, {
15111
+ return _context9.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15112
15112
  path: pathBusinessPracticeStaffMembers(businessId, practiceId)
15113
15113
  }), {
15114
15114
  method: 'get',
@@ -15151,7 +15151,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
15151
15151
  formId: formId,
15152
15152
  practiceId: practiceId
15153
15153
  }, opts.hyperMediaEndpoint);
15154
- return _context10.abrupt("return", request(_objectSpread$10({}, opts, {
15154
+ return _context10.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15155
15155
  path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
15156
15156
  }), {
15157
15157
  method: 'get',
@@ -15196,7 +15196,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
15196
15196
  businessId: businessId,
15197
15197
  serviceId: serviceId
15198
15198
  }, opts.hyperMediaEndpoint);
15199
- return _context11.abrupt("return", request(_objectSpread$10({}, opts, {
15199
+ return _context11.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15200
15200
  path: pathBusinessServiceStaffMembers(businessId, serviceId)
15201
15201
  }), {
15202
15202
  method: 'get',
@@ -15233,7 +15233,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
15233
15233
  doesParamExist.default({
15234
15234
  businessId: businessId
15235
15235
  }, opts.hyperMediaEndpoint);
15236
- return _context12.abrupt("return", request(_objectSpread$10({}, opts, {
15236
+ return _context12.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15237
15237
  path: pathBusinessStaff(businessId)
15238
15238
  }), {
15239
15239
  method: 'get',
@@ -15275,7 +15275,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
15275
15275
  staffId: staffId,
15276
15276
  contentType: contentType
15277
15277
  }, opts.hyperMediaEndpoint);
15278
- return _context13.abrupt("return", request(_objectSpread$10({}, opts, {
15278
+ return _context13.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15279
15279
  path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
15280
15280
  }), {
15281
15281
  method: 'get',
@@ -15319,7 +15319,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
15319
15319
  doesParamExist.default({
15320
15320
  organisationId: organisationId
15321
15321
  }, opts.hyperMediaEndpoint);
15322
- return _context14.abrupt("return", request(_objectSpread$10({}, opts, {
15322
+ return _context14.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15323
15323
  path: pathOrganisationStaff(organisationId)
15324
15324
  }), {
15325
15325
  method: 'get',
@@ -15357,7 +15357,7 @@ var getStaffMember = /*#__PURE__*/function () {
15357
15357
  doesParamExist.default({
15358
15358
  staffId: staffId
15359
15359
  }, opts.hyperMediaEndpoint);
15360
- return _context15.abrupt("return", request(_objectSpread$10({}, opts, {
15360
+ return _context15.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15361
15361
  path: pathStaffMember(staffId)
15362
15362
  }), {
15363
15363
  method: 'get'
@@ -15399,7 +15399,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
15399
15399
  practiceId: practiceId,
15400
15400
  staffId: staffId
15401
15401
  }, opts.hyperMediaEndpoint);
15402
- return _context16.abrupt("return", request(_objectSpread$10({}, opts, {
15402
+ return _context16.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15403
15403
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
15404
15404
  }), {
15405
15405
  method: 'post',
@@ -15443,7 +15443,7 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
15443
15443
  businessId: businessId,
15444
15444
  staffId: staffId
15445
15445
  }, opts.hyperMediaEndpoint);
15446
- return _context17.abrupt("return", request(_objectSpread$10({}, opts, {
15446
+ return _context17.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15447
15447
  path: pathBusinessStaffMember(businessId, staffId) + "/roles"
15448
15448
  }), {
15449
15449
  method: 'post',
@@ -15484,7 +15484,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
15484
15484
  doesParamExist.default({
15485
15485
  businessId: businessId
15486
15486
  }, opts.hyperMediaEndpoint);
15487
- return _context18.abrupt("return", request(_objectSpread$10({}, opts, {
15487
+ return _context18.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15488
15488
  path: pathBusinessStaff(businessId) + "/invites"
15489
15489
  }), {
15490
15490
  method: 'post',
@@ -15529,7 +15529,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
15529
15529
  doesParamExist.default({
15530
15530
  businessId: businessId
15531
15531
  }, opts.hyperMediaEndpoint);
15532
- return _context19.abrupt("return", request(_objectSpread$10({}, opts, {
15532
+ return _context19.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15533
15533
  path: pathBusinessStaffMember(businessId, staffId) + "/invites"
15534
15534
  }), {
15535
15535
  method: 'post',
@@ -15572,7 +15572,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
15572
15572
  practiceId: practiceId,
15573
15573
  staffId: staffId
15574
15574
  }, opts.hyperMediaEndpoint);
15575
- return _context20.abrupt("return", request(_objectSpread$10({}, opts, {
15575
+ return _context20.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15576
15576
  path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
15577
15577
  }), {
15578
15578
  method: 'delete',
@@ -15616,7 +15616,7 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
15616
15616
  businessId: businessId,
15617
15617
  staffId: staffId
15618
15618
  }, opts.hyperMediaEndpoint);
15619
- return _context21.abrupt("return", request(_objectSpread$10({}, opts, {
15619
+ return _context21.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15620
15620
  path: pathBusinessStaffMember(businessId, staffId) + "/roles"
15621
15621
  }), {
15622
15622
  method: 'delete',
@@ -15659,7 +15659,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
15659
15659
  businessId: businessId,
15660
15660
  staffId: staffId
15661
15661
  }, opts.hyperMediaEndpoint);
15662
- return _context22.abrupt("return", request(_objectSpread$10({}, opts, {
15662
+ return _context22.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15663
15663
  path: pathBusinessStaffMember(businessId, staffId)
15664
15664
  }), {
15665
15665
  method: 'put',
@@ -15700,7 +15700,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
15700
15700
  businessId: businessId,
15701
15701
  staffId: staffId
15702
15702
  }, opts.hyperMediaEndpoint);
15703
- return _context23.abrupt("return", request(_objectSpread$10({}, opts, {
15703
+ return _context23.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15704
15704
  path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
15705
15705
  }), {
15706
15706
  method: 'post',
@@ -15741,7 +15741,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
15741
15741
  organisationId: organisationId,
15742
15742
  staffId: staffId
15743
15743
  }, opts.hyperMediaEndpoint);
15744
- return _context24.abrupt("return", request(_objectSpread$10({}, opts, {
15744
+ return _context24.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15745
15745
  path: pathOrganisationStaffMember(organisationId, staffId)
15746
15746
  }), {
15747
15747
  method: 'put',
@@ -15780,7 +15780,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
15780
15780
  doesParamExist.default({
15781
15781
  staffId: staffId
15782
15782
  }, opts.hyperMediaEndpoint);
15783
- return _context25.abrupt("return", request(_objectSpread$10({}, opts, {
15783
+ return _context25.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15784
15784
  path: pathStaffMember(staffId) + "/verify"
15785
15785
  }), {
15786
15786
  method: 'post',
@@ -15819,7 +15819,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
15819
15819
  doesParamExist.default({
15820
15820
  staffId: staffId
15821
15821
  }, opts.hyperMediaEndpoint);
15822
- return _context26.abrupt("return", request(_objectSpread$10({}, opts, {
15822
+ return _context26.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15823
15823
  path: pathStaffMember(staffId) + "/clone"
15824
15824
  }), {
15825
15825
  method: 'post',
@@ -15853,7 +15853,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
15853
15853
  doesParamExist.default({
15854
15854
  businessId: businessId
15855
15855
  }, opts.hyperMediaEndpoint);
15856
- return request(_objectSpread$10({}, opts, {
15856
+ return request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15857
15857
  path: pathBusinessStaff(businessId) + "/exists"
15858
15858
  }), {
15859
15859
  method: 'get',
@@ -15882,7 +15882,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
15882
15882
  businessId: businessId,
15883
15883
  staffId: staffId
15884
15884
  }, opts.hyperMediaEndpoint);
15885
- return _context27.abrupt("return", request(_objectSpread$10({}, opts, {
15885
+ return _context27.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15886
15886
  path: "" + pathProviderSetItems(businessId, staffId)
15887
15887
  }), {
15888
15888
  method: 'post',
@@ -15925,7 +15925,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
15925
15925
  staffId: staffId,
15926
15926
  providerSetItemId: providerSetItemId
15927
15927
  }, opts.hyperMediaEndpoint);
15928
- return _context28.abrupt("return", request(_objectSpread$10({}, opts, {
15928
+ return _context28.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15929
15929
  path: pathProviderSetItem(businessId, staffId, providerSetItemId)
15930
15930
  }), {
15931
15931
  method: 'put',
@@ -15967,7 +15967,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
15967
15967
  staffId: staffId,
15968
15968
  providerSetItemId: providerSetItemId
15969
15969
  }, opts.hyperMediaEndpoint);
15970
- return _context29.abrupt("return", request(_objectSpread$10({}, opts, {
15970
+ return _context29.abrupt("return", request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
15971
15971
  path: pathProviderSetItem(businessId, staffId, providerSetItemId)
15972
15972
  }), {
15973
15973
  method: 'delete'
@@ -16000,11 +16000,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
16000
16000
  doesParamExist.default({
16001
16001
  businessId: businessId
16002
16002
  }, opts.hyperMediaEndpoint);
16003
- return request(_objectSpread$10({}, opts, {
16003
+ return request(_objectSpread$10(_objectSpread$10({}, opts), {}, {
16004
16004
  path: pathProvidersStatus
16005
16005
  }), {
16006
16006
  method: 'get',
16007
- params: _objectSpread$10({}, query, {
16007
+ params: _objectSpread$10(_objectSpread$10({}, query), {}, {
16008
16008
  businessId: businessId
16009
16009
  })
16010
16010
  });
@@ -16099,7 +16099,7 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
16099
16099
  doesParamExist.default({
16100
16100
  healthFundId: healthFundId
16101
16101
  }, opts.hyperMediaEndpoint);
16102
- return _context.abrupt("return", request(_objectSpread$11({}, opts, {
16102
+ return _context.abrupt("return", request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
16103
16103
  path: pathTransactionStatsForHealthFundId(healthFundId)
16104
16104
  }), {
16105
16105
  method: 'get',
@@ -16147,7 +16147,7 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
16147
16147
  doesParamExist.default({
16148
16148
  healthFundId: healthFundId
16149
16149
  }, opts.hyperMediaEndpoint);
16150
- return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
16150
+ return _context2.abrupt("return", request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
16151
16151
  path: pathTransactionStatsCSVForHealthFundId(healthFundId)
16152
16152
  }), {
16153
16153
  method: 'get',
@@ -16195,7 +16195,7 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
16195
16195
  doesParamExist.default({
16196
16196
  healthFundId: healthFundId
16197
16197
  }, opts.hyperMediaEndpoint);
16198
- return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
16198
+ return _context3.abrupt("return", request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
16199
16199
  path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
16200
16200
  }), {
16201
16201
  method: 'get',
@@ -16243,7 +16243,7 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
16243
16243
  doesParamExist.default({
16244
16244
  businessId: businessId
16245
16245
  }, opts.hyperMediaEndpoint);
16246
- return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
16246
+ return _context4.abrupt("return", request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
16247
16247
  path: pathTransactionStatsForBusiness(businessId)
16248
16248
  }), {
16249
16249
  method: 'get',
@@ -16293,7 +16293,7 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
16293
16293
  businessId: businessId,
16294
16294
  practiceId: practiceId
16295
16295
  }, opts.hyperMediaEndpoint);
16296
- return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
16296
+ return _context5.abrupt("return", request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
16297
16297
  path: pathTransactionStatsForPractice(businessId, practiceId)
16298
16298
  }), {
16299
16299
  method: 'get',
@@ -16341,7 +16341,7 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
16341
16341
  doesParamExist.default({
16342
16342
  organisationId: organisationId
16343
16343
  }, opts.hyperMediaEndpoint);
16344
- return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
16344
+ return _context6.abrupt("return", request(_objectSpread$11(_objectSpread$11({}, opts), {}, {
16345
16345
  path: pathTransactionStatsForOrganisation(organisationId)
16346
16346
  }), {
16347
16347
  method: 'get',
@@ -16398,7 +16398,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
16398
16398
  doesParamExist.default({
16399
16399
  businessId: businessId
16400
16400
  });
16401
- return request(_objectSpread$12({}, opts, {
16401
+ return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
16402
16402
  path: pathBusinessSubscriptions(businessId)
16403
16403
  }), {
16404
16404
  method: 'post',
@@ -16420,7 +16420,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
16420
16420
  doesParamExist.default({
16421
16421
  businessId: businessId
16422
16422
  });
16423
- return request(_objectSpread$12({}, opts, {
16423
+ return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
16424
16424
  path: pathBusinessSubscriptions(businessId)
16425
16425
  }), {
16426
16426
  method: 'get',
@@ -16443,7 +16443,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
16443
16443
  businessId: businessId,
16444
16444
  subscriptionId: subscriptionId
16445
16445
  });
16446
- return request(_objectSpread$12({}, opts, {
16446
+ return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
16447
16447
  path: pathBusinessSubscription(businessId, subscriptionId)
16448
16448
  }), {
16449
16449
  method: 'get'
@@ -16466,7 +16466,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
16466
16466
  businessId: businessId,
16467
16467
  subscriptionId: subscriptionId
16468
16468
  });
16469
- return request(_objectSpread$12({}, opts, {
16469
+ return request(_objectSpread$12(_objectSpread$12({}, opts), {}, {
16470
16470
  path: pathBusinessSubscription(businessId, subscriptionId)
16471
16471
  }), {
16472
16472
  method: 'put',
@@ -16524,7 +16524,7 @@ var registerTerminal = /*#__PURE__*/function () {
16524
16524
  businessId: businessId,
16525
16525
  practiceId: practiceId
16526
16526
  }, opts.hyperMediaEndpoint);
16527
- return _context.abrupt("return", request(_objectSpread$13({}, opts, {
16527
+ return _context.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16528
16528
  path: pathTerminalsByPracticeId(businessId, practiceId)
16529
16529
  }), {
16530
16530
  method: 'post',
@@ -16563,7 +16563,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
16563
16563
  doesParamExist.default({
16564
16564
  businessId: businessId
16565
16565
  }, opts.hyperMediaEndpoint);
16566
- return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
16566
+ return _context2.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16567
16567
  path: pathTerminalsByBusinessId(businessId)
16568
16568
  }), {
16569
16569
  method: 'get',
@@ -16604,7 +16604,7 @@ var getTerminals = /*#__PURE__*/function () {
16604
16604
  businessId: businessId,
16605
16605
  practiceId: practiceId
16606
16606
  }, opts.hyperMediaEndpoint);
16607
- return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
16607
+ return _context3.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16608
16608
  path: pathTerminalsByPracticeId(businessId, practiceId)
16609
16609
  }), {
16610
16610
  method: 'get',
@@ -16647,7 +16647,7 @@ var getTerminal = /*#__PURE__*/function () {
16647
16647
  practiceId: practiceId,
16648
16648
  terminalId: terminalId
16649
16649
  }, opts.hyperMediaEndpoint);
16650
- return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
16650
+ return _context4.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16651
16651
  path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
16652
16652
  }), {
16653
16653
  method: 'get'
@@ -16689,7 +16689,7 @@ var updateTerminal = /*#__PURE__*/function () {
16689
16689
  practiceId: practiceId,
16690
16690
  terminalId: terminalId
16691
16691
  }, opts.hyperMediaEndpoint);
16692
- return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
16692
+ return _context5.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16693
16693
  path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
16694
16694
  }), {
16695
16695
  method: 'put',
@@ -16731,7 +16731,7 @@ var deleteTerminal = /*#__PURE__*/function () {
16731
16731
  practiceId: practiceId,
16732
16732
  terminalId: terminalId
16733
16733
  }, opts.hyperMediaEndpoint);
16734
- return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
16734
+ return _context6.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16735
16735
  path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
16736
16736
  }), {
16737
16737
  method: 'delete'
@@ -16770,7 +16770,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
16770
16770
  businessId: businessId,
16771
16771
  practiceId: practiceId
16772
16772
  }, opts.hyperMediaEndpoint);
16773
- return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
16773
+ return _context7.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16774
16774
  path: pathClientTokenByPracticeId(businessId, practiceId)
16775
16775
  }), {
16776
16776
  method: 'get'
@@ -16812,7 +16812,7 @@ var resetTerminal = /*#__PURE__*/function () {
16812
16812
  practiceId: practiceId,
16813
16813
  terminalId: terminalId
16814
16814
  }, opts.hyperMediaEndpoint);
16815
- return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
16815
+ return _context8.abrupt("return", request(_objectSpread$13(_objectSpread$13({}, opts), {}, {
16816
16816
  path: pathResetTerminal(businessId, practiceId, terminalId)
16817
16817
  }), {
16818
16818
  method: 'post',
@@ -16878,7 +16878,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
16878
16878
  doesParamExist.default({
16879
16879
  healthFundId: healthFundId
16880
16880
  }, opts.hyperMediaEndpoint);
16881
- return _context.abrupt("return", request(_objectSpread$14({}, opts, {
16881
+ return _context.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
16882
16882
  path: pathCreateHealthFundTransactionExport(healthFundId)
16883
16883
  }), {
16884
16884
  method: 'post',
@@ -16923,7 +16923,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
16923
16923
  healthFundId: healthFundId,
16924
16924
  transactionExportId: transactionExportId
16925
16925
  }, opts.hyperMediaEndpoint);
16926
- return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
16926
+ return _context2.abrupt("return", request(_objectSpread$14(_objectSpread$14({}, opts), {}, {
16927
16927
  path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
16928
16928
  }), {
16929
16929
  method: 'get',
@@ -17181,7 +17181,7 @@ var approveTransaction = /*#__PURE__*/function () {
17181
17181
  doesParamExist.default({
17182
17182
  transactionId: transactionId
17183
17183
  }, opts.hyperMediaEndpoint);
17184
- return _context.abrupt("return", request(_objectSpread$15({}, opts, {
17184
+ return _context.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17185
17185
  path: pathTransactionApprove(transactionId)
17186
17186
  }), {
17187
17187
  method: 'post',
@@ -17219,7 +17219,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
17219
17219
  doesParamExist.default({
17220
17220
  healthFundId: healthFundId
17221
17221
  }, opts.hyperMediaEndpoint);
17222
- return _context2.abrupt("return", request(_objectSpread$15({}, opts, {
17222
+ return _context2.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17223
17223
  path: pathHealthFundTransactionsAssign(healthFundId)
17224
17224
  }), {
17225
17225
  method: 'post',
@@ -17259,7 +17259,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
17259
17259
  transactionId: transactionId,
17260
17260
  healthFundId: healthFundId
17261
17261
  }, opts.hyperMediaEndpoint);
17262
- return _context3.abrupt("return", request(_objectSpread$15({}, opts, {
17262
+ return _context3.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17263
17263
  path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
17264
17264
  }), {
17265
17265
  method: 'put'
@@ -17296,7 +17296,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
17296
17296
  doesParamExist.default({
17297
17297
  transactionId: transactionId
17298
17298
  }, opts.hyperMediaEndpoint);
17299
- return _context4.abrupt("return", request(_objectSpread$15({}, opts, {
17299
+ return _context4.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17300
17300
  path: pathTransactionByTransactionId(transactionId) + "/assigntome"
17301
17301
  }), {
17302
17302
  method: 'put'
@@ -17333,7 +17333,7 @@ var cancelTransaction = /*#__PURE__*/function () {
17333
17333
  doesParamExist.default({
17334
17334
  transactionId: transactionId
17335
17335
  }, opts.hyperMediaEndpoint);
17336
- return _context5.abrupt("return", request(_objectSpread$15({}, opts, {
17336
+ return _context5.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17337
17337
  path: pathTransactionByTransactionId(transactionId) + "/cancellations"
17338
17338
  }), {
17339
17339
  data: body,
@@ -17373,7 +17373,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
17373
17373
  transactionId: transactionId,
17374
17374
  businessId: businessId
17375
17375
  }, opts.hyperMediaEndpoint);
17376
- return _context6.abrupt("return", request(_objectSpread$15({}, opts, {
17376
+ return _context6.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17377
17377
  path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
17378
17378
  }), {
17379
17379
  data: body,
@@ -17416,7 +17416,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
17416
17416
  practiceId: practiceId,
17417
17417
  staffId: staffId
17418
17418
  }, opts.hyperMediaEndpoint);
17419
- return _context7.abrupt("return", request(_objectSpread$15({}, opts, {
17419
+ return _context7.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17420
17420
  path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
17421
17421
  }), {
17422
17422
  method: 'post',
@@ -17457,7 +17457,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
17457
17457
  businessId: businessId,
17458
17458
  practiceId: practiceId
17459
17459
  }, opts.hyperMediaEndpoint);
17460
- return _context8.abrupt("return", request(_objectSpread$15({}, opts, {
17460
+ return _context8.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17461
17461
  path: pathBusinessPracticeInvoices(businessId, practiceId)
17462
17462
  }), {
17463
17463
  method: 'post',
@@ -17496,7 +17496,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
17496
17496
  doesParamExist.default({
17497
17497
  businessId: businessId
17498
17498
  }, opts.hyperMediaEndpoint);
17499
- return _context9.abrupt("return", request(_objectSpread$15({}, opts, {
17499
+ return _context9.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17500
17500
  path: pathBusinessTransactionQuotes(businessId)
17501
17501
  }), {
17502
17502
  method: 'post',
@@ -17539,7 +17539,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
17539
17539
  practiceId: practiceId,
17540
17540
  staffId: staffId
17541
17541
  }, opts.hyperMediaEndpoint);
17542
- return _context10.abrupt("return", request(_objectSpread$15({}, opts, {
17542
+ return _context10.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17543
17543
  path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
17544
17544
  }), {
17545
17545
  method: 'post',
@@ -17590,7 +17590,7 @@ var createPayment = /*#__PURE__*/function () {
17590
17590
  };
17591
17591
  }
17592
17592
 
17593
- return _context11.abrupt("return", request(_objectSpread$15({}, opts, {
17593
+ return _context11.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17594
17594
  path: pathTransactionByTransactionId(transactionId) + "/payments"
17595
17595
  }), {
17596
17596
  method: 'post',
@@ -17629,7 +17629,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
17629
17629
  doesParamExist.default({
17630
17630
  transactionId: transactionId
17631
17631
  }, opts.hyperMediaEndpoint);
17632
- return _context12.abrupt("return", request(_objectSpread$15({}, opts, {
17632
+ return _context12.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17633
17633
  path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
17634
17634
  }), {
17635
17635
  method: 'post',
@@ -17669,7 +17669,7 @@ var completeQuote = /*#__PURE__*/function () {
17669
17669
  transactionId: transactionId,
17670
17670
  memberId: memberId
17671
17671
  }, opts.hyperMediaEndpoint);
17672
- return _context13.abrupt("return", request(_objectSpread$15({}, opts, {
17672
+ return _context13.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17673
17673
  path: pathTransactionByTransactionId(transactionId) + "/completequote"
17674
17674
  }), {
17675
17675
  method: 'post',
@@ -17711,7 +17711,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
17711
17711
  transactionId: transactionId,
17712
17712
  tagId: tagId
17713
17713
  }, opts.hyperMediaEndpoint);
17714
- return _context14.abrupt("return", request(_objectSpread$15({}, opts, {
17714
+ return _context14.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17715
17715
  path: pathTransactionTag(transactionId, tagId)
17716
17716
  }), {
17717
17717
  method: 'delete'
@@ -17748,7 +17748,7 @@ var deleteTransaction = /*#__PURE__*/function () {
17748
17748
  doesParamExist.default({
17749
17749
  transactionId: transactionId
17750
17750
  }, opts.hyperMediaEndpoint);
17751
- return _context15.abrupt("return", request(_objectSpread$15({}, opts, {
17751
+ return _context15.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17752
17752
  path: pathTransactionByTransactionId(transactionId)
17753
17753
  }), {
17754
17754
  method: 'delete'
@@ -17790,7 +17790,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
17790
17790
  doesParamExist.default({
17791
17791
  businessId: businessId
17792
17792
  }, opts.hyperMediaEndpoint);
17793
- return _context16.abrupt("return", request(_objectSpread$15({}, opts, {
17793
+ return _context16.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17794
17794
  path: pathBusinessTransactions(businessId)
17795
17795
  }), {
17796
17796
  method: 'get',
@@ -17830,7 +17830,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
17830
17830
  businessId: businessId,
17831
17831
  transactionId: transactionId
17832
17832
  }, opts.hyperMediaEndpoint);
17833
- return _context17.abrupt("return", request(_objectSpread$15({}, opts, {
17833
+ return _context17.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17834
17834
  path: pathBusinessTransaction(businessId, transactionId)
17835
17835
  }), {
17836
17836
  method: 'get',
@@ -17870,7 +17870,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
17870
17870
  businessId: businessId,
17871
17871
  invoiceReference: invoiceReference
17872
17872
  }, opts.hyperMediaEndpoint);
17873
- return _context18.abrupt("return", request(_objectSpread$15({}, opts, {
17873
+ return _context18.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17874
17874
  path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
17875
17875
  }), {
17876
17876
  method: 'get'
@@ -17909,7 +17909,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
17909
17909
  businessId: businessId,
17910
17910
  transactionId: transactionId
17911
17911
  }, opts.hyperMediaEndpoint);
17912
- return _context19.abrupt("return", request(_objectSpread$15({}, opts, {
17912
+ return _context19.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17913
17913
  path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
17914
17914
  }), {
17915
17915
  method: 'get',
@@ -17949,7 +17949,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
17949
17949
  businessId: businessId,
17950
17950
  transactionId: transactionId
17951
17951
  }, opts.hyperMediaEndpoint);
17952
- return _context20.abrupt("return", request(_objectSpread$15({}, opts, {
17952
+ return _context20.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17953
17953
  path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
17954
17954
  }), {
17955
17955
  method: 'get',
@@ -17994,7 +17994,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
17994
17994
  businessId: businessId,
17995
17995
  practiceId: practiceId
17996
17996
  }, opts.hyperMediaEndpoint);
17997
- return _context21.abrupt("return", request(_objectSpread$15({}, opts, {
17997
+ return _context21.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
17998
17998
  path: pathBusinessPracticeTransactions(businessId, practiceId)
17999
17999
  }), {
18000
18000
  method: 'get',
@@ -18041,7 +18041,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
18041
18041
  practiceId: practiceId,
18042
18042
  staffId: staffId
18043
18043
  }, opts.hyperMediaEndpoint);
18044
- return _context22.abrupt("return", request(_objectSpread$15({}, opts, {
18044
+ return _context22.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18045
18045
  path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
18046
18046
  }), {
18047
18047
  method: 'get',
@@ -18084,7 +18084,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
18084
18084
  doesParamExist.default({
18085
18085
  healthFundId: healthFundId
18086
18086
  }, opts.hyperMediaEndpoint);
18087
- return _context23.abrupt("return", request(_objectSpread$15({}, opts, {
18087
+ return _context23.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18088
18088
  path: pathTransactionsForHealthFund(healthFundId)
18089
18089
  }), {
18090
18090
  method: 'get',
@@ -18124,7 +18124,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
18124
18124
  healthFundId: healthFundId,
18125
18125
  transactionId: transactionId
18126
18126
  }, opts.hyperMediaEndpoint);
18127
- return _context24.abrupt("return", request(_objectSpread$15({}, opts, {
18127
+ return _context24.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18128
18128
  path: pathHealthFundTransaction(healthFundId, transactionId)
18129
18129
  }), {
18130
18130
  method: 'get'
@@ -18166,7 +18166,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
18166
18166
  doesParamExist.default({
18167
18167
  memberId: memberId
18168
18168
  }, opts.hyperMediaEndpoint);
18169
- return _context25.abrupt("return", request(_objectSpread$15({}, opts, {
18169
+ return _context25.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18170
18170
  path: pathTransactionsByMember(memberId)
18171
18171
  }), {
18172
18172
  method: 'get',
@@ -18210,7 +18210,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
18210
18210
  doesParamExist.default({
18211
18211
  healthFundId: healthFundId
18212
18212
  }, opts.hyperMediaEndpoint);
18213
- return _context26.abrupt("return", request(_objectSpread$15({}, opts, {
18213
+ return _context26.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18214
18214
  path: pathHealthFundMemberTransactions(healthFundId, memberId)
18215
18215
  }), {
18216
18216
  method: 'get',
@@ -18248,7 +18248,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
18248
18248
  doesParamExist.default({
18249
18249
  transactionId: transactionId
18250
18250
  }, opts.hyperMediaEndpoint);
18251
- return _context27.abrupt("return", request(_objectSpread$15({}, opts, {
18251
+ return _context27.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18252
18252
  path: pathTransactionByTransactionId(transactionId)
18253
18253
  }), {
18254
18254
  method: 'get',
@@ -18287,7 +18287,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
18287
18287
  doesParamExist.default({
18288
18288
  transactionId: transactionId
18289
18289
  }, opts.hyperMediaEndpoint);
18290
- return _context28.abrupt("return", request(_objectSpread$15({}, opts, {
18290
+ return _context28.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18291
18291
  path: pathTransactionByTransactionId(transactionId) + "/pdf"
18292
18292
  }), {
18293
18293
  method: 'post',
@@ -18329,7 +18329,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
18329
18329
  claimId: claimId,
18330
18330
  transactionId: transactionId
18331
18331
  }, opts.hyperMediaEndpoint);
18332
- return _context29.abrupt("return", request(_objectSpread$15({}, opts, {
18332
+ return _context29.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18333
18333
  path: pathTransactionClaimPdf(transactionId, claimId)
18334
18334
  }), {
18335
18335
  method: 'post',
@@ -18368,7 +18368,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
18368
18368
  opts = {};
18369
18369
  }
18370
18370
 
18371
- return _context30.abrupt("return", request(_objectSpread$15({}, opts, {
18371
+ return _context30.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18372
18372
  path: pathTransactionClaimPdfV2
18373
18373
  }), {
18374
18374
  method: 'post',
@@ -18408,7 +18408,7 @@ var replyToQuote = /*#__PURE__*/function () {
18408
18408
  doesParamExist.default({
18409
18409
  transactionId: transactionId
18410
18410
  }, opts.hyperMediaEndpoint);
18411
- return _context31.abrupt("return", request(_objectSpread$15({}, opts, {
18411
+ return _context31.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18412
18412
  path: pathReplyQuote(transactionId)
18413
18413
  }), {
18414
18414
  method: 'post',
@@ -18447,7 +18447,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
18447
18447
  doesParamExist.default({
18448
18448
  transactionId: transactionId
18449
18449
  }, opts.hyperMediaEndpoint);
18450
- return _context32.abrupt("return", request(_objectSpread$15({}, opts, {
18450
+ return _context32.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18451
18451
  path: pathTransactionSendReceipt(transactionId)
18452
18452
  }), {
18453
18453
  method: 'post',
@@ -18486,7 +18486,7 @@ var submitInvoice = /*#__PURE__*/function () {
18486
18486
  doesParamExist.default({
18487
18487
  transactionId: transactionId
18488
18488
  }, opts.hyperMediaEndpoint);
18489
- return _context33.abrupt("return", request(_objectSpread$15({}, opts, {
18489
+ return _context33.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18490
18490
  path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
18491
18491
  }), {
18492
18492
  method: 'post',
@@ -18525,7 +18525,7 @@ var updateTransaction = /*#__PURE__*/function () {
18525
18525
  doesParamExist.default({
18526
18526
  transactionId: transactionId
18527
18527
  }, opts.hyperMediaEndpoint);
18528
- return _context34.abrupt("return", request(_objectSpread$15({}, opts, {
18528
+ return _context34.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18529
18529
  path: pathTransactionByTransactionId(transactionId)
18530
18530
  }), {
18531
18531
  method: 'put',
@@ -18563,7 +18563,7 @@ var validateTransaction = /*#__PURE__*/function () {
18563
18563
  doesParamExist.default({
18564
18564
  transactionId: transactionId
18565
18565
  }, opts.hyperMediaEndpoint);
18566
- return _context35.abrupt("return", request(_objectSpread$15({}, opts, {
18566
+ return _context35.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18567
18567
  path: pathValidateTransaction(transactionId)
18568
18568
  }), {
18569
18569
  method: 'post'
@@ -18601,7 +18601,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
18601
18601
  doesParamExist.default({
18602
18602
  transactionId: transactionId
18603
18603
  }, opts.hyperMediaEndpoint);
18604
- return _context36.abrupt("return", request(_objectSpread$15({}, opts, {
18604
+ return _context36.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18605
18605
  path: pathTransactionSubmitBridgeClaim(transactionId)
18606
18606
  }), {
18607
18607
  method: 'post',
@@ -18640,7 +18640,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
18640
18640
  doesParamExist.default({
18641
18641
  transactionId: transactionId
18642
18642
  }, opts.hyperMediaEndpoint);
18643
- return _context37.abrupt("return", request(_objectSpread$15({}, opts, {
18643
+ return _context37.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18644
18644
  path: pathTransactionSubmitBridgePayment(transactionId)
18645
18645
  }), {
18646
18646
  method: 'post',
@@ -18679,7 +18679,7 @@ var triggerBridge = /*#__PURE__*/function () {
18679
18679
  doesParamExist.default({
18680
18680
  transactionId: transactionId
18681
18681
  }, opts.hyperMediaEndpoint);
18682
- return _context38.abrupt("return", request(_objectSpread$15({}, opts, {
18682
+ return _context38.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18683
18683
  path: pathTransactionTriggerBridge(transactionId)
18684
18684
  }), {
18685
18685
  method: 'post',
@@ -18718,7 +18718,7 @@ var createInvoice = /*#__PURE__*/function () {
18718
18718
  doesParamExist.default({
18719
18719
  businessId: businessId
18720
18720
  }, opts.hyperMediaEndpoint);
18721
- return _context39.abrupt("return", request(_objectSpread$15({}, opts, {
18721
+ return _context39.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18722
18722
  path: pathCreateInvoice(businessId)
18723
18723
  }), {
18724
18724
  method: 'post',
@@ -18757,7 +18757,7 @@ var createSendClaim = /*#__PURE__*/function () {
18757
18757
  doesParamExist.default({
18758
18758
  transactionId: transactionId
18759
18759
  }, opts.hyperMediaEndpoint);
18760
- return _context40.abrupt("return", request(_objectSpread$15({}, opts, {
18760
+ return _context40.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18761
18761
  path: pathCreateSendClaim(transactionId)
18762
18762
  }), {
18763
18763
  method: 'post',
@@ -18798,7 +18798,7 @@ var updateClaim = /*#__PURE__*/function () {
18798
18798
  claimId: claimId,
18799
18799
  transactionId: transactionId
18800
18800
  }, opts.hyperMediaEndpoint);
18801
- return _context41.abrupt("return", request(_objectSpread$15({}, opts, {
18801
+ return _context41.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18802
18802
  path: pathClaim(transactionId, claimId)
18803
18803
  }), {
18804
18804
  method: 'put',
@@ -18836,7 +18836,7 @@ var completeTransaction = /*#__PURE__*/function () {
18836
18836
  doesParamExist.default({
18837
18837
  transactionId: transactionId
18838
18838
  }, opts.hyperMediaEndpoint);
18839
- return _context42.abrupt("return", request(_objectSpread$15({}, opts, {
18839
+ return _context42.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18840
18840
  path: pathCompleteTransaction(transactionId)
18841
18841
  }), {
18842
18842
  method: 'post'
@@ -18875,7 +18875,7 @@ var approveClaim = /*#__PURE__*/function () {
18875
18875
  doesParamExist.default({
18876
18876
  transactionId: transactionId
18877
18877
  }, opts.hyperMediaEndpoint);
18878
- return _context43.abrupt("return", request(_objectSpread$15({}, opts, {
18878
+ return _context43.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18879
18879
  path: pathApproveClaim(transactionId, claimId)
18880
18880
  }), {
18881
18881
  method: 'post',
@@ -18915,7 +18915,7 @@ var cancelClaim = /*#__PURE__*/function () {
18915
18915
  claimId: claimId,
18916
18916
  transactionId: transactionId
18917
18917
  }, opts.hyperMediaEndpoint);
18918
- return _context44.abrupt("return", request(_objectSpread$15({}, opts, {
18918
+ return _context44.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18919
18919
  path: pathCancelClaim(transactionId, claimId)
18920
18920
  }), {
18921
18921
  method: 'post',
@@ -18955,7 +18955,7 @@ var submitClaim = /*#__PURE__*/function () {
18955
18955
  doesParamExist.default({
18956
18956
  transactionId: transactionId
18957
18957
  }, opts.hyperMediaEndpoint);
18958
- return _context45.abrupt("return", request(_objectSpread$15({}, opts, {
18958
+ return _context45.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18959
18959
  path: pathSubmitClaim(transactionId, claimId)
18960
18960
  }), {
18961
18961
  method: 'post',
@@ -18995,7 +18995,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
18995
18995
  claimId: claimId,
18996
18996
  transactionId: transactionId
18997
18997
  }, opts.hyperMediaEndpoint);
18998
- return _context46.abrupt("return", request(_objectSpread$15({}, opts, {
18998
+ return _context46.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
18999
18999
  path: pathSaveClaim(transactionId, claimId)
19000
19000
  }), {
19001
19001
  method: 'post'
@@ -19033,7 +19033,7 @@ var pay = /*#__PURE__*/function () {
19033
19033
  doesParamExist.default({
19034
19034
  transactionId: transactionId
19035
19035
  }, opts.hyperMediaEndpoint);
19036
- return _context47.abrupt("return", request(_objectSpread$15({}, opts, {
19036
+ return _context47.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19037
19037
  path: pathTransactionPays(transactionId)
19038
19038
  }), {
19039
19039
  method: 'post',
@@ -19072,7 +19072,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
19072
19072
  doesParamExist.default({
19073
19073
  transactionId: transactionId
19074
19074
  }, opts.hyperMediaEndpoint);
19075
- return _context48.abrupt("return", request(_objectSpread$15({}, opts, {
19075
+ return _context48.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19076
19076
  path: pathTransactionProcessingRequests(transactionId)
19077
19077
  }), {
19078
19078
  method: 'post',
@@ -19111,7 +19111,7 @@ var cancelInvoice = /*#__PURE__*/function () {
19111
19111
  doesParamExist.default({
19112
19112
  transactionId: transactionId
19113
19113
  }, opts.hyperMediaEndpoint);
19114
- return _context49.abrupt("return", request(_objectSpread$15({}, opts, {
19114
+ return _context49.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19115
19115
  path: pathTransactionCancel(transactionId)
19116
19116
  }), {
19117
19117
  method: 'post',
@@ -19149,7 +19149,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
19149
19149
  doesParamExist.default({
19150
19150
  transactionId: transactionId
19151
19151
  }, opts.hyperMediaEndpoint);
19152
- return _context50.abrupt("return", request(_objectSpread$15({}, opts, {
19152
+ return _context50.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19153
19153
  path: pathTransactionPaymentLink(transactionId)
19154
19154
  }), {
19155
19155
  method: 'get'
@@ -19189,7 +19189,7 @@ var refundByBusiness = /*#__PURE__*/function () {
19189
19189
  businessId: businessId,
19190
19190
  transactionId: transactionId
19191
19191
  }, opts.hyperMediaEndpoint);
19192
- return _context51.abrupt("return", request(_objectSpread$15({}, opts, {
19192
+ return _context51.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19193
19193
  path: pathBusinessTransactionRefund(businessId, transactionId)
19194
19194
  }), {
19195
19195
  method: 'post',
@@ -19228,7 +19228,7 @@ var refund = /*#__PURE__*/function () {
19228
19228
  doesParamExist.default({
19229
19229
  transactionId: transactionId
19230
19230
  }, opts.hyperMediaEndpoint);
19231
- return _context52.abrupt("return", request(_objectSpread$15({}, opts, {
19231
+ return _context52.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19232
19232
  path: pathTransactionRefund(transactionId)
19233
19233
  }), {
19234
19234
  method: 'post',
@@ -19267,7 +19267,7 @@ var saveDraft = /*#__PURE__*/function () {
19267
19267
  doesParamExist.default({
19268
19268
  businessId: businessId
19269
19269
  }, opts.hyperMediaEndpoint);
19270
- return _context53.abrupt("return", request(_objectSpread$15({}, opts, {
19270
+ return _context53.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19271
19271
  path: pathCreateDraft(businessId)
19272
19272
  }), {
19273
19273
  method: 'post',
@@ -19306,7 +19306,7 @@ var convertDraft = /*#__PURE__*/function () {
19306
19306
  doesParamExist.default({
19307
19307
  transactionId: transactionId
19308
19308
  }, opts.hyperMediaEndpoint);
19309
- return _context54.abrupt("return", request(_objectSpread$15({}, opts, {
19309
+ return _context54.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19310
19310
  path: pathConvertDraft(transactionId)
19311
19311
  }), {
19312
19312
  method: 'post',
@@ -19344,7 +19344,7 @@ var archive = /*#__PURE__*/function () {
19344
19344
  doesParamExist.default({
19345
19345
  transactionId: transactionId
19346
19346
  }, opts.hyperMediaEndpoint);
19347
- return _context55.abrupt("return", request(_objectSpread$15({}, opts, {
19347
+ return _context55.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19348
19348
  path: pathTransactionArchives(transactionId)
19349
19349
  }), {
19350
19350
  method: 'put'
@@ -19381,7 +19381,7 @@ var unarchive = /*#__PURE__*/function () {
19381
19381
  doesParamExist.default({
19382
19382
  transactionId: transactionId
19383
19383
  }, opts.hyperMediaEndpoint);
19384
- return _context56.abrupt("return", request(_objectSpread$15({}, opts, {
19384
+ return _context56.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19385
19385
  path: pathTransactionUnarchives(transactionId)
19386
19386
  }), {
19387
19387
  method: 'put'
@@ -19419,7 +19419,7 @@ var terminalInput = /*#__PURE__*/function () {
19419
19419
  doesParamExist.default({
19420
19420
  transactionId: transactionId
19421
19421
  }, opts.hyperMediaEndpoint);
19422
- return _context57.abrupt("return", request(_objectSpread$15({}, opts, {
19422
+ return _context57.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19423
19423
  path: pathTransactionTerminalInput(transactionId)
19424
19424
  }), {
19425
19425
  method: 'post',
@@ -19458,7 +19458,7 @@ var terminalCancellation = /*#__PURE__*/function () {
19458
19458
  doesParamExist.default({
19459
19459
  transactionId: transactionId
19460
19460
  }, opts.hyperMediaEndpoint);
19461
- return _context58.abrupt("return", request(_objectSpread$15({}, opts, {
19461
+ return _context58.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19462
19462
  path: pathTransactionTerminalCancel(transactionId)
19463
19463
  }), {
19464
19464
  method: 'post',
@@ -19498,7 +19498,7 @@ var refundPayment = /*#__PURE__*/function () {
19498
19498
  doesParamExist.default({
19499
19499
  transactionId: transactionId
19500
19500
  }, opts.hyperMediaEndpoint);
19501
- return _context59.abrupt("return", request(_objectSpread$15({}, opts, {
19501
+ return _context59.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19502
19502
  path: pathTransactionPaymentRefund(transactionId, paymentId)
19503
19503
  }), {
19504
19504
  method: 'post',
@@ -19533,7 +19533,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
19533
19533
  opts = {};
19534
19534
  }
19535
19535
 
19536
- return _context60.abrupt("return", request(_objectSpread$15({}, opts, {
19536
+ return _context60.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19537
19537
  path: pathCreateEclipseInPatientInvoice()
19538
19538
  }), {
19539
19539
  method: 'post',
@@ -19568,7 +19568,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
19568
19568
  opts = {};
19569
19569
  }
19570
19570
 
19571
- return _context61.abrupt("return", request(_objectSpread$15({}, opts, {
19571
+ return _context61.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19572
19572
  path: pathCreateEclipseOverseasInvoice()
19573
19573
  }), {
19574
19574
  method: 'post',
@@ -19603,7 +19603,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
19603
19603
  opts = {};
19604
19604
  }
19605
19605
 
19606
- return _context62.abrupt("return", request(_objectSpread$15({}, opts, {
19606
+ return _context62.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19607
19607
  path: pathCreateEclipseOnlineEligibilityCheckInvoice()
19608
19608
  }), {
19609
19609
  method: 'post',
@@ -19643,7 +19643,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
19643
19643
  businessId: businessId,
19644
19644
  transactionId: transactionId
19645
19645
  }, opts.hyperMediaEndpoint);
19646
- return _context63.abrupt("return", request(_objectSpread$15({}, opts, {
19646
+ return _context63.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19647
19647
  path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
19648
19648
  }), {
19649
19649
  method: 'get',
@@ -19683,7 +19683,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
19683
19683
  businessId: businessId,
19684
19684
  transactionId: transactionId
19685
19685
  }, opts.hyperMediaEndpoint);
19686
- return _context64.abrupt("return", request(_objectSpread$15({}, opts, {
19686
+ return _context64.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19687
19687
  path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
19688
19688
  }), {
19689
19689
  method: 'get',
@@ -19722,7 +19722,7 @@ var reconcileClaim = /*#__PURE__*/function () {
19722
19722
  doesParamExist.default({
19723
19723
  transactionId: transactionId
19724
19724
  }, opts.hyperMediaEndpoint);
19725
- return _context65.abrupt("return", request(_objectSpread$15({}, opts, {
19725
+ return _context65.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19726
19726
  path: pathReconcileClaim(transactionId, claimId)
19727
19727
  }), {
19728
19728
  method: 'post'
@@ -19756,7 +19756,7 @@ var saveDraftEclipseInPatientInvoice = /*#__PURE__*/function () {
19756
19756
  opts = {};
19757
19757
  }
19758
19758
 
19759
- return _context66.abrupt("return", request(_objectSpread$15({}, opts, {
19759
+ return _context66.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19760
19760
  path: pathSaveDraftEclipseInPatientInvoice()
19761
19761
  }), {
19762
19762
  method: 'post',
@@ -19791,7 +19791,7 @@ var saveDraftEclipseOverseasInvoice = /*#__PURE__*/function () {
19791
19791
  opts = {};
19792
19792
  }
19793
19793
 
19794
- return _context67.abrupt("return", request(_objectSpread$15({}, opts, {
19794
+ return _context67.abrupt("return", request(_objectSpread$15(_objectSpread$15({}, opts), {}, {
19795
19795
  path: pathSaveDraftEclipseOverseasInvoice()
19796
19796
  }), {
19797
19797
  method: 'post',
@@ -19911,7 +19911,7 @@ var getTrigger = /*#__PURE__*/function () {
19911
19911
  doesParamExist.default({
19912
19912
  triggerId: triggerId
19913
19913
  }, opts.hyperMediaEndpoint);
19914
- return _context.abrupt("return", request(_objectSpread$16({}, opts, {
19914
+ return _context.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
19915
19915
  path: pathTrigger(triggerId)
19916
19916
  }), {
19917
19917
  method: 'get'
@@ -19949,7 +19949,7 @@ var getTriggers = /*#__PURE__*/function () {
19949
19949
  opts = {};
19950
19950
  }
19951
19951
 
19952
- return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
19952
+ return _context2.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
19953
19953
  path: PATH__TRIGGERS
19954
19954
  }), {
19955
19955
  method: 'get',
@@ -19988,7 +19988,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
19988
19988
  opts = {};
19989
19989
  }
19990
19990
 
19991
- return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
19991
+ return _context3.abrupt("return", request(_objectSpread$16(_objectSpread$16({}, opts), {}, {
19992
19992
  path: PATH__TRIGGER_CATEGORIES
19993
19993
  }), {
19994
19994
  method: 'get',
@@ -20033,7 +20033,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
20033
20033
  healthFundId: healthFundId,
20034
20034
  vendorId: vendorId
20035
20035
  }, opts.hyperMediaEndpoint);
20036
- return request(_objectSpread$17({}, opts, {
20036
+ return request(_objectSpread$17(_objectSpread$17({}, opts), {}, {
20037
20037
  path: pathHealthFundVendor(healthFundId, vendorId)
20038
20038
  }), {
20039
20039
  method: 'get',
@@ -20048,7 +20048,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
20048
20048
  doesParamExist.default({
20049
20049
  healthFundId: healthFundId
20050
20050
  }, opts.hyperMediaEndpoint);
20051
- return request(_objectSpread$17({}, opts, {
20051
+ return request(_objectSpread$17(_objectSpread$17({}, opts), {}, {
20052
20052
  path: pathHealthFundVendors(healthFundId)
20053
20053
  }), {
20054
20054
  method: 'get',
@@ -20084,7 +20084,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
20084
20084
  opts = {};
20085
20085
  }
20086
20086
 
20087
- return _context.abrupt("return", request(_objectSpread$18({}, opts, {
20087
+ return _context.abrupt("return", request(_objectSpread$18(_objectSpread$18({}, opts), {}, {
20088
20088
  path: PATH__MEDICARE_VERIFY
20089
20089
  }), {
20090
20090
  method: 'POST',
@@ -20121,7 +20121,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
20121
20121
  opts = {};
20122
20122
  }
20123
20123
 
20124
- return request(_objectSpread$19({}, opts, {
20124
+ return request(_objectSpread$19(_objectSpread$19({}, opts), {}, {
20125
20125
  path: pathSendWorkerMessage()
20126
20126
  }), {
20127
20127
  method: 'post',
@@ -20149,7 +20149,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
20149
20149
  doesParamExist.default({
20150
20150
  healthFundId: healthFundId
20151
20151
  }, opts.hyperMediaEndpoint);
20152
- return request(_objectSpread$1a({}, opts, {
20152
+ return request(_objectSpread$1a(_objectSpread$1a({}, opts), {}, {
20153
20153
  path: pathHealthFundWorkflowExceptions(healthFundId)
20154
20154
  }), {
20155
20155
  method: 'get',
@@ -21015,7 +21015,7 @@ var checkAppVersion = /*#__PURE__*/function () {
21015
21015
  break;
21016
21016
  }
21017
21017
 
21018
- return _context3.abrupt("return", _objectSpread$1b({}, versions, {
21018
+ return _context3.abrupt("return", _objectSpread$1b(_objectSpread$1b({}, versions), {}, {
21019
21019
  requiresUpdate: true,
21020
21020
  isForced: true
21021
21021
  }));
@@ -21026,12 +21026,12 @@ var checkAppVersion = /*#__PURE__*/function () {
21026
21026
  break;
21027
21027
  }
21028
21028
 
21029
- return _context3.abrupt("return", _objectSpread$1b({}, versions, {
21029
+ return _context3.abrupt("return", _objectSpread$1b(_objectSpread$1b({}, versions), {}, {
21030
21030
  requiresUpdate: true
21031
21031
  }));
21032
21032
 
21033
21033
  case 14:
21034
- return _context3.abrupt("return", _objectSpread$1b({}, versions, {
21034
+ return _context3.abrupt("return", _objectSpread$1b(_objectSpread$1b({}, versions), {}, {
21035
21035
  requiresUpdate: false
21036
21036
  }));
21037
21037
 
@@ -21182,19 +21182,19 @@ function _parseProfessions() {
21182
21182
  professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
21183
21183
  var _objectSpread2;
21184
21184
 
21185
- return _objectSpread$1c({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
21185
+ return _objectSpread$1c(_objectSpread$1c({}, currentProfessionalCategories), {}, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
21186
21186
  }, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
21187
21187
  {});
21188
21188
  specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
21189
21189
  var _objectSpread3;
21190
21190
 
21191
- return _objectSpread$1c({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
21191
+ return _objectSpread$1c(_objectSpread$1c({}, currentSpecialties), {}, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
21192
21192
  }, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
21193
21193
  {});
21194
21194
  providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
21195
21195
  var _objectSpread4;
21196
21196
 
21197
- return _objectSpread$1c({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
21197
+ return _objectSpread$1c(_objectSpread$1c({}, currentProviderType), {}, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
21198
21198
  }, {});
21199
21199
  newProfessions = professions.map(function (registration) {
21200
21200
  var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
@@ -21260,7 +21260,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
21260
21260
  return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
21261
21261
  var _objectSpread2;
21262
21262
 
21263
- return _objectSpread$1d({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
21263
+ return _objectSpread$1d(_objectSpread$1d({}, baseUrls), {}, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
21264
21264
  }, {});
21265
21265
  };
21266
21266
 
@@ -21395,7 +21395,7 @@ var sdkClient = {
21395
21395
  this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
21396
21396
  }
21397
21397
 
21398
- this.setConfig(_objectSpread$1d({}, opts, {
21398
+ this.setConfig(_objectSpread$1d(_objectSpread$1d({}, opts), {}, {
21399
21399
  env: env
21400
21400
  }));
21401
21401
  this.hasInit = true; // Setup request/response interceptors
@@ -21744,20 +21744,20 @@ function _parseProviderSet() {
21744
21744
  fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
21745
21745
  var _objectSpread2;
21746
21746
 
21747
- return _objectSpread$1e({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
21747
+ return _objectSpread$1e(_objectSpread$1e({}, currentFunders), {}, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
21748
21748
  }, {});
21749
21749
  practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
21750
21750
  var _objectSpread3;
21751
21751
 
21752
- return _objectSpread$1e({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
21752
+ return _objectSpread$1e(_objectSpread$1e({}, currentPractices), {}, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
21753
21753
  }, {});
21754
21754
  providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
21755
21755
  var _objectSpread4;
21756
21756
 
21757
- return _objectSpread$1e({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
21757
+ return _objectSpread$1e(_objectSpread$1e({}, currentProviderNumberTypes), {}, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
21758
21758
  }, {});
21759
21759
  newProviderSet = providerSet.map(function (providerData, i) {
21760
- return _objectSpread$1e({}, providerData, {}, providerRegistrations[i], {
21760
+ return _objectSpread$1e(_objectSpread$1e(_objectSpread$1e({}, providerData), providerRegistrations[i]), {}, {
21761
21761
  practice: practicesMap[providerData.practiceId],
21762
21762
  funder: fundersMap[providerData.funderId]
21763
21763
  }, parseProviderNumberType && {