@emilgroup/task-sdk-node 1.2.1-beta.0 → 1.2.1-beta.1

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 (39) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/reminders-api.ts +877 -0
  4. package/api.ts +2 -0
  5. package/dist/api/reminders-api.d.ts +487 -0
  6. package/dist/api/reminders-api.js +821 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/create-reminder-request-dto.d.ts +54 -0
  10. package/dist/models/create-reminder-request-dto.js +15 -0
  11. package/dist/models/create-reminder-response-class.d.ts +25 -0
  12. package/dist/models/create-reminder-response-class.js +15 -0
  13. package/dist/models/get-reminder-counts-response-class.d.ts +30 -0
  14. package/dist/models/get-reminder-counts-response-class.js +15 -0
  15. package/dist/models/get-reminder-response-class.d.ts +25 -0
  16. package/dist/models/get-reminder-response-class.js +15 -0
  17. package/dist/models/index.d.ts +9 -0
  18. package/dist/models/index.js +9 -0
  19. package/dist/models/list-reminders-response-class.d.ts +43 -0
  20. package/dist/models/list-reminders-response-class.js +15 -0
  21. package/dist/models/mark-reminder-done-response-class.d.ts +25 -0
  22. package/dist/models/mark-reminder-done-response-class.js +15 -0
  23. package/dist/models/patch-reminder-request-dto.d.ts +42 -0
  24. package/dist/models/patch-reminder-request-dto.js +15 -0
  25. package/dist/models/patch-reminder-response-class.d.ts +25 -0
  26. package/dist/models/patch-reminder-response-class.js +15 -0
  27. package/dist/models/reminder-class.d.ts +120 -0
  28. package/dist/models/reminder-class.js +15 -0
  29. package/models/create-reminder-request-dto.ts +60 -0
  30. package/models/create-reminder-response-class.ts +31 -0
  31. package/models/get-reminder-counts-response-class.ts +36 -0
  32. package/models/get-reminder-response-class.ts +31 -0
  33. package/models/index.ts +9 -0
  34. package/models/list-reminders-response-class.ts +49 -0
  35. package/models/mark-reminder-done-response-class.ts +31 -0
  36. package/models/patch-reminder-request-dto.ts +48 -0
  37. package/models/patch-reminder-response-class.ts +31 -0
  38. package/models/reminder-class.ts +126 -0
  39. package/package.json +1 -1
@@ -0,0 +1,821 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL TaskService
6
+ * The EMIL Task API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
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.RemindersApi = exports.RemindersApiFactory = exports.RemindersApiFp = exports.RemindersApiAxiosParamCreator = 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
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * RemindersApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var RemindersApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ * This will create a reminder.
101
+ * @summary Create the reminder
102
+ * @param {CreateReminderRequestDto} createReminderRequestDto
103
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ createReminder: function (createReminderRequestDto, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0:
114
+ // verify required parameter 'createReminderRequestDto' is not null or undefined
115
+ (0, common_1.assertParamExists)('createReminder', 'createReminderRequestDto', createReminderRequestDto);
116
+ localVarPath = "/taskservice/v1/reminders";
117
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ }
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createReminderRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * This will delete a reminder.
150
+ * @summary Delete the reminder
151
+ * @param {string} code Unique identifier for the object.
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ deleteReminder: function (code, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0:
163
+ // verify required parameter 'code' is not null or undefined
164
+ (0, common_1.assertParamExists)('deleteReminder', 'code', code);
165
+ localVarPath = "/taskservice/v1/reminders/{code}"
166
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
+ if (configuration) {
169
+ baseOptions = configuration.baseOptions;
170
+ baseAccessToken = configuration.accessToken;
171
+ }
172
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
173
+ localVarHeaderParameter = {};
174
+ localVarQueryParameter = {};
175
+ // authentication bearer required
176
+ // http bearer authentication required
177
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
178
+ case 1:
179
+ // authentication bearer required
180
+ // http bearer authentication required
181
+ _a.sent();
182
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
184
+ }
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ return [2 /*return*/, {
189
+ url: (0, common_1.toPathString)(localVarUrlObj),
190
+ options: localVarRequestOptions,
191
+ }];
192
+ }
193
+ });
194
+ });
195
+ },
196
+ /**
197
+ * This will get a reminder by code.
198
+ * @summary Retrieve the reminder
199
+ * @param {string} code Unique identifier for the object.
200
+ * @param {string} expand
201
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ getReminder: function (code, expand, authorization, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
211
+ case 0:
212
+ // verify required parameter 'code' is not null or undefined
213
+ (0, common_1.assertParamExists)('getReminder', 'code', code);
214
+ // verify required parameter 'expand' is not null or undefined
215
+ (0, common_1.assertParamExists)('getReminder', 'expand', expand);
216
+ localVarPath = "/taskservice/v1/reminders/{code}"
217
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
218
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
219
+ if (configuration) {
220
+ baseOptions = configuration.baseOptions;
221
+ baseAccessToken = configuration.accessToken;
222
+ }
223
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
224
+ localVarHeaderParameter = {};
225
+ localVarQueryParameter = {};
226
+ // authentication bearer required
227
+ // http bearer authentication required
228
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
229
+ case 1:
230
+ // authentication bearer required
231
+ // http bearer authentication required
232
+ _a.sent();
233
+ if (expand !== undefined) {
234
+ localVarQueryParameter['expand'] = expand;
235
+ }
236
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
237
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
238
+ }
239
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
240
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
241
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
+ return [2 /*return*/, {
243
+ url: (0, common_1.toPathString)(localVarUrlObj),
244
+ options: localVarRequestOptions,
245
+ }];
246
+ }
247
+ });
248
+ });
249
+ },
250
+ /**
251
+ * This will get reminder counts by status.
252
+ * @summary Retrieve the reminder counts
253
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
+ * @param {*} [options] Override http request option.
255
+ * @throws {RequiredError}
256
+ */
257
+ getReminderCounts: function (authorization, options) {
258
+ if (options === void 0) { options = {}; }
259
+ return __awaiter(_this, void 0, void 0, function () {
260
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
261
+ return __generator(this, function (_a) {
262
+ switch (_a.label) {
263
+ case 0:
264
+ localVarPath = "/taskservice/v1/reminders/counts";
265
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
266
+ if (configuration) {
267
+ baseOptions = configuration.baseOptions;
268
+ baseAccessToken = configuration.accessToken;
269
+ }
270
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
271
+ localVarHeaderParameter = {};
272
+ localVarQueryParameter = {};
273
+ // authentication bearer required
274
+ // http bearer authentication required
275
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
276
+ case 1:
277
+ // authentication bearer required
278
+ // http bearer authentication required
279
+ _a.sent();
280
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
281
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
282
+ }
283
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
284
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
285
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
286
+ return [2 /*return*/, {
287
+ url: (0, common_1.toPathString)(localVarUrlObj),
288
+ options: localVarRequestOptions,
289
+ }];
290
+ }
291
+ });
292
+ });
293
+ },
294
+ /**
295
+ * Retrieves a list of reminders.
296
+ * @summary List reminders
297
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
298
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
299
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
300
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt&lt;/i&gt;
301
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: title, description&lt;/i&gt;
302
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, dueAt, isDone&lt;/i&gt;
303
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
304
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt&lt;/i&gt;
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ listReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
309
+ if (options === void 0) { options = {}; }
310
+ return __awaiter(_this, void 0, void 0, function () {
311
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
312
+ return __generator(this, function (_a) {
313
+ switch (_a.label) {
314
+ case 0:
315
+ localVarPath = "/taskservice/v1/reminders";
316
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
317
+ if (configuration) {
318
+ baseOptions = configuration.baseOptions;
319
+ baseAccessToken = configuration.accessToken;
320
+ }
321
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
322
+ localVarHeaderParameter = {};
323
+ localVarQueryParameter = {};
324
+ // authentication bearer required
325
+ // http bearer authentication required
326
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
327
+ case 1:
328
+ // authentication bearer required
329
+ // http bearer authentication required
330
+ _a.sent();
331
+ if (pageSize !== undefined) {
332
+ localVarQueryParameter['pageSize'] = pageSize;
333
+ }
334
+ if (pageToken !== undefined) {
335
+ localVarQueryParameter['pageToken'] = pageToken;
336
+ }
337
+ if (filter !== undefined) {
338
+ localVarQueryParameter['filter'] = filter;
339
+ }
340
+ if (search !== undefined) {
341
+ localVarQueryParameter['search'] = search;
342
+ }
343
+ if (order !== undefined) {
344
+ localVarQueryParameter['order'] = order;
345
+ }
346
+ if (expand !== undefined) {
347
+ localVarQueryParameter['expand'] = expand;
348
+ }
349
+ if (filters !== undefined) {
350
+ localVarQueryParameter['filters'] = filters;
351
+ }
352
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
354
+ }
355
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
+ return [2 /*return*/, {
359
+ url: (0, common_1.toPathString)(localVarUrlObj),
360
+ options: localVarRequestOptions,
361
+ }];
362
+ }
363
+ });
364
+ });
365
+ },
366
+ /**
367
+ * This will mark a reminder as done.
368
+ * @summary Create the reminder done
369
+ * @param {string} code
370
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ markReminderDone: function (code, authorization, options) {
375
+ if (options === void 0) { options = {}; }
376
+ return __awaiter(_this, void 0, void 0, function () {
377
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
378
+ return __generator(this, function (_a) {
379
+ switch (_a.label) {
380
+ case 0:
381
+ // verify required parameter 'code' is not null or undefined
382
+ (0, common_1.assertParamExists)('markReminderDone', 'code', code);
383
+ localVarPath = "/taskservice/v1/reminders/{code}/done"
384
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
385
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
386
+ if (configuration) {
387
+ baseOptions = configuration.baseOptions;
388
+ baseAccessToken = configuration.accessToken;
389
+ }
390
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
391
+ localVarHeaderParameter = {};
392
+ localVarQueryParameter = {};
393
+ // authentication bearer required
394
+ // http bearer authentication required
395
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
396
+ case 1:
397
+ // authentication bearer required
398
+ // http bearer authentication required
399
+ _a.sent();
400
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
401
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
402
+ }
403
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
404
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
405
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
406
+ return [2 /*return*/, {
407
+ url: (0, common_1.toPathString)(localVarUrlObj),
408
+ options: localVarRequestOptions,
409
+ }];
410
+ }
411
+ });
412
+ });
413
+ },
414
+ /**
415
+ * This will patch a reminder.
416
+ * @summary Update the reminder
417
+ * @param {PatchReminderRequestDto} patchReminderRequestDto
418
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ */
422
+ patchReminder: function (patchReminderRequestDto, authorization, options) {
423
+ if (options === void 0) { options = {}; }
424
+ return __awaiter(_this, void 0, void 0, function () {
425
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
426
+ return __generator(this, function (_a) {
427
+ switch (_a.label) {
428
+ case 0:
429
+ // verify required parameter 'patchReminderRequestDto' is not null or undefined
430
+ (0, common_1.assertParamExists)('patchReminder', 'patchReminderRequestDto', patchReminderRequestDto);
431
+ localVarPath = "/taskservice/v1/reminders";
432
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
433
+ if (configuration) {
434
+ baseOptions = configuration.baseOptions;
435
+ baseAccessToken = configuration.accessToken;
436
+ }
437
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
438
+ localVarHeaderParameter = {};
439
+ localVarQueryParameter = {};
440
+ // authentication bearer required
441
+ // http bearer authentication required
442
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
443
+ case 1:
444
+ // authentication bearer required
445
+ // http bearer authentication required
446
+ _a.sent();
447
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
448
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
449
+ }
450
+ localVarHeaderParameter['Content-Type'] = 'application/json';
451
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
452
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
453
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
454
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchReminderRequestDto, localVarRequestOptions, configuration);
455
+ return [2 /*return*/, {
456
+ url: (0, common_1.toPathString)(localVarUrlObj),
457
+ options: localVarRequestOptions,
458
+ }];
459
+ }
460
+ });
461
+ });
462
+ },
463
+ };
464
+ };
465
+ exports.RemindersApiAxiosParamCreator = RemindersApiAxiosParamCreator;
466
+ /**
467
+ * RemindersApi - functional programming interface
468
+ * @export
469
+ */
470
+ var RemindersApiFp = function (configuration) {
471
+ var localVarAxiosParamCreator = (0, exports.RemindersApiAxiosParamCreator)(configuration);
472
+ return {
473
+ /**
474
+ * This will create a reminder.
475
+ * @summary Create the reminder
476
+ * @param {CreateReminderRequestDto} createReminderRequestDto
477
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ createReminder: function (createReminderRequestDto, authorization, options) {
482
+ return __awaiter(this, void 0, void 0, function () {
483
+ var localVarAxiosArgs;
484
+ return __generator(this, function (_a) {
485
+ switch (_a.label) {
486
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createReminder(createReminderRequestDto, authorization, options)];
487
+ case 1:
488
+ localVarAxiosArgs = _a.sent();
489
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
490
+ }
491
+ });
492
+ });
493
+ },
494
+ /**
495
+ * This will delete a reminder.
496
+ * @summary Delete the reminder
497
+ * @param {string} code Unique identifier for the object.
498
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ deleteReminder: function (code, authorization, options) {
503
+ return __awaiter(this, void 0, void 0, function () {
504
+ var localVarAxiosArgs;
505
+ return __generator(this, function (_a) {
506
+ switch (_a.label) {
507
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReminder(code, authorization, options)];
508
+ case 1:
509
+ localVarAxiosArgs = _a.sent();
510
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
511
+ }
512
+ });
513
+ });
514
+ },
515
+ /**
516
+ * This will get a reminder by code.
517
+ * @summary Retrieve the reminder
518
+ * @param {string} code Unique identifier for the object.
519
+ * @param {string} expand
520
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ */
524
+ getReminder: function (code, expand, authorization, options) {
525
+ return __awaiter(this, void 0, void 0, function () {
526
+ var localVarAxiosArgs;
527
+ return __generator(this, function (_a) {
528
+ switch (_a.label) {
529
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminder(code, expand, authorization, options)];
530
+ case 1:
531
+ localVarAxiosArgs = _a.sent();
532
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
533
+ }
534
+ });
535
+ });
536
+ },
537
+ /**
538
+ * This will get reminder counts by status.
539
+ * @summary Retrieve the reminder counts
540
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ getReminderCounts: function (authorization, options) {
545
+ return __awaiter(this, void 0, void 0, function () {
546
+ var localVarAxiosArgs;
547
+ return __generator(this, function (_a) {
548
+ switch (_a.label) {
549
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminderCounts(authorization, options)];
550
+ case 1:
551
+ localVarAxiosArgs = _a.sent();
552
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
553
+ }
554
+ });
555
+ });
556
+ },
557
+ /**
558
+ * Retrieves a list of reminders.
559
+ * @summary List reminders
560
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
561
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
562
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
563
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt&lt;/i&gt;
564
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: title, description&lt;/i&gt;
565
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, dueAt, isDone&lt;/i&gt;
566
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
567
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt&lt;/i&gt;
568
+ * @param {*} [options] Override http request option.
569
+ * @throws {RequiredError}
570
+ */
571
+ listReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
572
+ return __awaiter(this, void 0, void 0, function () {
573
+ var localVarAxiosArgs;
574
+ return __generator(this, function (_a) {
575
+ switch (_a.label) {
576
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
577
+ case 1:
578
+ localVarAxiosArgs = _a.sent();
579
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
580
+ }
581
+ });
582
+ });
583
+ },
584
+ /**
585
+ * This will mark a reminder as done.
586
+ * @summary Create the reminder done
587
+ * @param {string} code
588
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ markReminderDone: function (code, authorization, options) {
593
+ return __awaiter(this, void 0, void 0, function () {
594
+ var localVarAxiosArgs;
595
+ return __generator(this, function (_a) {
596
+ switch (_a.label) {
597
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.markReminderDone(code, authorization, options)];
598
+ case 1:
599
+ localVarAxiosArgs = _a.sent();
600
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
601
+ }
602
+ });
603
+ });
604
+ },
605
+ /**
606
+ * This will patch a reminder.
607
+ * @summary Update the reminder
608
+ * @param {PatchReminderRequestDto} patchReminderRequestDto
609
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ */
613
+ patchReminder: function (patchReminderRequestDto, authorization, options) {
614
+ return __awaiter(this, void 0, void 0, function () {
615
+ var localVarAxiosArgs;
616
+ return __generator(this, function (_a) {
617
+ switch (_a.label) {
618
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchReminder(patchReminderRequestDto, authorization, options)];
619
+ case 1:
620
+ localVarAxiosArgs = _a.sent();
621
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
622
+ }
623
+ });
624
+ });
625
+ },
626
+ };
627
+ };
628
+ exports.RemindersApiFp = RemindersApiFp;
629
+ /**
630
+ * RemindersApi - factory interface
631
+ * @export
632
+ */
633
+ var RemindersApiFactory = function (configuration, basePath, axios) {
634
+ var localVarFp = (0, exports.RemindersApiFp)(configuration);
635
+ return {
636
+ /**
637
+ * This will create a reminder.
638
+ * @summary Create the reminder
639
+ * @param {CreateReminderRequestDto} createReminderRequestDto
640
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
641
+ * @param {*} [options] Override http request option.
642
+ * @throws {RequiredError}
643
+ */
644
+ createReminder: function (createReminderRequestDto, authorization, options) {
645
+ return localVarFp.createReminder(createReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
646
+ },
647
+ /**
648
+ * This will delete a reminder.
649
+ * @summary Delete the reminder
650
+ * @param {string} code Unique identifier for the object.
651
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ */
655
+ deleteReminder: function (code, authorization, options) {
656
+ return localVarFp.deleteReminder(code, authorization, options).then(function (request) { return request(axios, basePath); });
657
+ },
658
+ /**
659
+ * This will get a reminder by code.
660
+ * @summary Retrieve the reminder
661
+ * @param {string} code Unique identifier for the object.
662
+ * @param {string} expand
663
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ getReminder: function (code, expand, authorization, options) {
668
+ return localVarFp.getReminder(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
669
+ },
670
+ /**
671
+ * This will get reminder counts by status.
672
+ * @summary Retrieve the reminder counts
673
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ getReminderCounts: function (authorization, options) {
678
+ return localVarFp.getReminderCounts(authorization, options).then(function (request) { return request(axios, basePath); });
679
+ },
680
+ /**
681
+ * Retrieves a list of reminders.
682
+ * @summary List reminders
683
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
684
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
685
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
686
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt&lt;/i&gt;
687
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: title, description&lt;/i&gt;
688
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, dueAt, isDone&lt;/i&gt;
689
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
690
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt&lt;/i&gt;
691
+ * @param {*} [options] Override http request option.
692
+ * @throws {RequiredError}
693
+ */
694
+ listReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
695
+ return localVarFp.listReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
696
+ },
697
+ /**
698
+ * This will mark a reminder as done.
699
+ * @summary Create the reminder done
700
+ * @param {string} code
701
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ */
705
+ markReminderDone: function (code, authorization, options) {
706
+ return localVarFp.markReminderDone(code, authorization, options).then(function (request) { return request(axios, basePath); });
707
+ },
708
+ /**
709
+ * This will patch a reminder.
710
+ * @summary Update the reminder
711
+ * @param {PatchReminderRequestDto} patchReminderRequestDto
712
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
713
+ * @param {*} [options] Override http request option.
714
+ * @throws {RequiredError}
715
+ */
716
+ patchReminder: function (patchReminderRequestDto, authorization, options) {
717
+ return localVarFp.patchReminder(patchReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
718
+ },
719
+ };
720
+ };
721
+ exports.RemindersApiFactory = RemindersApiFactory;
722
+ /**
723
+ * RemindersApi - object-oriented interface
724
+ * @export
725
+ * @class RemindersApi
726
+ * @extends {BaseAPI}
727
+ */
728
+ var RemindersApi = /** @class */ (function (_super) {
729
+ __extends(RemindersApi, _super);
730
+ function RemindersApi() {
731
+ return _super !== null && _super.apply(this, arguments) || this;
732
+ }
733
+ /**
734
+ * This will create a reminder.
735
+ * @summary Create the reminder
736
+ * @param {RemindersApiCreateReminderRequest} requestParameters Request parameters.
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ * @memberof RemindersApi
740
+ */
741
+ RemindersApi.prototype.createReminder = function (requestParameters, options) {
742
+ var _this = this;
743
+ return (0, exports.RemindersApiFp)(this.configuration).createReminder(requestParameters.createReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
744
+ };
745
+ /**
746
+ * This will delete a reminder.
747
+ * @summary Delete the reminder
748
+ * @param {RemindersApiDeleteReminderRequest} requestParameters Request parameters.
749
+ * @param {*} [options] Override http request option.
750
+ * @throws {RequiredError}
751
+ * @memberof RemindersApi
752
+ */
753
+ RemindersApi.prototype.deleteReminder = function (requestParameters, options) {
754
+ var _this = this;
755
+ return (0, exports.RemindersApiFp)(this.configuration).deleteReminder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
756
+ };
757
+ /**
758
+ * This will get a reminder by code.
759
+ * @summary Retrieve the reminder
760
+ * @param {RemindersApiGetReminderRequest} requestParameters Request parameters.
761
+ * @param {*} [options] Override http request option.
762
+ * @throws {RequiredError}
763
+ * @memberof RemindersApi
764
+ */
765
+ RemindersApi.prototype.getReminder = function (requestParameters, options) {
766
+ var _this = this;
767
+ return (0, exports.RemindersApiFp)(this.configuration).getReminder(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
768
+ };
769
+ /**
770
+ * This will get reminder counts by status.
771
+ * @summary Retrieve the reminder counts
772
+ * @param {RemindersApiGetReminderCountsRequest} requestParameters Request parameters.
773
+ * @param {*} [options] Override http request option.
774
+ * @throws {RequiredError}
775
+ * @memberof RemindersApi
776
+ */
777
+ RemindersApi.prototype.getReminderCounts = function (requestParameters, options) {
778
+ var _this = this;
779
+ if (requestParameters === void 0) { requestParameters = {}; }
780
+ return (0, exports.RemindersApiFp)(this.configuration).getReminderCounts(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
781
+ };
782
+ /**
783
+ * Retrieves a list of reminders.
784
+ * @summary List reminders
785
+ * @param {RemindersApiListRemindersRequest} requestParameters Request parameters.
786
+ * @param {*} [options] Override http request option.
787
+ * @throws {RequiredError}
788
+ * @memberof RemindersApi
789
+ */
790
+ RemindersApi.prototype.listReminders = function (requestParameters, options) {
791
+ var _this = this;
792
+ if (requestParameters === void 0) { requestParameters = {}; }
793
+ return (0, exports.RemindersApiFp)(this.configuration).listReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
794
+ };
795
+ /**
796
+ * This will mark a reminder as done.
797
+ * @summary Create the reminder done
798
+ * @param {RemindersApiMarkReminderDoneRequest} requestParameters Request parameters.
799
+ * @param {*} [options] Override http request option.
800
+ * @throws {RequiredError}
801
+ * @memberof RemindersApi
802
+ */
803
+ RemindersApi.prototype.markReminderDone = function (requestParameters, options) {
804
+ var _this = this;
805
+ return (0, exports.RemindersApiFp)(this.configuration).markReminderDone(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
806
+ };
807
+ /**
808
+ * This will patch a reminder.
809
+ * @summary Update the reminder
810
+ * @param {RemindersApiPatchReminderRequest} requestParameters Request parameters.
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ * @memberof RemindersApi
814
+ */
815
+ RemindersApi.prototype.patchReminder = function (requestParameters, options) {
816
+ var _this = this;
817
+ return (0, exports.RemindersApiFp)(this.configuration).patchReminder(requestParameters.patchReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
818
+ };
819
+ return RemindersApi;
820
+ }(base_1.BaseAPI));
821
+ exports.RemindersApi = RemindersApi;