@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,1218 @@
1
+ /**
2
+ * griffin-runner API
3
+ * API for managing and running test plans
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ export interface AgentsGet200Response {
17
+ 'data': Array<AgentsGet200ResponseDataInner>;
18
+ 'total': number;
19
+ }
20
+ export interface AgentsGet200ResponseDataInner {
21
+ 'id': string;
22
+ 'location': string;
23
+ 'status': AgentsGet200ResponseDataInnerStatusEnum;
24
+ 'lastHeartbeat': string;
25
+ 'registeredAt': string;
26
+ 'metadata'?: {
27
+ [key: string]: string;
28
+ };
29
+ }
30
+ export declare const AgentsGet200ResponseDataInnerStatusEnum: {
31
+ readonly Online: "online";
32
+ readonly Offline: "offline";
33
+ };
34
+ export type AgentsGet200ResponseDataInnerStatusEnum = typeof AgentsGet200ResponseDataInnerStatusEnum[keyof typeof AgentsGet200ResponseDataInnerStatusEnum];
35
+ export interface AgentsIdHeartbeatPost200Response {
36
+ 'success': boolean;
37
+ }
38
+ export interface AgentsIdHeartbeatPost404Response {
39
+ 'error': string;
40
+ }
41
+ export interface AgentsLocationsGet200Response {
42
+ 'locations': Array<string>;
43
+ }
44
+ export interface AgentsRegisterPost200Response {
45
+ 'id': string;
46
+ 'location': string;
47
+ 'status': AgentsRegisterPost200ResponseStatusEnum;
48
+ 'lastHeartbeat': string;
49
+ 'registeredAt': string;
50
+ 'metadata'?: {
51
+ [key: string]: string;
52
+ };
53
+ }
54
+ export declare const AgentsRegisterPost200ResponseStatusEnum: {
55
+ readonly Online: "online";
56
+ readonly Offline: "offline";
57
+ };
58
+ export type AgentsRegisterPost200ResponseStatusEnum = typeof AgentsRegisterPost200ResponseStatusEnum[keyof typeof AgentsRegisterPost200ResponseStatusEnum];
59
+ export interface AgentsRegisterPostRequest {
60
+ 'location': string;
61
+ 'metadata'?: {
62
+ [key: string]: string;
63
+ };
64
+ }
65
+ export interface Assertion {
66
+ 'assertionType': AssertionAssertionTypeEnum;
67
+ 'nodeId': string;
68
+ 'accessor': AssertionAccessorEnum;
69
+ 'path': string;
70
+ 'predicate': JSONAssertion1Predicate;
71
+ 'expected': any;
72
+ }
73
+ export declare const AssertionAssertionTypeEnum: {
74
+ readonly Text: "TEXT";
75
+ };
76
+ export type AssertionAssertionTypeEnum = typeof AssertionAssertionTypeEnum[keyof typeof AssertionAssertionTypeEnum];
77
+ export declare const AssertionAccessorEnum: {
78
+ readonly Body: "body";
79
+ readonly Headers: "headers";
80
+ readonly Status: "status";
81
+ };
82
+ export type AssertionAccessorEnum = typeof AssertionAccessorEnum[keyof typeof AssertionAccessorEnum];
83
+ export interface Assertion1 {
84
+ 'assertionType': Assertion1AssertionTypeEnum;
85
+ 'nodeId': string;
86
+ 'accessor': Assertion1AccessorEnum;
87
+ 'path': string;
88
+ 'predicate': JSONAssertion1Predicate;
89
+ 'expected': any;
90
+ }
91
+ export declare const Assertion1AssertionTypeEnum: {
92
+ readonly Text: "TEXT";
93
+ };
94
+ export type Assertion1AssertionTypeEnum = typeof Assertion1AssertionTypeEnum[keyof typeof Assertion1AssertionTypeEnum];
95
+ export declare const Assertion1AccessorEnum: {
96
+ readonly Body: "body";
97
+ readonly Headers: "headers";
98
+ readonly Status: "status";
99
+ };
100
+ export type Assertion1AccessorEnum = typeof Assertion1AccessorEnum[keyof typeof Assertion1AccessorEnum];
101
+ export interface Assertion1AnyOf {
102
+ 'assertionType': Assertion1AnyOfAssertionTypeEnum;
103
+ 'nodeId': string;
104
+ 'accessor': Assertion1AnyOfAccessorEnum;
105
+ 'path': Array<string>;
106
+ 'predicate': JSONAssertion1Predicate;
107
+ }
108
+ export declare const Assertion1AnyOfAssertionTypeEnum: {
109
+ readonly Json: "JSON";
110
+ };
111
+ export type Assertion1AnyOfAssertionTypeEnum = typeof Assertion1AnyOfAssertionTypeEnum[keyof typeof Assertion1AnyOfAssertionTypeEnum];
112
+ export declare const Assertion1AnyOfAccessorEnum: {
113
+ readonly Body: "body";
114
+ readonly Headers: "headers";
115
+ readonly Status: "status";
116
+ };
117
+ export type Assertion1AnyOfAccessorEnum = typeof Assertion1AnyOfAccessorEnum[keyof typeof Assertion1AnyOfAccessorEnum];
118
+ export interface Assertion1AnyOf1 {
119
+ 'assertionType': Assertion1AnyOf1AssertionTypeEnum;
120
+ 'path': Array<string>;
121
+ 'expected': any;
122
+ }
123
+ export declare const Assertion1AnyOf1AssertionTypeEnum: {
124
+ readonly Xml: "XML";
125
+ };
126
+ export type Assertion1AnyOf1AssertionTypeEnum = typeof Assertion1AnyOf1AssertionTypeEnum[keyof typeof Assertion1AnyOf1AssertionTypeEnum];
127
+ export interface Assertion1AnyOf2 {
128
+ 'assertionType': Assertion1AnyOf2AssertionTypeEnum;
129
+ 'path': string;
130
+ 'expected': any;
131
+ }
132
+ export declare const Assertion1AnyOf2AssertionTypeEnum: {
133
+ readonly Text: "TEXT";
134
+ };
135
+ export type Assertion1AnyOf2AssertionTypeEnum = typeof Assertion1AnyOf2AssertionTypeEnum[keyof typeof Assertion1AnyOf2AssertionTypeEnum];
136
+ export interface Assertions {
137
+ 'id': string;
138
+ 'type': AssertionsTypeEnum;
139
+ 'assertions': Array<Assertion1>;
140
+ }
141
+ export declare const AssertionsTypeEnum: {
142
+ readonly Assertion: "ASSERTION";
143
+ };
144
+ export type AssertionsTypeEnum = typeof AssertionsTypeEnum[keyof typeof AssertionsTypeEnum];
145
+ export interface Assertions1 {
146
+ 'id': string;
147
+ 'type': Assertions1TypeEnum;
148
+ 'assertions': Array<Assertion1>;
149
+ }
150
+ export declare const Assertions1TypeEnum: {
151
+ readonly Assertion: "ASSERTION";
152
+ };
153
+ export type Assertions1TypeEnum = typeof Assertions1TypeEnum[keyof typeof Assertions1TypeEnum];
154
+ export interface BinaryPredicate {
155
+ 'expected': any;
156
+ 'operator': BinaryPredicateOperatorEnum;
157
+ }
158
+ export declare const BinaryPredicateOperatorEnum: {
159
+ readonly Equal: "EQUAL";
160
+ readonly NotEqual: "NOT_EQUAL";
161
+ readonly GreaterThan: "GREATER_THAN";
162
+ readonly LessThan: "LESS_THAN";
163
+ readonly GreaterThanOrEqual: "GREATER_THAN_OR_EQUAL";
164
+ readonly LessThanOrEqual: "LESS_THAN_OR_EQUAL";
165
+ readonly Contains: "CONTAINS";
166
+ readonly NotContains: "NOT_CONTAINS";
167
+ readonly StartsWith: "STARTS_WITH";
168
+ readonly EndsWith: "ENDS_WITH";
169
+ readonly NotStartsWith: "NOT_STARTS_WITH";
170
+ readonly NotEndsWith: "NOT_ENDS_WITH";
171
+ };
172
+ export type BinaryPredicateOperatorEnum = typeof BinaryPredicateOperatorEnum[keyof typeof BinaryPredicateOperatorEnum];
173
+ export interface BinaryPredicate1 {
174
+ 'expected': any;
175
+ 'operator': BinaryPredicate1OperatorEnum;
176
+ }
177
+ export declare const BinaryPredicate1OperatorEnum: {
178
+ readonly Equal: "EQUAL";
179
+ readonly NotEqual: "NOT_EQUAL";
180
+ readonly GreaterThan: "GREATER_THAN";
181
+ readonly LessThan: "LESS_THAN";
182
+ readonly GreaterThanOrEqual: "GREATER_THAN_OR_EQUAL";
183
+ readonly LessThanOrEqual: "LESS_THAN_OR_EQUAL";
184
+ readonly Contains: "CONTAINS";
185
+ readonly NotContains: "NOT_CONTAINS";
186
+ readonly StartsWith: "STARTS_WITH";
187
+ readonly EndsWith: "ENDS_WITH";
188
+ readonly NotStartsWith: "NOT_STARTS_WITH";
189
+ readonly NotEndsWith: "NOT_ENDS_WITH";
190
+ };
191
+ export type BinaryPredicate1OperatorEnum = typeof BinaryPredicate1OperatorEnum[keyof typeof BinaryPredicate1OperatorEnum];
192
+ export declare const BinaryPredicateOperator: {
193
+ readonly Equal: "EQUAL";
194
+ readonly NotEqual: "NOT_EQUAL";
195
+ readonly GreaterThan: "GREATER_THAN";
196
+ readonly LessThan: "LESS_THAN";
197
+ readonly GreaterThanOrEqual: "GREATER_THAN_OR_EQUAL";
198
+ readonly LessThanOrEqual: "LESS_THAN_OR_EQUAL";
199
+ readonly Contains: "CONTAINS";
200
+ readonly NotContains: "NOT_CONTAINS";
201
+ readonly StartsWith: "STARTS_WITH";
202
+ readonly EndsWith: "ENDS_WITH";
203
+ readonly NotStartsWith: "NOT_STARTS_WITH";
204
+ readonly NotEndsWith: "NOT_ENDS_WITH";
205
+ };
206
+ export type BinaryPredicateOperator = typeof BinaryPredicateOperator[keyof typeof BinaryPredicateOperator];
207
+ export interface ConfigGet200Response {
208
+ 'data': Array<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData>;
209
+ }
210
+ export interface ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response {
211
+ 'data': ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200ResponseData;
212
+ }
213
+ export interface ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200ResponseData {
214
+ 'baseUrl': string;
215
+ }
216
+ export interface ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response {
217
+ 'data': ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData;
218
+ }
219
+ export interface ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData {
220
+ 'id': string;
221
+ 'organizationId': string;
222
+ 'environment': string;
223
+ 'targets': {
224
+ [key: string]: string;
225
+ };
226
+ 'createdAt': string;
227
+ 'updatedAt': string;
228
+ }
229
+ export interface ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest {
230
+ 'baseUrl': string;
231
+ }
232
+ export interface Edge {
233
+ 'from': string;
234
+ 'to': string;
235
+ }
236
+ export interface Edge1 {
237
+ 'from': string;
238
+ 'to': string;
239
+ }
240
+ export interface Endpoint {
241
+ 'id': string;
242
+ 'type': EndpointTypeEnum;
243
+ 'method': EndpointMethodEnum;
244
+ 'path': string;
245
+ 'base': Endpoint1Base;
246
+ 'headers'?: {
247
+ [key: string]: Endpoint1HeadersValue;
248
+ };
249
+ 'body'?: any;
250
+ 'response_format': EndpointResponseFormatEnum;
251
+ }
252
+ export declare const EndpointTypeEnum: {
253
+ readonly Endpoint: "ENDPOINT";
254
+ };
255
+ export type EndpointTypeEnum = typeof EndpointTypeEnum[keyof typeof EndpointTypeEnum];
256
+ export declare const EndpointMethodEnum: {
257
+ readonly Get: "GET";
258
+ readonly Post: "POST";
259
+ readonly Put: "PUT";
260
+ readonly Delete: "DELETE";
261
+ readonly Patch: "PATCH";
262
+ readonly Head: "HEAD";
263
+ readonly Options: "OPTIONS";
264
+ readonly Connect: "CONNECT";
265
+ readonly Trace: "TRACE";
266
+ };
267
+ export type EndpointMethodEnum = typeof EndpointMethodEnum[keyof typeof EndpointMethodEnum];
268
+ export declare const EndpointResponseFormatEnum: {
269
+ readonly Json: "JSON";
270
+ readonly Xml: "XML";
271
+ readonly Text: "TEXT";
272
+ };
273
+ export type EndpointResponseFormatEnum = typeof EndpointResponseFormatEnum[keyof typeof EndpointResponseFormatEnum];
274
+ export interface Endpoint1 {
275
+ 'id': string;
276
+ 'type': Endpoint1TypeEnum;
277
+ 'method': Endpoint1MethodEnum;
278
+ 'path': string;
279
+ 'base': Endpoint1Base;
280
+ 'headers'?: {
281
+ [key: string]: Endpoint1HeadersValue;
282
+ };
283
+ 'body'?: any;
284
+ 'response_format': Endpoint1ResponseFormatEnum;
285
+ }
286
+ export declare const Endpoint1TypeEnum: {
287
+ readonly Endpoint: "ENDPOINT";
288
+ };
289
+ export type Endpoint1TypeEnum = typeof Endpoint1TypeEnum[keyof typeof Endpoint1TypeEnum];
290
+ export declare const Endpoint1MethodEnum: {
291
+ readonly Get: "GET";
292
+ readonly Post: "POST";
293
+ readonly Put: "PUT";
294
+ readonly Delete: "DELETE";
295
+ readonly Patch: "PATCH";
296
+ readonly Head: "HEAD";
297
+ readonly Options: "OPTIONS";
298
+ readonly Connect: "CONNECT";
299
+ readonly Trace: "TRACE";
300
+ };
301
+ export type Endpoint1MethodEnum = typeof Endpoint1MethodEnum[keyof typeof Endpoint1MethodEnum];
302
+ export declare const Endpoint1ResponseFormatEnum: {
303
+ readonly Json: "JSON";
304
+ readonly Xml: "XML";
305
+ readonly Text: "TEXT";
306
+ };
307
+ export type Endpoint1ResponseFormatEnum = typeof Endpoint1ResponseFormatEnum[keyof typeof Endpoint1ResponseFormatEnum];
308
+ export interface Endpoint1Base {
309
+ 'type': Endpoint1BaseTypeEnum;
310
+ 'key': string;
311
+ }
312
+ export declare const Endpoint1BaseTypeEnum: {
313
+ readonly Target: "target";
314
+ };
315
+ export type Endpoint1BaseTypeEnum = typeof Endpoint1BaseTypeEnum[keyof typeof Endpoint1BaseTypeEnum];
316
+ export interface Endpoint1HeadersValue {
317
+ '$secret': Endpoint1HeadersValueAnyOfSecret;
318
+ }
319
+ export interface Endpoint1HeadersValueAnyOf {
320
+ '$secret': Endpoint1HeadersValueAnyOfSecret;
321
+ }
322
+ export interface Endpoint1HeadersValueAnyOfSecret {
323
+ 'provider': string;
324
+ 'ref': string;
325
+ 'version'?: string;
326
+ 'field'?: string;
327
+ }
328
+ export interface Frequency {
329
+ 'every': number;
330
+ 'unit': FrequencyUnitEnum;
331
+ }
332
+ export declare const FrequencyUnitEnum: {
333
+ readonly Minute: "MINUTE";
334
+ readonly Hour: "HOUR";
335
+ readonly Day: "DAY";
336
+ };
337
+ export type FrequencyUnitEnum = typeof FrequencyUnitEnum[keyof typeof FrequencyUnitEnum];
338
+ export interface Frequency1 {
339
+ 'every': number;
340
+ 'unit': Frequency1UnitEnum;
341
+ }
342
+ export declare const Frequency1UnitEnum: {
343
+ readonly Minute: "MINUTE";
344
+ readonly Hour: "HOUR";
345
+ readonly Day: "DAY";
346
+ };
347
+ export type Frequency1UnitEnum = typeof Frequency1UnitEnum[keyof typeof Frequency1UnitEnum];
348
+ export declare const HttpMethod: {
349
+ readonly Get: "GET";
350
+ readonly Post: "POST";
351
+ readonly Put: "PUT";
352
+ readonly Delete: "DELETE";
353
+ readonly Patch: "PATCH";
354
+ readonly Head: "HEAD";
355
+ readonly Options: "OPTIONS";
356
+ readonly Connect: "CONNECT";
357
+ readonly Trace: "TRACE";
358
+ };
359
+ export type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];
360
+ export interface JSONAssertion {
361
+ 'nodeId': string;
362
+ 'accessor': JSONAssertionAccessorEnum;
363
+ 'path': Array<string>;
364
+ 'predicate': JSONAssertion1Predicate;
365
+ }
366
+ export declare const JSONAssertionAccessorEnum: {
367
+ readonly Body: "body";
368
+ readonly Headers: "headers";
369
+ readonly Status: "status";
370
+ };
371
+ export type JSONAssertionAccessorEnum = typeof JSONAssertionAccessorEnum[keyof typeof JSONAssertionAccessorEnum];
372
+ export interface JSONAssertion1Predicate {
373
+ 'expected': any;
374
+ 'operator': JSONAssertion1PredicateOperatorEnum;
375
+ }
376
+ export declare const JSONAssertion1PredicateOperatorEnum: {
377
+ readonly Equal: "EQUAL";
378
+ readonly NotEqual: "NOT_EQUAL";
379
+ readonly GreaterThan: "GREATER_THAN";
380
+ readonly LessThan: "LESS_THAN";
381
+ readonly GreaterThanOrEqual: "GREATER_THAN_OR_EQUAL";
382
+ readonly LessThanOrEqual: "LESS_THAN_OR_EQUAL";
383
+ readonly Contains: "CONTAINS";
384
+ readonly NotContains: "NOT_CONTAINS";
385
+ readonly StartsWith: "STARTS_WITH";
386
+ readonly EndsWith: "ENDS_WITH";
387
+ readonly NotStartsWith: "NOT_STARTS_WITH";
388
+ readonly NotEndsWith: "NOT_ENDS_WITH";
389
+ };
390
+ export type JSONAssertion1PredicateOperatorEnum = typeof JSONAssertion1PredicateOperatorEnum[keyof typeof JSONAssertion1PredicateOperatorEnum];
391
+ /**
392
+ * @type Node
393
+ */
394
+ export type Node = Assertions1 | Endpoint1 | Wait1;
395
+ export interface Node1 {
396
+ 'id': string;
397
+ 'type': Node1TypeEnum;
398
+ 'method': Node1MethodEnum;
399
+ 'path': string;
400
+ 'base': Endpoint1Base;
401
+ 'headers'?: {
402
+ [key: string]: Endpoint1HeadersValue;
403
+ };
404
+ 'body'?: any;
405
+ 'response_format': Node1ResponseFormatEnum;
406
+ 'duration_ms': number;
407
+ 'assertions': Array<Assertion1>;
408
+ }
409
+ export declare const Node1TypeEnum: {
410
+ readonly Endpoint: "ENDPOINT";
411
+ readonly Wait: "WAIT";
412
+ readonly Assertion: "ASSERTION";
413
+ };
414
+ export type Node1TypeEnum = typeof Node1TypeEnum[keyof typeof Node1TypeEnum];
415
+ export declare const Node1MethodEnum: {
416
+ readonly Get: "GET";
417
+ readonly Post: "POST";
418
+ readonly Put: "PUT";
419
+ readonly Delete: "DELETE";
420
+ readonly Patch: "PATCH";
421
+ readonly Head: "HEAD";
422
+ readonly Options: "OPTIONS";
423
+ readonly Connect: "CONNECT";
424
+ readonly Trace: "TRACE";
425
+ };
426
+ export type Node1MethodEnum = typeof Node1MethodEnum[keyof typeof Node1MethodEnum];
427
+ export declare const Node1ResponseFormatEnum: {
428
+ readonly Json: "JSON";
429
+ readonly Xml: "XML";
430
+ readonly Text: "TEXT";
431
+ };
432
+ export type Node1ResponseFormatEnum = typeof Node1ResponseFormatEnum[keyof typeof Node1ResponseFormatEnum];
433
+ export interface PlanGet200Response {
434
+ 'data': Array<TestPlanV1>;
435
+ 'total': number;
436
+ 'page': number;
437
+ 'limit': number;
438
+ }
439
+ export interface PlanPost201Response {
440
+ 'data': TestPlanV1;
441
+ }
442
+ export declare const ResponseFormat: {
443
+ readonly Json: "JSON";
444
+ readonly Xml: "XML";
445
+ readonly Text: "TEXT";
446
+ };
447
+ export type ResponseFormat = typeof ResponseFormat[keyof typeof ResponseFormat];
448
+ export interface RunsGet200Response {
449
+ 'data': Array<RunsGet200ResponseDataInner>;
450
+ 'total': number;
451
+ 'page': number;
452
+ 'limit': number;
453
+ }
454
+ export interface RunsGet200ResponseDataInner {
455
+ 'id': string;
456
+ 'planId': string;
457
+ 'executionGroupId': string;
458
+ 'location': string;
459
+ 'environment': string;
460
+ 'status': RunsGet200ResponseDataInnerStatusEnum;
461
+ 'triggeredBy': RunsGet200ResponseDataInnerTriggeredByEnum;
462
+ 'startedAt': string;
463
+ 'completedAt'?: string;
464
+ 'duration_ms'?: number;
465
+ 'success'?: boolean;
466
+ 'errors'?: Array<string>;
467
+ }
468
+ export declare const RunsGet200ResponseDataInnerStatusEnum: {
469
+ readonly Pending: "pending";
470
+ readonly Running: "running";
471
+ readonly Completed: "completed";
472
+ readonly Failed: "failed";
473
+ };
474
+ export type RunsGet200ResponseDataInnerStatusEnum = typeof RunsGet200ResponseDataInnerStatusEnum[keyof typeof RunsGet200ResponseDataInnerStatusEnum];
475
+ export declare const RunsGet200ResponseDataInnerTriggeredByEnum: {
476
+ readonly Schedule: "schedule";
477
+ readonly Manual: "manual";
478
+ readonly Api: "api";
479
+ };
480
+ export type RunsGet200ResponseDataInnerTriggeredByEnum = typeof RunsGet200ResponseDataInnerTriggeredByEnum[keyof typeof RunsGet200ResponseDataInnerTriggeredByEnum];
481
+ export interface RunsIdGet200Response {
482
+ 'data': RunsIdGet200ResponseData;
483
+ }
484
+ export interface RunsIdGet200ResponseData {
485
+ 'id': string;
486
+ 'planId': string;
487
+ 'executionGroupId': string;
488
+ 'location': string;
489
+ 'environment': string;
490
+ 'status': RunsIdGet200ResponseDataStatusEnum;
491
+ 'triggeredBy': RunsIdGet200ResponseDataTriggeredByEnum;
492
+ 'startedAt': string;
493
+ 'completedAt'?: string;
494
+ 'duration_ms'?: number;
495
+ 'success'?: boolean;
496
+ 'errors'?: Array<string>;
497
+ }
498
+ export declare const RunsIdGet200ResponseDataStatusEnum: {
499
+ readonly Pending: "pending";
500
+ readonly Running: "running";
501
+ readonly Completed: "completed";
502
+ readonly Failed: "failed";
503
+ };
504
+ export type RunsIdGet200ResponseDataStatusEnum = typeof RunsIdGet200ResponseDataStatusEnum[keyof typeof RunsIdGet200ResponseDataStatusEnum];
505
+ export declare const RunsIdGet200ResponseDataTriggeredByEnum: {
506
+ readonly Schedule: "schedule";
507
+ readonly Manual: "manual";
508
+ readonly Api: "api";
509
+ };
510
+ export type RunsIdGet200ResponseDataTriggeredByEnum = typeof RunsIdGet200ResponseDataTriggeredByEnum[keyof typeof RunsIdGet200ResponseDataTriggeredByEnum];
511
+ export interface RunsIdPatchRequest {
512
+ 'status'?: RunsIdPatchRequestStatusEnum;
513
+ 'completedAt'?: string;
514
+ 'duration_ms'?: number;
515
+ 'success'?: boolean;
516
+ 'errors'?: Array<string>;
517
+ }
518
+ export declare const RunsIdPatchRequestStatusEnum: {
519
+ readonly Pending: "pending";
520
+ readonly Running: "running";
521
+ readonly Completed: "completed";
522
+ readonly Failed: "failed";
523
+ };
524
+ export type RunsIdPatchRequestStatusEnum = typeof RunsIdPatchRequestStatusEnum[keyof typeof RunsIdPatchRequestStatusEnum];
525
+ export interface RunsTriggerPlanIdPostRequest {
526
+ 'environment': string;
527
+ }
528
+ export interface TestPlanV1 {
529
+ 'organization'?: string;
530
+ 'project'?: string;
531
+ 'locations'?: Array<string>;
532
+ 'id': string;
533
+ 'name': string;
534
+ 'version': TestPlanV1VersionEnum;
535
+ 'frequency'?: Frequency1;
536
+ 'environment': string;
537
+ 'nodes': Array<Node1>;
538
+ 'edges': Array<Edge1>;
539
+ }
540
+ export declare const TestPlanV1VersionEnum: {
541
+ readonly _10: "1.0";
542
+ };
543
+ export type TestPlanV1VersionEnum = typeof TestPlanV1VersionEnum[keyof typeof TestPlanV1VersionEnum];
544
+ export declare const UnaryPredicate: {
545
+ readonly IsNull: "IS_NULL";
546
+ readonly IsNotNull: "IS_NOT_NULL";
547
+ readonly IsTrue: "IS_TRUE";
548
+ readonly IsFalse: "IS_FALSE";
549
+ readonly IsEmpty: "IS_EMPTY";
550
+ readonly IsNotEmpty: "IS_NOT_EMPTY";
551
+ };
552
+ export type UnaryPredicate = typeof UnaryPredicate[keyof typeof UnaryPredicate];
553
+ export interface Wait {
554
+ 'id': string;
555
+ 'type': WaitTypeEnum;
556
+ 'duration_ms': number;
557
+ }
558
+ export declare const WaitTypeEnum: {
559
+ readonly Wait: "WAIT";
560
+ };
561
+ export type WaitTypeEnum = typeof WaitTypeEnum[keyof typeof WaitTypeEnum];
562
+ export interface Wait1 {
563
+ 'id': string;
564
+ 'type': Wait1TypeEnum;
565
+ 'duration_ms': number;
566
+ }
567
+ export declare const Wait1TypeEnum: {
568
+ readonly Wait: "WAIT";
569
+ };
570
+ export type Wait1TypeEnum = typeof Wait1TypeEnum[keyof typeof Wait1TypeEnum];
571
+ /**
572
+ * AgentsApi - axios parameter creator
573
+ */
574
+ export declare const AgentsApiAxiosParamCreator: (configuration?: Configuration) => {
575
+ /**
576
+ * List all agents with optional filtering
577
+ * @param {string} [location] Filter by location
578
+ * @param {AgentsGetStatusEnum} [status] Filter by status
579
+ * @param {*} [options] Override http request option.
580
+ * @throws {RequiredError}
581
+ */
582
+ agentsGet: (location?: string, status?: AgentsGetStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
583
+ /**
584
+ * Deregister an agent
585
+ * @param {string} id Agent ID
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ */
589
+ agentsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
590
+ /**
591
+ * Record a heartbeat from an agent
592
+ * @param {string} id Agent ID
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ */
596
+ agentsIdHeartbeatPost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
597
+ /**
598
+ * Get all registered locations (with at least one online agent)
599
+ * @param {*} [options] Override http request option.
600
+ * @throws {RequiredError}
601
+ */
602
+ agentsLocationsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
603
+ /**
604
+ * Register a new agent with the hub
605
+ * @param {AgentsRegisterPostRequest} agentsRegisterPostRequest
606
+ * @param {*} [options] Override http request option.
607
+ * @throws {RequiredError}
608
+ */
609
+ agentsRegisterPost: (agentsRegisterPostRequest: AgentsRegisterPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
610
+ };
611
+ /**
612
+ * AgentsApi - functional programming interface
613
+ */
614
+ export declare const AgentsApiFp: (configuration?: Configuration) => {
615
+ /**
616
+ * List all agents with optional filtering
617
+ * @param {string} [location] Filter by location
618
+ * @param {AgentsGetStatusEnum} [status] Filter by status
619
+ * @param {*} [options] Override http request option.
620
+ * @throws {RequiredError}
621
+ */
622
+ agentsGet(location?: string, status?: AgentsGetStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentsGet200Response>>;
623
+ /**
624
+ * Deregister an agent
625
+ * @param {string} id Agent ID
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ agentsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentsIdHeartbeatPost200Response>>;
630
+ /**
631
+ * Record a heartbeat from an agent
632
+ * @param {string} id Agent ID
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ agentsIdHeartbeatPost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentsIdHeartbeatPost200Response>>;
637
+ /**
638
+ * Get all registered locations (with at least one online agent)
639
+ * @param {*} [options] Override http request option.
640
+ * @throws {RequiredError}
641
+ */
642
+ agentsLocationsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentsLocationsGet200Response>>;
643
+ /**
644
+ * Register a new agent with the hub
645
+ * @param {AgentsRegisterPostRequest} agentsRegisterPostRequest
646
+ * @param {*} [options] Override http request option.
647
+ * @throws {RequiredError}
648
+ */
649
+ agentsRegisterPost(agentsRegisterPostRequest: AgentsRegisterPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentsRegisterPost200Response>>;
650
+ };
651
+ /**
652
+ * AgentsApi - factory interface
653
+ */
654
+ export declare const AgentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
655
+ /**
656
+ * List all agents with optional filtering
657
+ * @param {string} [location] Filter by location
658
+ * @param {AgentsGetStatusEnum} [status] Filter by status
659
+ * @param {*} [options] Override http request option.
660
+ * @throws {RequiredError}
661
+ */
662
+ agentsGet(location?: string, status?: AgentsGetStatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<AgentsGet200Response>;
663
+ /**
664
+ * Deregister an agent
665
+ * @param {string} id Agent ID
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ */
669
+ agentsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentsIdHeartbeatPost200Response>;
670
+ /**
671
+ * Record a heartbeat from an agent
672
+ * @param {string} id Agent ID
673
+ * @param {*} [options] Override http request option.
674
+ * @throws {RequiredError}
675
+ */
676
+ agentsIdHeartbeatPost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentsIdHeartbeatPost200Response>;
677
+ /**
678
+ * Get all registered locations (with at least one online agent)
679
+ * @param {*} [options] Override http request option.
680
+ * @throws {RequiredError}
681
+ */
682
+ agentsLocationsGet(options?: RawAxiosRequestConfig): AxiosPromise<AgentsLocationsGet200Response>;
683
+ /**
684
+ * Register a new agent with the hub
685
+ * @param {AgentsRegisterPostRequest} agentsRegisterPostRequest
686
+ * @param {*} [options] Override http request option.
687
+ * @throws {RequiredError}
688
+ */
689
+ agentsRegisterPost(agentsRegisterPostRequest: AgentsRegisterPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentsRegisterPost200Response>;
690
+ };
691
+ /**
692
+ * AgentsApi - object-oriented interface
693
+ */
694
+ export declare class AgentsApi extends BaseAPI {
695
+ /**
696
+ * List all agents with optional filtering
697
+ * @param {string} [location] Filter by location
698
+ * @param {AgentsGetStatusEnum} [status] Filter by status
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ agentsGet(location?: string, status?: AgentsGetStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentsGet200Response, any, {}>>;
703
+ /**
704
+ * Deregister an agent
705
+ * @param {string} id Agent ID
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ agentsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentsIdHeartbeatPost200Response, any, {}>>;
710
+ /**
711
+ * Record a heartbeat from an agent
712
+ * @param {string} id Agent ID
713
+ * @param {*} [options] Override http request option.
714
+ * @throws {RequiredError}
715
+ */
716
+ agentsIdHeartbeatPost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentsIdHeartbeatPost200Response, any, {}>>;
717
+ /**
718
+ * Get all registered locations (with at least one online agent)
719
+ * @param {*} [options] Override http request option.
720
+ * @throws {RequiredError}
721
+ */
722
+ agentsLocationsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentsLocationsGet200Response, any, {}>>;
723
+ /**
724
+ * Register a new agent with the hub
725
+ * @param {AgentsRegisterPostRequest} agentsRegisterPostRequest
726
+ * @param {*} [options] Override http request option.
727
+ * @throws {RequiredError}
728
+ */
729
+ agentsRegisterPost(agentsRegisterPostRequest: AgentsRegisterPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentsRegisterPost200Response, any, {}>>;
730
+ }
731
+ export declare const AgentsGetStatusEnum: {
732
+ readonly Online: "online";
733
+ readonly Offline: "offline";
734
+ };
735
+ export type AgentsGetStatusEnum = typeof AgentsGetStatusEnum[keyof typeof AgentsGetStatusEnum];
736
+ /**
737
+ * ConfigApi - axios parameter creator
738
+ */
739
+ export declare const ConfigApiAxiosParamCreator: (configuration?: Configuration) => {
740
+ /**
741
+ *
742
+ * @param {string} [organizationId]
743
+ * @param {string} [environment]
744
+ * @param {*} [options] Override http request option.
745
+ * @throws {RequiredError}
746
+ */
747
+ configGet: (organizationId?: string, environment?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
748
+ /**
749
+ *
750
+ * @param {string} organizationId
751
+ * @param {string} environment
752
+ * @param {string} targetKey
753
+ * @param {*} [options] Override http request option.
754
+ * @throws {RequiredError}
755
+ */
756
+ configOrganizationIdEnvironmentTargetsTargetKeyDelete: (organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
757
+ /**
758
+ *
759
+ * @param {string} organizationId
760
+ * @param {string} environment
761
+ * @param {string} targetKey
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ configOrganizationIdEnvironmentTargetsTargetKeyGet: (organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
766
+ /**
767
+ *
768
+ * @param {string} organizationId
769
+ * @param {string} environment
770
+ * @param {string} targetKey
771
+ * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
772
+ * @param {*} [options] Override http request option.
773
+ * @throws {RequiredError}
774
+ */
775
+ configOrganizationIdEnvironmentTargetsTargetKeyPut: (organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
776
+ /**
777
+ *
778
+ * @param {string} organizationId
779
+ * @param {string} environment
780
+ * @param {*} [options] Override http request option.
781
+ * @throws {RequiredError}
782
+ */
783
+ configSingleGet: (organizationId: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
784
+ };
785
+ /**
786
+ * ConfigApi - functional programming interface
787
+ */
788
+ export declare const ConfigApiFp: (configuration?: Configuration) => {
789
+ /**
790
+ *
791
+ * @param {string} [organizationId]
792
+ * @param {string} [environment]
793
+ * @param {*} [options] Override http request option.
794
+ * @throws {RequiredError}
795
+ */
796
+ configGet(organizationId?: string, environment?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigGet200Response>>;
797
+ /**
798
+ *
799
+ * @param {string} organizationId
800
+ * @param {string} environment
801
+ * @param {string} targetKey
802
+ * @param {*} [options] Override http request option.
803
+ * @throws {RequiredError}
804
+ */
805
+ configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
806
+ /**
807
+ *
808
+ * @param {string} organizationId
809
+ * @param {string} environment
810
+ * @param {string} targetKey
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ */
814
+ configOrganizationIdEnvironmentTargetsTargetKeyGet(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response>>;
815
+ /**
816
+ *
817
+ * @param {string} organizationId
818
+ * @param {string} environment
819
+ * @param {string} targetKey
820
+ * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
821
+ * @param {*} [options] Override http request option.
822
+ * @throws {RequiredError}
823
+ */
824
+ configOrganizationIdEnvironmentTargetsTargetKeyPut(organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>>;
825
+ /**
826
+ *
827
+ * @param {string} organizationId
828
+ * @param {string} environment
829
+ * @param {*} [options] Override http request option.
830
+ * @throws {RequiredError}
831
+ */
832
+ configSingleGet(organizationId: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>>;
833
+ };
834
+ /**
835
+ * ConfigApi - factory interface
836
+ */
837
+ export declare const ConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
838
+ /**
839
+ *
840
+ * @param {string} [organizationId]
841
+ * @param {string} [environment]
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ configGet(organizationId?: string, environment?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigGet200Response>;
846
+ /**
847
+ *
848
+ * @param {string} organizationId
849
+ * @param {string} environment
850
+ * @param {string} targetKey
851
+ * @param {*} [options] Override http request option.
852
+ * @throws {RequiredError}
853
+ */
854
+ configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
855
+ /**
856
+ *
857
+ * @param {string} organizationId
858
+ * @param {string} environment
859
+ * @param {string} targetKey
860
+ * @param {*} [options] Override http request option.
861
+ * @throws {RequiredError}
862
+ */
863
+ configOrganizationIdEnvironmentTargetsTargetKeyGet(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response>;
864
+ /**
865
+ *
866
+ * @param {string} organizationId
867
+ * @param {string} environment
868
+ * @param {string} targetKey
869
+ * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ */
873
+ configOrganizationIdEnvironmentTargetsTargetKeyPut(organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>;
874
+ /**
875
+ *
876
+ * @param {string} organizationId
877
+ * @param {string} environment
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ */
881
+ configSingleGet(organizationId: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>;
882
+ };
883
+ /**
884
+ * ConfigApi - object-oriented interface
885
+ */
886
+ export declare class ConfigApi extends BaseAPI {
887
+ /**
888
+ *
889
+ * @param {string} [organizationId]
890
+ * @param {string} [environment]
891
+ * @param {*} [options] Override http request option.
892
+ * @throws {RequiredError}
893
+ */
894
+ configGet(organizationId?: string, environment?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigGet200Response, any, {}>>;
895
+ /**
896
+ *
897
+ * @param {string} organizationId
898
+ * @param {string} environment
899
+ * @param {string} targetKey
900
+ * @param {*} [options] Override http request option.
901
+ * @throws {RequiredError}
902
+ */
903
+ configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
904
+ /**
905
+ *
906
+ * @param {string} organizationId
907
+ * @param {string} environment
908
+ * @param {string} targetKey
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ */
912
+ configOrganizationIdEnvironmentTargetsTargetKeyGet(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response, any, {}>>;
913
+ /**
914
+ *
915
+ * @param {string} organizationId
916
+ * @param {string} environment
917
+ * @param {string} targetKey
918
+ * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
919
+ * @param {*} [options] Override http request option.
920
+ * @throws {RequiredError}
921
+ */
922
+ configOrganizationIdEnvironmentTargetsTargetKeyPut(organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response, any, {}>>;
923
+ /**
924
+ *
925
+ * @param {string} organizationId
926
+ * @param {string} environment
927
+ * @param {*} [options] Override http request option.
928
+ * @throws {RequiredError}
929
+ */
930
+ configSingleGet(organizationId: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response, any, {}>>;
931
+ }
932
+ /**
933
+ * DefaultApi - axios parameter creator
934
+ */
935
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
936
+ /**
937
+ *
938
+ * @param {*} [options] Override http request option.
939
+ * @throws {RequiredError}
940
+ */
941
+ rootGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
942
+ };
943
+ /**
944
+ * DefaultApi - functional programming interface
945
+ */
946
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
947
+ /**
948
+ *
949
+ * @param {*} [options] Override http request option.
950
+ * @throws {RequiredError}
951
+ */
952
+ rootGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
953
+ };
954
+ /**
955
+ * DefaultApi - factory interface
956
+ */
957
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
958
+ /**
959
+ *
960
+ * @param {*} [options] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ rootGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
964
+ };
965
+ /**
966
+ * DefaultApi - object-oriented interface
967
+ */
968
+ export declare class DefaultApi extends BaseAPI {
969
+ /**
970
+ *
971
+ * @param {*} [options] Override http request option.
972
+ * @throws {RequiredError}
973
+ */
974
+ rootGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
975
+ }
976
+ /**
977
+ * PlanApi - axios parameter creator
978
+ */
979
+ export declare const PlanApiAxiosParamCreator: (configuration?: Configuration) => {
980
+ /**
981
+ *
982
+ * @param {string} [projectId]
983
+ * @param {number} [limit]
984
+ * @param {number} [offset]
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ */
988
+ planGet: (projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
989
+ /**
990
+ *
991
+ * @param {TestPlanV1} [testPlanV1]
992
+ * @param {*} [options] Override http request option.
993
+ * @throws {RequiredError}
994
+ */
995
+ planPost: (testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
996
+ };
997
+ /**
998
+ * PlanApi - functional programming interface
999
+ */
1000
+ export declare const PlanApiFp: (configuration?: Configuration) => {
1001
+ /**
1002
+ *
1003
+ * @param {string} [projectId]
1004
+ * @param {number} [limit]
1005
+ * @param {number} [offset]
1006
+ * @param {*} [options] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ planGet(projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanGet200Response>>;
1010
+ /**
1011
+ *
1012
+ * @param {TestPlanV1} [testPlanV1]
1013
+ * @param {*} [options] Override http request option.
1014
+ * @throws {RequiredError}
1015
+ */
1016
+ planPost(testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPost201Response>>;
1017
+ };
1018
+ /**
1019
+ * PlanApi - factory interface
1020
+ */
1021
+ export declare const PlanApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1022
+ /**
1023
+ *
1024
+ * @param {string} [projectId]
1025
+ * @param {number} [limit]
1026
+ * @param {number} [offset]
1027
+ * @param {*} [options] Override http request option.
1028
+ * @throws {RequiredError}
1029
+ */
1030
+ planGet(projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanGet200Response>;
1031
+ /**
1032
+ *
1033
+ * @param {TestPlanV1} [testPlanV1]
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ */
1037
+ planPost(testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig): AxiosPromise<PlanPost201Response>;
1038
+ };
1039
+ /**
1040
+ * PlanApi - object-oriented interface
1041
+ */
1042
+ export declare class PlanApi extends BaseAPI {
1043
+ /**
1044
+ *
1045
+ * @param {string} [projectId]
1046
+ * @param {number} [limit]
1047
+ * @param {number} [offset]
1048
+ * @param {*} [options] Override http request option.
1049
+ * @throws {RequiredError}
1050
+ */
1051
+ planGet(projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanGet200Response, any, {}>>;
1052
+ /**
1053
+ *
1054
+ * @param {TestPlanV1} [testPlanV1]
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ */
1058
+ planPost(testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanPost201Response, any, {}>>;
1059
+ }
1060
+ /**
1061
+ * RunsApi - axios parameter creator
1062
+ */
1063
+ export declare const RunsApiAxiosParamCreator: (configuration?: Configuration) => {
1064
+ /**
1065
+ *
1066
+ * @param {string} [planId]
1067
+ * @param {RunsGetStatusEnum} [status]
1068
+ * @param {number} [limit]
1069
+ * @param {number} [offset]
1070
+ * @param {*} [options] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ runsGet: (planId?: string, status?: RunsGetStatusEnum, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1074
+ /**
1075
+ *
1076
+ * @param {string} id
1077
+ * @param {*} [options] Override http request option.
1078
+ * @throws {RequiredError}
1079
+ */
1080
+ runsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1081
+ /**
1082
+ *
1083
+ * @param {string} id
1084
+ * @param {RunsIdPatchRequest} [runsIdPatchRequest]
1085
+ * @param {*} [options] Override http request option.
1086
+ * @throws {RequiredError}
1087
+ */
1088
+ runsIdPatch: (id: string, runsIdPatchRequest?: RunsIdPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1089
+ /**
1090
+ *
1091
+ * @param {string} planId
1092
+ * @param {RunsTriggerPlanIdPostRequest} runsTriggerPlanIdPostRequest
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ */
1096
+ runsTriggerPlanIdPost: (planId: string, runsTriggerPlanIdPostRequest: RunsTriggerPlanIdPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1097
+ };
1098
+ /**
1099
+ * RunsApi - functional programming interface
1100
+ */
1101
+ export declare const RunsApiFp: (configuration?: Configuration) => {
1102
+ /**
1103
+ *
1104
+ * @param {string} [planId]
1105
+ * @param {RunsGetStatusEnum} [status]
1106
+ * @param {number} [limit]
1107
+ * @param {number} [offset]
1108
+ * @param {*} [options] Override http request option.
1109
+ * @throws {RequiredError}
1110
+ */
1111
+ runsGet(planId?: string, status?: RunsGetStatusEnum, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunsGet200Response>>;
1112
+ /**
1113
+ *
1114
+ * @param {string} id
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ */
1118
+ runsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunsIdGet200Response>>;
1119
+ /**
1120
+ *
1121
+ * @param {string} id
1122
+ * @param {RunsIdPatchRequest} [runsIdPatchRequest]
1123
+ * @param {*} [options] Override http request option.
1124
+ * @throws {RequiredError}
1125
+ */
1126
+ runsIdPatch(id: string, runsIdPatchRequest?: RunsIdPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunsIdGet200Response>>;
1127
+ /**
1128
+ *
1129
+ * @param {string} planId
1130
+ * @param {RunsTriggerPlanIdPostRequest} runsTriggerPlanIdPostRequest
1131
+ * @param {*} [options] Override http request option.
1132
+ * @throws {RequiredError}
1133
+ */
1134
+ runsTriggerPlanIdPost(planId: string, runsTriggerPlanIdPostRequest: RunsTriggerPlanIdPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunsIdGet200Response>>;
1135
+ };
1136
+ /**
1137
+ * RunsApi - factory interface
1138
+ */
1139
+ export declare const RunsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1140
+ /**
1141
+ *
1142
+ * @param {string} [planId]
1143
+ * @param {RunsGetStatusEnum} [status]
1144
+ * @param {number} [limit]
1145
+ * @param {number} [offset]
1146
+ * @param {*} [options] Override http request option.
1147
+ * @throws {RequiredError}
1148
+ */
1149
+ runsGet(planId?: string, status?: RunsGetStatusEnum, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<RunsGet200Response>;
1150
+ /**
1151
+ *
1152
+ * @param {string} id
1153
+ * @param {*} [options] Override http request option.
1154
+ * @throws {RequiredError}
1155
+ */
1156
+ runsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RunsIdGet200Response>;
1157
+ /**
1158
+ *
1159
+ * @param {string} id
1160
+ * @param {RunsIdPatchRequest} [runsIdPatchRequest]
1161
+ * @param {*} [options] Override http request option.
1162
+ * @throws {RequiredError}
1163
+ */
1164
+ runsIdPatch(id: string, runsIdPatchRequest?: RunsIdPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<RunsIdGet200Response>;
1165
+ /**
1166
+ *
1167
+ * @param {string} planId
1168
+ * @param {RunsTriggerPlanIdPostRequest} runsTriggerPlanIdPostRequest
1169
+ * @param {*} [options] Override http request option.
1170
+ * @throws {RequiredError}
1171
+ */
1172
+ runsTriggerPlanIdPost(planId: string, runsTriggerPlanIdPostRequest: RunsTriggerPlanIdPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<RunsIdGet200Response>;
1173
+ };
1174
+ /**
1175
+ * RunsApi - object-oriented interface
1176
+ */
1177
+ export declare class RunsApi extends BaseAPI {
1178
+ /**
1179
+ *
1180
+ * @param {string} [planId]
1181
+ * @param {RunsGetStatusEnum} [status]
1182
+ * @param {number} [limit]
1183
+ * @param {number} [offset]
1184
+ * @param {*} [options] Override http request option.
1185
+ * @throws {RequiredError}
1186
+ */
1187
+ runsGet(planId?: string, status?: RunsGetStatusEnum, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunsGet200Response, any, {}>>;
1188
+ /**
1189
+ *
1190
+ * @param {string} id
1191
+ * @param {*} [options] Override http request option.
1192
+ * @throws {RequiredError}
1193
+ */
1194
+ runsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunsIdGet200Response, any, {}>>;
1195
+ /**
1196
+ *
1197
+ * @param {string} id
1198
+ * @param {RunsIdPatchRequest} [runsIdPatchRequest]
1199
+ * @param {*} [options] Override http request option.
1200
+ * @throws {RequiredError}
1201
+ */
1202
+ runsIdPatch(id: string, runsIdPatchRequest?: RunsIdPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunsIdGet200Response, any, {}>>;
1203
+ /**
1204
+ *
1205
+ * @param {string} planId
1206
+ * @param {RunsTriggerPlanIdPostRequest} runsTriggerPlanIdPostRequest
1207
+ * @param {*} [options] Override http request option.
1208
+ * @throws {RequiredError}
1209
+ */
1210
+ runsTriggerPlanIdPost(planId: string, runsTriggerPlanIdPostRequest: RunsTriggerPlanIdPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunsIdGet200Response, any, {}>>;
1211
+ }
1212
+ export declare const RunsGetStatusEnum: {
1213
+ readonly Pending: "pending";
1214
+ readonly Running: "running";
1215
+ readonly Completed: "completed";
1216
+ readonly Failed: "failed";
1217
+ };
1218
+ export type RunsGetStatusEnum = typeof RunsGetStatusEnum[keyof typeof RunsGetStatusEnum];