@griffin-app/griffin-hub-sdk 1.0.0 → 1.0.1

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 (89) hide show
  1. package/.openapi-generator/FILES +15 -20
  2. package/README.md +18 -24
  3. package/api.ts +389 -617
  4. package/dist/api.d.ts +221 -356
  5. package/dist/api.js +281 -473
  6. package/dist/esm/api.d.ts +221 -356
  7. package/dist/esm/api.js +272 -460
  8. package/dist/openapi-ts.config.d.ts +2 -0
  9. package/dist/openapi-ts.config.js +14 -0
  10. package/dist/openapi-ts.config.js.map +1 -0
  11. package/dist/src/client/client/client.gen.d.ts +2 -0
  12. package/dist/src/client/client/client.gen.js +199 -0
  13. package/dist/src/client/client/client.gen.js.map +1 -0
  14. package/dist/src/client/client/index.d.ts +8 -0
  15. package/dist/src/client/client/index.js +6 -0
  16. package/dist/src/client/client/index.js.map +1 -0
  17. package/dist/src/client/client/types.gen.d.ts +68 -0
  18. package/dist/src/client/client/types.gen.js +2 -0
  19. package/dist/src/client/client/types.gen.js.map +1 -0
  20. package/dist/src/client/client/utils.gen.d.ts +30 -0
  21. package/dist/src/client/client/utils.gen.js +232 -0
  22. package/dist/src/client/client/utils.gen.js.map +1 -0
  23. package/dist/src/client/client.gen.d.ts +4 -0
  24. package/dist/src/client/client.gen.js +3 -0
  25. package/dist/src/client/client.gen.js.map +1 -0
  26. package/dist/src/client/core/auth.gen.d.ts +8 -0
  27. package/dist/src/client/core/auth.gen.js +23 -0
  28. package/dist/src/client/core/auth.gen.js.map +1 -0
  29. package/dist/src/client/core/bodySerializer.gen.d.ts +21 -0
  30. package/dist/src/client/core/bodySerializer.gen.js +57 -0
  31. package/dist/src/client/core/bodySerializer.gen.js.map +1 -0
  32. package/dist/src/client/core/params.gen.d.ts +26 -0
  33. package/dist/src/client/core/params.gen.js +100 -0
  34. package/dist/src/client/core/params.gen.js.map +1 -0
  35. package/dist/src/client/core/pathSerializer.gen.d.ts +30 -0
  36. package/dist/src/client/core/pathSerializer.gen.js +114 -0
  37. package/dist/src/client/core/pathSerializer.gen.js.map +1 -0
  38. package/dist/src/client/core/queryKeySerializer.gen.d.ts +6 -0
  39. package/dist/src/client/core/queryKeySerializer.gen.js +84 -0
  40. package/dist/src/client/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/src/client/core/serverSentEvents.gen.d.ts +23 -0
  42. package/dist/src/client/core/serverSentEvents.gen.js +153 -0
  43. package/dist/src/client/core/serverSentEvents.gen.js.map +1 -0
  44. package/dist/src/client/core/types.gen.d.ts +32 -0
  45. package/dist/src/client/core/types.gen.js +2 -0
  46. package/dist/src/client/core/types.gen.js.map +1 -0
  47. package/dist/src/client/core/utils.gen.d.ts +19 -0
  48. package/dist/src/client/core/utils.gen.js +84 -0
  49. package/dist/src/client/core/utils.gen.js.map +1 -0
  50. package/dist/src/client/index.d.ts +2 -0
  51. package/dist/src/client/index.js +2 -0
  52. package/dist/src/client/index.js.map +1 -0
  53. package/dist/src/client/sdk.gen.d.ts +11 -0
  54. package/dist/src/client/sdk.gen.js +10 -0
  55. package/dist/src/client/sdk.gen.js.map +1 -0
  56. package/dist/src/client/types.gen.d.ts +217 -0
  57. package/dist/src/client/types.gen.js +2 -0
  58. package/dist/src/client/types.gen.js.map +1 -0
  59. package/docs/{Assertion1AnyOf.md → AssertionAnyOf.md} +3 -3
  60. package/docs/{Assertion1AnyOf1.md → AssertionAnyOf1.md} +3 -3
  61. package/docs/{Assertion1AnyOf2.md → AssertionAnyOf2.md} +3 -3
  62. package/docs/Assertions.md +1 -1
  63. package/docs/{Assertion1.md → AssertionsAssertionsInner.md} +4 -4
  64. package/docs/AssertionsAssertionsInnerAnyOf.md +28 -0
  65. package/docs/AssertionsAssertionsInnerAnyOfAllOfPredicate.md +22 -0
  66. package/docs/AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOf.md +22 -0
  67. package/docs/Endpoint.md +3 -3
  68. package/docs/{Endpoint1HeadersValue.md → EndpointHeadersValue.md} +4 -4
  69. package/docs/{Endpoint1HeadersValueAnyOf.md → EndpointHeadersValueAnyOf.md} +4 -4
  70. package/docs/{Endpoint1HeadersValueAnyOfSecret.md → EndpointHeadersValueAnyOfSecret.md} +3 -3
  71. package/docs/{Edge1.md → EndpointPath.md} +5 -7
  72. package/docs/{Wait1.md → EndpointPathAnyOf.md} +5 -9
  73. package/docs/{Endpoint1Base.md → EndpointPathAnyOfVariable.md} +5 -5
  74. package/docs/Node.md +4 -4
  75. package/docs/PlanApi.md +195 -5
  76. package/docs/PlanPostRequest.md +34 -0
  77. package/docs/PlanPostRequestFrequency.md +22 -0
  78. package/docs/TestPlanV1.md +4 -6
  79. package/package.json +1 -1
  80. package/docs/Assertions1.md +0 -24
  81. package/docs/ConfigApi.md +0 -330
  82. package/docs/ConfigGet200Response.md +0 -20
  83. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response.md +0 -20
  84. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200ResponseData.md +0 -20
  85. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response.md +0 -20
  86. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData.md +0 -30
  87. package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest.md +0 -20
  88. package/docs/Endpoint1.md +0 -34
  89. package/docs/Node1.md +0 -38
package/dist/api.d.ts CHANGED
@@ -80,77 +80,123 @@ export declare const AssertionAccessorEnum: {
80
80
  readonly Status: "status";
81
81
  };
82
82
  export type AssertionAccessorEnum = typeof AssertionAccessorEnum[keyof typeof AssertionAccessorEnum];
83
- export interface Assertion1 {
84
- 'assertionType': Assertion1AssertionTypeEnum;
83
+ export interface AssertionAnyOf {
84
+ 'assertionType': AssertionAnyOfAssertionTypeEnum;
85
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;
86
+ 'accessor': AssertionAnyOfAccessorEnum;
105
87
  'path': Array<string>;
106
88
  'predicate': JSONAssertion1Predicate;
107
89
  }
108
- export declare const Assertion1AnyOfAssertionTypeEnum: {
90
+ export declare const AssertionAnyOfAssertionTypeEnum: {
109
91
  readonly Json: "JSON";
110
92
  };
111
- export type Assertion1AnyOfAssertionTypeEnum = typeof Assertion1AnyOfAssertionTypeEnum[keyof typeof Assertion1AnyOfAssertionTypeEnum];
112
- export declare const Assertion1AnyOfAccessorEnum: {
93
+ export type AssertionAnyOfAssertionTypeEnum = typeof AssertionAnyOfAssertionTypeEnum[keyof typeof AssertionAnyOfAssertionTypeEnum];
94
+ export declare const AssertionAnyOfAccessorEnum: {
113
95
  readonly Body: "body";
114
96
  readonly Headers: "headers";
115
97
  readonly Status: "status";
116
98
  };
117
- export type Assertion1AnyOfAccessorEnum = typeof Assertion1AnyOfAccessorEnum[keyof typeof Assertion1AnyOfAccessorEnum];
118
- export interface Assertion1AnyOf1 {
119
- 'assertionType': Assertion1AnyOf1AssertionTypeEnum;
99
+ export type AssertionAnyOfAccessorEnum = typeof AssertionAnyOfAccessorEnum[keyof typeof AssertionAnyOfAccessorEnum];
100
+ export interface AssertionAnyOf1 {
101
+ 'assertionType': AssertionAnyOf1AssertionTypeEnum;
120
102
  'path': Array<string>;
121
103
  'expected': any;
122
104
  }
123
- export declare const Assertion1AnyOf1AssertionTypeEnum: {
105
+ export declare const AssertionAnyOf1AssertionTypeEnum: {
124
106
  readonly Xml: "XML";
125
107
  };
126
- export type Assertion1AnyOf1AssertionTypeEnum = typeof Assertion1AnyOf1AssertionTypeEnum[keyof typeof Assertion1AnyOf1AssertionTypeEnum];
127
- export interface Assertion1AnyOf2 {
128
- 'assertionType': Assertion1AnyOf2AssertionTypeEnum;
108
+ export type AssertionAnyOf1AssertionTypeEnum = typeof AssertionAnyOf1AssertionTypeEnum[keyof typeof AssertionAnyOf1AssertionTypeEnum];
109
+ export interface AssertionAnyOf2 {
110
+ 'assertionType': AssertionAnyOf2AssertionTypeEnum;
129
111
  'path': string;
130
112
  'expected': any;
131
113
  }
132
- export declare const Assertion1AnyOf2AssertionTypeEnum: {
114
+ export declare const AssertionAnyOf2AssertionTypeEnum: {
133
115
  readonly Text: "TEXT";
134
116
  };
135
- export type Assertion1AnyOf2AssertionTypeEnum = typeof Assertion1AnyOf2AssertionTypeEnum[keyof typeof Assertion1AnyOf2AssertionTypeEnum];
117
+ export type AssertionAnyOf2AssertionTypeEnum = typeof AssertionAnyOf2AssertionTypeEnum[keyof typeof AssertionAnyOf2AssertionTypeEnum];
136
118
  export interface Assertions {
137
119
  'id': string;
138
120
  'type': AssertionsTypeEnum;
139
- 'assertions': Array<Assertion1>;
121
+ 'assertions': Array<AssertionsAssertionsInner>;
140
122
  }
141
123
  export declare const AssertionsTypeEnum: {
142
124
  readonly Assertion: "ASSERTION";
143
125
  };
144
126
  export type AssertionsTypeEnum = typeof AssertionsTypeEnum[keyof typeof AssertionsTypeEnum];
145
- export interface Assertions1 {
146
- 'id': string;
147
- 'type': Assertions1TypeEnum;
148
- 'assertions': Array<Assertion1>;
127
+ export interface AssertionsAssertionsInner {
128
+ 'assertionType': AssertionsAssertionsInnerAssertionTypeEnum;
129
+ 'nodeId': string;
130
+ 'accessor': AssertionsAssertionsInnerAccessorEnum;
131
+ 'path': string;
132
+ 'predicate': AssertionsAssertionsInnerAnyOfAllOfPredicate;
133
+ 'expected': any;
149
134
  }
150
- export declare const Assertions1TypeEnum: {
151
- readonly Assertion: "ASSERTION";
135
+ export declare const AssertionsAssertionsInnerAssertionTypeEnum: {
136
+ readonly Text: "TEXT";
137
+ };
138
+ export type AssertionsAssertionsInnerAssertionTypeEnum = typeof AssertionsAssertionsInnerAssertionTypeEnum[keyof typeof AssertionsAssertionsInnerAssertionTypeEnum];
139
+ export declare const AssertionsAssertionsInnerAccessorEnum: {
140
+ readonly Body: "body";
141
+ readonly Headers: "headers";
142
+ readonly Status: "status";
143
+ };
144
+ export type AssertionsAssertionsInnerAccessorEnum = typeof AssertionsAssertionsInnerAccessorEnum[keyof typeof AssertionsAssertionsInnerAccessorEnum];
145
+ export interface AssertionsAssertionsInnerAnyOf {
146
+ 'assertionType': AssertionsAssertionsInnerAnyOfAssertionTypeEnum;
147
+ 'nodeId': string;
148
+ 'accessor': AssertionsAssertionsInnerAnyOfAccessorEnum;
149
+ 'path': Array<string>;
150
+ 'predicate': AssertionsAssertionsInnerAnyOfAllOfPredicate;
151
+ }
152
+ export declare const AssertionsAssertionsInnerAnyOfAssertionTypeEnum: {
153
+ readonly Json: "JSON";
154
+ };
155
+ export type AssertionsAssertionsInnerAnyOfAssertionTypeEnum = typeof AssertionsAssertionsInnerAnyOfAssertionTypeEnum[keyof typeof AssertionsAssertionsInnerAnyOfAssertionTypeEnum];
156
+ export declare const AssertionsAssertionsInnerAnyOfAccessorEnum: {
157
+ readonly Body: "body";
158
+ readonly Headers: "headers";
159
+ readonly Status: "status";
160
+ };
161
+ export type AssertionsAssertionsInnerAnyOfAccessorEnum = typeof AssertionsAssertionsInnerAnyOfAccessorEnum[keyof typeof AssertionsAssertionsInnerAnyOfAccessorEnum];
162
+ export interface AssertionsAssertionsInnerAnyOfAllOfPredicate {
163
+ 'expected': any;
164
+ 'operator': AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum;
165
+ }
166
+ export declare const AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum: {
167
+ readonly Equal: "EQUAL";
168
+ readonly NotEqual: "NOT_EQUAL";
169
+ readonly GreaterThan: "GREATER_THAN";
170
+ readonly LessThan: "LESS_THAN";
171
+ readonly GreaterThanOrEqual: "GREATER_THAN_OR_EQUAL";
172
+ readonly LessThanOrEqual: "LESS_THAN_OR_EQUAL";
173
+ readonly Contains: "CONTAINS";
174
+ readonly NotContains: "NOT_CONTAINS";
175
+ readonly StartsWith: "STARTS_WITH";
176
+ readonly EndsWith: "ENDS_WITH";
177
+ readonly NotStartsWith: "NOT_STARTS_WITH";
178
+ readonly NotEndsWith: "NOT_ENDS_WITH";
179
+ };
180
+ export type AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum = typeof AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum[keyof typeof AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum];
181
+ export interface AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOf {
182
+ 'expected': any;
183
+ 'operator': AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum;
184
+ }
185
+ export declare const AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum: {
186
+ readonly Equal: "EQUAL";
187
+ readonly NotEqual: "NOT_EQUAL";
188
+ readonly GreaterThan: "GREATER_THAN";
189
+ readonly LessThan: "LESS_THAN";
190
+ readonly GreaterThanOrEqual: "GREATER_THAN_OR_EQUAL";
191
+ readonly LessThanOrEqual: "LESS_THAN_OR_EQUAL";
192
+ readonly Contains: "CONTAINS";
193
+ readonly NotContains: "NOT_CONTAINS";
194
+ readonly StartsWith: "STARTS_WITH";
195
+ readonly EndsWith: "ENDS_WITH";
196
+ readonly NotStartsWith: "NOT_STARTS_WITH";
197
+ readonly NotEndsWith: "NOT_ENDS_WITH";
152
198
  };
153
- export type Assertions1TypeEnum = typeof Assertions1TypeEnum[keyof typeof Assertions1TypeEnum];
199
+ export type AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum = typeof AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum[keyof typeof AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum];
154
200
  export interface BinaryPredicate {
155
201
  'expected': any;
156
202
  'operator': BinaryPredicateOperatorEnum;
@@ -204,47 +250,18 @@ export declare const BinaryPredicateOperator: {
204
250
  readonly NotEndsWith: "NOT_ENDS_WITH";
205
251
  };
206
252
  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
253
  export interface Edge {
233
254
  'from': string;
234
255
  'to': string;
235
256
  }
236
- export interface Edge1 {
237
- 'from': string;
238
- 'to': string;
239
- }
240
257
  export interface Endpoint {
241
258
  'id': string;
242
259
  'type': EndpointTypeEnum;
243
260
  'method': EndpointMethodEnum;
244
- 'path': string;
245
- 'base': Endpoint1Base;
261
+ 'path': EndpointPath;
262
+ 'base': EndpointPath;
246
263
  'headers'?: {
247
- [key: string]: Endpoint1HeadersValue;
264
+ [key: string]: EndpointHeadersValue;
248
265
  };
249
266
  'body'?: any;
250
267
  'response_format': EndpointResponseFormatEnum;
@@ -271,60 +288,28 @@ export declare const EndpointResponseFormatEnum: {
271
288
  readonly Text: "TEXT";
272
289
  };
273
290
  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;
291
+ export interface EndpointHeadersValue {
292
+ '$secret': EndpointHeadersValueAnyOfSecret;
311
293
  }
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;
294
+ export interface EndpointHeadersValueAnyOf {
295
+ '$secret': EndpointHeadersValueAnyOfSecret;
318
296
  }
319
- export interface Endpoint1HeadersValueAnyOf {
320
- '$secret': Endpoint1HeadersValueAnyOfSecret;
321
- }
322
- export interface Endpoint1HeadersValueAnyOfSecret {
297
+ export interface EndpointHeadersValueAnyOfSecret {
323
298
  'provider': string;
324
299
  'ref': string;
325
300
  'version'?: string;
326
301
  'field'?: string;
327
302
  }
303
+ export interface EndpointPath {
304
+ '$variable': EndpointPathAnyOfVariable;
305
+ }
306
+ export interface EndpointPathAnyOf {
307
+ '$variable': EndpointPathAnyOfVariable;
308
+ }
309
+ export interface EndpointPathAnyOfVariable {
310
+ 'key': string;
311
+ 'template'?: string;
312
+ }
328
313
  export interface Frequency {
329
314
  'every': number;
330
315
  'unit': FrequencyUnitEnum;
@@ -391,45 +376,7 @@ export type JSONAssertion1PredicateOperatorEnum = typeof JSONAssertion1Predicate
391
376
  /**
392
377
  * @type Node
393
378
  */
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];
379
+ export type Node = Assertions | Endpoint | Wait;
433
380
  export interface PlanGet200Response {
434
381
  'data': Array<TestPlanV1>;
435
382
  'total': number;
@@ -439,6 +386,30 @@ export interface PlanGet200Response {
439
386
  export interface PlanPost201Response {
440
387
  'data': TestPlanV1;
441
388
  }
389
+ export interface PlanPostRequest {
390
+ 'project': string;
391
+ 'locations'?: Array<string>;
392
+ 'name': string;
393
+ 'version': PlanPostRequestVersionEnum;
394
+ 'frequency': PlanPostRequestFrequency;
395
+ 'environment': string;
396
+ 'nodes': Array<Node>;
397
+ 'edges': Array<Edge>;
398
+ }
399
+ export declare const PlanPostRequestVersionEnum: {
400
+ readonly _10: "1.0";
401
+ };
402
+ export type PlanPostRequestVersionEnum = typeof PlanPostRequestVersionEnum[keyof typeof PlanPostRequestVersionEnum];
403
+ export interface PlanPostRequestFrequency {
404
+ 'every': number;
405
+ 'unit': PlanPostRequestFrequencyUnitEnum;
406
+ }
407
+ export declare const PlanPostRequestFrequencyUnitEnum: {
408
+ readonly Minute: "MINUTE";
409
+ readonly Hour: "HOUR";
410
+ readonly Day: "DAY";
411
+ };
412
+ export type PlanPostRequestFrequencyUnitEnum = typeof PlanPostRequestFrequencyUnitEnum[keyof typeof PlanPostRequestFrequencyUnitEnum];
442
413
  export declare const ResponseFormat: {
443
414
  readonly Json: "JSON";
444
415
  readonly Xml: "XML";
@@ -526,16 +497,15 @@ export interface RunsTriggerPlanIdPostRequest {
526
497
  'environment': string;
527
498
  }
528
499
  export interface TestPlanV1 {
529
- 'organization'?: string;
530
- 'project'?: string;
500
+ 'project': string;
531
501
  'locations'?: Array<string>;
532
502
  'id': string;
533
503
  'name': string;
534
504
  'version': TestPlanV1VersionEnum;
535
- 'frequency'?: Frequency1;
505
+ 'frequency': Frequency1;
536
506
  'environment': string;
537
- 'nodes': Array<Node1>;
538
- 'edges': Array<Edge1>;
507
+ 'nodes': Array<Node>;
508
+ 'edges': Array<Edge>;
539
509
  }
540
510
  export declare const TestPlanV1VersionEnum: {
541
511
  readonly _10: "1.0";
@@ -559,15 +529,6 @@ export declare const WaitTypeEnum: {
559
529
  readonly Wait: "WAIT";
560
530
  };
561
531
  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
532
  /**
572
533
  * AgentsApi - axios parameter creator
573
534
  */
@@ -734,328 +695,232 @@ export declare const AgentsGetStatusEnum: {
734
695
  };
735
696
  export type AgentsGetStatusEnum = typeof AgentsGetStatusEnum[keyof typeof AgentsGetStatusEnum];
736
697
  /**
737
- * ConfigApi - axios parameter creator
698
+ * DefaultApi - axios parameter creator
738
699
  */
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>;
700
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
776
701
  /**
777
702
  *
778
- * @param {string} organizationId
779
- * @param {string} environment
780
703
  * @param {*} [options] Override http request option.
781
704
  * @throws {RequiredError}
782
705
  */
783
- configSingleGet: (organizationId: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
706
+ rootGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
784
707
  };
785
708
  /**
786
- * ConfigApi - functional programming interface
709
+ * DefaultApi - functional programming interface
787
710
  */
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>>;
711
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
806
712
  /**
807
713
  *
808
- * @param {string} organizationId
809
- * @param {string} environment
810
- * @param {string} targetKey
811
714
  * @param {*} [options] Override http request option.
812
715
  * @throws {RequiredError}
813
716
  */
814
- configOrganizationIdEnvironmentTargetsTargetKeyGet(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response>>;
717
+ rootGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
718
+ };
719
+ /**
720
+ * DefaultApi - factory interface
721
+ */
722
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
815
723
  /**
816
724
  *
817
- * @param {string} organizationId
818
- * @param {string} environment
819
- * @param {string} targetKey
820
- * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
821
725
  * @param {*} [options] Override http request option.
822
726
  * @throws {RequiredError}
823
727
  */
824
- configOrganizationIdEnvironmentTargetsTargetKeyPut(organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>>;
728
+ rootGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
729
+ };
730
+ /**
731
+ * DefaultApi - object-oriented interface
732
+ */
733
+ export declare class DefaultApi extends BaseAPI {
825
734
  /**
826
735
  *
827
- * @param {string} organizationId
828
- * @param {string} environment
829
736
  * @param {*} [options] Override http request option.
830
737
  * @throws {RequiredError}
831
738
  */
832
- configSingleGet(organizationId: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>>;
833
- };
739
+ rootGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
740
+ }
834
741
  /**
835
- * ConfigApi - factory interface
742
+ * PlanApi - axios parameter creator
836
743
  */
837
- export declare const ConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
744
+ export declare const PlanApiAxiosParamCreator: (configuration?: Configuration) => {
838
745
  /**
839
746
  *
840
- * @param {string} [organizationId]
841
- * @param {string} [environment]
747
+ * @param {string} projectId
748
+ * @param {string} environment
749
+ * @param {string} name
842
750
  * @param {*} [options] Override http request option.
843
751
  * @throws {RequiredError}
844
752
  */
845
- configGet(organizationId?: string, environment?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigGet200Response>;
753
+ planByNameGet: (projectId: string, environment: string, name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
846
754
  /**
847
755
  *
848
- * @param {string} organizationId
849
- * @param {string} environment
850
- * @param {string} targetKey
756
+ * @param {string} [projectId]
757
+ * @param {string} [environment]
758
+ * @param {number} [limit]
759
+ * @param {number} [offset]
851
760
  * @param {*} [options] Override http request option.
852
761
  * @throws {RequiredError}
853
762
  */
854
- configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
763
+ planGet: (projectId?: string, environment?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
855
764
  /**
856
765
  *
857
- * @param {string} organizationId
858
- * @param {string} environment
859
- * @param {string} targetKey
766
+ * @param {string} id
860
767
  * @param {*} [options] Override http request option.
861
768
  * @throws {RequiredError}
862
769
  */
863
- configOrganizationIdEnvironmentTargetsTargetKeyGet(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response>;
770
+ planIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
864
771
  /**
865
772
  *
866
- * @param {string} organizationId
867
- * @param {string} environment
868
- * @param {string} targetKey
869
- * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
773
+ * @param {string} id
774
+ * @param {PlanPostRequest} planPostRequest
870
775
  * @param {*} [options] Override http request option.
871
776
  * @throws {RequiredError}
872
777
  */
873
- configOrganizationIdEnvironmentTargetsTargetKeyPut(organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>;
778
+ planIdPut: (id: string, planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
874
779
  /**
875
780
  *
876
- * @param {string} organizationId
877
- * @param {string} environment
781
+ * @param {PlanPostRequest} planPostRequest
878
782
  * @param {*} [options] Override http request option.
879
783
  * @throws {RequiredError}
880
784
  */
881
- configSingleGet(organizationId: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response>;
785
+ planPost: (planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
882
786
  };
883
787
  /**
884
- * ConfigApi - object-oriented interface
788
+ * PlanApi - functional programming interface
885
789
  */
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, {}>>;
790
+ export declare const PlanApiFp: (configuration?: Configuration) => {
895
791
  /**
896
792
  *
897
- * @param {string} organizationId
793
+ * @param {string} projectId
898
794
  * @param {string} environment
899
- * @param {string} targetKey
795
+ * @param {string} name
900
796
  * @param {*} [options] Override http request option.
901
797
  * @throws {RequiredError}
902
798
  */
903
- configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
799
+ planByNameGet(projectId: string, environment: string, name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPost201Response>>;
904
800
  /**
905
801
  *
906
- * @param {string} organizationId
907
- * @param {string} environment
908
- * @param {string} targetKey
802
+ * @param {string} [projectId]
803
+ * @param {string} [environment]
804
+ * @param {number} [limit]
805
+ * @param {number} [offset]
909
806
  * @param {*} [options] Override http request option.
910
807
  * @throws {RequiredError}
911
808
  */
912
- configOrganizationIdEnvironmentTargetsTargetKeyGet(organizationId: string, environment: string, targetKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response, any, {}>>;
809
+ planGet(projectId?: string, environment?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanGet200Response>>;
913
810
  /**
914
811
  *
915
- * @param {string} organizationId
916
- * @param {string} environment
917
- * @param {string} targetKey
918
- * @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
812
+ * @param {string} id
919
813
  * @param {*} [options] Override http request option.
920
814
  * @throws {RequiredError}
921
815
  */
922
- configOrganizationIdEnvironmentTargetsTargetKeyPut(organizationId: string, environment: string, targetKey: string, configOrganizationIdEnvironmentTargetsTargetKeyPutRequest: ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response, any, {}>>;
816
+ planIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
923
817
  /**
924
818
  *
925
- * @param {string} organizationId
926
- * @param {string} environment
819
+ * @param {string} id
820
+ * @param {PlanPostRequest} planPostRequest
927
821
  * @param {*} [options] Override http request option.
928
822
  * @throws {RequiredError}
929
823
  */
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) => {
824
+ planIdPut(id: string, planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPost201Response>>;
936
825
  /**
937
826
  *
827
+ * @param {PlanPostRequest} planPostRequest
938
828
  * @param {*} [options] Override http request option.
939
829
  * @throws {RequiredError}
940
830
  */
941
- rootGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
831
+ planPost(planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPost201Response>>;
942
832
  };
943
833
  /**
944
- * DefaultApi - functional programming interface
834
+ * PlanApi - factory interface
945
835
  */
946
- export declare const DefaultApiFp: (configuration?: Configuration) => {
836
+ export declare const PlanApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
947
837
  /**
948
838
  *
839
+ * @param {string} projectId
840
+ * @param {string} environment
841
+ * @param {string} name
949
842
  * @param {*} [options] Override http request option.
950
843
  * @throws {RequiredError}
951
844
  */
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) => {
845
+ planByNameGet(projectId: string, environment: string, name: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanPost201Response>;
958
846
  /**
959
847
  *
848
+ * @param {string} [projectId]
849
+ * @param {string} [environment]
850
+ * @param {number} [limit]
851
+ * @param {number} [offset]
960
852
  * @param {*} [options] Override http request option.
961
853
  * @throws {RequiredError}
962
854
  */
963
- rootGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
964
- };
965
- /**
966
- * DefaultApi - object-oriented interface
967
- */
968
- export declare class DefaultApi extends BaseAPI {
855
+ planGet(projectId?: string, environment?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanGet200Response>;
969
856
  /**
970
857
  *
858
+ * @param {string} id
971
859
  * @param {*} [options] Override http request option.
972
860
  * @throws {RequiredError}
973
861
  */
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) => {
862
+ planIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
980
863
  /**
981
864
  *
982
- * @param {string} [projectId]
983
- * @param {number} [limit]
984
- * @param {number} [offset]
865
+ * @param {string} id
866
+ * @param {PlanPostRequest} planPostRequest
985
867
  * @param {*} [options] Override http request option.
986
868
  * @throws {RequiredError}
987
869
  */
988
- planGet: (projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
870
+ planIdPut(id: string, planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlanPost201Response>;
989
871
  /**
990
872
  *
991
- * @param {TestPlanV1} [testPlanV1]
873
+ * @param {PlanPostRequest} planPostRequest
992
874
  * @param {*} [options] Override http request option.
993
875
  * @throws {RequiredError}
994
876
  */
995
- planPost: (testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
877
+ planPost(planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlanPost201Response>;
996
878
  };
997
879
  /**
998
- * PlanApi - functional programming interface
880
+ * PlanApi - object-oriented interface
999
881
  */
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>>;
882
+ export declare class PlanApi extends BaseAPI {
1010
883
  /**
1011
884
  *
1012
- * @param {TestPlanV1} [testPlanV1]
885
+ * @param {string} projectId
886
+ * @param {string} environment
887
+ * @param {string} name
1013
888
  * @param {*} [options] Override http request option.
1014
889
  * @throws {RequiredError}
1015
890
  */
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) => {
891
+ planByNameGet(projectId: string, environment: string, name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanPost201Response, any, {}>>;
1022
892
  /**
1023
893
  *
1024
894
  * @param {string} [projectId]
895
+ * @param {string} [environment]
1025
896
  * @param {number} [limit]
1026
897
  * @param {number} [offset]
1027
898
  * @param {*} [options] Override http request option.
1028
899
  * @throws {RequiredError}
1029
900
  */
1030
- planGet(projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanGet200Response>;
901
+ planGet(projectId?: string, environment?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanGet200Response, any, {}>>;
1031
902
  /**
1032
903
  *
1033
- * @param {TestPlanV1} [testPlanV1]
904
+ * @param {string} id
1034
905
  * @param {*} [options] Override http request option.
1035
906
  * @throws {RequiredError}
1036
907
  */
1037
- planPost(testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig): AxiosPromise<PlanPost201Response>;
1038
- };
1039
- /**
1040
- * PlanApi - object-oriented interface
1041
- */
1042
- export declare class PlanApi extends BaseAPI {
908
+ planIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1043
909
  /**
1044
910
  *
1045
- * @param {string} [projectId]
1046
- * @param {number} [limit]
1047
- * @param {number} [offset]
911
+ * @param {string} id
912
+ * @param {PlanPostRequest} planPostRequest
1048
913
  * @param {*} [options] Override http request option.
1049
914
  * @throws {RequiredError}
1050
915
  */
1051
- planGet(projectId?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanGet200Response, any, {}>>;
916
+ planIdPut(id: string, planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanPost201Response, any, {}>>;
1052
917
  /**
1053
918
  *
1054
- * @param {TestPlanV1} [testPlanV1]
919
+ * @param {PlanPostRequest} planPostRequest
1055
920
  * @param {*} [options] Override http request option.
1056
921
  * @throws {RequiredError}
1057
922
  */
1058
- planPost(testPlanV1?: TestPlanV1, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanPost201Response, any, {}>>;
923
+ planPost(planPostRequest: PlanPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanPost201Response, any, {}>>;
1059
924
  }
1060
925
  /**
1061
926
  * RunsApi - axios parameter creator