@icanbwell/bwell-sdk-ts 1.31.0 → 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.
Files changed (49) hide show
  1. package/README.md +7 -0
  2. package/dist/__version__.d.ts +1 -1
  3. package/dist/__version__.js +1 -1
  4. package/dist/api/base/api-provider.d.ts +2 -0
  5. package/dist/api/base/health-data/health-data-request.d.ts +7 -0
  6. package/dist/api/base/health-data/health-data-request.js +7 -0
  7. package/dist/api/base/health-data/health-manager.d.ts +23 -2
  8. package/dist/api/base/health-data/index.d.ts +2 -2
  9. package/dist/api/base/health-data/index.js +1 -1
  10. package/dist/api/base/health-space/appointments-request.d.ts +6 -1
  11. package/dist/api/base/health-space/appointments-request.js +8 -2
  12. package/dist/api/base/index.d.ts +1 -0
  13. package/dist/api/base/index.js +1 -0
  14. package/dist/api/base/questionnaire/index.d.ts +2 -0
  15. package/dist/api/base/questionnaire/index.js +1 -0
  16. package/dist/api/base/questionnaire/next-question-request.d.ts +18 -0
  17. package/dist/api/base/questionnaire/next-question-request.js +55 -0
  18. package/dist/api/base/questionnaire/questionnaire-manager.d.ts +19 -0
  19. package/dist/api/base/questionnaire/questionnaire-manager.js +1 -0
  20. package/dist/api/base/requests/search-token.d.ts +8 -4
  21. package/dist/api/base/requests/search-token.js +24 -2
  22. package/dist/api/base/search/index.d.ts +2 -1
  23. package/dist/api/base/search/index.js +1 -0
  24. package/dist/api/base/search/search-health-resources-request.d.ts +87 -0
  25. package/dist/api/base/search/search-health-resources-request.js +20 -0
  26. package/dist/api/base/search/search-manager.d.ts +14 -3
  27. package/dist/api/graphql-api/graphql-api-provider.d.ts +2 -0
  28. package/dist/api/graphql-api/graphql-api-provider.js +2 -0
  29. package/dist/api/graphql-api/health-space/appointments-request-factory.js +2 -1
  30. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +3 -1
  31. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +34 -0
  32. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +19 -0
  33. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +58 -0
  34. package/dist/api/graphql-api/questionnaire/index.d.ts +1 -0
  35. package/dist/api/graphql-api/questionnaire/index.js +1 -0
  36. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +2 -1
  37. package/dist/api/graphql-api/search/graphql-search-manager.js +24 -3
  38. package/dist/api/graphql-api/search/search-health-resources-request-factory.d.ts +14 -0
  39. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +28 -0
  40. package/dist/api/graphql-api/search/search-request-factory.d.ts +1 -1
  41. package/dist/api/graphql-api/search/search-request-factory.js +1 -1
  42. package/dist/bwell-sdk/bwell-sdk.d.ts +2 -0
  43. package/dist/bwell-sdk/bwell-sdk.js +3 -0
  44. package/dist/graphql/operations/index.d.ts +30 -2
  45. package/dist/graphql/operations/index.js +402 -1
  46. package/dist/graphql/operations/types.d.ts +3617 -826
  47. package/dist/graphql/schema.d.ts +408 -205
  48. package/dist/graphql/schema.js +18 -1
  49. package/package.json +2 -2
@@ -37,6 +37,7 @@ export var CategoryCode;
37
37
  CategoryCode["DataSharing"] = "DATA_SHARING";
38
38
  CategoryCode["HealthCircleAdolescent"] = "HEALTH_CIRCLE_ADOLESCENT";
39
39
  CategoryCode["HealthCircleMinor"] = "HEALTH_CIRCLE_MINOR";
40
+ CategoryCode["HealthMatch"] = "HEALTH_MATCH";
40
41
  CategoryCode["IasImportRecords"] = "IAS_IMPORT_RECORDS";
41
42
  CategoryCode["MobileCommunicationPreferences"] = "MOBILE_COMMUNICATION_PREFERENCES";
42
43
  CategoryCode["PersonalizedHealthOffersAndAds"] = "PERSONALIZED_HEALTH_OFFERS_AND_ADS";
@@ -76,6 +77,13 @@ export var ConsentStatus;
76
77
  ConsentStatus["Proposed"] = "PROPOSED";
77
78
  ConsentStatus["Rejected"] = "REJECTED";
78
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 = {}));
79
87
  /** Supported ISO 4217 CurrencyCodes */
80
88
  export var CurrencyCode;
81
89
  (function (CurrencyCode) {
@@ -197,6 +205,14 @@ export var GenderEnum;
197
205
  GenderEnum["Other"] = "OTHER";
198
206
  GenderEnum["Unknown"] = "UNKNOWN";
199
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 = {}));
200
216
  export var HealthSummaryCategory;
201
217
  (function (HealthSummaryCategory) {
202
218
  HealthSummaryCategory["AllergyIntolerance"] = "ALLERGY_INTOLERANCE";
@@ -352,7 +368,7 @@ export var ResourceType;
352
368
  export var SearchResultTypeEnum;
353
369
  (function (SearchResultTypeEnum) {
354
370
  SearchResultTypeEnum["Insurance"] = "INSURANCE";
355
- SearchResultTypeEnum["Lab"] = "LAB";
371
+ SearchResultTypeEnum["Laboratory"] = "LABORATORY";
356
372
  SearchResultTypeEnum["Pharmacy"] = "PHARMACY";
357
373
  SearchResultTypeEnum["Practice"] = "PRACTICE";
358
374
  SearchResultTypeEnum["Practitioner"] = "PRACTITIONER";
@@ -370,6 +386,7 @@ export var SortField;
370
386
  export var SortFieldEnum;
371
387
  (function (SortFieldEnum) {
372
388
  SortFieldEnum["Content"] = "CONTENT";
389
+ SortFieldEnum["DataSourceRank"] = "DATA_SOURCE_RANK";
373
390
  SortFieldEnum["Distance"] = "DISTANCE";
374
391
  SortFieldEnum["Relevance"] = "RELEVANCE";
375
392
  })(SortFieldEnum || (SortFieldEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.31.0",
3
+ "version": "1.33.0-rc.1750778560",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "test": "jest",
38
38
  "test:dev": "jest --config=./jest.dev.config.js",
39
39
  "pretest:ci": "npm run generate",
40
- "test:ci": "npm run test -- --verbose --coverage"
40
+ "test:ci": "npm run test -- --runInBand --verbose --coverage"
41
41
  },
42
42
  "dependencies": {
43
43
  "@opentelemetry/api": "^1.9.0",