momentic 0.0.150 → 0.0.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/commonjs/funcs/getRun.d.ts +13 -0
- package/dist/commonjs/funcs/getRun.d.ts.map +1 -0
- package/dist/commonjs/funcs/getRun.js +95 -0
- package/dist/commonjs/funcs/getRun.js.map +1 -0
- package/dist/commonjs/funcs/queueSteps.d.ts +1 -1
- package/dist/commonjs/funcs/queueSteps.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/getrunresponse.d.ts +460 -0
- package/dist/commonjs/models/components/getrunresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/getrunresponse.js +386 -0
- package/dist/commonjs/models/components/getrunresponse.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/getrun.d.ts +25 -0
- package/dist/commonjs/models/operations/getrun.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getrun.js +50 -0
- package/dist/commonjs/models/operations/getrun.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -0
- package/dist/commonjs/models/operations/index.js +21 -0
- package/dist/commonjs/models/operations/index.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +6 -1
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -1
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/getRun.d.ts +13 -0
- package/dist/esm/funcs/getRun.d.ts.map +1 -0
- package/dist/esm/funcs/getRun.js +69 -0
- package/dist/esm/funcs/getRun.js.map +1 -0
- package/dist/esm/funcs/queueSteps.d.ts +1 -1
- package/dist/esm/funcs/queueSteps.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/getrunresponse.d.ts +460 -0
- package/dist/esm/models/components/getrunresponse.d.ts.map +1 -0
- package/dist/esm/models/components/getrunresponse.js +360 -0
- package/dist/esm/models/components/getrunresponse.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/getrun.d.ts +25 -0
- package/dist/esm/models/operations/getrun.d.ts.map +1 -0
- package/dist/esm/models/operations/getrun.js +24 -0
- package/dist/esm/models/operations/getrun.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -0
- package/dist/esm/models/operations/index.js +5 -0
- package/dist/esm/models/operations/index.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +6 -1
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -1
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/docs/sdks/momentic/README.md +80 -2
- package/package.json +14 -1
- package/src/funcs/getRun.ts +122 -0
- package/src/funcs/queueSteps.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/getrunresponse.ts +672 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/getrun.ts +45 -0
- package/src/models/operations/index.ts +5 -0
- package/src/sdk/sdk.ts +17 -1
package/README.md
CHANGED
|
@@ -96,7 +96,8 @@ run();
|
|
|
96
96
|
### [Momentic SDK](docs/sdks/momentic/README.md)
|
|
97
97
|
|
|
98
98
|
* [getRunStatuses](docs/sdks/momentic/README.md#getrunstatuses) - Get run statuses
|
|
99
|
-
* [
|
|
99
|
+
* [getRun](docs/sdks/momentic/README.md#getrun) - Get run statuses
|
|
100
|
+
* [queueSteps](docs/sdks/momentic/README.md#queuesteps) - Queue steps run
|
|
100
101
|
<!-- End Available Resources and Operations [operations] -->
|
|
101
102
|
|
|
102
103
|
<!-- Start Standalone functions [standalone-funcs] -->
|
|
@@ -115,6 +116,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
115
116
|
<summary>Available standalone functions</summary>
|
|
116
117
|
|
|
117
118
|
- [getRunStatuses](docs/sdks/momentic/README.md#getrunstatuses)
|
|
119
|
+
- [getRun](docs/sdks/momentic/README.md#getrun)
|
|
118
120
|
- [queueSteps](docs/sdks/momentic/README.md#queuesteps)
|
|
119
121
|
|
|
120
122
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MomenticCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { Result } from "../types/fp.js";
|
|
9
|
+
/**
|
|
10
|
+
* Get run statuses
|
|
11
|
+
*/
|
|
12
|
+
export declare function getRun(client$: MomenticCore, request: operations.GetRunRequest, options?: RequestOptions): Promise<Result<components.GetRunResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
|
+
//# sourceMappingURL=getRun.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRun.d.ts","sourceRoot":"","sources":["../../../src/funcs/getRun.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,MAAM,CAC1B,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,cAAc,EACvB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA+EA"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getRun = getRun;
|
|
30
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
+
const m$ = __importStar(require("../lib/matchers.js"));
|
|
32
|
+
const schemas$ = __importStar(require("../lib/schemas.js"));
|
|
33
|
+
const security_js_1 = require("../lib/security.js");
|
|
34
|
+
const url_js_1 = require("../lib/url.js");
|
|
35
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
36
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
37
|
+
/**
|
|
38
|
+
* Get run statuses
|
|
39
|
+
*/
|
|
40
|
+
async function getRun(client$, request, options) {
|
|
41
|
+
const input$ = request;
|
|
42
|
+
const parsed$ = schemas$.safeParse(input$, (value$) => operations.GetRunRequest$outboundSchema.parse(value$), "Input validation failed");
|
|
43
|
+
if (!parsed$.ok) {
|
|
44
|
+
return parsed$;
|
|
45
|
+
}
|
|
46
|
+
const payload$ = parsed$.value;
|
|
47
|
+
const body$ = null;
|
|
48
|
+
const pathParams$ = {
|
|
49
|
+
runId: (0, encodings_js_1.encodeSimple)("runId", payload$.runId, {
|
|
50
|
+
explode: false,
|
|
51
|
+
charEncoding: "percent",
|
|
52
|
+
}),
|
|
53
|
+
};
|
|
54
|
+
const path$ = (0, url_js_1.pathToFunc)("/v1/runs/{runId}")(pathParams$);
|
|
55
|
+
const headers$ = new Headers({
|
|
56
|
+
Accept: "application/json",
|
|
57
|
+
});
|
|
58
|
+
const apiKey$ = await (0, security_js_1.extractSecurity)(client$.options$.apiKey);
|
|
59
|
+
const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ };
|
|
60
|
+
const context = {
|
|
61
|
+
operationID: "getRun",
|
|
62
|
+
oAuth2Scopes: [],
|
|
63
|
+
securitySource: client$.options$.apiKey,
|
|
64
|
+
};
|
|
65
|
+
const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
|
|
66
|
+
const requestRes = client$.createRequest$(context, {
|
|
67
|
+
security: securitySettings$,
|
|
68
|
+
method: "GET",
|
|
69
|
+
path: path$,
|
|
70
|
+
headers: headers$,
|
|
71
|
+
body: body$,
|
|
72
|
+
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client$.options$.timeoutMs || -1,
|
|
73
|
+
}, options);
|
|
74
|
+
if (!requestRes.ok) {
|
|
75
|
+
return requestRes;
|
|
76
|
+
}
|
|
77
|
+
const request$ = requestRes.value;
|
|
78
|
+
const doResult = await client$.do$(request$, {
|
|
79
|
+
context,
|
|
80
|
+
errorCodes: ["4XX", "5XX"],
|
|
81
|
+
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
82
|
+
|| client$.options$.retryConfig,
|
|
83
|
+
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
84
|
+
});
|
|
85
|
+
if (!doResult.ok) {
|
|
86
|
+
return doResult;
|
|
87
|
+
}
|
|
88
|
+
const response = doResult.value;
|
|
89
|
+
const [result$] = await m$.match(m$.json(200, components.GetRunResponse$inboundSchema), m$.fail(["4XX", "5XX"]))(response);
|
|
90
|
+
if (!result$.ok) {
|
|
91
|
+
return result$;
|
|
92
|
+
}
|
|
93
|
+
return result$;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=getRun.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRun.js","sourceRoot":"","sources":["../../../src/funcs/getRun.ts"],"names":[],"mappings":"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"}
|
|
@@ -6,7 +6,7 @@ import { SDKError } from "../models/errors/sdkerror.js";
|
|
|
6
6
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
7
|
import { Result } from "../types/fp.js";
|
|
8
8
|
/**
|
|
9
|
-
* Queue
|
|
9
|
+
* Queue steps run
|
|
10
10
|
*/
|
|
11
11
|
export declare function queueSteps(client$: MomenticCore, request?: components.QueueStepsRequest | undefined, options?: RequestOptions): Promise<Result<components.QueueStepsResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
12
12
|
//# sourceMappingURL=queueSteps.d.ts.map
|
|
@@ -34,7 +34,7 @@ const security_js_1 = require("../lib/security.js");
|
|
|
34
34
|
const url_js_1 = require("../lib/url.js");
|
|
35
35
|
const components = __importStar(require("../models/components/index.js"));
|
|
36
36
|
/**
|
|
37
|
-
* Queue
|
|
37
|
+
* Queue steps run
|
|
38
38
|
*/
|
|
39
39
|
async function queueSteps(client$, request, options) {
|
|
40
40
|
const input$ = request;
|
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "1.0.0";
|
|
30
|
-
readonly sdkVersion: "0.0.
|
|
31
|
-
readonly genVersion: "2.
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.0.
|
|
30
|
+
readonly sdkVersion: "0.0.151";
|
|
31
|
+
readonly genVersion: "2.415.0";
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.0.151 2.415.0 1.0.0 momentic";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -36,8 +36,8 @@ function serverURLFromOptions(options) {
|
|
|
36
36
|
exports.SDK_METADATA = {
|
|
37
37
|
language: "typescript",
|
|
38
38
|
openapiDocVersion: "1.0.0",
|
|
39
|
-
sdkVersion: "0.0.
|
|
40
|
-
genVersion: "2.
|
|
41
|
-
userAgent: "speakeasy-sdk/typescript 0.0.
|
|
39
|
+
sdkVersion: "0.0.151",
|
|
40
|
+
genVersion: "2.415.0",
|
|
41
|
+
userAgent: "speakeasy-sdk/typescript 0.0.151 2.415.0 1.0.0 momentic",
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const GetRunResponseStatus: {
|
|
4
|
+
readonly Pending: "PENDING";
|
|
5
|
+
readonly Running: "RUNNING";
|
|
6
|
+
readonly Passed: "PASSED";
|
|
7
|
+
readonly Failed: "FAILED";
|
|
8
|
+
readonly Cancelled: "CANCELLED";
|
|
9
|
+
readonly Retrying: "RETRYING";
|
|
10
|
+
readonly WaitingForUser: "WAITING_FOR_USER";
|
|
11
|
+
};
|
|
12
|
+
export type GetRunResponseStatus = ClosedEnum<typeof GetRunResponseStatus>;
|
|
13
|
+
export declare const Trigger: {
|
|
14
|
+
readonly Webhook: "WEBHOOK";
|
|
15
|
+
readonly Cron: "CRON";
|
|
16
|
+
readonly Manual: "MANUAL";
|
|
17
|
+
readonly Cli: "CLI";
|
|
18
|
+
};
|
|
19
|
+
export type Trigger = ClosedEnum<typeof Trigger>;
|
|
20
|
+
export declare const GetRunResponseFailureReason: {
|
|
21
|
+
readonly AIProviderError: "AIProviderError";
|
|
22
|
+
readonly ActionFailureError: "ActionFailureError";
|
|
23
|
+
readonly AssertionFailureError: "AssertionFailureError";
|
|
24
|
+
readonly UserConfigurationError: "UserConfigurationError";
|
|
25
|
+
readonly JobTimeoutError: "JobTimeoutError";
|
|
26
|
+
readonly InternalWebAgentError: "InternalWebAgentError";
|
|
27
|
+
readonly InternalPlatformError: "InternalPlatformError";
|
|
28
|
+
};
|
|
29
|
+
export type GetRunResponseFailureReason = ClosedEnum<typeof GetRunResponseFailureReason>;
|
|
30
|
+
export declare const GetRunResponseReason: {
|
|
31
|
+
readonly AIProviderError: "AIProviderError";
|
|
32
|
+
readonly ActionFailureError: "ActionFailureError";
|
|
33
|
+
readonly AssertionFailureError: "AssertionFailureError";
|
|
34
|
+
readonly UserConfigurationError: "UserConfigurationError";
|
|
35
|
+
readonly JobTimeoutError: "JobTimeoutError";
|
|
36
|
+
readonly InternalWebAgentError: "InternalWebAgentError";
|
|
37
|
+
readonly InternalPlatformError: "InternalPlatformError";
|
|
38
|
+
};
|
|
39
|
+
export type GetRunResponseReason = ClosedEnum<typeof GetRunResponseReason>;
|
|
40
|
+
export type GetRunResponseClassification = {
|
|
41
|
+
reason: GetRunResponseReason;
|
|
42
|
+
summary: string;
|
|
43
|
+
};
|
|
44
|
+
export type GetRunResponseFailureDetails = {
|
|
45
|
+
errorMessage: string;
|
|
46
|
+
errorStack?: string | undefined;
|
|
47
|
+
classification?: GetRunResponseClassification | undefined;
|
|
48
|
+
};
|
|
49
|
+
export type GetRunResponseViewport = {
|
|
50
|
+
width: number;
|
|
51
|
+
height: number;
|
|
52
|
+
};
|
|
53
|
+
export type GetRunResponseAdvanced = {
|
|
54
|
+
disableAICaching?: boolean | undefined;
|
|
55
|
+
viewport?: GetRunResponseViewport | undefined;
|
|
56
|
+
pageLoadTimeoutMs?: number | undefined;
|
|
57
|
+
smartWaitingTimeoutMs?: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* HTTP headers to be sent on every request
|
|
60
|
+
*/
|
|
61
|
+
extraHeaders?: {
|
|
62
|
+
[k: string]: string;
|
|
63
|
+
} | undefined;
|
|
64
|
+
userAgent?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
export type GetRunResponseTest = {
|
|
67
|
+
name: string;
|
|
68
|
+
id: string;
|
|
69
|
+
baseUrl?: string | null | undefined;
|
|
70
|
+
advanced?: GetRunResponseAdvanced | null | undefined;
|
|
71
|
+
};
|
|
72
|
+
export type Location = {
|
|
73
|
+
url: string;
|
|
74
|
+
lineNumber: number;
|
|
75
|
+
columnNumber: number;
|
|
76
|
+
};
|
|
77
|
+
export type LogsPerPage = {
|
|
78
|
+
timestamp: number;
|
|
79
|
+
text: string;
|
|
80
|
+
type: string;
|
|
81
|
+
tabIndex: number;
|
|
82
|
+
args?: Array<any> | undefined;
|
|
83
|
+
url?: string | undefined;
|
|
84
|
+
location?: Location | undefined;
|
|
85
|
+
};
|
|
86
|
+
export type DebugData = {
|
|
87
|
+
logsPerPage: Array<Array<LogsPerPage>>;
|
|
88
|
+
};
|
|
89
|
+
export type GetRunResponse = {
|
|
90
|
+
id: string;
|
|
91
|
+
runKey: string;
|
|
92
|
+
organizationId: string;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
createdBy: string;
|
|
95
|
+
flake?: boolean | null | undefined;
|
|
96
|
+
scheduledAt: string | null;
|
|
97
|
+
startedAt: string | null;
|
|
98
|
+
updatedAt?: string | null | undefined;
|
|
99
|
+
finishedAt: string | null;
|
|
100
|
+
resolvedBaseUrl?: string | null | undefined;
|
|
101
|
+
status: GetRunResponseStatus;
|
|
102
|
+
trigger: Trigger;
|
|
103
|
+
attempts: number;
|
|
104
|
+
failureReason?: GetRunResponseFailureReason | null | undefined;
|
|
105
|
+
failureDetails?: GetRunResponseFailureDetails | null | undefined;
|
|
106
|
+
testId: string | null;
|
|
107
|
+
testName?: string | null | undefined;
|
|
108
|
+
test?: GetRunResponseTest | null | undefined;
|
|
109
|
+
suiteId?: string | null | undefined;
|
|
110
|
+
results: Array<{
|
|
111
|
+
[k: string]: any;
|
|
112
|
+
}>;
|
|
113
|
+
debugData?: DebugData | null | undefined;
|
|
114
|
+
resolvedInputs?: {
|
|
115
|
+
[k: string]: string;
|
|
116
|
+
} | null | undefined;
|
|
117
|
+
};
|
|
118
|
+
/** @internal */
|
|
119
|
+
export declare const GetRunResponseStatus$inboundSchema: z.ZodNativeEnum<typeof GetRunResponseStatus>;
|
|
120
|
+
/** @internal */
|
|
121
|
+
export declare const GetRunResponseStatus$outboundSchema: z.ZodNativeEnum<typeof GetRunResponseStatus>;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
125
|
+
*/
|
|
126
|
+
export declare namespace GetRunResponseStatus$ {
|
|
127
|
+
/** @deprecated use `GetRunResponseStatus$inboundSchema` instead. */
|
|
128
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
129
|
+
readonly Pending: "PENDING";
|
|
130
|
+
readonly Running: "RUNNING";
|
|
131
|
+
readonly Passed: "PASSED";
|
|
132
|
+
readonly Failed: "FAILED";
|
|
133
|
+
readonly Cancelled: "CANCELLED";
|
|
134
|
+
readonly Retrying: "RETRYING";
|
|
135
|
+
readonly WaitingForUser: "WAITING_FOR_USER";
|
|
136
|
+
}>;
|
|
137
|
+
/** @deprecated use `GetRunResponseStatus$outboundSchema` instead. */
|
|
138
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
139
|
+
readonly Pending: "PENDING";
|
|
140
|
+
readonly Running: "RUNNING";
|
|
141
|
+
readonly Passed: "PASSED";
|
|
142
|
+
readonly Failed: "FAILED";
|
|
143
|
+
readonly Cancelled: "CANCELLED";
|
|
144
|
+
readonly Retrying: "RETRYING";
|
|
145
|
+
readonly WaitingForUser: "WAITING_FOR_USER";
|
|
146
|
+
}>;
|
|
147
|
+
}
|
|
148
|
+
/** @internal */
|
|
149
|
+
export declare const Trigger$inboundSchema: z.ZodNativeEnum<typeof Trigger>;
|
|
150
|
+
/** @internal */
|
|
151
|
+
export declare const Trigger$outboundSchema: z.ZodNativeEnum<typeof Trigger>;
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
155
|
+
*/
|
|
156
|
+
export declare namespace Trigger$ {
|
|
157
|
+
/** @deprecated use `Trigger$inboundSchema` instead. */
|
|
158
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
159
|
+
readonly Webhook: "WEBHOOK";
|
|
160
|
+
readonly Cron: "CRON";
|
|
161
|
+
readonly Manual: "MANUAL";
|
|
162
|
+
readonly Cli: "CLI";
|
|
163
|
+
}>;
|
|
164
|
+
/** @deprecated use `Trigger$outboundSchema` instead. */
|
|
165
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
166
|
+
readonly Webhook: "WEBHOOK";
|
|
167
|
+
readonly Cron: "CRON";
|
|
168
|
+
readonly Manual: "MANUAL";
|
|
169
|
+
readonly Cli: "CLI";
|
|
170
|
+
}>;
|
|
171
|
+
}
|
|
172
|
+
/** @internal */
|
|
173
|
+
export declare const GetRunResponseFailureReason$inboundSchema: z.ZodNativeEnum<typeof GetRunResponseFailureReason>;
|
|
174
|
+
/** @internal */
|
|
175
|
+
export declare const GetRunResponseFailureReason$outboundSchema: z.ZodNativeEnum<typeof GetRunResponseFailureReason>;
|
|
176
|
+
/**
|
|
177
|
+
* @internal
|
|
178
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
179
|
+
*/
|
|
180
|
+
export declare namespace GetRunResponseFailureReason$ {
|
|
181
|
+
/** @deprecated use `GetRunResponseFailureReason$inboundSchema` instead. */
|
|
182
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
183
|
+
readonly AIProviderError: "AIProviderError";
|
|
184
|
+
readonly ActionFailureError: "ActionFailureError";
|
|
185
|
+
readonly AssertionFailureError: "AssertionFailureError";
|
|
186
|
+
readonly UserConfigurationError: "UserConfigurationError";
|
|
187
|
+
readonly JobTimeoutError: "JobTimeoutError";
|
|
188
|
+
readonly InternalWebAgentError: "InternalWebAgentError";
|
|
189
|
+
readonly InternalPlatformError: "InternalPlatformError";
|
|
190
|
+
}>;
|
|
191
|
+
/** @deprecated use `GetRunResponseFailureReason$outboundSchema` instead. */
|
|
192
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
193
|
+
readonly AIProviderError: "AIProviderError";
|
|
194
|
+
readonly ActionFailureError: "ActionFailureError";
|
|
195
|
+
readonly AssertionFailureError: "AssertionFailureError";
|
|
196
|
+
readonly UserConfigurationError: "UserConfigurationError";
|
|
197
|
+
readonly JobTimeoutError: "JobTimeoutError";
|
|
198
|
+
readonly InternalWebAgentError: "InternalWebAgentError";
|
|
199
|
+
readonly InternalPlatformError: "InternalPlatformError";
|
|
200
|
+
}>;
|
|
201
|
+
}
|
|
202
|
+
/** @internal */
|
|
203
|
+
export declare const GetRunResponseReason$inboundSchema: z.ZodNativeEnum<typeof GetRunResponseReason>;
|
|
204
|
+
/** @internal */
|
|
205
|
+
export declare const GetRunResponseReason$outboundSchema: z.ZodNativeEnum<typeof GetRunResponseReason>;
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
209
|
+
*/
|
|
210
|
+
export declare namespace GetRunResponseReason$ {
|
|
211
|
+
/** @deprecated use `GetRunResponseReason$inboundSchema` instead. */
|
|
212
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
213
|
+
readonly AIProviderError: "AIProviderError";
|
|
214
|
+
readonly ActionFailureError: "ActionFailureError";
|
|
215
|
+
readonly AssertionFailureError: "AssertionFailureError";
|
|
216
|
+
readonly UserConfigurationError: "UserConfigurationError";
|
|
217
|
+
readonly JobTimeoutError: "JobTimeoutError";
|
|
218
|
+
readonly InternalWebAgentError: "InternalWebAgentError";
|
|
219
|
+
readonly InternalPlatformError: "InternalPlatformError";
|
|
220
|
+
}>;
|
|
221
|
+
/** @deprecated use `GetRunResponseReason$outboundSchema` instead. */
|
|
222
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
223
|
+
readonly AIProviderError: "AIProviderError";
|
|
224
|
+
readonly ActionFailureError: "ActionFailureError";
|
|
225
|
+
readonly AssertionFailureError: "AssertionFailureError";
|
|
226
|
+
readonly UserConfigurationError: "UserConfigurationError";
|
|
227
|
+
readonly JobTimeoutError: "JobTimeoutError";
|
|
228
|
+
readonly InternalWebAgentError: "InternalWebAgentError";
|
|
229
|
+
readonly InternalPlatformError: "InternalPlatformError";
|
|
230
|
+
}>;
|
|
231
|
+
}
|
|
232
|
+
/** @internal */
|
|
233
|
+
export declare const GetRunResponseClassification$inboundSchema: z.ZodType<GetRunResponseClassification, z.ZodTypeDef, unknown>;
|
|
234
|
+
/** @internal */
|
|
235
|
+
export type GetRunResponseClassification$Outbound = {
|
|
236
|
+
reason: string;
|
|
237
|
+
summary: string;
|
|
238
|
+
};
|
|
239
|
+
/** @internal */
|
|
240
|
+
export declare const GetRunResponseClassification$outboundSchema: z.ZodType<GetRunResponseClassification$Outbound, z.ZodTypeDef, GetRunResponseClassification>;
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
244
|
+
*/
|
|
245
|
+
export declare namespace GetRunResponseClassification$ {
|
|
246
|
+
/** @deprecated use `GetRunResponseClassification$inboundSchema` instead. */
|
|
247
|
+
const inboundSchema: z.ZodType<GetRunResponseClassification, z.ZodTypeDef, unknown>;
|
|
248
|
+
/** @deprecated use `GetRunResponseClassification$outboundSchema` instead. */
|
|
249
|
+
const outboundSchema: z.ZodType<GetRunResponseClassification$Outbound, z.ZodTypeDef, GetRunResponseClassification>;
|
|
250
|
+
/** @deprecated use `GetRunResponseClassification$Outbound` instead. */
|
|
251
|
+
type Outbound = GetRunResponseClassification$Outbound;
|
|
252
|
+
}
|
|
253
|
+
/** @internal */
|
|
254
|
+
export declare const GetRunResponseFailureDetails$inboundSchema: z.ZodType<GetRunResponseFailureDetails, z.ZodTypeDef, unknown>;
|
|
255
|
+
/** @internal */
|
|
256
|
+
export type GetRunResponseFailureDetails$Outbound = {
|
|
257
|
+
errorMessage: string;
|
|
258
|
+
errorStack?: string | undefined;
|
|
259
|
+
classification?: GetRunResponseClassification$Outbound | undefined;
|
|
260
|
+
};
|
|
261
|
+
/** @internal */
|
|
262
|
+
export declare const GetRunResponseFailureDetails$outboundSchema: z.ZodType<GetRunResponseFailureDetails$Outbound, z.ZodTypeDef, GetRunResponseFailureDetails>;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
266
|
+
*/
|
|
267
|
+
export declare namespace GetRunResponseFailureDetails$ {
|
|
268
|
+
/** @deprecated use `GetRunResponseFailureDetails$inboundSchema` instead. */
|
|
269
|
+
const inboundSchema: z.ZodType<GetRunResponseFailureDetails, z.ZodTypeDef, unknown>;
|
|
270
|
+
/** @deprecated use `GetRunResponseFailureDetails$outboundSchema` instead. */
|
|
271
|
+
const outboundSchema: z.ZodType<GetRunResponseFailureDetails$Outbound, z.ZodTypeDef, GetRunResponseFailureDetails>;
|
|
272
|
+
/** @deprecated use `GetRunResponseFailureDetails$Outbound` instead. */
|
|
273
|
+
type Outbound = GetRunResponseFailureDetails$Outbound;
|
|
274
|
+
}
|
|
275
|
+
/** @internal */
|
|
276
|
+
export declare const GetRunResponseViewport$inboundSchema: z.ZodType<GetRunResponseViewport, z.ZodTypeDef, unknown>;
|
|
277
|
+
/** @internal */
|
|
278
|
+
export type GetRunResponseViewport$Outbound = {
|
|
279
|
+
width: number;
|
|
280
|
+
height: number;
|
|
281
|
+
};
|
|
282
|
+
/** @internal */
|
|
283
|
+
export declare const GetRunResponseViewport$outboundSchema: z.ZodType<GetRunResponseViewport$Outbound, z.ZodTypeDef, GetRunResponseViewport>;
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
287
|
+
*/
|
|
288
|
+
export declare namespace GetRunResponseViewport$ {
|
|
289
|
+
/** @deprecated use `GetRunResponseViewport$inboundSchema` instead. */
|
|
290
|
+
const inboundSchema: z.ZodType<GetRunResponseViewport, z.ZodTypeDef, unknown>;
|
|
291
|
+
/** @deprecated use `GetRunResponseViewport$outboundSchema` instead. */
|
|
292
|
+
const outboundSchema: z.ZodType<GetRunResponseViewport$Outbound, z.ZodTypeDef, GetRunResponseViewport>;
|
|
293
|
+
/** @deprecated use `GetRunResponseViewport$Outbound` instead. */
|
|
294
|
+
type Outbound = GetRunResponseViewport$Outbound;
|
|
295
|
+
}
|
|
296
|
+
/** @internal */
|
|
297
|
+
export declare const GetRunResponseAdvanced$inboundSchema: z.ZodType<GetRunResponseAdvanced, z.ZodTypeDef, unknown>;
|
|
298
|
+
/** @internal */
|
|
299
|
+
export type GetRunResponseAdvanced$Outbound = {
|
|
300
|
+
disableAICaching: boolean;
|
|
301
|
+
viewport?: GetRunResponseViewport$Outbound | undefined;
|
|
302
|
+
pageLoadTimeoutMs?: number | undefined;
|
|
303
|
+
smartWaitingTimeoutMs?: number | undefined;
|
|
304
|
+
extraHeaders?: {
|
|
305
|
+
[k: string]: string;
|
|
306
|
+
} | undefined;
|
|
307
|
+
userAgent?: string | undefined;
|
|
308
|
+
};
|
|
309
|
+
/** @internal */
|
|
310
|
+
export declare const GetRunResponseAdvanced$outboundSchema: z.ZodType<GetRunResponseAdvanced$Outbound, z.ZodTypeDef, GetRunResponseAdvanced>;
|
|
311
|
+
/**
|
|
312
|
+
* @internal
|
|
313
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
314
|
+
*/
|
|
315
|
+
export declare namespace GetRunResponseAdvanced$ {
|
|
316
|
+
/** @deprecated use `GetRunResponseAdvanced$inboundSchema` instead. */
|
|
317
|
+
const inboundSchema: z.ZodType<GetRunResponseAdvanced, z.ZodTypeDef, unknown>;
|
|
318
|
+
/** @deprecated use `GetRunResponseAdvanced$outboundSchema` instead. */
|
|
319
|
+
const outboundSchema: z.ZodType<GetRunResponseAdvanced$Outbound, z.ZodTypeDef, GetRunResponseAdvanced>;
|
|
320
|
+
/** @deprecated use `GetRunResponseAdvanced$Outbound` instead. */
|
|
321
|
+
type Outbound = GetRunResponseAdvanced$Outbound;
|
|
322
|
+
}
|
|
323
|
+
/** @internal */
|
|
324
|
+
export declare const GetRunResponseTest$inboundSchema: z.ZodType<GetRunResponseTest, z.ZodTypeDef, unknown>;
|
|
325
|
+
/** @internal */
|
|
326
|
+
export type GetRunResponseTest$Outbound = {
|
|
327
|
+
name: string;
|
|
328
|
+
id: string;
|
|
329
|
+
baseUrl?: string | null | undefined;
|
|
330
|
+
advanced?: GetRunResponseAdvanced$Outbound | null | undefined;
|
|
331
|
+
};
|
|
332
|
+
/** @internal */
|
|
333
|
+
export declare const GetRunResponseTest$outboundSchema: z.ZodType<GetRunResponseTest$Outbound, z.ZodTypeDef, GetRunResponseTest>;
|
|
334
|
+
/**
|
|
335
|
+
* @internal
|
|
336
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
337
|
+
*/
|
|
338
|
+
export declare namespace GetRunResponseTest$ {
|
|
339
|
+
/** @deprecated use `GetRunResponseTest$inboundSchema` instead. */
|
|
340
|
+
const inboundSchema: z.ZodType<GetRunResponseTest, z.ZodTypeDef, unknown>;
|
|
341
|
+
/** @deprecated use `GetRunResponseTest$outboundSchema` instead. */
|
|
342
|
+
const outboundSchema: z.ZodType<GetRunResponseTest$Outbound, z.ZodTypeDef, GetRunResponseTest>;
|
|
343
|
+
/** @deprecated use `GetRunResponseTest$Outbound` instead. */
|
|
344
|
+
type Outbound = GetRunResponseTest$Outbound;
|
|
345
|
+
}
|
|
346
|
+
/** @internal */
|
|
347
|
+
export declare const Location$inboundSchema: z.ZodType<Location, z.ZodTypeDef, unknown>;
|
|
348
|
+
/** @internal */
|
|
349
|
+
export type Location$Outbound = {
|
|
350
|
+
url: string;
|
|
351
|
+
lineNumber: number;
|
|
352
|
+
columnNumber: number;
|
|
353
|
+
};
|
|
354
|
+
/** @internal */
|
|
355
|
+
export declare const Location$outboundSchema: z.ZodType<Location$Outbound, z.ZodTypeDef, Location>;
|
|
356
|
+
/**
|
|
357
|
+
* @internal
|
|
358
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
359
|
+
*/
|
|
360
|
+
export declare namespace Location$ {
|
|
361
|
+
/** @deprecated use `Location$inboundSchema` instead. */
|
|
362
|
+
const inboundSchema: z.ZodType<Location, z.ZodTypeDef, unknown>;
|
|
363
|
+
/** @deprecated use `Location$outboundSchema` instead. */
|
|
364
|
+
const outboundSchema: z.ZodType<Location$Outbound, z.ZodTypeDef, Location>;
|
|
365
|
+
/** @deprecated use `Location$Outbound` instead. */
|
|
366
|
+
type Outbound = Location$Outbound;
|
|
367
|
+
}
|
|
368
|
+
/** @internal */
|
|
369
|
+
export declare const LogsPerPage$inboundSchema: z.ZodType<LogsPerPage, z.ZodTypeDef, unknown>;
|
|
370
|
+
/** @internal */
|
|
371
|
+
export type LogsPerPage$Outbound = {
|
|
372
|
+
timestamp: number;
|
|
373
|
+
text: string;
|
|
374
|
+
type: string;
|
|
375
|
+
tabIndex: number;
|
|
376
|
+
args?: Array<any> | undefined;
|
|
377
|
+
url?: string | undefined;
|
|
378
|
+
location?: Location$Outbound | undefined;
|
|
379
|
+
};
|
|
380
|
+
/** @internal */
|
|
381
|
+
export declare const LogsPerPage$outboundSchema: z.ZodType<LogsPerPage$Outbound, z.ZodTypeDef, LogsPerPage>;
|
|
382
|
+
/**
|
|
383
|
+
* @internal
|
|
384
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
385
|
+
*/
|
|
386
|
+
export declare namespace LogsPerPage$ {
|
|
387
|
+
/** @deprecated use `LogsPerPage$inboundSchema` instead. */
|
|
388
|
+
const inboundSchema: z.ZodType<LogsPerPage, z.ZodTypeDef, unknown>;
|
|
389
|
+
/** @deprecated use `LogsPerPage$outboundSchema` instead. */
|
|
390
|
+
const outboundSchema: z.ZodType<LogsPerPage$Outbound, z.ZodTypeDef, LogsPerPage>;
|
|
391
|
+
/** @deprecated use `LogsPerPage$Outbound` instead. */
|
|
392
|
+
type Outbound = LogsPerPage$Outbound;
|
|
393
|
+
}
|
|
394
|
+
/** @internal */
|
|
395
|
+
export declare const DebugData$inboundSchema: z.ZodType<DebugData, z.ZodTypeDef, unknown>;
|
|
396
|
+
/** @internal */
|
|
397
|
+
export type DebugData$Outbound = {
|
|
398
|
+
logsPerPage: Array<Array<LogsPerPage$Outbound>>;
|
|
399
|
+
};
|
|
400
|
+
/** @internal */
|
|
401
|
+
export declare const DebugData$outboundSchema: z.ZodType<DebugData$Outbound, z.ZodTypeDef, DebugData>;
|
|
402
|
+
/**
|
|
403
|
+
* @internal
|
|
404
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
405
|
+
*/
|
|
406
|
+
export declare namespace DebugData$ {
|
|
407
|
+
/** @deprecated use `DebugData$inboundSchema` instead. */
|
|
408
|
+
const inboundSchema: z.ZodType<DebugData, z.ZodTypeDef, unknown>;
|
|
409
|
+
/** @deprecated use `DebugData$outboundSchema` instead. */
|
|
410
|
+
const outboundSchema: z.ZodType<DebugData$Outbound, z.ZodTypeDef, DebugData>;
|
|
411
|
+
/** @deprecated use `DebugData$Outbound` instead. */
|
|
412
|
+
type Outbound = DebugData$Outbound;
|
|
413
|
+
}
|
|
414
|
+
/** @internal */
|
|
415
|
+
export declare const GetRunResponse$inboundSchema: z.ZodType<GetRunResponse, z.ZodTypeDef, unknown>;
|
|
416
|
+
/** @internal */
|
|
417
|
+
export type GetRunResponse$Outbound = {
|
|
418
|
+
id: string;
|
|
419
|
+
runKey: string;
|
|
420
|
+
organizationId: string;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
createdBy: string;
|
|
423
|
+
flake?: boolean | null | undefined;
|
|
424
|
+
scheduledAt: string | null;
|
|
425
|
+
startedAt: string | null;
|
|
426
|
+
updatedAt?: string | null | undefined;
|
|
427
|
+
finishedAt: string | null;
|
|
428
|
+
resolvedBaseUrl?: string | null | undefined;
|
|
429
|
+
status: string;
|
|
430
|
+
trigger: string;
|
|
431
|
+
attempts: number;
|
|
432
|
+
failureReason?: string | null | undefined;
|
|
433
|
+
failureDetails?: GetRunResponseFailureDetails$Outbound | null | undefined;
|
|
434
|
+
testId: string | null;
|
|
435
|
+
testName?: string | null | undefined;
|
|
436
|
+
test?: GetRunResponseTest$Outbound | null | undefined;
|
|
437
|
+
suiteId?: string | null | undefined;
|
|
438
|
+
results: Array<{
|
|
439
|
+
[k: string]: any;
|
|
440
|
+
}>;
|
|
441
|
+
debugData?: DebugData$Outbound | null | undefined;
|
|
442
|
+
resolvedInputs?: {
|
|
443
|
+
[k: string]: string;
|
|
444
|
+
} | null | undefined;
|
|
445
|
+
};
|
|
446
|
+
/** @internal */
|
|
447
|
+
export declare const GetRunResponse$outboundSchema: z.ZodType<GetRunResponse$Outbound, z.ZodTypeDef, GetRunResponse>;
|
|
448
|
+
/**
|
|
449
|
+
* @internal
|
|
450
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
451
|
+
*/
|
|
452
|
+
export declare namespace GetRunResponse$ {
|
|
453
|
+
/** @deprecated use `GetRunResponse$inboundSchema` instead. */
|
|
454
|
+
const inboundSchema: z.ZodType<GetRunResponse, z.ZodTypeDef, unknown>;
|
|
455
|
+
/** @deprecated use `GetRunResponse$outboundSchema` instead. */
|
|
456
|
+
const outboundSchema: z.ZodType<GetRunResponse$Outbound, z.ZodTypeDef, GetRunResponse>;
|
|
457
|
+
/** @deprecated use `GetRunResponse$Outbound` instead. */
|
|
458
|
+
type Outbound = GetRunResponse$Outbound;
|
|
459
|
+
}
|
|
460
|
+
//# sourceMappingURL=getrunresponse.d.ts.map
|