@icanbwell/bwell-sdk-ts 1.33.0 → 1.34.0-rc.1751992798
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/README.md +1 -1
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/health-data/health-manager.d.ts +12 -4
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +7 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +13 -7
- package/dist/graphql/operations/index.d.ts +13 -8
- package/dist/graphql/operations/index.js +129 -77
- package/dist/graphql/operations/types.d.ts +312 -589
- package/dist/graphql/schema.d.ts +62 -10
- package/dist/graphql/schema.js +15 -0
- package/package.json +2 -1
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -482,6 +482,7 @@ export type BootstrapConfiguration = {
|
|
|
482
482
|
clientSlug: Scalars['String']['output'];
|
|
483
483
|
embeddableConfiguration: EmbeddableConfiguration;
|
|
484
484
|
environment: Scalars['String']['output'];
|
|
485
|
+
externalMedicationTaskActivityIds: Array<Scalars['String']['output']>;
|
|
485
486
|
featureFlagConfiguration: FeatureFlagConfiguration;
|
|
486
487
|
frontendEnvironment: FrontendEnvironment;
|
|
487
488
|
googleGeo: GoogleGeo;
|
|
@@ -1125,7 +1126,7 @@ export type ConsentVerificationVerifiedWithReference = {
|
|
|
1125
1126
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1126
1127
|
};
|
|
1127
1128
|
export type ContactField = {
|
|
1128
|
-
use:
|
|
1129
|
+
use: ContactUseType;
|
|
1129
1130
|
value: Scalars['String']['input'];
|
|
1130
1131
|
};
|
|
1131
1132
|
export type ContactPoint = {
|
|
@@ -1150,6 +1151,12 @@ export type ContactPointInput = {
|
|
|
1150
1151
|
/** Can define enum */
|
|
1151
1152
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
1152
1153
|
};
|
|
1154
|
+
/** Contact.use options */
|
|
1155
|
+
export declare enum ContactUseType {
|
|
1156
|
+
Home = "home",
|
|
1157
|
+
Mobile = "mobile",
|
|
1158
|
+
Work = "work"
|
|
1159
|
+
}
|
|
1153
1160
|
/** Supported ISO 4217 CurrencyCodes */
|
|
1154
1161
|
export declare enum CurrencyCode {
|
|
1155
1162
|
Usd = "USD"
|
|
@@ -1644,7 +1651,7 @@ export type Expression = {
|
|
|
1644
1651
|
export type ExpressionInput = {
|
|
1645
1652
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1646
1653
|
expression?: InputMaybe<Scalars['String']['input']>;
|
|
1647
|
-
extension?: InputMaybe<Array<InputMaybe<
|
|
1654
|
+
extension?: InputMaybe<Array<InputMaybe<FhirExtensionInput>>>;
|
|
1648
1655
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1649
1656
|
language?: InputMaybe<Scalars['Code']['input']>;
|
|
1650
1657
|
name?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1750,12 +1757,33 @@ export type FhirExtension = {
|
|
|
1750
1757
|
/** None */
|
|
1751
1758
|
valueUri?: Maybe<Scalars['URI']['output']>;
|
|
1752
1759
|
};
|
|
1760
|
+
export type FhirExtensionInput = {
|
|
1761
|
+
extension?: InputMaybe<Array<InputMaybe<FhirExtensionInput>>>;
|
|
1762
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
1763
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
1764
|
+
valueBoolean?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1765
|
+
valueCode?: InputMaybe<Scalars['Code']['input']>;
|
|
1766
|
+
valueCodeableConcept?: InputMaybe<CodeableConceptInput>;
|
|
1767
|
+
valueDateTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1768
|
+
valueExpression?: InputMaybe<ExpressionInput>;
|
|
1769
|
+
valueInteger?: InputMaybe<Scalars['Int']['input']>;
|
|
1770
|
+
valueReference?: InputMaybe<FhirReferenceInput>;
|
|
1771
|
+
valueString?: InputMaybe<Scalars['String']['input']>;
|
|
1772
|
+
valueUri?: InputMaybe<Scalars['URI']['input']>;
|
|
1773
|
+
};
|
|
1753
1774
|
export type FhirFormQuestionnaire = {
|
|
1754
1775
|
__typename?: 'FhirFormQuestionnaire';
|
|
1755
1776
|
model?: Maybe<Model>;
|
|
1756
1777
|
schema?: Maybe<Schema>;
|
|
1757
1778
|
uiSchema?: Maybe<Scalars['UiSchema']['output']>;
|
|
1758
1779
|
};
|
|
1780
|
+
export type FhirReferenceInput = {
|
|
1781
|
+
display?: InputMaybe<Scalars['String']['input']>;
|
|
1782
|
+
extension?: InputMaybe<Array<InputMaybe<FhirExtensionInput>>>;
|
|
1783
|
+
identifier?: InputMaybe<IdentifierInput>;
|
|
1784
|
+
reference?: InputMaybe<Scalars['String']['input']>;
|
|
1785
|
+
type?: InputMaybe<Scalars['URI']['input']>;
|
|
1786
|
+
};
|
|
1759
1787
|
export declare enum FilterField {
|
|
1760
1788
|
Characteristic = "characteristic",
|
|
1761
1789
|
Communication = "communication",
|
|
@@ -1814,6 +1842,13 @@ export declare enum GenderEnum {
|
|
|
1814
1842
|
Other = "OTHER",
|
|
1815
1843
|
Unknown = "UNKNOWN"
|
|
1816
1844
|
}
|
|
1845
|
+
/** Gender options */
|
|
1846
|
+
export declare enum GenderType {
|
|
1847
|
+
Female = "female",
|
|
1848
|
+
Male = "male",
|
|
1849
|
+
Other = "other",
|
|
1850
|
+
Unknown = "unknown"
|
|
1851
|
+
}
|
|
1817
1852
|
/** Generate an oauth url */
|
|
1818
1853
|
export type GenerateUrl = {
|
|
1819
1854
|
__typename?: 'GenerateUrl';
|
|
@@ -1832,7 +1867,7 @@ export type GetTokenFromDemographicsInput = {
|
|
|
1832
1867
|
address: AddressField;
|
|
1833
1868
|
birthDate: Scalars['String']['input'];
|
|
1834
1869
|
email: Scalars['String']['input'];
|
|
1835
|
-
gender:
|
|
1870
|
+
gender: GenderType;
|
|
1836
1871
|
mobile: ContactField;
|
|
1837
1872
|
name: NamedField;
|
|
1838
1873
|
userIdentifier: Scalars['String']['input'];
|
|
@@ -4521,6 +4556,7 @@ export type Questionnaire = Resource & {
|
|
|
4521
4556
|
status?: Maybe<Scalars['Code']['output']>;
|
|
4522
4557
|
title?: Maybe<Scalars['String']['output']>;
|
|
4523
4558
|
url?: Maybe<Scalars['URI']['output']>;
|
|
4559
|
+
useContext?: Maybe<Array<Maybe<UsageContext>>>;
|
|
4524
4560
|
version?: Maybe<Scalars['String']['output']>;
|
|
4525
4561
|
};
|
|
4526
4562
|
export type QuestionnaireAnswerOption = {
|
|
@@ -4672,21 +4708,21 @@ export type QuestionnaireResponseAnswerValueReferenceReference = {
|
|
|
4672
4708
|
type?: Maybe<Scalars['URI']['output']>;
|
|
4673
4709
|
};
|
|
4674
4710
|
export type QuestionnaireResponseInput = {
|
|
4675
|
-
author?: InputMaybe<
|
|
4711
|
+
author?: InputMaybe<FhirReferenceInput>;
|
|
4676
4712
|
authored?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4677
|
-
basedOn?: InputMaybe<Array<InputMaybe<
|
|
4713
|
+
basedOn?: InputMaybe<Array<InputMaybe<FhirReferenceInput>>>;
|
|
4678
4714
|
contained?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
|
|
4679
|
-
encounter?: InputMaybe<
|
|
4715
|
+
encounter?: InputMaybe<FhirReferenceInput>;
|
|
4680
4716
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
4681
4717
|
identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
|
|
4682
4718
|
item?: InputMaybe<Array<InputMaybe<QuestionnaireResponseItemInput>>>;
|
|
4683
4719
|
meta?: InputMaybe<MetaInput>;
|
|
4684
|
-
partOf?: InputMaybe<Array<InputMaybe<
|
|
4720
|
+
partOf?: InputMaybe<Array<InputMaybe<FhirReferenceInput>>>;
|
|
4685
4721
|
questionnaire: Scalars['URI']['input'];
|
|
4686
4722
|
resourceType: Scalars['String']['input'];
|
|
4687
|
-
source?: InputMaybe<
|
|
4723
|
+
source?: InputMaybe<FhirReferenceInput>;
|
|
4688
4724
|
status: Scalars['Code']['input'];
|
|
4689
|
-
subject?: InputMaybe<
|
|
4725
|
+
subject?: InputMaybe<FhirReferenceInput>;
|
|
4690
4726
|
};
|
|
4691
4727
|
export type QuestionnaireResponseItem = {
|
|
4692
4728
|
__typename?: 'QuestionnaireResponseItem';
|
|
@@ -4708,7 +4744,7 @@ export type QuestionnaireResponseItemAnswerInput = {
|
|
|
4708
4744
|
valueDecimal?: InputMaybe<Scalars['Float']['input']>;
|
|
4709
4745
|
valueInteger?: InputMaybe<Scalars['Int']['input']>;
|
|
4710
4746
|
valueQuantity?: InputMaybe<QuantityInput>;
|
|
4711
|
-
valueReference?: InputMaybe<
|
|
4747
|
+
valueReference?: InputMaybe<FhirReferenceInput>;
|
|
4712
4748
|
valueString?: InputMaybe<Scalars['String']['input']>;
|
|
4713
4749
|
valueUri?: InputMaybe<Scalars['URI']['input']>;
|
|
4714
4750
|
};
|
|
@@ -4788,6 +4824,7 @@ export type Reference = {
|
|
|
4788
4824
|
export type ReferenceInput = {
|
|
4789
4825
|
display?: InputMaybe<Scalars['String']['input']>;
|
|
4790
4826
|
extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
|
|
4827
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
4791
4828
|
identifier?: InputMaybe<IdentifierInput>;
|
|
4792
4829
|
reference?: InputMaybe<Scalars['String']['input']>;
|
|
4793
4830
|
type?: InputMaybe<Scalars['URI']['input']>;
|
|
@@ -5516,6 +5553,21 @@ export type UpdatedPersonMetadata = {
|
|
|
5516
5553
|
__typename?: 'UpdatedPersonMetadata';
|
|
5517
5554
|
statusCode?: Maybe<Scalars['String']['output']>;
|
|
5518
5555
|
};
|
|
5556
|
+
export type UsageContext = {
|
|
5557
|
+
__typename?: 'UsageContext';
|
|
5558
|
+
code?: Maybe<Coding>;
|
|
5559
|
+
extension?: Maybe<Array<Maybe<FhirExtension>>>;
|
|
5560
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
5561
|
+
valueReference?: Maybe<UsageContextValueReferenceReference>;
|
|
5562
|
+
};
|
|
5563
|
+
export type UsageContextValueReferenceReference = {
|
|
5564
|
+
__typename?: 'UsageContextValueReferenceReference';
|
|
5565
|
+
display?: Maybe<Scalars['String']['output']>;
|
|
5566
|
+
extension?: Maybe<Array<Maybe<FhirExtension>>>;
|
|
5567
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
5568
|
+
identifier?: Maybe<Identifier>;
|
|
5569
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
5570
|
+
};
|
|
5519
5571
|
export type User = {
|
|
5520
5572
|
app_id?: InputMaybe<Scalars['String']['input']>;
|
|
5521
5573
|
email?: InputMaybe<Scalars['String']['input']>;
|
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.34.0-rc.1751992798",
|
|
4
4
|
"description": "b.well TypeScript SDK",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"prettier": "prettier",
|
|
36
36
|
"prepublishOnly": "npm run build",
|
|
37
37
|
"test": "jest",
|
|
38
|
+
"test:watch": "jest --watch",
|
|
38
39
|
"test:dev": "jest --config=./jest.dev.config.js",
|
|
39
40
|
"pretest:ci": "npm run generate",
|
|
40
41
|
"test:ci": "npm run test -- --runInBand --verbose --coverage"
|