@icanbwell/bwell-sdk-ts 1.53.0 → 1.54.0-rc.1766511008
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-space/care-team-members-request.d.ts +31 -0
- package/dist/api/base/health-space/care-team-members-request.js +33 -0
- package/dist/api/base/health-space/health-space-manager.d.ts +23 -1
- package/dist/api/base/health-space/index.d.ts +2 -1
- package/dist/api/base/health-space/index.js +1 -0
- package/dist/api/base/support/create-support-request-request.d.ts +22 -0
- package/dist/api/base/support/create-support-request-request.js +20 -0
- package/dist/api/base/support/delete-support-attachment-request.d.ts +11 -0
- package/dist/api/base/support/delete-support-attachment-request.js +14 -0
- package/dist/api/base/support/get-support-articles-request.d.ts +14 -0
- package/dist/api/base/support/get-support-articles-request.js +12 -0
- package/dist/api/base/support/get-support-comments-request.d.ts +14 -0
- package/dist/api/base/support/get-support-comments-request.js +15 -0
- package/dist/api/base/support/index.d.ts +5 -0
- package/dist/api/base/support/index.js +5 -0
- package/dist/api/base/support/support-manager.d.ts +48 -2
- package/dist/api/base/support/upload-support-attachment-request.d.ts +25 -0
- package/dist/api/base/support/upload-support-attachment-request.js +27 -0
- package/dist/api/graphql-api/graphql-manager/graphql-manager.d.ts +1 -0
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +12 -0
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +17 -0
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +2 -1
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +28 -2
- package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/create-support-request-request-factory.js +19 -0
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +10 -0
- package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.js +15 -0
- package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.js +14 -0
- package/dist/api/graphql-api/support/graphql-support-manager.d.ts +15 -4
- package/dist/api/graphql-api/support/graphql-support-manager.js +119 -4
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +11 -0
- package/dist/graphql/operations/index.d.ts +56 -0
- package/dist/graphql/operations/index.js +141 -0
- package/dist/graphql/operations/types.d.ts +130 -4
- package/dist/graphql/schema.d.ts +107 -3
- package/package.json +2 -2
|
@@ -1,15 +1,26 @@
|
|
|
1
|
-
import { GetSupportRequestsQueryVariables } from "../../../graphql/operations/types.js";
|
|
1
|
+
import { CreateSupportRequestMutationVariables, DeleteSupportAttachmentMutationVariables, GetSupportArticlesQueryVariables, GetSupportCommentsQueryVariables, GetSupportRequestsQueryVariables, UploadSupportAttachmentMutationVariables } from "../../../graphql/operations/types.js";
|
|
2
2
|
import { LoggerProvider } from "../../../logger/index.js";
|
|
3
3
|
import { RequestFactory } from "../../../requests/index.js";
|
|
4
|
-
import { BWellQueryResult } from "../../../results/index.js";
|
|
4
|
+
import { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
5
5
|
import { BaseManagerError } from "../../base/errors.js";
|
|
6
|
+
import { GetSupportCommentsRequest } from "../../base/index.js";
|
|
7
|
+
import { CreateSupportRequestRequest } from "../../base/support/create-support-request-request.js";
|
|
8
|
+
import { DeleteSupportAttachmentRequest } from "../../base/support/delete-support-attachment-request.js";
|
|
9
|
+
import { GetSupportArticlesRequest } from "../../base/support/get-support-articles-request.js";
|
|
6
10
|
import { GetSupportRequestsRequest } from "../../base/support/get-support-requests-request.js";
|
|
7
11
|
import type { SupportManager } from "../../base/support/support-manager.js";
|
|
8
|
-
import { GetSupportRequestsResults } from "../../base/support/support-manager.js";
|
|
12
|
+
import { CreateSupportRequestResults, DeleteSupportAttachmentResults, GetSupportArticlesResults, GetSupportCategoriesResults, GetSupportCommentsResults, GetSupportRequestsResults, UploadSupportAttachmentResults } from "../../base/support/support-manager.js";
|
|
13
|
+
import { UploadSupportAttachmentRequest } from "../../base/support/upload-support-attachment-request.js";
|
|
9
14
|
import { GraphQLManager } from "../graphql-manager/index.js";
|
|
10
15
|
import type { GraphQLSdk } from "../graphql-sdk/index.js";
|
|
11
16
|
export declare class GraphQLSupportManager extends GraphQLManager implements SupportManager {
|
|
12
17
|
#private;
|
|
13
|
-
constructor(sdk: GraphQLSdk, loggerProvider?: LoggerProvider, getSupportRequestsRequestFactory?: RequestFactory<GetSupportRequestsRequest, GetSupportRequestsQueryVariables>);
|
|
18
|
+
constructor(sdk: GraphQLSdk, loggerProvider?: LoggerProvider, getSupportRequestsRequestFactory?: RequestFactory<GetSupportRequestsRequest, GetSupportRequestsQueryVariables>, uploadSupportAttachmentRequestFactory?: RequestFactory<UploadSupportAttachmentRequest, UploadSupportAttachmentMutationVariables>, deleteSupportAttachmentRequestFactory?: RequestFactory<DeleteSupportAttachmentRequest, DeleteSupportAttachmentMutationVariables>, createSupportRequestRequestFactory?: RequestFactory<CreateSupportRequestRequest, CreateSupportRequestMutationVariables>, getSupportArticlesRequestFactory?: RequestFactory<GetSupportArticlesRequest, GetSupportArticlesQueryVariables>, getSupportCommentsRequestFactory?: RequestFactory<GetSupportCommentsRequest, GetSupportCommentsQueryVariables>);
|
|
14
19
|
getSupportRequests(request: GetSupportRequestsRequest): Promise<BWellQueryResult<GetSupportRequestsResults, BaseManagerError>>;
|
|
20
|
+
uploadSupportAttachment(request: UploadSupportAttachmentRequest): Promise<BWellTransactionResult<UploadSupportAttachmentResults, BaseManagerError>>;
|
|
21
|
+
deleteSupportAttachment(request: DeleteSupportAttachmentRequest): Promise<BWellTransactionResult<DeleteSupportAttachmentResults, BaseManagerError>>;
|
|
22
|
+
createSupportRequest(request: CreateSupportRequestRequest): Promise<BWellTransactionResult<CreateSupportRequestResults, BaseManagerError>>;
|
|
23
|
+
getSupportCategories(): Promise<BWellQueryResult<GetSupportCategoriesResults, BaseManagerError>>;
|
|
24
|
+
getSupportArticles(request: GetSupportArticlesRequest): Promise<BWellQueryResult<GetSupportArticlesResults, BaseManagerError>>;
|
|
25
|
+
getSupportComments(request: GetSupportCommentsRequest): Promise<BWellQueryResult<GetSupportCommentsResults, BaseManagerError>>;
|
|
15
26
|
}
|
|
@@ -18,20 +18,35 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
18
18
|
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");
|
|
19
19
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
20
20
|
};
|
|
21
|
-
var _GraphQLSupportManager_sdk, _GraphQLSupportManager_logger, _GraphQLSupportManager_getSupportRequestsRequestFactory;
|
|
21
|
+
var _GraphQLSupportManager_sdk, _GraphQLSupportManager_logger, _GraphQLSupportManager_getSupportRequestsRequestFactory, _GraphQLSupportManager_uploadSupportAttachmentRequestFactory, _GraphQLSupportManager_deleteSupportAttachmentRequestFactory, _GraphQLSupportManager_createSupportRequestRequestFactory, _GraphQLSupportManager_getSupportArticlesRequestFactory, _GraphQLSupportManager_getSupportCommentsRequestFactory;
|
|
22
22
|
import { ConsoleLoggerProvider, } from "../../../logger/index.js";
|
|
23
|
-
import { BWellQueryResult } from "../../../results/index.js";
|
|
23
|
+
import { BWellQueryResult, BWellTransactionResult, } from "../../../results/index.js";
|
|
24
24
|
import { GraphQLManager } from "../graphql-manager/index.js";
|
|
25
|
+
import { GraphQLCreateSupportRequestRequestFactory } from "./create-support-request-request-factory.js";
|
|
26
|
+
import { GraphQLDeleteSupportAttachmentRequestFactory } from "./delete-support-attachment-request-factory.js";
|
|
27
|
+
import { GraphQLGetSupportArticlesBwellRequestFactory } from "./get-support-articles-bwell-request-factory.js";
|
|
28
|
+
import { GraphQLGetSupportCommentsBwellRequestFactory } from "./get-support-comments-bwell-request-factory.js";
|
|
25
29
|
import { GraphQLGetSupportRequestsBwellRequestFactory } from "./get-support-requests-bwell-request-factory.js";
|
|
30
|
+
import { GraphQLUploadSupportAttachmentRequestFactory } from "./upload-support-attachment-request-factory.js";
|
|
26
31
|
export class GraphQLSupportManager extends GraphQLManager {
|
|
27
|
-
constructor(sdk, loggerProvider = new ConsoleLoggerProvider(), getSupportRequestsRequestFactory = new GraphQLGetSupportRequestsBwellRequestFactory()) {
|
|
32
|
+
constructor(sdk, loggerProvider = new ConsoleLoggerProvider(), getSupportRequestsRequestFactory = new GraphQLGetSupportRequestsBwellRequestFactory(), uploadSupportAttachmentRequestFactory = new GraphQLUploadSupportAttachmentRequestFactory(), deleteSupportAttachmentRequestFactory = new GraphQLDeleteSupportAttachmentRequestFactory(), createSupportRequestRequestFactory = new GraphQLCreateSupportRequestRequestFactory(), getSupportArticlesRequestFactory = new GraphQLGetSupportArticlesBwellRequestFactory(), getSupportCommentsRequestFactory = new GraphQLGetSupportCommentsBwellRequestFactory()) {
|
|
28
33
|
super();
|
|
29
34
|
_GraphQLSupportManager_sdk.set(this, void 0);
|
|
30
35
|
_GraphQLSupportManager_logger.set(this, void 0);
|
|
31
36
|
_GraphQLSupportManager_getSupportRequestsRequestFactory.set(this, void 0);
|
|
37
|
+
_GraphQLSupportManager_uploadSupportAttachmentRequestFactory.set(this, void 0);
|
|
38
|
+
_GraphQLSupportManager_deleteSupportAttachmentRequestFactory.set(this, void 0);
|
|
39
|
+
_GraphQLSupportManager_createSupportRequestRequestFactory.set(this, void 0);
|
|
40
|
+
_GraphQLSupportManager_getSupportArticlesRequestFactory.set(this, void 0);
|
|
41
|
+
_GraphQLSupportManager_getSupportCommentsRequestFactory.set(this, void 0);
|
|
32
42
|
__classPrivateFieldSet(this, _GraphQLSupportManager_sdk, sdk, "f");
|
|
33
43
|
__classPrivateFieldSet(this, _GraphQLSupportManager_logger, loggerProvider.getLogger("GraphQLSupportManager"), "f");
|
|
34
44
|
__classPrivateFieldSet(this, _GraphQLSupportManager_getSupportRequestsRequestFactory, getSupportRequestsRequestFactory, "f");
|
|
45
|
+
__classPrivateFieldSet(this, _GraphQLSupportManager_uploadSupportAttachmentRequestFactory, uploadSupportAttachmentRequestFactory, "f");
|
|
46
|
+
__classPrivateFieldSet(this, _GraphQLSupportManager_deleteSupportAttachmentRequestFactory, deleteSupportAttachmentRequestFactory, "f");
|
|
47
|
+
__classPrivateFieldSet(this, _GraphQLSupportManager_createSupportRequestRequestFactory, createSupportRequestRequestFactory, "f");
|
|
48
|
+
__classPrivateFieldSet(this, _GraphQLSupportManager_getSupportArticlesRequestFactory, getSupportArticlesRequestFactory, "f");
|
|
49
|
+
__classPrivateFieldSet(this, _GraphQLSupportManager_getSupportCommentsRequestFactory, getSupportCommentsRequestFactory, "f");
|
|
35
50
|
}
|
|
36
51
|
getSupportRequests(request) {
|
|
37
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -50,5 +65,105 @@ export class GraphQLSupportManager extends GraphQLManager {
|
|
|
50
65
|
return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getSupportRequests, result.error);
|
|
51
66
|
});
|
|
52
67
|
}
|
|
68
|
+
uploadSupportAttachment(request) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
const validationResult = this.validateRequest(request);
|
|
71
|
+
if (validationResult.failure()) {
|
|
72
|
+
return validationResult.intoFailure();
|
|
73
|
+
}
|
|
74
|
+
const inputVariables = __classPrivateFieldGet(this, _GraphQLSupportManager_uploadSupportAttachmentRequestFactory, "f").create(request);
|
|
75
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("calling uploadSupportAttachment mutation...");
|
|
76
|
+
const result = yield this.handleTransaction(__classPrivateFieldGet(this, _GraphQLSupportManager_sdk, "f").UploadSupportAttachment(inputVariables));
|
|
77
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("uploadSupportAttachment mutation complete.");
|
|
78
|
+
if (result.failure()) {
|
|
79
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").error("uploadSupportAttachment mutation error", result);
|
|
80
|
+
return result.intoFailure();
|
|
81
|
+
}
|
|
82
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").info("uploadSupportAttachment mutation success");
|
|
83
|
+
return BWellTransactionResult.success(result.data().uploadSupportAttachment);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
deleteSupportAttachment(request) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
const validationResult = this.validateRequest(request);
|
|
89
|
+
if (validationResult.failure()) {
|
|
90
|
+
return validationResult.intoFailure();
|
|
91
|
+
}
|
|
92
|
+
const inputVariables = __classPrivateFieldGet(this, _GraphQLSupportManager_deleteSupportAttachmentRequestFactory, "f").create(request);
|
|
93
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("calling deleteSupportAttachment mutation...");
|
|
94
|
+
const result = yield this.handleTransaction(__classPrivateFieldGet(this, _GraphQLSupportManager_sdk, "f").DeleteSupportAttachment(inputVariables));
|
|
95
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("deleteSupportAttachment mutation complete.");
|
|
96
|
+
if (result.failure()) {
|
|
97
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").error("deleteSupportAttachment mutation error", result);
|
|
98
|
+
return result.intoFailure();
|
|
99
|
+
}
|
|
100
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").info("deleteSupportAttachment mutation success");
|
|
101
|
+
return BWellTransactionResult.success(result.data().deleteSupportAttachment);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
createSupportRequest(request) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const validationResult = this.validateRequest(request);
|
|
107
|
+
if (validationResult.failure()) {
|
|
108
|
+
return validationResult.intoFailure();
|
|
109
|
+
}
|
|
110
|
+
const inputVariables = __classPrivateFieldGet(this, _GraphQLSupportManager_createSupportRequestRequestFactory, "f").create(request);
|
|
111
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("calling createSupportRequest mutation...");
|
|
112
|
+
const result = yield this.handleTransaction(__classPrivateFieldGet(this, _GraphQLSupportManager_sdk, "f").CreateSupportRequest(inputVariables));
|
|
113
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("createSupportRequest mutation complete.");
|
|
114
|
+
if (result.failure()) {
|
|
115
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").error("createSupportRequest mutation error", result);
|
|
116
|
+
return result.intoFailure();
|
|
117
|
+
}
|
|
118
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").info("createSupportRequest mutation success");
|
|
119
|
+
return BWellTransactionResult.success(result.data().createSupportRequest);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
getSupportCategories() {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
var _a;
|
|
125
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("calling getSupportCategories query...");
|
|
126
|
+
const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLSupportManager_sdk, "f").GetSupportCategories());
|
|
127
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("getSupportCategories query complete.");
|
|
128
|
+
if (result.hasError()) {
|
|
129
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").error("getSupportCategories query error", result.error);
|
|
130
|
+
}
|
|
131
|
+
return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getSupportCategories, result.error);
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
getSupportArticles(request) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
var _a;
|
|
137
|
+
const validationResult = this.validateRequest(request);
|
|
138
|
+
if (validationResult.failure()) {
|
|
139
|
+
return validationResult.toQueryResult();
|
|
140
|
+
}
|
|
141
|
+
const inputVariables = __classPrivateFieldGet(this, _GraphQLSupportManager_getSupportArticlesRequestFactory, "f").create(request);
|
|
142
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("calling getSupportArticles query...");
|
|
143
|
+
const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLSupportManager_sdk, "f").getSupportArticles(inputVariables));
|
|
144
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("getSupportArticles query complete.");
|
|
145
|
+
if (result.hasError()) {
|
|
146
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").error("getSupportArticles query error", result.error);
|
|
147
|
+
}
|
|
148
|
+
return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getSupportArticles, result.error);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
getSupportComments(request) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
var _a;
|
|
154
|
+
const validationResult = this.validateRequest(request);
|
|
155
|
+
if (validationResult.failure()) {
|
|
156
|
+
return validationResult.toQueryResult();
|
|
157
|
+
}
|
|
158
|
+
const inputVariables = __classPrivateFieldGet(this, _GraphQLSupportManager_getSupportCommentsRequestFactory, "f").create(request);
|
|
159
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("calling getSupportComments query...");
|
|
160
|
+
const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLSupportManager_sdk, "f").getSupportComments(inputVariables));
|
|
161
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").verbose("getSupportComments query complete.");
|
|
162
|
+
if (result.hasError()) {
|
|
163
|
+
__classPrivateFieldGet(this, _GraphQLSupportManager_logger, "f").error("getSupportComments query error", result.error);
|
|
164
|
+
}
|
|
165
|
+
return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getSupportComments, result.error);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
53
168
|
}
|
|
54
|
-
_GraphQLSupportManager_sdk = new WeakMap(), _GraphQLSupportManager_logger = new WeakMap(), _GraphQLSupportManager_getSupportRequestsRequestFactory = new WeakMap();
|
|
169
|
+
_GraphQLSupportManager_sdk = new WeakMap(), _GraphQLSupportManager_logger = new WeakMap(), _GraphQLSupportManager_getSupportRequestsRequestFactory = new WeakMap(), _GraphQLSupportManager_uploadSupportAttachmentRequestFactory = new WeakMap(), _GraphQLSupportManager_deleteSupportAttachmentRequestFactory = new WeakMap(), _GraphQLSupportManager_createSupportRequestRequestFactory = new WeakMap(), _GraphQLSupportManager_getSupportArticlesRequestFactory = new WeakMap(), _GraphQLSupportManager_getSupportCommentsRequestFactory = new WeakMap();
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UploadSupportAttachmentMutationVariables } from "../../../graphql/operations/types.js";
|
|
2
|
+
import { RequestFactory } from "../../../requests/index.js";
|
|
3
|
+
import { UploadSupportAttachmentRequest } from "../../base/support/upload-support-attachment-request.js";
|
|
4
|
+
export declare class GraphQLUploadSupportAttachmentRequestFactory implements RequestFactory<UploadSupportAttachmentRequest, UploadSupportAttachmentMutationVariables> {
|
|
5
|
+
create(request: UploadSupportAttachmentRequest): UploadSupportAttachmentMutationVariables;
|
|
6
|
+
}
|
|
@@ -136,6 +136,7 @@ export declare const CancelAppointmentDocument = "\n mutation cancelAppointme
|
|
|
136
136
|
export declare const CancelationReasonsDocument = "\n query cancelationReasons($organization: SearchReference!) {\n cancelationReasons(organization: $organization) {\n id\n title\n url\n concept {\n code\n display\n }\n }\n}\n ";
|
|
137
137
|
export declare const AddCareTeamMemberDocument = "\n mutation addCareTeamMember($participant: CareTeamParticipantInput!) {\n updateCareTeamMember(participant: [$participant]) {\n id\n }\n}\n ";
|
|
138
138
|
export declare const AddCareTeamMembersDocument = "\n mutation addCareTeamMembers($participant: [CareTeamParticipantInput]!) {\n updateCareTeamMember(participant: $participant) {\n id\n }\n}\n ";
|
|
139
|
+
export declare const CareTeamMembersDocument = "\n query CareTeamMembers($pageNumber: Int, $pageSize: Int) {\n careTeamMembers(\n input: {pagingInfo: {pageNumber: $pageNumber, pageSize: $pageSize}}\n ) {\n pagingInfo {\n pageSize\n pageNumber\n totalPages\n totalItems\n }\n members {\n id\n role {\n coding {\n code\n system\n display\n }\n text\n }\n period {\n start\n end\n }\n }\n }\n}\n ";
|
|
139
140
|
export declare const RemoveCareTeamMemberDocument = "\n mutation removeCareTeamMember($participant: CareTeamParticipantInput!) {\n updateCareTeamMember(participant: [$participant]) {\n id\n }\n}\n ";
|
|
140
141
|
export declare const UpdateCareTeamMemberDocument = "\n mutation updateCareTeamMember($participant: CareTeamParticipantInput!) {\n updateCareTeamMember(participant: [$participant]) {\n id\n }\n}\n ";
|
|
141
142
|
export declare const AuthenticateDocument = "\n query authenticate {\n getToken {\n accessToken {\n jwtToken\n }\n idToken {\n jwtToken\n }\n refreshToken {\n token\n }\n }\n}\n ";
|
|
@@ -151,7 +152,13 @@ export declare const SaveQuestionnaireResponseDocument = "\n mutation saveQue
|
|
|
151
152
|
export declare const ProviderSearchDocument = "\n query providerSearch($client: [Client], $searchTerm: String, $includePopulatedPROAonly: Boolean, $specialtyFilters: [InputCoding], $organizationTypeFilters: [OrganizationType], $gender: Gender, $location: SearchPosition, $sortBy: [OrderBy], $filterFields: [FilterField], $page: Int, $pageSize: Int) {\n providers(\n client: $client\n search: $searchTerm\n specialty: $specialtyFilters\n organization_type: $organizationTypeFilters\n include_populated_PROA_only: $includePopulatedPROAonly\n gender: $gender\n search_position: $location\n order_by: $sortBy\n filter_values: $filterFields\n page_number: $page\n page_size: $pageSize\n ) {\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n filter_values {\n field\n values {\n value\n count\n }\n }\n results {\n endpoint {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n name\n status\n connectionType {\n code\n system\n display\n }\n address\n }\n iconString\n organization_type {\n coding {\n code\n system\n display\n }\n text\n }\n content\n gender\n location {\n name\n identifier {\n type {\n text\n coding {\n system\n code\n display\n }\n }\n value\n system\n }\n alias\n description\n address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n system\n value\n rank\n }\n }\n specialty {\n code\n system\n display\n }\n id\n photo {\n contentType\n url\n title\n }\n name {\n ...HumanNameFields\n }\n telecom {\n system\n value\n rank\n }\n practitioner_qualification {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n code {\n coding {\n code\n system\n display\n }\n text\n }\n period {\n start\n end\n }\n issuer {\n reference\n display\n }\n }\n provider_type\n characteristic {\n code\n system\n display\n }\n organization {\n name\n endpoint {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n name\n status\n connectionType {\n code\n system\n display\n }\n address\n }\n }\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n ";
|
|
152
153
|
export declare const RequestConnectionDocument = "\n mutation requestConnection($city: String, $institution: String, $provider: String, $state: String) {\n requestConnection(\n city: $city\n institution: $institution\n provider: $provider\n state: $state\n ) {\n resourceType\n issue {\n severity\n code\n details {\n text\n }\n }\n }\n}\n ";
|
|
153
154
|
export declare const SearchHealthResourcesDocument = "\n query SearchHealthResources($searchInput: SearchHealthResourcesInput) {\n searchHealthResources(searchInput: $searchInput) {\n pagingInfo {\n pageNumber\n pageSize\n totalItems\n totalPages\n }\n filterValues {\n field\n values {\n value\n count\n }\n }\n results {\n type\n id\n content\n specialty {\n code\n system\n display\n }\n bookable {\n online\n phone\n }\n location {\n scheduling {\n identifier {\n value\n system\n }\n bookable {\n online\n phone\n }\n }\n name\n address {\n line\n city\n state\n postalCode\n country\n }\n position {\n latitude\n longitude\n }\n telecom {\n system\n value\n }\n distanceInMiles\n }\n organization {\n name\n endpoint {\n name\n status\n address\n }\n }\n npi\n gender\n iconString\n endpoint {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n name\n status\n connectionType {\n code\n system\n display\n }\n address\n }\n score\n scores {\n value\n description\n calculation\n }\n }\n }\n}\n ";
|
|
155
|
+
export declare const CreateSupportRequestDocument = "\n mutation CreateSupportRequest($input: CreateSupportRequestInput!) {\n createSupportRequest(input: $input) {\n data {\n id\n subject\n category\n created\n lastActivity\n status\n }\n }\n}\n ";
|
|
156
|
+
export declare const DeleteSupportAttachmentDocument = "\n mutation DeleteSupportAttachment($input: DeleteSupportAttachmentInput!) {\n deleteSupportAttachment(input: $input) {\n status\n }\n}\n ";
|
|
157
|
+
export declare const GetSupportArticlesDocument = "\n query getSupportArticles($input: SupportArticlesInput) {\n getSupportArticles(input: $input) {\n data {\n id\n title\n body\n snippet\n createdAt\n updatedAt\n labelNames\n }\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n }\n}\n ";
|
|
158
|
+
export declare const GetSupportCategoriesDocument = "\n query GetSupportCategories {\n getSupportCategories {\n label\n value\n }\n}\n ";
|
|
159
|
+
export declare const GetSupportCommentsDocument = "\n query getSupportComments($input: SupportCommentsInput!) {\n getSupportComments(input: $input) {\n comments {\n id\n body\n htmlBody\n author {\n name\n email\n }\n attachments {\n id\n fileName\n contentType\n size\n }\n createdAt\n }\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n }\n}\n ";
|
|
154
160
|
export declare const GetSupportRequestsDocument = "\n query getSupportRequests($input: SupportRequestsInput) {\n getSupportRequests(input: $input) {\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n data {\n category\n created\n id\n lastActivity\n status\n subject\n }\n }\n}\n ";
|
|
161
|
+
export declare const UploadSupportAttachmentDocument = "\n mutation UploadSupportAttachment($input: UploadSupportAttachmentInput!) {\n uploadSupportAttachment(input: $input) {\n attachmentId\n attachments {\n fileName\n contentType\n size\n id\n }\n }\n}\n ";
|
|
155
162
|
export declare const CreateConsentDocument = "\n mutation createConsent($consentInput: ConsentInput!) {\n createConsent(consentInput: $consentInput) {\n id\n meta {\n source\n versionId\n lastUpdated\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n }\n status\n scope {\n coding {\n code\n system\n display\n }\n text\n }\n category {\n coding {\n code\n system\n display\n }\n text\n }\n patient {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n dateTime\n performer {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n organization {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n policy {\n authority\n uri\n }\n policyRule {\n coding {\n code\n system\n display\n }\n text\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n }\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
|
|
156
163
|
export declare const CreateDataExportDirectDownloadUrlDocument = "\n mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {\n createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)\n}\n ";
|
|
157
164
|
export declare const CreateVerificationUrlDocument = "\n mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {\n createVerificationUrl(\n callbackURL: $callbackURL\n includeAttributeMatchingCheck: $includeAttributeMatchingCheck\n )\n}\n ";
|
|
@@ -498,6 +505,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
498
505
|
headers: Headers;
|
|
499
506
|
status: number;
|
|
500
507
|
}>;
|
|
508
|
+
CareTeamMembers(variables?: Types.CareTeamMembersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
509
|
+
data: Types.CareTeamMembersQueryResults;
|
|
510
|
+
errors?: GraphQLError[];
|
|
511
|
+
extensions?: any;
|
|
512
|
+
headers: Headers;
|
|
513
|
+
status: number;
|
|
514
|
+
}>;
|
|
501
515
|
removeCareTeamMember(variables: Types.RemoveCareTeamMemberMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
502
516
|
data: Types.RemoveCareTeamMemberMutationResults;
|
|
503
517
|
errors?: GraphQLError[];
|
|
@@ -603,6 +617,41 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
603
617
|
headers: Headers;
|
|
604
618
|
status: number;
|
|
605
619
|
}>;
|
|
620
|
+
CreateSupportRequest(variables: Types.CreateSupportRequestMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
621
|
+
data: Types.CreateSupportRequestMutationResults;
|
|
622
|
+
errors?: GraphQLError[];
|
|
623
|
+
extensions?: any;
|
|
624
|
+
headers: Headers;
|
|
625
|
+
status: number;
|
|
626
|
+
}>;
|
|
627
|
+
DeleteSupportAttachment(variables: Types.DeleteSupportAttachmentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
628
|
+
data: Types.DeleteSupportAttachmentMutationResults;
|
|
629
|
+
errors?: GraphQLError[];
|
|
630
|
+
extensions?: any;
|
|
631
|
+
headers: Headers;
|
|
632
|
+
status: number;
|
|
633
|
+
}>;
|
|
634
|
+
getSupportArticles(variables?: Types.GetSupportArticlesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
635
|
+
data: Types.GetSupportArticlesQueryResults;
|
|
636
|
+
errors?: GraphQLError[];
|
|
637
|
+
extensions?: any;
|
|
638
|
+
headers: Headers;
|
|
639
|
+
status: number;
|
|
640
|
+
}>;
|
|
641
|
+
GetSupportCategories(variables?: Types.GetSupportCategoriesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
642
|
+
data: Types.GetSupportCategoriesQueryResults;
|
|
643
|
+
errors?: GraphQLError[];
|
|
644
|
+
extensions?: any;
|
|
645
|
+
headers: Headers;
|
|
646
|
+
status: number;
|
|
647
|
+
}>;
|
|
648
|
+
getSupportComments(variables: Types.GetSupportCommentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
649
|
+
data: Types.GetSupportCommentsQueryResults;
|
|
650
|
+
errors?: GraphQLError[];
|
|
651
|
+
extensions?: any;
|
|
652
|
+
headers: Headers;
|
|
653
|
+
status: number;
|
|
654
|
+
}>;
|
|
606
655
|
getSupportRequests(variables?: Types.GetSupportRequestsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
607
656
|
data: Types.GetSupportRequestsQueryResults;
|
|
608
657
|
errors?: GraphQLError[];
|
|
@@ -610,6 +659,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
610
659
|
headers: Headers;
|
|
611
660
|
status: number;
|
|
612
661
|
}>;
|
|
662
|
+
UploadSupportAttachment(variables: Types.UploadSupportAttachmentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
663
|
+
data: Types.UploadSupportAttachmentMutationResults;
|
|
664
|
+
errors?: GraphQLError[];
|
|
665
|
+
extensions?: any;
|
|
666
|
+
headers: Headers;
|
|
667
|
+
status: number;
|
|
668
|
+
}>;
|
|
613
669
|
createConsent(variables: Types.CreateConsentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
614
670
|
data: Types.CreateConsentMutationResults;
|
|
615
671
|
errors?: GraphQLError[];
|
|
@@ -3407,6 +3407,35 @@ export const AddCareTeamMembersDocument = `
|
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
3409
|
`;
|
|
3410
|
+
export const CareTeamMembersDocument = `
|
|
3411
|
+
query CareTeamMembers($pageNumber: Int, $pageSize: Int) {
|
|
3412
|
+
careTeamMembers(
|
|
3413
|
+
input: {pagingInfo: {pageNumber: $pageNumber, pageSize: $pageSize}}
|
|
3414
|
+
) {
|
|
3415
|
+
pagingInfo {
|
|
3416
|
+
pageSize
|
|
3417
|
+
pageNumber
|
|
3418
|
+
totalPages
|
|
3419
|
+
totalItems
|
|
3420
|
+
}
|
|
3421
|
+
members {
|
|
3422
|
+
id
|
|
3423
|
+
role {
|
|
3424
|
+
coding {
|
|
3425
|
+
code
|
|
3426
|
+
system
|
|
3427
|
+
display
|
|
3428
|
+
}
|
|
3429
|
+
text
|
|
3430
|
+
}
|
|
3431
|
+
period {
|
|
3432
|
+
start
|
|
3433
|
+
end
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
`;
|
|
3410
3439
|
export const RemoveCareTeamMemberDocument = `
|
|
3411
3440
|
mutation removeCareTeamMember($participant: CareTeamParticipantInput!) {
|
|
3412
3441
|
updateCareTeamMember(participant: [$participant]) {
|
|
@@ -3867,6 +3896,84 @@ export const SearchHealthResourcesDocument = `
|
|
|
3867
3896
|
}
|
|
3868
3897
|
}
|
|
3869
3898
|
`;
|
|
3899
|
+
export const CreateSupportRequestDocument = `
|
|
3900
|
+
mutation CreateSupportRequest($input: CreateSupportRequestInput!) {
|
|
3901
|
+
createSupportRequest(input: $input) {
|
|
3902
|
+
data {
|
|
3903
|
+
id
|
|
3904
|
+
subject
|
|
3905
|
+
category
|
|
3906
|
+
created
|
|
3907
|
+
lastActivity
|
|
3908
|
+
status
|
|
3909
|
+
}
|
|
3910
|
+
}
|
|
3911
|
+
}
|
|
3912
|
+
`;
|
|
3913
|
+
export const DeleteSupportAttachmentDocument = `
|
|
3914
|
+
mutation DeleteSupportAttachment($input: DeleteSupportAttachmentInput!) {
|
|
3915
|
+
deleteSupportAttachment(input: $input) {
|
|
3916
|
+
status
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
`;
|
|
3920
|
+
export const GetSupportArticlesDocument = `
|
|
3921
|
+
query getSupportArticles($input: SupportArticlesInput) {
|
|
3922
|
+
getSupportArticles(input: $input) {
|
|
3923
|
+
data {
|
|
3924
|
+
id
|
|
3925
|
+
title
|
|
3926
|
+
body
|
|
3927
|
+
snippet
|
|
3928
|
+
createdAt
|
|
3929
|
+
updatedAt
|
|
3930
|
+
labelNames
|
|
3931
|
+
}
|
|
3932
|
+
paging_info {
|
|
3933
|
+
page_number
|
|
3934
|
+
page_size
|
|
3935
|
+
total_items
|
|
3936
|
+
total_pages
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
`;
|
|
3941
|
+
export const GetSupportCategoriesDocument = `
|
|
3942
|
+
query GetSupportCategories {
|
|
3943
|
+
getSupportCategories {
|
|
3944
|
+
label
|
|
3945
|
+
value
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
`;
|
|
3949
|
+
export const GetSupportCommentsDocument = `
|
|
3950
|
+
query getSupportComments($input: SupportCommentsInput!) {
|
|
3951
|
+
getSupportComments(input: $input) {
|
|
3952
|
+
comments {
|
|
3953
|
+
id
|
|
3954
|
+
body
|
|
3955
|
+
htmlBody
|
|
3956
|
+
author {
|
|
3957
|
+
name
|
|
3958
|
+
email
|
|
3959
|
+
}
|
|
3960
|
+
attachments {
|
|
3961
|
+
id
|
|
3962
|
+
fileName
|
|
3963
|
+
contentType
|
|
3964
|
+
size
|
|
3965
|
+
}
|
|
3966
|
+
createdAt
|
|
3967
|
+
}
|
|
3968
|
+
paging_info {
|
|
3969
|
+
page_number
|
|
3970
|
+
page_size
|
|
3971
|
+
total_items
|
|
3972
|
+
total_pages
|
|
3973
|
+
}
|
|
3974
|
+
}
|
|
3975
|
+
}
|
|
3976
|
+
`;
|
|
3870
3977
|
export const GetSupportRequestsDocument = `
|
|
3871
3978
|
query getSupportRequests($input: SupportRequestsInput) {
|
|
3872
3979
|
getSupportRequests(input: $input) {
|
|
@@ -3887,6 +3994,19 @@ export const GetSupportRequestsDocument = `
|
|
|
3887
3994
|
}
|
|
3888
3995
|
}
|
|
3889
3996
|
`;
|
|
3997
|
+
export const UploadSupportAttachmentDocument = `
|
|
3998
|
+
mutation UploadSupportAttachment($input: UploadSupportAttachmentInput!) {
|
|
3999
|
+
uploadSupportAttachment(input: $input) {
|
|
4000
|
+
attachmentId
|
|
4001
|
+
attachments {
|
|
4002
|
+
fileName
|
|
4003
|
+
contentType
|
|
4004
|
+
size
|
|
4005
|
+
id
|
|
4006
|
+
}
|
|
4007
|
+
}
|
|
4008
|
+
}
|
|
4009
|
+
`;
|
|
3890
4010
|
export const CreateConsentDocument = `
|
|
3891
4011
|
mutation createConsent($consentInput: ConsentInput!) {
|
|
3892
4012
|
createConsent(consentInput: $consentInput) {
|
|
@@ -4241,6 +4361,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
4241
4361
|
addCareTeamMembers(variables, requestHeaders) {
|
|
4242
4362
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(AddCareTeamMembersDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'addCareTeamMembers', 'mutation', variables);
|
|
4243
4363
|
},
|
|
4364
|
+
CareTeamMembers(variables, requestHeaders) {
|
|
4365
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CareTeamMembersDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CareTeamMembers', 'query', variables);
|
|
4366
|
+
},
|
|
4244
4367
|
removeCareTeamMember(variables, requestHeaders) {
|
|
4245
4368
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(RemoveCareTeamMemberDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'removeCareTeamMember', 'mutation', variables);
|
|
4246
4369
|
},
|
|
@@ -4286,9 +4409,27 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
4286
4409
|
SearchHealthResources(variables, requestHeaders) {
|
|
4287
4410
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchHealthResourcesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'SearchHealthResources', 'query', variables);
|
|
4288
4411
|
},
|
|
4412
|
+
CreateSupportRequest(variables, requestHeaders) {
|
|
4413
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateSupportRequestDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateSupportRequest', 'mutation', variables);
|
|
4414
|
+
},
|
|
4415
|
+
DeleteSupportAttachment(variables, requestHeaders) {
|
|
4416
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(DeleteSupportAttachmentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'DeleteSupportAttachment', 'mutation', variables);
|
|
4417
|
+
},
|
|
4418
|
+
getSupportArticles(variables, requestHeaders) {
|
|
4419
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetSupportArticlesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getSupportArticles', 'query', variables);
|
|
4420
|
+
},
|
|
4421
|
+
GetSupportCategories(variables, requestHeaders) {
|
|
4422
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetSupportCategoriesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetSupportCategories', 'query', variables);
|
|
4423
|
+
},
|
|
4424
|
+
getSupportComments(variables, requestHeaders) {
|
|
4425
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetSupportCommentsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getSupportComments', 'query', variables);
|
|
4426
|
+
},
|
|
4289
4427
|
getSupportRequests(variables, requestHeaders) {
|
|
4290
4428
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetSupportRequestsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getSupportRequests', 'query', variables);
|
|
4291
4429
|
},
|
|
4430
|
+
UploadSupportAttachment(variables, requestHeaders) {
|
|
4431
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(UploadSupportAttachmentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'UploadSupportAttachment', 'mutation', variables);
|
|
4432
|
+
},
|
|
4292
4433
|
createConsent(variables, requestHeaders) {
|
|
4293
4434
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConsent', 'mutation', variables);
|
|
4294
4435
|
},
|
|
@@ -18451,6 +18451,35 @@ export type AddCareTeamMembersMutationResults = {
|
|
|
18451
18451
|
id: string;
|
|
18452
18452
|
};
|
|
18453
18453
|
};
|
|
18454
|
+
export type CareTeamMembersQueryVariables = Types.Exact<{
|
|
18455
|
+
pageNumber: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
18456
|
+
pageSize: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
18457
|
+
}>;
|
|
18458
|
+
export type CareTeamMembersQueryResults = {
|
|
18459
|
+
careTeamMembers: {
|
|
18460
|
+
pagingInfo: {
|
|
18461
|
+
pageSize: number;
|
|
18462
|
+
pageNumber: number;
|
|
18463
|
+
totalPages: number;
|
|
18464
|
+
totalItems: number;
|
|
18465
|
+
} | null;
|
|
18466
|
+
members: Array<{
|
|
18467
|
+
id: string | null;
|
|
18468
|
+
role: Array<{
|
|
18469
|
+
text: string | null;
|
|
18470
|
+
coding: Array<{
|
|
18471
|
+
system: any | null;
|
|
18472
|
+
code: any | null;
|
|
18473
|
+
display: string | null;
|
|
18474
|
+
} | null> | null;
|
|
18475
|
+
} | null> | null;
|
|
18476
|
+
period: {
|
|
18477
|
+
start: any | null;
|
|
18478
|
+
end: any | null;
|
|
18479
|
+
} | null;
|
|
18480
|
+
} | null> | null;
|
|
18481
|
+
} | null;
|
|
18482
|
+
};
|
|
18454
18483
|
export type RemoveCareTeamMemberMutationVariables = Types.Exact<{
|
|
18455
18484
|
participant: Types.CareTeamParticipantInput;
|
|
18456
18485
|
}>;
|
|
@@ -22208,10 +22237,10 @@ export type SearchHealthResourcesQueryVariables = Types.Exact<{
|
|
|
22208
22237
|
export type SearchHealthResourcesQueryResults = {
|
|
22209
22238
|
searchHealthResources: {
|
|
22210
22239
|
pagingInfo: {
|
|
22211
|
-
pageNumber: number;
|
|
22212
22240
|
pageSize: number;
|
|
22213
|
-
|
|
22241
|
+
pageNumber: number;
|
|
22214
22242
|
totalPages: number;
|
|
22243
|
+
totalItems: number;
|
|
22215
22244
|
} | null;
|
|
22216
22245
|
filterValues: Array<{
|
|
22217
22246
|
field: Types.FilterFieldEnum | null;
|
|
@@ -22304,6 +22333,89 @@ export type SearchHealthResourcesQueryResults = {
|
|
|
22304
22333
|
} | null> | null;
|
|
22305
22334
|
};
|
|
22306
22335
|
};
|
|
22336
|
+
export type CreateSupportRequestMutationVariables = Types.Exact<{
|
|
22337
|
+
input: Types.CreateSupportRequestInput;
|
|
22338
|
+
}>;
|
|
22339
|
+
export type CreateSupportRequestMutationResults = {
|
|
22340
|
+
createSupportRequest: {
|
|
22341
|
+
data: {
|
|
22342
|
+
id: number;
|
|
22343
|
+
subject: string;
|
|
22344
|
+
category: string;
|
|
22345
|
+
created: string;
|
|
22346
|
+
lastActivity: string;
|
|
22347
|
+
status: Types.RequestStatus;
|
|
22348
|
+
} | null;
|
|
22349
|
+
};
|
|
22350
|
+
};
|
|
22351
|
+
export type DeleteSupportAttachmentMutationVariables = Types.Exact<{
|
|
22352
|
+
input: Types.DeleteSupportAttachmentInput;
|
|
22353
|
+
}>;
|
|
22354
|
+
export type DeleteSupportAttachmentMutationResults = {
|
|
22355
|
+
deleteSupportAttachment: {
|
|
22356
|
+
status: Types.DeletionStatus;
|
|
22357
|
+
};
|
|
22358
|
+
};
|
|
22359
|
+
export type GetSupportArticlesQueryVariables = Types.Exact<{
|
|
22360
|
+
input: Types.InputMaybe<Types.SupportArticlesInput>;
|
|
22361
|
+
}>;
|
|
22362
|
+
export type GetSupportArticlesQueryResults = {
|
|
22363
|
+
getSupportArticles: {
|
|
22364
|
+
data: Array<{
|
|
22365
|
+
id: string;
|
|
22366
|
+
title: string;
|
|
22367
|
+
body: string;
|
|
22368
|
+
snippet: string | null;
|
|
22369
|
+
createdAt: string;
|
|
22370
|
+
updatedAt: string;
|
|
22371
|
+
labelNames: Array<string>;
|
|
22372
|
+
}>;
|
|
22373
|
+
paging_info: {
|
|
22374
|
+
page_number: number;
|
|
22375
|
+
page_size: number;
|
|
22376
|
+
total_pages: number;
|
|
22377
|
+
total_items: number;
|
|
22378
|
+
};
|
|
22379
|
+
};
|
|
22380
|
+
};
|
|
22381
|
+
export type GetSupportCategoriesQueryVariables = Types.Exact<{
|
|
22382
|
+
[key: string]: never;
|
|
22383
|
+
}>;
|
|
22384
|
+
export type GetSupportCategoriesQueryResults = {
|
|
22385
|
+
getSupportCategories: Array<{
|
|
22386
|
+
label: string;
|
|
22387
|
+
value: string;
|
|
22388
|
+
}>;
|
|
22389
|
+
};
|
|
22390
|
+
export type GetSupportCommentsQueryVariables = Types.Exact<{
|
|
22391
|
+
input: Types.SupportCommentsInput;
|
|
22392
|
+
}>;
|
|
22393
|
+
export type GetSupportCommentsQueryResults = {
|
|
22394
|
+
getSupportComments: {
|
|
22395
|
+
comments: Array<{
|
|
22396
|
+
id: string;
|
|
22397
|
+
body: string;
|
|
22398
|
+
htmlBody: string;
|
|
22399
|
+
createdAt: string;
|
|
22400
|
+
author: {
|
|
22401
|
+
name: string;
|
|
22402
|
+
email: string;
|
|
22403
|
+
};
|
|
22404
|
+
attachments: Array<{
|
|
22405
|
+
id: string;
|
|
22406
|
+
fileName: string;
|
|
22407
|
+
contentType: string;
|
|
22408
|
+
size: number;
|
|
22409
|
+
}>;
|
|
22410
|
+
}>;
|
|
22411
|
+
paging_info: {
|
|
22412
|
+
page_number: number;
|
|
22413
|
+
page_size: number;
|
|
22414
|
+
total_pages: number;
|
|
22415
|
+
total_items: number;
|
|
22416
|
+
};
|
|
22417
|
+
};
|
|
22418
|
+
};
|
|
22307
22419
|
export type GetSupportRequestsQueryVariables = Types.Exact<{
|
|
22308
22420
|
input: Types.InputMaybe<Types.SupportRequestsInput>;
|
|
22309
22421
|
}>;
|
|
@@ -22316,12 +22428,26 @@ export type GetSupportRequestsQueryResults = {
|
|
|
22316
22428
|
total_items: number;
|
|
22317
22429
|
};
|
|
22318
22430
|
data: Array<{
|
|
22431
|
+
id: number;
|
|
22432
|
+
subject: string;
|
|
22319
22433
|
category: string;
|
|
22320
22434
|
created: string;
|
|
22321
|
-
id: number;
|
|
22322
22435
|
lastActivity: string;
|
|
22323
22436
|
status: Types.RequestStatus;
|
|
22324
|
-
|
|
22437
|
+
}>;
|
|
22438
|
+
};
|
|
22439
|
+
};
|
|
22440
|
+
export type UploadSupportAttachmentMutationVariables = Types.Exact<{
|
|
22441
|
+
input: Types.UploadSupportAttachmentInput;
|
|
22442
|
+
}>;
|
|
22443
|
+
export type UploadSupportAttachmentMutationResults = {
|
|
22444
|
+
uploadSupportAttachment: {
|
|
22445
|
+
attachmentId: string;
|
|
22446
|
+
attachments: Array<{
|
|
22447
|
+
id: string;
|
|
22448
|
+
fileName: string;
|
|
22449
|
+
contentType: string;
|
|
22450
|
+
size: number;
|
|
22325
22451
|
}>;
|
|
22326
22452
|
};
|
|
22327
22453
|
};
|