export interface FullResponse<T, U extends number> {
  'statusCode': U;
  'headers': object;
  'body': T;
}

export type GetV1FileUploadRequest = {
  'key': string;
  'mimeType': string;
  'partCount': number;
  'x-token'?: string;
  'file-size'?: number;
}

export type GetV1FileUploadResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FileUploadResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FileUploadResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FileUploadResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FileUploadResponses =
  GetV1FileUploadResponseOK
  | GetV1FileUploadResponseBadRequest
  | GetV1FileUploadResponseNotFound
  | GetV1FileUploadResponseInternalServerError

export type PostV1FileUploadMarkCompleteRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'fileName': string;
  'uploadId': string;
}

export type PostV1FileUploadMarkCompleteResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1FileUploadMarkCompleteResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FileUploadMarkCompleteResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FileUploadMarkCompleteResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FileUploadMarkCompleteResponses =
  PostV1FileUploadMarkCompleteResponseOK
  | PostV1FileUploadMarkCompleteResponseBadRequest
  | PostV1FileUploadMarkCompleteResponseNotFound
  | PostV1FileUploadMarkCompleteResponseInternalServerError

export type GetV1UserActivityRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1UserActivityResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1UserActivityResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1UserActivityResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1UserActivityResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1UserActivityResponses =
  GetV1UserActivityResponseOK
  | GetV1UserActivityResponseBadRequest
  | GetV1UserActivityResponseNotFound
  | GetV1UserActivityResponseInternalServerError

export type PostV1UserActivityRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'module': string;
  'resource': string;
  'user_id': string;
  'action': string;
  'user_agent': string;
  'data'?: object;
  'metadata'?: object;
}

export type PostV1UserActivityResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1UserActivityResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1UserActivityResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1UserActivityResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1UserActivityResponses =
  PostV1UserActivityResponseOK
  | PostV1UserActivityResponseBadRequest
  | PostV1UserActivityResponseNotFound
  | PostV1UserActivityResponseInternalServerError

export type PostV1FormBuilderRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type PostV1FormBuilderResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1FormBuilderResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FormBuilderResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FormBuilderResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FormBuilderResponses =
  PostV1FormBuilderResponseOK
  | PostV1FormBuilderResponseBadRequest
  | PostV1FormBuilderResponseNotFound
  | PostV1FormBuilderResponseInternalServerError

export type GetV1FormBuilderRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1FormBuilderResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FormBuilderResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderResponses =
  GetV1FormBuilderResponseOK
  | GetV1FormBuilderResponseBadRequest
  | GetV1FormBuilderResponseNotFound
  | GetV1FormBuilderResponseInternalServerError

export type GetV1FormBuilderIdRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1FormBuilderIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FormBuilderIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderIdResponses =
  GetV1FormBuilderIdResponseOK
  | GetV1FormBuilderIdResponseBadRequest
  | GetV1FormBuilderIdResponseNotFound
  | GetV1FormBuilderIdResponseInternalServerError

export type PatchV1FormBuilderIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type PatchV1FormBuilderIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1FormBuilderIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1FormBuilderIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1FormBuilderIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1FormBuilderIdResponses =
  PatchV1FormBuilderIdResponseOK
  | PatchV1FormBuilderIdResponseBadRequest
  | PatchV1FormBuilderIdResponseNotFound
  | PatchV1FormBuilderIdResponseInternalServerError

export type GetV1FormBuilderFieldsIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1FormBuilderFieldsIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FormBuilderFieldsIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderFieldsIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderFieldsIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderFieldsIdResponses =
  GetV1FormBuilderFieldsIdResponseOK
  | GetV1FormBuilderFieldsIdResponseBadRequest
  | GetV1FormBuilderFieldsIdResponseNotFound
  | GetV1FormBuilderFieldsIdResponseInternalServerError

export type GetV1FormBuilderSchemaFieldsNameRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'name': string;
}

export type GetV1FormBuilderSchemaFieldsNameResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FormBuilderSchemaFieldsNameResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderSchemaFieldsNameResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderSchemaFieldsNameResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderSchemaFieldsNameResponses =
  GetV1FormBuilderSchemaFieldsNameResponseOK
  | GetV1FormBuilderSchemaFieldsNameResponseBadRequest
  | GetV1FormBuilderSchemaFieldsNameResponseNotFound
  | GetV1FormBuilderSchemaFieldsNameResponseInternalServerError

export type GetV1FormBuilderRelationalSchemaFieldsNameRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'name': string;
}

export type GetV1FormBuilderRelationalSchemaFieldsNameResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FormBuilderRelationalSchemaFieldsNameResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderRelationalSchemaFieldsNameResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderRelationalSchemaFieldsNameResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FormBuilderRelationalSchemaFieldsNameResponses =
  GetV1FormBuilderRelationalSchemaFieldsNameResponseOK
  | GetV1FormBuilderRelationalSchemaFieldsNameResponseBadRequest
  | GetV1FormBuilderRelationalSchemaFieldsNameResponseNotFound
  | GetV1FormBuilderRelationalSchemaFieldsNameResponseInternalServerError

export type GetV1FilterResourceRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'resource': string;
}

export type GetV1FilterResourceResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FilterResourceResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FilterResourceResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FilterResourceResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FilterResourceResponses =
  GetV1FilterResourceResponseOK
  | GetV1FilterResourceResponseBadRequest
  | GetV1FilterResourceResponseNotFound
  | GetV1FilterResourceResponseInternalServerError

export type GetV1FilterFilterTableRequest = {
  'offset'?: number;
  'limit'?: number;
  'search'?: string;
  'table'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1FilterFilterTableResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1FilterFilterTableResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FilterFilterTableResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FilterFilterTableResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1FilterFilterTableResponses =
  GetV1FilterFilterTableResponseOK
  | GetV1FilterFilterTableResponseBadRequest
  | GetV1FilterFilterTableResponseNotFound
  | GetV1FilterFilterTableResponseInternalServerError

export type PostV1FilterRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type PostV1FilterResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1FilterResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FilterResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FilterResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1FilterResponses =
  PostV1FilterResponseOK
  | PostV1FilterResponseBadRequest
  | PostV1FilterResponseNotFound
  | PostV1FilterResponseInternalServerError

export type PutV1FilterIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'name': string;
}

export type PutV1FilterIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PutV1FilterIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1FilterIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1FilterIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1FilterIdResponses =
  PutV1FilterIdResponseOK
  | PutV1FilterIdResponseBadRequest
  | PutV1FilterIdResponseNotFound
  | PutV1FilterIdResponseInternalServerError

export type DeleteV1FilterIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type DeleteV1FilterIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type DeleteV1FilterIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1FilterIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1FilterIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1FilterIdResponses =
  DeleteV1FilterIdResponseOK
  | DeleteV1FilterIdResponseBadRequest
  | DeleteV1FilterIdResponseNotFound
  | DeleteV1FilterIdResponseInternalServerError

export type GetV1DashboardRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1DashboardResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1DashboardResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardResponses =
  GetV1DashboardResponseOK
  | GetV1DashboardResponseBadRequest
  | GetV1DashboardResponseNotFound
  | GetV1DashboardResponseInternalServerError

export type PostV1DashboardRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'module': string;
  'user_id': string;
  'name': string;
  'grid_json'?: object;
}

export type PostV1DashboardResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1DashboardResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1DashboardResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1DashboardResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1DashboardResponses =
  PostV1DashboardResponseOK
  | PostV1DashboardResponseBadRequest
  | PostV1DashboardResponseNotFound
  | PostV1DashboardResponseInternalServerError

export type GetV1DashboardIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1DashboardIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1DashboardIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardIdResponses =
  GetV1DashboardIdResponseOK
  | GetV1DashboardIdResponseBadRequest
  | GetV1DashboardIdResponseNotFound
  | GetV1DashboardIdResponseInternalServerError

export type PutV1DashboardIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'module': string;
  'user_id': string;
  'name': string;
}

export type PutV1DashboardIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PutV1DashboardIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1DashboardIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1DashboardIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1DashboardIdResponses =
  PutV1DashboardIdResponseOK
  | PutV1DashboardIdResponseBadRequest
  | PutV1DashboardIdResponseNotFound
  | PutV1DashboardIdResponseInternalServerError

export type DeleteV1DashboardIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type DeleteV1DashboardIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type DeleteV1DashboardIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1DashboardIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1DashboardIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1DashboardIdResponses =
  DeleteV1DashboardIdResponseOK
  | DeleteV1DashboardIdResponseBadRequest
  | DeleteV1DashboardIdResponseNotFound
  | DeleteV1DashboardIdResponseInternalServerError

export type GetV1DashboardMetricsRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1DashboardMetricsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1DashboardMetricsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardMetricsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardMetricsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardMetricsResponses =
  GetV1DashboardMetricsResponseOK
  | GetV1DashboardMetricsResponseBadRequest
  | GetV1DashboardMetricsResponseNotFound
  | GetV1DashboardMetricsResponseInternalServerError

export type GetV1DashboardRecentRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1DashboardRecentResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1DashboardRecentResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardRecentResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardRecentResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1DashboardRecentResponses =
  GetV1DashboardRecentResponseOK
  | GetV1DashboardRecentResponseBadRequest
  | GetV1DashboardRecentResponseNotFound
  | GetV1DashboardRecentResponseInternalServerError

export type GetV1PagesResourceRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'resource': string;
}

export type GetV1PagesResourceResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1PagesResourceResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1PagesResourceResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1PagesResourceResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1PagesResourceResponses =
  GetV1PagesResourceResponseOK
  | GetV1PagesResourceResponseBadRequest
  | GetV1PagesResourceResponseNotFound
  | GetV1PagesResourceResponseInternalServerError

export type PatchV1PagesPageIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'page_id': string;
}

export type PatchV1PagesPageIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1PagesPageIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1PagesPageIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1PagesPageIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1PagesPageIdResponses =
  PatchV1PagesPageIdResponseOK
  | PatchV1PagesPageIdResponseBadRequest
  | PatchV1PagesPageIdResponseNotFound
  | PatchV1PagesPageIdResponseInternalServerError

export type PostV1PagesShareRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type PostV1PagesShareResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1PagesShareResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1PagesShareResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1PagesShareResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1PagesShareResponses =
  PostV1PagesShareResponseOK
  | PostV1PagesShareResponseBadRequest
  | PostV1PagesShareResponseNotFound
  | PostV1PagesShareResponseInternalServerError

export type GetV1PagesUserListRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1PagesUserListResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1PagesUserListResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1PagesUserListResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1PagesUserListResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1PagesUserListResponses =
  GetV1PagesUserListResponseOK
  | GetV1PagesUserListResponseBadRequest
  | GetV1PagesUserListResponseNotFound
  | GetV1PagesUserListResponseInternalServerError

export type PostV1WorkflowAutomationRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'company_id': number;
  'name': string;
  'workflow_triggers': Array<{ 'type': string; 'name': string; 'status_from'?: string; 'status_to'?: string; 'workflow_actions': Array<{ 'type': string; 'name': string; 'status_from'?: string; 'status_to'?: string; 'subject'?: string; 'content'?: string; 'mail'?: string }> }>;
}

export type PostV1WorkflowAutomationResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1WorkflowAutomationResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowAutomationResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowAutomationResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowAutomationResponses =
  PostV1WorkflowAutomationResponseOK
  | PostV1WorkflowAutomationResponseBadRequest
  | PostV1WorkflowAutomationResponseNotFound
  | PostV1WorkflowAutomationResponseInternalServerError

export type GetV1WorkflowAutomationRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1WorkflowAutomationResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1WorkflowAutomationResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationResponses =
  GetV1WorkflowAutomationResponseOK
  | GetV1WorkflowAutomationResponseBadRequest
  | GetV1WorkflowAutomationResponseNotFound
  | GetV1WorkflowAutomationResponseInternalServerError

export type GetV1WorkflowAutomationIdRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1WorkflowAutomationIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1WorkflowAutomationIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationIdResponses =
  GetV1WorkflowAutomationIdResponseOK
  | GetV1WorkflowAutomationIdResponseBadRequest
  | GetV1WorkflowAutomationIdResponseNotFound
  | GetV1WorkflowAutomationIdResponseInternalServerError

export type PutV1WorkflowAutomationIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type PutV1WorkflowAutomationIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PutV1WorkflowAutomationIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowAutomationIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowAutomationIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowAutomationIdResponses =
  PutV1WorkflowAutomationIdResponseOK
  | PutV1WorkflowAutomationIdResponseBadRequest
  | PutV1WorkflowAutomationIdResponseNotFound
  | PutV1WorkflowAutomationIdResponseInternalServerError

export type DeleteV1WorkflowAutomationIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type DeleteV1WorkflowAutomationIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type DeleteV1WorkflowAutomationIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowAutomationIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowAutomationIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowAutomationIdResponses =
  DeleteV1WorkflowAutomationIdResponseOK
  | DeleteV1WorkflowAutomationIdResponseBadRequest
  | DeleteV1WorkflowAutomationIdResponseNotFound
  | DeleteV1WorkflowAutomationIdResponseInternalServerError

export type GetV1WorkflowAutomationTemplatesRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1WorkflowAutomationTemplatesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1WorkflowAutomationTemplatesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationTemplatesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationTemplatesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowAutomationTemplatesResponses =
  GetV1WorkflowAutomationTemplatesResponseOK
  | GetV1WorkflowAutomationTemplatesResponseBadRequest
  | GetV1WorkflowAutomationTemplatesResponseNotFound
  | GetV1WorkflowAutomationTemplatesResponseInternalServerError

export type PatchV1WorkflowAutomationStatusIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type PatchV1WorkflowAutomationStatusIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1WorkflowAutomationStatusIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1WorkflowAutomationStatusIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1WorkflowAutomationStatusIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1WorkflowAutomationStatusIdResponses =
  PatchV1WorkflowAutomationStatusIdResponseOK
  | PatchV1WorkflowAutomationStatusIdResponseBadRequest
  | PatchV1WorkflowAutomationStatusIdResponseNotFound
  | PatchV1WorkflowAutomationStatusIdResponseInternalServerError

export type PostV1WorkflowAutomationPlayIdRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type PostV1WorkflowAutomationPlayIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1WorkflowAutomationPlayIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowAutomationPlayIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowAutomationPlayIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowAutomationPlayIdResponses =
  PostV1WorkflowAutomationPlayIdResponseOK
  | PostV1WorkflowAutomationPlayIdResponseBadRequest
  | PostV1WorkflowAutomationPlayIdResponseNotFound
  | PostV1WorkflowAutomationPlayIdResponseInternalServerError

export type GetV1LanguagesRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1LanguagesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1LanguagesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesResponses =
  GetV1LanguagesResponseOK
  | GetV1LanguagesResponseBadRequest
  | GetV1LanguagesResponseNotFound
  | GetV1LanguagesResponseInternalServerError

export type PostV1LanguagesRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'name': string;
  'code': string;
  'direction': string | null;
  'is_active'?: boolean;
  'iso_code'?: string;
}

export type PostV1LanguagesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1LanguagesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesResponses =
  PostV1LanguagesResponseOK
  | PostV1LanguagesResponseBadRequest
  | PostV1LanguagesResponseNotFound
  | PostV1LanguagesResponseInternalServerError

export type GetV1LanguagesIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1LanguagesIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1LanguagesIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesIdResponses =
  GetV1LanguagesIdResponseOK
  | GetV1LanguagesIdResponseBadRequest
  | GetV1LanguagesIdResponseNotFound
  | GetV1LanguagesIdResponseInternalServerError

export type PutV1LanguagesIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'name': string;
  'code': string;
  'direction': string | null;
  'is_active'?: boolean;
  'iso_code'?: string;
}

export type PutV1LanguagesIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PutV1LanguagesIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1LanguagesIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1LanguagesIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1LanguagesIdResponses =
  PutV1LanguagesIdResponseOK
  | PutV1LanguagesIdResponseBadRequest
  | PutV1LanguagesIdResponseNotFound
  | PutV1LanguagesIdResponseInternalServerError

export type DeleteV1LanguagesIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type DeleteV1LanguagesIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type DeleteV1LanguagesIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1LanguagesIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1LanguagesIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1LanguagesIdResponses =
  DeleteV1LanguagesIdResponseOK
  | DeleteV1LanguagesIdResponseBadRequest
  | DeleteV1LanguagesIdResponseNotFound
  | DeleteV1LanguagesIdResponseInternalServerError

export type GetV1LanguagesTranslationsGenerateExcelRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'Content-Type'?: string;
}

export type GetV1LanguagesTranslationsGenerateExcelResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1LanguagesTranslationsGenerateExcelResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesTranslationsGenerateExcelResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesTranslationsGenerateExcelResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesTranslationsGenerateExcelResponses =
  GetV1LanguagesTranslationsGenerateExcelResponseOK
  | GetV1LanguagesTranslationsGenerateExcelResponseBadRequest
  | GetV1LanguagesTranslationsGenerateExcelResponseNotFound
  | GetV1LanguagesTranslationsGenerateExcelResponseInternalServerError

export type PostV1LanguagesLangIdModuleTranslationsImportRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'langId': string;
  'module': string;
}

export type PostV1LanguagesLangIdModuleTranslationsImportResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1LanguagesLangIdModuleTranslationsImportResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesLangIdModuleTranslationsImportResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesLangIdModuleTranslationsImportResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesLangIdModuleTranslationsImportResponses =
  PostV1LanguagesLangIdModuleTranslationsImportResponseOK
  | PostV1LanguagesLangIdModuleTranslationsImportResponseBadRequest
  | PostV1LanguagesLangIdModuleTranslationsImportResponseNotFound
  | PostV1LanguagesLangIdModuleTranslationsImportResponseInternalServerError

export type GetV1LanguagesTranslationsRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1LanguagesTranslationsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1LanguagesTranslationsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesTranslationsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesTranslationsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesTranslationsResponses =
  GetV1LanguagesTranslationsResponseOK
  | GetV1LanguagesTranslationsResponseBadRequest
  | GetV1LanguagesTranslationsResponseNotFound
  | GetV1LanguagesTranslationsResponseInternalServerError

export type PostV1LanguagesTranslationsRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type PostV1LanguagesTranslationsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1LanguagesTranslationsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesTranslationsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesTranslationsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1LanguagesTranslationsResponses =
  PostV1LanguagesTranslationsResponseOK
  | PostV1LanguagesTranslationsResponseBadRequest
  | PostV1LanguagesTranslationsResponseNotFound
  | PostV1LanguagesTranslationsResponseInternalServerError

export type GetV1LanguagesModulesRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1LanguagesModulesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1LanguagesModulesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesModulesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesModulesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1LanguagesModulesResponses =
  GetV1LanguagesModulesResponseOK
  | GetV1LanguagesModulesResponseBadRequest
  | GetV1LanguagesModulesResponseNotFound
  | GetV1LanguagesModulesResponseInternalServerError

export type GetV1TemplatesRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'subject'?: string;
  'resource'?: string;
  'module'?: string;
  'company_id'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1TemplatesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1TemplatesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplatesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplatesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplatesResponses =
  GetV1TemplatesResponseOK
  | GetV1TemplatesResponseBadRequest
  | GetV1TemplatesResponseNotFound
  | GetV1TemplatesResponseInternalServerError

export type PostV1TemplatesRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'module'?: string | null;
  'resource'?: string | null;
  'subject_id': string;
  'sections': Array<{ 'id': string; 'content': string; 'type': string; 'isSplitPair'?: boolean | null; 'splitGroupId'?: string | null; 'splitWidth'?: string | null }>;
  'contents': string;
}

export type PostV1TemplatesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1TemplatesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1TemplatesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1TemplatesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1TemplatesResponses =
  PostV1TemplatesResponseOK
  | PostV1TemplatesResponseBadRequest
  | PostV1TemplatesResponseNotFound
  | PostV1TemplatesResponseInternalServerError

export type PatchV1TemplatesIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'module'?: string | null;
  'resource'?: string | null;
  'subject_id'?: string | null;
  'sections': Array<{ 'id': string; 'content': string; 'type': string; 'isSplitPair'?: boolean | null; 'splitGroupId'?: string | null; 'splitWidth'?: string | null }>;
  'contents': string;
}

export type PatchV1TemplatesIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1TemplatesIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplatesIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplatesIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplatesIdResponses =
  PatchV1TemplatesIdResponseOK
  | PatchV1TemplatesIdResponseBadRequest
  | PatchV1TemplatesIdResponseNotFound
  | PatchV1TemplatesIdResponseInternalServerError

export type DeleteV1TemplatesIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type DeleteV1TemplatesIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type DeleteV1TemplatesIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1TemplatesIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1TemplatesIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1TemplatesIdResponses =
  DeleteV1TemplatesIdResponseOK
  | DeleteV1TemplatesIdResponseBadRequest
  | DeleteV1TemplatesIdResponseNotFound
  | DeleteV1TemplatesIdResponseInternalServerError

export type GetV1TemplatesIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1TemplatesIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1TemplatesIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplatesIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplatesIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplatesIdResponses =
  GetV1TemplatesIdResponseOK
  | GetV1TemplatesIdResponseBadRequest
  | GetV1TemplatesIdResponseNotFound
  | GetV1TemplatesIdResponseInternalServerError

export type PatchV1TemplatesIdSetDefaultRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type PatchV1TemplatesIdSetDefaultResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1TemplatesIdSetDefaultResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplatesIdSetDefaultResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplatesIdSetDefaultResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplatesIdSetDefaultResponses =
  PatchV1TemplatesIdSetDefaultResponseOK
  | PatchV1TemplatesIdSetDefaultResponseBadRequest
  | PatchV1TemplatesIdSetDefaultResponseNotFound
  | PatchV1TemplatesIdSetDefaultResponseInternalServerError

export type GetV1SubjectsRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1SubjectsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1SubjectsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1SubjectsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1SubjectsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1SubjectsResponses =
  GetV1SubjectsResponseOK
  | GetV1SubjectsResponseBadRequest
  | GetV1SubjectsResponseNotFound
  | GetV1SubjectsResponseInternalServerError

export type PostV1SubjectsRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'module': string;
  'resource': string;
  'type': 'email' | 'pdf' | 'approval_email';
  'subject': string;
}

export type PostV1SubjectsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1SubjectsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1SubjectsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1SubjectsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1SubjectsResponses =
  PostV1SubjectsResponseOK
  | PostV1SubjectsResponseBadRequest
  | PostV1SubjectsResponseNotFound
  | PostV1SubjectsResponseInternalServerError

export type PatchV1SubjectsIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'module': string;
  'resource': string;
  'type': 'email' | 'pdf' | 'approval_email';
  'subject': string;
}

export type PatchV1SubjectsIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1SubjectsIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1SubjectsIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1SubjectsIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1SubjectsIdResponses =
  PatchV1SubjectsIdResponseOK
  | PatchV1SubjectsIdResponseBadRequest
  | PatchV1SubjectsIdResponseNotFound
  | PatchV1SubjectsIdResponseInternalServerError

export type GetV1SubjectsIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1SubjectsIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1SubjectsIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1SubjectsIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1SubjectsIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1SubjectsIdResponses =
  GetV1SubjectsIdResponseOK
  | GetV1SubjectsIdResponseBadRequest
  | GetV1SubjectsIdResponseNotFound
  | GetV1SubjectsIdResponseInternalServerError

export type GetV1TemplateHeaderFooterRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'company_id'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1TemplateHeaderFooterResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1TemplateHeaderFooterResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterResponses =
  GetV1TemplateHeaderFooterResponseOK
  | GetV1TemplateHeaderFooterResponseBadRequest
  | GetV1TemplateHeaderFooterResponseNotFound
  | GetV1TemplateHeaderFooterResponseInternalServerError

export type PostV1TemplateHeaderFooterRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'company_id': number;
  'header_sections': Array<{ 'id': string; 'content': string; 'type': string; 'isSplitPair'?: boolean | null; 'splitGroupId'?: string | null; 'splitWidth'?: string | null }>;
  'footer_sections': Array<{ 'id': string; 'content': string; 'type': string; 'isSplitPair'?: boolean | null; 'splitGroupId'?: string | null; 'splitWidth'?: string | null }>;
  'contents': string;
}

export type PostV1TemplateHeaderFooterResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1TemplateHeaderFooterResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1TemplateHeaderFooterResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1TemplateHeaderFooterResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1TemplateHeaderFooterResponses =
  PostV1TemplateHeaderFooterResponseOK
  | PostV1TemplateHeaderFooterResponseBadRequest
  | PostV1TemplateHeaderFooterResponseNotFound
  | PostV1TemplateHeaderFooterResponseInternalServerError

export type PatchV1TemplateHeaderFooterIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'company_id'?: number | null;
  'header_sections': Array<{ 'id': string; 'content': string; 'type': string; 'isSplitPair'?: boolean | null; 'splitGroupId'?: string | null; 'splitWidth'?: string | null }>;
  'footer_sections': Array<{ 'id': string; 'content': string; 'type': string; 'isSplitPair'?: boolean | null; 'splitGroupId'?: string | null; 'splitWidth'?: string | null }>;
  'contents': string;
}

export type PatchV1TemplateHeaderFooterIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1TemplateHeaderFooterIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplateHeaderFooterIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplateHeaderFooterIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1TemplateHeaderFooterIdResponses =
  PatchV1TemplateHeaderFooterIdResponseOK
  | PatchV1TemplateHeaderFooterIdResponseBadRequest
  | PatchV1TemplateHeaderFooterIdResponseNotFound
  | PatchV1TemplateHeaderFooterIdResponseInternalServerError

export type GetV1TemplateHeaderFooterIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type GetV1TemplateHeaderFooterIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1TemplateHeaderFooterIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterIdResponses =
  GetV1TemplateHeaderFooterIdResponseOK
  | GetV1TemplateHeaderFooterIdResponseBadRequest
  | GetV1TemplateHeaderFooterIdResponseNotFound
  | GetV1TemplateHeaderFooterIdResponseInternalServerError

export type GetV1TemplateHeaderFooterCompanyIdHeaderFooterRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'company_id': string;
}

export type GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponses =
  GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseOK
  | GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseBadRequest
  | GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseNotFound
  | GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponseInternalServerError

export type GetV1NotificationRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1NotificationResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1NotificationResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1NotificationResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1NotificationResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1NotificationResponses =
  GetV1NotificationResponseOK
  | GetV1NotificationResponseBadRequest
  | GetV1NotificationResponseNotFound
  | GetV1NotificationResponseInternalServerError

export type PatchV1NotificationMarkAsReadIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type PatchV1NotificationMarkAsReadIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PatchV1NotificationMarkAsReadIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1NotificationMarkAsReadIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1NotificationMarkAsReadIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PatchV1NotificationMarkAsReadIdResponses =
  PatchV1NotificationMarkAsReadIdResponseOK
  | PatchV1NotificationMarkAsReadIdResponseBadRequest
  | PatchV1NotificationMarkAsReadIdResponseNotFound
  | PatchV1NotificationMarkAsReadIdResponseInternalServerError

export type GetV1NotificationMarkAllAsReadRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1NotificationMarkAllAsReadResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1NotificationMarkAllAsReadResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1NotificationMarkAllAsReadResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1NotificationMarkAllAsReadResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1NotificationMarkAllAsReadResponses =
  GetV1NotificationMarkAllAsReadResponseOK
  | GetV1NotificationMarkAllAsReadResponseBadRequest
  | GetV1NotificationMarkAllAsReadResponseNotFound
  | GetV1NotificationMarkAllAsReadResponseInternalServerError

export type PostV1ReportsScheduleReportRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'name': string;
  'subject'?: string;
  'schedule_date': string | Date;
  'schedule_time': string;
  'emails': string;
  'is_recurring'?: boolean;
  'autopost'?: 'Day' | 'Week' | 'Month' | '3 month' | '6 month' | '1 Year';
  'filters'?: object;
  'type'?: string | null;
}

export type PostV1ReportsScheduleReportResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PostV1ReportsScheduleReportResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1ReportsScheduleReportResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1ReportsScheduleReportResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1ReportsScheduleReportResponses =
  PostV1ReportsScheduleReportResponseOK
  | PostV1ReportsScheduleReportResponseBadRequest
  | PostV1ReportsScheduleReportResponseNotFound
  | PostV1ReportsScheduleReportResponseInternalServerError

export type GetV1ReportsScheduleReportRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1ReportsScheduleReportResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1ReportsScheduleReportResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsScheduleReportResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsScheduleReportResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsScheduleReportResponses =
  GetV1ReportsScheduleReportResponseOK
  | GetV1ReportsScheduleReportResponseBadRequest
  | GetV1ReportsScheduleReportResponseNotFound
  | GetV1ReportsScheduleReportResponseInternalServerError

export type PutV1ReportsUpdateScheduleReportIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
  'name': string;
  'subject'?: string;
  'schedule_date': string | Date;
  'schedule_time': string;
  'emails': string;
  'is_recurring'?: boolean;
  'autopost'?: 'Day' | 'Week' | 'Month' | '3 month' | '6 month' | '1 Year';
  'filters'?: object;
  'type'?: string | null;
}

export type PutV1ReportsUpdateScheduleReportIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type PutV1ReportsUpdateScheduleReportIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1ReportsUpdateScheduleReportIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1ReportsUpdateScheduleReportIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1ReportsUpdateScheduleReportIdResponses =
  PutV1ReportsUpdateScheduleReportIdResponseOK
  | PutV1ReportsUpdateScheduleReportIdResponseBadRequest
  | PutV1ReportsUpdateScheduleReportIdResponseNotFound
  | PutV1ReportsUpdateScheduleReportIdResponseInternalServerError

export type DeleteV1ReportsScheduleReportIdRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'id': string;
}

export type DeleteV1ReportsScheduleReportIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type DeleteV1ReportsScheduleReportIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1ReportsScheduleReportIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1ReportsScheduleReportIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1ReportsScheduleReportIdResponses =
  DeleteV1ReportsScheduleReportIdResponseOK
  | DeleteV1ReportsScheduleReportIdResponseBadRequest
  | DeleteV1ReportsScheduleReportIdResponseNotFound
  | DeleteV1ReportsScheduleReportIdResponseInternalServerError

export type GetV1ReportsReportIdScheduleReportRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
  'report_id': string;
}

export type GetV1ReportsReportIdScheduleReportResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1ReportsReportIdScheduleReportResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsReportIdScheduleReportResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsReportIdScheduleReportResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsReportIdScheduleReportResponses =
  GetV1ReportsReportIdScheduleReportResponseOK
  | GetV1ReportsReportIdScheduleReportResponseBadRequest
  | GetV1ReportsReportIdScheduleReportResponseNotFound
  | GetV1ReportsReportIdScheduleReportResponseInternalServerError

export type GetV1ReportsReportListRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1ReportsReportListResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': unknown;
  'pagination': unknown;
}
export type GetV1ReportsReportListResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsReportListResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsReportListResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1ReportsReportListResponses =
  GetV1ReportsReportListResponseOK
  | GetV1ReportsReportListResponseBadRequest
  | GetV1ReportsReportListResponseNotFound
  | GetV1ReportsReportListResponseInternalServerError



export interface Api {
  setBaseUrl(newUrl: string) : void;
  setDefaultHeaders(headers: Object) : void;
  getV1FileUpload(req?: GetV1FileUploadRequest): Promise<GetV1FileUploadResponses>;
  postV1FileUploadMarkComplete(req?: PostV1FileUploadMarkCompleteRequest): Promise<PostV1FileUploadMarkCompleteResponses>;
  getV1UserActivity(req?: GetV1UserActivityRequest): Promise<GetV1UserActivityResponses>;
  postV1UserActivity(req?: PostV1UserActivityRequest): Promise<PostV1UserActivityResponses>;
  postV1FormBuilder(req?: PostV1FormBuilderRequest): Promise<PostV1FormBuilderResponses>;
  getV1FormBuilder(req?: GetV1FormBuilderRequest): Promise<GetV1FormBuilderResponses>;
  getV1FormBuilderId(req?: GetV1FormBuilderIdRequest): Promise<GetV1FormBuilderIdResponses>;
  patchV1FormBuilderId(req?: PatchV1FormBuilderIdRequest): Promise<PatchV1FormBuilderIdResponses>;
  getV1FormBuilderFieldsId(req?: GetV1FormBuilderFieldsIdRequest): Promise<GetV1FormBuilderFieldsIdResponses>;
  getV1FormBuilderSchemaFieldsName(req?: GetV1FormBuilderSchemaFieldsNameRequest): Promise<GetV1FormBuilderSchemaFieldsNameResponses>;
  getV1FormBuilderRelationalSchemaFieldsName(req?: GetV1FormBuilderRelationalSchemaFieldsNameRequest): Promise<GetV1FormBuilderRelationalSchemaFieldsNameResponses>;
  getV1FilterResource(req?: GetV1FilterResourceRequest): Promise<GetV1FilterResourceResponses>;
  getV1FilterFilterTable(req?: GetV1FilterFilterTableRequest): Promise<GetV1FilterFilterTableResponses>;
  postV1Filter(req?: PostV1FilterRequest): Promise<PostV1FilterResponses>;
  putV1FilterId(req?: PutV1FilterIdRequest): Promise<PutV1FilterIdResponses>;
  deleteV1FilterId(req?: DeleteV1FilterIdRequest): Promise<DeleteV1FilterIdResponses>;
  getV1Dashboard(req?: GetV1DashboardRequest): Promise<GetV1DashboardResponses>;
  postV1Dashboard(req?: PostV1DashboardRequest): Promise<PostV1DashboardResponses>;
  getV1DashboardId(req?: GetV1DashboardIdRequest): Promise<GetV1DashboardIdResponses>;
  putV1DashboardId(req?: PutV1DashboardIdRequest): Promise<PutV1DashboardIdResponses>;
  deleteV1DashboardId(req?: DeleteV1DashboardIdRequest): Promise<DeleteV1DashboardIdResponses>;
  getV1DashboardMetrics(req?: GetV1DashboardMetricsRequest): Promise<GetV1DashboardMetricsResponses>;
  getV1DashboardRecent(req?: GetV1DashboardRecentRequest): Promise<GetV1DashboardRecentResponses>;
  getV1PagesResource(req?: GetV1PagesResourceRequest): Promise<GetV1PagesResourceResponses>;
  patchV1PagesPageId(req?: PatchV1PagesPageIdRequest): Promise<PatchV1PagesPageIdResponses>;
  postV1PagesShare(req?: PostV1PagesShareRequest): Promise<PostV1PagesShareResponses>;
  getV1PagesUserList(req?: GetV1PagesUserListRequest): Promise<GetV1PagesUserListResponses>;
  postV1WorkflowAutomation(req?: PostV1WorkflowAutomationRequest): Promise<PostV1WorkflowAutomationResponses>;
  getV1WorkflowAutomation(req?: GetV1WorkflowAutomationRequest): Promise<GetV1WorkflowAutomationResponses>;
  getV1WorkflowAutomationId(req?: GetV1WorkflowAutomationIdRequest): Promise<GetV1WorkflowAutomationIdResponses>;
  putV1WorkflowAutomationId(req?: PutV1WorkflowAutomationIdRequest): Promise<PutV1WorkflowAutomationIdResponses>;
  deleteV1WorkflowAutomationId(req?: DeleteV1WorkflowAutomationIdRequest): Promise<DeleteV1WorkflowAutomationIdResponses>;
  getV1WorkflowAutomationTemplates(req?: GetV1WorkflowAutomationTemplatesRequest): Promise<GetV1WorkflowAutomationTemplatesResponses>;
  patchV1WorkflowAutomationStatusId(req?: PatchV1WorkflowAutomationStatusIdRequest): Promise<PatchV1WorkflowAutomationStatusIdResponses>;
  postV1WorkflowAutomationPlayId(req?: PostV1WorkflowAutomationPlayIdRequest): Promise<PostV1WorkflowAutomationPlayIdResponses>;
  getV1Languages(req?: GetV1LanguagesRequest): Promise<GetV1LanguagesResponses>;
  postV1Languages(req?: PostV1LanguagesRequest): Promise<PostV1LanguagesResponses>;
  getV1LanguagesId(req?: GetV1LanguagesIdRequest): Promise<GetV1LanguagesIdResponses>;
  putV1LanguagesId(req?: PutV1LanguagesIdRequest): Promise<PutV1LanguagesIdResponses>;
  deleteV1LanguagesId(req?: DeleteV1LanguagesIdRequest): Promise<DeleteV1LanguagesIdResponses>;
  getV1LanguagesTranslationsGenerateExcel(req?: GetV1LanguagesTranslationsGenerateExcelRequest): Promise<GetV1LanguagesTranslationsGenerateExcelResponses>;
  postV1LanguagesLangIdModuleTranslationsImport(req?: PostV1LanguagesLangIdModuleTranslationsImportRequest): Promise<PostV1LanguagesLangIdModuleTranslationsImportResponses>;
  getV1LanguagesTranslations(req?: GetV1LanguagesTranslationsRequest): Promise<GetV1LanguagesTranslationsResponses>;
  postV1LanguagesTranslations(req?: PostV1LanguagesTranslationsRequest): Promise<PostV1LanguagesTranslationsResponses>;
  getV1LanguagesModules(req?: GetV1LanguagesModulesRequest): Promise<GetV1LanguagesModulesResponses>;
  getV1Templates(req?: GetV1TemplatesRequest): Promise<GetV1TemplatesResponses>;
  postV1Templates(req?: PostV1TemplatesRequest): Promise<PostV1TemplatesResponses>;
  patchV1TemplatesId(req?: PatchV1TemplatesIdRequest): Promise<PatchV1TemplatesIdResponses>;
  deleteV1TemplatesId(req?: DeleteV1TemplatesIdRequest): Promise<DeleteV1TemplatesIdResponses>;
  getV1TemplatesId(req?: GetV1TemplatesIdRequest): Promise<GetV1TemplatesIdResponses>;
  patchV1TemplatesIdSetDefault(req?: PatchV1TemplatesIdSetDefaultRequest): Promise<PatchV1TemplatesIdSetDefaultResponses>;
  getV1Subjects(req?: GetV1SubjectsRequest): Promise<GetV1SubjectsResponses>;
  postV1Subjects(req?: PostV1SubjectsRequest): Promise<PostV1SubjectsResponses>;
  patchV1SubjectsId(req?: PatchV1SubjectsIdRequest): Promise<PatchV1SubjectsIdResponses>;
  getV1SubjectsId(req?: GetV1SubjectsIdRequest): Promise<GetV1SubjectsIdResponses>;
  getV1TemplateHeaderFooter(req?: GetV1TemplateHeaderFooterRequest): Promise<GetV1TemplateHeaderFooterResponses>;
  postV1TemplateHeaderFooter(req?: PostV1TemplateHeaderFooterRequest): Promise<PostV1TemplateHeaderFooterResponses>;
  patchV1TemplateHeaderFooterId(req?: PatchV1TemplateHeaderFooterIdRequest): Promise<PatchV1TemplateHeaderFooterIdResponses>;
  getV1TemplateHeaderFooterId(req?: GetV1TemplateHeaderFooterIdRequest): Promise<GetV1TemplateHeaderFooterIdResponses>;
  getV1TemplateHeaderFooterCompanyIdHeaderFooter(req?: GetV1TemplateHeaderFooterCompanyIdHeaderFooterRequest): Promise<GetV1TemplateHeaderFooterCompanyIdHeaderFooterResponses>;
  getV1Notification(req?: GetV1NotificationRequest): Promise<GetV1NotificationResponses>;
  patchV1NotificationMarkAsReadId(req?: PatchV1NotificationMarkAsReadIdRequest): Promise<PatchV1NotificationMarkAsReadIdResponses>;
  getV1NotificationMarkAllAsRead(req?: GetV1NotificationMarkAllAsReadRequest): Promise<GetV1NotificationMarkAllAsReadResponses>;
  postV1ReportsScheduleReport(req?: PostV1ReportsScheduleReportRequest): Promise<PostV1ReportsScheduleReportResponses>;
  getV1ReportsScheduleReport(req?: GetV1ReportsScheduleReportRequest): Promise<GetV1ReportsScheduleReportResponses>;
  putV1ReportsUpdateScheduleReportId(req?: PutV1ReportsUpdateScheduleReportIdRequest): Promise<PutV1ReportsUpdateScheduleReportIdResponses>;
  deleteV1ReportsScheduleReportId(req?: DeleteV1ReportsScheduleReportIdRequest): Promise<DeleteV1ReportsScheduleReportIdResponses>;
  getV1ReportsReportIdScheduleReport(req?: GetV1ReportsReportIdScheduleReportRequest): Promise<GetV1ReportsReportIdScheduleReportResponses>;
  getV1ReportsReportList(req?: GetV1ReportsReportListRequest): Promise<GetV1ReportsReportListResponses>;
}
type PlatformaticFrontendClient = Omit<Api, 'setBaseUrl'>
type BuildOptions = {
  headers?: Object
}
export default function build(url: string, options?: BuildOptions): PlatformaticFrontendClient
