@griffin-app/griffin-hub-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +68 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +132 -0
- package/api.ts +2057 -0
- package/base.ts +62 -0
- package/common.ts +113 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +1218 -0
- package/dist/api.js +1603 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +28 -0
- package/dist/common.js +124 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +1218 -0
- package/dist/esm/api.js +1579 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +28 -0
- package/dist/esm/common.js +112 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AgentsApi.md +265 -0
- package/docs/AgentsGet200Response.md +22 -0
- package/docs/AgentsGet200ResponseDataInner.md +30 -0
- package/docs/AgentsIdHeartbeatPost200Response.md +20 -0
- package/docs/AgentsIdHeartbeatPost404Response.md +20 -0
- package/docs/AgentsLocationsGet200Response.md +20 -0
- package/docs/AgentsRegisterPost200Response.md +30 -0
- package/docs/AgentsRegisterPostRequest.md +22 -0
- package/docs/Assertion.md +30 -0
- package/docs/Assertion1.md +30 -0
- package/docs/Assertion1AnyOf.md +28 -0
- package/docs/Assertion1AnyOf1.md +24 -0
- package/docs/Assertion1AnyOf2.md +24 -0
- package/docs/Assertions.md +24 -0
- package/docs/Assertions1.md +24 -0
- package/docs/BinaryPredicate.md +22 -0
- package/docs/BinaryPredicate1.md +22 -0
- package/docs/BinaryPredicateOperator.md +30 -0
- package/docs/ConfigApi.md +330 -0
- package/docs/ConfigGet200Response.md +20 -0
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response.md +20 -0
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200ResponseData.md +20 -0
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response.md +20 -0
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData.md +30 -0
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest.md +20 -0
- package/docs/DefaultApi.md +51 -0
- package/docs/Edge.md +22 -0
- package/docs/Edge1.md +22 -0
- package/docs/Endpoint.md +34 -0
- package/docs/Endpoint1.md +34 -0
- package/docs/Endpoint1Base.md +22 -0
- package/docs/Endpoint1HeadersValue.md +20 -0
- package/docs/Endpoint1HeadersValueAnyOf.md +20 -0
- package/docs/Endpoint1HeadersValueAnyOfSecret.md +26 -0
- package/docs/Frequency.md +22 -0
- package/docs/Frequency1.md +22 -0
- package/docs/HttpMethod.md +24 -0
- package/docs/JSONAssertion.md +26 -0
- package/docs/JSONAssertion1Predicate.md +22 -0
- package/docs/Node.md +38 -0
- package/docs/Node1.md +38 -0
- package/docs/PlanApi.md +132 -0
- package/docs/PlanGet200Response.md +26 -0
- package/docs/PlanPost201Response.md +20 -0
- package/docs/ResponseFormat.md +12 -0
- package/docs/RunsApi.md +260 -0
- package/docs/RunsGet200Response.md +26 -0
- package/docs/RunsGet200ResponseDataInner.md +42 -0
- package/docs/RunsIdGet200Response.md +20 -0
- package/docs/RunsIdGet200ResponseData.md +42 -0
- package/docs/RunsIdPatchRequest.md +28 -0
- package/docs/RunsTriggerPlanIdPostRequest.md +20 -0
- package/docs/TestPlanV1.md +38 -0
- package/docs/UnaryPredicate.md +18 -0
- package/docs/Wait.md +24 -0
- package/docs/Wait1.md +24 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +33 -0
- package/scripts/generate_sdk.sh +55 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# AgentsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:3000*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**agentsGet**](#agentsget) | **GET** /agents/ | |
|
|
8
|
+
|[**agentsIdDelete**](#agentsiddelete) | **DELETE** /agents/{id} | |
|
|
9
|
+
|[**agentsIdHeartbeatPost**](#agentsidheartbeatpost) | **POST** /agents/{id}/heartbeat | |
|
|
10
|
+
|[**agentsLocationsGet**](#agentslocationsget) | **GET** /agents/locations | |
|
|
11
|
+
|[**agentsRegisterPost**](#agentsregisterpost) | **POST** /agents/register | |
|
|
12
|
+
|
|
13
|
+
# **agentsGet**
|
|
14
|
+
> AgentsGet200Response agentsGet()
|
|
15
|
+
|
|
16
|
+
List all agents with optional filtering
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
AgentsApi,
|
|
23
|
+
Configuration
|
|
24
|
+
} from 'griffin-hub-sdk';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new AgentsApi(configuration);
|
|
28
|
+
|
|
29
|
+
let location: string; //Filter by location (optional) (default to undefined)
|
|
30
|
+
let status: 'online' | 'offline'; //Filter by status (optional) (default to undefined)
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.agentsGet(
|
|
33
|
+
location,
|
|
34
|
+
status
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **location** | [**string**] | Filter by location | (optional) defaults to undefined|
|
|
43
|
+
| **status** | [**'online' | 'offline'**]**Array<'online' | 'offline'>** | Filter by status | (optional) defaults to undefined|
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
**AgentsGet200Response**
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
No authorization required
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: Not defined
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | Default Response | - |
|
|
64
|
+
|
|
65
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
66
|
+
|
|
67
|
+
# **agentsIdDelete**
|
|
68
|
+
> AgentsIdHeartbeatPost200Response agentsIdDelete()
|
|
69
|
+
|
|
70
|
+
Deregister an agent
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
import {
|
|
76
|
+
AgentsApi,
|
|
77
|
+
Configuration
|
|
78
|
+
} from 'griffin-hub-sdk';
|
|
79
|
+
|
|
80
|
+
const configuration = new Configuration();
|
|
81
|
+
const apiInstance = new AgentsApi(configuration);
|
|
82
|
+
|
|
83
|
+
let id: string; //Agent ID (default to undefined)
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.agentsIdDelete(
|
|
86
|
+
id
|
|
87
|
+
);
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Parameters
|
|
91
|
+
|
|
92
|
+
|Name | Type | Description | Notes|
|
|
93
|
+
|------------- | ------------- | ------------- | -------------|
|
|
94
|
+
| **id** | [**string**] | Agent ID | defaults to undefined|
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Return type
|
|
98
|
+
|
|
99
|
+
**AgentsIdHeartbeatPost200Response**
|
|
100
|
+
|
|
101
|
+
### Authorization
|
|
102
|
+
|
|
103
|
+
No authorization required
|
|
104
|
+
|
|
105
|
+
### HTTP request headers
|
|
106
|
+
|
|
107
|
+
- **Content-Type**: Not defined
|
|
108
|
+
- **Accept**: application/json
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### HTTP response details
|
|
112
|
+
| Status code | Description | Response headers |
|
|
113
|
+
|-------------|-------------|------------------|
|
|
114
|
+
|**200** | Default Response | - |
|
|
115
|
+
|
|
116
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
117
|
+
|
|
118
|
+
# **agentsIdHeartbeatPost**
|
|
119
|
+
> AgentsIdHeartbeatPost200Response agentsIdHeartbeatPost()
|
|
120
|
+
|
|
121
|
+
Record a heartbeat from an agent
|
|
122
|
+
|
|
123
|
+
### Example
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
import {
|
|
127
|
+
AgentsApi,
|
|
128
|
+
Configuration
|
|
129
|
+
} from 'griffin-hub-sdk';
|
|
130
|
+
|
|
131
|
+
const configuration = new Configuration();
|
|
132
|
+
const apiInstance = new AgentsApi(configuration);
|
|
133
|
+
|
|
134
|
+
let id: string; //Agent ID (default to undefined)
|
|
135
|
+
|
|
136
|
+
const { status, data } = await apiInstance.agentsIdHeartbeatPost(
|
|
137
|
+
id
|
|
138
|
+
);
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Parameters
|
|
142
|
+
|
|
143
|
+
|Name | Type | Description | Notes|
|
|
144
|
+
|------------- | ------------- | ------------- | -------------|
|
|
145
|
+
| **id** | [**string**] | Agent ID | defaults to undefined|
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### Return type
|
|
149
|
+
|
|
150
|
+
**AgentsIdHeartbeatPost200Response**
|
|
151
|
+
|
|
152
|
+
### Authorization
|
|
153
|
+
|
|
154
|
+
No authorization required
|
|
155
|
+
|
|
156
|
+
### HTTP request headers
|
|
157
|
+
|
|
158
|
+
- **Content-Type**: Not defined
|
|
159
|
+
- **Accept**: application/json
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### HTTP response details
|
|
163
|
+
| Status code | Description | Response headers |
|
|
164
|
+
|-------------|-------------|------------------|
|
|
165
|
+
|**200** | Default Response | - |
|
|
166
|
+
|**404** | Default Response | - |
|
|
167
|
+
|
|
168
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
169
|
+
|
|
170
|
+
# **agentsLocationsGet**
|
|
171
|
+
> AgentsLocationsGet200Response agentsLocationsGet()
|
|
172
|
+
|
|
173
|
+
Get all registered locations (with at least one online agent)
|
|
174
|
+
|
|
175
|
+
### Example
|
|
176
|
+
|
|
177
|
+
```typescript
|
|
178
|
+
import {
|
|
179
|
+
AgentsApi,
|
|
180
|
+
Configuration
|
|
181
|
+
} from 'griffin-hub-sdk';
|
|
182
|
+
|
|
183
|
+
const configuration = new Configuration();
|
|
184
|
+
const apiInstance = new AgentsApi(configuration);
|
|
185
|
+
|
|
186
|
+
const { status, data } = await apiInstance.agentsLocationsGet();
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Parameters
|
|
190
|
+
This endpoint does not have any parameters.
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### Return type
|
|
194
|
+
|
|
195
|
+
**AgentsLocationsGet200Response**
|
|
196
|
+
|
|
197
|
+
### Authorization
|
|
198
|
+
|
|
199
|
+
No authorization required
|
|
200
|
+
|
|
201
|
+
### HTTP request headers
|
|
202
|
+
|
|
203
|
+
- **Content-Type**: Not defined
|
|
204
|
+
- **Accept**: application/json
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### HTTP response details
|
|
208
|
+
| Status code | Description | Response headers |
|
|
209
|
+
|-------------|-------------|------------------|
|
|
210
|
+
|**200** | Default Response | - |
|
|
211
|
+
|
|
212
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
213
|
+
|
|
214
|
+
# **agentsRegisterPost**
|
|
215
|
+
> AgentsRegisterPost200Response agentsRegisterPost(agentsRegisterPostRequest)
|
|
216
|
+
|
|
217
|
+
Register a new agent with the hub
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import {
|
|
223
|
+
AgentsApi,
|
|
224
|
+
Configuration,
|
|
225
|
+
AgentsRegisterPostRequest
|
|
226
|
+
} from 'griffin-hub-sdk';
|
|
227
|
+
|
|
228
|
+
const configuration = new Configuration();
|
|
229
|
+
const apiInstance = new AgentsApi(configuration);
|
|
230
|
+
|
|
231
|
+
let agentsRegisterPostRequest: AgentsRegisterPostRequest; //
|
|
232
|
+
|
|
233
|
+
const { status, data } = await apiInstance.agentsRegisterPost(
|
|
234
|
+
agentsRegisterPostRequest
|
|
235
|
+
);
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Parameters
|
|
239
|
+
|
|
240
|
+
|Name | Type | Description | Notes|
|
|
241
|
+
|------------- | ------------- | ------------- | -------------|
|
|
242
|
+
| **agentsRegisterPostRequest** | **AgentsRegisterPostRequest**| | |
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### Return type
|
|
246
|
+
|
|
247
|
+
**AgentsRegisterPost200Response**
|
|
248
|
+
|
|
249
|
+
### Authorization
|
|
250
|
+
|
|
251
|
+
No authorization required
|
|
252
|
+
|
|
253
|
+
### HTTP request headers
|
|
254
|
+
|
|
255
|
+
- **Content-Type**: application/json
|
|
256
|
+
- **Accept**: application/json
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### HTTP response details
|
|
260
|
+
| Status code | Description | Response headers |
|
|
261
|
+
|-------------|-------------|------------------|
|
|
262
|
+
|**200** | Default Response | - |
|
|
263
|
+
|
|
264
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
265
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AgentsGet200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<AgentsGet200ResponseDataInner>**](AgentsGet200ResponseDataInner.md) | | [default to undefined]
|
|
9
|
+
**total** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AgentsGet200Response } from 'griffin-hub-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AgentsGet200Response = {
|
|
17
|
+
data,
|
|
18
|
+
total,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# AgentsGet200ResponseDataInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**location** | **string** | | [default to undefined]
|
|
10
|
+
**status** | **string** | | [default to undefined]
|
|
11
|
+
**lastHeartbeat** | **string** | | [default to undefined]
|
|
12
|
+
**registeredAt** | **string** | | [default to undefined]
|
|
13
|
+
**metadata** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AgentsGet200ResponseDataInner } from 'griffin-hub-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: AgentsGet200ResponseDataInner = {
|
|
21
|
+
id,
|
|
22
|
+
location,
|
|
23
|
+
status,
|
|
24
|
+
lastHeartbeat,
|
|
25
|
+
registeredAt,
|
|
26
|
+
metadata,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AgentsIdHeartbeatPost200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**success** | **boolean** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AgentsIdHeartbeatPost200Response } from 'griffin-hub-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: AgentsIdHeartbeatPost200Response = {
|
|
16
|
+
success,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AgentsIdHeartbeatPost404Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**error** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AgentsIdHeartbeatPost404Response } from 'griffin-hub-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: AgentsIdHeartbeatPost404Response = {
|
|
16
|
+
error,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AgentsLocationsGet200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**locations** | **Array<string>** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AgentsLocationsGet200Response } from 'griffin-hub-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: AgentsLocationsGet200Response = {
|
|
16
|
+
locations,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# AgentsRegisterPost200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**location** | **string** | | [default to undefined]
|
|
10
|
+
**status** | **string** | | [default to undefined]
|
|
11
|
+
**lastHeartbeat** | **string** | | [default to undefined]
|
|
12
|
+
**registeredAt** | **string** | | [default to undefined]
|
|
13
|
+
**metadata** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AgentsRegisterPost200Response } from 'griffin-hub-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: AgentsRegisterPost200Response = {
|
|
21
|
+
id,
|
|
22
|
+
location,
|
|
23
|
+
status,
|
|
24
|
+
lastHeartbeat,
|
|
25
|
+
registeredAt,
|
|
26
|
+
metadata,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AgentsRegisterPostRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**location** | **string** | | [default to undefined]
|
|
9
|
+
**metadata** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AgentsRegisterPostRequest } from 'griffin-hub-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AgentsRegisterPostRequest = {
|
|
17
|
+
location,
|
|
18
|
+
metadata,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Assertion
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**assertionType** | **string** | | [default to undefined]
|
|
9
|
+
**nodeId** | **string** | | [default to undefined]
|
|
10
|
+
**accessor** | **string** | | [default to undefined]
|
|
11
|
+
**path** | **string** | | [default to undefined]
|
|
12
|
+
**predicate** | [**JSONAssertion1Predicate**](JSONAssertion1Predicate.md) | | [default to undefined]
|
|
13
|
+
**expected** | **any** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { Assertion } from 'griffin-hub-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: Assertion = {
|
|
21
|
+
assertionType,
|
|
22
|
+
nodeId,
|
|
23
|
+
accessor,
|
|
24
|
+
path,
|
|
25
|
+
predicate,
|
|
26
|
+
expected,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Assertion1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**assertionType** | **string** | | [default to undefined]
|
|
9
|
+
**nodeId** | **string** | | [default to undefined]
|
|
10
|
+
**accessor** | **string** | | [default to undefined]
|
|
11
|
+
**path** | **string** | | [default to undefined]
|
|
12
|
+
**predicate** | [**JSONAssertion1Predicate**](JSONAssertion1Predicate.md) | | [default to undefined]
|
|
13
|
+
**expected** | **any** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { Assertion1 } from 'griffin-hub-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: Assertion1 = {
|
|
21
|
+
assertionType,
|
|
22
|
+
nodeId,
|
|
23
|
+
accessor,
|
|
24
|
+
path,
|
|
25
|
+
predicate,
|
|
26
|
+
expected,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Assertion1AnyOf
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**assertionType** | **string** | | [default to undefined]
|
|
9
|
+
**nodeId** | **string** | | [default to undefined]
|
|
10
|
+
**accessor** | **string** | | [default to undefined]
|
|
11
|
+
**path** | **Array<string>** | | [default to undefined]
|
|
12
|
+
**predicate** | [**JSONAssertion1Predicate**](JSONAssertion1Predicate.md) | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { Assertion1AnyOf } from 'griffin-hub-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: Assertion1AnyOf = {
|
|
20
|
+
assertionType,
|
|
21
|
+
nodeId,
|
|
22
|
+
accessor,
|
|
23
|
+
path,
|
|
24
|
+
predicate,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Assertion1AnyOf1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**assertionType** | **string** | | [default to undefined]
|
|
9
|
+
**path** | **Array<string>** | | [default to undefined]
|
|
10
|
+
**expected** | **any** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Assertion1AnyOf1 } from 'griffin-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: Assertion1AnyOf1 = {
|
|
18
|
+
assertionType,
|
|
19
|
+
path,
|
|
20
|
+
expected,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Assertion1AnyOf2
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**assertionType** | **string** | | [default to undefined]
|
|
9
|
+
**path** | **string** | | [default to undefined]
|
|
10
|
+
**expected** | **any** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Assertion1AnyOf2 } from 'griffin-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: Assertion1AnyOf2 = {
|
|
18
|
+
assertionType,
|
|
19
|
+
path,
|
|
20
|
+
expected,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Assertions
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**type** | **string** | | [default to undefined]
|
|
10
|
+
**assertions** | [**Array<Assertion1>**](Assertion1.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Assertions } from 'griffin-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: Assertions = {
|
|
18
|
+
id,
|
|
19
|
+
type,
|
|
20
|
+
assertions,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Assertions1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**type** | **string** | | [default to undefined]
|
|
10
|
+
**assertions** | [**Array<Assertion1>**](Assertion1.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Assertions1 } from 'griffin-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: Assertions1 = {
|
|
18
|
+
id,
|
|
19
|
+
type,
|
|
20
|
+
assertions,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BinaryPredicate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**expected** | **any** | | [default to undefined]
|
|
9
|
+
**operator** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BinaryPredicate } from 'griffin-hub-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: BinaryPredicate = {
|
|
17
|
+
expected,
|
|
18
|
+
operator,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BinaryPredicate1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**expected** | **any** | | [default to undefined]
|
|
9
|
+
**operator** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BinaryPredicate1 } from 'griffin-hub-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: BinaryPredicate1 = {
|
|
17
|
+
expected,
|
|
18
|
+
operator,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|