@icanbwell/bwell-sdk-ts 1.37.0-rc.1756972998 → 1.38.0-rc.1758045508

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.37.0-rc.1756972998";
4
+ export declare const VERSION = "1.38.0-rc.1758045508";
@@ -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.37.0-rc.1756972998";
4
+ export const VERSION = "1.38.0-rc.1758045508";
@@ -1,5 +1,6 @@
1
+ import { SdkConfigurationResult } from "../api/base/identity/index.js";
1
2
  import { InvalidClientKeyError } from "../errors/index.js";
2
- import { Retry, SdkConfiguration } from "../graphql/schema.js";
3
+ import { Retry } from "../graphql/schema.js";
3
4
  import { Severity } from "../logger/index.js";
4
5
  import { User } from "../models/user.js";
5
6
  import { BWellTransactionResult } from "../results/index.js";
@@ -36,5 +37,5 @@ export declare class SdkConfig {
36
37
  get http(): HttpConfig;
37
38
  get context(): Context;
38
39
  setContextUser(user: User): void;
39
- mergeRemoteConfig(remoteConfig: SdkConfiguration | null): void;
40
+ mergeRemoteConfig(remoteConfig: SdkConfigurationResult | null): void;
40
41
  }
@@ -2922,6 +2922,10 @@ export type CareTeamParticipantFieldsFragment = {
2922
2922
  } | null> | null;
2923
2923
  } | null;
2924
2924
  }> | null;
2925
+ } | {
2926
+ __typename: 'PractitionerRole';
2927
+ } | {
2928
+ __typename: 'RelatedPerson';
2925
2929
  } | {
2926
2930
  __typename: 'ResourceReference';
2927
2931
  } | null;
@@ -8052,6 +8056,10 @@ export type GetCareTeamsQueryResults = {
8052
8056
  } | null> | null;
8053
8057
  } | null;
8054
8058
  }> | null;
8059
+ } | {
8060
+ __typename: 'PractitionerRole';
8061
+ } | {
8062
+ __typename: 'RelatedPerson';
8055
8063
  } | {
8056
8064
  __typename: 'ResourceReference';
8057
8065
  } | null;
@@ -575,7 +575,7 @@ export type CareTeamParticipant = {
575
575
  member?: Maybe<CareTeamParticipantMember>;
576
576
  role?: Maybe<Array<Maybe<CodeableConcept>>>;
577
577
  };
578
- export type CareTeamParticipantMember = Organization | Practitioner | ResourceReference;
578
+ export type CareTeamParticipantMember = Organization | Practitioner | PractitionerRole | RelatedPerson | ResourceReference;
579
579
  export type CareTeamQueryResults = PagedQueryResults & {
580
580
  __typename?: 'CareTeamQueryResults';
581
581
  paging_info?: Maybe<PagingResults>;
@@ -595,6 +595,11 @@ export type CareTeamResource = {
595
595
  meta?: Maybe<Meta>;
596
596
  name?: Maybe<Scalars['String']['output']>;
597
597
  participant?: Maybe<Array<Maybe<CareTeamParticipant>>>;
598
+ resourceType: Scalars['String']['output'];
599
+ /** The current status of the care team (e.g., "active", "suspended", "inactive", "entered-in-error"). */
600
+ status?: Maybe<Scalars['String']['output']>;
601
+ /** The patient or group for whom the care team is created. */
602
+ subject?: Maybe<ResourceReference>;
598
603
  };
599
604
  export declare enum CategoryCode {
600
605
  CommunicationPreferencesPhi = "COMMUNICATION_PREFERENCES_PHI",
@@ -1843,6 +1848,7 @@ export type GoogleGeo = {
1843
1848
  };
1844
1849
  export type GraphQlClientConfig = {
1845
1850
  __typename?: 'GraphQLClientConfig';
1851
+ apiUrl: Scalars['String']['output'];
1846
1852
  authUrl: Scalars['String']['output'];
1847
1853
  cache: Cache;
1848
1854
  fetchPolicy: Scalars['String']['output'];
@@ -2360,6 +2366,7 @@ export type Location = Resource & {
2360
2366
  name?: Maybe<Scalars['String']['output']>;
2361
2367
  position?: Maybe<Position>;
2362
2368
  resourceType?: Maybe<Scalars['String']['output']>;
2369
+ status?: Maybe<Scalars['Code']['output']>;
2363
2370
  telecom?: Maybe<Array<Maybe<ContactPoint>>>;
2364
2371
  type?: Maybe<Array<Maybe<CodeableConcept>>>;
2365
2372
  };
@@ -3448,6 +3455,8 @@ export type OrderByInput = {
3448
3455
  /** Represents an organization such as a clinic or manufacturer. */
3449
3456
  export type Organization = {
3450
3457
  __typename?: 'Organization';
3458
+ /** Whether the organization's record is currently active. */
3459
+ active?: Maybe<Scalars['Boolean']['output']>;
3451
3460
  address?: Maybe<Array<Address>>;
3452
3461
  alias?: Maybe<Scalars['String']['output']>;
3453
3462
  endpoint?: Maybe<Array<Maybe<Endpoint>>>;
@@ -3458,6 +3467,8 @@ export type Organization = {
3458
3467
  name?: Maybe<Scalars['String']['output']>;
3459
3468
  resourceType?: Maybe<Scalars['String']['output']>;
3460
3469
  telecom?: Maybe<Array<ContactPoint>>;
3470
+ /** The kind(s) of organization (e.g., hospital, clinic, manufacturer) as coded concepts. */
3471
+ type?: Maybe<Array<CodeableConcept>>;
3461
3472
  };
3462
3473
  export declare enum OrganizationType {
3463
3474
  C19Vaccine = "C19Vaccine",
@@ -3849,6 +3860,21 @@ export type PractitionerReference = {
3849
3860
  name?: Maybe<Array<Maybe<HumanName>>>;
3850
3861
  telecom?: Maybe<Array<ContactPoint>>;
3851
3862
  };
3863
+ export type PractitionerRole = {
3864
+ __typename?: 'PractitionerRole';
3865
+ active?: Maybe<Scalars['Boolean']['output']>;
3866
+ code?: Maybe<Array<CodeableConcept>>;
3867
+ endpoint?: Maybe<Array<Maybe<Endpoint>>>;
3868
+ id?: Maybe<Scalars['ID']['output']>;
3869
+ identifier?: Maybe<Array<Identifier>>;
3870
+ location?: Maybe<Location>;
3871
+ organization?: Maybe<Organization>;
3872
+ period?: Maybe<Period>;
3873
+ practitioner?: Maybe<Practitioner>;
3874
+ resourceType?: Maybe<Scalars['String']['output']>;
3875
+ specialty?: Maybe<Array<CodeableConcept>>;
3876
+ telecom?: Maybe<Array<ContactPoint>>;
3877
+ };
3852
3878
  export type PrefetchAssets = {
3853
3879
  __typename?: 'PrefetchAssets';
3854
3880
  translations: PrefetchTranslations;
@@ -4865,6 +4891,18 @@ export type RegCodePersonDto = {
4865
4891
  person?: Maybe<Person>;
4866
4892
  taskExist?: Maybe<Scalars['Boolean']['output']>;
4867
4893
  };
4894
+ export type RelatedPerson = {
4895
+ __typename?: 'RelatedPerson';
4896
+ active?: Maybe<Scalars['Boolean']['output']>;
4897
+ address?: Maybe<Array<Address>>;
4898
+ id?: Maybe<Scalars['ID']['output']>;
4899
+ identifier?: Maybe<Array<Identifier>>;
4900
+ name?: Maybe<Array<Maybe<HumanName>>>;
4901
+ patient?: Maybe<Patient>;
4902
+ relationship?: Maybe<Array<CodeableConcept>>;
4903
+ resourceType?: Maybe<Scalars['String']['output']>;
4904
+ telecom?: Maybe<Array<ContactPoint>>;
4905
+ };
4868
4906
  export type RequestConnectionInput = {
4869
4907
  bwellFhirPersonId?: InputMaybe<Scalars['String']['input']>;
4870
4908
  city?: InputMaybe<Scalars['String']['input']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.37.0-rc.1756972998",
3
+ "version": "1.38.0-rc.1758045508",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",