@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1754499306 → 2.0.0-alpha.0-rc.1754666658

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 = "2.0.0-alpha.0-rc.1754499306";
4
+ export declare const VERSION = "2.0.0-alpha.0-rc.1754666658";
@@ -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 = "2.0.0-alpha.0-rc.1754499306";
4
+ export const VERSION = "2.0.0-alpha.0-rc.1754666658";
@@ -1,22 +1,6 @@
1
- import { ClientInput, FilterField as GraphQLFilterField, OrganizationType as GraphQLOrganizationType, SortField as GraphQLSortField, SortOrder as GraphQLSortOrder, OrderByInput, SearchFiltersInput, SearchLocation, UserInput } from "../../../graphql/schema.js";
1
+ import { ClientInput, OrderByInput, SearchFiltersInput, SearchLocation, UserInput } from "../../../graphql/schema.js";
2
+ import { SortField, SortOrder } from "../../../models/enums/index.js";
2
3
  import { PagedRequest, PagedRequestInput, PagedRequestValidator } from "../../../requests/index.js";
3
- /**
4
- * Type representing the search filters for health resources.
5
- */
6
- export type FilterField = `${GraphQLFilterField}`;
7
- /**
8
- * Type representing the organization type for health resources.
9
- */
10
- export type OrganizationType = `${GraphQLOrganizationType}`;
11
- /**
12
- * Type representing the sort field for health resources.
13
- * @experimental
14
- */
15
- export type SortField = `${GraphQLSortField}`;
16
- /**
17
- * Type representing the sort order for health resources.
18
- */
19
- export type SortOrder = `${GraphQLSortOrder}`;
20
4
  /**
21
5
  * The provider location to search by
22
6
  */
@@ -55,11 +39,11 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
55
39
  /**
56
40
  * The client configuration to search for health resources.
57
41
  */
58
- client: [ClientInput];
42
+ client?: [ClientInput];
59
43
  /**
60
44
  * The filters to apply to the search.
61
45
  */
62
- filters: SearchFiltersInput;
46
+ filters?: SearchFiltersInput;
63
47
  /**
64
48
  * Specifies order options for the search.
65
49
  */
@@ -31582,6 +31582,8 @@ export type HumanName = {
31582
31582
  * This may be provided instead of or as well as the specific parts.
31583
31583
  */
31584
31584
  text?: Maybe<Scalars['String']['output']>;
31585
+ /** Identifies the purpose for this name. */
31586
+ use?: Maybe<Scalars['Code']['output']>;
31585
31587
  };
31586
31588
  export type HumanNameInput = {
31587
31589
  /** The family name or surname. */
@@ -51755,7 +51757,7 @@ export type Quantity = {
51755
51757
  id?: Maybe<Scalars['String']['output']>;
51756
51758
  /** The identification of the system that provides the coded form of the unit. */
51757
51759
  system?: Maybe<Scalars['URI']['output']>;
51758
- /** A human-readable form of the unit. */
51760
+ /** The unit of measure for the value. */
51759
51761
  unit?: Maybe<Scalars['String']['output']>;
51760
51762
  /**
51761
51763
  * The value of the measured amount. The value includes an implicit precision in
@@ -55658,7 +55660,7 @@ export type Range = {
55658
55660
  */
55659
55661
  export type Ratio = {
55660
55662
  __typename?: 'Ratio';
55661
- /** The value of the denominator. */
55663
+ /** The denominator in the ratio. */
55662
55664
  denominator?: Maybe<Quantity>;
55663
55665
  /**
55664
55666
  * May be used to represent additional information that is not part of the basic
@@ -55670,7 +55672,7 @@ export type Ratio = {
55670
55672
  extension?: Maybe<Array<Maybe<FhirExtension>>>;
55671
55673
  /** None */
55672
55674
  id?: Maybe<Scalars['String']['output']>;
55673
- /** The value of the numerator. */
55675
+ /** The numerator in the ratio. */
55674
55676
  numerator?: Maybe<Quantity>;
55675
55677
  };
55676
55678
  /**
@@ -10,4 +10,6 @@ export { LogLevel } from "./log-level.js";
10
10
  export { Gender } from "./gender.js";
11
11
  export { FilterField } from "./filter-field.js";
12
12
  export { SearchResultType } from "./search-result-type.js";
13
+ export { SortField } from "./sort-field.js";
14
+ export { SortOrder } from "./sort-order.js";
13
15
  export { EndpointStatus } from "./endpoint-status.js";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Sort field options for health resource searches.
3
+ * Defines the available fields that can be used to sort search results.
4
+ *
5
+ * @experimental
6
+ * @category Enums
7
+ * @title SortField
8
+ * @excerpt Available sort fields for health resource searches
9
+ */
10
+ export type SortField = "content" | "distance" | "relevance";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Sort order options for health resource searches.
3
+ * Defines the direction in which search results should be sorted.
4
+ *
5
+ * @category Enums
6
+ * @title SortOrder
7
+ * @excerpt Available sort orders for health resource searches
8
+ */
9
+ export type SortOrder = "asc" | "desc";
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "2.0.0-alpha.0-rc.1754499306",
3
+ "version": "2.0.0-alpha.0-rc.1754666658",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",