@icanbwell/bwell-sdk-ts 2.0.0-beta-rc.1764754797 → 2.0.0-beta-rc.1764971887

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-beta-rc.1764754797";
4
+ export declare const VERSION = "2.0.0-beta-rc.1764971887";
@@ -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-beta-rc.1764754797";
4
+ export const VERSION = "2.0.0-beta-rc.1764971887";
@@ -51,7 +51,7 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
51
51
  */
52
52
  search?: string;
53
53
  /**
54
- * Context for the search that determines which PSS configurations to apply.
54
+ * Context to be used for search.
55
55
  */
56
56
  searchContext?: SearchContext;
57
57
  /**
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _GraphQLGetMemberConnectionsBWellResponseFactory_instances, _GraphQLGetMemberConnectionsBWellResponseFactory_buildFromSubscription;
6
+ var _GraphQLGetMemberConnectionsBWellResponseFactory_instances, _GraphQLGetMemberConnectionsBWellResponseFactory_buildFromSubscription, _GraphQLGetMemberConnectionsBWellResponseFactory_getEventTimestamp;
7
7
  import { BWellQueryResult, } from "../../../results/index.js";
8
8
  import { isNotNullOrUndefined, isNullOrUndefined, } from "../../../utils/type-utils.js";
9
9
  export class GraphQLGetMemberConnectionsBWellResponseFactory {
@@ -30,18 +30,21 @@ export class GraphQLGetMemberConnectionsBWellResponseFactory {
30
30
  }
31
31
  }
32
32
  _GraphQLGetMemberConnectionsBWellResponseFactory_instances = new WeakSet(), _GraphQLGetMemberConnectionsBWellResponseFactory_buildFromSubscription = function _GraphQLGetMemberConnectionsBWellResponseFactory_buildFromSubscription(subscription) {
33
- var _a;
34
- const subStatuses = (_a = subscription === null || subscription === void 0 ? void 0 : subscription.resource) === null || _a === void 0 ? void 0 : _a.subscriptionStatus;
35
- if (isNullOrUndefined(subStatuses) || subStatuses.length === 0) {
33
+ var _a, _b, _c;
34
+ const subscriptionStatus = (_b = (_a = subscription === null || subscription === void 0 ? void 0 : subscription.resource) === null || _a === void 0 ? void 0 : _a.subscriptionStatus) === null || _b === void 0 ? void 0 : _b[0];
35
+ if (isNullOrUndefined(subscriptionStatus)) {
36
36
  return null;
37
37
  }
38
- const subscriptionStatus = subStatuses[0];
39
38
  const extensions = subscriptionStatus === null || subscriptionStatus === void 0 ? void 0 : subscriptionStatus.extension;
40
39
  if (isNullOrUndefined(extensions) || extensions.length === 0) {
41
40
  return null;
42
41
  }
43
- // Map extension to member connections fields
42
+ const events = subscriptionStatus.notificationEvent;
43
+ if (isNullOrUndefined(events) || events.length === 0) {
44
+ return null;
45
+ }
44
46
  const connection = {};
47
+ // Map extensions to connection fields
45
48
  for (const extension of extensions) {
46
49
  const extensionKey = extension === null || extension === void 0 ? void 0 : extension.id;
47
50
  const extensionValue = extension === null || extension === void 0 ? void 0 : extension.valueString;
@@ -73,14 +76,26 @@ _GraphQLGetMemberConnectionsBWellResponseFactory_instances = new WeakSet(), _Gra
73
76
  break;
74
77
  }
75
78
  }
79
+ // Timestamp when subscription status last updated
80
+ connection.statusUpdated = ((_c = subscriptionStatus.meta) === null || _c === void 0 ? void 0 : _c.lastUpdated) || null;
81
+ // Timestamp when connection token was created (required)
82
+ connection.created = __classPrivateFieldGet(this, _GraphQLGetMemberConnectionsBWellResponseFactory_instances, "m", _GraphQLGetMemberConnectionsBWellResponseFactory_getEventTimestamp).call(this, "created-date", events);
83
+ // Timestamp when data was last synchronized by pipeline
84
+ const dataLastUpdated = __classPrivateFieldGet(this, _GraphQLGetMemberConnectionsBWellResponseFactory_instances, "m", _GraphQLGetMemberConnectionsBWellResponseFactory_getEventTimestamp).call(this, "data-last-updated", events);
85
+ const dataRetrievalEnd = __classPrivateFieldGet(this, _GraphQLGetMemberConnectionsBWellResponseFactory_instances, "m", _GraphQLGetMemberConnectionsBWellResponseFactory_getEventTimestamp).call(this, "data-retrieval-end", events);
86
+ connection.lastSynced = dataLastUpdated || dataRetrievalEnd || null;
76
87
  // Errors reported by pipeline during data ingest
77
88
  connection.syncError = subscriptionStatus === null || subscriptionStatus === void 0 ? void 0 : subscriptionStatus.error;
78
89
  // Validate connection object
79
90
  if (isNullOrUndefined(connection.id) ||
80
91
  isNullOrUndefined(connection.name) ||
81
92
  isNullOrUndefined(connection.category) ||
82
- isNullOrUndefined(connection.type)) {
93
+ isNullOrUndefined(connection.type) ||
94
+ isNullOrUndefined(connection.created)) {
83
95
  return null;
84
96
  }
85
97
  return connection;
98
+ }, _GraphQLGetMemberConnectionsBWellResponseFactory_getEventTimestamp = function _GraphQLGetMemberConnectionsBWellResponseFactory_getEventTimestamp(id, events) {
99
+ var _a;
100
+ return (_a = events.find((e) => (e === null || e === void 0 ? void 0 : e.id) === id)) === null || _a === void 0 ? void 0 : _a.timestamp;
86
101
  };
@@ -93,7 +93,7 @@ export declare const CreateConnectionDocument = "\n mutation createConnection
93
93
  export declare const DeleteConnectionDocument = "\n mutation deleteConnection($connectionId: String!) {\n deleteConnection(connectionId: $connectionId) {\n status\n statusUpdated\n }\n}\n ";
94
94
  export declare const DisconnectConnectionDocument = "\n mutation disconnectConnection($connectionId: String!) {\n disconnectConnection(connectionId: $connectionId) {\n status\n statusUpdated\n }\n}\n ";
95
95
  export declare const GetDataSourceDocument = "\n query getDataSource($connectionId: String!) {\n getDataSource(connectionId: $connectionId) {\n id\n name\n category\n type\n }\n}\n ";
96
- export declare const GetMemberConnectionsDocument = "\n query getMemberConnections {\n subscriptions(_source: {value: \"https://icanbwell.com/proa\"}) {\n entry {\n resource {\n id\n meta {\n source\n }\n subscriptionStatus {\n error {\n ...CodeableConceptFields\n }\n extension {\n id\n url\n valueString\n }\n }\n }\n }\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 ";
96
+ export declare const GetMemberConnectionsDocument = "\n query getMemberConnections {\n subscriptions(_source: {value: \"https://icanbwell.com/proa\"}) {\n entry {\n resource {\n id\n meta {\n source\n }\n subscriptionStatus {\n meta {\n lastUpdated\n }\n error {\n ...CodeableConceptFields\n }\n extension {\n id\n url\n valueString\n }\n notificationEvent {\n id\n timestamp\n }\n }\n }\n }\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 ";
97
97
  export declare const GetOauthUrlDocument = "\n query getOauthUrl($connectionId: String!) {\n getOauthUrl(connectionId: $connectionId) {\n redirectUrl\n }\n}\n ";
98
98
  export declare const UpdateDeviceRegistrationDocument = "\n mutation updateDeviceRegistration($deviceToken: String!, $platformName: String!, $applicationName: String!, $notificationPreference: Boolean!) {\n updateDeviceRegistration(\n input: {deviceToken: $deviceToken, platform: $platformName, applicationName: $applicationName, notificationPreference: $notificationPreference}\n ) {\n id\n }\n}\n ";
99
99
  export declare const GetCoveragesDocument = "\n query getCoverages($page: Int, $pageSize: Int, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $beneficiary: SearchReference, $patient: SearchReference, $total: TotalType) {\n coverages(\n _getpagesoffset: $page\n _count: $pageSize\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n beneficiary: $beneficiary\n patient: $patient\n _total: $total\n ) {\n id\n total\n entry {\n id\n resource {\n id\n resourceType\n meta {\n ...MetaFields\n }\n status\n type {\n ...CodeableConceptFields\n }\n identifier {\n ...IdentifierFields\n }\n subscriberId\n beneficiary {\n id\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n }\n relationship {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n payor {\n id\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n }\n class {\n id\n type {\n ...CodeableConceptFields\n }\n value\n name\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 \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\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 \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
@@ -1771,6 +1771,9 @@ export const GetMemberConnectionsDocument = `
1771
1771
  source
1772
1772
  }
1773
1773
  subscriptionStatus {
1774
+ meta {
1775
+ lastUpdated
1776
+ }
1774
1777
  error {
1775
1778
  ...CodeableConceptFields
1776
1779
  }
@@ -1779,6 +1782,10 @@ export const GetMemberConnectionsDocument = `
1779
1782
  url
1780
1783
  valueString
1781
1784
  }
1785
+ notificationEvent {
1786
+ id
1787
+ timestamp
1788
+ }
1782
1789
  }
1783
1790
  }
1784
1791
  }
@@ -7863,6 +7863,9 @@ export type GetMemberConnectionsQueryResults = {
7863
7863
  source: any | null;
7864
7864
  } | null;
7865
7865
  subscriptionStatus: Array<{
7866
+ meta: {
7867
+ lastUpdated: any | null;
7868
+ } | null;
7866
7869
  error: Array<{
7867
7870
  id: string | null;
7868
7871
  text: string | null;
@@ -7878,6 +7881,10 @@ export type GetMemberConnectionsQueryResults = {
7878
7881
  url: any | null;
7879
7882
  valueString: string | null;
7880
7883
  } | null> | null;
7884
+ notificationEvent: Array<{
7885
+ id: string | null;
7886
+ timestamp: any | null;
7887
+ } | null> | null;
7881
7888
  } | null> | null;
7882
7889
  } | null;
7883
7890
  } | null> | null;
@@ -2884,6 +2884,13 @@ export type AttachmentInput = {
2884
2884
  id: Scalars['String']['input'];
2885
2885
  title?: InputMaybe<Scalars['String']['input']>;
2886
2886
  };
2887
+ export type AttachmentMetadata = {
2888
+ __typename?: 'AttachmentMetadata';
2889
+ contentType: Scalars['String']['output'];
2890
+ fileName: Scalars['String']['output'];
2891
+ id: Scalars['ID']['output'];
2892
+ size: Scalars['Int']['output'];
2893
+ };
2887
2894
  /**
2888
2895
  * AuditEvent
2889
2896
  * A record of an event made for purposes of maintaining a security log. Typical
@@ -4250,7 +4257,6 @@ export type BootstrapConfiguration = {
4250
4257
  frontendEnvironment: FrontendEnvironment;
4251
4258
  googleGeo: GoogleGeo;
4252
4259
  jwksKid: Scalars['String']['output'];
4253
- mcp: McpMap;
4254
4260
  prefetchAssets: PrefetchAssets;
4255
4261
  telemetry: Telemetry;
4256
4262
  userProfileSvcUrl: Scalars['String']['output'];
@@ -12804,6 +12810,15 @@ export type CodingInput = {
12804
12810
  display?: InputMaybe<Scalars['String']['input']>;
12805
12811
  system?: InputMaybe<Scalars['String']['input']>;
12806
12812
  };
12813
+ export type CommentAuthor = {
12814
+ __typename?: 'CommentAuthor';
12815
+ email: Scalars['String']['output'];
12816
+ name: Scalars['String']['output'];
12817
+ };
12818
+ export type CommentInput = {
12819
+ body: Scalars['String']['input'];
12820
+ uploads?: InputMaybe<Array<Scalars['String']['input']>>;
12821
+ };
12807
12822
  /**
12808
12823
  * Communication
12809
12824
  * An occurrence of information being transmitted; e.g. an alert that was sent to
@@ -18719,6 +18734,26 @@ export type CreateHealthLinkInput = {
18719
18734
  resources?: InputMaybe<Array<ResourceInput>>;
18720
18735
  securityConfig: SecurityConfigInput;
18721
18736
  };
18737
+ export type CreateSupportCommentInput = {
18738
+ body: Scalars['String']['input'];
18739
+ requestId: Scalars['Int']['input'];
18740
+ uploads?: InputMaybe<Array<Scalars['String']['input']>>;
18741
+ };
18742
+ export type CreateSupportCommentResponse = {
18743
+ __typename?: 'CreateSupportCommentResponse';
18744
+ comment: SupportComment;
18745
+ };
18746
+ export type CreateSupportRequestInput = {
18747
+ comment: CommentInput;
18748
+ email?: InputMaybe<Scalars['String']['input']>;
18749
+ fields: SupportRequestFieldsInput;
18750
+ name?: InputMaybe<Scalars['String']['input']>;
18751
+ subject: Scalars['String']['input'];
18752
+ };
18753
+ export type CreateSupportRequestResponse = {
18754
+ __typename?: 'CreateSupportRequestResponse';
18755
+ data?: Maybe<SupportRequest>;
18756
+ };
18722
18757
  /** Defines the connection statuses */
18723
18758
  export type DataConnectionStatus = 'ACCESS_ENDED' | 'CONNECTED' | 'DELETED' | 'DISCONNECTED' | 'ERROR' | 'EXPIRED';
18724
18759
  /** Defines the source type of connection */
@@ -18944,6 +18979,14 @@ export type DataSource = {
18944
18979
  /** Type of data source */
18945
18980
  type: DataConnectionType;
18946
18981
  };
18982
+ export type DeleteSupportAttachmentInput = {
18983
+ attachmentId: Scalars['String']['input'];
18984
+ };
18985
+ export type DeleteSupportAttachmentResponse = {
18986
+ __typename?: 'DeleteSupportAttachmentResponse';
18987
+ status: DeletionStatus;
18988
+ };
18989
+ export type DeletionStatus = 'DELETED';
18947
18990
  /**
18948
18991
  * DetectedIssue
18949
18992
  * Indicates an actual or potential clinical issue with or between one or more
@@ -36865,10 +36908,6 @@ export type MarketingStatus = {
36865
36908
  */
36866
36909
  status?: Maybe<CodeableConcept>;
36867
36910
  };
36868
- export type McpMap = {
36869
- __typename?: 'McpMap';
36870
- bailey: Scalars['String']['output'];
36871
- };
36872
36911
  /**
36873
36912
  * Measure
36874
36913
  * The Measure resource provides the definition of a quality measure.
@@ -43544,6 +43583,8 @@ export type Mutation = {
43544
43583
  createDataExportDirectDownloadUrl?: Maybe<Scalars['String']['output']>;
43545
43584
  createGuestAccessToken: GuestAccessToken;
43546
43585
  createHealthLink: DocumentReference;
43586
+ createSupportComment: CreateSupportCommentResponse;
43587
+ createSupportRequest: CreateSupportRequestResponse;
43547
43588
  createVerificationUrl: Scalars['String']['output'];
43548
43589
  /**
43549
43590
  * Initiates deletion of an AllergyIntolerance resource by its ID.
@@ -43737,6 +43778,7 @@ export type Mutation = {
43737
43778
  * Returns an OperationOutcome for the delete operation.
43738
43779
  */
43739
43780
  deleteSpecimen: OperationOutcome;
43781
+ deleteSupportAttachment: DeleteSupportAttachmentResponse;
43740
43782
  /** Disconnection a connection */
43741
43783
  disconnectConnection: DisconnectConnection;
43742
43784
  exchangeAuthCode: AuthTokens;
@@ -43765,6 +43807,7 @@ export type Mutation = {
43765
43807
  updateUserAccountStatus: IdentityAuthed_OperationOutcome;
43766
43808
  updateUserClient: Array<UpdateUserClientOutput>;
43767
43809
  updateUserProfile?: Maybe<Person>;
43810
+ uploadSupportAttachment: UploadSupportAttachmentResponse;
43768
43811
  };
43769
43812
  export type MutationActivateDirectConnectionArgs = {
43770
43813
  connectionId: Scalars['String']['input'];
@@ -43792,6 +43835,12 @@ export type MutationCreateGuestAccessTokenArgs = {
43792
43835
  export type MutationCreateHealthLinkArgs = {
43793
43836
  input: CreateHealthLinkInput;
43794
43837
  };
43838
+ export type MutationCreateSupportCommentArgs = {
43839
+ input: CreateSupportCommentInput;
43840
+ };
43841
+ export type MutationCreateSupportRequestArgs = {
43842
+ input: CreateSupportRequestInput;
43843
+ };
43795
43844
  export type MutationCreateVerificationUrlArgs = {
43796
43845
  callbackURL?: InputMaybe<Scalars['String']['input']>;
43797
43846
  includeAttributeMatchingCheck?: InputMaybe<Scalars['Boolean']['input']>;
@@ -43856,6 +43905,9 @@ export type MutationDeleteServiceRequestArgs = {
43856
43905
  export type MutationDeleteSpecimenArgs = {
43857
43906
  id: Scalars['UUID']['input'];
43858
43907
  };
43908
+ export type MutationDeleteSupportAttachmentArgs = {
43909
+ input: DeleteSupportAttachmentInput;
43910
+ };
43859
43911
  export type MutationDisconnectConnectionArgs = {
43860
43912
  connectionId: Scalars['String']['input'];
43861
43913
  };
@@ -43906,6 +43958,9 @@ export type MutationUpdateUserClientArgs = {
43906
43958
  export type MutationUpdateUserProfileArgs = {
43907
43959
  input?: InputMaybe<FhirPersonInput>;
43908
43960
  };
43961
+ export type MutationUploadSupportAttachmentArgs = {
43962
+ input: UploadSupportAttachmentInput;
43963
+ };
43909
43964
  export type Name = {
43910
43965
  __typename?: 'Name';
43911
43966
  extension?: Maybe<Array<Maybe<FhirExtension>>>;
@@ -52227,6 +52282,10 @@ export type Query = {
52227
52282
  /** Generate a third party site url used to open login page for the user. */
52228
52283
  getOauthUrl: GenerateUrl;
52229
52284
  getProcedureGroups: ProcedureGroupQueryResults;
52285
+ getSupportCategories: Array<SupportCategory>;
52286
+ getSupportComments: SupportCommentsResponse;
52287
+ getSupportRequest: SupportRequestDetail;
52288
+ getSupportRequests: SupportRequestsResponse;
52230
52289
  /** Query to search for tasks. This query is the preferred method for searching for tasks. */
52231
52290
  getTasks?: Maybe<TaskQueryResults>;
52232
52291
  getToken: AuthTokens;
@@ -53687,6 +53746,15 @@ export type QueryGetOauthUrlArgs = {
53687
53746
  export type QueryGetProcedureGroupsArgs = {
53688
53747
  request?: InputMaybe<ProcedureGroupQueryRequest>;
53689
53748
  };
53749
+ export type QueryGetSupportCommentsArgs = {
53750
+ input: SupportCommentsInput;
53751
+ };
53752
+ export type QueryGetSupportRequestArgs = {
53753
+ id: Scalars['Int']['input'];
53754
+ };
53755
+ export type QueryGetSupportRequestsArgs = {
53756
+ input?: InputMaybe<SupportRequestsInput>;
53757
+ };
53690
53758
  export type QueryGetTasksArgs = {
53691
53759
  request?: InputMaybe<TaskRequest>;
53692
53760
  };
@@ -57090,6 +57158,7 @@ export type RequestGroupSubjectReference = {
57090
57158
  resource?: Maybe<RequestGroupSubject>;
57091
57159
  type?: Maybe<Scalars['URI']['output']>;
57092
57160
  };
57161
+ export type RequestStatus = 'CLOSED' | 'HOLD' | 'NEW' | 'OPEN' | 'PENDING' | 'SOLVED';
57093
57162
  /**
57094
57163
  * ResearchDefinition
57095
57164
  * The ResearchDefinition resource describes the conditional state (population
@@ -58410,6 +58479,7 @@ export type Rest = {
58410
58479
  export type RestEndpoints = {
58411
58480
  __typename?: 'RestEndpoints';
58412
58481
  ats: Scalars['String']['output'];
58482
+ bailey: Scalars['String']['output'];
58413
58483
  big: Scalars['String']['output'];
58414
58484
  health: Scalars['String']['output'];
58415
58485
  healthProgramsGateway: Scalars['String']['output'];
@@ -60171,6 +60241,7 @@ export type SlotScheduleReference = {
60171
60241
  resource?: Maybe<Schedule>;
60172
60242
  type?: Maybe<Scalars['URI']['output']>;
60173
60243
  };
60244
+ export type SortBy = 'UPDATED_AT';
60174
60245
  export type SortField = 'content' | 'distance' | 'relevance';
60175
60246
  /**
60176
60247
  * SortField enum
@@ -64460,6 +64531,65 @@ export type SupplyRequestSupplierReference = {
64460
64531
  resource?: Maybe<SupplyRequestSupplier>;
64461
64532
  type?: Maybe<Scalars['URI']['output']>;
64462
64533
  };
64534
+ export type SupportCategory = {
64535
+ __typename?: 'SupportCategory';
64536
+ label: Scalars['String']['output'];
64537
+ value: Scalars['String']['output'];
64538
+ };
64539
+ export type SupportComment = {
64540
+ __typename?: 'SupportComment';
64541
+ attachments: Array<AttachmentMetadata>;
64542
+ author: CommentAuthor;
64543
+ body: Scalars['String']['output'];
64544
+ createdAt: Scalars['String']['output'];
64545
+ htmlBody: Scalars['String']['output'];
64546
+ id: Scalars['ID']['output'];
64547
+ };
64548
+ export type SupportCommentsInput = {
64549
+ page?: InputMaybe<Scalars['Int']['input']>;
64550
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
64551
+ requestId: Scalars['Int']['input'];
64552
+ sortOrder?: InputMaybe<SortOrderEnum>;
64553
+ };
64554
+ export type SupportCommentsResponse = PagedQueryResults & {
64555
+ __typename?: 'SupportCommentsResponse';
64556
+ comments: Array<SupportComment>;
64557
+ paging_info: PagingResults;
64558
+ };
64559
+ export type SupportRequest = {
64560
+ __typename?: 'SupportRequest';
64561
+ category: Scalars['String']['output'];
64562
+ created: Scalars['String']['output'];
64563
+ id: Scalars['Int']['output'];
64564
+ lastActivity: Scalars['String']['output'];
64565
+ status: RequestStatus;
64566
+ subject: Scalars['String']['output'];
64567
+ };
64568
+ export type SupportRequestDetail = {
64569
+ __typename?: 'SupportRequestDetail';
64570
+ category: Scalars['String']['output'];
64571
+ created: Scalars['String']['output'];
64572
+ id: Scalars['Int']['output'];
64573
+ lastActivity: Scalars['String']['output'];
64574
+ status: RequestStatus;
64575
+ subject: Scalars['String']['output'];
64576
+ };
64577
+ export type SupportRequestFieldsInput = {
64578
+ category: Scalars['String']['input'];
64579
+ };
64580
+ export type SupportRequestsInput = {
64581
+ page?: InputMaybe<Scalars['Int']['input']>;
64582
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
64583
+ search?: InputMaybe<Scalars['String']['input']>;
64584
+ sortBy?: InputMaybe<SortBy>;
64585
+ sortOrder?: InputMaybe<SortOrderEnum>;
64586
+ status?: InputMaybe<Array<RequestStatus>>;
64587
+ };
64588
+ export type SupportRequestsResponse = PagedQueryResults & {
64589
+ __typename?: 'SupportRequestsResponse';
64590
+ data: Array<SupportRequest>;
64591
+ paging_info: PagingResults;
64592
+ };
64463
64593
  /** Represents a CodeableConcept with codings and a human-readable text */
64464
64594
  export type SyncErrorCodeableConcept = {
64465
64595
  __typename?: 'SyncErrorCodeableConcept';
@@ -67717,6 +67847,15 @@ export type UpdatedPersonMetadata = {
67717
67847
  __typename?: 'UpdatedPersonMetadata';
67718
67848
  statusCode?: Maybe<Scalars['String']['output']>;
67719
67849
  };
67850
+ export type UploadSupportAttachmentInput = {
67851
+ file: Scalars['String']['input'];
67852
+ fileName: Scalars['String']['input'];
67853
+ };
67854
+ export type UploadSupportAttachmentResponse = {
67855
+ __typename?: 'UploadSupportAttachmentResponse';
67856
+ attachmentId: Scalars['String']['output'];
67857
+ attachments: Array<AttachmentMetadata>;
67858
+ };
67720
67859
  /**
67721
67860
  * UsageContext
67722
67861
  * Specifies clinical/business/etc. metadata that can be used to retrieve, index
@@ -22,4 +22,16 @@ export type MemberConnection = BaseConnection & {
22
22
  * Errors from the data ingest pipeline.
23
23
  */
24
24
  syncError: (CodeableConcept | null)[] | null;
25
+ /**
26
+ * The timestamp when connection was created.
27
+ */
28
+ created: string;
29
+ /**
30
+ * The timestamp when connection was last updated.
31
+ */
32
+ statusUpdated: string | null;
33
+ /**
34
+ * The timestamp when data was last synchronized.
35
+ */
36
+ lastSynced: string | null;
25
37
  };
@@ -1,4 +1,11 @@
1
1
  import { GroupedHealthDataResponse, ResourceBundle } from "../index.js";
2
+ /**
3
+ * Lab knowledge resource.
4
+ *
5
+ * @category Models
6
+ * @title LabKnowledge
7
+ * @excerpt Lab knowledge resource containing content information about a lab.
8
+ */
2
9
  export type LabKnowledge = {
3
10
  /** Detailed information about the lab */
4
11
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "2.0.0-beta-rc.1764754797",
3
+ "version": "2.0.0-beta-rc.1764971887",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",