@icanbwell/bwell-sdk-ts 1.32.1 → 1.33.0-rc.1750778560
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 +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/health-data/health-manager.d.ts +9 -1
- package/dist/api/base/questionnaire/next-question-request.d.ts +8 -0
- package/dist/api/base/questionnaire/next-question-request.js +4 -0
- package/dist/api/base/questionnaire/questionnaire-manager.d.ts +1 -0
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +7 -0
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +7 -0
- package/dist/graphql/operations/index.d.ts +6 -6
- package/dist/graphql/operations/index.js +28 -29
- package/dist/graphql/operations/types.d.ts +28 -175
- package/dist/graphql/schema.d.ts +41 -0
- package/dist/graphql/schema.js +15 -0
- package/package.json +3 -3
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -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'];
|
|
@@ -1118,6 +1124,10 @@ export type ConsentVerificationVerifiedWithReference = {
|
|
|
1118
1124
|
reference?: Maybe<Scalars['String']['output']>;
|
|
1119
1125
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1120
1126
|
};
|
|
1127
|
+
export type ContactField = {
|
|
1128
|
+
use: ContactUseType;
|
|
1129
|
+
value: Scalars['String']['input'];
|
|
1130
|
+
};
|
|
1121
1131
|
export type ContactPoint = {
|
|
1122
1132
|
__typename?: 'ContactPoint';
|
|
1123
1133
|
extension?: Maybe<Array<Maybe<FhirExtension>>>;
|
|
@@ -1140,6 +1150,12 @@ export type ContactPointInput = {
|
|
|
1140
1150
|
/** Can define enum */
|
|
1141
1151
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
1142
1152
|
};
|
|
1153
|
+
/** Contact.use options */
|
|
1154
|
+
export declare enum ContactUseType {
|
|
1155
|
+
Home = "home",
|
|
1156
|
+
Mobile = "mobile",
|
|
1157
|
+
Work = "work"
|
|
1158
|
+
}
|
|
1143
1159
|
/** Supported ISO 4217 CurrencyCodes */
|
|
1144
1160
|
export declare enum CurrencyCode {
|
|
1145
1161
|
Usd = "USD"
|
|
@@ -1804,6 +1820,13 @@ export declare enum GenderEnum {
|
|
|
1804
1820
|
Other = "OTHER",
|
|
1805
1821
|
Unknown = "UNKNOWN"
|
|
1806
1822
|
}
|
|
1823
|
+
/** Gender options */
|
|
1824
|
+
export declare enum GenderType {
|
|
1825
|
+
Female = "female",
|
|
1826
|
+
Male = "male",
|
|
1827
|
+
Other = "other",
|
|
1828
|
+
Unknown = "unknown"
|
|
1829
|
+
}
|
|
1807
1830
|
/** Generate an oauth url */
|
|
1808
1831
|
export type GenerateUrl = {
|
|
1809
1832
|
__typename?: 'GenerateUrl';
|
|
@@ -1818,6 +1841,15 @@ export type GetFhirSearchDateValue = {
|
|
|
1818
1841
|
/** the value for the parameter in the resource is greater than the provided value */
|
|
1819
1842
|
greaterThan?: InputMaybe<Scalars['Date']['input']>;
|
|
1820
1843
|
};
|
|
1844
|
+
export type GetTokenFromDemographicsInput = {
|
|
1845
|
+
address: AddressField;
|
|
1846
|
+
birthDate: Scalars['String']['input'];
|
|
1847
|
+
email: Scalars['String']['input'];
|
|
1848
|
+
gender: GenderType;
|
|
1849
|
+
mobile: ContactField;
|
|
1850
|
+
name: NamedField;
|
|
1851
|
+
userIdentifier: Scalars['String']['input'];
|
|
1852
|
+
};
|
|
1821
1853
|
export type GoogleGeo = {
|
|
1822
1854
|
__typename?: 'GoogleGeo';
|
|
1823
1855
|
key: Scalars['String']['output'];
|
|
@@ -2921,6 +2953,7 @@ export type Mutation = {
|
|
|
2921
2953
|
disconnectConnection: DisconnectConnection;
|
|
2922
2954
|
exchangeAuthCode: AuthTokens;
|
|
2923
2955
|
findOrCreatePatient?: Maybe<Patient>;
|
|
2956
|
+
getTokenFromDemographics: AuthTokens;
|
|
2924
2957
|
interacted?: Maybe<Scalars['Boolean']['output']>;
|
|
2925
2958
|
itemInteracted?: Maybe<Scalars['Boolean']['output']>;
|
|
2926
2959
|
/**
|
|
@@ -3068,6 +3101,9 @@ export type MutationFindOrCreatePatientArgs = {
|
|
|
3068
3101
|
clientSlug?: InputMaybe<Scalars['String']['input']>;
|
|
3069
3102
|
patient?: InputMaybe<PatientInput>;
|
|
3070
3103
|
};
|
|
3104
|
+
export type MutationGetTokenFromDemographicsArgs = {
|
|
3105
|
+
userInfo: GetTokenFromDemographicsInput;
|
|
3106
|
+
};
|
|
3071
3107
|
export type MutationInteractedArgs = {
|
|
3072
3108
|
interaction?: InputMaybe<InteractionType>;
|
|
3073
3109
|
result_id?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3174,6 +3210,11 @@ export type NameInput = {
|
|
|
3174
3210
|
text?: InputMaybe<Scalars['String']['input']>;
|
|
3175
3211
|
use?: InputMaybe<Scalars['String']['input']>;
|
|
3176
3212
|
};
|
|
3213
|
+
export type NamedField = {
|
|
3214
|
+
firstName: Scalars['String']['input'];
|
|
3215
|
+
lastName: Scalars['String']['input'];
|
|
3216
|
+
middleName?: InputMaybe<Scalars['String']['input']>;
|
|
3217
|
+
};
|
|
3177
3218
|
export type Narrative = {
|
|
3178
3219
|
__typename?: 'Narrative';
|
|
3179
3220
|
div?: Maybe<Scalars['XHTML']['output']>;
|
package/dist/graphql/schema.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "1.33.0-rc.1750778560",
|
|
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
|
|
38
|
-
"test:dev": "jest --
|
|
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
|
},
|