@emilgroup/task-sdk 1.3.1-beta.1 → 1.3.1-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/reminders-api.ts +64 -50
- package/api/task-client-api.ts +2140 -0
- package/api.ts +4 -2
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/reminders-api.d.ts +56 -47
- package/dist/api/reminders-api.js +52 -46
- package/dist/api/task-client-api.d.ts +1194 -0
- package/dist/api/task-client-api.js +1838 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/create-reminder-request-dto.d.ts +9 -2
- package/dist/models/create-reminder-request-dto.js +7 -0
- package/dist/models/patch-reminder-request-dto.d.ts +25 -0
- package/dist/models/patch-reminder-request-dto.js +7 -0
- package/models/create-reminder-request-dto.ts +12 -2
- package/models/patch-reminder-request-dto.ts +28 -0
- package/package.json +2 -2
|
@@ -93,7 +93,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a reminder.
|
|
96
|
+
* This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
|
|
97
97
|
* @summary Create the reminder
|
|
98
98
|
* @param {CreateReminderRequestDto} createReminderRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This will delete a reminder.
|
|
145
|
+
* This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
|
|
146
146
|
* @summary Delete the reminder
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,7 +190,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* This will get a reminder by code.
|
|
193
|
+
* This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
|
|
194
194
|
* @summary Retrieve the reminder
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} expand
|
|
@@ -244,13 +244,14 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
});
|
|
245
245
|
},
|
|
246
246
|
/**
|
|
247
|
-
* This will get reminder counts by status.
|
|
247
|
+
* This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.tasks.view\"
|
|
248
248
|
* @summary Retrieve the reminder counts
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
|
+
* @param {string} [filters] Filters the response by one or multiple fields using the advanced filter syntax (same as the list reminders endpoint). Counts are computed over the filtered set.
|
|
250
251
|
* @param {*} [options] Override http request option.
|
|
251
252
|
* @throws {RequiredError}
|
|
252
253
|
*/
|
|
253
|
-
getReminderCounts: function (authorization, options) {
|
|
254
|
+
getReminderCounts: function (authorization, filters, options) {
|
|
254
255
|
if (options === void 0) { options = {}; }
|
|
255
256
|
return __awaiter(_this, void 0, void 0, function () {
|
|
256
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -273,6 +274,9 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
273
274
|
// authentication bearer required
|
|
274
275
|
// http bearer authentication required
|
|
275
276
|
_a.sent();
|
|
277
|
+
if (filters !== undefined) {
|
|
278
|
+
localVarQueryParameter['filters'] = filters;
|
|
279
|
+
}
|
|
276
280
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
277
281
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
278
282
|
}
|
|
@@ -288,16 +292,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
288
292
|
});
|
|
289
293
|
},
|
|
290
294
|
/**
|
|
291
|
-
* Retrieves a list of reminders.
|
|
295
|
+
* Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
|
|
292
296
|
* @summary List reminders
|
|
293
297
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
294
298
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
295
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt</i>
|
|
297
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: title, description</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone</i>
|
|
300
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, status, userSub, entityNumber, dueAt, createdAt</i>
|
|
301
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, title, description, entityCode, entityNumber, userSub, userName</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone, status</i>
|
|
299
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.<br/> <br/>
|
|
300
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt</i>
|
|
304
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, status, userSub, entityNumber, dueAt, createdAt</i>
|
|
301
305
|
* @param {*} [options] Override http request option.
|
|
302
306
|
* @throws {RequiredError}
|
|
303
307
|
*/
|
|
@@ -360,7 +364,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
360
364
|
});
|
|
361
365
|
},
|
|
362
366
|
/**
|
|
363
|
-
* This will mark a reminder as done.
|
|
367
|
+
* This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
|
|
364
368
|
* @summary Create the reminder done
|
|
365
369
|
* @param {string} code
|
|
366
370
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -408,7 +412,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
408
412
|
});
|
|
409
413
|
},
|
|
410
414
|
/**
|
|
411
|
-
* This will patch a reminder.
|
|
415
|
+
* This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
|
|
412
416
|
* @summary Update the reminder
|
|
413
417
|
* @param {PatchReminderRequestDto} patchReminderRequestDto
|
|
414
418
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -467,7 +471,7 @@ var RemindersApiFp = function (configuration) {
|
|
|
467
471
|
var localVarAxiosParamCreator = (0, exports.RemindersApiAxiosParamCreator)(configuration);
|
|
468
472
|
return {
|
|
469
473
|
/**
|
|
470
|
-
* This will create a reminder.
|
|
474
|
+
* This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
|
|
471
475
|
* @summary Create the reminder
|
|
472
476
|
* @param {CreateReminderRequestDto} createReminderRequestDto
|
|
473
477
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -488,7 +492,7 @@ var RemindersApiFp = function (configuration) {
|
|
|
488
492
|
});
|
|
489
493
|
},
|
|
490
494
|
/**
|
|
491
|
-
* This will delete a reminder.
|
|
495
|
+
* This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
|
|
492
496
|
* @summary Delete the reminder
|
|
493
497
|
* @param {string} code Unique identifier for the object.
|
|
494
498
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -509,7 +513,7 @@ var RemindersApiFp = function (configuration) {
|
|
|
509
513
|
});
|
|
510
514
|
},
|
|
511
515
|
/**
|
|
512
|
-
* This will get a reminder by code.
|
|
516
|
+
* This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
|
|
513
517
|
* @summary Retrieve the reminder
|
|
514
518
|
* @param {string} code Unique identifier for the object.
|
|
515
519
|
* @param {string} expand
|
|
@@ -531,18 +535,19 @@ var RemindersApiFp = function (configuration) {
|
|
|
531
535
|
});
|
|
532
536
|
},
|
|
533
537
|
/**
|
|
534
|
-
* This will get reminder counts by status.
|
|
538
|
+
* This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.tasks.view\"
|
|
535
539
|
* @summary Retrieve the reminder counts
|
|
536
540
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
541
|
+
* @param {string} [filters] Filters the response by one or multiple fields using the advanced filter syntax (same as the list reminders endpoint). Counts are computed over the filtered set.
|
|
537
542
|
* @param {*} [options] Override http request option.
|
|
538
543
|
* @throws {RequiredError}
|
|
539
544
|
*/
|
|
540
|
-
getReminderCounts: function (authorization, options) {
|
|
545
|
+
getReminderCounts: function (authorization, filters, options) {
|
|
541
546
|
return __awaiter(this, void 0, void 0, function () {
|
|
542
547
|
var localVarAxiosArgs;
|
|
543
548
|
return __generator(this, function (_a) {
|
|
544
549
|
switch (_a.label) {
|
|
545
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminderCounts(authorization, options)];
|
|
550
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminderCounts(authorization, filters, options)];
|
|
546
551
|
case 1:
|
|
547
552
|
localVarAxiosArgs = _a.sent();
|
|
548
553
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -551,16 +556,16 @@ var RemindersApiFp = function (configuration) {
|
|
|
551
556
|
});
|
|
552
557
|
},
|
|
553
558
|
/**
|
|
554
|
-
* Retrieves a list of reminders.
|
|
559
|
+
* Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
|
|
555
560
|
* @summary List reminders
|
|
556
561
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
557
562
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
558
563
|
* @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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt</i>
|
|
560
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: title, description</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone</i>
|
|
564
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, status, userSub, entityNumber, dueAt, createdAt</i>
|
|
565
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, title, description, entityCode, entityNumber, userSub, userName</i>
|
|
566
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone, status</i>
|
|
562
567
|
* @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.<br/> <br/>
|
|
563
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt</i>
|
|
568
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, status, userSub, entityNumber, dueAt, createdAt</i>
|
|
564
569
|
* @param {*} [options] Override http request option.
|
|
565
570
|
* @throws {RequiredError}
|
|
566
571
|
*/
|
|
@@ -578,7 +583,7 @@ var RemindersApiFp = function (configuration) {
|
|
|
578
583
|
});
|
|
579
584
|
},
|
|
580
585
|
/**
|
|
581
|
-
* This will mark a reminder as done.
|
|
586
|
+
* This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
|
|
582
587
|
* @summary Create the reminder done
|
|
583
588
|
* @param {string} code
|
|
584
589
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -599,7 +604,7 @@ var RemindersApiFp = function (configuration) {
|
|
|
599
604
|
});
|
|
600
605
|
},
|
|
601
606
|
/**
|
|
602
|
-
* This will patch a reminder.
|
|
607
|
+
* This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
|
|
603
608
|
* @summary Update the reminder
|
|
604
609
|
* @param {PatchReminderRequestDto} patchReminderRequestDto
|
|
605
610
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -630,7 +635,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
630
635
|
var localVarFp = (0, exports.RemindersApiFp)(configuration);
|
|
631
636
|
return {
|
|
632
637
|
/**
|
|
633
|
-
* This will create a reminder.
|
|
638
|
+
* This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
|
|
634
639
|
* @summary Create the reminder
|
|
635
640
|
* @param {CreateReminderRequestDto} createReminderRequestDto
|
|
636
641
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -641,7 +646,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
641
646
|
return localVarFp.createReminder(createReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
642
647
|
},
|
|
643
648
|
/**
|
|
644
|
-
* This will delete a reminder.
|
|
649
|
+
* This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
|
|
645
650
|
* @summary Delete the reminder
|
|
646
651
|
* @param {string} code Unique identifier for the object.
|
|
647
652
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -652,7 +657,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
652
657
|
return localVarFp.deleteReminder(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
653
658
|
},
|
|
654
659
|
/**
|
|
655
|
-
* This will get a reminder by code.
|
|
660
|
+
* This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
|
|
656
661
|
* @summary Retrieve the reminder
|
|
657
662
|
* @param {string} code Unique identifier for the object.
|
|
658
663
|
* @param {string} expand
|
|
@@ -664,26 +669,27 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
664
669
|
return localVarFp.getReminder(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
665
670
|
},
|
|
666
671
|
/**
|
|
667
|
-
* This will get reminder counts by status.
|
|
672
|
+
* This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.tasks.view\"
|
|
668
673
|
* @summary Retrieve the reminder counts
|
|
669
674
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
675
|
+
* @param {string} [filters] Filters the response by one or multiple fields using the advanced filter syntax (same as the list reminders endpoint). Counts are computed over the filtered set.
|
|
670
676
|
* @param {*} [options] Override http request option.
|
|
671
677
|
* @throws {RequiredError}
|
|
672
678
|
*/
|
|
673
|
-
getReminderCounts: function (authorization, options) {
|
|
674
|
-
return localVarFp.getReminderCounts(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
679
|
+
getReminderCounts: function (authorization, filters, options) {
|
|
680
|
+
return localVarFp.getReminderCounts(authorization, filters, options).then(function (request) { return request(axios, basePath); });
|
|
675
681
|
},
|
|
676
682
|
/**
|
|
677
|
-
* Retrieves a list of reminders.
|
|
683
|
+
* Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
|
|
678
684
|
* @summary List reminders
|
|
679
685
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
680
686
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
681
687
|
* @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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt</i>
|
|
683
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: title, description</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone</i>
|
|
688
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, status, userSub, entityNumber, dueAt, createdAt</i>
|
|
689
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, title, description, entityCode, entityNumber, userSub, userName</i>
|
|
690
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone, status</i>
|
|
685
691
|
* @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.<br/> <br/>
|
|
686
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, userSub, dueAt, createdAt</i>
|
|
692
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, isDone, status, userSub, entityNumber, dueAt, createdAt</i>
|
|
687
693
|
* @param {*} [options] Override http request option.
|
|
688
694
|
* @throws {RequiredError}
|
|
689
695
|
*/
|
|
@@ -691,7 +697,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
691
697
|
return localVarFp.listReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
692
698
|
},
|
|
693
699
|
/**
|
|
694
|
-
* This will mark a reminder as done.
|
|
700
|
+
* This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
|
|
695
701
|
* @summary Create the reminder done
|
|
696
702
|
* @param {string} code
|
|
697
703
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -702,7 +708,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
702
708
|
return localVarFp.markReminderDone(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
703
709
|
},
|
|
704
710
|
/**
|
|
705
|
-
* This will patch a reminder.
|
|
711
|
+
* This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
|
|
706
712
|
* @summary Update the reminder
|
|
707
713
|
* @param {PatchReminderRequestDto} patchReminderRequestDto
|
|
708
714
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -727,7 +733,7 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
727
733
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
728
734
|
}
|
|
729
735
|
/**
|
|
730
|
-
* This will create a reminder.
|
|
736
|
+
* This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
|
|
731
737
|
* @summary Create the reminder
|
|
732
738
|
* @param {RemindersApiCreateReminderRequest} requestParameters Request parameters.
|
|
733
739
|
* @param {*} [options] Override http request option.
|
|
@@ -739,7 +745,7 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
739
745
|
return (0, exports.RemindersApiFp)(this.configuration).createReminder(requestParameters.createReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
740
746
|
};
|
|
741
747
|
/**
|
|
742
|
-
* This will delete a reminder.
|
|
748
|
+
* This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
|
|
743
749
|
* @summary Delete the reminder
|
|
744
750
|
* @param {RemindersApiDeleteReminderRequest} requestParameters Request parameters.
|
|
745
751
|
* @param {*} [options] Override http request option.
|
|
@@ -751,7 +757,7 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
751
757
|
return (0, exports.RemindersApiFp)(this.configuration).deleteReminder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
752
758
|
};
|
|
753
759
|
/**
|
|
754
|
-
* This will get a reminder by code.
|
|
760
|
+
* This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
|
|
755
761
|
* @summary Retrieve the reminder
|
|
756
762
|
* @param {RemindersApiGetReminderRequest} requestParameters Request parameters.
|
|
757
763
|
* @param {*} [options] Override http request option.
|
|
@@ -763,7 +769,7 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
763
769
|
return (0, exports.RemindersApiFp)(this.configuration).getReminder(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
764
770
|
};
|
|
765
771
|
/**
|
|
766
|
-
* This will get reminder counts by status.
|
|
772
|
+
* This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.tasks.view\"
|
|
767
773
|
* @summary Retrieve the reminder counts
|
|
768
774
|
* @param {RemindersApiGetReminderCountsRequest} requestParameters Request parameters.
|
|
769
775
|
* @param {*} [options] Override http request option.
|
|
@@ -773,10 +779,10 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
773
779
|
RemindersApi.prototype.getReminderCounts = function (requestParameters, options) {
|
|
774
780
|
var _this = this;
|
|
775
781
|
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); });
|
|
782
|
+
return (0, exports.RemindersApiFp)(this.configuration).getReminderCounts(requestParameters.authorization, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
777
783
|
};
|
|
778
784
|
/**
|
|
779
|
-
* Retrieves a list of reminders.
|
|
785
|
+
* Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
|
|
780
786
|
* @summary List reminders
|
|
781
787
|
* @param {RemindersApiListRemindersRequest} requestParameters Request parameters.
|
|
782
788
|
* @param {*} [options] Override http request option.
|
|
@@ -789,7 +795,7 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
789
795
|
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
796
|
};
|
|
791
797
|
/**
|
|
792
|
-
* This will mark a reminder as done.
|
|
798
|
+
* This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
|
|
793
799
|
* @summary Create the reminder done
|
|
794
800
|
* @param {RemindersApiMarkReminderDoneRequest} requestParameters Request parameters.
|
|
795
801
|
* @param {*} [options] Override http request option.
|
|
@@ -801,7 +807,7 @@ var RemindersApi = /** @class */ (function (_super) {
|
|
|
801
807
|
return (0, exports.RemindersApiFp)(this.configuration).markReminderDone(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
802
808
|
};
|
|
803
809
|
/**
|
|
804
|
-
* This will patch a reminder.
|
|
810
|
+
* This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
|
|
805
811
|
* @summary Update the reminder
|
|
806
812
|
* @param {RemindersApiPatchReminderRequest} requestParameters Request parameters.
|
|
807
813
|
* @param {*} [options] Override http request option.
|