ch-admin-api-client-typescript 5.28.0 → 5.30.14

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 (38) hide show
  1. package/lib/api/email-webhooks-api.d.ts +266 -0
  2. package/lib/api/email-webhooks-api.d.ts.map +1 -0
  3. package/lib/api/email-webhooks-api.js +509 -0
  4. package/lib/api/patients-api.d.ts +46 -0
  5. package/lib/api/patients-api.d.ts.map +1 -1
  6. package/lib/api/patients-api.js +85 -0
  7. package/lib/api.d.ts +1 -0
  8. package/lib/api.d.ts.map +1 -1
  9. package/lib/api.js +1 -0
  10. package/lib/models/email-record-event-item-model.d.ts +158 -0
  11. package/lib/models/email-record-event-item-model.d.ts.map +1 -0
  12. package/lib/models/email-record-event-item-model.js +15 -0
  13. package/lib/models/email-record-model.d.ts +87 -0
  14. package/lib/models/email-record-model.d.ts.map +1 -0
  15. package/lib/models/email-record-model.js +15 -0
  16. package/lib/models/email-status.d.ts +35 -0
  17. package/lib/models/email-status.d.ts.map +1 -0
  18. package/lib/models/email-status.js +38 -0
  19. package/lib/models/index.d.ts +5 -0
  20. package/lib/models/index.d.ts.map +1 -1
  21. package/lib/models/index.js +5 -0
  22. package/lib/models/test-email-model.d.ts +25 -0
  23. package/lib/models/test-email-model.d.ts.map +1 -0
  24. package/lib/models/test-email-model.js +15 -0
  25. package/lib/models/test-email-webhook-command.d.ts +31 -0
  26. package/lib/models/test-email-webhook-command.d.ts.map +1 -0
  27. package/lib/models/test-email-webhook-command.js +15 -0
  28. package/package.json +1 -1
  29. package/src/.openapi-generator/FILES +6 -0
  30. package/src/api/email-webhooks-api.ts +480 -0
  31. package/src/api/patients-api.ts +85 -0
  32. package/src/api.ts +1 -0
  33. package/src/models/email-record-event-item-model.ts +165 -0
  34. package/src/models/email-record-model.ts +96 -0
  35. package/src/models/email-status.ts +44 -0
  36. package/src/models/index.ts +5 -0
  37. package/src/models/test-email-model.ts +30 -0
  38. package/src/models/test-email-webhook-command.ts +36 -0
@@ -0,0 +1,509 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Admin Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.EmailWebhooksApi = exports.EmailWebhooksApiFactory = exports.EmailWebhooksApiFp = exports.EmailWebhooksApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * EmailWebhooksApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var EmailWebhooksApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Receive email webhooks events
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ apiV1EmailwebhooksInboundPost: function (options) {
102
+ if (options === void 0) { options = {}; }
103
+ return __awaiter(_this, void 0, void 0, function () {
104
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
105
+ return __generator(this, function (_a) {
106
+ switch (_a.label) {
107
+ case 0:
108
+ localVarPath = "/api/v1/emailwebhooks/inbound";
109
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
110
+ if (configuration) {
111
+ baseOptions = configuration.baseOptions;
112
+ }
113
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
114
+ localVarHeaderParameter = {};
115
+ localVarQueryParameter = {};
116
+ // authentication oauth2 required
117
+ // oauth required
118
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
119
+ case 1:
120
+ // authentication oauth2 required
121
+ // oauth required
122
+ _a.sent();
123
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
124
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
125
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
126
+ return [2 /*return*/, {
127
+ url: (0, common_1.toPathString)(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ }];
130
+ }
131
+ });
132
+ });
133
+ },
134
+ /**
135
+ *
136
+ * @summary Get email records. (from an week ago as default)
137
+ * @param {Date} [createdFrom]
138
+ * @param {Date} [createdTo]
139
+ * @param {Date} [updatedFrom]
140
+ * @param {Date} [updatedTo]
141
+ * @param {string} [recipient]
142
+ * @param {boolean} [includeEvents]
143
+ * @param {Array<EmailStatus>} [statuses]
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ apiV1EmailwebhooksRecordsGet: function (createdFrom, createdTo, updatedFrom, updatedTo, recipient, includeEvents, statuses, options) {
148
+ if (options === void 0) { options = {}; }
149
+ return __awaiter(_this, void 0, void 0, function () {
150
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
151
+ return __generator(this, function (_a) {
152
+ switch (_a.label) {
153
+ case 0:
154
+ localVarPath = "/api/v1/emailwebhooks/records";
155
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
+ if (configuration) {
157
+ baseOptions = configuration.baseOptions;
158
+ }
159
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
160
+ localVarHeaderParameter = {};
161
+ localVarQueryParameter = {};
162
+ // authentication oauth2 required
163
+ // oauth required
164
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
165
+ case 1:
166
+ // authentication oauth2 required
167
+ // oauth required
168
+ _a.sent();
169
+ if (createdFrom !== undefined) {
170
+ localVarQueryParameter['CreatedFrom'] = (createdFrom instanceof Date) ?
171
+ createdFrom.toISOString() :
172
+ createdFrom;
173
+ }
174
+ if (createdTo !== undefined) {
175
+ localVarQueryParameter['CreatedTo'] = (createdTo instanceof Date) ?
176
+ createdTo.toISOString() :
177
+ createdTo;
178
+ }
179
+ if (updatedFrom !== undefined) {
180
+ localVarQueryParameter['UpdatedFrom'] = (updatedFrom instanceof Date) ?
181
+ updatedFrom.toISOString() :
182
+ updatedFrom;
183
+ }
184
+ if (updatedTo !== undefined) {
185
+ localVarQueryParameter['UpdatedTo'] = (updatedTo instanceof Date) ?
186
+ updatedTo.toISOString() :
187
+ updatedTo;
188
+ }
189
+ if (recipient !== undefined) {
190
+ localVarQueryParameter['Recipient'] = recipient;
191
+ }
192
+ if (includeEvents !== undefined) {
193
+ localVarQueryParameter['IncludeEvents'] = includeEvents;
194
+ }
195
+ if (statuses) {
196
+ localVarQueryParameter['Statuses'] = statuses;
197
+ }
198
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
199
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
201
+ return [2 /*return*/, {
202
+ url: (0, common_1.toPathString)(localVarUrlObj),
203
+ options: localVarRequestOptions,
204
+ }];
205
+ }
206
+ });
207
+ });
208
+ },
209
+ /**
210
+ *
211
+ * @summary Get email record by id with events.
212
+ * @param {string} recordId
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ */
216
+ apiV1EmailwebhooksRecordsRecordIdGet: function (recordId, options) {
217
+ if (options === void 0) { options = {}; }
218
+ return __awaiter(_this, void 0, void 0, function () {
219
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
220
+ return __generator(this, function (_a) {
221
+ switch (_a.label) {
222
+ case 0:
223
+ // verify required parameter 'recordId' is not null or undefined
224
+ (0, common_1.assertParamExists)('apiV1EmailwebhooksRecordsRecordIdGet', 'recordId', recordId);
225
+ localVarPath = "/api/v1/emailwebhooks/records/{recordId}"
226
+ .replace("{".concat("recordId", "}"), encodeURIComponent(String(recordId)));
227
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
228
+ if (configuration) {
229
+ baseOptions = configuration.baseOptions;
230
+ }
231
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
232
+ localVarHeaderParameter = {};
233
+ localVarQueryParameter = {};
234
+ // authentication oauth2 required
235
+ // oauth required
236
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
237
+ case 1:
238
+ // authentication oauth2 required
239
+ // oauth required
240
+ _a.sent();
241
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
242
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
243
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
244
+ return [2 /*return*/, {
245
+ url: (0, common_1.toPathString)(localVarUrlObj),
246
+ options: localVarRequestOptions,
247
+ }];
248
+ }
249
+ });
250
+ });
251
+ },
252
+ /**
253
+ *
254
+ * @summary Sending test email that follows email webhook steps.
255
+ * @param {TestEmailWebhookCommand} [testEmailWebhookCommand]
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ apiV1EmailwebhooksTestPost: function (testEmailWebhookCommand, options) {
260
+ if (options === void 0) { options = {}; }
261
+ return __awaiter(_this, void 0, void 0, function () {
262
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
263
+ return __generator(this, function (_a) {
264
+ switch (_a.label) {
265
+ case 0:
266
+ localVarPath = "/api/v1/emailwebhooks/test";
267
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
268
+ if (configuration) {
269
+ baseOptions = configuration.baseOptions;
270
+ }
271
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
272
+ localVarHeaderParameter = {};
273
+ localVarQueryParameter = {};
274
+ // authentication oauth2 required
275
+ // oauth required
276
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
277
+ case 1:
278
+ // authentication oauth2 required
279
+ // oauth required
280
+ _a.sent();
281
+ localVarHeaderParameter['Content-Type'] = 'application/json';
282
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
283
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
284
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
285
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(testEmailWebhookCommand, localVarRequestOptions, configuration);
286
+ return [2 /*return*/, {
287
+ url: (0, common_1.toPathString)(localVarUrlObj),
288
+ options: localVarRequestOptions,
289
+ }];
290
+ }
291
+ });
292
+ });
293
+ },
294
+ };
295
+ };
296
+ exports.EmailWebhooksApiAxiosParamCreator = EmailWebhooksApiAxiosParamCreator;
297
+ /**
298
+ * EmailWebhooksApi - functional programming interface
299
+ * @export
300
+ */
301
+ var EmailWebhooksApiFp = function (configuration) {
302
+ var localVarAxiosParamCreator = (0, exports.EmailWebhooksApiAxiosParamCreator)(configuration);
303
+ return {
304
+ /**
305
+ *
306
+ * @summary Receive email webhooks events
307
+ * @param {*} [options] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ apiV1EmailwebhooksInboundPost: function (options) {
311
+ return __awaiter(this, void 0, void 0, function () {
312
+ var localVarAxiosArgs;
313
+ return __generator(this, function (_a) {
314
+ switch (_a.label) {
315
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1EmailwebhooksInboundPost(options)];
316
+ case 1:
317
+ localVarAxiosArgs = _a.sent();
318
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
319
+ }
320
+ });
321
+ });
322
+ },
323
+ /**
324
+ *
325
+ * @summary Get email records. (from an week ago as default)
326
+ * @param {Date} [createdFrom]
327
+ * @param {Date} [createdTo]
328
+ * @param {Date} [updatedFrom]
329
+ * @param {Date} [updatedTo]
330
+ * @param {string} [recipient]
331
+ * @param {boolean} [includeEvents]
332
+ * @param {Array<EmailStatus>} [statuses]
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ */
336
+ apiV1EmailwebhooksRecordsGet: function (createdFrom, createdTo, updatedFrom, updatedTo, recipient, includeEvents, statuses, options) {
337
+ return __awaiter(this, void 0, void 0, function () {
338
+ var localVarAxiosArgs;
339
+ return __generator(this, function (_a) {
340
+ switch (_a.label) {
341
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1EmailwebhooksRecordsGet(createdFrom, createdTo, updatedFrom, updatedTo, recipient, includeEvents, statuses, options)];
342
+ case 1:
343
+ localVarAxiosArgs = _a.sent();
344
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
345
+ }
346
+ });
347
+ });
348
+ },
349
+ /**
350
+ *
351
+ * @summary Get email record by id with events.
352
+ * @param {string} recordId
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ */
356
+ apiV1EmailwebhooksRecordsRecordIdGet: function (recordId, options) {
357
+ return __awaiter(this, void 0, void 0, function () {
358
+ var localVarAxiosArgs;
359
+ return __generator(this, function (_a) {
360
+ switch (_a.label) {
361
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1EmailwebhooksRecordsRecordIdGet(recordId, options)];
362
+ case 1:
363
+ localVarAxiosArgs = _a.sent();
364
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
365
+ }
366
+ });
367
+ });
368
+ },
369
+ /**
370
+ *
371
+ * @summary Sending test email that follows email webhook steps.
372
+ * @param {TestEmailWebhookCommand} [testEmailWebhookCommand]
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ apiV1EmailwebhooksTestPost: function (testEmailWebhookCommand, options) {
377
+ return __awaiter(this, void 0, void 0, function () {
378
+ var localVarAxiosArgs;
379
+ return __generator(this, function (_a) {
380
+ switch (_a.label) {
381
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1EmailwebhooksTestPost(testEmailWebhookCommand, options)];
382
+ case 1:
383
+ localVarAxiosArgs = _a.sent();
384
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
385
+ }
386
+ });
387
+ });
388
+ },
389
+ };
390
+ };
391
+ exports.EmailWebhooksApiFp = EmailWebhooksApiFp;
392
+ /**
393
+ * EmailWebhooksApi - factory interface
394
+ * @export
395
+ */
396
+ var EmailWebhooksApiFactory = function (configuration, basePath, axios) {
397
+ var localVarFp = (0, exports.EmailWebhooksApiFp)(configuration);
398
+ return {
399
+ /**
400
+ *
401
+ * @summary Receive email webhooks events
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ */
405
+ apiV1EmailwebhooksInboundPost: function (options) {
406
+ return localVarFp.apiV1EmailwebhooksInboundPost(options).then(function (request) { return request(axios, basePath); });
407
+ },
408
+ /**
409
+ *
410
+ * @summary Get email records. (from an week ago as default)
411
+ * @param {Date} [createdFrom]
412
+ * @param {Date} [createdTo]
413
+ * @param {Date} [updatedFrom]
414
+ * @param {Date} [updatedTo]
415
+ * @param {string} [recipient]
416
+ * @param {boolean} [includeEvents]
417
+ * @param {Array<EmailStatus>} [statuses]
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ */
421
+ apiV1EmailwebhooksRecordsGet: function (createdFrom, createdTo, updatedFrom, updatedTo, recipient, includeEvents, statuses, options) {
422
+ return localVarFp.apiV1EmailwebhooksRecordsGet(createdFrom, createdTo, updatedFrom, updatedTo, recipient, includeEvents, statuses, options).then(function (request) { return request(axios, basePath); });
423
+ },
424
+ /**
425
+ *
426
+ * @summary Get email record by id with events.
427
+ * @param {string} recordId
428
+ * @param {*} [options] Override http request option.
429
+ * @throws {RequiredError}
430
+ */
431
+ apiV1EmailwebhooksRecordsRecordIdGet: function (recordId, options) {
432
+ return localVarFp.apiV1EmailwebhooksRecordsRecordIdGet(recordId, options).then(function (request) { return request(axios, basePath); });
433
+ },
434
+ /**
435
+ *
436
+ * @summary Sending test email that follows email webhook steps.
437
+ * @param {TestEmailWebhookCommand} [testEmailWebhookCommand]
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ */
441
+ apiV1EmailwebhooksTestPost: function (testEmailWebhookCommand, options) {
442
+ return localVarFp.apiV1EmailwebhooksTestPost(testEmailWebhookCommand, options).then(function (request) { return request(axios, basePath); });
443
+ },
444
+ };
445
+ };
446
+ exports.EmailWebhooksApiFactory = EmailWebhooksApiFactory;
447
+ /**
448
+ * EmailWebhooksApi - object-oriented interface
449
+ * @export
450
+ * @class EmailWebhooksApi
451
+ * @extends {BaseAPI}
452
+ */
453
+ var EmailWebhooksApi = /** @class */ (function (_super) {
454
+ __extends(EmailWebhooksApi, _super);
455
+ function EmailWebhooksApi() {
456
+ return _super !== null && _super.apply(this, arguments) || this;
457
+ }
458
+ /**
459
+ *
460
+ * @summary Receive email webhooks events
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ * @memberof EmailWebhooksApi
464
+ */
465
+ EmailWebhooksApi.prototype.apiV1EmailwebhooksInboundPost = function (options) {
466
+ var _this = this;
467
+ return (0, exports.EmailWebhooksApiFp)(this.configuration).apiV1EmailwebhooksInboundPost(options).then(function (request) { return request(_this.axios, _this.basePath); });
468
+ };
469
+ /**
470
+ *
471
+ * @summary Get email records. (from an week ago as default)
472
+ * @param {EmailWebhooksApiApiV1EmailwebhooksRecordsGetRequest} requestParameters Request parameters.
473
+ * @param {*} [options] Override http request option.
474
+ * @throws {RequiredError}
475
+ * @memberof EmailWebhooksApi
476
+ */
477
+ EmailWebhooksApi.prototype.apiV1EmailwebhooksRecordsGet = function (requestParameters, options) {
478
+ var _this = this;
479
+ if (requestParameters === void 0) { requestParameters = {}; }
480
+ return (0, exports.EmailWebhooksApiFp)(this.configuration).apiV1EmailwebhooksRecordsGet(requestParameters.createdFrom, requestParameters.createdTo, requestParameters.updatedFrom, requestParameters.updatedTo, requestParameters.recipient, requestParameters.includeEvents, requestParameters.statuses, options).then(function (request) { return request(_this.axios, _this.basePath); });
481
+ };
482
+ /**
483
+ *
484
+ * @summary Get email record by id with events.
485
+ * @param {EmailWebhooksApiApiV1EmailwebhooksRecordsRecordIdGetRequest} requestParameters Request parameters.
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ * @memberof EmailWebhooksApi
489
+ */
490
+ EmailWebhooksApi.prototype.apiV1EmailwebhooksRecordsRecordIdGet = function (requestParameters, options) {
491
+ var _this = this;
492
+ return (0, exports.EmailWebhooksApiFp)(this.configuration).apiV1EmailwebhooksRecordsRecordIdGet(requestParameters.recordId, options).then(function (request) { return request(_this.axios, _this.basePath); });
493
+ };
494
+ /**
495
+ *
496
+ * @summary Sending test email that follows email webhook steps.
497
+ * @param {EmailWebhooksApiApiV1EmailwebhooksTestPostRequest} requestParameters Request parameters.
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ * @memberof EmailWebhooksApi
501
+ */
502
+ EmailWebhooksApi.prototype.apiV1EmailwebhooksTestPost = function (requestParameters, options) {
503
+ var _this = this;
504
+ if (requestParameters === void 0) { requestParameters = {}; }
505
+ return (0, exports.EmailWebhooksApiFp)(this.configuration).apiV1EmailwebhooksTestPost(requestParameters.testEmailWebhookCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
506
+ };
507
+ return EmailWebhooksApi;
508
+ }(base_1.BaseAPI));
509
+ exports.EmailWebhooksApi = EmailWebhooksApi;
@@ -120,6 +120,14 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
120
120
  * @throws {RequiredError}
121
121
  */
122
122
  apiV1PatientsPatientIdPut: (patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
123
+ /**
124
+ *
125
+ * @summary Reactive Patient.
126
+ * @param {string} patientId
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ apiV1PatientsPatientIdReactivatePut: (patientId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
123
131
  /**
124
132
  *
125
133
  * @summary Create a Patient.
@@ -235,6 +243,14 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
235
243
  * @throws {RequiredError}
236
244
  */
237
245
  apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
246
+ /**
247
+ *
248
+ * @summary Reactive Patient.
249
+ * @param {string} patientId
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ apiV1PatientsPatientIdReactivatePut(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
238
254
  /**
239
255
  *
240
256
  * @summary Create a Patient.
@@ -350,6 +366,14 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
350
366
  * @throws {RequiredError}
351
367
  */
352
368
  apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: any): AxiosPromise<PatientModel>;
369
+ /**
370
+ *
371
+ * @summary Reactive Patient.
372
+ * @param {string} patientId
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ apiV1PatientsPatientIdReactivatePut(patientId: string, options?: any): AxiosPromise<boolean>;
353
377
  /**
354
378
  *
355
379
  * @summary Create a Patient.
@@ -610,6 +634,19 @@ export interface PatientsApiApiV1PatientsPatientIdPutRequest {
610
634
  */
611
635
  readonly updatePatientCommand?: UpdatePatientCommand;
612
636
  }
637
+ /**
638
+ * Request parameters for apiV1PatientsPatientIdReactivatePut operation in PatientsApi.
639
+ * @export
640
+ * @interface PatientsApiApiV1PatientsPatientIdReactivatePutRequest
641
+ */
642
+ export interface PatientsApiApiV1PatientsPatientIdReactivatePutRequest {
643
+ /**
644
+ *
645
+ * @type {string}
646
+ * @memberof PatientsApiApiV1PatientsPatientIdReactivatePut
647
+ */
648
+ readonly patientId: string;
649
+ }
613
650
  /**
614
651
  * Request parameters for apiV1PatientsPost operation in PatientsApi.
615
652
  * @export
@@ -724,6 +761,15 @@ export declare class PatientsApi extends BaseAPI {
724
761
  * @memberof PatientsApi
725
762
  */
726
763
  apiV1PatientsPatientIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
764
+ /**
765
+ *
766
+ * @summary Reactive Patient.
767
+ * @param {PatientsApiApiV1PatientsPatientIdReactivatePutRequest} requestParameters Request parameters.
768
+ * @param {*} [options] Override http request option.
769
+ * @throws {RequiredError}
770
+ * @memberof PatientsApi
771
+ */
772
+ apiV1PatientsPatientIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
727
773
  /**
728
774
  *
729
775
  * @summary Create a Patient.
@@ -1 +1 @@
1
- {"version":3,"file":"patients-api.d.ts","sourceRoot":"","sources":["../../src/api/patients-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,WAAW,CAAC;AAE5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,W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