@icanbwell/bwell-sdk-ts 1.32.1 → 1.33.0-rc.1750883449

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.
@@ -186,6 +186,12 @@ export type Address = {
186
186
  type?: Maybe<Scalars['Code']['output']>;
187
187
  use?: Maybe<Scalars['Code']['output']>;
188
188
  };
189
+ export type AddressField = {
190
+ city: Scalars['String']['input'];
191
+ line: Scalars['String']['input'];
192
+ postalCode: Scalars['String']['input'];
193
+ state: Scalars['String']['input'];
194
+ };
189
195
  export type AddressG = {
190
196
  __typename?: 'AddressG';
191
197
  country: Scalars['String']['output'];
@@ -476,6 +482,7 @@ export type BootstrapConfiguration = {
476
482
  clientSlug: Scalars['String']['output'];
477
483
  embeddableConfiguration: EmbeddableConfiguration;
478
484
  environment: Scalars['String']['output'];
485
+ externalMedicationActivityIds: Array<Scalars['String']['output']>;
479
486
  featureFlagConfiguration: FeatureFlagConfiguration;
480
487
  frontendEnvironment: FrontendEnvironment;
481
488
  googleGeo: GoogleGeo;
@@ -1118,6 +1125,10 @@ export type ConsentVerificationVerifiedWithReference = {
1118
1125
  reference?: Maybe<Scalars['String']['output']>;
1119
1126
  type?: Maybe<Scalars['URI']['output']>;
1120
1127
  };
1128
+ export type ContactField = {
1129
+ use: ContactUseType;
1130
+ value: Scalars['String']['input'];
1131
+ };
1121
1132
  export type ContactPoint = {
1122
1133
  __typename?: 'ContactPoint';
1123
1134
  extension?: Maybe<Array<Maybe<FhirExtension>>>;
@@ -1140,6 +1151,12 @@ export type ContactPointInput = {
1140
1151
  /** Can define enum */
1141
1152
  value?: InputMaybe<Scalars['String']['input']>;
1142
1153
  };
1154
+ /** Contact.use options */
1155
+ export declare enum ContactUseType {
1156
+ Home = "home",
1157
+ Mobile = "mobile",
1158
+ Work = "work"
1159
+ }
1143
1160
  /** Supported ISO 4217 CurrencyCodes */
1144
1161
  export declare enum CurrencyCode {
1145
1162
  Usd = "USD"
@@ -1804,6 +1821,13 @@ export declare enum GenderEnum {
1804
1821
  Other = "OTHER",
1805
1822
  Unknown = "UNKNOWN"
1806
1823
  }
1824
+ /** Gender options */
1825
+ export declare enum GenderType {
1826
+ Female = "female",
1827
+ Male = "male",
1828
+ Other = "other",
1829
+ Unknown = "unknown"
1830
+ }
1807
1831
  /** Generate an oauth url */
1808
1832
  export type GenerateUrl = {
1809
1833
  __typename?: 'GenerateUrl';
@@ -1818,6 +1842,15 @@ export type GetFhirSearchDateValue = {
1818
1842
  /** the value for the parameter in the resource is greater than the provided value */
1819
1843
  greaterThan?: InputMaybe<Scalars['Date']['input']>;
1820
1844
  };
1845
+ export type GetTokenFromDemographicsInput = {
1846
+ address: AddressField;
1847
+ birthDate: Scalars['String']['input'];
1848
+ email: Scalars['String']['input'];
1849
+ gender: GenderType;
1850
+ mobile: ContactField;
1851
+ name: NamedField;
1852
+ userIdentifier: Scalars['String']['input'];
1853
+ };
1821
1854
  export type GoogleGeo = {
1822
1855
  __typename?: 'GoogleGeo';
1823
1856
  key: Scalars['String']['output'];
@@ -2921,6 +2954,7 @@ export type Mutation = {
2921
2954
  disconnectConnection: DisconnectConnection;
2922
2955
  exchangeAuthCode: AuthTokens;
2923
2956
  findOrCreatePatient?: Maybe<Patient>;
2957
+ getTokenFromDemographics: AuthTokens;
2924
2958
  interacted?: Maybe<Scalars['Boolean']['output']>;
2925
2959
  itemInteracted?: Maybe<Scalars['Boolean']['output']>;
2926
2960
  /**
@@ -3068,6 +3102,9 @@ export type MutationFindOrCreatePatientArgs = {
3068
3102
  clientSlug?: InputMaybe<Scalars['String']['input']>;
3069
3103
  patient?: InputMaybe<PatientInput>;
3070
3104
  };
3105
+ export type MutationGetTokenFromDemographicsArgs = {
3106
+ userInfo: GetTokenFromDemographicsInput;
3107
+ };
3071
3108
  export type MutationInteractedArgs = {
3072
3109
  interaction?: InputMaybe<InteractionType>;
3073
3110
  result_id?: InputMaybe<Scalars['String']['input']>;
@@ -3174,6 +3211,11 @@ export type NameInput = {
3174
3211
  text?: InputMaybe<Scalars['String']['input']>;
3175
3212
  use?: InputMaybe<Scalars['String']['input']>;
3176
3213
  };
3214
+ export type NamedField = {
3215
+ firstName: Scalars['String']['input'];
3216
+ lastName: Scalars['String']['input'];
3217
+ middleName?: InputMaybe<Scalars['String']['input']>;
3218
+ };
3177
3219
  export type Narrative = {
3178
3220
  __typename?: 'Narrative';
3179
3221
  div?: Maybe<Scalars['XHTML']['output']>;
@@ -77,6 +77,13 @@ export var ConsentStatus;
77
77
  ConsentStatus["Proposed"] = "PROPOSED";
78
78
  ConsentStatus["Rejected"] = "REJECTED";
79
79
  })(ConsentStatus || (ConsentStatus = {}));
80
+ /** Contact.use options */
81
+ export var ContactUseType;
82
+ (function (ContactUseType) {
83
+ ContactUseType["Home"] = "home";
84
+ ContactUseType["Mobile"] = "mobile";
85
+ ContactUseType["Work"] = "work";
86
+ })(ContactUseType || (ContactUseType = {}));
80
87
  /** Supported ISO 4217 CurrencyCodes */
81
88
  export var CurrencyCode;
82
89
  (function (CurrencyCode) {
@@ -198,6 +205,14 @@ export var GenderEnum;
198
205
  GenderEnum["Other"] = "OTHER";
199
206
  GenderEnum["Unknown"] = "UNKNOWN";
200
207
  })(GenderEnum || (GenderEnum = {}));
208
+ /** Gender options */
209
+ export var GenderType;
210
+ (function (GenderType) {
211
+ GenderType["Female"] = "female";
212
+ GenderType["Male"] = "male";
213
+ GenderType["Other"] = "other";
214
+ GenderType["Unknown"] = "unknown";
215
+ })(GenderType || (GenderType = {}));
201
216
  export var HealthSummaryCategory;
202
217
  (function (HealthSummaryCategory) {
203
218
  HealthSummaryCategory["AllergyIntolerance"] = "ALLERGY_INTOLERANCE";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.32.1",
3
+ "version": "1.33.0-rc.1750883449",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -34,8 +34,8 @@
34
34
  "prebuild": "npm run clean",
35
35
  "prettier": "prettier",
36
36
  "prepublishOnly": "npm run build",
37
- "test": "jest --runInBand",
38
- "test:dev": "jest --runInBand --config=./jest.dev.config.js",
37
+ "test": "jest",
38
+ "test:dev": "jest --config=./jest.dev.config.js",
39
39
  "pretest:ci": "npm run generate",
40
40
  "test:ci": "npm run test -- --runInBand --verbose --coverage"
41
41
  },