@medplum/core 0.9.26 → 0.9.27

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.
package/dist/cjs/index.js CHANGED
@@ -6360,13 +6360,13 @@
6360
6360
  * 2) New Patient registration
6361
6361
  *
6362
6362
  * @category Authentication
6363
- * @param registerRequest Register request including email and password.
6363
+ * @param newUserRequest Register request including email and password.
6364
6364
  * @returns Promise to the authentication response.
6365
6365
  */
6366
- startNewUser(registerRequest) {
6366
+ startNewUser(newUserRequest) {
6367
6367
  return __awaiter(this, void 0, void 0, function* () {
6368
6368
  yield __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_startPkce).call(this);
6369
- return this.post('auth/newuser', Object.assign(Object.assign({}, registerRequest), { codeChallengeMethod: 'S256', codeChallenge: __classPrivateFieldGet(this, _MedplumClient_storage, "f").getString('codeChallenge') }));
6369
+ return this.post('auth/newuser', Object.assign(Object.assign({}, newUserRequest), { codeChallengeMethod: 'S256', codeChallenge: __classPrivateFieldGet(this, _MedplumClient_storage, "f").getString('codeChallenge') }));
6370
6370
  });
6371
6371
  }
6372
6372
  /**
@@ -6374,13 +6374,13 @@
6374
6374
  *
6375
6375
  * This requires a partial login from `startNewUser` or `startNewGoogleUser`.
6376
6376
  *
6377
- * @param registerRequest Register request including email and password.
6377
+ * @param newProjectRequest Register request including email and password.
6378
6378
  * @param login The partial login to complete. This should come from the `startNewUser` method.
6379
6379
  * @returns Promise to the authentication response.
6380
6380
  */
6381
- startNewProject(registerRequest, login) {
6381
+ startNewProject(newProjectRequest, login) {
6382
6382
  return __awaiter(this, void 0, void 0, function* () {
6383
- return this.post('auth/newproject', Object.assign(Object.assign({}, registerRequest), login));
6383
+ return this.post('auth/newproject', Object.assign(Object.assign({}, newProjectRequest), login));
6384
6384
  });
6385
6385
  }
6386
6386
  /**
@@ -6388,13 +6388,13 @@
6388
6388
  *
6389
6389
  * This requires a partial login from `startNewUser` or `startNewGoogleUser`.
6390
6390
  *
6391
- * @param registerRequest Register request including email and password.
6391
+ * @param newPatientRequest Register request including email and password.
6392
6392
  * @param login The partial login to complete. This should come from the `startNewUser` method.
6393
6393
  * @returns Promise to the authentication response.
6394
6394
  */
6395
- startNewPatient(registerRequest, login) {
6395
+ startNewPatient(newPatientRequest, login) {
6396
6396
  return __awaiter(this, void 0, void 0, function* () {
6397
- return this.post('auth/newpatient', Object.assign(Object.assign({}, registerRequest), login));
6397
+ return this.post('auth/newpatient', Object.assign(Object.assign({}, newPatientRequest), login));
6398
6398
  });
6399
6399
  }
6400
6400
  /**