@emilgroup/task-sdk-node 1.2.1-beta.1 → 1.2.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.
@@ -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.tasks.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.tasks.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.tasks.view\"
198
198
  * @summary Retrieve the reminder
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {string} expand
@@ -248,7 +248,7 @@ 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. **Required Permissions** \"task-management.tasks.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
254
  * @param {*} [options] Override http request option.
@@ -292,16 +292,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
292
292
  });
293
293
  },
294
294
  /**
295
- * Retrieves a list of reminders.
295
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
296
296
  * @summary List reminders
297
297
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
298
298
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
299
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.
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>
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>
303
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/>
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>
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>
305
305
  * @param {*} [options] Override http request option.
306
306
  * @throws {RequiredError}
307
307
  */
@@ -364,7 +364,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
364
364
  });
365
365
  },
366
366
  /**
367
- * This will mark a reminder as done.
367
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
368
368
  * @summary Create the reminder done
369
369
  * @param {string} code
370
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -412,7 +412,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
412
412
  });
413
413
  },
414
414
  /**
415
- * This will patch a reminder.
415
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
416
416
  * @summary Update the reminder
417
417
  * @param {PatchReminderRequestDto} patchReminderRequestDto
418
418
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -471,7 +471,7 @@ var RemindersApiFp = function (configuration) {
471
471
  var localVarAxiosParamCreator = (0, exports.RemindersApiAxiosParamCreator)(configuration);
472
472
  return {
473
473
  /**
474
- * This will create a reminder.
474
+ * This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
475
475
  * @summary Create the reminder
476
476
  * @param {CreateReminderRequestDto} createReminderRequestDto
477
477
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -492,7 +492,7 @@ var RemindersApiFp = function (configuration) {
492
492
  });
493
493
  },
494
494
  /**
495
- * This will delete a reminder.
495
+ * This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
496
496
  * @summary Delete the reminder
497
497
  * @param {string} code Unique identifier for the object.
498
498
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -513,7 +513,7 @@ var RemindersApiFp = function (configuration) {
513
513
  });
514
514
  },
515
515
  /**
516
- * This will get a reminder by code.
516
+ * This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
517
517
  * @summary Retrieve the reminder
518
518
  * @param {string} code Unique identifier for the object.
519
519
  * @param {string} expand
@@ -535,7 +535,7 @@ var RemindersApiFp = function (configuration) {
535
535
  });
536
536
  },
537
537
  /**
538
- * This will get reminder counts by status.
538
+ * This will get reminder counts by status. **Required Permissions** \"task-management.tasks.view\"
539
539
  * @summary Retrieve the reminder counts
540
540
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
541
541
  * @param {*} [options] Override http request option.
@@ -555,16 +555,16 @@ var RemindersApiFp = function (configuration) {
555
555
  });
556
556
  },
557
557
  /**
558
- * Retrieves a list of reminders.
558
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
559
559
  * @summary List reminders
560
560
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
561
561
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
562
562
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=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>
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, status, userSub, entityNumber, 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: code, title, description, entityCode, entityNumber, userSub, userName</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, status</i>
566
566
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<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>
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, status, userSub, entityNumber, dueAt, createdAt</i>
568
568
  * @param {*} [options] Override http request option.
569
569
  * @throws {RequiredError}
570
570
  */
@@ -582,7 +582,7 @@ var RemindersApiFp = function (configuration) {
582
582
  });
583
583
  },
584
584
  /**
585
- * This will mark a reminder as done.
585
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
586
586
  * @summary Create the reminder done
587
587
  * @param {string} code
588
588
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -603,7 +603,7 @@ var RemindersApiFp = function (configuration) {
603
603
  });
604
604
  },
605
605
  /**
606
- * This will patch a reminder.
606
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
607
607
  * @summary Update the reminder
608
608
  * @param {PatchReminderRequestDto} patchReminderRequestDto
609
609
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -634,7 +634,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
634
634
  var localVarFp = (0, exports.RemindersApiFp)(configuration);
635
635
  return {
636
636
  /**
637
- * This will create a reminder.
637
+ * This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
638
638
  * @summary Create the reminder
639
639
  * @param {CreateReminderRequestDto} createReminderRequestDto
640
640
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -645,7 +645,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
645
645
  return localVarFp.createReminder(createReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
646
646
  },
647
647
  /**
648
- * This will delete a reminder.
648
+ * This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
649
649
  * @summary Delete the reminder
650
650
  * @param {string} code Unique identifier for the object.
651
651
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -656,7 +656,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
656
656
  return localVarFp.deleteReminder(code, authorization, options).then(function (request) { return request(axios, basePath); });
657
657
  },
658
658
  /**
659
- * This will get a reminder by code.
659
+ * This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
660
660
  * @summary Retrieve the reminder
661
661
  * @param {string} code Unique identifier for the object.
662
662
  * @param {string} expand
@@ -668,7 +668,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
668
668
  return localVarFp.getReminder(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
669
669
  },
670
670
  /**
671
- * This will get reminder counts by status.
671
+ * This will get reminder counts by status. **Required Permissions** \"task-management.tasks.view\"
672
672
  * @summary Retrieve the reminder counts
673
673
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
674
674
  * @param {*} [options] Override http request option.
@@ -678,16 +678,16 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
678
678
  return localVarFp.getReminderCounts(authorization, options).then(function (request) { return request(axios, basePath); });
679
679
  },
680
680
  /**
681
- * Retrieves a list of reminders.
681
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
682
682
  * @summary List reminders
683
683
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
684
684
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
685
685
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=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>
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, status, userSub, entityNumber, 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: code, title, description, entityCode, entityNumber, userSub, userName</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, status</i>
689
689
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<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>
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, status, userSub, entityNumber, dueAt, createdAt</i>
691
691
  * @param {*} [options] Override http request option.
692
692
  * @throws {RequiredError}
693
693
  */
@@ -695,7 +695,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
695
695
  return localVarFp.listReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
696
696
  },
697
697
  /**
698
- * This will mark a reminder as done.
698
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
699
699
  * @summary Create the reminder done
700
700
  * @param {string} code
701
701
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -706,7 +706,7 @@ var RemindersApiFactory = function (configuration, basePath, axios) {
706
706
  return localVarFp.markReminderDone(code, authorization, options).then(function (request) { return request(axios, basePath); });
707
707
  },
708
708
  /**
709
- * This will patch a reminder.
709
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
710
710
  * @summary Update the reminder
711
711
  * @param {PatchReminderRequestDto} patchReminderRequestDto
712
712
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -731,7 +731,7 @@ var RemindersApi = /** @class */ (function (_super) {
731
731
  return _super !== null && _super.apply(this, arguments) || this;
732
732
  }
733
733
  /**
734
- * This will create a reminder.
734
+ * This will create a reminder. **Required Permissions** \"task-management.tasks.create\"
735
735
  * @summary Create the reminder
736
736
  * @param {RemindersApiCreateReminderRequest} requestParameters Request parameters.
737
737
  * @param {*} [options] Override http request option.
@@ -743,7 +743,7 @@ var RemindersApi = /** @class */ (function (_super) {
743
743
  return (0, exports.RemindersApiFp)(this.configuration).createReminder(requestParameters.createReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
744
744
  };
745
745
  /**
746
- * This will delete a reminder.
746
+ * This will delete a reminder. **Required Permissions** \"task-management.tasks.delete\"
747
747
  * @summary Delete the reminder
748
748
  * @param {RemindersApiDeleteReminderRequest} requestParameters Request parameters.
749
749
  * @param {*} [options] Override http request option.
@@ -755,7 +755,7 @@ var RemindersApi = /** @class */ (function (_super) {
755
755
  return (0, exports.RemindersApiFp)(this.configuration).deleteReminder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
756
756
  };
757
757
  /**
758
- * This will get a reminder by code.
758
+ * This will get a reminder by code. **Required Permissions** \"task-management.tasks.view\"
759
759
  * @summary Retrieve the reminder
760
760
  * @param {RemindersApiGetReminderRequest} requestParameters Request parameters.
761
761
  * @param {*} [options] Override http request option.
@@ -767,7 +767,7 @@ var RemindersApi = /** @class */ (function (_super) {
767
767
  return (0, exports.RemindersApiFp)(this.configuration).getReminder(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
768
768
  };
769
769
  /**
770
- * This will get reminder counts by status.
770
+ * This will get reminder counts by status. **Required Permissions** \"task-management.tasks.view\"
771
771
  * @summary Retrieve the reminder counts
772
772
  * @param {RemindersApiGetReminderCountsRequest} requestParameters Request parameters.
773
773
  * @param {*} [options] Override http request option.
@@ -780,7 +780,7 @@ var RemindersApi = /** @class */ (function (_super) {
780
780
  return (0, exports.RemindersApiFp)(this.configuration).getReminderCounts(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
781
781
  };
782
782
  /**
783
- * Retrieves a list of reminders.
783
+ * Retrieves a list of reminders. **Required Permissions** \"task-management.tasks.view\"
784
784
  * @summary List reminders
785
785
  * @param {RemindersApiListRemindersRequest} requestParameters Request parameters.
786
786
  * @param {*} [options] Override http request option.
@@ -793,7 +793,7 @@ var RemindersApi = /** @class */ (function (_super) {
793
793
  return (0, exports.RemindersApiFp)(this.configuration).listReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
794
794
  };
795
795
  /**
796
- * This will mark a reminder as done.
796
+ * This will mark a reminder as done. **Required Permissions** \"task-management.tasks.update\"
797
797
  * @summary Create the reminder done
798
798
  * @param {RemindersApiMarkReminderDoneRequest} requestParameters Request parameters.
799
799
  * @param {*} [options] Override http request option.
@@ -805,7 +805,7 @@ var RemindersApi = /** @class */ (function (_super) {
805
805
  return (0, exports.RemindersApiFp)(this.configuration).markReminderDone(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
806
806
  };
807
807
  /**
808
- * This will patch a reminder.
808
+ * This will patch a reminder. **Required Permissions** \"task-management.tasks.update\"
809
809
  * @summary Update the reminder
810
810
  * @param {RemindersApiPatchReminderRequest} requestParameters Request parameters.
811
811
  * @param {*} [options] Override http request option.