Skip to content

Commit

Permalink
Clients added to Version2Client
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring committed Feb 20, 2025
1 parent b6846e6 commit fd6d744
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
14 changes: 14 additions & 0 deletions src/version2/client/version2Client.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { BaseClient } from '../../clients/baseClient';
import { AnnouncementBanner } from '../announcementBanner';
import { AppDataPolicies } from '../appDataPolicies';
import { ApplicationRoles } from '../applicationRoles';
import { AppMigration } from '../appMigration';
import { AppProperties } from '../appProperties';
import { AuditRecords } from '../auditRecords';
import { Avatars } from '../avatars';
import { ClassificationLevels } from '../classificationLevels';
import { Dashboards } from '../dashboards';
import { DynamicModules } from '../dynamicModules';
import { Filters } from '../filters';
Expand Down Expand Up @@ -50,8 +52,11 @@ import { LicenseMetrics } from '../licenseMetrics';
import { Myself } from '../myself';
import { Permissions } from '../permissions';
import { PermissionSchemes } from '../permissionSchemes';
import { Plans } from '../plans';
import { PrioritySchemes } from '../prioritySchemes';
import { ProjectAvatars } from '../projectAvatars';
import { ProjectCategories } from '../projectCategories';
import { ProjectClassificationLevels } from '../projectClassificationLevels';
import { ProjectComponents } from '../projectComponents';
import { ProjectEmail } from '../projectEmail';
import { ProjectFeatures } from '../projectFeatures';
Expand All @@ -68,8 +73,10 @@ import { ScreenSchemes } from '../screenSchemes';
import { ScreenTabFields } from '../screenTabFields';
import { ScreenTabs } from '../screenTabs';
import { ServerInfo } from '../serverInfo';
import { ServiceRegistry } from '../serviceRegistry';
import { Status } from '../status';
import { Tasks } from '../tasks';
import { TeamsInPlan } from '../teamsInPlan';
import { TimeTracking } from '../timeTracking';
import { UIModificationsApps } from '../uIModificationsApps';
import { UserProperties } from '../userProperties';
Expand All @@ -87,11 +94,13 @@ import { WorkflowTransitionRules } from '../workflowTransitionRules';

export class Version2Client extends BaseClient {
announcementBanner = new AnnouncementBanner(this);
appDataPolicies = new AppDataPolicies(this);
applicationRoles = new ApplicationRoles(this);
appMigration = new AppMigration(this);
appProperties = new AppProperties(this);
auditRecords = new AuditRecords(this);
avatars = new Avatars(this);
classificationLevels = new ClassificationLevels(this);
dashboards = new Dashboards(this);
dynamicModules = new DynamicModules(this);
filters = new Filters(this);
Expand Down Expand Up @@ -137,8 +146,11 @@ export class Version2Client extends BaseClient {
myself = new Myself(this);
permissions = new Permissions(this);
permissionSchemes = new PermissionSchemes(this);
plans = new Plans(this);
prioritySchemes = new PrioritySchemes(this);
projectAvatars = new ProjectAvatars(this);
projectCategories = new ProjectCategories(this);
projectClassificationLevels = new ProjectClassificationLevels(this);
projectComponents = new ProjectComponents(this);
projectEmail = new ProjectEmail(this);
projectFeatures = new ProjectFeatures(this);
Expand All @@ -155,8 +167,10 @@ export class Version2Client extends BaseClient {
screenTabFields = new ScreenTabFields(this);
screenTabs = new ScreenTabs(this);
serverInfo = new ServerInfo(this);
serviceRegistry = new ServiceRegistry(this);
status = new Status(this);
tasks = new Tasks(this);
teamsInPlan = new TeamsInPlan(this);
timeTracking = new TimeTracking(this);
uiModificationsApps = new UIModificationsApps(this);
userProperties = new UserProperties(this);
Expand Down
20 changes: 10 additions & 10 deletions src/version2/parameters/bulkFetchIssues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ export interface BulkFetchIssues {
| 'versionedRepresentations'
| string
| (
| 'renderedFields'
| 'names'
| 'schema'
| 'transitions'
| 'operations'
| 'editmeta'
| 'changelog'
| 'versionedRepresentations'
| string
)[];
| 'renderedFields'
| 'names'
| 'schema'
| 'transitions'
| 'operations'
| 'editmeta'
| 'changelog'
| 'versionedRepresentations'
| string
)[];
/**
* A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a
* comma-separated list. Expand options include:
Expand Down

0 comments on commit fd6d744

Please sign in to comment.