@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.
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/search/search-health-resources-request.d.ts +4 -20
- package/dist/models/enums/index.d.ts +2 -0
- package/dist/models/enums/sort-field.d.ts +10 -0
- package/dist/models/enums/sort-field.js +1 -0
- package/dist/models/enums/sort-order.d.ts +9 -0
- package/dist/models/enums/sort-order.js +1 -0
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
import { ClientInput,
|
|
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
|
|
42
|
+
client?: [ClientInput];
|
|
59
43
|
/**
|
|
60
44
|
* The filters to apply to the search.
|
|
61
45
|
*/
|
|
62
|
-
filters
|
|
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 {};
|