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