@icanbwell/bwell-sdk-ts 1.54.0-rc.1766513513 → 1.54.0-rc.1766515022
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
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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, FilterField as GraphQLFilterField, FilterFieldEnum as GraphQLFilterFieldEnum, OrganizationType as GraphQLOrganizationType, SortField as GraphQLSortField, SortOrder as GraphQLSortOrder, OrderByInput, SearchFiltersInput, SearchLocation, UserInput } from "../../../graphql/schema.js";
|
|
2
2
|
import { PagedRequest, PagedRequestInput, PagedRequestValidator } from "../../../requests/index.js";
|
|
3
3
|
import { SearchContextEnum } from "./index.js";
|
|
4
4
|
/**
|
|
@@ -18,6 +18,10 @@ export type SortField = `${GraphQLSortField}`;
|
|
|
18
18
|
* Type representing the sort order for health resources.
|
|
19
19
|
*/
|
|
20
20
|
export type SortOrder = `${GraphQLSortOrder}`;
|
|
21
|
+
/**
|
|
22
|
+
* Type representing the filter field enum for health resources.
|
|
23
|
+
*/
|
|
24
|
+
export type HealthResourcesFilter = `${GraphQLFilterFieldEnum}`;
|
|
21
25
|
/**
|
|
22
26
|
* The provider location to search by
|
|
23
27
|
*/
|
|
@@ -83,6 +87,10 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
|
83
87
|
* which configurations are applied to the search results.
|
|
84
88
|
*/
|
|
85
89
|
searchContext?: SearchContextEnum;
|
|
90
|
+
/**
|
|
91
|
+
* The filter keys for which dynamic filter values are requested.
|
|
92
|
+
*/
|
|
93
|
+
filterValues?: HealthResourcesFilter[];
|
|
86
94
|
};
|
|
87
95
|
/**
|
|
88
96
|
* Request for searching health resources.
|
|
@@ -8,7 +8,7 @@ export class SearchHealthResourcesRequestFactory {
|
|
|
8
8
|
* @returns An object containing the search input for the GraphQL query.
|
|
9
9
|
*/
|
|
10
10
|
create(request) {
|
|
11
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
12
12
|
const input = request.data();
|
|
13
13
|
return {
|
|
14
14
|
searchInput: {
|
|
@@ -23,6 +23,7 @@ export class SearchHealthResourcesRequestFactory {
|
|
|
23
23
|
search: (_e = input.search) !== null && _e !== void 0 ? _e : null,
|
|
24
24
|
searchLocation: (_f = input.searchLocation) !== null && _f !== void 0 ? _f : null,
|
|
25
25
|
user: (_g = input.user) !== null && _g !== void 0 ? _g : null,
|
|
26
|
+
filterValues: (_h = input.filterValues) !== null && _h !== void 0 ? _h : null,
|
|
26
27
|
},
|
|
27
28
|
};
|
|
28
29
|
}
|