@emilgroup/task-sdk 1.3.1-beta.1 → 1.3.1-beta.4

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.
@@ -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,7 +244,7 @@ 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. **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
250
  * @param {*} [options] Override http request option.
@@ -288,16 +288,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
288
288
  });
289
289
  },
290
290
  /**
291
- * Retrieves a list of reminders.
291
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
292
292
  * @summary List reminders
293
293
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
294
294
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
295
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=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>
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, status, userSub, entityNumber, 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: code, title, description, entityCode, entityNumber, userSub, userName</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, status</i>
299
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.<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>
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, status, userSub, entityNumber, dueAt, createdAt</i>
301
301
  * @param {*} [options] Override http request option.
302
302
  * @throws {RequiredError}
303
303
  */
@@ -360,7 +360,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
360
360
  });
361
361
  },
362
362
  /**
363
- * This will mark a reminder as done.
363
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
364
364
  * @summary Create the reminder done
365
365
  * @param {string} code
366
366
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -408,7 +408,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
408
408
  });
409
409
  },
410
410
  /**
411
- * This will patch a reminder.
411
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
412
412
  * @summary Update the reminder
413
413
  * @param {PatchReminderRequestDto} patchReminderRequestDto
414
414
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -467,7 +467,7 @@ var RemindersApiFp = function (configuration) {
467
467
  var localVarAxiosParamCreator = (0, exports.RemindersApiAxiosParamCreator)(configuration);
468
468
  return {
469
469
  /**
470
- * This will create a reminder.
470
+ * This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
471
471
  * @summary Create the reminder
472
472
  * @param {CreateReminderRequestDto} createReminderRequestDto
473
473
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -488,7 +488,7 @@ var RemindersApiFp = function (configuration) {
488
488
  });
489
489
  },
490
490
  /**
491
- * This will delete a reminder.
491
+ * This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
492
492
  * @summary Delete the reminder
493
493
  * @param {string} code Unique identifier for the object.
494
494
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -509,7 +509,7 @@ var RemindersApiFp = function (configuration) {
509
509
  });
510
510
  },
511
511
  /**
512
- * This will get a reminder by code.
512
+ * This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
513
513
  * @summary Retrieve the reminder
514
514
  * @param {string} code Unique identifier for the object.
515
515
  * @param {string} expand
@@ -531,7 +531,7 @@ var RemindersApiFp = function (configuration) {
531
531
  });
532
532
  },
533
533
  /**
534
- * This will get reminder counts by status.
534
+ * This will get reminder counts by status. **Required Permissions** \"task-management.tasks.view\"
535
535
  * @summary Retrieve the reminder counts
536
536
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
537
537
  * @param {*} [options] Override http request option.
@@ -551,16 +551,16 @@ var RemindersApiFp = function (configuration) {
551
551
  });
552
552
  },
553
553
  /**
554
- * Retrieves a list of reminders.
554
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
555
555
  * @summary List reminders
556
556
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
557
557
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
558
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=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>
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, status, userSub, entityNumber, 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: code, title, description, entityCode, entityNumber, userSub, userName</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, status</i>
562
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.<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>
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, status, userSub, entityNumber, dueAt, createdAt</i>
564
564
  * @param {*} [options] Override http request option.
565
565
  * @throws {RequiredError}
566
566
  */
@@ -578,7 +578,7 @@ var RemindersApiFp = function (configuration) {
578
578
  });
579
579
  },
580
580
  /**
581
- * This will mark a reminder as done.
581
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
582
582
  * @summary Create the reminder done
583
583
  * @param {string} code
584
584
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -599,7 +599,7 @@ var RemindersApiFp = function (configuration) {
599
599
  });
600
600
  },
601
601
  /**
602
- * This will patch a reminder.
602
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
603
603
  * @summary Update the reminder
604
604
  * @param {PatchReminderRequestDto} patchReminderRequestDto
605
605
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -630,7 +630,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
630
630
  var localVarFp = (0, exports.RemindersApiFp)(configuration);
631
631
  return {
632
632
  /**
633
- * This will create a reminder.
633
+ * This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
634
634
  * @summary Create the reminder
635
635
  * @param {CreateReminderRequestDto} createReminderRequestDto
636
636
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -641,7 +641,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
641
641
  return localVarFp.createReminder(createReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
642
642
  },
643
643
  /**
644
- * This will delete a reminder.
644
+ * This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
645
645
  * @summary Delete the reminder
646
646
  * @param {string} code Unique identifier for the object.
647
647
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -652,7 +652,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
652
652
  return localVarFp.deleteReminder(code, authorization, options).then(function (request) { return request(axios, basePath); });
653
653
  },
654
654
  /**
655
- * This will get a reminder by code.
655
+ * This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
656
656
  * @summary Retrieve the reminder
657
657
  * @param {string} code Unique identifier for the object.
658
658
  * @param {string} expand
@@ -664,7 +664,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
664
664
  return localVarFp.getReminder(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
665
665
  },
666
666
  /**
667
- * This will get reminder counts by status.
667
+ * This will get reminder counts by status. **Required Permissions** \"task-management.tasks.view\"
668
668
  * @summary Retrieve the reminder counts
669
669
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
670
670
  * @param {*} [options] Override http request option.
@@ -674,16 +674,16 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
674
674
  return localVarFp.getReminderCounts(authorization, options).then(function (request) { return request(axios, basePath); });
675
675
  },
676
676
  /**
677
- * Retrieves a list of reminders.
677
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
678
678
  * @summary List reminders
679
679
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
680
680
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
681
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=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>
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, status, userSub, entityNumber, 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: code, title, description, entityCode, entityNumber, userSub, userName</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, status</i>
685
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.<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>
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, status, userSub, entityNumber, dueAt, createdAt</i>
687
687
  * @param {*} [options] Override http request option.
688
688
  * @throws {RequiredError}
689
689
  */
@@ -691,7 +691,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
691
691
  return localVarFp.listReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
692
692
  },
693
693
  /**
694
- * This will mark a reminder as done.
694
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
695
695
  * @summary Create the reminder done
696
696
  * @param {string} code
697
697
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -702,7 +702,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
702
702
  return localVarFp.markReminderDone(code, authorization, options).then(function (request) { return request(axios, basePath); });
703
703
  },
704
704
  /**
705
- * This will patch a reminder.
705
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
706
706
  * @summary Update the reminder
707
707
  * @param {PatchReminderRequestDto} patchReminderRequestDto
708
708
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -727,7 +727,7 @@ var RemindersApi = /** @class */ (function (_super) {
727
727
  return _super !== null && _super.apply(this, arguments) || this;
728
728
  }
729
729
  /**
730
- * This will create a reminder.
730
+ * This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
731
731
  * @summary Create the reminder
732
732
  * @param {RemindersApiCreateReminderRequest} requestParameters Request parameters.
733
733
  * @param {*} [options] Override http request option.
@@ -739,7 +739,7 @@ var RemindersApi = /** @class */ (function (_super) {
739
739
  return (0, exports.RemindersApiFp)(this.configuration).createReminder(requestParameters.createReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
740
740
  };
741
741
  /**
742
- * This will delete a reminder.
742
+ * This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
743
743
  * @summary Delete the reminder
744
744
  * @param {RemindersApiDeleteReminderRequest} requestParameters Request parameters.
745
745
  * @param {*} [options] Override http request option.
@@ -751,7 +751,7 @@ var RemindersApi = /** @class */ (function (_super) {
751
751
  return (0, exports.RemindersApiFp)(this.configuration).deleteReminder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
752
752
  };
753
753
  /**
754
- * This will get a reminder by code.
754
+ * This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
755
755
  * @summary Retrieve the reminder
756
756
  * @param {RemindersApiGetReminderRequest} requestParameters Request parameters.
757
757
  * @param {*} [options] Override http request option.
@@ -763,7 +763,7 @@ var RemindersApi = /** @class */ (function (_super) {
763
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
764
  };
765
765
  /**
766
- * This will get reminder counts by status.
766
+ * This will get reminder counts by status. **Required Permissions** \"task-management.tasks.view\"
767
767
  * @summary Retrieve the reminder counts
768
768
  * @param {RemindersApiGetReminderCountsRequest} requestParameters Request parameters.
769
769
  * @param {*} [options] Override http request option.
@@ -776,7 +776,7 @@ var RemindersApi = /** @class */ (function (_super) {
776
776
  return (0, exports.RemindersApiFp)(this.configuration).getReminderCounts(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
777
777
  };
778
778
  /**
779
- * Retrieves a list of reminders.
779
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
780
780
  * @summary List reminders
781
781
  * @param {RemindersApiListRemindersRequest} requestParameters Request parameters.
782
782
  * @param {*} [options] Override http request option.
@@ -789,7 +789,7 @@ var RemindersApi = /** @class */ (function (_super) {
789
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
790
  };
791
791
  /**
792
- * This will mark a reminder as done.
792
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
793
793
  * @summary Create the reminder done
794
794
  * @param {RemindersApiMarkReminderDoneRequest} requestParameters Request parameters.
795
795
  * @param {*} [options] Override http request option.
@@ -801,7 +801,7 @@ var RemindersApi = /** @class */ (function (_super) {
801
801
  return (0, exports.RemindersApiFp)(this.configuration).markReminderDone(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
802
802
  };
803
803
  /**
804
- * This will patch a reminder.
804
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
805
805
  * @summary Update the reminder
806
806
  * @param {RemindersApiPatchReminderRequest} requestParameters Request parameters.
807
807
  * @param {*} [options] Override http request option.