@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1754641589 → 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.1754641589";
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.1754641589";
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
  */
@@ -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.1754641589",
3
+ "version": "2.0.0-alpha.0-rc.1754666658",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",