@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1761082808 → 2.0.0-alpha.0-rc.1761158898

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.1761082808";
4
+ export declare const VERSION = "2.0.0-alpha.0-rc.1761158898";
@@ -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.1761082808";
4
+ export const VERSION = "2.0.0-alpha.0-rc.1761158898";
@@ -133,9 +133,9 @@ export declare const CreateConsentDocument = "\n mutation createConsent($cons
133
133
  export declare const CreateDataExportDirectDownloadUrlDocument = "\n mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {\n createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)\n}\n ";
134
134
  export declare const CreateVerificationUrlDocument = "\n mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {\n createVerificationUrl(\n callbackURL: $callbackURL\n includeAttributeMatchingCheck: $includeAttributeMatchingCheck\n )\n}\n ";
135
135
  export declare const DeleteDocument = "\n mutation delete {\n updateUserAccountStatus(operation: IMMEDIATE_EXECUTION) {\n resourceType\n issue {\n code\n severity\n details {\n text\n }\n }\n }\n}\n ";
136
- export declare const GetProfileDocument = "\n query getProfile {\n userProfile {\n id\n address {\n line\n city\n state\n postalCode\n }\n telecom {\n system\n value\n use\n }\n gender\n birthDate\n name {\n family\n given\n }\n language\n }\n}\n ";
136
+ export declare const GetProfileDocument = "\n query getProfile {\n userProfile {\n id\n address {\n line\n city\n state\n postalCode\n }\n telecom {\n system\n value\n use\n }\n gender\n birthDate\n name {\n ...HumanNameFields\n }\n language\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n ";
137
137
  export declare const SearchConsentDocument = "\n query searchConsent($category: SearchToken) {\n consents(category: $category) {\n id\n entry {\n id\n resource {\n id\n meta {\n ...MetaFields\n }\n status\n scope {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n patient {\n reference\n }\n provision {\n type\n }\n }\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
138
- export declare const UpdateUserProfileDocument = "\n mutation updateUserProfile($person: FHIRPersonInput) {\n updateUserProfile(input: $person) {\n id\n address {\n line\n city\n state\n postalCode\n }\n telecom {\n system\n value\n use\n }\n gender\n birthDate\n name {\n family\n given\n }\n language\n }\n}\n ";
138
+ export declare const UpdateUserProfileDocument = "\n mutation updateUserProfile($person: FHIRPersonInput) {\n updateUserProfile(input: $person) {\n id\n address {\n line\n city\n state\n postalCode\n }\n telecom {\n system\n value\n use\n }\n gender\n birthDate\n name {\n ...HumanNameFields\n }\n language\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n ";
139
139
  export declare const VerificationStatusDocument = "\n query VerificationStatus {\n verificationStatus {\n resourceType\n id\n status\n statusDate\n lastPerformed\n }\n}\n ";
140
140
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
141
141
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
@@ -3338,13 +3338,12 @@ export const GetProfileDocument = `
3338
3338
  gender
3339
3339
  birthDate
3340
3340
  name {
3341
- family
3342
- given
3341
+ ...HumanNameFields
3343
3342
  }
3344
3343
  language
3345
3344
  }
3346
3345
  }
3347
- `;
3346
+ ${HumanNameFieldsFragmentDoc}`;
3348
3347
  export const SearchConsentDocument = `
3349
3348
  query searchConsent($category: SearchToken) {
3350
3349
  consents(category: $category) {
@@ -3393,13 +3392,12 @@ export const UpdateUserProfileDocument = `
3393
3392
  gender
3394
3393
  birthDate
3395
3394
  name {
3396
- family
3397
- given
3395
+ ...HumanNameFields
3398
3396
  }
3399
3397
  language
3400
3398
  }
3401
3399
  }
3402
- `;
3400
+ ${HumanNameFieldsFragmentDoc}`;
3403
3401
  export const VerificationStatusDocument = `
3404
3402
  query VerificationStatus {
3405
3403
  verificationStatus {
@@ -19391,8 +19391,11 @@ export type GetProfileQueryResults = {
19391
19391
  use: any | null;
19392
19392
  } | null> | null;
19393
19393
  name: Array<{
19394
+ text: string | null;
19394
19395
  family: string | null;
19395
19396
  given: Array<string | null> | null;
19397
+ prefix: Array<string | null> | null;
19398
+ suffix: Array<string | null> | null;
19396
19399
  } | null> | null;
19397
19400
  } | null;
19398
19401
  };
@@ -19475,8 +19478,11 @@ export type UpdateUserProfileMutationResults = {
19475
19478
  use: any | null;
19476
19479
  } | null> | null;
19477
19480
  name: Array<{
19481
+ text: string | null;
19478
19482
  family: string | null;
19479
19483
  given: Array<string | null> | null;
19484
+ prefix: Array<string | null> | null;
19485
+ suffix: Array<string | null> | null;
19480
19486
  } | null> | null;
19481
19487
  } | null;
19482
19488
  };
@@ -18704,6 +18704,11 @@ export type CoverageSubscriberReference = {
18704
18704
  resource?: Maybe<CoverageSubscriber>;
18705
18705
  type?: Maybe<Scalars['URI']['output']>;
18706
18706
  };
18707
+ export type CreateHealthLinkInput = {
18708
+ label?: InputMaybe<Scalars['String']['input']>;
18709
+ resources?: InputMaybe<Array<ResourceInput>>;
18710
+ securityConfig: SecurityConfigInput;
18711
+ };
18707
18712
  /** Defines the connection statuses */
18708
18713
  export type DataConnectionStatus = 'ACCESS_ENDED' | 'CONNECTED' | 'DELETED' | 'DISCONNECTED' | 'ERROR' | 'EXPIRED';
18709
18714
  /** Defines the source type of connection */
@@ -31149,6 +31154,9 @@ export type GuidanceResponseSubjectReference = {
31149
31154
  resource?: Maybe<GuidanceResponseSubject>;
31150
31155
  type?: Maybe<Scalars['URI']['output']>;
31151
31156
  };
31157
+ export type HealthLinkFilter = {
31158
+ id?: InputMaybe<Array<Scalars['ID']['input']>>;
31159
+ };
31152
31160
  /** Unified search result type */
31153
31161
  export type HealthResourceSearchResult = {
31154
31162
  __typename?: 'HealthResourceSearchResult';
@@ -43482,6 +43490,7 @@ export type Mutation = {
43482
43490
  createConsent?: Maybe<Consent>;
43483
43491
  createDataExportDirectDownloadUrl?: Maybe<Scalars['String']['output']>;
43484
43492
  createGuestAccessToken: GuestAccessToken;
43493
+ createHealthLink: DocumentReference;
43485
43494
  createVerificationUrl: Scalars['String']['output'];
43486
43495
  /**
43487
43496
  * Initiates deletion of an AllergyIntolerance resource by its ID.
@@ -43717,6 +43726,9 @@ export type MutationCreateDataExportDirectDownloadUrlArgs = {
43717
43726
  export type MutationCreateGuestAccessTokenArgs = {
43718
43727
  clientKey: Scalars['String']['input'];
43719
43728
  };
43729
+ export type MutationCreateHealthLinkArgs = {
43730
+ input: CreateHealthLinkInput;
43731
+ };
43720
43732
  export type MutationCreateVerificationUrlArgs = {
43721
43733
  callbackURL?: InputMaybe<Scalars['String']['input']>;
43722
43734
  includeAttributeMatchingCheck?: InputMaybe<Scalars['Boolean']['input']>;
@@ -52151,6 +52163,7 @@ export type Query = {
52151
52163
  * If the element is present, it must have either a @value, an @id, or extensions
52152
52164
  */
52153
52165
  guidanceResponses?: Maybe<GuidanceResponseBundle>;
52166
+ healthLinks?: Maybe<Array<DocumentReference>>;
52154
52167
  /**
52155
52168
  * ImagingStudy
52156
52169
  * Representation of the content produced in a DICOM imaging study. A study
@@ -52450,7 +52463,6 @@ export type Query = {
52450
52463
  * If the element is present, it must have either a @value, an @id, or extensions
52451
52464
  */
52452
52465
  tasks?: Maybe<TaskBundle>;
52453
- temp?: Maybe<Temp>;
52454
52466
  userProfile?: Maybe<Person>;
52455
52467
  verificationStatus?: Maybe<VerificationResult>;
52456
52468
  /**
@@ -53637,6 +53649,9 @@ export type QueryGuidanceResponsesArgs = {
53637
53649
  request?: InputMaybe<SearchToken>;
53638
53650
  subject?: InputMaybe<SearchReference>;
53639
53651
  };
53652
+ export type QueryHealthLinksArgs = {
53653
+ input?: InputMaybe<HealthLinkFilter>;
53654
+ };
53640
53655
  export type QueryImagingStudiesArgs = {
53641
53656
  _count?: InputMaybe<Scalars['Int']['input']>;
53642
53657
  _debug?: InputMaybe<Scalars['Boolean']['input']>;
@@ -54645,9 +54660,6 @@ export type QueryTasksArgs = {
54645
54660
  status?: InputMaybe<SearchToken>;
54646
54661
  subject?: InputMaybe<SearchReference>;
54647
54662
  };
54648
- export type QueryTempArgs = {
54649
- id: Scalars['ID']['input'];
54650
- };
54651
54663
  export type QueryVisionPrescriptionsArgs = {
54652
54664
  _count?: InputMaybe<Scalars['Int']['input']>;
54653
54665
  _debug?: InputMaybe<Scalars['Boolean']['input']>;
@@ -58128,6 +58140,9 @@ export type ResourceGroup = {
58128
58140
  /** Array of Strings representing the source of the data */
58129
58141
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
58130
58142
  };
58143
+ export type ResourceInput = {
58144
+ resourceType: Scalars['String']['input'];
58145
+ };
58131
58146
  export type Rest = {
58132
58147
  __typename?: 'Rest';
58133
58148
  endpoints: RestEndpoints;
@@ -59242,6 +59257,9 @@ export type Security = {
59242
59257
  id?: Maybe<Scalars['String']['output']>;
59243
59258
  system?: Maybe<Scalars['String']['output']>;
59244
59259
  };
59260
+ export type SecurityConfigInput = {
59261
+ passcode: Scalars['Int']['input'];
59262
+ };
59245
59263
  /**
59246
59264
  * ServiceRequest
59247
59265
  * A record of a request for service such as diagnostic investigations,
@@ -64929,10 +64947,6 @@ export type TelemetryConfig = {
64929
64947
  collectorUrl: Scalars['String']['output'];
64930
64948
  enabled?: Maybe<Scalars['Boolean']['output']>;
64931
64949
  };
64932
- export type Temp = {
64933
- __typename?: 'Temp';
64934
- id: Scalars['ID']['output'];
64935
- };
64936
64950
  /**
64937
64951
  * TerminologyCapabilities
64938
64952
  * A TerminologyCapabilities resource documents a set of capabilities (behaviors)
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.1761082808",
3
+ "version": "2.0.0-alpha.0-rc.1761158898",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",