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

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.
@@ -97,7 +97,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a reminder.
100
+ * This will create a reminder. **Required Permissions** \"task-management.reminders.create\"
101
101
  * @summary Create the reminder
102
102
  * @param {CreateReminderRequestDto} createReminderRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * This will delete a reminder.
149
+ * This will delete a reminder. **Required Permissions** \"task-management.reminders.delete\"
150
150
  * @summary Delete the reminder
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,7 +194,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * This will get a reminder by code.
197
+ * This will get a reminder by code. **Required Permissions** \"task-management.reminders.view\"
198
198
  * @summary Retrieve the reminder
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {string} expand
@@ -248,13 +248,14 @@ var RemindersApiAxiosParamCreator = function (configuration) {
248
248
  });
249
249
  },
250
250
  /**
251
- * This will get reminder counts by status.
251
+ * This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.reminders.view\"
252
252
  * @summary Retrieve the reminder counts
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
+ * @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.
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- getReminderCounts: function (authorization, options) {
258
+ getReminderCounts: function (authorization, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -277,6 +278,9 @@ var RemindersApiAxiosParamCreator = function (configuration) {
277
278
  // authentication bearer required
278
279
  // http bearer authentication required
279
280
  _a.sent();
281
+ if (filters !== undefined) {
282
+ localVarQueryParameter['filters'] = filters;
283
+ }
280
284
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
281
285
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
282
286
  }
@@ -292,16 +296,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
292
296
  });
293
297
  },
294
298
  /**
295
- * Retrieves a list of reminders.
299
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.reminders.view\"
296
300
  * @summary List reminders
297
301
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
298
302
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
299
303
  * @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.
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, userSub, 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: title, description</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</i>
304
+ * @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>
305
+ * @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>
306
+ * @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>
303
307
  * @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/>
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, userSub, dueAt, createdAt</i>
308
+ * @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>
305
309
  * @param {*} [options] Override http request option.
306
310
  * @throws {RequiredError}
307
311
  */
@@ -364,7 +368,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
364
368
  });
365
369
  },
366
370
  /**
367
- * This will mark a reminder as done.
371
+ * This will mark a reminder as done. **Required Permissions** \"task-management.reminders.update\"
368
372
  * @summary Create the reminder done
369
373
  * @param {string} code
370
374
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -412,7 +416,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
412
416
  });
413
417
  },
414
418
  /**
415
- * This will patch a reminder.
419
+ * This will patch a reminder. **Required Permissions** \"task-management.reminders.update\"
416
420
  * @summary Update the reminder
417
421
  * @param {PatchReminderRequestDto} patchReminderRequestDto
418
422
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -471,7 +475,7 @@ var RemindersApiFp = function (configuration) {
471
475
  var localVarAxiosParamCreator = (0, exports.RemindersApiAxiosParamCreator)(configuration);
472
476
  return {
473
477
  /**
474
- * This will create a reminder.
478
+ * This will create a reminder. **Required Permissions** \"task-management.reminders.create\"
475
479
  * @summary Create the reminder
476
480
  * @param {CreateReminderRequestDto} createReminderRequestDto
477
481
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -492,7 +496,7 @@ var RemindersApiFp = function (configuration) {
492
496
  });
493
497
  },
494
498
  /**
495
- * This will delete a reminder.
499
+ * This will delete a reminder. **Required Permissions** \"task-management.reminders.delete\"
496
500
  * @summary Delete the reminder
497
501
  * @param {string} code Unique identifier for the object.
498
502
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -513,7 +517,7 @@ var RemindersApiFp = function (configuration) {
513
517
  });
514
518
  },
515
519
  /**
516
- * This will get a reminder by code.
520
+ * This will get a reminder by code. **Required Permissions** \"task-management.reminders.view\"
517
521
  * @summary Retrieve the reminder
518
522
  * @param {string} code Unique identifier for the object.
519
523
  * @param {string} expand
@@ -535,18 +539,19 @@ var RemindersApiFp = function (configuration) {
535
539
  });
536
540
  },
537
541
  /**
538
- * This will get reminder counts by status.
542
+ * This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.reminders.view\"
539
543
  * @summary Retrieve the reminder counts
540
544
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
545
+ * @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.
541
546
  * @param {*} [options] Override http request option.
542
547
  * @throws {RequiredError}
543
548
  */
544
- getReminderCounts: function (authorization, options) {
549
+ getReminderCounts: function (authorization, filters, options) {
545
550
  return __awaiter(this, void 0, void 0, function () {
546
551
  var localVarAxiosArgs;
547
552
  return __generator(this, function (_a) {
548
553
  switch (_a.label) {
549
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminderCounts(authorization, options)];
554
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminderCounts(authorization, filters, options)];
550
555
  case 1:
551
556
  localVarAxiosArgs = _a.sent();
552
557
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -555,16 +560,16 @@ var RemindersApiFp = function (configuration) {
555
560
  });
556
561
  },
557
562
  /**
558
- * Retrieves a list of reminders.
563
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.reminders.view\"
559
564
  * @summary List reminders
560
565
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
561
566
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
562
567
  * @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.
563
- * @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>
564
- * @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>
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone</i>
568
+ * @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>
569
+ * @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>
570
+ * @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>
566
571
  * @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/>
567
- * @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>
572
+ * @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>
568
573
  * @param {*} [options] Override http request option.
569
574
  * @throws {RequiredError}
570
575
  */
@@ -582,7 +587,7 @@ var RemindersApiFp = function (configuration) {
582
587
  });
583
588
  },
584
589
  /**
585
- * This will mark a reminder as done.
590
+ * This will mark a reminder as done. **Required Permissions** \"task-management.reminders.update\"
586
591
  * @summary Create the reminder done
587
592
  * @param {string} code
588
593
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -603,7 +608,7 @@ var RemindersApiFp = function (configuration) {
603
608
  });
604
609
  },
605
610
  /**
606
- * This will patch a reminder.
611
+ * This will patch a reminder. **Required Permissions** \"task-management.reminders.update\"
607
612
  * @summary Update the reminder
608
613
  * @param {PatchReminderRequestDto} patchReminderRequestDto
609
614
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -634,7 +639,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
634
639
  var localVarFp = (0, exports.RemindersApiFp)(configuration);
635
640
  return {
636
641
  /**
637
- * This will create a reminder.
642
+ * This will create a reminder. **Required Permissions** \"task-management.reminders.create\"
638
643
  * @summary Create the reminder
639
644
  * @param {CreateReminderRequestDto} createReminderRequestDto
640
645
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -645,7 +650,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
645
650
  return localVarFp.createReminder(createReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
646
651
  },
647
652
  /**
648
- * This will delete a reminder.
653
+ * This will delete a reminder. **Required Permissions** \"task-management.reminders.delete\"
649
654
  * @summary Delete the reminder
650
655
  * @param {string} code Unique identifier for the object.
651
656
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -656,7 +661,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
656
661
  return localVarFp.deleteReminder(code, authorization, options).then(function (request) { return request(axios, basePath); });
657
662
  },
658
663
  /**
659
- * This will get a reminder by code.
664
+ * This will get a reminder by code. **Required Permissions** \"task-management.reminders.view\"
660
665
  * @summary Retrieve the reminder
661
666
  * @param {string} code Unique identifier for the object.
662
667
  * @param {string} expand
@@ -668,26 +673,27 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
668
673
  return localVarFp.getReminder(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
669
674
  },
670
675
  /**
671
- * This will get reminder counts by status.
676
+ * This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.reminders.view\"
672
677
  * @summary Retrieve the reminder counts
673
678
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
679
+ * @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.
674
680
  * @param {*} [options] Override http request option.
675
681
  * @throws {RequiredError}
676
682
  */
677
- getReminderCounts: function (authorization, options) {
678
- return localVarFp.getReminderCounts(authorization, options).then(function (request) { return request(axios, basePath); });
683
+ getReminderCounts: function (authorization, filters, options) {
684
+ return localVarFp.getReminderCounts(authorization, filters, options).then(function (request) { return request(axios, basePath); });
679
685
  },
680
686
  /**
681
- * Retrieves a list of reminders.
687
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.reminders.view\"
682
688
  * @summary List reminders
683
689
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
684
690
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
685
691
  * @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.
686
- * @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>
687
- * @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>
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, dueAt, isDone</i>
692
+ * @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>
693
+ * @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>
694
+ * @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>
689
695
  * @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/>
690
- * @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>
696
+ * @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>
691
697
  * @param {*} [options] Override http request option.
692
698
  * @throws {RequiredError}
693
699
  */
@@ -695,7 +701,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
695
701
  return localVarFp.listReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
696
702
  },
697
703
  /**
698
- * This will mark a reminder as done.
704
+ * This will mark a reminder as done. **Required Permissions** \"task-management.reminders.update\"
699
705
  * @summary Create the reminder done
700
706
  * @param {string} code
701
707
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -706,7 +712,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
706
712
  return localVarFp.markReminderDone(code, authorization, options).then(function (request) { return request(axios, basePath); });
707
713
  },
708
714
  /**
709
- * This will patch a reminder.
715
+ * This will patch a reminder. **Required Permissions** \"task-management.reminders.update\"
710
716
  * @summary Update the reminder
711
717
  * @param {PatchReminderRequestDto} patchReminderRequestDto
712
718
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -731,7 +737,7 @@ var RemindersApi = /** @class */ (function (_super) {
731
737
  return _super !== null && _super.apply(this, arguments) || this;
732
738
  }
733
739
  /**
734
- * This will create a reminder.
740
+ * This will create a reminder. **Required Permissions** \"task-management.reminders.create\"
735
741
  * @summary Create the reminder
736
742
  * @param {RemindersApiCreateReminderRequest} requestParameters Request parameters.
737
743
  * @param {*} [options] Override http request option.
@@ -743,7 +749,7 @@ var RemindersApi = /** @class */ (function (_super) {
743
749
  return (0, exports.RemindersApiFp)(this.configuration).createReminder(requestParameters.createReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
744
750
  };
745
751
  /**
746
- * This will delete a reminder.
752
+ * This will delete a reminder. **Required Permissions** \"task-management.reminders.delete\"
747
753
  * @summary Delete the reminder
748
754
  * @param {RemindersApiDeleteReminderRequest} requestParameters Request parameters.
749
755
  * @param {*} [options] Override http request option.
@@ -755,7 +761,7 @@ var RemindersApi = /** @class */ (function (_super) {
755
761
  return (0, exports.RemindersApiFp)(this.configuration).deleteReminder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
756
762
  };
757
763
  /**
758
- * This will get a reminder by code.
764
+ * This will get a reminder by code. **Required Permissions** \"task-management.reminders.view\"
759
765
  * @summary Retrieve the reminder
760
766
  * @param {RemindersApiGetReminderRequest} requestParameters Request parameters.
761
767
  * @param {*} [options] Override http request option.
@@ -767,7 +773,7 @@ var RemindersApi = /** @class */ (function (_super) {
767
773
  return (0, exports.RemindersApiFp)(this.configuration).getReminder(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
768
774
  };
769
775
  /**
770
- * This will get reminder counts by status.
776
+ * This will get reminder counts by status. Accepts the same advanced `filters` query parameter as the list reminders endpoint. **Required Permissions** \"task-management.reminders.view\"
771
777
  * @summary Retrieve the reminder counts
772
778
  * @param {RemindersApiGetReminderCountsRequest} requestParameters Request parameters.
773
779
  * @param {*} [options] Override http request option.
@@ -777,10 +783,10 @@ var RemindersApi = /** @class */ (function (_super) {
777
783
  RemindersApi.prototype.getReminderCounts = function (requestParameters, options) {
778
784
  var _this = this;
779
785
  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); });
786
+ return (0, exports.RemindersApiFp)(this.configuration).getReminderCounts(requestParameters.authorization, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
781
787
  };
782
788
  /**
783
- * Retrieves a list of reminders.
789
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.reminders.view\"
784
790
  * @summary List reminders
785
791
  * @param {RemindersApiListRemindersRequest} requestParameters Request parameters.
786
792
  * @param {*} [options] Override http request option.
@@ -793,7 +799,7 @@ var RemindersApi = /** @class */ (function (_super) {
793
799
  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
800
  };
795
801
  /**
796
- * This will mark a reminder as done.
802
+ * This will mark a reminder as done. **Required Permissions** \"task-management.reminders.update\"
797
803
  * @summary Create the reminder done
798
804
  * @param {RemindersApiMarkReminderDoneRequest} requestParameters Request parameters.
799
805
  * @param {*} [options] Override http request option.
@@ -805,7 +811,7 @@ var RemindersApi = /** @class */ (function (_super) {
805
811
  return (0, exports.RemindersApiFp)(this.configuration).markReminderDone(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
806
812
  };
807
813
  /**
808
- * This will patch a reminder.
814
+ * This will patch a reminder. **Required Permissions** \"task-management.reminders.update\"
809
815
  * @summary Update the reminder
810
816
  * @param {RemindersApiPatchReminderRequest} requestParameters Request parameters.
811
817
  * @param {*} [options] Override http request option.