Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@avst-api/jira7-server

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avst-api/jira7-server - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

8

builder/errorStrategy.d.ts
import { ErrorStrategyHandlers, AtlassianErrorResponse } from '../handled-api/common';
import { BadRequestError, AnythingButUndefined, UnauthorizedError, ForbiddenError, NotFoundError, TooManyRequestsError, ServerError, HttpError, RequestValidationError, UnexpectedError } from '@avst-api/commons';
import { BadRequestError, AnythingButUndefined, UnauthorizedError, ForbiddenError, NotFoundError, TooManyRequestsError, ServerError, HttpError, UnexpectedError } from '@avst-api/commons';
export declare class ErrorStrategyBuilder {

@@ -36,6 +36,2 @@ private options;

/**
* Error handler for invalid request payload. Return the value you whish to continue with, or return 'retry()' for retrying the request, or return 'continuePropagation()' for allowing the error to propagate.
*/
requestValidationError(handler: (error: RequestValidationError, attempt: number) => AnythingButUndefined): ErrorStrategyBuilder;
/**
* Error handler for unexpected error, usually either network error or JSON parsing error. Return the value you whish to continue with, or return 'retry()' for retrying the request, or return 'continuePropagation()' for allowing the error to propagate.

@@ -47,3 +43,3 @@ */

*/
anyError(handler: (error: HttpError<AtlassianErrorResponse> | RequestValidationError | UnexpectedError, attempt: number) => AnythingButUndefined): ErrorStrategyBuilder;
anyError(handler: (error: HttpError<AtlassianErrorResponse> | UnexpectedError, attempt: number) => AnythingButUndefined): ErrorStrategyBuilder;
/**

@@ -50,0 +46,0 @@ * Retry when HTTP request is being rate limited (429 response).

@@ -59,9 +59,2 @@ import { getRetryErrorHandler } from '@avst-api/commons';

/**
* Error handler for invalid request payload. Return the value you whish to continue with, or return 'retry()' for retrying the request, or return 'continuePropagation()' for allowing the error to propagate.
*/
requestValidationError(handler) {
this.options.handleRequestValidationError = handler;
return new ErrorStrategyBuilder(this.options);
}
/**
* Error handler for unexpected error, usually either network error or JSON parsing error. Return the value you whish to continue with, or return 'retry()' for retrying the request, or return 'continuePropagation()' for allowing the error to propagate.

@@ -111,2 +104,1 @@ */

}
//# sourceMappingURL=errorStrategy.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_attachment: t.IntersectionC<[t.TypeC<{

@@ -3,0 +3,0 @@ size: t.NumberC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_full } from './objs_user';

@@ -18,2 +18,1 @@ export const objs_attachment = t.intersection([

]);
//# sourceMappingURL=objs_attachment.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_avatarUrls: t.PartialC<{

@@ -3,0 +3,0 @@ '48x48': t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_avatarUrls = t.partial({

@@ -8,2 +8,1 @@ '48x48': t.string,

});
//# sourceMappingURL=objs_avatarUrls.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_comment: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_partial } from './objs_user';

@@ -19,2 +19,1 @@ import { EntityPropertyCodec } from '../raw-api/common';

});
//# sourceMappingURL=objs_comment.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_component: t.IntersectionC<[t.TypeC<{

@@ -3,0 +3,0 @@ isAssigneeTypeValid: t.BooleanC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_partial } from './objs_user';

@@ -22,2 +22,1 @@ export const objs_component = t.intersection([

]);
//# sourceMappingURL=objs_component.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_document_format: t.PartialC<{

@@ -3,0 +3,0 @@ type: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
const SubContent = t.recursion('SubContent', () => t.partial({

@@ -21,2 +21,1 @@ type: t.string,

});
//# sourceMappingURL=objs_document_format.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_field_meta: t.IntersectionC<[t.TypeC<{

@@ -3,0 +3,0 @@ required: t.BooleanC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_json_type } from './objs_json_type';

@@ -16,2 +16,1 @@ export const objs_field_meta = t.intersection([

]);
//# sourceMappingURL=objs_field_meta.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_group: t.PartialC<{

@@ -3,0 +3,0 @@ name: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_group = t.partial({

@@ -6,2 +6,1 @@ name: t.string,

});
//# sourceMappingURL=objs_group.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_history_metadata: t.PartialC<{

@@ -3,0 +3,0 @@ type: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
const history_metadata_participant = t.partial({

@@ -23,2 +23,1 @@ id: t.string,

});
//# sourceMappingURL=objs_history_metadata.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_issue_link_type: t.PartialC<{

@@ -3,0 +3,0 @@ id: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_issue_link_type = t.partial({

@@ -9,2 +9,1 @@ id: t.string,

});
//# sourceMappingURL=objs_issue_link_type.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_issue_ref: t.PartialC<{

@@ -3,0 +3,0 @@ id: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_status } from './objs_status';

@@ -16,2 +16,1 @@ import { objs_priority } from './objs_priority';

});
//# sourceMappingURL=objs_issue_ref.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_issue_type: t.IntersectionC<[t.TypeC<{

@@ -3,0 +3,0 @@ subtask: t.BooleanC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_issue_type = t.intersection([

@@ -15,2 +15,1 @@ t.type({

]);
//# sourceMappingURL=objs_issue_type.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_json_type: t.PartialC<{

@@ -3,0 +3,0 @@ type: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_json_type = t.partial({

@@ -9,2 +9,1 @@ type: t.string,

});
//# sourceMappingURL=objs_json_type.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_simple_link } from './objs_simple_link';

@@ -11,2 +11,1 @@ export const objs_link_group = t.recursion('Link Group', () => t.partial({

}));
//# sourceMappingURL=objs_link_group.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_priority: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_priority = t.partial({

@@ -10,2 +10,1 @@ self: t.string,

});
//# sourceMappingURL=objs_priority.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_project_category: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_project_category = t.partial({

@@ -8,2 +8,1 @@ self: t.string,

});
//# sourceMappingURL=objs_project_category.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_project_role: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_role_actor } from './objs_role_actor';

@@ -10,2 +10,1 @@ export const objs_project_role = t.partial({

});
//# sourceMappingURL=objs_project_role.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_project_type: t.PartialC<{

@@ -3,0 +3,0 @@ key: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_project_type = t.partial({

@@ -9,2 +9,1 @@ key: t.string,

});
//# sourceMappingURL=objs_project_type.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_project: t.PartialC<{

@@ -3,0 +3,0 @@ expand: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_full } from './objs_user';

@@ -29,2 +29,1 @@ import { objs_component } from './objs_component';

});
//# sourceMappingURL=objs_project.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_property: t.PartialC<{

@@ -3,0 +3,0 @@ id: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_property = t.partial({

@@ -13,2 +13,1 @@ id: t.string,

});
//# sourceMappingURL=objs_property.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_remote_issue_link: t.PartialC<{

@@ -3,0 +3,0 @@ globalId: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_remote_issue_link = t.partial({

@@ -28,2 +28,1 @@ globalId: t.string,

});
//# sourceMappingURL=objs_remote_issue_link.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_resolution: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_resolution = t.partial({

@@ -9,2 +9,1 @@ self: t.string,

});
//# sourceMappingURL=objs_resolution.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_role_actor: t.PartialC<{

@@ -3,0 +3,0 @@ id: t.NumberC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_role_actor = t.partial({

@@ -9,2 +9,1 @@ id: t.number,

});
//# sourceMappingURL=objs_role_actor.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_simple_link: t.PartialC<{

@@ -3,0 +3,0 @@ id: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_simple_link = t.partial({

@@ -11,2 +11,1 @@ id: t.string,

});
//# sourceMappingURL=objs_simple_link.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_simple_list_wrapper: t.IntersectionC<[t.TypeC<{

@@ -3,0 +3,0 @@ size: t.NumberC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_simple_list_wrapper = t.intersection([

@@ -14,2 +14,1 @@ t.type({

]);
//# sourceMappingURL=objs_simple_list_wrapper.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_status_category: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export const objs_status_category = t.partial({

@@ -9,2 +9,1 @@ self: t.string,

});
//# sourceMappingURL=objs_status_category.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_status: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_status_category } from './objs_status_category';

@@ -12,2 +12,1 @@ export const objs_status = t.partial({

});
//# sourceMappingURL=objs_status.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_transition: t.PartialC<{

@@ -3,0 +3,0 @@ id: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_field_meta } from './objs_field_meta';

@@ -11,2 +11,1 @@ import { objs_status } from './objs_status';

});
//# sourceMappingURL=objs_transition.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_user_partial: t.IntersectionC<[t.TypeC<{

@@ -3,0 +3,0 @@ active: t.BooleanC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_avatarUrls } from './objs_avatarUrls';

@@ -27,2 +27,1 @@ import { objs_simple_list_wrapper } from './objs_simple_list_wrapper';

]);
//# sourceMappingURL=objs_user.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_version: t.PartialC<{

@@ -3,0 +3,0 @@ expand: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_simple_link } from './objs_simple_link';

@@ -25,2 +25,1 @@ export const objs_version = t.partial({

});
//# sourceMappingURL=objs_version.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
export declare const objs_worklog: t.PartialC<{

@@ -3,0 +3,0 @@ self: t.StringC;

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_partial } from './objs_user';

@@ -20,2 +20,1 @@ export const objs_worklog = t.partial({

});
//# sourceMappingURL=objs_worklog.js.map
import { BadRequestError, AnythingButUndefined, UnauthorizedError, ForbiddenError, NotFoundError, TooManyRequestsError, ServerError, HttpError, RequestValidationError, UnexpectedError, Response } from '@avst-api/commons';
import { TypedPromise, AnyError } from '../common';
import { TypedPromise } from '../common';
import { ErrorStrategyBuilder } from '../builder/errorStrategy';

@@ -59,8 +59,2 @@ export interface AtlassianErrorResponse {

/**
* Error handler for invalid request payload. Return the value you whish to continue with, or return 'retry()' for retrying the request, or return 'continuePropagation()' for allowing the error to propagate.
* @param error Error that happened.
* @param attempt How many times this request has already been executed. Starts with 1 and increases after each 'retry()'.
*/
handleRequestValidationError?(error: RequestValidationError, attempt: number): AnythingButUndefined;
/**
* Error handler for unexpected error, usually either network error or JSON parsing error. Return the value you whish to continue with, or return 'retry()' for retrying the request, or return 'continuePropagation()' for allowing the error to propagate.

@@ -78,4 +72,4 @@ * @param error Error that happened.

}
export declare function executeRequest<T, E, O = any, Y = AtlassianErrorResponse>(promise: () => Promise<Response<any>>, errorHandlers?: ErrorStrategyHandlers, skipBodyParsing?: boolean, attempt?: number, postProcessingPromise?: (body: O, response: Response<any>) => Promise<T>): TypedPromise<T | E, AnyError | HttpError<Y | AtlassianErrorResponse> | RequestValidationError | UnexpectedError>;
export declare function executeRequest<T, E, O = any, Y = AtlassianErrorResponse>(promise: () => Promise<Response<any>>, errorHandlers?: ErrorStrategyHandlers, skipBodyParsing?: boolean, attempt?: number, postProcessingPromise?: (body: O, response: Response<any>) => Promise<T>): TypedPromise<T | E, HttpError<Y | AtlassianErrorResponse> | UnexpectedError>;
export declare function injectBuilders(options: any): any;
//# sourceMappingURL=common.d.ts.map

@@ -60,3 +60,3 @@ import { BadRequestError, UnauthorizedError, ForbiddenError, NotFoundError, TooManyRequestsError, ServerError, HttpError, RequestValidationError, UnexpectedError, RetryRequested, delay, PropagationRequested } from '@avst-api/commons';

if (errorHandlers) {
const { handleHttp400Error, handleHttp401Error, handleHttp403Error, handleHttp404Error, handleHttp429Error, handleHttp5xxError, handleHttpAnyError, handleRequestValidationError, handleUnexpectedError, handleAnyError } = errorHandlers;
const { handleHttp400Error, handleHttp401Error, handleHttp403Error, handleHttp404Error, handleHttp429Error, handleHttp5xxError, handleHttpAnyError, handleUnexpectedError, handleAnyError } = errorHandlers;
if (error instanceof HttpError) {

@@ -92,6 +92,2 @@ if (error instanceof BadRequestError && handleHttp400Error) {

}
if (error instanceof RequestValidationError && handleRequestValidationError) {
errorHandler = 'handleRequestValidationError';
return handleErrorStrategyResponse(handleRequestValidationError, error, attempt);
}
if (error instanceof UnexpectedError && handleUnexpectedError) {

@@ -164,2 +160,1 @@ errorHandler = 'handleUnexpectedError';

}
//# sourceMappingURL=common.js.map

@@ -7,3 +7,3 @@ import { Filter } from '../types/filter';

*/
export declare function getFilter<T = Filter.GetFilter.Response.OK>(options: Filter.GetFilter.Options.HandledApi): import("../common").TypedPromise<Filter.GetFilter.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getFilter<T = Filter.GetFilter.Response.OK>(options: Filter.GetFilter.Options.HandledApi): import("../common").TypedPromise<Filter.GetFilter.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=filter.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=filter.js.map

@@ -7,3 +7,3 @@ import { Group } from '../types/group';

*/
export declare function createGroup<T = Group.CreateGroup.Response.OK>(options: Group.CreateGroup.Options.HandledApi): import("../common").TypedPromise<Group.CreateGroup.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function createGroup<T = Group.CreateGroup.Response.OK>(options: Group.CreateGroup.Options.HandledApi): import("../common").TypedPromise<Group.CreateGroup.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Deletes a group by given group parameter.

*/
export declare function removeGroup<T = undefined>(options: Group.RemoveGroup.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function removeGroup<T = undefined>(options: Group.RemoveGroup.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=group.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=group.js.map

@@ -7,3 +7,3 @@ import { Group } from '../../types/group';

*/
export declare function getUsersFromGroup<T = Group.User.GetUsers.Response.OK>(options: Group.User.GetUsers.Options.HandledApi): import("../../common").TypedPromise<Group.User.GetUsers.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getUsersFromGroup<T = Group.User.GetUsers.Response.OK>(options: Group.User.GetUsers.Options.HandledApi): import("../../common").TypedPromise<Group.User.GetUsers.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Adds given user to a group.

*/
export declare function addUsersToGroup<T = Group.User.AddUsers.Response.OK>(options: Group.User.AddUsers.Options.HandledApi): import("../../common").TypedPromise<Group.User.AddUsers.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function addUsersToGroup<T = Group.User.AddUsers.Response.OK>(options: Group.User.AddUsers.Options.HandledApi): import("../../common").TypedPromise<Group.User.AddUsers.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Removes given user from a group.

*/
export declare function removeUsersFromGroup<T = undefined>(options: Group.User.RemoveUsers.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function removeUsersFromGroup<T = undefined>(options: Group.User.RemoveUsers.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=user.d.ts.map

@@ -27,2 +27,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=user.js.map

@@ -7,3 +7,3 @@ import { Instance } from '../types/instance';

*/
export declare function getApplicationProperty<T = Instance.GetApplicationProperty.Response.OK>(options: Instance.GetApplicationProperty.Options.HandledApi): import("../common").TypedPromise<Instance.GetApplicationProperty.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getApplicationProperty<T = Instance.GetApplicationProperty.Response.OK>(options: Instance.GetApplicationProperty.Options.HandledApi): import("../common").TypedPromise<Instance.GetApplicationProperty.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Modify an application property via PUT. The "value" field present in the PUT will override the existing value.

*/
export declare function setApplicationProperty<T = Instance.SetApplicationProperty.Response.OK>(options: Instance.SetApplicationProperty.Options.HandledApi): import("../common").TypedPromise<Instance.SetApplicationProperty.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function setApplicationProperty<T = Instance.SetApplicationProperty.Response.OK>(options: Instance.SetApplicationProperty.Options.HandledApi): import("../common").TypedPromise<Instance.SetApplicationProperty.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Returns the properties that are displayed on the "General Configuration > Advanced Settings" page.

*/
export declare function getAdvancedSettings<T = Instance.GetAdvancedSettings.Response.OK[]>(options: Instance.GetAdvancedSettings.Options.HandledApi): import("../common").TypedPromise<Instance.GetAdvancedSettings.Response.OK[] | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getAdvancedSettings<T = Instance.GetAdvancedSettings.Response.OK[]>(options: Instance.GetAdvancedSettings.Options.HandledApi): import("../common").TypedPromise<Instance.GetAdvancedSettings.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Returns the information if the optional features in JIRA are enabled or disabled. If the time tracking is enabled, it also returns the detailed information about time tracking configuration.

*/
export declare function getInstanceConfiguration<T = Instance.GetConfiguration.Response.OK>(options: Instance.GetConfiguration.Options.HandledApi): import("../common").TypedPromise<Instance.GetConfiguration.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getInstanceConfiguration<T = Instance.GetConfiguration.Response.OK>(options: Instance.GetConfiguration.Options.HandledApi): import("../common").TypedPromise<Instance.GetConfiguration.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Returns general information about the current JIRA server.

*/
export declare function getInstanceInfo<T = Instance.GetInfo.Response.OK>(options: Instance.GetInfo.Options.HandledApi): import("../common").TypedPromise<Instance.GetInfo.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getInstanceInfo<T = Instance.GetInfo.Response.OK>(options: Instance.GetInfo.Options.HandledApi): import("../common").TypedPromise<Instance.GetInfo.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=instance.d.ts.map

@@ -43,2 +43,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=instance.js.map

@@ -10,3 +10,3 @@ import { Issue } from '../types/issue';

*/
export declare function createIssue<T = Issue.CreateIssue.Response.OK>(options: Issue.CreateIssue.Options.HandledApi): import("../common").TypedPromise<Issue.CreateIssue.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function createIssue<T = Issue.CreateIssue.Response.OK>(options: Issue.CreateIssue.Options.HandledApi): import("../common").TypedPromise<Issue.CreateIssue.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -17,3 +17,3 @@ * Delete an issue. If the issue has subtasks you must set the parameter deleteSubtasks=true to delete the issue. You cannot delete an issue without its subtasks also being deleted.

*/
export declare function deleteIssue<T = undefined>(options: Issue.DeleteIssue.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function deleteIssue<T = undefined>(options: Issue.DeleteIssue.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -25,3 +25,3 @@ * Returns a full representation of the issue for the given issue key.

*/
export declare function getIssue<T = Issue.GetIssue.Response.OK>(options: Issue.GetIssue.Options.HandledApi): import("../common").TypedPromise<Issue.GetIssue.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getIssue<T = Issue.GetIssue.Response.OK>(options: Issue.GetIssue.Options.HandledApi): import("../common").TypedPromise<Issue.GetIssue.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -37,3 +37,3 @@ * Edits an issue from a JSON representation.

*/
export declare function editIssue<T = undefined>(options: Issue.EditIssue.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function editIssue<T = undefined>(options: Issue.EditIssue.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -44,3 +44,3 @@ * Assigns an issue to a user. You can use this resource to assign issues when the user submitting the request has the assign permission but not the edit issue permission. If the name is "-1" automatic assignee is used. A null name will remove the assignee.

*/
export declare function assignIssue<T = undefined>(options: Issue.AssignIssue.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function assignIssue<T = undefined>(options: Issue.AssignIssue.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -51,3 +51,3 @@ * Sends a notification (email) to the list or recipients defined in the request.

*/
export declare function sendNotificationForIssue<T = undefined>(options: Issue.SendNotification.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function sendNotificationForIssue<T = undefined>(options: Issue.SendNotification.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=issue.d.ts.map

@@ -60,2 +60,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=issue.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueAttachment<T = Issue.Attachment.GetAttachment.Response.OK>(options: Issue.Attachment.GetAttachment.Options.HandledApi): import("../../common").TypedPromise<Issue.Attachment.GetAttachment.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueAttachment<T = Issue.Attachment.GetAttachment.Response.OK>(options: Issue.Attachment.GetAttachment.Options.HandledApi): import("../../common").TypedPromise<Issue.Attachment.GetAttachment.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Remove an attachment from an issue.

*/
export declare function removeIssueAttachment<T = undefined>(options: Issue.Attachment.RemoveAttachment.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function removeIssueAttachment<T = undefined>(options: Issue.Attachment.RemoveAttachment.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Add one or more attachments to an issue.

*/
export declare function addIssueAttachment<T = Issue.Attachment.AddAttachment.Response.OK[]>(options: Issue.Attachment.AddAttachment.Options.HandledApi): import("../../common").TypedPromise<Issue.Attachment.AddAttachment.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function addIssueAttachment<T = Issue.Attachment.AddAttachment.Response.OK[]>(options: Issue.Attachment.AddAttachment.Options.HandledApi): import("../../common").TypedPromise<Issue.Attachment.AddAttachment.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=attachment.d.ts.map

@@ -27,2 +27,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=attachment.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../../types/issue';

*/
export declare function getIssueAttachmentMetadata<T = Issue.Attachment.Metadata.GetMetadata.Response.OK>(options: Issue.Attachment.Metadata.GetMetadata.Options.HandledApi): import("../../../common").TypedPromise<Issue.Attachment.Metadata.GetMetadata.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getIssueAttachmentMetadata<T = Issue.Attachment.Metadata.GetMetadata.Response.OK>(options: Issue.Attachment.Metadata.GetMetadata.Options.HandledApi): import("../../../common").TypedPromise<Issue.Attachment.Metadata.GetMetadata.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=metadata.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=metadata.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueComments<T = Issue.Comment.GetComments.Response.OK>(options: Issue.Comment.GetComments.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.GetComments.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueComments<T = Issue.Comment.GetComments.Response.OK>(options: Issue.Comment.GetComments.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.GetComments.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Adds a new comment to an issue.

*/
export declare function addIssueComment<T = Issue.Comment.AddComment.Response.OK>(options: Issue.Comment.AddComment.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.AddComment.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function addIssueComment<T = Issue.Comment.AddComment.Response.OK>(options: Issue.Comment.AddComment.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.AddComment.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Returns a single comment.

*/
export declare function getIssueComment<T = Issue.Comment.GetComment.Response.OK>(options: Issue.Comment.GetComment.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.GetComment.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueComment<T = Issue.Comment.GetComment.Response.OK>(options: Issue.Comment.GetComment.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.GetComment.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Updates an existing comment using its JSON representation.

*/
export declare function updateIssueComment<T = Issue.Comment.UpdateComment.Response.OK>(options: Issue.Comment.UpdateComment.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.UpdateComment.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function updateIssueComment<T = Issue.Comment.UpdateComment.Response.OK>(options: Issue.Comment.UpdateComment.Options.HandledApi): import("../../common").TypedPromise<Issue.Comment.UpdateComment.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Deletes an existing comment.

*/
export declare function deleteIssueComment<T = undefined>(options: Issue.Comment.DeleteComment.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function deleteIssueComment<T = undefined>(options: Issue.Comment.DeleteComment.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=comment.d.ts.map

@@ -43,2 +43,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=comment.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueFields<T = Issue.Field.GetFields.Response.OK[]>(options: Issue.Field.GetFields.Options.HandledApi): import("../../common").TypedPromise<Issue.Field.GetFields.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueFields<T = Issue.Field.GetFields.Response.OK[]>(options: Issue.Field.GetFields.Options.HandledApi): import("../../common").TypedPromise<Issue.Field.GetFields.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=field.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=field.js.map

@@ -6,3 +6,3 @@ import { Issue } from '../../../types/issue';

*/
export declare function getIssueCustomFields<T = Issue.Field.Custom.GetFields.Response.OK>(options: Issue.Field.Custom.GetFields.Options.HandledApi): import("../../../common").TypedPromise<Issue.Field.Custom.GetFields.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getIssueCustomFields<T = Issue.Field.Custom.GetFields.Response.OK>(options: Issue.Field.Custom.GetFields.Options.HandledApi): import("../../../common").TypedPromise<Issue.Field.Custom.GetFields.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=custom.d.ts.map

@@ -10,2 +10,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=custom.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../../../types/issue';

*/
export declare function getIssueCustomFieldOption<T = Issue.Field.Custom.Option.GetOption.Response.OK>(options: Issue.Field.Custom.Option.GetOption.Options.HandledApi): import("../../../../common").TypedPromise<Issue.Field.Custom.Option.GetOption.Response.OK | T, import("../../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../../common").AtlassianErrorResponse>>;
export declare function getIssueCustomFieldOption<T = Issue.Field.Custom.Option.GetOption.Response.OK>(options: Issue.Field.Custom.Option.GetOption.Options.HandledApi): import("../../../../common").TypedPromise<Issue.Field.Custom.Option.GetOption.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=option.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from '../../../common';

}
//# sourceMappingURL=option.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function createIssueLink<T = undefined>(options: Issue.Link.CreateLink.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function createIssueLink<T = undefined>(options: Issue.Link.CreateLink.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns an issue link with the specified id.

*/
export declare function getIssueLink<T = Issue.Link.GetLink.Response.OK>(options: Issue.Link.GetLink.Options.HandledApi): import("../../common").TypedPromise<Issue.Link.GetLink.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueLink<T = Issue.Link.GetLink.Response.OK>(options: Issue.Link.GetLink.Options.HandledApi): import("../../common").TypedPromise<Issue.Link.GetLink.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Deletes an issue link with the specified id. To be able to delete an issue link you must be able to view both issues and must have the link issue permission for at least one of the issues.

*/
export declare function deleteIssueLink<T = undefined>(options: Issue.Link.DeleteLink.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function deleteIssueLink<T = undefined>(options: Issue.Link.DeleteLink.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=link.d.ts.map

@@ -27,2 +27,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=link.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../../types/issue';

*/
export declare function getRemoteIssueLinks<T = Issue.Link.Remote.GetLinks.Response.OK[]>(options: Issue.Link.Remote.GetLinks.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Remote.GetLinks.Response.OK[] | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getRemoteIssueLinks<T = Issue.Link.Remote.GetLinks.Response.OK[]>(options: Issue.Link.Remote.GetLinks.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Remote.GetLinks.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Creates or updates a remote issue link from a JSON representation. If a globalId is provided and a remote issue link exists with that globalId, the remote issue link is updated. Otherwise, the remote issue link is created.

*/
export declare function createOrUpdateRemoteIssueLink<T = Issue.Link.Remote.CreateOrUpdateLink.Response.OK>(options: Issue.Link.Remote.CreateOrUpdateLink.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Remote.CreateOrUpdateLink.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function createOrUpdateRemoteIssueLink<T = Issue.Link.Remote.CreateOrUpdateLink.Response.OK>(options: Issue.Link.Remote.CreateOrUpdateLink.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Remote.CreateOrUpdateLink.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Delete the remote issue link with the given global id on the issue.

*/
export declare function deleteRemoteIssueLinkByGlobalId<T = undefined>(options: Issue.Link.Remote.DeleteLinkByGlobalId.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function deleteRemoteIssueLinkByGlobalId<T = undefined>(options: Issue.Link.Remote.DeleteLinkByGlobalId.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Get the remote issue link with the given id on the issue.

*/
export declare function getRemoteIssueLink<T = Issue.Link.Remote.GetLink.Response.OK>(options: Issue.Link.Remote.GetLink.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Remote.GetLink.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getRemoteIssueLink<T = Issue.Link.Remote.GetLink.Response.OK>(options: Issue.Link.Remote.GetLink.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Remote.GetLink.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Updates a remote issue link from a JSON representation. Any fields not provided are set to null.

*/
export declare function updateRemoteIssueLink<T = undefined>(options: Issue.Link.Remote.UpdateLink.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function updateRemoteIssueLink<T = undefined>(options: Issue.Link.Remote.UpdateLink.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -42,3 +42,3 @@ * Delete the remote issue link with the given id on the issue.

*/
export declare function deleteRemoteIssueLink<T = undefined>(options: Issue.Link.Remote.DeleteLink.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function deleteRemoteIssueLink<T = undefined>(options: Issue.Link.Remote.DeleteLink.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=remote.d.ts.map

@@ -51,2 +51,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=remote.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../../types/issue';

*/
export declare function getIssueLinkTypes<T = Issue.Link.Type.GetTypes.Response.OK>(options: Issue.Link.Type.GetTypes.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Type.GetTypes.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getIssueLinkTypes<T = Issue.Link.Type.GetTypes.Response.OK>(options: Issue.Link.Type.GetTypes.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Type.GetTypes.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns for a given issue link type id all information about this issue link type.

*/
export declare function getIssueLinkType<T = Issue.Link.Type.GetType.Response.OK>(options: Issue.Link.Type.GetType.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Type.GetType.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getIssueLinkType<T = Issue.Link.Type.GetType.Response.OK>(options: Issue.Link.Type.GetType.Options.HandledApi): import("../../../common").TypedPromise<Issue.Link.Type.GetType.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=type.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=type.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getEditIssueMetadata<T = Issue.Metadata.GetEditMetadata.Response.OK>(options: Issue.Metadata.GetEditMetadata.Options.HandledApi): import("../../common").TypedPromise<Issue.Metadata.GetEditMetadata.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getEditIssueMetadata<T = Issue.Metadata.GetEditMetadata.Response.OK>(options: Issue.Metadata.GetEditMetadata.Options.HandledApi): import("../../common").TypedPromise<Issue.Metadata.GetEditMetadata.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -17,3 +17,3 @@ * Returns the meta data for creating issues. This includes the available projects, issue types and fields, including field types and whether or not those fields are required. Projects will not be returned if the user does not have permission to create issues in that project.

*/
export declare function getCreateIssueMetadata<T = Issue.Metadata.GetCreateMetadata.Response.OK>(options: Issue.Metadata.GetCreateMetadata.Options.HandledApi): import("../../common").TypedPromise<Issue.Metadata.GetCreateMetadata.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getCreateIssueMetadata<T = Issue.Metadata.GetCreateMetadata.Response.OK>(options: Issue.Metadata.GetCreateMetadata.Options.HandledApi): import("../../common").TypedPromise<Issue.Metadata.GetCreateMetadata.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=metadata.d.ts.map

@@ -22,2 +22,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=metadata.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssuePriorities<T = Issue.Priority.GetPriorities.Response.OK[]>(options: Issue.Priority.GetPriorities.Options.HandledApi): import("../../common").TypedPromise<Issue.Priority.GetPriorities.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssuePriorities<T = Issue.Priority.GetPriorities.Response.OK[]>(options: Issue.Priority.GetPriorities.Options.HandledApi): import("../../common").TypedPromise<Issue.Priority.GetPriorities.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns an issue priority.

*/
export declare function getIssuePriority<T = Issue.Priority.GetPriority.Response.OK>(options: Issue.Priority.GetPriority.Options.HandledApi): import("../../common").TypedPromise<Issue.Priority.GetPriority.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssuePriority<T = Issue.Priority.GetPriority.Response.OK>(options: Issue.Priority.GetPriority.Options.HandledApi): import("../../common").TypedPromise<Issue.Priority.GetPriority.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=priority.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=priority.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueResolutions<T = Issue.Resolution.GetResolutions.Response.OK[]>(options: Issue.Resolution.GetResolutions.Options.HandledApi): import("../../common").TypedPromise<Issue.Resolution.GetResolutions.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueResolutions<T = Issue.Resolution.GetResolutions.Response.OK[]>(options: Issue.Resolution.GetResolutions.Options.HandledApi): import("../../common").TypedPromise<Issue.Resolution.GetResolutions.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns a resolution.

*/
export declare function getIssueResolution<T = Issue.Resolution.GetResolution.Response.OK>(options: Issue.Resolution.GetResolution.Options.HandledApi): import("../../common").TypedPromise<Issue.Resolution.GetResolution.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueResolution<T = Issue.Resolution.GetResolution.Response.OK>(options: Issue.Resolution.GetResolution.Options.HandledApi): import("../../common").TypedPromise<Issue.Resolution.GetResolution.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=resolution.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=resolution.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function searchIssuesByJql<T = Issue.Search.SearchByJql.Response.OK>(options: Issue.Search.SearchByJql.Options.HandledApi): import("../../common").TypedPromise<Issue.Search.SearchByJql.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function searchIssuesByJql<T = Issue.Search.SearchByJql.Response.OK>(options: Issue.Search.SearchByJql.Options.HandledApi): import("../../common").TypedPromise<Issue.Search.SearchByJql.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=search.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=search.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueSubTasks<T = Issue.SubTask.GetSubTasks.Response.OK[]>(options: Issue.SubTask.GetSubTasks.Options.HandledApi): import("../../common").TypedPromise<Issue.SubTask.GetSubTasks.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueSubTasks<T = Issue.SubTask.GetSubTasks.Response.OK[]>(options: Issue.SubTask.GetSubTasks.Options.HandledApi): import("../../common").TypedPromise<Issue.SubTask.GetSubTasks.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -13,3 +13,3 @@ * Documentation: https://docs.atlassian.com/software/jira/docs/api/REST/7.13.9/#api/2/issue/{issueIdOrKey}/subtask-canMoveSubTask

*/
export declare function canMoveIssueSubTask<T = Issue.SubTask.CanMoveSubTask.Response.OK>(options: Issue.SubTask.CanMoveSubTask.Options.HandledApi): import("../../common").TypedPromise<boolean | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function canMoveIssueSubTask<T = Issue.SubTask.CanMoveSubTask.Response.OK>(options: Issue.SubTask.CanMoveSubTask.Options.HandledApi): import("../../common").TypedPromise<boolean | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -20,3 +20,3 @@ * Reorders an issue's subtasks by moving the subtask at index "from" to index "to".

*/
export declare function moveIssueSubTasks<T = undefined>(options: Issue.SubTask.MoveSubTasks.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function moveIssueSubTasks<T = undefined>(options: Issue.SubTask.MoveSubTasks.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=subTask.d.ts.map

@@ -26,2 +26,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=subTask.js.map

@@ -9,3 +9,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueTransitions<T = Issue.Transition.GetTransitions.Response.OK>(options: Issue.Transition.GetTransitions.Options.HandledApi): import("../../common").TypedPromise<Issue.Transition.GetTransitions.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueTransitions<T = Issue.Transition.GetTransitions.Response.OK>(options: Issue.Transition.GetTransitions.Options.HandledApi): import("../../common").TypedPromise<Issue.Transition.GetTransitions.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -17,3 +17,3 @@ * Perform a transition on an issue. When performing the transition you can update or set other issue fields.

*/
export declare function performIssueTransition<T = undefined>(options: Issue.Transition.PerformTransition.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function performIssueTransition<T = undefined>(options: Issue.Transition.PerformTransition.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=transition.d.ts.map

@@ -22,2 +22,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=transition.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueTypes<T = Issue.Type.GetTypes.Response.OK[]>(options: Issue.Type.GetTypes.Options.HandledApi): import("../../common").TypedPromise<Issue.Type.GetTypes.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueTypes<T = Issue.Type.GetTypes.Response.OK[]>(options: Issue.Type.GetTypes.Options.HandledApi): import("../../common").TypedPromise<Issue.Type.GetTypes.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns a full representation of the issue type that has the given id.

*/
export declare function getIssueType<T = Issue.Type.GetType.Response.OK>(options: Issue.Type.GetType.Options.HandledApi): import("../../common").TypedPromise<Issue.Type.GetType.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueType<T = Issue.Type.GetType.Response.OK>(options: Issue.Type.GetType.Options.HandledApi): import("../../common").TypedPromise<Issue.Type.GetType.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=type.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=type.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function removeIssueVote<T = undefined>(options: Issue.Vote.RemoveVote.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function removeIssueVote<T = undefined>(options: Issue.Vote.RemoveVote.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Cast your vote in favour of an issue.

*/
export declare function addIssueVote<T = undefined>(options: Issue.Vote.AddVote.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function addIssueVote<T = undefined>(options: Issue.Vote.AddVote.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * A REST sub-resource representing the voters on the issue.

*/
export declare function getIssueVotes<T = Issue.Vote.GetVotes.Response.OK>(options: Issue.Vote.GetVotes.Options.HandledApi): import("../../common").TypedPromise<Issue.Vote.GetVotes.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueVotes<T = Issue.Vote.GetVotes.Response.OK>(options: Issue.Vote.GetVotes.Options.HandledApi): import("../../common").TypedPromise<Issue.Vote.GetVotes.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=vote.d.ts.map

@@ -27,2 +27,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=vote.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueWatchers<T = Issue.Watcher.GetWatchers.Response.OK>(options: Issue.Watcher.GetWatchers.Options.HandledApi): import("../../common").TypedPromise<Issue.Watcher.GetWatchers.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueWatchers<T = Issue.Watcher.GetWatchers.Response.OK>(options: Issue.Watcher.GetWatchers.Options.HandledApi): import("../../common").TypedPromise<Issue.Watcher.GetWatchers.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Adds a user to an issue's watcher list.

*/
export declare function addIssueWatcher<T = undefined>(options: Issue.Watcher.AddWatcher.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function addIssueWatcher<T = undefined>(options: Issue.Watcher.AddWatcher.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Removes a user from an issue's watcher list.

*/
export declare function removeIssueWatcher<T = undefined>(options: Issue.Watcher.RemoveWatcher.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function removeIssueWatcher<T = undefined>(options: Issue.Watcher.RemoveWatcher.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=watcher.d.ts.map

@@ -27,2 +27,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=watcher.js.map

@@ -7,3 +7,3 @@ import { Issue } from '../../types/issue';

*/
export declare function getIssueWorklogs<T = Issue.Worklog.GetWorklogs.Response.OK>(options: Issue.Worklog.GetWorklogs.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetWorklogs.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueWorklogs<T = Issue.Worklog.GetWorklogs.Response.OK>(options: Issue.Worklog.GetWorklogs.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetWorklogs.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Adds a new worklog entry to an issue.

*/
export declare function addIssueWorklog<T = Issue.Worklog.AddWorklog.Response.OK>(options: Issue.Worklog.AddWorklog.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.AddWorklog.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function addIssueWorklog<T = Issue.Worklog.AddWorklog.Response.OK>(options: Issue.Worklog.AddWorklog.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.AddWorklog.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Returns a specific worklog. The work log won't be returned if the Log work field is hidden for the project.

*/
export declare function getIssueWorklog<T = Issue.Worklog.GetWorklog.Response.OK>(options: Issue.Worklog.GetWorklog.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetWorklog.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueWorklog<T = Issue.Worklog.GetWorklog.Response.OK>(options: Issue.Worklog.GetWorklog.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetWorklog.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Updates an existing worklog entry. Fields possible for editing are: comment, visibility, started, timeSpent and timeSpentSeconds. Either timeSpent or timeSpentSeconds can be set. Fields which are not set will not be updated. For a request to be valid, it has to have at least one field change.

*/
export declare function updateIssueWorklog<T = Issue.Worklog.UpdateWorklog.Response.OK>(options: Issue.Worklog.UpdateWorklog.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.UpdateWorklog.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function updateIssueWorklog<T = Issue.Worklog.UpdateWorklog.Response.OK>(options: Issue.Worklog.UpdateWorklog.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.UpdateWorklog.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Deletes an existing worklog entry.

*/
export declare function deleteIssueWorklog<T = undefined>(options: Issue.Worklog.DeleteWorklog.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function deleteIssueWorklog<T = undefined>(options: Issue.Worklog.DeleteWorklog.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -42,3 +42,3 @@ * Returns worklogs id and delete time of worklogs that was deleted since given time. The returns set of worklogs is limited to 1000 elements. This API will not return worklogs deleted during last minute.

*/
export declare function getDeletedIssueWorklogIds<T = Issue.Worklog.GetDeletedWorklogIds.Response.OK>(options: Issue.Worklog.GetDeletedWorklogIds.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetDeletedWorklogIds.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getDeletedIssueWorklogIds<T = Issue.Worklog.GetDeletedWorklogIds.Response.OK>(options: Issue.Worklog.GetDeletedWorklogIds.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetDeletedWorklogIds.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -49,3 +49,3 @@ * Returns worklogs for given worklog ids. Only worklogs to which the calling user has permissions, will be included in the result. The returns set of worklogs is limited to 1000 elements.

*/
export declare function getIssueWorklogsForIds<T = Issue.Worklog.GetWorklogsForIds.Response.OK[]>(options: Issue.Worklog.GetWorklogsForIds.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetWorklogsForIds.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getIssueWorklogsForIds<T = Issue.Worklog.GetWorklogsForIds.Response.OK[]>(options: Issue.Worklog.GetWorklogsForIds.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetWorklogsForIds.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -56,3 +56,3 @@ * Returns worklogs id and update time of worklogs that was updated since given time. The returns set of worklogs is limited to 1000 elements. This API will not return worklogs updated during last minute.

*/
export declare function getUpdatedIssueWorklogIds<T = Issue.Worklog.GetUpdatedWorklogIds.Response.OK>(options: Issue.Worklog.GetUpdatedWorklogIds.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetUpdatedWorklogIds.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getUpdatedIssueWorklogIds<T = Issue.Worklog.GetUpdatedWorklogIds.Response.OK>(options: Issue.Worklog.GetUpdatedWorklogIds.Options.HandledApi): import("../../common").TypedPromise<Issue.Worklog.GetUpdatedWorklogIds.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=worklog.d.ts.map

@@ -67,2 +67,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=worklog.js.map

@@ -7,3 +7,3 @@ import { Myself } from '../types/myself';

*/
export declare function getCurrentUser<T = Myself.GetCurrentUser.Response.OK>(options: Myself.GetCurrentUser.Options.HandledApi): import("../common").TypedPromise<Myself.GetCurrentUser.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getCurrentUser<T = Myself.GetCurrentUser.Response.OK>(options: Myself.GetCurrentUser.Options.HandledApi): import("../common").TypedPromise<Myself.GetCurrentUser.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=myself.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=myself.js.map

@@ -7,3 +7,3 @@ import { Project } from '../types/project';

*/
export declare function getProjects<T = Project.GetProjects.Response.OK[]>(options: Project.GetProjects.Options.HandledApi): import("../common").TypedPromise<Project.GetProjects.Response.OK[] | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getProjects<T = Project.GetProjects.Response.OK[]>(options: Project.GetProjects.Options.HandledApi): import("../common").TypedPromise<Project.GetProjects.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Creates a new project.

*/
export declare function createProject<T = Project.CreateProject.Response.OK>(options: Project.CreateProject.Options.HandledApi): import("../common").TypedPromise<Project.CreateProject.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function createProject<T = Project.CreateProject.Response.OK>(options: Project.CreateProject.Options.HandledApi): import("../common").TypedPromise<Project.CreateProject.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Contains a full representation of a project in JSON format.

*/
export declare function getProject<T = Project.GetProject.Response.OK>(options: Project.GetProject.Options.HandledApi): import("../common").TypedPromise<Project.GetProject.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getProject<T = Project.GetProject.Response.OK>(options: Project.GetProject.Options.HandledApi): import("../common").TypedPromise<Project.GetProject.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Updates a project. Only non null values sent in JSON will be updated in the project.

*/
export declare function updateProject<T = Project.UpdateProject.Response.OK>(options: Project.UpdateProject.Options.HandledApi): import("../common").TypedPromise<Project.UpdateProject.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function updateProject<T = Project.UpdateProject.Response.OK>(options: Project.UpdateProject.Options.HandledApi): import("../common").TypedPromise<Project.UpdateProject.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Deletes a project.

*/
export declare function deleteProject<T = undefined>(options: Project.DeleteProject.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function deleteProject<T = undefined>(options: Project.DeleteProject.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -42,3 +42,3 @@ * Archives a project.

*/
export declare function archiveProject<T = undefined>(options: Project.ArchiveProject.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function archiveProject<T = undefined>(options: Project.ArchiveProject.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -49,3 +49,3 @@ * Contains a full representation of a the specified project's components.

*/
export declare function getProjectComponents<T = Project.GetComponents.Response.OK[]>(options: Project.GetComponents.Options.HandledApi): import("../common").TypedPromise<Project.GetComponents.Response.OK[] | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getProjectComponents<T = Project.GetComponents.Response.OK[]>(options: Project.GetComponents.Options.HandledApi): import("../common").TypedPromise<Project.GetComponents.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -56,3 +56,3 @@ * Restore an archived project. In case of success restored project should be re-indexed.

*/
export declare function restoreProject<T = undefined>(options: Project.RestoreProject.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function restoreProject<T = undefined>(options: Project.RestoreProject.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -63,3 +63,3 @@ * Get all issue types with valid status values for a project.

*/
export declare function getProjectStatuses<T = Project.GetStatuses.Response.OK[]>(options: Project.GetStatuses.Options.HandledApi): import("../common").TypedPromise<Project.GetStatuses.Response.OK[] | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getProjectStatuses<T = Project.GetStatuses.Response.OK[]>(options: Project.GetStatuses.Options.HandledApi): import("../common").TypedPromise<Project.GetStatuses.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -70,3 +70,3 @@ * Updates the type of a project.

*/
export declare function updateProjectType<T = Project.UpdateProjectType.Response.OK>(options: Project.UpdateProjectType.Options.HandledApi): import("../common").TypedPromise<Project.UpdateProjectType.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function updateProjectType<T = Project.UpdateProjectType.Response.OK>(options: Project.UpdateProjectType.Options.HandledApi): import("../common").TypedPromise<Project.UpdateProjectType.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -77,3 +77,3 @@ * Returns all versions for the specified project. Results are paginated.

*/
export declare function getProjectVersionsPaginated<T = Project.GetVersionsPaginated.Response.OK>(options: Project.GetVersionsPaginated.Options.HandledApi): import("../common").TypedPromise<Project.GetVersionsPaginated.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getProjectVersionsPaginated<T = Project.GetVersionsPaginated.Response.OK>(options: Project.GetVersionsPaginated.Options.HandledApi): import("../common").TypedPromise<Project.GetVersionsPaginated.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -84,3 +84,3 @@ * Contains a full representation of a the specified project's versions.

*/
export declare function getProjectVersions<T = Project.GetVersions.Response.OK[]>(options: Project.GetVersions.Options.HandledApi): import("../common").TypedPromise<Project.GetVersions.Response.OK[] | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getProjectVersions<T = Project.GetVersions.Response.OK[]>(options: Project.GetVersions.Options.HandledApi): import("../common").TypedPromise<Project.GetVersions.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=project.d.ts.map

@@ -99,2 +99,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=project.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../types/project';

*/
export declare function createProjectComponent<T = Project.Component.CreateComponent.Response.OK>(options: Project.Component.CreateComponent.Options.HandledApi): import("../../common").TypedPromise<Project.Component.CreateComponent.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function createProjectComponent<T = Project.Component.CreateComponent.Response.OK>(options: Project.Component.CreateComponent.Options.HandledApi): import("../../common").TypedPromise<Project.Component.CreateComponent.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns a project component.

*/
export declare function getProjectComponent<T = Project.Component.GetComponent.Response.OK>(options: Project.Component.GetComponent.Options.HandledApi): import("../../common").TypedPromise<Project.Component.GetComponent.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectComponent<T = Project.Component.GetComponent.Response.OK>(options: Project.Component.GetComponent.Options.HandledApi): import("../../common").TypedPromise<Project.Component.GetComponent.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Modify a component via PUT. If leadUserName is an empty string ("") the component lead will be removed.

*/
export declare function updateProjectComponent<T = Project.Component.UpdateComponent.Response.OK>(options: Project.Component.UpdateComponent.Options.HandledApi): import("../../common").TypedPromise<Project.Component.UpdateComponent.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function updateProjectComponent<T = Project.Component.UpdateComponent.Response.OK>(options: Project.Component.UpdateComponent.Options.HandledApi): import("../../common").TypedPromise<Project.Component.UpdateComponent.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Delete a project component.

*/
export declare function deleteProjectComponent<T = undefined>(options: Project.Component.DeleteComponent.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function deleteProjectComponent<T = undefined>(options: Project.Component.DeleteComponent.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Returns counts of issues related to this component.

*/
export declare function getProjectComponentRelatedIssues<T = Project.Component.GetRelatedIssues.Response.OK>(options: Project.Component.GetRelatedIssues.Options.HandledApi): import("../../common").TypedPromise<Project.Component.GetRelatedIssues.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectComponentRelatedIssues<T = Project.Component.GetRelatedIssues.Response.OK>(options: Project.Component.GetRelatedIssues.Options.HandledApi): import("../../common").TypedPromise<Project.Component.GetRelatedIssues.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=component.d.ts.map

@@ -43,2 +43,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=component.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../types/project';

*/
export declare function getProjectRoles<T = Project.Role.GetRoles.Response.OK>(options: Project.Role.GetRoles.Options.HandledApi): import("../../common").TypedPromise<Project.Role.GetRoles.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectRoles<T = Project.Role.GetRoles.Response.OK>(options: Project.Role.GetRoles.Options.HandledApi): import("../../common").TypedPromise<Project.Role.GetRoles.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns the details for a given project role in a project.

*/
export declare function getProjectRole<T = Project.Role.GetRole.Response.OK>(options: Project.Role.GetRole.Options.HandledApi): import("../../common").TypedPromise<Project.Role.GetRole.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectRole<T = Project.Role.GetRole.Response.OK>(options: Project.Role.GetRole.Options.HandledApi): import("../../common").TypedPromise<Project.Role.GetRole.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=role.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=role.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../../types/project';

*/
export declare function setProjectRoleActors<T = Project.Role.Actor.SetActors.Response.OK>(options: Project.Role.Actor.SetActors.Options.HandledApi): import("../../../common").TypedPromise<Project.Role.Actor.SetActors.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function setProjectRoleActors<T = Project.Role.Actor.SetActors.Response.OK>(options: Project.Role.Actor.SetActors.Options.HandledApi): import("../../../common").TypedPromise<Project.Role.Actor.SetActors.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Adds an actor (user or group) to a project role.

*/
export declare function addProjectRoleActorUsers<T = Project.Role.Actor.AddUsers.Response.OK>(options: Project.Role.Actor.AddUsers.Options.HandledApi): import("../../../common").TypedPromise<Project.Role.Actor.AddUsers.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function addProjectRoleActorUsers<T = Project.Role.Actor.AddUsers.Response.OK>(options: Project.Role.Actor.AddUsers.Options.HandledApi): import("../../../common").TypedPromise<Project.Role.Actor.AddUsers.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -23,3 +23,3 @@ * Deletes actors (users or groups) from a project role.

*/
export declare function deleteProjectRoleActor<T = undefined>(options: Project.Role.Actor.DeleteActor.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function deleteProjectRoleActor<T = undefined>(options: Project.Role.Actor.DeleteActor.Options.HandledApi): import("../../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=actor.d.ts.map

@@ -29,2 +29,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=actor.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../types/project';

*/
export declare function getProjectTypes<T = Project.Type.GetTypes.Response.OK[]>(options: Project.Type.GetTypes.Options.HandledApi): import("../../common").TypedPromise<Project.Type.GetTypes.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectTypes<T = Project.Type.GetTypes.Response.OK[]>(options: Project.Type.GetTypes.Options.HandledApi): import("../../common").TypedPromise<Project.Type.GetTypes.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns the project type with the given key.

*/
export declare function getProjectType<T = Project.Type.GetType.Response.OK>(options: Project.Type.GetType.Options.HandledApi): import("../../common").TypedPromise<Project.Type.GetType.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectType<T = Project.Type.GetType.Response.OK>(options: Project.Type.GetType.Options.HandledApi): import("../../common").TypedPromise<Project.Type.GetType.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Returns the project type with the given key, if it is accessible to the logged in user. This takes into account whether the user is licensed on the Application that defines the project type.

*/
export declare function getAccessibleProjectType<T = Project.Type.GetAccessibleType.Response.OK>(options: Project.Type.GetAccessibleType.Options.HandledApi): import("../../common").TypedPromise<Project.Type.GetAccessibleType.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getAccessibleProjectType<T = Project.Type.GetAccessibleType.Response.OK>(options: Project.Type.GetAccessibleType.Options.HandledApi): import("../../common").TypedPromise<Project.Type.GetAccessibleType.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=type.d.ts.map

@@ -27,2 +27,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=type.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../types/project';

*/
export declare function validateProjectKey<T = Project.Validation.ValidateProjectKey.Response.OK>(options: Project.Validation.ValidateProjectKey.Options.HandledApi): import("../../common").TypedPromise<Project.Validation.ValidateProjectKey.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function validateProjectKey<T = Project.Validation.ValidateProjectKey.Response.OK>(options: Project.Validation.ValidateProjectKey.Options.HandledApi): import("../../common").TypedPromise<Project.Validation.ValidateProjectKey.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=validation.d.ts.map

@@ -11,2 +11,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=validation.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../types/project';

*/
export declare function createProjectVersion<T = Project.Version.CreateVersion.Response.OK>(options: Project.Version.CreateVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.CreateVersion.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function createProjectVersion<T = Project.Version.CreateVersion.Response.OK>(options: Project.Version.CreateVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.CreateVersion.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Modify a version's sequence within a project.

*/
export declare function moveProjectVersion<T = Project.Version.MoveVersion.Response.OK>(options: Project.Version.MoveVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.MoveVersion.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function moveProjectVersion<T = Project.Version.MoveVersion.Response.OK>(options: Project.Version.MoveVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.MoveVersion.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Returns a project version.

*/
export declare function getProjectVersion<T = Project.Version.GetVersion.Response.OK>(options: Project.Version.GetVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.GetVersion.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getProjectVersion<T = Project.Version.GetVersion.Response.OK>(options: Project.Version.GetVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.GetVersion.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Modify a version via PUT. Any fields present in the PUT will override existing values. As a convenience, if a field is not present, it is silently ignored.

*/
export declare function updateProjectVersion<T = Project.Version.UpdateVersion.Response.OK>(options: Project.Version.UpdateVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.UpdateVersion.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function updateProjectVersion<T = Project.Version.UpdateVersion.Response.OK>(options: Project.Version.UpdateVersion.Options.HandledApi): import("../../common").TypedPromise<Project.Version.UpdateVersion.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Delete a project version.

*/
export declare function deleteProjectVersion<T = undefined>(options: Project.Version.DeleteVersion.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function deleteProjectVersion<T = undefined>(options: Project.Version.DeleteVersion.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -42,3 +42,3 @@ * Merge versions.

*/
export declare function mergeProjectVersion<T = undefined>(options: Project.Version.MergeVersion.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function mergeProjectVersion<T = undefined>(options: Project.Version.MergeVersion.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -49,3 +49,3 @@ * Delete a project version.

*/
export declare function removeAndReplaceProjectVersion<T = undefined>(options: Project.Version.RemoveAndReplaceVersion.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function removeAndReplaceProjectVersion<T = undefined>(options: Project.Version.RemoveAndReplaceVersion.Options.HandledApi): import("../../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=version.d.ts.map

@@ -59,2 +59,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=version.js.map

@@ -7,3 +7,3 @@ import { Project } from '../../../types/project';

*/
export declare function getProjectVersionRelatedIssueCount<T = Project.Version.Count.GetVersionRelatedIssueCount.Response.OK>(options: Project.Version.Count.GetVersionRelatedIssueCount.Options.HandledApi): import("../../../common").TypedPromise<Project.Version.Count.GetVersionRelatedIssueCount.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getProjectVersionRelatedIssueCount<T = Project.Version.Count.GetVersionRelatedIssueCount.Response.OK>(options: Project.Version.Count.GetVersionRelatedIssueCount.Options.HandledApi): import("../../../common").TypedPromise<Project.Version.Count.GetVersionRelatedIssueCount.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns the number of unresolved issues for the given version

*/
export declare function getProjectVersionUnresolvedIssueCount<T = Project.Version.Count.GetVersionUnresolvedIssueCount.Response.OK>(options: Project.Version.Count.GetVersionUnresolvedIssueCount.Options.HandledApi): import("../../../common").TypedPromise<Project.Version.Count.GetVersionUnresolvedIssueCount.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getProjectVersionUnresolvedIssueCount<T = Project.Version.Count.GetVersionUnresolvedIssueCount.Response.OK>(options: Project.Version.Count.GetVersionUnresolvedIssueCount.Options.HandledApi): import("../../../common").TypedPromise<Project.Version.Count.GetVersionUnresolvedIssueCount.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=count.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=count.js.map

@@ -7,3 +7,3 @@ import { Role } from '../../types/role';

*/
export declare function getGlobalProjectRoles<T = Role.Project.GetRoles.Response.OK[]>(options: Role.Project.GetRoles.Options.HandledApi): import("../../common").TypedPromise<Role.Project.GetRoles.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getGlobalProjectRoles<T = Role.Project.GetRoles.Response.OK[]>(options: Role.Project.GetRoles.Options.HandledApi): import("../../common").TypedPromise<Role.Project.GetRoles.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Get a specific ProjectRole available in JIRA.

*/
export declare function getGlobalProjectRole<T = Role.Project.GetRole.Response.OK>(options: Role.Project.GetRole.Options.HandledApi): import("../../common").TypedPromise<Role.Project.GetRole.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getGlobalProjectRole<T = Role.Project.GetRole.Response.OK>(options: Role.Project.GetRole.Options.HandledApi): import("../../common").TypedPromise<Role.Project.GetRole.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=project.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=project.js.map

@@ -7,3 +7,3 @@ import { User } from '../types/user';

*/
export declare function getUser<T = User.GetUser.Response.OK>(options: User.GetUser.Options.HandledApi): import("../common").TypedPromise<User.GetUser.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function getUser<T = User.GetUser.Response.OK>(options: User.GetUser.Options.HandledApi): import("../common").TypedPromise<User.GetUser.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Modify user. The "value" fields present will override the existing value. Fields skipped in request will not be changed.

*/
export declare function updateUser<T = User.UpdateUser.Response.OK>(options: User.UpdateUser.Options.HandledApi): import("../common").TypedPromise<User.UpdateUser.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function updateUser<T = User.UpdateUser.Response.OK>(options: User.UpdateUser.Options.HandledApi): import("../common").TypedPromise<User.UpdateUser.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -21,3 +21,3 @@ * Create user. By default created user will not be notified with email. If password field is not set then password will be randomly generated.

*/
export declare function createUser<T = User.CreateUser.Response.OK>(options: User.CreateUser.Options.HandledApi): import("../common").TypedPromise<User.CreateUser.Response.OK | T, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function createUser<T = User.CreateUser.Response.OK>(options: User.CreateUser.Options.HandledApi): import("../common").TypedPromise<User.CreateUser.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -28,3 +28,3 @@ * Removes user and its references (like project roles associations, watches, history).

*/
export declare function removeUser<T = undefined>(options: User.RemoveUser.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function removeUser<T = undefined>(options: User.RemoveUser.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -35,3 +35,3 @@ * Add user to given application. Admin permission will be required to perform this operation.

*/
export declare function addUserToApplication<T = undefined>(options: User.AddUserToApplication.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function addUserToApplication<T = undefined>(options: User.AddUserToApplication.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -42,3 +42,3 @@ * Remove user from given application. Admin permission will be required to perform this operation.

*/
export declare function removeUserFromApplication<T = undefined>(options: User.RemoveUserFromApplication.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function removeUserFromApplication<T = undefined>(options: User.RemoveUserFromApplication.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
/**

@@ -49,3 +49,3 @@ * Modify user password.

*/
export declare function changeUserPassword<T = undefined>(options: User.ChangeUserPassword.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
export declare function changeUserPassword<T = undefined>(options: User.ChangeUserPassword.Options.HandledApi): import("../common").TypedPromise<T | undefined, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("./common").AtlassianErrorResponse>>;
//# sourceMappingURL=user.d.ts.map

@@ -59,2 +59,1 @@ import { executeRequest } from './common';

}
//# sourceMappingURL=user.js.map

@@ -7,3 +7,3 @@ import { User } from '../../types/user';

*/
export declare function findAssignableUsers<T = User.Search.FindAssignableUsers.Response.OK[]>(options: User.Search.FindAssignableUsers.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindAssignableUsers.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function findAssignableUsers<T = User.Search.FindAssignableUsers.Response.OK[]>(options: User.Search.FindAssignableUsers.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindAssignableUsers.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -15,3 +15,3 @@ * Returns a list of active users that match the search string and have all specified permissions for the project or issue.

*/
export declare function findUsersWithAllPermissions<T = User.Search.FindUsersWithAllPermissions.Response.OK[]>(options: User.Search.FindUsersWithAllPermissions.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindUsersWithAllPermissions.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function findUsersWithAllPermissions<T = User.Search.FindUsersWithAllPermissions.Response.OK[]>(options: User.Search.FindUsersWithAllPermissions.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindUsersWithAllPermissions.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -22,3 +22,3 @@ * Returns a list of users that match the search string. This resource cannot be accessed anonymously.

*/
export declare function findUsers<T = User.Search.FindUsers.Response.OK[]>(options: User.Search.FindUsers.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindUsers.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function findUsers<T = User.Search.FindUsers.Response.OK[]>(options: User.Search.FindUsers.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindUsers.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -29,3 +29,3 @@ * Returns a list of active users that match the search string. This resource cannot be accessed anonymously and requires the Browse Users global permission. Given an issue key this resource will provide a list of users that match the search string and have the browse issue permission for the issue provided.

*/
export declare function findUsersWithBrowsePermission<T = User.Search.FindUsersWithBrowsePermission.Response.OK[]>(options: User.Search.FindUsersWithBrowsePermission.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindUsersWithBrowsePermission.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function findUsersWithBrowsePermission<T = User.Search.FindUsersWithBrowsePermission.Response.OK[]>(options: User.Search.FindUsersWithBrowsePermission.Options.HandledApi): import("../../common").TypedPromise<User.Search.FindUsersWithBrowsePermission.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=search.d.ts.map

@@ -36,2 +36,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=search.js.map

@@ -7,3 +7,3 @@ import { Workflow } from '../../types/workflow';

*/
export declare function getWorkflowStatuses<T = Workflow.Status.GetStatuses.Response.OK[]>(options: Workflow.Status.GetStatuses.Options.HandledApi): import("../../common").TypedPromise<Workflow.Status.GetStatuses.Response.OK[] | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getWorkflowStatuses<T = Workflow.Status.GetStatuses.Response.OK[]>(options: Workflow.Status.GetStatuses.Options.HandledApi): import("../../common").TypedPromise<Workflow.Status.GetStatuses.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns a full representation of the Status having the given id or name.

*/
export declare function getWorkflowStatus<T = Workflow.Status.GetStatus.Response.OK>(options: Workflow.Status.GetStatus.Options.HandledApi): import("../../common").TypedPromise<Workflow.Status.GetStatus.Response.OK | T, import("../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
export declare function getWorkflowStatus<T = Workflow.Status.GetStatus.Response.OK>(options: Workflow.Status.GetStatus.Options.HandledApi): import("../../common").TypedPromise<Workflow.Status.GetStatus.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../common").AtlassianErrorResponse>>;
//# sourceMappingURL=status.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../common';

}
//# sourceMappingURL=status.js.map

@@ -7,3 +7,3 @@ import { Workflow } from '../../../types/workflow';

*/
export declare function getWorkflowStatusCategories<T = Workflow.Status.Category.GetCategories.Response.OK[]>(options: Workflow.Status.Category.GetCategories.Options.HandledApi): import("../../../common").TypedPromise<Workflow.Status.Category.GetCategories.Response.OK[] | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getWorkflowStatusCategories<T = Workflow.Status.Category.GetCategories.Response.OK[]>(options: Workflow.Status.Category.GetCategories.Options.HandledApi): import("../../../common").TypedPromise<Workflow.Status.Category.GetCategories.Response.OK[] | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
/**

@@ -14,3 +14,3 @@ * Returns a full representation of the StatusCategory having the given id or key.

*/
export declare function getWorkflowStatusCategory<T = Workflow.Status.Category.GetCategory.Response.OK>(options: Workflow.Status.Category.GetCategory.Options.HandledApi): import("../../../common").TypedPromise<Workflow.Status.Category.GetCategory.Response.OK | T, import("../../../common").AnyError | import("@avst-api/commons").RequestValidationError | import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
export declare function getWorkflowStatusCategory<T = Workflow.Status.Category.GetCategory.Response.OK>(options: Workflow.Status.Category.GetCategory.Options.HandledApi): import("../../../common").TypedPromise<Workflow.Status.Category.GetCategory.Response.OK | T, import("@avst-api/commons").UnexpectedError | import("@avst-api/commons").HttpError<import("../../common").AtlassianErrorResponse>>;
//# sourceMappingURL=category.d.ts.map

@@ -19,2 +19,1 @@ import { executeRequest } from '../../common';

}
//# sourceMappingURL=category.js.map
{
"name": "@avst-api/jira7-server",
"version": "0.1.6",
"version": "0.1.7",
"description": "Adaptavist Managed API for Jira Server 7.13.9",

@@ -16,6 +16,6 @@ "main": "index.js",

"dependencies": {
"@avst-api/commons": "^0.1.8",
"@avst-api/commons": "0.1.9",
"@avst-types/runtime": "^0.12.0",
"fp-ts": "^2.0.5",
"io-ts": "^2.0.1"
"fp-ts": "^2.9.3",
"io-ts": "^2.2.13"
},

@@ -22,0 +22,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { AtlassianErrorResponse } from '../handled-api/common';

@@ -8,4 +8,2 @@ import { HeadersType as Headers, Response } from '@avst-api/commons';

}
export interface AccountIdProperty extends t.TypeOf<typeof AccountIdPropertyCodec> {
}
export interface NameProperty extends t.TypeOf<typeof NamePropertyCodec> {

@@ -21,5 +19,2 @@ }

}>;
export declare const AccountIdPropertyCodec: t.PartialC<{
accountId: t.StringC;
}>;
export declare const NamePropertyCodec: t.PartialC<{

@@ -32,10 +27,2 @@ name: t.StringC;

}>;
export declare const PagedResultCodec: t.PartialC<{
self: t.StringC;
nextPage: t.StringC;
maxResults: t.NumberC;
startAt: t.NumberC;
total: t.NumberC;
isLast: t.BooleanC;
}>;
export declare const ErrorCollectionCodec: t.PartialC<{

@@ -42,0 +29,0 @@ errorMessages: t.ArrayC<t.StringC>;

@@ -1,3 +0,3 @@

import * as t from 'io-ts/lib';
import { looksLikeNumber, getValidationErrors, RequestValidationError, getHeaders, getResponse, UnexpectedError } from '@avst-api/commons';
import * as t from 'io-ts/es6';
import { looksLikeNumber, getHeaders, getResponse, UnexpectedError } from '@avst-api/commons';
export const IdPropertyCodec = t.partial({

@@ -9,5 +9,2 @@ id: t.string

});
export const AccountIdPropertyCodec = t.partial({
accountId: t.string
});
export const NamePropertyCodec = t.partial({

@@ -20,10 +17,2 @@ name: t.string

});
export const PagedResultCodec = t.partial({
self: t.string,
nextPage: t.string,
maxResults: t.number,
startAt: t.number,
total: t.number,
isLast: t.boolean
});
export const ErrorCollectionCodec = t.partial({

@@ -69,9 +58,3 @@ errorMessages: t.array(t.string),

function performHttpCallWithRequestValidation(connection, decoder, urlPath, method, body, headers, skipBodyParsing = false) {
const validationErrors = getValidationErrors(decoder, body);
if (validationErrors.length > 0) {
return Promise.reject(new RequestValidationError(validationErrors));
}
else {
return performHttpCall(connection, urlPath, method, body, headers, skipBodyParsing);
}
return performHttpCall(connection, urlPath, method, body, headers, skipBodyParsing);
}

@@ -107,2 +90,1 @@ function performHttpCall(connection, urlPath, method, body, additionalHeaders, skipBodyParsing = false) {

}
//# sourceMappingURL=common.js.map

@@ -9,6 +9,5 @@ import { httpGet } from './common';

export function getFilter(options) {
const { connection: instanceId, id, headers, expand } = options;
const { connectionId: instanceId, id, headers, expand } = options;
const queryParams = { expand };
return httpGet(instanceId, constructUrl(`/rest/api/2/filter/${id}`, queryParams), headers);
}
//# sourceMappingURL=filter.js.map

@@ -10,3 +10,3 @@ import { GroupCodec } from '../types/group';

export function createGroup(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, GroupCodec.CreateGroup.Body, !!skipValidation, '/rest/api/2/group', body, headers);

@@ -20,6 +20,5 @@ }

export function removeGroup(options) {
const { connection: instanceId, headers, groupname, swapGroup } = options;
const { connectionId: instanceId, headers, groupname, swapGroup } = options;
const queryParams = { groupname, swapGroup };
return httpDelete(instanceId, constructUrl('/rest/api/2/group', queryParams), headers, true);
}
//# sourceMappingURL=group.js.map

@@ -10,3 +10,3 @@ import { GroupCodec } from '../../types/group';

export function getUsersFromGroup(options) {
const { connection: instanceId, headers, groupname, includeInactiveUsers, maxResults, startAt } = options;
const { connectionId: instanceId, headers, groupname, includeInactiveUsers, maxResults, startAt } = options;
const queryParams = { groupname, includeInactiveUsers, maxResults, startAt };

@@ -21,3 +21,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/group/member', queryParams), headers);

export function addUsersToGroup(options) {
const { connection: instanceId, body, headers, skipValidation, groupname } = options;
const { connectionId: instanceId, body, headers, skipValidation, groupname } = options;
const queryParams = { groupname };

@@ -32,6 +32,5 @@ return httpPost(instanceId, GroupCodec.User.AddUsers.Body, !!skipValidation, constructUrl('/rest/api/2/group/user', queryParams), body, headers);

export function removeUsersFromGroup(options) {
const { connection: instanceId, headers, groupname, username } = options;
const { connectionId: instanceId, headers, groupname, username } = options;
const queryParams = { groupname, username };
return httpDelete(instanceId, constructUrl('/rest/api/2/group/user', queryParams), headers, true);
}
//# sourceMappingURL=user.js.map

@@ -10,3 +10,3 @@ import { InstanceCodec } from '../types/instance';

export function getInstanceConfiguration(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/configuration', headers);

@@ -20,3 +20,3 @@ }

export function getApplicationProperty(options) {
const { connection: instanceId, headers, key, keyFilter, permissionLevel } = options;
const { connectionId: instanceId, headers, key, keyFilter, permissionLevel } = options;
const queryParams = { key, keyFilter, permissionLevel };

@@ -31,3 +31,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/application-properties', queryParams), headers);

export function setApplicationProperty(options) {
const { connection: instanceId, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, id, body, headers, skipValidation } = options;
return httpPut(instanceId, InstanceCodec.SetApplicationProperty.Body, !!skipValidation, `/rest/api/2/application-properties/${id}`, body, headers);

@@ -41,3 +41,3 @@ }

export function getAdvancedSettings(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/application-properties/advanced-settings', headers);

@@ -51,6 +51,5 @@ }

export function getInstanceInfo(options) {
const { connection: instanceId, headers, doHealthCheck } = options;
const { connectionId: instanceId, headers, doHealthCheck } = options;
const queryParams = { doHealthCheck };
return httpGet(instanceId, constructUrl('/rest/api/2/serverInfo', queryParams), headers);
}
//# sourceMappingURL=instance.js.map

@@ -13,3 +13,3 @@ import { IssueCodec } from '../types/issue';

export function createIssue(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.CreateIssue.Body, !!skipValidation, '/rest/api/2/issue', body, headers);

@@ -23,3 +23,3 @@ }

export function deleteIssue(options) {
const { connection: instanceId, issueIdOrKey, headers, deleteSubtasks } = options;
const { connectionId: instanceId, issueIdOrKey, headers, deleteSubtasks } = options;
const queryParams = { deleteSubtasks };

@@ -35,3 +35,3 @@ return httpDelete(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}`, queryParams), headers, true);

export function getIssue(options) {
const { connection: instanceId, issueIdOrKey, headers, expand, fields, properties, updateHistory } = options;
const { connectionId: instanceId, issueIdOrKey, headers, expand, fields, properties, updateHistory } = options;
const queryParams = { expand, fields, properties, updateHistory };

@@ -51,3 +51,3 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}`, queryParams), headers);

export function editIssue(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation, notifyUsers } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation, notifyUsers } = options;
const queryParams = { notifyUsers };

@@ -62,3 +62,3 @@ return httpPut(instanceId, IssueCodec.EditIssue.Body, !!skipValidation, constructUrl(`/rest/api/2/issue/${issueIdOrKey}`, queryParams), body, headers, true);

export function assignIssue(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
return httpPut(instanceId, IssueCodec.AssignIssue.Body, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/assignee`, body, headers, true);

@@ -72,5 +72,4 @@ }

export function sendNotificationForIssue(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.SendNotification.Body, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/notify`, body, headers, true);
}
//# sourceMappingURL=issue.js.map
import { httpDelete, httpGet, httpPost } from '../common';
import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { getBodyForFileUpload } from '@avst-api/commons';

@@ -10,3 +10,3 @@ /**

export function getIssueAttachment(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/attachment/${id}`, headers);

@@ -20,3 +20,3 @@ }

export function removeIssueAttachment(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpDelete(instanceId, `/rest/api/2/attachment/${id}`, headers, true);

@@ -30,5 +30,4 @@ }

export function addIssueAttachment(options) {
const { connection: instanceId, issueIdOrKey, body, headers } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers } = options;
return httpPost(instanceId, t.undefined, true, `/rest/api/2/issue/${issueIdOrKey}/attachments`, getBodyForFileUpload(body), headers);
}
//# sourceMappingURL=attachment.js.map

@@ -8,5 +8,4 @@ import { httpGet } from '../../common';

export function getIssueAttachmentMetadata(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/attachment/meta', headers);
}
//# sourceMappingURL=metadata.js.map

@@ -10,3 +10,3 @@ import { IssueCodec } from '../../types/issue';

export function getIssueComments(options) {
const { connection: instanceId, issueIdOrKey, headers, expand, startAt, maxResults, orderBy } = options;
const { connectionId: instanceId, issueIdOrKey, headers, expand, startAt, maxResults, orderBy } = options;
const queryParams = { expand, startAt, maxResults, orderBy };

@@ -21,3 +21,3 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/comment`, queryParams), headers);

export function addIssueComment(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation, expand } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation, expand } = options;
const queryParams = { expand };

@@ -32,3 +32,3 @@ return httpPost(instanceId, IssueCodec.Comment.AddComment.Body, !!skipValidation, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/comment`, queryParams), body, headers);

export function getIssueComment(options) {
const { connection: instanceId, issueIdOrKey, id, headers, expand } = options;
const { connectionId: instanceId, issueIdOrKey, id, headers, expand } = options;
const queryParams = { expand };

@@ -43,3 +43,3 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/comment/${id}`, queryParams), headers);

export function updateIssueComment(options) {
const { connection: instanceId, issueIdOrKey, id, body, headers, skipValidation, expand } = options;
const { connectionId: instanceId, issueIdOrKey, id, body, headers, skipValidation, expand } = options;
const queryParams = { expand };

@@ -54,5 +54,4 @@ return httpPut(instanceId, IssueCodec.Comment.UpdateComment.Body, !!skipValidation, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/comment/${id}`, queryParams), body, headers);

export function deleteIssueComment(options) {
const { connection: instanceId, issueIdOrKey, id, headers } = options;
const { connectionId: instanceId, issueIdOrKey, id, headers } = options;
return httpDelete(instanceId, `/rest/api/2/issue/${issueIdOrKey}/comment/${id}`, headers, true);
}
//# sourceMappingURL=comment.js.map

@@ -8,5 +8,4 @@ import { httpGet } from '../common';

export function getIssueFields(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/field', headers);
}
//# sourceMappingURL=field.js.map

@@ -8,6 +8,5 @@ import { httpGet } from '../../common';

export function getIssueCustomFields(options) {
const { connection: instanceId, headers, maxResults, startAt, search } = options;
const { connectionId: instanceId, headers, maxResults, startAt, search } = options;
const queryParams = { maxResults, startAt, search };
return httpGet(instanceId, constructUrl('/rest/api/2/customFields', queryParams), headers);
}
//# sourceMappingURL=custom.js.map

@@ -8,5 +8,4 @@ import { httpGet } from '../../../common';

export function getIssueCustomFieldOption(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/customFieldOption/${id}`, headers);
}
//# sourceMappingURL=option.js.map

@@ -9,3 +9,3 @@ import { IssueCodec } from '../../types/issue';

export function createIssueLink(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.Link.CreateLink.Body, !!skipValidation, '/rest/api/2/issueLink', body, headers, true);

@@ -19,3 +19,3 @@ }

export function getIssueLink(options) {
const { connection: instanceId, linkId, headers } = options;
const { connectionId: instanceId, linkId, headers } = options;
return httpGet(instanceId, `/rest/api/2/issueLink/${linkId}`, headers);

@@ -29,5 +29,4 @@ }

export function deleteIssueLink(options) {
const { connection: instanceId, linkId, headers } = options;
const { connectionId: instanceId, linkId, headers } = options;
return httpDelete(instanceId, `/rest/api/2/issueLink/${linkId}`, headers, true);
}
//# sourceMappingURL=link.js.map

@@ -10,3 +10,3 @@ import { IssueCodec } from '../../../types/issue';

export function getRemoteIssueLinks(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/remotelink`, headers);

@@ -20,3 +20,3 @@ }

export function createOrUpdateRemoteIssueLink(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.Link.Remote.CreateOrUpdateLink.Body, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/remotelink`, body, headers);

@@ -30,3 +30,3 @@ }

export function deleteRemoteIssueLinkByGlobalId(options) {
const { connection: instanceId, issueIdOrKey, headers, globalId } = options;
const { connectionId: instanceId, issueIdOrKey, headers, globalId } = options;
const queryParams = { globalId };

@@ -41,3 +41,3 @@ return httpDelete(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/remotelink`, queryParams), headers, true);

export function getRemoteIssueLink(options) {
const { connection: instanceId, issueIdOrKey, linkId, headers } = options;
const { connectionId: instanceId, issueIdOrKey, linkId, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/remotelink/${linkId}`, headers);

@@ -51,3 +51,3 @@ }

export function updateRemoteIssueLink(options) {
const { connection: instanceId, issueIdOrKey, linkId, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, linkId, body, headers, skipValidation } = options;
return httpPut(instanceId, IssueCodec.Link.Remote.UpdateLink.Body, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/remotelink/${linkId}`, body, headers, true);

@@ -61,5 +61,4 @@ }

export function deleteRemoteIssueLink(options) {
const { connection: instanceId, issueIdOrKey, linkId, headers } = options;
const { connectionId: instanceId, issueIdOrKey, linkId, headers } = options;
return httpDelete(instanceId, `/rest/api/2/issue/${issueIdOrKey}/remotelink/${linkId}`, headers, true);
}
//# sourceMappingURL=remote.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../../common';

export function getIssueLinkTypes(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/issueLinkType', headers);

@@ -18,5 +18,4 @@ }

export function getIssueLinkType(options) {
const { connection: instanceId, issueLinkTypeId, headers } = options;
const { connectionId: instanceId, issueLinkTypeId, headers } = options;
return httpGet(instanceId, `/rest/api/2/issueLinkType/${issueLinkTypeId}`, headers);
}
//# sourceMappingURL=type.js.map

@@ -9,3 +9,3 @@ import { httpGet } from '../common';

export function getEditIssueMetadata(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/editmeta`, headers);

@@ -22,6 +22,5 @@ }

export function getCreateIssueMetadata(options) {
const { connection: instanceId, headers, issuetypeIds, issuetypeNames, projectIds, projectKeys } = options;
const { connectionId: instanceId, headers, issuetypeIds, issuetypeNames, projectIds, projectKeys } = options;
const queryParams = { issuetypeIds, issuetypeNames, projectIds, projectKeys };
return httpGet(instanceId, constructUrl('/rest/api/2/issue/createmeta', queryParams), headers);
}
//# sourceMappingURL=metadata.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getIssuePriorities(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/priority', headers);

@@ -18,5 +18,4 @@ }

export function getIssuePriority(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/priority/${id}`, headers);
}
//# sourceMappingURL=priority.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getIssueResolutions(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/resolution', headers);

@@ -18,5 +18,4 @@ }

export function getIssueResolution(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/resolution/${id}`, headers);
}
//# sourceMappingURL=resolution.js.map

@@ -9,5 +9,4 @@ import { IssueCodec } from '../../types/issue';

export function searchIssuesByJql(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.Search.SearchByJql.Body, !!skipValidation, '/rest/api/2/search', body, headers);
}
//# sourceMappingURL=search.js.map

@@ -9,3 +9,3 @@ import { IssueCodec } from '../../types/issue';

export function getIssueSubTasks(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/subtask`, headers);

@@ -18,3 +18,3 @@ }

export function canMoveIssueSubTask(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/subtask/move`, headers);

@@ -28,5 +28,4 @@ }

export function moveIssueSubTasks(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.SubTask.MoveSubTasks.Body, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/subtask/move`, body, headers, true);
}
//# sourceMappingURL=subTask.js.map

@@ -12,3 +12,3 @@ import { IssueCodec } from '../../types/issue';

export function getIssueTransitions(options) {
const { connection: instanceId, issueIdOrKey, headers, expand, transitionId } = options;
const { connectionId: instanceId, issueIdOrKey, headers, expand, transitionId } = options;
const queryParams = { expand, transitionId };

@@ -24,5 +24,4 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/transitions`, queryParams), headers);

export function performIssueTransition(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.Transition.PerformTransition.Body, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/transitions`, body, headers, true);
}
//# sourceMappingURL=transition.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getIssueTypes(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/issuetype', headers);

@@ -18,5 +18,4 @@ }

export function getIssueType(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/issuetype/${id}`, headers);
}
//# sourceMappingURL=type.js.map
import { httpPost, httpGet, httpDelete } from '../common';
import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
/**

@@ -9,3 +9,3 @@ * Remove your vote from an issue. (i.e. "unvote").

export function removeIssueVote(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpDelete(instanceId, `/rest/api/2/issue/${issueIdOrKey}/votes`, headers, true);

@@ -19,3 +19,3 @@ }

export function addIssueVote(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpPost(instanceId, t.undefined, true, `/rest/api/2/issue/${issueIdOrKey}/votes`, undefined, headers, true);

@@ -29,5 +29,4 @@ }

export function getIssueVotes(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/votes`, headers);
}
//# sourceMappingURL=vote.js.map
import { httpPost, httpGet, httpDelete } from '../common';
import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { constructUrl } from '@avst-api/commons';

@@ -10,3 +10,3 @@ /**

export function getIssueWatchers(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/watchers`, headers);

@@ -20,3 +20,3 @@ }

export function addIssueWatcher(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation } = options;
return httpPost(instanceId, t.string, !!skipValidation, `/rest/api/2/issue/${issueIdOrKey}/watchers`, body, headers, true);

@@ -30,6 +30,5 @@ }

export function removeIssueWatcher(options) {
const { connection: instanceId, issueIdOrKey, headers, username } = options;
const { connectionId: instanceId, issueIdOrKey, headers, username } = options;
const queryParams = { username };
return httpDelete(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/watchers`, queryParams), headers, true);
}
//# sourceMappingURL=watcher.js.map

@@ -10,3 +10,3 @@ import { IssueCodec } from '../../types/issue';

export function getIssueWorklogs(options) {
const { connection: instanceId, issueIdOrKey, headers } = options;
const { connectionId: instanceId, issueIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/worklog`, headers);

@@ -20,3 +20,3 @@ }

export function addIssueWorklog(options) {
const { connection: instanceId, issueIdOrKey, body, headers, skipValidation, adjustEstimate, newEstimate, reduceBy } = options;
const { connectionId: instanceId, issueIdOrKey, body, headers, skipValidation, adjustEstimate, newEstimate, reduceBy } = options;
const queryParams = { adjustEstimate, newEstimate, reduceBy };

@@ -31,3 +31,3 @@ return httpPost(instanceId, IssueCodec.Worklog.AddWorklog.Body, !!skipValidation, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/worklog`, queryParams), body, headers);

export function getIssueWorklog(options) {
const { connection: instanceId, issueIdOrKey, id, headers } = options;
const { connectionId: instanceId, issueIdOrKey, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/issue/${issueIdOrKey}/worklog/${id}`, headers);

@@ -41,3 +41,3 @@ }

export function updateIssueWorklog(options) {
const { connection: instanceId, issueIdOrKey, id, body, headers, skipValidation, newEstimate, adjustEstimate } = options;
const { connectionId: instanceId, issueIdOrKey, id, body, headers, skipValidation, newEstimate, adjustEstimate } = options;
const queryParams = { adjustEstimate, newEstimate };

@@ -52,3 +52,3 @@ return httpPut(instanceId, IssueCodec.Worklog.UpdateWorklog.Body, !!skipValidation, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/worklog/${id}`, queryParams), body, headers);

export function deleteIssueWorklog(options) {
const { connection: instanceId, issueIdOrKey, id, headers, adjustEstimate, newEstimate, increaseBy } = options;
const { connectionId: instanceId, issueIdOrKey, id, headers, adjustEstimate, newEstimate, increaseBy } = options;
const queryParams = { adjustEstimate, newEstimate, increaseBy };

@@ -63,3 +63,3 @@ return httpDelete(instanceId, constructUrl(`/rest/api/2/issue/${issueIdOrKey}/worklog/${id}`, queryParams), headers, true);

export function getDeletedIssueWorklogIds(options) {
const { connection: instanceId, headers, since } = options;
const { connectionId: instanceId, headers, since } = options;
const queryParams = { since };

@@ -74,3 +74,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/worklog/deleted', queryParams), headers);

export function getIssueWorklogsForIds(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, IssueCodec.Worklog.GetWorklogsForIds.Body, !!skipValidation, '/rest/api/2/worklog/list', body, headers);

@@ -84,6 +84,5 @@ }

export function getUpdatedIssueWorklogIds(options) {
const { connection: instanceId, headers, since } = options;
const { connectionId: instanceId, headers, since } = options;
const queryParams = { since };
return httpGet(instanceId, constructUrl('/rest/api/2/worklog/updated', queryParams), headers);
}
//# sourceMappingURL=worklog.js.map

@@ -8,5 +8,4 @@ import { httpGet } from './common';

export function getCurrentUser(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/myself', headers);
}
//# sourceMappingURL=myself.js.map
import { ProjectCodec } from '../types/project';
import { httpGet, httpPost, httpPut, httpDelete } from './common';
import { constructUrl } from '@avst-api/commons';
import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
/**

@@ -11,3 +11,3 @@ * Returns all projects which are visible for the currently logged in user. If no user is logged in, it returns the list of projects that are visible when using anonymous access.

export function getProjects(options) {
const { connection: instanceId, headers, expand, includeArchived, recent } = options;
const { connectionId: instanceId, headers, expand, includeArchived, recent } = options;
const queryParams = { expand, includeArchived, recent };

@@ -22,3 +22,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/project', queryParams), headers);

export function createProject(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, ProjectCodec.CreateProject.Body, !!skipValidation, '/rest/api/2/project', body, headers);

@@ -32,3 +32,3 @@ }

export function getProject(options) {
const { connection: instanceId, projectIdOrKey, headers, expand } = options;
const { connectionId: instanceId, projectIdOrKey, headers, expand } = options;
const queryParams = { expand };

@@ -43,3 +43,3 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/project/${projectIdOrKey}`, queryParams), headers);

export function updateProject(options) {
const { connection: instanceId, projectIdOrKey, body, headers, skipValidation, expand } = options;
const { connectionId: instanceId, projectIdOrKey, body, headers, skipValidation, expand } = options;
const queryParams = { expand };

@@ -54,3 +54,3 @@ return httpPut(instanceId, ProjectCodec.UpdateProject.Body, !!skipValidation, constructUrl(`/rest/api/2/project/${projectIdOrKey}`, queryParams), body, headers);

export function deleteProject(options) {
const { connection: instanceId, projectIdOrKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, headers } = options;
return httpDelete(instanceId, `/rest/api/2/project/${projectIdOrKey}`, headers, true);

@@ -64,3 +64,3 @@ }

export function archiveProject(options) {
const { connection: instanceId, projectIdOrKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, headers } = options;
return httpPut(instanceId, t.undefined, true, `/rest/api/2/project/${projectIdOrKey}/archive`, undefined, headers, true);

@@ -74,3 +74,3 @@ }

export function getProjectComponents(options) {
const { connection: instanceId, projectIdOrKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/project/${projectIdOrKey}/components`, headers);

@@ -84,3 +84,3 @@ }

export function restoreProject(options) {
const { connection: instanceId, projectIdOrKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, headers } = options;
return httpPut(instanceId, t.undefined, true, `/rest/api/2/project/${projectIdOrKey}/restore`, undefined, headers, true);

@@ -94,3 +94,3 @@ }

export function getProjectStatuses(options) {
const { connection: instanceId, projectIdOrKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/project/${projectIdOrKey}/statuses`, headers);

@@ -104,3 +104,3 @@ }

export function updateProjectType(options) {
const { connection: instanceId, projectIdOrKey, newProjectTypeKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, newProjectTypeKey, headers } = options;
return httpPut(instanceId, t.undefined, true, `/rest/api/2/project/${projectIdOrKey}/type/${newProjectTypeKey}`, undefined, headers);

@@ -114,3 +114,3 @@ }

export function getProjectVersionsPaginated(options) {
const { connection: instanceId, projectIdOrKey, headers, expand, maxResults, orderBy, startAt } = options;
const { connectionId: instanceId, projectIdOrKey, headers, expand, maxResults, orderBy, startAt } = options;
const queryParams = { expand, maxResults, orderBy, startAt };

@@ -125,6 +125,5 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/project/${projectIdOrKey}/version`, queryParams), headers);

export function getProjectVersions(options) {
const { connection: instanceId, projectIdOrKey, headers, expand } = options;
const { connectionId: instanceId, projectIdOrKey, headers, expand } = options;
const queryParams = { expand };
return httpGet(instanceId, constructUrl(`/rest/api/2/project/${projectIdOrKey}/versions`, queryParams), headers);
}
//# sourceMappingURL=project.js.map

@@ -10,3 +10,3 @@ import { ProjectCodec } from '../../types/project';

export function createProjectComponent(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, ProjectCodec.Component.CreateComponent.Body, !!skipValidation, '/rest/api/2/component', body, headers);

@@ -20,3 +20,3 @@ }

export function getProjectComponent(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/component/${id}`, headers);

@@ -30,3 +30,3 @@ }

export function updateProjectComponent(options) {
const { connection: instanceId, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, id, body, headers, skipValidation } = options;
return httpPut(instanceId, ProjectCodec.Component.UpdateComponent.Body, !!skipValidation, `/rest/api/2/component/${id}`, body, headers);

@@ -40,3 +40,3 @@ }

export function deleteProjectComponent(options) {
const { connection: instanceId, id, headers, moveIssuesTo } = options;
const { connectionId: instanceId, id, headers, moveIssuesTo } = options;
const queryParams = { moveIssuesTo };

@@ -51,5 +51,4 @@ return httpDelete(instanceId, constructUrl(`/rest/api/2/component/${id}`, queryParams), headers, true);

export function getProjectComponentRelatedIssues(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/component/${id}/relatedIssueCounts`, headers);
}
//# sourceMappingURL=component.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getProjectRoles(options) {
const { connection: instanceId, projectIdOrKey, headers } = options;
const { connectionId: instanceId, projectIdOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/project/${projectIdOrKey}/role`, headers);

@@ -18,5 +18,4 @@ }

export function getProjectRole(options) {
const { connection: instanceId, projectIdOrKey, id, headers } = options;
const { connectionId: instanceId, projectIdOrKey, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/project/${projectIdOrKey}/role/${id}`, headers);
}
//# sourceMappingURL=role.js.map

@@ -10,3 +10,3 @@ import { ProjectCodec } from '../../../types/project';

export function setProjectRoleActors(options) {
const { connection: instanceId, projectIdOrKey, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, projectIdOrKey, id, body, headers, skipValidation } = options;
return httpPut(instanceId, ProjectCodec.Role.Actor.SetActors.Body, !!skipValidation, `/rest/api/2/project/${projectIdOrKey}/role/${id}`, body, headers);

@@ -20,3 +20,3 @@ }

export function addProjectRoleActorUsers(options) {
const { connection: instanceId, projectIdOrKey, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, projectIdOrKey, id, body, headers, skipValidation } = options;
return httpPost(instanceId, ProjectCodec.Role.Actor.AddUsers.Body, !!skipValidation, `/rest/api/2/project/${projectIdOrKey}/role/${id}`, body, headers);

@@ -32,6 +32,5 @@ }

export function deleteProjectRoleActor(options) {
const { connection: instanceId, projectIdOrKey, id, headers, group, user } = options;
const { connectionId: instanceId, projectIdOrKey, id, headers, group, user } = options;
const queryParams = { group, user };
return httpDelete(instanceId, constructUrl(`/rest/api/2/project/${projectIdOrKey}/role/${id}`, queryParams), headers, true);
}
//# sourceMappingURL=actor.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getProjectTypes(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/project/type', headers);

@@ -18,3 +18,3 @@ }

export function getProjectType(options) {
const { connection: instanceId, projectTypeKey, headers } = options;
const { connectionId: instanceId, projectTypeKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/project/type/${projectTypeKey}`, headers);

@@ -28,5 +28,4 @@ }

export function getAccessibleProjectType(options) {
const { connection: instanceId, projectTypeKey, headers } = options;
const { connectionId: instanceId, projectTypeKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/project/type/${projectTypeKey}/accessible`, headers);
}
//# sourceMappingURL=type.js.map

@@ -9,6 +9,5 @@ import { httpGet } from '../common';

export function validateProjectKey(options) {
const { connection: instanceId, headers, key } = options;
const { connectionId: instanceId, headers, key } = options;
const queryParams = { key };
return httpGet(instanceId, constructUrl('/rest/api/2/projectvalidate/key', queryParams), headers);
}
//# sourceMappingURL=validation.js.map
import { ProjectCodec } from '../../types/project';
import { httpGet, httpPost, httpPut, httpDelete } from '../common';
import { constructUrl } from '@avst-api/commons';
import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
/**

@@ -11,3 +11,3 @@ * Create a version via POST.

export function createProjectVersion(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, ProjectCodec.Version.CreateVersion.Body, !!skipValidation, '/rest/api/2/version', body, headers);

@@ -21,3 +21,3 @@ }

export function moveProjectVersion(options) {
const { connection: instanceId, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, id, body, headers, skipValidation } = options;
return httpPost(instanceId, ProjectCodec.Version.MoveVersion.Body, !!skipValidation, `/rest/api/2/version/${id}/move`, body, headers);

@@ -31,3 +31,3 @@ }

export function getProjectVersion(options) {
const { connection: instanceId, id, headers, expand } = options;
const { connectionId: instanceId, id, headers, expand } = options;
const queryParams = { expand };

@@ -42,3 +42,3 @@ return httpGet(instanceId, constructUrl(`/rest/api/2/version/${id}`, queryParams), headers);

export function updateProjectVersion(options) {
const { connection: instanceId, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, id, body, headers, skipValidation } = options;
return httpPut(instanceId, ProjectCodec.Version.UpdateVersion.Body, !!skipValidation, `/rest/api/2/version/${id}`, body, headers);

@@ -52,3 +52,3 @@ }

export function deleteProjectVersion(options) {
const { connection: instanceId, id, headers, moveAffectedIssuesTo, moveFixIssuesTo } = options;
const { connectionId: instanceId, id, headers, moveAffectedIssuesTo, moveFixIssuesTo } = options;
const queryParams = { moveAffectedIssuesTo, moveFixIssuesTo };

@@ -63,3 +63,3 @@ return httpDelete(instanceId, constructUrl(`/rest/api/2/version/${id}`, queryParams), headers, true);

export function mergeProjectVersion(options) {
const { connection: instanceId, id, moveIssuesTo, headers } = options;
const { connectionId: instanceId, id, moveIssuesTo, headers } = options;
return httpPut(instanceId, t.undefined, true, `/rest/api/2/version/${id}/mergeto/${moveIssuesTo}`, undefined, headers, true);

@@ -73,5 +73,4 @@ }

export function removeAndReplaceProjectVersion(options) {
const { connection: instanceId, id, body, headers, skipValidation } = options;
const { connectionId: instanceId, id, body, headers, skipValidation } = options;
return httpPost(instanceId, ProjectCodec.Version.RemoveAndReplaceVersion.Body, !!skipValidation, `/rest/api/2/version/${id}/removeAndSwap`, body, headers, true);
}
//# sourceMappingURL=version.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../../common';

export function getProjectVersionRelatedIssueCount(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/version/${id}/relatedIssueCounts`, headers);

@@ -18,5 +18,4 @@ }

export function getProjectVersionUnresolvedIssueCount(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/version/${id}/unresolvedIssueCount`, headers);
}
//# sourceMappingURL=count.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getGlobalProjectRoles(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/role', headers);

@@ -18,5 +18,4 @@ }

export function getGlobalProjectRole(options) {
const { connection: instanceId, id, headers } = options;
const { connectionId: instanceId, id, headers } = options;
return httpGet(instanceId, `/rest/api/2/role/${id}`, headers);
}
//# sourceMappingURL=project.js.map
import { UserCodec } from '../types/user';
import { httpGet, httpDelete, httpPost, httpPut } from './common';
import { constructUrl } from '@avst-api/commons';
import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
/**

@@ -11,3 +11,3 @@ * Returns a user.

export function getUser(options) {
const { connection: instanceId, headers, key, username } = options;
const { connectionId: instanceId, headers, key, username } = options;
const queryParams = { key, username };

@@ -22,3 +22,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/user', queryParams), headers);

export function updateUser(options) {
const { connection: instanceId, body, headers, skipValidation, key, username } = options;
const { connectionId: instanceId, body, headers, skipValidation, key, username } = options;
const queryParams = { key, username };

@@ -33,3 +33,3 @@ return httpPut(instanceId, UserCodec.UpdateUser.Body, !!skipValidation, constructUrl('/rest/api/2/user', queryParams), body, headers);

export function createUser(options) {
const { connection: instanceId, body, headers, skipValidation } = options;
const { connectionId: instanceId, body, headers, skipValidation } = options;
return httpPost(instanceId, UserCodec.CreateUser.Body, !!skipValidation, '/rest/api/2/user', body, headers);

@@ -43,3 +43,3 @@ }

export function removeUser(options) {
const { connection: instanceId, headers, key, username } = options;
const { connectionId: instanceId, headers, key, username } = options;
const queryParams = { key, username };

@@ -54,3 +54,3 @@ return httpDelete(instanceId, constructUrl('/rest/api/2/user', queryParams), headers, true);

export function addUserToApplication(options) {
const { connection: instanceId, headers, applicationKey, username } = options;
const { connectionId: instanceId, headers, applicationKey, username } = options;
const queryParams = { applicationKey, username };

@@ -65,3 +65,3 @@ return httpPost(instanceId, t.undefined, true, constructUrl('/rest/api/2/user/application', queryParams), undefined, headers, true);

export function removeUserFromApplication(options) {
const { connection: instanceId, headers, applicationKey, username } = options;
const { connectionId: instanceId, headers, applicationKey, username } = options;
const queryParams = { applicationKey, username };

@@ -76,6 +76,5 @@ return httpDelete(instanceId, constructUrl('/rest/api/2/user/application', queryParams), headers, true);

export function changeUserPassword(options) {
const { connection: instanceId, body, headers, skipValidation, key, username } = options;
const { connectionId: instanceId, body, headers, skipValidation, key, username } = options;
const queryParams = { key, username };
return httpPut(instanceId, UserCodec.ChangeUserPassword.Body, !!skipValidation, constructUrl('/rest/api/2/user/password', queryParams), body, headers, true);
}
//# sourceMappingURL=user.js.map

@@ -9,3 +9,3 @@ import { httpGet } from '../common';

export function findAssignableUsers(options) {
const { connection: instanceId, headers, username, startAt, maxResults, actionDescriptorId, issueKey, project } = options;
const { connectionId: instanceId, headers, username, startAt, maxResults, actionDescriptorId, issueKey, project } = options;
const queryParams = { username, startAt, maxResults, actionDescriptorId, issueKey, project };

@@ -21,3 +21,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/user/assignable/search', queryParams), headers);

export function findUsersWithAllPermissions(options) {
const { connection: instanceId, headers, username, startAt, maxResults, issueKey, permissions, projectKey } = options;
const { connectionId: instanceId, headers, username, startAt, maxResults, issueKey, permissions, projectKey } = options;
const queryParams = { username, startAt, maxResults, issueKey, permissions, projectKey };

@@ -32,3 +32,3 @@ return httpGet(instanceId, constructUrl('/rest/api/2/user/permission/search', queryParams), headers);

export function findUsers(options) {
const { connection: instanceId, headers, username, startAt, maxResults, includeActive, includeInactive } = options;
const { connectionId: instanceId, headers, username, startAt, maxResults, includeActive, includeInactive } = options;
const queryParams = { username, startAt, maxResults, includeActive, includeInactive };

@@ -43,6 +43,5 @@ return httpGet(instanceId, constructUrl('/rest/api/2/user/search', queryParams), headers);

export function findUsersWithBrowsePermission(options) {
const { connection: instanceId, headers, username, startAt, maxResults, projectKey, issueKey } = options;
const { connectionId: instanceId, headers, username, startAt, maxResults, projectKey, issueKey } = options;
const queryParams = { username, startAt, maxResults, projectKey, issueKey };
return httpGet(instanceId, constructUrl('/rest/api/2/user/viewissue/search', queryParams), headers);
}
//# sourceMappingURL=search.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../common';

export function getWorkflowStatuses(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/status', headers);

@@ -18,5 +18,4 @@ }

export function getWorkflowStatus(options) {
const { connection: instanceId, idOrName, headers } = options;
const { connectionId: instanceId, idOrName, headers } = options;
return httpGet(instanceId, `/rest/api/2/status/${idOrName}`, headers);
}
//# sourceMappingURL=status.js.map

@@ -8,3 +8,3 @@ import { httpGet } from '../../common';

export function getWorkflowStatusCategories(options) {
const { connection: instanceId, headers } = options;
const { connectionId: instanceId, headers } = options;
return httpGet(instanceId, '/rest/api/2/statuscategory', headers);

@@ -18,5 +18,4 @@ }

export function getWorkflowStatusCategory(options) {
const { connection: instanceId, idOrKey, headers } = options;
const { connectionId: instanceId, idOrKey, headers } = options;
return httpGet(instanceId, `/rest/api/2/statuscategory/${idOrKey}`, headers);
}
//# sourceMappingURL=category.js.map

@@ -5,2 +5,8 @@ # 0.1.6

* From <b>http-api</b> to <b>raw-api</b>
* From <b>managed-api</b> to <b>handled-api</b>
* From <b>managed-api</b> to <b>handled-api</b>
# 0.1.7
- Added `setGlobalErrorStrategy` method to allow another way to set the global error strategy.
- Renamed `connection` property to `connectionId` in `raw-api` and `handled-api` layers.
- Removed `AnyError` and `ValidationError` from `TypedPromise` return signature.

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, ConnectionOption } from '@avst-api/commons';

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_group } from '../definitions/objs_group';

@@ -77,2 +77,1 @@ import { objs_user_full } from '../definitions/objs_user';

})(FilterCodec || (FilterCodec = {}));
//# sourceMappingURL=filter.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, SkipValidationOption, ConnectionOption } from '@avst-api/commons';

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_partial } from '../definitions/objs_user';

@@ -138,2 +138,1 @@ export var GroupCodec;

})(GroupCodec || (GroupCodec = {}));
//# sourceMappingURL=group.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, ConnectionOption, SkipValidationOption } from '@avst-api/commons';

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_property } from '../definitions/objs_property';

@@ -100,2 +100,1 @@ export var InstanceCodec;

})(InstanceCodec || (InstanceCodec = {}));
//# sourceMappingURL=instance.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { EntityPropertyCodec, IdPropertyCodec, NamePropertyCodec, KeyPropertyCodec } from '../raw-api/common';

@@ -1135,2 +1135,1 @@ import { objs_attachment } from '../definitions/objs_attachment';

})(IssueCodec || (IssueCodec = {}));
//# sourceMappingURL=issue.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, ConnectionOption } from '@avst-api/commons';

@@ -12,2 +12,1 @@ import { objs_user_full } from '../definitions/objs_user';

})(MyselfCodec || (MyselfCodec = {}));
//# sourceMappingURL=myself.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_component } from '../definitions/objs_component';

@@ -499,2 +499,1 @@ import { objs_project } from '../definitions/objs_project';

})(ProjectCodec || (ProjectCodec = {}));
//# sourceMappingURL=project.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, ConnectionOption } from '@avst-api/commons';

@@ -22,2 +22,1 @@ import { objs_project_role } from '../definitions/objs_project_role';

})(RoleCodec || (RoleCodec = {}));
//# sourceMappingURL=role.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, ConnectionOption, SkipValidationOption } from '@avst-api/commons';

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { objs_user_full } from '../definitions/objs_user';

@@ -256,2 +256,1 @@ export var UserCodec;

})(UserCodec || (UserCodec = {}));
//# sourceMappingURL=user.js.map

@@ -1,2 +0,2 @@

import * as t from 'io-ts/lib';
import * as t from 'io-ts/es6';
import { ErrorStrategyOption, AssistedErrorStrategyOption } from '../handled-api/common';

@@ -3,0 +3,0 @@ import { HeadersOption, ConnectionOption } from '@avst-api/commons';

@@ -40,2 +40,1 @@ import { objs_status } from '../definitions/objs_status';

})(WorkflowCodec || (WorkflowCodec = {}));
//# sourceMappingURL=workflow.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc