Skip to content

Commit

Permalink
Update js-clients on 03-10-2023 (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkholjuraev authored Oct 3, 2023
1 parent 07d543c commit f796212
Show file tree
Hide file tree
Showing 193 changed files with 2,583 additions and 2,349 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/approval/doc/classes/ActionApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ BaseAPI.configuration

### createAction

**createAction**(`requestId`, `action`, `options?`): `Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md)\>\>
**createAction**(`requestId`, `action`, `options?`): `Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md), `any`\>\>

Create an action under a request identified by its id. Admin can create approve, deny, memo, and cancel operations; approver can create approve, deny, and memo operations; while requester can create only cancel operation.

Expand All @@ -122,7 +122,7 @@ ActionApi

#### Returns

`Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md)\>\>
`Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md), `any`\>\>

#### Defined in

Expand All @@ -132,7 +132,7 @@ ___

### listActionsByRequest

**listActionsByRequest**(`requestId`, `options?`): `Promise`<`AxiosResponse`<[`ActionCollection`](../interfaces/ActionCollection.md)\>\>
**listActionsByRequest**(`requestId`, `options?`): `Promise`<`AxiosResponse`<[`ActionCollection`](../interfaces/ActionCollection.md), `any`\>\>

Find actions of a request identified by its id, available to everyone

Expand All @@ -155,7 +155,7 @@ ActionApi

#### Returns

`Promise`<`AxiosResponse`<[`ActionCollection`](../interfaces/ActionCollection.md)\>\>
`Promise`<`AxiosResponse`<[`ActionCollection`](../interfaces/ActionCollection.md), `any`\>\>

#### Defined in

Expand All @@ -165,7 +165,7 @@ ___

### showAction

**showAction**(`id`, `options?`): `Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md)\>\>
**showAction**(`id`, `options?`): `Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md), `any`\>\>

Find an action by its id, available to everyone

Expand All @@ -188,7 +188,7 @@ ActionApi

#### Returns

`Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md)\>\>
`Promise`<`AxiosResponse`<[`Action`](../interfaces/Action.md), `any`\>\>

#### Defined in

Expand Down
4 changes: 2 additions & 2 deletions packages/approval/doc/classes/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ BaseAPI.configuration

### getDocumentation

**getDocumentation**(`options?`): `Promise`<`AxiosResponse`<`object`\>\>
**getDocumentation**(`options?`): `Promise`<`AxiosResponse`<`object`, `any`\>\>

**`Summary`**

Expand All @@ -116,7 +116,7 @@ DefaultApi

#### Returns

`Promise`<`AxiosResponse`<`object`\>\>
`Promise`<`AxiosResponse`<`object`, `any`\>\>

#### Defined in

Expand Down
4 changes: 2 additions & 2 deletions packages/approval/doc/classes/GraphqlApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ BaseAPI.configuration

### postGraphql

**postGraphql**(`graphqlIn`, `options?`): `Promise`<`AxiosResponse`<[`GraphqlOut`](../interfaces/GraphqlOut.md)\>\>
**postGraphql**(`graphqlIn`, `options?`): `Promise`<`AxiosResponse`<[`GraphqlOut`](../interfaces/GraphqlOut.md), `any`\>\>

Perform a GraphQL query

Expand All @@ -119,7 +119,7 @@ GraphqlApi

#### Returns

`Promise`<`AxiosResponse`<[`GraphqlOut`](../interfaces/GraphqlOut.md)\>\>
`Promise`<`AxiosResponse`<[`GraphqlOut`](../interfaces/GraphqlOut.md), `any`\>\>

#### Defined in

Expand Down
20 changes: 10 additions & 10 deletions packages/approval/doc/classes/RequestApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ BaseAPI.configuration

### createRequest

**createRequest**(`requestIn`, `options?`): `Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md)\>\>
**createRequest**(`requestIn`, `options?`): `Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md), `any`\>\>

Create an approval request using given parameters, available to everyone

Expand All @@ -123,7 +123,7 @@ RequestApi

#### Returns

`Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md)\>\>
`Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md), `any`\>\>

#### Defined in

Expand All @@ -133,7 +133,7 @@ ___

### listRequests

**listRequests**(`xRhPersona?`, `limit?`, `offset?`, `filter?`, `sortBy?`, `options?`): `Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md)\>\>
**listRequests**(`xRhPersona?`, `limit?`, `offset?`, `filter?`, `sortBy?`, `options?`): `Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md), `any`\>\>

The result depends on the x-rh-persona header (approval/admin, approval/requester, or approval/approver). Program generated child requests are not included.

Expand All @@ -160,7 +160,7 @@ RequestApi

#### Returns

`Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md)\>\>
`Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md), `any`\>\>

#### Defined in

Expand All @@ -170,7 +170,7 @@ ___

### listRequestsByRequest

**listRequestsByRequest**(`requestId`, `xRhPersona?`, `options?`): `Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md)\>\>
**listRequestsByRequest**(`requestId`, `xRhPersona?`, `options?`): `Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md), `any`\>\>

Find child requests based on the parent request id. The result depends on the x-rh-persona header (approval/admin, approval/requester, or approval/approver).

Expand All @@ -194,7 +194,7 @@ RequestApi

#### Returns

`Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md)\>\>
`Promise`<`AxiosResponse`<[`RequestCollection`](../interfaces/RequestCollection.md), `any`\>\>

#### Defined in

Expand All @@ -204,7 +204,7 @@ ___

### showRequest

**showRequest**(`id`, `options?`): `Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md)\>\>
**showRequest**(`id`, `options?`): `Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md), `any`\>\>

Find an approval request by its id, available to anyone who can access the request

Expand All @@ -227,7 +227,7 @@ RequestApi

#### Returns

`Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md)\>\>
`Promise`<`AxiosResponse`<[`Request`](../interfaces/Request.md), `any`\>\>

#### Defined in

Expand All @@ -237,7 +237,7 @@ ___

### showRequestContent

**showRequestContent**(`requestId`, `options?`): `Promise`<`AxiosResponse`<`object`\>\>
**showRequestContent**(`requestId`, `options?`): `Promise`<`AxiosResponse`<`object`, `any`\>\>

Find the request content based on a request id, available to everyone

Expand All @@ -260,7 +260,7 @@ RequestApi

#### Returns

`Promise`<`AxiosResponse`<`object`\>\>
`Promise`<`AxiosResponse`<`object`, `any`\>\>

#### Defined in

Expand Down
8 changes: 4 additions & 4 deletions packages/approval/doc/classes/TemplateApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ BaseAPI.configuration

### listTemplates

**listTemplates**(`limit?`, `offset?`, `filter?`, `sortBy?`, `options?`): `Promise`<`AxiosResponse`<[`TemplateCollection`](../interfaces/TemplateCollection.md)\>\>
**listTemplates**(`limit?`, `offset?`, `filter?`, `sortBy?`, `options?`): `Promise`<`AxiosResponse`<[`TemplateCollection`](../interfaces/TemplateCollection.md), `any`\>\>

Find all templates, available to admin only

Expand All @@ -123,7 +123,7 @@ TemplateApi

#### Returns

`Promise`<`AxiosResponse`<[`TemplateCollection`](../interfaces/TemplateCollection.md)\>\>
`Promise`<`AxiosResponse`<[`TemplateCollection`](../interfaces/TemplateCollection.md), `any`\>\>

#### Defined in

Expand All @@ -133,7 +133,7 @@ ___

### showTemplate

**showTemplate**(`id`, `options?`): `Promise`<`AxiosResponse`<[`Template`](../interfaces/Template.md)\>\>
**showTemplate**(`id`, `options?`): `Promise`<`AxiosResponse`<[`Template`](../interfaces/Template.md), `any`\>\>

Find a template by its id, available to admin only

Expand All @@ -156,7 +156,7 @@ TemplateApi

#### Returns

`Promise`<`AxiosResponse`<[`Template`](../interfaces/Template.md)\>\>
`Promise`<`AxiosResponse`<[`Template`](../interfaces/Template.md), `any`\>\>

#### Defined in

Expand Down
Loading

0 comments on commit f796212

Please sign in to comment.