🚀New lib version [CI SKIP]

This commit is contained in:
2023-02-02 09:42:58 +00:00
parent b3676087f2
commit fa42e1085f
220 changed files with 551 additions and 554 deletions

View File

@@ -6,11 +6,11 @@ class GroupContactService {
/**
* Get all
* Lists all contacts. <br> This includes the contact's associated groups.
* @returns ResponseGroupContact
* @result ResponseGroupContact
* @throws ApiError
*/
static async groupContactControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/contacts`,
});
@@ -20,11 +20,11 @@ class GroupContactService {
* Post
* Create a new contact.
* @param requestBody CreateGroupContact
* @returns ResponseGroupContact
* @result ResponseGroupContact
* @throws ApiError
*/
static async groupContactControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/contacts`,
body: requestBody,
@@ -35,11 +35,11 @@ class GroupContactService {
* Get one
* Lists all information about the contact whose id got provided. <br> This includes the contact's associated groups.
* @param id
* @returns ResponseGroupContact
* @result ResponseGroupContact
* @throws ApiError
*/
static async groupContactControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/contacts/${id}`,
});
@@ -50,11 +50,11 @@ class GroupContactService {
* Update the contact whose id you provided. <br> Please remember that ids can't be changed.
* @param id
* @param requestBody UpdateGroupContact
* @returns ResponseGroupContact
* @result ResponseGroupContact
* @throws ApiError
*/
static async groupContactControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/contacts/${id}`,
body: requestBody,
@@ -66,12 +66,12 @@ class GroupContactService {
* Delete the contact whose id you provided. <br> If no contact with this id exists it will just return 204(no content). <br> This won't delete any groups associated with the contact.
* @param id
* @param force
* @returns ResponseGroupContact
* @returns ResponseEmpty
* @result ResponseGroupContact
* @result ResponseEmpty
* @throws ApiError
*/
static async groupContactControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/contacts/${id}`,
query: {