@icanbwell/bwell-sdk-ts 1.86.0 → 1.87.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.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export declare const VERSION = "1.86.0";
4
+ export declare const VERSION = "1.87.0";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export const VERSION = "1.86.0";
4
+ export const VERSION = "1.87.0";
@@ -3,6 +3,7 @@ import { type PersonGender } from "./types.js";
3
3
  export type UpdateProfileRequestInput = {
4
4
  id?: string;
5
5
  firstName?: string;
6
+ middleName?: string;
6
7
  lastName?: string;
7
8
  addressStreet?: string;
8
9
  addressUnit?: string;
@@ -33,11 +33,13 @@ _UpdateProfileRequestFactory_instances = new WeakSet(), _UpdateProfileRequestFac
33
33
  data[key] = inputVal;
34
34
  }, _UpdateProfileRequestFactory_transformNameInput = function _UpdateProfileRequestFactory_transformNameInput(input, data) {
35
35
  let includeName = false;
36
- const { firstName, lastName } = input;
36
+ const { firstName, middleName, lastName } = input;
37
37
  const name = {};
38
38
  if (isNotNullOrUndefined(firstName)) {
39
39
  includeName = true;
40
- name.given = [firstName];
40
+ name.given = isNotNullOrUndefined(middleName)
41
+ ? [firstName, middleName]
42
+ : [firstName];
41
43
  }
42
44
  if (isNotNullOrUndefined(lastName)) {
43
45
  includeName = true;
@@ -7217,6 +7217,8 @@ export declare enum SortFieldEnum {
7217
7217
  NextAvailable = "NEXT_AVAILABLE",
7218
7218
  /** Sort to get providers/practices that support online booking first/last */
7219
7219
  OnlineBookingAvailable = "ONLINE_BOOKING_AVAILABLE",
7220
+ /** Sort by rating of the health resource */
7221
+ Rating = "RATING",
7220
7222
  /** Sort by relevance to search terms */
7221
7223
  Relevance = "RELEVANCE"
7222
7224
  }
@@ -506,6 +506,8 @@ export var SortFieldEnum;
506
506
  SortFieldEnum["NextAvailable"] = "NEXT_AVAILABLE";
507
507
  /** Sort to get providers/practices that support online booking first/last */
508
508
  SortFieldEnum["OnlineBookingAvailable"] = "ONLINE_BOOKING_AVAILABLE";
509
+ /** Sort by rating of the health resource */
510
+ SortFieldEnum["Rating"] = "RATING";
509
511
  /** Sort by relevance to search terms */
510
512
  SortFieldEnum["Relevance"] = "RELEVANCE";
511
513
  })(SortFieldEnum || (SortFieldEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.86.0",
3
+ "version": "1.87.0",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",