phenoml 0.0.6 → 0.0.7

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 (146) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/index.d.ts +0 -1
  3. package/dist/cjs/api/index.js +0 -1
  4. package/dist/cjs/api/resources/workflows/client/Client.d.ts +117 -15
  5. package/dist/cjs/api/resources/workflows/client/Client.js +392 -45
  6. package/dist/cjs/api/resources/workflows/client/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/workflows/client/index.js +15 -0
  8. package/dist/cjs/api/resources/workflows/index.d.ts +0 -1
  9. package/dist/cjs/api/resources/workflows/index.js +0 -1
  10. package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.d.ts +1 -1
  11. package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.d.ts +1 -1
  12. package/dist/cjs/api/resources/workflows/types/index.d.ts +3 -0
  13. package/dist/cjs/api/resources/workflows/types/index.js +3 -0
  14. package/dist/cjs/version.d.ts +1 -1
  15. package/dist/cjs/version.js +1 -1
  16. package/dist/esm/Client.mjs +2 -2
  17. package/dist/esm/api/index.d.mts +0 -1
  18. package/dist/esm/api/index.mjs +0 -1
  19. package/dist/esm/api/resources/workflows/client/Client.d.mts +117 -15
  20. package/dist/esm/api/resources/workflows/client/Client.mjs +392 -45
  21. package/dist/esm/api/resources/workflows/client/index.d.mts +1 -0
  22. package/dist/esm/api/resources/workflows/client/index.mjs +1 -0
  23. package/dist/esm/api/resources/workflows/index.d.mts +0 -1
  24. package/dist/esm/api/resources/workflows/index.mjs +0 -1
  25. package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.d.mts +1 -1
  26. package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +2 -0
  27. package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.d.mts +1 -1
  28. package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +2 -0
  29. package/dist/esm/api/resources/workflows/types/index.d.mts +3 -0
  30. package/dist/esm/api/resources/workflows/types/index.mjs +3 -0
  31. package/dist/esm/version.d.mts +1 -1
  32. package/dist/esm/version.mjs +1 -1
  33. package/package.json +1 -1
  34. package/reference.md +12 -506
  35. package/dist/cjs/api/resources/workflows/resources/index.d.ts +0 -4
  36. package/dist/cjs/api/resources/workflows/resources/index.js +0 -43
  37. package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.d.ts +0 -50
  38. package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.js +0 -268
  39. package/dist/cjs/api/resources/workflows/resources/mcpServer/client/index.d.ts +0 -1
  40. package/dist/cjs/api/resources/workflows/resources/mcpServer/index.d.ts +0 -2
  41. package/dist/cjs/api/resources/workflows/resources/mcpServer/index.js +0 -18
  42. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.d.ts +0 -1
  43. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.js +0 -37
  44. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.ts +0 -49
  45. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.js +0 -265
  46. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.ts +0 -1
  47. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.js +0 -2
  48. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.d.ts +0 -1
  49. package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.js +0 -17
  50. package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.d.ts +0 -145
  51. package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.js +0 -569
  52. package/dist/cjs/api/resources/workflows/resources/workflows/client/index.d.ts +0 -2
  53. package/dist/cjs/api/resources/workflows/resources/workflows/client/index.js +0 -17
  54. package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/index.js +0 -2
  55. package/dist/cjs/api/resources/workflows/resources/workflows/index.d.ts +0 -2
  56. package/dist/cjs/api/resources/workflows/resources/workflows/index.js +0 -18
  57. package/dist/cjs/api/resources/workflows/resources/workflows/types/index.d.ts +0 -3
  58. package/dist/cjs/api/resources/workflows/resources/workflows/types/index.js +0 -19
  59. package/dist/cjs/api/types/CohortResponse.d.ts +0 -1
  60. package/dist/cjs/api/types/CohortResponse.js +0 -3
  61. package/dist/cjs/api/types/Lang2FhirAndCreateResponse.d.ts +0 -1
  62. package/dist/cjs/api/types/Lang2FhirAndCreateResponse.js +0 -3
  63. package/dist/cjs/api/types/Lang2FhirAndSearchResponse.d.ts +0 -1
  64. package/dist/cjs/api/types/Lang2FhirAndSearchResponse.js +0 -3
  65. package/dist/cjs/api/types/McpServerResponse.d.ts +0 -1
  66. package/dist/cjs/api/types/McpServerResponse.js +0 -3
  67. package/dist/cjs/api/types/McpServerToolCallResponse.d.ts +0 -1
  68. package/dist/cjs/api/types/McpServerToolCallResponse.js +0 -3
  69. package/dist/cjs/api/types/McpServerToolResponse.d.ts +0 -1
  70. package/dist/cjs/api/types/McpServerToolResponse.js +0 -3
  71. package/dist/cjs/api/types/SearchConcept.d.ts +0 -1
  72. package/dist/cjs/api/types/SearchConcept.js +0 -3
  73. package/dist/cjs/api/types/index.d.ts +0 -7
  74. package/dist/cjs/api/types/index.js +0 -23
  75. package/dist/esm/api/resources/workflows/resources/index.d.mts +0 -4
  76. package/dist/esm/api/resources/workflows/resources/index.mjs +0 -4
  77. package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.d.mts +0 -50
  78. package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.mjs +0 -231
  79. package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.d.mts +0 -1
  80. package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.mjs +0 -1
  81. package/dist/esm/api/resources/workflows/resources/mcpServer/index.d.mts +0 -2
  82. package/dist/esm/api/resources/workflows/resources/mcpServer/index.mjs +0 -2
  83. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.d.mts +0 -1
  84. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.mjs +0 -1
  85. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.mts +0 -49
  86. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.mjs +0 -228
  87. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.mts +0 -1
  88. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.mjs +0 -1
  89. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.d.mts +0 -1
  90. package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.mjs +0 -1
  91. package/dist/esm/api/resources/workflows/resources/workflows/client/Client.d.mts +0 -145
  92. package/dist/esm/api/resources/workflows/resources/workflows/client/Client.mjs +0 -532
  93. package/dist/esm/api/resources/workflows/resources/workflows/client/index.d.mts +0 -2
  94. package/dist/esm/api/resources/workflows/resources/workflows/client/index.mjs +0 -2
  95. package/dist/esm/api/resources/workflows/resources/workflows/index.d.mts +0 -2
  96. package/dist/esm/api/resources/workflows/resources/workflows/index.mjs +0 -2
  97. package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.mjs +0 -2
  98. package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.mjs +0 -2
  99. package/dist/esm/api/resources/workflows/resources/workflows/types/index.d.mts +0 -3
  100. package/dist/esm/api/resources/workflows/resources/workflows/types/index.mjs +0 -3
  101. package/dist/esm/api/types/CohortResponse.d.mts +0 -1
  102. package/dist/esm/api/types/CohortResponse.mjs +0 -2
  103. package/dist/esm/api/types/Lang2FhirAndCreateResponse.d.mts +0 -1
  104. package/dist/esm/api/types/Lang2FhirAndCreateResponse.mjs +0 -2
  105. package/dist/esm/api/types/Lang2FhirAndSearchResponse.d.mts +0 -1
  106. package/dist/esm/api/types/Lang2FhirAndSearchResponse.mjs +0 -2
  107. package/dist/esm/api/types/McpServerResponse.d.mts +0 -1
  108. package/dist/esm/api/types/McpServerResponse.mjs +0 -2
  109. package/dist/esm/api/types/McpServerToolCallResponse.d.mts +0 -1
  110. package/dist/esm/api/types/McpServerToolCallResponse.mjs +0 -2
  111. package/dist/esm/api/types/McpServerToolResponse.d.mts +0 -1
  112. package/dist/esm/api/types/McpServerToolResponse.mjs +0 -2
  113. package/dist/esm/api/types/SearchConcept.d.mts +0 -1
  114. package/dist/esm/api/types/SearchConcept.mjs +0 -2
  115. package/dist/esm/api/types/index.d.mts +0 -7
  116. package/dist/esm/api/types/index.mjs +0 -7
  117. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.d.ts +0 -0
  118. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.js +0 -0
  119. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.d.ts +0 -0
  120. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.js +0 -0
  121. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.d.ts +0 -0
  122. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.js +0 -0
  123. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.d.ts +0 -0
  124. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.js +0 -0
  125. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.d.ts +0 -0
  126. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.js +0 -0
  127. /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/index.d.ts +0 -0
  128. /package/dist/cjs/api/resources/workflows/{resources/mcpServer/client → client/requests}/index.js +0 -0
  129. /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.d.ts +0 -0
  130. /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.js +0 -0
  131. /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.js +0 -0
  132. /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.js +0 -0
  133. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.d.mts +0 -0
  134. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.mjs +0 -0
  135. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.d.mts +0 -0
  136. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.mjs +0 -0
  137. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.d.mts +0 -0
  138. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.mjs +0 -0
  139. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.d.mts +0 -0
  140. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.mjs +0 -0
  141. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.d.mts +0 -0
  142. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.mjs +0 -0
  143. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/index.d.mts +0 -0
  144. /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/index.mjs +0 -0
  145. /package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.d.mts +0 -0
  146. /package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.mjs +0 -0
@@ -1,569 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- var __rest = (this && this.__rest) || function (s, e) {
46
- var t = {};
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
- t[p] = s[p];
49
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
- t[p[i]] = s[p[i]];
53
- }
54
- return t;
55
- };
56
- Object.defineProperty(exports, "__esModule", { value: true });
57
- exports.Workflows = void 0;
58
- const environments = __importStar(require("../../../../../../environments.js"));
59
- const core = __importStar(require("../../../../../../core/index.js"));
60
- const phenoml = __importStar(require("../../../../../index.js"));
61
- const headers_js_1 = require("../../../../../../core/headers.js");
62
- const errors = __importStar(require("../../../../../../errors/index.js"));
63
- class Workflows {
64
- constructor(_options = {}) {
65
- this._options = _options;
66
- }
67
- /**
68
- * Retrieves all workflow definitions for the authenticated user
69
- *
70
- * @param {phenoml.workflows.WorkflowsListRequest} request
71
- * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
72
- *
73
- * @throws {@link phenoml.workflows.UnauthorizedError}
74
- * @throws {@link phenoml.workflows.ForbiddenError}
75
- * @throws {@link phenoml.workflows.InternalServerError}
76
- *
77
- * @example
78
- * await client.workflows.workflows.list({
79
- * verbose: true
80
- * })
81
- */
82
- list(request = {}, requestOptions) {
83
- return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
84
- }
85
- __list() {
86
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
87
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
88
- const { verbose } = request;
89
- const _queryParams = {};
90
- if (verbose != null) {
91
- _queryParams["verbose"] = verbose.toString();
92
- }
93
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
94
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
95
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "workflows"),
96
- method: "GET",
97
- headers: _headers,
98
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
99
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
100
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
101
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
102
- });
103
- if (_response.ok) {
104
- return {
105
- data: _response.body,
106
- rawResponse: _response.rawResponse,
107
- };
108
- }
109
- if (_response.error.reason === "status-code") {
110
- switch (_response.error.statusCode) {
111
- case 401:
112
- throw new phenoml.workflows.UnauthorizedError(_response.error.body, _response.rawResponse);
113
- case 403:
114
- throw new phenoml.workflows.ForbiddenError(_response.error.body, _response.rawResponse);
115
- case 500:
116
- throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
117
- default:
118
- throw new errors.phenomlError({
119
- statusCode: _response.error.statusCode,
120
- body: _response.error.body,
121
- rawResponse: _response.rawResponse,
122
- });
123
- }
124
- }
125
- switch (_response.error.reason) {
126
- case "non-json":
127
- throw new errors.phenomlError({
128
- statusCode: _response.error.statusCode,
129
- body: _response.error.rawBody,
130
- rawResponse: _response.rawResponse,
131
- });
132
- case "timeout":
133
- throw new errors.phenomlTimeoutError("Timeout exceeded when calling GET /workflows.");
134
- case "unknown":
135
- throw new errors.phenomlError({
136
- message: _response.error.errorMessage,
137
- rawResponse: _response.rawResponse,
138
- });
139
- }
140
- });
141
- }
142
- /**
143
- * Creates a new workflow definition with graph generation from workflow instructions
144
- *
145
- * @param {phenoml.workflows.CreateWorkflowRequest} request
146
- * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
147
- *
148
- * @throws {@link phenoml.workflows.BadRequestError}
149
- * @throws {@link phenoml.workflows.UnauthorizedError}
150
- * @throws {@link phenoml.workflows.ForbiddenError}
151
- * @throws {@link phenoml.workflows.InternalServerError}
152
- *
153
- * @example
154
- * await client.workflows.workflows.create({
155
- * verbose: true,
156
- * name: "Patient Data Mapping Workflow",
157
- * workflow_instructions: "Given diagnosis data, find the patient and create condition record",
158
- * sample_data: {
159
- * "patient_last_name": "Rippin",
160
- * "patient_first_name": "Clay",
161
- * "diagnosis_code": "I10"
162
- * },
163
- * fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
164
- * })
165
- */
166
- create(request, requestOptions) {
167
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
168
- }
169
- __create(request, requestOptions) {
170
- return __awaiter(this, void 0, void 0, function* () {
171
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
172
- const { verbose } = request, _body = __rest(request, ["verbose"]);
173
- const _queryParams = {};
174
- if (verbose != null) {
175
- _queryParams["verbose"] = verbose.toString();
176
- }
177
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
178
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
179
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "workflows"),
180
- method: "POST",
181
- headers: _headers,
182
- contentType: "application/json",
183
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
184
- requestType: "json",
185
- body: _body,
186
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
187
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
188
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
189
- });
190
- if (_response.ok) {
191
- return {
192
- data: _response.body,
193
- rawResponse: _response.rawResponse,
194
- };
195
- }
196
- if (_response.error.reason === "status-code") {
197
- switch (_response.error.statusCode) {
198
- case 400:
199
- throw new phenoml.workflows.BadRequestError(_response.error.body, _response.rawResponse);
200
- case 401:
201
- throw new phenoml.workflows.UnauthorizedError(_response.error.body, _response.rawResponse);
202
- case 403:
203
- throw new phenoml.workflows.ForbiddenError(_response.error.body, _response.rawResponse);
204
- case 500:
205
- throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
206
- default:
207
- throw new errors.phenomlError({
208
- statusCode: _response.error.statusCode,
209
- body: _response.error.body,
210
- rawResponse: _response.rawResponse,
211
- });
212
- }
213
- }
214
- switch (_response.error.reason) {
215
- case "non-json":
216
- throw new errors.phenomlError({
217
- statusCode: _response.error.statusCode,
218
- body: _response.error.rawBody,
219
- rawResponse: _response.rawResponse,
220
- });
221
- case "timeout":
222
- throw new errors.phenomlTimeoutError("Timeout exceeded when calling POST /workflows.");
223
- case "unknown":
224
- throw new errors.phenomlError({
225
- message: _response.error.errorMessage,
226
- rawResponse: _response.rawResponse,
227
- });
228
- }
229
- });
230
- }
231
- /**
232
- * Retrieves a workflow definition by its ID
233
- *
234
- * @param {string} id - ID of the workflow to retrieve
235
- * @param {phenoml.workflows.WorkflowsGetRequest} request
236
- * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
237
- *
238
- * @throws {@link phenoml.workflows.UnauthorizedError}
239
- * @throws {@link phenoml.workflows.ForbiddenError}
240
- * @throws {@link phenoml.workflows.NotFoundError}
241
- * @throws {@link phenoml.workflows.InternalServerError}
242
- *
243
- * @example
244
- * await client.workflows.workflows.get("id", {
245
- * verbose: true
246
- * })
247
- */
248
- get(id, request = {}, requestOptions) {
249
- return core.HttpResponsePromise.fromPromise(this.__get(id, request, requestOptions));
250
- }
251
- __get(id_1) {
252
- return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
253
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
254
- const { verbose } = request;
255
- const _queryParams = {};
256
- if (verbose != null) {
257
- _queryParams["verbose"] = verbose.toString();
258
- }
259
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
260
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
261
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}`),
262
- method: "GET",
263
- headers: _headers,
264
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
265
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
266
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
267
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
268
- });
269
- if (_response.ok) {
270
- return {
271
- data: _response.body,
272
- rawResponse: _response.rawResponse,
273
- };
274
- }
275
- if (_response.error.reason === "status-code") {
276
- switch (_response.error.statusCode) {
277
- case 401:
278
- throw new phenoml.workflows.UnauthorizedError(_response.error.body, _response.rawResponse);
279
- case 403:
280
- throw new phenoml.workflows.ForbiddenError(_response.error.body, _response.rawResponse);
281
- case 404:
282
- throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
283
- case 500:
284
- throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
285
- default:
286
- throw new errors.phenomlError({
287
- statusCode: _response.error.statusCode,
288
- body: _response.error.body,
289
- rawResponse: _response.rawResponse,
290
- });
291
- }
292
- }
293
- switch (_response.error.reason) {
294
- case "non-json":
295
- throw new errors.phenomlError({
296
- statusCode: _response.error.statusCode,
297
- body: _response.error.rawBody,
298
- rawResponse: _response.rawResponse,
299
- });
300
- case "timeout":
301
- throw new errors.phenomlTimeoutError("Timeout exceeded when calling GET /workflows/{id}.");
302
- case "unknown":
303
- throw new errors.phenomlError({
304
- message: _response.error.errorMessage,
305
- rawResponse: _response.rawResponse,
306
- });
307
- }
308
- });
309
- }
310
- /**
311
- * Updates an existing workflow definition
312
- *
313
- * @param {string} id - ID of the workflow to update
314
- * @param {phenoml.workflows.UpdateWorkflowRequest} request
315
- * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
316
- *
317
- * @throws {@link phenoml.workflows.BadRequestError}
318
- * @throws {@link phenoml.workflows.UnauthorizedError}
319
- * @throws {@link phenoml.workflows.ForbiddenError}
320
- * @throws {@link phenoml.workflows.NotFoundError}
321
- * @throws {@link phenoml.workflows.InternalServerError}
322
- *
323
- * @example
324
- * await client.workflows.workflows.update("id", {
325
- * verbose: true,
326
- * name: "Updated Patient Data Mapping Workflow",
327
- * workflow_instructions: "Given diagnosis data, find the patient and create condition record",
328
- * sample_data: {
329
- * "patient_last_name": "Smith",
330
- * "patient_first_name": "John",
331
- * "diagnosis_code": "E11"
332
- * },
333
- * fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
334
- * })
335
- */
336
- update(id, request, requestOptions) {
337
- return core.HttpResponsePromise.fromPromise(this.__update(id, request, requestOptions));
338
- }
339
- __update(id, request, requestOptions) {
340
- return __awaiter(this, void 0, void 0, function* () {
341
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
342
- const { verbose } = request, _body = __rest(request, ["verbose"]);
343
- const _queryParams = {};
344
- if (verbose != null) {
345
- _queryParams["verbose"] = verbose.toString();
346
- }
347
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
348
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
349
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}`),
350
- method: "PUT",
351
- headers: _headers,
352
- contentType: "application/json",
353
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
354
- requestType: "json",
355
- body: _body,
356
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
357
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
358
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
359
- });
360
- if (_response.ok) {
361
- return {
362
- data: _response.body,
363
- rawResponse: _response.rawResponse,
364
- };
365
- }
366
- if (_response.error.reason === "status-code") {
367
- switch (_response.error.statusCode) {
368
- case 400:
369
- throw new phenoml.workflows.BadRequestError(_response.error.body, _response.rawResponse);
370
- case 401:
371
- throw new phenoml.workflows.UnauthorizedError(_response.error.body, _response.rawResponse);
372
- case 403:
373
- throw new phenoml.workflows.ForbiddenError(_response.error.body, _response.rawResponse);
374
- case 404:
375
- throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
376
- case 500:
377
- throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
378
- default:
379
- throw new errors.phenomlError({
380
- statusCode: _response.error.statusCode,
381
- body: _response.error.body,
382
- rawResponse: _response.rawResponse,
383
- });
384
- }
385
- }
386
- switch (_response.error.reason) {
387
- case "non-json":
388
- throw new errors.phenomlError({
389
- statusCode: _response.error.statusCode,
390
- body: _response.error.rawBody,
391
- rawResponse: _response.rawResponse,
392
- });
393
- case "timeout":
394
- throw new errors.phenomlTimeoutError("Timeout exceeded when calling PUT /workflows/{id}.");
395
- case "unknown":
396
- throw new errors.phenomlError({
397
- message: _response.error.errorMessage,
398
- rawResponse: _response.rawResponse,
399
- });
400
- }
401
- });
402
- }
403
- /**
404
- * Deletes a workflow definition by its ID
405
- *
406
- * @param {string} id - ID of the workflow to delete
407
- * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
408
- *
409
- * @throws {@link phenoml.workflows.UnauthorizedError}
410
- * @throws {@link phenoml.workflows.ForbiddenError}
411
- * @throws {@link phenoml.workflows.NotFoundError}
412
- * @throws {@link phenoml.workflows.InternalServerError}
413
- *
414
- * @example
415
- * await client.workflows.workflows.delete("id")
416
- */
417
- delete(id, requestOptions) {
418
- return core.HttpResponsePromise.fromPromise(this.__delete(id, requestOptions));
419
- }
420
- __delete(id, requestOptions) {
421
- return __awaiter(this, void 0, void 0, function* () {
422
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
423
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
424
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
425
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}`),
426
- method: "DELETE",
427
- headers: _headers,
428
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
429
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
430
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
431
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
432
- });
433
- if (_response.ok) {
434
- return {
435
- data: _response.body,
436
- rawResponse: _response.rawResponse,
437
- };
438
- }
439
- if (_response.error.reason === "status-code") {
440
- switch (_response.error.statusCode) {
441
- case 401:
442
- throw new phenoml.workflows.UnauthorizedError(_response.error.body, _response.rawResponse);
443
- case 403:
444
- throw new phenoml.workflows.ForbiddenError(_response.error.body, _response.rawResponse);
445
- case 404:
446
- throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
447
- case 500:
448
- throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
449
- default:
450
- throw new errors.phenomlError({
451
- statusCode: _response.error.statusCode,
452
- body: _response.error.body,
453
- rawResponse: _response.rawResponse,
454
- });
455
- }
456
- }
457
- switch (_response.error.reason) {
458
- case "non-json":
459
- throw new errors.phenomlError({
460
- statusCode: _response.error.statusCode,
461
- body: _response.error.rawBody,
462
- rawResponse: _response.rawResponse,
463
- });
464
- case "timeout":
465
- throw new errors.phenomlTimeoutError("Timeout exceeded when calling DELETE /workflows/{id}.");
466
- case "unknown":
467
- throw new errors.phenomlError({
468
- message: _response.error.errorMessage,
469
- rawResponse: _response.rawResponse,
470
- });
471
- }
472
- });
473
- }
474
- /**
475
- * Executes a workflow with provided input data and returns results
476
- *
477
- * @param {string} id - ID of the workflow to execute
478
- * @param {phenoml.workflows.ExecuteWorkflowRequest} request
479
- * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
480
- *
481
- * @throws {@link phenoml.workflows.BadRequestError}
482
- * @throws {@link phenoml.workflows.UnauthorizedError}
483
- * @throws {@link phenoml.workflows.ForbiddenError}
484
- * @throws {@link phenoml.workflows.NotFoundError}
485
- * @throws {@link phenoml.workflows.InternalServerError}
486
- *
487
- * @example
488
- * await client.workflows.workflows.execute("id", {
489
- * input_data: {
490
- * "patient_last_name": "Johnson",
491
- * "patient_first_name": "Mary",
492
- * "diagnosis_code": "M79.3",
493
- * "encounter_date": "2024-01-15"
494
- * }
495
- * })
496
- */
497
- execute(id, request, requestOptions) {
498
- return core.HttpResponsePromise.fromPromise(this.__execute(id, request, requestOptions));
499
- }
500
- __execute(id, request, requestOptions) {
501
- return __awaiter(this, void 0, void 0, function* () {
502
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
503
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
504
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
505
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}/execute`),
506
- method: "POST",
507
- headers: _headers,
508
- contentType: "application/json",
509
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
510
- requestType: "json",
511
- body: request,
512
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
513
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
514
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
515
- });
516
- if (_response.ok) {
517
- return {
518
- data: _response.body,
519
- rawResponse: _response.rawResponse,
520
- };
521
- }
522
- if (_response.error.reason === "status-code") {
523
- switch (_response.error.statusCode) {
524
- case 400:
525
- throw new phenoml.workflows.BadRequestError(_response.error.body, _response.rawResponse);
526
- case 401:
527
- throw new phenoml.workflows.UnauthorizedError(_response.error.body, _response.rawResponse);
528
- case 403:
529
- throw new phenoml.workflows.ForbiddenError(_response.error.body, _response.rawResponse);
530
- case 404:
531
- throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
532
- case 500:
533
- throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
534
- default:
535
- throw new errors.phenomlError({
536
- statusCode: _response.error.statusCode,
537
- body: _response.error.body,
538
- rawResponse: _response.rawResponse,
539
- });
540
- }
541
- }
542
- switch (_response.error.reason) {
543
- case "non-json":
544
- throw new errors.phenomlError({
545
- statusCode: _response.error.statusCode,
546
- body: _response.error.rawBody,
547
- rawResponse: _response.rawResponse,
548
- });
549
- case "timeout":
550
- throw new errors.phenomlTimeoutError("Timeout exceeded when calling POST /workflows/{id}/execute.");
551
- case "unknown":
552
- throw new errors.phenomlError({
553
- message: _response.error.errorMessage,
554
- rawResponse: _response.rawResponse,
555
- });
556
- }
557
- });
558
- }
559
- _getAuthorizationHeader() {
560
- return __awaiter(this, void 0, void 0, function* () {
561
- const bearer = yield core.Supplier.get(this._options.token);
562
- if (bearer != null) {
563
- return `Bearer ${bearer}`;
564
- }
565
- return undefined;
566
- });
567
- }
568
- }
569
- exports.Workflows = Workflows;
@@ -1,2 +0,0 @@
1
- export {};
2
- export * from "./requests/index.js";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./requests/index.js"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./types/index.js";
2
- export * from "./client/index.js";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types/index.js"), exports);
18
- __exportStar(require("./client/index.js"), exports);
@@ -1,3 +0,0 @@
1
- export * from "./WorkflowsGetResponse.js";
2
- export * from "./WorkflowsUpdateResponse.js";
3
- export * from "./WorkflowsDeleteResponse.js";
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./WorkflowsGetResponse.js"), exports);
18
- __exportStar(require("./WorkflowsUpdateResponse.js"), exports);
19
- __exportStar(require("./WorkflowsDeleteResponse.js"), exports);
@@ -1 +0,0 @@
1
- export type CohortResponse = unknown;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type Lang2FhirAndCreateResponse = unknown;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });