@icanbwell/bwell-sdk-ts 1.39.0 → 1.40.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.39.0";
4
+ export declare const VERSION = "1.40.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.39.0";
4
+ export const VERSION = "1.40.0";
@@ -1,4 +1,4 @@
1
- import { 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, 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
  /**
4
4
  * Type representing the search filters for health resources.
@@ -52,10 +52,14 @@ export type OrderBy = {
52
52
  * @experimental
53
53
  */
54
54
  export type SearchHealthResourcesRequestInput = PagedRequestInput & {
55
+ /**
56
+ * The client configuration to search for health resources.
57
+ */
58
+ client: [ClientInput];
55
59
  /**
56
60
  * The filters to apply to the search.
57
61
  */
58
- filters?: SearchFiltersInput;
62
+ filters: SearchFiltersInput;
59
63
  /**
60
64
  * Specifies order options for the search.
61
65
  */
@@ -1,4 +1,3 @@
1
- import { DataSetsEnum } from "../../../graphql/schema.js";
2
1
  /**
3
2
  * Factory to create GraphQL query variables for searching health resources.
4
3
  */
@@ -13,8 +12,7 @@ export class SearchHealthResourcesRequestFactory {
13
12
  const input = request.data();
14
13
  return {
15
14
  searchInput: {
16
- // Default search health resources client to NPPES and ConnectHub
17
- client: [{ dataSets: [DataSetsEnum.Nppes, DataSetsEnum.Connecthub] }],
15
+ client: input.client,
18
16
  filters: (_a = input.filters) !== null && _a !== void 0 ? _a : null,
19
17
  orderBy: (_b = input.orderBy) !== null && _b !== void 0 ? _b : null,
20
18
  paging: {