Skip to content

Commit

Permalink
Merge pull request #16 from RedHatInsights/topological-inventory-client
Browse files Browse the repository at this point in the history
Added client for topological inventory api.
  • Loading branch information
Hyperkid123 authored Apr 23, 2019
2 parents 87c205e + 0221da2 commit f6a680d
Show file tree
Hide file tree
Showing 100 changed files with 25,768 additions and 255 deletions.
224 changes: 112 additions & 112 deletions packages/approval/api.ts

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions packages/approval/doc/classes/actionapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ___

### createAction

**createAction**(stageId: *`number`*, actionIn: *[ActionIn](../modules/actionin.md)*, options?: *`any`*): `AxiosPromise`<[ActionOut](../modules/actionout.md)>
**createAction**(stageId: *`string`*, actionIn: *[ActionIn](../modules/actionin.md)*, options?: *`any`*): `AxiosPromise`<[ActionOut](../modules/actionout.md)>

*Defined in [api.ts:902](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L902)*

Expand All @@ -118,7 +118,7 @@ Add an action to a given stage

| Name | Type | Description |
| ------ | ------ | ------ |
| stageId | `number` | Id of stage |
| stageId | `string` | Id of stage |
| actionIn | [ActionIn](../modules/actionin.md) | Action object that will be added |
| `Optional` options | `any` |

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

### listActionsByStage

**listActionsByStage**(stageId: *`number`*, options?: *`any`*): `AxiosPromise`<[ActionOutCollection](../interfaces/actionoutcollection.md)>
**listActionsByStage**(stageId: *`string`*, options?: *`any`*): `AxiosPromise`<[ActionOutCollection](../interfaces/actionoutcollection.md)>

*Defined in [api.ts:914](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L914)*

Expand All @@ -145,7 +145,7 @@ List all actions of a stage

| Name | Type | Description |
| ------ | ------ | ------ |
| stageId | `number` | Id of stage |
| stageId | `string` | Id of stage |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[ActionOutCollection](../interfaces/actionoutcollection.md)>
Expand All @@ -155,7 +155,7 @@ ___

### showAction

**showAction**(id: *`number`*, options?: *`any`*): `AxiosPromise`<[ActionOut](../modules/actionout.md)>
**showAction**(id: *`string`*, options?: *`any`*): `AxiosPromise`<[ActionOut](../modules/actionout.md)>

*Defined in [api.ts:926](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L926)*

Expand All @@ -171,7 +171,7 @@ Return an user action by id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[ActionOut](../modules/actionout.md)>
Expand Down
12 changes: 6 additions & 6 deletions packages/approval/doc/classes/requestapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ___

### createRequest

**createRequest**(workflowId: *`number`*, requestIn: *[RequestIn](../interfaces/requestin.md)*, options?: *`any`*): `AxiosPromise`<[RequestOut](../modules/requestout.md)>
**createRequest**(workflowId: *`string`*, requestIn: *[RequestIn](../interfaces/requestin.md)*, options?: *`any`*): `AxiosPromise`<[RequestOut](../modules/requestout.md)>

*Defined in [api.ts:1279](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L1279)*

Expand All @@ -119,7 +119,7 @@ Add an approval request by given parameters

| Name | Type | Description |
| ------ | ------ | ------ |
| workflowId | `number` | Id of workflow |
| workflowId | `string` | Id of workflow |
| requestIn | [RequestIn](../interfaces/requestin.md) | Parameters need to create a request |
| `Optional` options | `any` |

Expand Down Expand Up @@ -160,7 +160,7 @@ ___

### listRequestsByWorkflow

**listRequestsByWorkflow**(workflowId: *`number`*, limit?: *`number`*, offset?: *`number`*, options?: *`any`*): `AxiosPromise`<[RequestOutCollection](../interfaces/requestoutcollection.md)>
**listRequestsByWorkflow**(workflowId: *`string`*, limit?: *`number`*, offset?: *`number`*, options?: *`any`*): `AxiosPromise`<[RequestOutCollection](../interfaces/requestoutcollection.md)>

*Defined in [api.ts:1309](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L1309)*

Expand All @@ -176,7 +176,7 @@ Return approval requests by given workflow id

| Name | Type | Description |
| ------ | ------ | ------ |
| workflowId | `number` | Id of workflow |
| workflowId | `string` | Id of workflow |
| `Optional` limit | `number` |
| `Optional` offset | `number` |
| `Optional` options | `any` |
Expand All @@ -188,7 +188,7 @@ ___

### showRequest

**showRequest**(id: *`number`*, options?: *`any`*): `AxiosPromise`<[RequestOut](../modules/requestout.md)>
**showRequest**(id: *`string`*, options?: *`any`*): `AxiosPromise`<[RequestOut](../modules/requestout.md)>

*Defined in [api.ts:1321](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L1321)*

Expand All @@ -204,7 +204,7 @@ Return an approval request by given id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[RequestOut](../modules/requestout.md)>
Expand Down
8 changes: 4 additions & 4 deletions packages/approval/doc/classes/stageapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ___

### listStagesByRequest

**listStagesByRequest**(requestId: *`number`*, options?: *`any`*): `AxiosPromise`<[StageOutCollection](../interfaces/stageoutcollection.md)>
**listStagesByRequest**(requestId: *`string`*, options?: *`any`*): `AxiosPromise`<[StageOutCollection](../interfaces/stageoutcollection.md)>

*Defined in [api.ts:1495](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L1495)*

Expand All @@ -117,7 +117,7 @@ Return an array of stages by given request id

| Name | Type | Description |
| ------ | ------ | ------ |
| requestId | `number` | Id of request |
| requestId | `string` | Id of request |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[StageOutCollection](../interfaces/stageoutcollection.md)>
Expand All @@ -127,7 +127,7 @@ ___

### showStage

**showStage**(id: *`number`*, options?: *`any`*): `AxiosPromise`<[StageOut](../modules/stageout.md)>
**showStage**(id: *`string`*, options?: *`any`*): `AxiosPromise`<[StageOut](../modules/stageout.md)>

*Defined in [api.ts:1507](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L1507)*

Expand All @@ -143,7 +143,7 @@ Return an approval stage by given id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[StageOut](../modules/stageout.md)>
Expand Down
4 changes: 2 additions & 2 deletions packages/approval/doc/classes/templateapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ___

### showTemplate

**showTemplate**(id: *`number`*, options?: *`any`*): `AxiosPromise`<[TemplateOut](../interfaces/templateout.md)>
**showTemplate**(id: *`string`*, options?: *`any`*): `AxiosPromise`<[TemplateOut](../interfaces/templateout.md)>

*Defined in [api.ts:1700](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L1700)*

Expand All @@ -144,7 +144,7 @@ Return a template by given id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[TemplateOut](../interfaces/templateout.md)>
Expand Down
20 changes: 10 additions & 10 deletions packages/approval/doc/classes/workflowapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ ___

### addWorkflowToTemplate

**addWorkflowToTemplate**(templateId: *`number`*, workflowIn: *[WorkflowIn](../interfaces/workflowin.md)*, options?: *`any`*): `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>
**addWorkflowToTemplate**(templateId: *`string`*, workflowIn: *[WorkflowIn](../interfaces/workflowin.md)*, options?: *`any`*): `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>

*Defined in [api.ts:2169](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L2169)*

Expand All @@ -121,7 +121,7 @@ Add a workflow by given template id

| Name | Type | Description |
| ------ | ------ | ------ |
| templateId | `number` | Id of template |
| templateId | `string` | Id of template |
| workflowIn | [WorkflowIn](../interfaces/workflowin.md) | Parameters need to create workflow |
| `Optional` options | `any` |

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

### destroyWorkflow

**destroyWorkflow**(id: *`number`*, options?: *`any`*): `AxiosPromise`<`Response`>
**destroyWorkflow**(id: *`string`*, options?: *`any`*): `AxiosPromise`<`Response`>

*Defined in [api.ts:2181](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L2181)*

Expand All @@ -148,7 +148,7 @@ Delete approval workflow by given id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<`Response`>
Expand Down Expand Up @@ -185,7 +185,7 @@ ___

### listWorkflowsByTemplate

**listWorkflowsByTemplate**(templateId: *`number`*, limit?: *`number`*, offset?: *`number`*, options?: *`any`*): `AxiosPromise`<[WorkflowOutCollection](../interfaces/workflowoutcollection.md)>
**listWorkflowsByTemplate**(templateId: *`string`*, limit?: *`number`*, offset?: *`number`*, options?: *`any`*): `AxiosPromise`<[WorkflowOutCollection](../interfaces/workflowoutcollection.md)>

*Defined in [api.ts:2208](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L2208)*

Expand All @@ -201,7 +201,7 @@ Return an array of workflows by given template id

| Name | Type | Description |
| ------ | ------ | ------ |
| templateId | `number` | Id of template |
| templateId | `string` | Id of template |
| `Optional` limit | `number` |
| `Optional` offset | `number` |
| `Optional` options | `any` |
Expand All @@ -213,7 +213,7 @@ ___

### showWorkflow

**showWorkflow**(id: *`number`*, options?: *`any`*): `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>
**showWorkflow**(id: *`string`*, options?: *`any`*): `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>

*Defined in [api.ts:2220](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L2220)*

Expand All @@ -229,7 +229,7 @@ Return an approval workflow by given id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| `Optional` options | `any` |

**Returns:** `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>
Expand All @@ -239,7 +239,7 @@ ___

### updateWorkflow

**updateWorkflow**(id: *`number`*, workflowIn: *[WorkflowIn](../interfaces/workflowin.md)*, options?: *`any`*): `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>
**updateWorkflow**(id: *`string`*, workflowIn: *[WorkflowIn](../interfaces/workflowin.md)*, options?: *`any`*): `AxiosPromise`<[WorkflowOut](../interfaces/workflowout.md)>

*Defined in [api.ts:2233](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/approval/api.ts#L2233)*

Expand All @@ -255,7 +255,7 @@ Update an approval workflow by given id

| Name | Type | Description |
| ------ | ------ | ------ |
| id | `number` | Query by id |
| id | `string` | Query by id |
| workflowIn | [WorkflowIn](../interfaces/workflowin.md) | Parameters need to update approval workflow |
| `Optional` options | `any` |

Expand Down
Loading

0 comments on commit f6a680d

Please sign in to comment.