@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.
Files changed (90) hide show
  1. package/.openapi-generator/FILES +68 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +132 -0
  5. package/api.ts +2057 -0
  6. package/base.ts +62 -0
  7. package/common.ts +113 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +1218 -0
  10. package/dist/api.js +1603 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +46 -0
  13. package/dist/common.d.ts +28 -0
  14. package/dist/common.js +124 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +44 -0
  17. package/dist/esm/api.d.ts +1218 -0
  18. package/dist/esm/api.js +1579 -0
  19. package/dist/esm/base.d.ts +42 -0
  20. package/dist/esm/base.js +41 -0
  21. package/dist/esm/common.d.ts +28 -0
  22. package/dist/esm/common.js +112 -0
  23. package/dist/esm/configuration.d.ts +98 -0
  24. package/dist/esm/configuration.js +40 -0
  25. package/dist/esm/index.d.ts +13 -0
  26. package/dist/esm/index.js +15 -0
  27. package/dist/index.d.ts +13 -0
  28. package/dist/index.js +31 -0
  29. package/docs/AgentsApi.md +265 -0
  30. package/docs/AgentsGet200Response.md +22 -0
  31. package/docs/AgentsGet200ResponseDataInner.md +30 -0
  32. package/docs/AgentsIdHeartbeatPost200Response.md +20 -0
  33. package/docs/AgentsIdHeartbeatPost404Response.md +20 -0
  34. package/docs/AgentsLocationsGet200Response.md +20 -0
  35. package/docs/AgentsRegisterPost200Response.md +30 -0
  36. package/docs/AgentsRegisterPostRequest.md +22 -0
  37. package/docs/Assertion.md +30 -0
  38. package/docs/Assertion1.md +30 -0
  39. package/docs/Assertion1AnyOf.md +28 -0
  40. package/docs/Assertion1AnyOf1.md +24 -0
  41. package/docs/Assertion1AnyOf2.md +24 -0
  42. package/docs/Assertions.md +24 -0
  43. package/docs/Assertions1.md +24 -0
  44. package/docs/BinaryPredicate.md +22 -0
  45. package/docs/BinaryPredicate1.md +22 -0
  46. package/docs/BinaryPredicateOperator.md +30 -0
  47. package/docs/ConfigApi.md +330 -0
  48. package/docs/ConfigGet200Response.md +20 -0
  49. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response.md +20 -0
  50. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200ResponseData.md +20 -0
  51. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response.md +20 -0
  52. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData.md +30 -0
  53. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest.md +20 -0
  54. package/docs/DefaultApi.md +51 -0
  55. package/docs/Edge.md +22 -0
  56. package/docs/Edge1.md +22 -0
  57. package/docs/Endpoint.md +34 -0
  58. package/docs/Endpoint1.md +34 -0
  59. package/docs/Endpoint1Base.md +22 -0
  60. package/docs/Endpoint1HeadersValue.md +20 -0
  61. package/docs/Endpoint1HeadersValueAnyOf.md +20 -0
  62. package/docs/Endpoint1HeadersValueAnyOfSecret.md +26 -0
  63. package/docs/Frequency.md +22 -0
  64. package/docs/Frequency1.md +22 -0
  65. package/docs/HttpMethod.md +24 -0
  66. package/docs/JSONAssertion.md +26 -0
  67. package/docs/JSONAssertion1Predicate.md +22 -0
  68. package/docs/Node.md +38 -0
  69. package/docs/Node1.md +38 -0
  70. package/docs/PlanApi.md +132 -0
  71. package/docs/PlanGet200Response.md +26 -0
  72. package/docs/PlanPost201Response.md +20 -0
  73. package/docs/ResponseFormat.md +12 -0
  74. package/docs/RunsApi.md +260 -0
  75. package/docs/RunsGet200Response.md +26 -0
  76. package/docs/RunsGet200ResponseDataInner.md +42 -0
  77. package/docs/RunsIdGet200Response.md +20 -0
  78. package/docs/RunsIdGet200ResponseData.md +42 -0
  79. package/docs/RunsIdPatchRequest.md +28 -0
  80. package/docs/RunsTriggerPlanIdPostRequest.md +20 -0
  81. package/docs/TestPlanV1.md +38 -0
  82. package/docs/UnaryPredicate.md +18 -0
  83. package/docs/Wait.md +24 -0
  84. package/docs/Wait1.md +24 -0
  85. package/git_push.sh +57 -0
  86. package/index.ts +18 -0
  87. package/package.json +33 -0
  88. package/scripts/generate_sdk.sh +55 -0
  89. package/tsconfig.esm.json +7 -0
  90. package/tsconfig.json +18 -0
@@ -0,0 +1,260 @@
1
+ # RunsApi
2
+
3
+ All URIs are relative to *http://localhost:3000*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**runsGet**](#runsget) | **GET** /runs/ | |
8
+ |[**runsIdGet**](#runsidget) | **GET** /runs/{id} | |
9
+ |[**runsIdPatch**](#runsidpatch) | **PATCH** /runs/{id} | |
10
+ |[**runsTriggerPlanIdPost**](#runstriggerplanidpost) | **POST** /runs/trigger/{planId} | |
11
+
12
+ # **runsGet**
13
+ > RunsGet200Response runsGet()
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ RunsApi,
21
+ Configuration
22
+ } from 'griffin-hub-sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new RunsApi(configuration);
26
+
27
+ let planId: string; // (optional) (default to undefined)
28
+ let status: 'pending' | 'running' | 'completed' | 'failed'; // (optional) (default to undefined)
29
+ let limit: number; // (optional) (default to undefined)
30
+ let offset: number; // (optional) (default to undefined)
31
+
32
+ const { status, data } = await apiInstance.runsGet(
33
+ planId,
34
+ status,
35
+ limit,
36
+ offset
37
+ );
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ |Name | Type | Description | Notes|
43
+ |------------- | ------------- | ------------- | -------------|
44
+ | **planId** | [**string**] | | (optional) defaults to undefined|
45
+ | **status** | [**&#39;pending&#39; | &#39;running&#39; | &#39;completed&#39; | &#39;failed&#39;**]**Array<&#39;pending&#39; &#124; &#39;running&#39; &#124; &#39;completed&#39; &#124; &#39;failed&#39;>** | | (optional) defaults to undefined|
46
+ | **limit** | [**number**] | | (optional) defaults to undefined|
47
+ | **offset** | [**number**] | | (optional) defaults to undefined|
48
+
49
+
50
+ ### Return type
51
+
52
+ **RunsGet200Response**
53
+
54
+ ### Authorization
55
+
56
+ No authorization required
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: Not defined
61
+ - **Accept**: application/json
62
+
63
+
64
+ ### HTTP response details
65
+ | Status code | Description | Response headers |
66
+ |-------------|-------------|------------------|
67
+ |**200** | Default Response | - |
68
+ |**400** | Default Response | - |
69
+ |**401** | Default Response | - |
70
+ |**403** | Default Response | - |
71
+ |**404** | Default Response | - |
72
+ |**500** | Default Response | - |
73
+ |**502** | Default Response | - |
74
+ |**503** | Default Response | - |
75
+ |**504** | Default Response | - |
76
+
77
+ [[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)
78
+
79
+ # **runsIdGet**
80
+ > RunsIdGet200Response runsIdGet()
81
+
82
+
83
+ ### Example
84
+
85
+ ```typescript
86
+ import {
87
+ RunsApi,
88
+ Configuration
89
+ } from 'griffin-hub-sdk';
90
+
91
+ const configuration = new Configuration();
92
+ const apiInstance = new RunsApi(configuration);
93
+
94
+ let id: string; // (default to undefined)
95
+
96
+ const { status, data } = await apiInstance.runsIdGet(
97
+ id
98
+ );
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+ |Name | Type | Description | Notes|
104
+ |------------- | ------------- | ------------- | -------------|
105
+ | **id** | [**string**] | | defaults to undefined|
106
+
107
+
108
+ ### Return type
109
+
110
+ **RunsIdGet200Response**
111
+
112
+ ### Authorization
113
+
114
+ No authorization required
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+ ### HTTP response details
123
+ | Status code | Description | Response headers |
124
+ |-------------|-------------|------------------|
125
+ |**200** | Default Response | - |
126
+ |**400** | Default Response | - |
127
+ |**401** | Default Response | - |
128
+ |**403** | Default Response | - |
129
+ |**404** | Default Response | - |
130
+ |**500** | Default Response | - |
131
+ |**502** | Default Response | - |
132
+ |**503** | Default Response | - |
133
+ |**504** | Default Response | - |
134
+
135
+ [[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)
136
+
137
+ # **runsIdPatch**
138
+ > RunsIdGet200Response runsIdPatch()
139
+
140
+
141
+ ### Example
142
+
143
+ ```typescript
144
+ import {
145
+ RunsApi,
146
+ Configuration,
147
+ RunsIdPatchRequest
148
+ } from 'griffin-hub-sdk';
149
+
150
+ const configuration = new Configuration();
151
+ const apiInstance = new RunsApi(configuration);
152
+
153
+ let id: string; // (default to undefined)
154
+ let runsIdPatchRequest: RunsIdPatchRequest; // (optional)
155
+
156
+ const { status, data } = await apiInstance.runsIdPatch(
157
+ id,
158
+ runsIdPatchRequest
159
+ );
160
+ ```
161
+
162
+ ### Parameters
163
+
164
+ |Name | Type | Description | Notes|
165
+ |------------- | ------------- | ------------- | -------------|
166
+ | **runsIdPatchRequest** | **RunsIdPatchRequest**| | |
167
+ | **id** | [**string**] | | defaults to undefined|
168
+
169
+
170
+ ### Return type
171
+
172
+ **RunsIdGet200Response**
173
+
174
+ ### Authorization
175
+
176
+ No authorization required
177
+
178
+ ### HTTP request headers
179
+
180
+ - **Content-Type**: application/json
181
+ - **Accept**: application/json
182
+
183
+
184
+ ### HTTP response details
185
+ | Status code | Description | Response headers |
186
+ |-------------|-------------|------------------|
187
+ |**200** | Default Response | - |
188
+ |**400** | Default Response | - |
189
+ |**401** | Default Response | - |
190
+ |**403** | Default Response | - |
191
+ |**404** | Default Response | - |
192
+ |**500** | Default Response | - |
193
+ |**502** | Default Response | - |
194
+ |**503** | Default Response | - |
195
+ |**504** | Default Response | - |
196
+
197
+ [[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)
198
+
199
+ # **runsTriggerPlanIdPost**
200
+ > RunsIdGet200Response runsTriggerPlanIdPost(runsTriggerPlanIdPostRequest)
201
+
202
+
203
+ ### Example
204
+
205
+ ```typescript
206
+ import {
207
+ RunsApi,
208
+ Configuration,
209
+ RunsTriggerPlanIdPostRequest
210
+ } from 'griffin-hub-sdk';
211
+
212
+ const configuration = new Configuration();
213
+ const apiInstance = new RunsApi(configuration);
214
+
215
+ let planId: string; // (default to undefined)
216
+ let runsTriggerPlanIdPostRequest: RunsTriggerPlanIdPostRequest; //
217
+
218
+ const { status, data } = await apiInstance.runsTriggerPlanIdPost(
219
+ planId,
220
+ runsTriggerPlanIdPostRequest
221
+ );
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+ |Name | Type | Description | Notes|
227
+ |------------- | ------------- | ------------- | -------------|
228
+ | **runsTriggerPlanIdPostRequest** | **RunsTriggerPlanIdPostRequest**| | |
229
+ | **planId** | [**string**] | | defaults to undefined|
230
+
231
+
232
+ ### Return type
233
+
234
+ **RunsIdGet200Response**
235
+
236
+ ### Authorization
237
+
238
+ No authorization required
239
+
240
+ ### HTTP request headers
241
+
242
+ - **Content-Type**: application/json
243
+ - **Accept**: application/json
244
+
245
+
246
+ ### HTTP response details
247
+ | Status code | Description | Response headers |
248
+ |-------------|-------------|------------------|
249
+ |**200** | Default Response | - |
250
+ |**400** | Default Response | - |
251
+ |**401** | Default Response | - |
252
+ |**403** | Default Response | - |
253
+ |**404** | Default Response | - |
254
+ |**500** | Default Response | - |
255
+ |**502** | Default Response | - |
256
+ |**503** | Default Response | - |
257
+ |**504** | Default Response | - |
258
+
259
+ [[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)
260
+
@@ -0,0 +1,26 @@
1
+ # RunsGet200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;RunsGet200ResponseDataInner&gt;**](RunsGet200ResponseDataInner.md) | | [default to undefined]
9
+ **total** | **number** | | [default to undefined]
10
+ **page** | **number** | | [default to undefined]
11
+ **limit** | **number** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RunsGet200Response } from 'griffin-hub-sdk';
17
+
18
+ const instance: RunsGet200Response = {
19
+ data,
20
+ total,
21
+ page,
22
+ limit,
23
+ };
24
+ ```
25
+
26
+ [[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,42 @@
1
+ # RunsGet200ResponseDataInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **planId** | **string** | | [default to undefined]
10
+ **executionGroupId** | **string** | | [default to undefined]
11
+ **location** | **string** | | [default to undefined]
12
+ **environment** | **string** | | [default to undefined]
13
+ **status** | **string** | | [default to undefined]
14
+ **triggeredBy** | **string** | | [default to undefined]
15
+ **startedAt** | **string** | | [default to undefined]
16
+ **completedAt** | **string** | | [optional] [default to undefined]
17
+ **duration_ms** | **number** | | [optional] [default to undefined]
18
+ **success** | **boolean** | | [optional] [default to undefined]
19
+ **errors** | **Array&lt;string&gt;** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { RunsGet200ResponseDataInner } from 'griffin-hub-sdk';
25
+
26
+ const instance: RunsGet200ResponseDataInner = {
27
+ id,
28
+ planId,
29
+ executionGroupId,
30
+ location,
31
+ environment,
32
+ status,
33
+ triggeredBy,
34
+ startedAt,
35
+ completedAt,
36
+ duration_ms,
37
+ success,
38
+ errors,
39
+ };
40
+ ```
41
+
42
+ [[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
+ # RunsIdGet200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**RunsIdGet200ResponseData**](RunsIdGet200ResponseData.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RunsIdGet200Response } from 'griffin-hub-sdk';
14
+
15
+ const instance: RunsIdGet200Response = {
16
+ data,
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,42 @@
1
+ # RunsIdGet200ResponseData
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **planId** | **string** | | [default to undefined]
10
+ **executionGroupId** | **string** | | [default to undefined]
11
+ **location** | **string** | | [default to undefined]
12
+ **environment** | **string** | | [default to undefined]
13
+ **status** | **string** | | [default to undefined]
14
+ **triggeredBy** | **string** | | [default to undefined]
15
+ **startedAt** | **string** | | [default to undefined]
16
+ **completedAt** | **string** | | [optional] [default to undefined]
17
+ **duration_ms** | **number** | | [optional] [default to undefined]
18
+ **success** | **boolean** | | [optional] [default to undefined]
19
+ **errors** | **Array&lt;string&gt;** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { RunsIdGet200ResponseData } from 'griffin-hub-sdk';
25
+
26
+ const instance: RunsIdGet200ResponseData = {
27
+ id,
28
+ planId,
29
+ executionGroupId,
30
+ location,
31
+ environment,
32
+ status,
33
+ triggeredBy,
34
+ startedAt,
35
+ completedAt,
36
+ duration_ms,
37
+ success,
38
+ errors,
39
+ };
40
+ ```
41
+
42
+ [[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
+ # RunsIdPatchRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [optional] [default to undefined]
9
+ **completedAt** | **string** | | [optional] [default to undefined]
10
+ **duration_ms** | **number** | | [optional] [default to undefined]
11
+ **success** | **boolean** | | [optional] [default to undefined]
12
+ **errors** | **Array&lt;string&gt;** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { RunsIdPatchRequest } from 'griffin-hub-sdk';
18
+
19
+ const instance: RunsIdPatchRequest = {
20
+ status,
21
+ completedAt,
22
+ duration_ms,
23
+ success,
24
+ errors,
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,20 @@
1
+ # RunsTriggerPlanIdPostRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **environment** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RunsTriggerPlanIdPostRequest } from 'griffin-hub-sdk';
14
+
15
+ const instance: RunsTriggerPlanIdPostRequest = {
16
+ environment,
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,38 @@
1
+ # TestPlanV1
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **organization** | **string** | | [optional] [default to undefined]
9
+ **project** | **string** | | [optional] [default to undefined]
10
+ **locations** | **Array&lt;string&gt;** | | [optional] [default to undefined]
11
+ **id** | **string** | | [default to undefined]
12
+ **name** | **string** | | [default to undefined]
13
+ **version** | **string** | | [default to undefined]
14
+ **frequency** | [**Frequency1**](Frequency1.md) | | [optional] [default to undefined]
15
+ **environment** | **string** | | [default to 'default']
16
+ **nodes** | [**Array&lt;Node1&gt;**](Node1.md) | | [default to undefined]
17
+ **edges** | [**Array&lt;Edge1&gt;**](Edge1.md) | | [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { TestPlanV1 } from 'griffin-hub-sdk';
23
+
24
+ const instance: TestPlanV1 = {
25
+ organization,
26
+ project,
27
+ locations,
28
+ id,
29
+ name,
30
+ version,
31
+ frequency,
32
+ environment,
33
+ nodes,
34
+ edges,
35
+ };
36
+ ```
37
+
38
+ [[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,18 @@
1
+ # UnaryPredicate
2
+
3
+
4
+ ## Enum
5
+
6
+ * `IsNull` (value: `'IS_NULL'`)
7
+
8
+ * `IsNotNull` (value: `'IS_NOT_NULL'`)
9
+
10
+ * `IsTrue` (value: `'IS_TRUE'`)
11
+
12
+ * `IsFalse` (value: `'IS_FALSE'`)
13
+
14
+ * `IsEmpty` (value: `'IS_EMPTY'`)
15
+
16
+ * `IsNotEmpty` (value: `'IS_NOT_EMPTY'`)
17
+
18
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Wait.md ADDED
@@ -0,0 +1,24 @@
1
+ # Wait
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **type** | **string** | | [default to undefined]
10
+ **duration_ms** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { Wait } from 'griffin-hub-sdk';
16
+
17
+ const instance: Wait = {
18
+ id,
19
+ type,
20
+ duration_ms,
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)
package/docs/Wait1.md ADDED
@@ -0,0 +1,24 @@
1
+ # Wait1
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **type** | **string** | | [default to undefined]
10
+ **duration_ms** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { Wait1 } from 'griffin-hub-sdk';
16
+
17
+ const instance: Wait1 = {
18
+ id,
19
+ type,
20
+ duration_ms,
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)
package/git_push.sh ADDED
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
package/index.ts ADDED
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * griffin-runner API
5
+ * API for managing and running test plans
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ export * from "./api";
17
+ export * from "./configuration";
18
+
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@griffin-app/griffin-hub-sdk",
3
+ "version": "1.0.0",
4
+ "description": "OpenAPI client for griffin-hub-sdk",
5
+ "author": "OpenAPI-Generator Contributors",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9
+ },
10
+ "keywords": [
11
+ "axios",
12
+ "typescript",
13
+ "openapi-client",
14
+ "openapi-generator",
15
+ "griffin-hub-sdk"
16
+ ],
17
+ "license": "Unlicense",
18
+ "main": "./dist/index.js",
19
+ "typings": "./dist/index.d.ts",
20
+ "module": "./dist/esm/index.js",
21
+ "sideEffects": false,
22
+ "scripts": {
23
+ "build": "tsc && tsc -p tsconfig.esm.json",
24
+ "prepare": "npm run build"
25
+ },
26
+ "dependencies": {
27
+ "axios": "^1.6.1"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "12.11.5 - 12.20.42",
31
+ "typescript": "^4.0 || ^5.0"
32
+ }
33
+ }