mtmsdk 0.0.47 → 0.0.49
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/dist/gomtmapi/@tanstack/react-query.gen.d.ts +2 -80
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +2 -176
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +14 -328
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +14 -341
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +2 -80
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +1 -135
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +10 -437
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +8 -308
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +4 -232
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +1 -29
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -17
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -5
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -4
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +0 -6
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -5
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -5
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.d.ts.map +1 -1
- package/dist/mtmai_api/index.js +1 -1
- package/dist/mtmai_api/index.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +96 -96
- package/dist/openclaw/client-info.d.ts +0 -18
- package/dist/openclaw/client-info.d.ts.map +1 -1
- package/dist/openclaw/client-info.js +0 -6
- package/dist/openclaw/client-info.js.map +1 -1
- package/dist/openclaw/device-auth-utils.d.ts +3 -4
- package/dist/openclaw/device-auth-utils.d.ts.map +1 -1
- package/dist/openclaw/device-auth-utils.js +4 -8
- package/dist/openclaw/device-auth-utils.js.map +1 -1
- package/dist/openclaw/device-auth.d.ts.map +1 -1
- package/dist/openclaw/device-auth.js +5 -2
- package/dist/openclaw/device-auth.js.map +1 -1
- package/dist/openclaw/device-identity.js +2 -2
- package/dist/openclaw/device-identity.js.map +1 -1
- package/dist/openclaw/gateway.d.ts +19 -5
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +75 -37
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +36 -8
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.js +22 -6
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
- package/dist/sbmng/index.d.ts +2 -2
- package/dist/sbmng/index.d.ts.map +1 -1
- package/dist/sbmng/index.js +1 -1
- package/dist/sbmng/index.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +97 -34
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +120 -49
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/sdk.gen.d.ts +7 -3
- package/dist/sbmng/sdk.gen.d.ts.map +1 -1
- package/dist/sbmng/sdk.gen.js +11 -3
- package/dist/sbmng/sdk.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +82 -30
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/schema/index.d.ts +0 -8
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +0 -5
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/supabase-client.d.ts +900 -719
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +1836 -1474
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js +2 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -1
- package/dist/types/database.schemas.d.ts +999 -920
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +739 -435
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +919 -736
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +18 -2
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +35 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +4 -3
- package/src/gomtmapi/@tanstack/react-query.gen.ts +3 -185
- package/src/gomtmapi/index.ts +2 -2
- package/src/gomtmapi/schemas.gen.ts +14 -356
- package/src/gomtmapi/sdk.gen.ts +2 -144
- package/src/gomtmapi/types.gen.ts +10 -492
- package/src/gomtmapi/zod.gen.ts +4 -263
- package/src/mtgate_api/@tanstack/react-query.gen.ts +2 -20
- package/src/mtgate_api/index.ts +2 -2
- package/src/mtgate_api/sdk.gen.ts +1 -6
- package/src/mtgate_api/types.gen.ts +0 -7
- package/src/mtgate_api/zod.gen.ts +0 -6
- package/src/mtmai_api/index.ts +2 -2
- package/src/openclaw/client-info.ts +0 -9
- package/src/openclaw/device-auth-utils.ts +7 -12
- package/src/openclaw/device-auth.ts +5 -2
- package/src/openclaw/device-identity.ts +2 -2
- package/src/openclaw/gateway.ts +96 -50
- package/src/sbmng/@tanstack/react-query.gen.ts +25 -7
- package/src/sbmng/index.ts +2 -2
- package/src/sbmng/schemas.gen.ts +121 -49
- package/src/sbmng/sdk.gen.ts +13 -4
- package/src/sbmng/types.gen.ts +87 -30
- package/src/supabase/schema/index.ts +0 -5
- package/src/supabase/use-sb-query/use-rpc-query.ts +2 -1
- package/src/types/database.schemas.ts +948 -598
- package/src/types/database.types.ts +864 -674
- package/src/types/index.ts +20 -4
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +0 -3017
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/api_hatchet/@tanstack/react-query.gen.js +0 -2776
- package/dist/api_hatchet/@tanstack/react-query.gen.js.map +0 -1
- package/dist/api_hatchet/client/client.gen.d.ts +0 -3
- package/dist/api_hatchet/client/client.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/client.gen.js +0 -236
- package/dist/api_hatchet/client/client.gen.js.map +0 -1
- package/dist/api_hatchet/client/index.d.ts +0 -9
- package/dist/api_hatchet/client/index.d.ts.map +0 -1
- package/dist/api_hatchet/client/index.js +0 -7
- package/dist/api_hatchet/client/index.js.map +0 -1
- package/dist/api_hatchet/client/types.gen.d.ts +0 -118
- package/dist/api_hatchet/client/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/types.gen.js +0 -3
- package/dist/api_hatchet/client/types.gen.js.map +0 -1
- package/dist/api_hatchet/client/utils.gen.d.ts +0 -34
- package/dist/api_hatchet/client/utils.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/utils.gen.js +0 -232
- package/dist/api_hatchet/client/utils.gen.js.map +0 -1
- package/dist/api_hatchet/client.gen.d.ts +0 -13
- package/dist/api_hatchet/client.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client.gen.js +0 -4
- package/dist/api_hatchet/client.gen.js.map +0 -1
- package/dist/api_hatchet/core/auth.gen.d.ts +0 -19
- package/dist/api_hatchet/core/auth.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/auth.gen.js +0 -15
- package/dist/api_hatchet/core/auth.gen.js.map +0 -1
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts +0 -26
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/bodySerializer.gen.js +0 -58
- package/dist/api_hatchet/core/bodySerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/params.gen.d.ts +0 -44
- package/dist/api_hatchet/core/params.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/params.gen.js +0 -101
- package/dist/api_hatchet/core/params.gen.js.map +0 -1
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts +0 -34
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/pathSerializer.gen.js +0 -115
- package/dist/api_hatchet/core/pathSerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/queryKeySerializer.gen.js +0 -100
- package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/serverSentEvents.gen.js +0 -138
- package/dist/api_hatchet/core/serverSentEvents.gen.js.map +0 -1
- package/dist/api_hatchet/core/types.gen.d.ts +0 -79
- package/dist/api_hatchet/core/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/types.gen.js +0 -3
- package/dist/api_hatchet/core/types.gen.js.map +0 -1
- package/dist/api_hatchet/core/utils.gen.d.ts +0 -20
- package/dist/api_hatchet/core/utils.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/utils.gen.js +0 -88
- package/dist/api_hatchet/core/utils.gen.js.map +0 -1
- package/dist/api_hatchet/index.d.ts +0 -3
- package/dist/api_hatchet/index.d.ts.map +0 -1
- package/dist/api_hatchet/index.js +0 -4
- package/dist/api_hatchet/index.js.map +0 -1
- package/dist/api_hatchet/schemas.gen.d.ts +0 -4068
- package/dist/api_hatchet/schemas.gen.d.ts.map +0 -1
- package/dist/api_hatchet/schemas.gen.js +0 -4743
- package/dist/api_hatchet/schemas.gen.js.map +0 -1
- package/dist/api_hatchet/sdk.gen.d.ts +0 -784
- package/dist/api_hatchet/sdk.gen.d.ts.map +0 -1
- package/dist/api_hatchet/sdk.gen.js +0 -1849
- package/dist/api_hatchet/sdk.gen.js.map +0 -1
- package/dist/api_hatchet/types.gen.d.ts +0 -6861
- package/dist/api_hatchet/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/types.gen.js +0 -209
- package/dist/api_hatchet/types.gen.js.map +0 -1
- package/dist/api_hatchet/zod.gen.d.ts +0 -10429
- package/dist/api_hatchet/zod.gen.d.ts.map +0 -1
- package/dist/api_hatchet/zod.gen.js +0 -2766
- package/dist/api_hatchet/zod.gen.js.map +0 -1
- package/dist/openclaw/uuid.d.ts +0 -6
- package/dist/openclaw/uuid.d.ts.map +0 -1
- package/dist/openclaw/uuid.js +0 -39
- package/dist/openclaw/uuid.js.map +0 -1
- package/dist/types/rpc.schemas.d.ts +0 -52
- package/dist/types/rpc.schemas.d.ts.map +0 -1
- package/dist/types/rpc.schemas.js +0 -108
- package/dist/types/rpc.schemas.js.map +0 -1
- package/src/api_hatchet/@tanstack/react-query.gen.ts +0 -3025
- package/src/api_hatchet/client/client.gen.ts +0 -311
- package/src/api_hatchet/client/index.ts +0 -25
- package/src/api_hatchet/client/types.gen.ts +0 -241
- package/src/api_hatchet/client/utils.gen.ts +0 -332
- package/src/api_hatchet/client.gen.ts +0 -16
- package/src/api_hatchet/core/auth.gen.ts +0 -42
- package/src/api_hatchet/core/bodySerializer.gen.ts +0 -100
- package/src/api_hatchet/core/params.gen.ts +0 -176
- package/src/api_hatchet/core/pathSerializer.gen.ts +0 -181
- package/src/api_hatchet/core/queryKeySerializer.gen.ts +0 -136
- package/src/api_hatchet/core/serverSentEvents.gen.ts +0 -266
- package/src/api_hatchet/core/types.gen.ts +0 -118
- package/src/api_hatchet/core/utils.gen.ts +0 -143
- package/src/api_hatchet/index.ts +0 -4
- package/src/api_hatchet/schemas.gen.ts +0 -4961
- package/src/api_hatchet/sdk.gen.ts +0 -1994
- package/src/api_hatchet/types.gen.ts +0 -7688
- package/src/api_hatchet/zod.gen.ts +0 -3230
- package/src/openclaw/uuid.ts +0 -48
- package/src/types/rpc.schemas.ts +0 -142
|
@@ -1,4068 +0,0 @@
|
|
|
1
|
-
export declare const APIResourceMetaSchema: {
|
|
2
|
-
readonly type: "object";
|
|
3
|
-
readonly properties: {
|
|
4
|
-
readonly id: {
|
|
5
|
-
readonly type: "string";
|
|
6
|
-
readonly description: "the id of this resource, in UUID format";
|
|
7
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
8
|
-
readonly minLength: 0;
|
|
9
|
-
readonly maxLength: 36;
|
|
10
|
-
};
|
|
11
|
-
readonly createdAt: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly description: "the time that this resource was created";
|
|
14
|
-
readonly format: "date-time";
|
|
15
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
16
|
-
};
|
|
17
|
-
readonly updatedAt: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly description: "the time that this resource was last updated";
|
|
20
|
-
readonly format: "date-time";
|
|
21
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
readonly required: readonly ["id", "createdAt", "updatedAt"];
|
|
25
|
-
};
|
|
26
|
-
export declare const V1TaskSummarySchema: {
|
|
27
|
-
readonly properties: {
|
|
28
|
-
readonly metadata: {
|
|
29
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
30
|
-
};
|
|
31
|
-
readonly actionId: {
|
|
32
|
-
readonly type: "string";
|
|
33
|
-
readonly description: "The action ID of the task.";
|
|
34
|
-
};
|
|
35
|
-
readonly retryCount: {
|
|
36
|
-
readonly type: "integer";
|
|
37
|
-
readonly description: "The number of retries of the task.";
|
|
38
|
-
};
|
|
39
|
-
readonly attempt: {
|
|
40
|
-
readonly type: "integer";
|
|
41
|
-
readonly description: "The attempt number of the task.";
|
|
42
|
-
};
|
|
43
|
-
readonly additionalMetadata: {
|
|
44
|
-
readonly type: "object";
|
|
45
|
-
readonly description: "Additional metadata for the task run.";
|
|
46
|
-
};
|
|
47
|
-
readonly children: {
|
|
48
|
-
readonly type: "array";
|
|
49
|
-
readonly items: {
|
|
50
|
-
readonly $ref: "#/components/schemas/V1TaskSummary";
|
|
51
|
-
};
|
|
52
|
-
readonly description: "The list of children tasks";
|
|
53
|
-
};
|
|
54
|
-
readonly createdAt: {
|
|
55
|
-
readonly type: "string";
|
|
56
|
-
readonly format: "date-time";
|
|
57
|
-
readonly description: "The timestamp the task was created.";
|
|
58
|
-
};
|
|
59
|
-
readonly displayName: {
|
|
60
|
-
readonly type: "string";
|
|
61
|
-
readonly description: "The display name of the task run.";
|
|
62
|
-
};
|
|
63
|
-
readonly duration: {
|
|
64
|
-
readonly type: "integer";
|
|
65
|
-
readonly description: "The duration of the task run, in milliseconds.";
|
|
66
|
-
};
|
|
67
|
-
readonly errorMessage: {
|
|
68
|
-
readonly type: "string";
|
|
69
|
-
readonly description: "The error message of the task run (for the latest run)";
|
|
70
|
-
};
|
|
71
|
-
readonly finishedAt: {
|
|
72
|
-
readonly type: "string";
|
|
73
|
-
readonly format: "date-time";
|
|
74
|
-
readonly description: "The timestamp the task run finished.";
|
|
75
|
-
};
|
|
76
|
-
readonly input: {
|
|
77
|
-
readonly type: "object";
|
|
78
|
-
readonly 'x-go-type': "openapi.NonNullableJSON";
|
|
79
|
-
readonly 'x-go-type-import': {
|
|
80
|
-
readonly path: "github.com/hatchet-dev/hatchet/api/v1/server/oas";
|
|
81
|
-
readonly name: "NonNullableJSON";
|
|
82
|
-
};
|
|
83
|
-
readonly 'x-nullable': false;
|
|
84
|
-
readonly description: "The input of the task run.";
|
|
85
|
-
};
|
|
86
|
-
readonly numSpawnedChildren: {
|
|
87
|
-
readonly type: "integer";
|
|
88
|
-
readonly description: "The number of spawned children tasks";
|
|
89
|
-
};
|
|
90
|
-
readonly output: {
|
|
91
|
-
readonly type: "object";
|
|
92
|
-
readonly 'x-go-type': "openapi.NonNullableJSON";
|
|
93
|
-
readonly 'x-go-type-import': {
|
|
94
|
-
readonly path: "github.com/hatchet-dev/hatchet/api/v1/server/oas";
|
|
95
|
-
readonly name: "NonNullableJSON";
|
|
96
|
-
};
|
|
97
|
-
readonly 'x-nullable': false;
|
|
98
|
-
readonly description: "The output of the task run (for the latest run)";
|
|
99
|
-
};
|
|
100
|
-
readonly status: {
|
|
101
|
-
readonly $ref: "#/components/schemas/V1TaskStatus";
|
|
102
|
-
};
|
|
103
|
-
readonly startedAt: {
|
|
104
|
-
readonly type: "string";
|
|
105
|
-
readonly format: "date-time";
|
|
106
|
-
readonly description: "The timestamp the task run started.";
|
|
107
|
-
};
|
|
108
|
-
readonly stepId: {
|
|
109
|
-
readonly type: "string";
|
|
110
|
-
readonly description: "The step ID of the task.";
|
|
111
|
-
readonly format: "uuid";
|
|
112
|
-
readonly minLength: 36;
|
|
113
|
-
readonly maxLength: 36;
|
|
114
|
-
};
|
|
115
|
-
readonly taskExternalId: {
|
|
116
|
-
readonly type: "string";
|
|
117
|
-
readonly description: "The external ID of the task.";
|
|
118
|
-
readonly format: "uuid";
|
|
119
|
-
readonly minLength: 36;
|
|
120
|
-
readonly maxLength: 36;
|
|
121
|
-
};
|
|
122
|
-
readonly taskId: {
|
|
123
|
-
readonly type: "integer";
|
|
124
|
-
readonly description: "The ID of the task.";
|
|
125
|
-
};
|
|
126
|
-
readonly taskInsertedAt: {
|
|
127
|
-
readonly type: "string";
|
|
128
|
-
readonly format: "date-time";
|
|
129
|
-
readonly description: "The timestamp the task was inserted.";
|
|
130
|
-
};
|
|
131
|
-
readonly tenantId: {
|
|
132
|
-
readonly type: "string";
|
|
133
|
-
readonly description: "The ID of the tenant.";
|
|
134
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
135
|
-
readonly minLength: 36;
|
|
136
|
-
readonly maxLength: 36;
|
|
137
|
-
readonly format: "uuid";
|
|
138
|
-
};
|
|
139
|
-
readonly type: {
|
|
140
|
-
readonly $ref: "#/components/schemas/V1WorkflowType";
|
|
141
|
-
readonly description: "The type of the workflow (whether it's a DAG or a task)";
|
|
142
|
-
};
|
|
143
|
-
readonly workflowId: {
|
|
144
|
-
readonly type: "string";
|
|
145
|
-
readonly format: "uuid";
|
|
146
|
-
};
|
|
147
|
-
readonly workflowName: {
|
|
148
|
-
readonly type: "string";
|
|
149
|
-
};
|
|
150
|
-
readonly workflowRunExternalId: {
|
|
151
|
-
readonly type: "string";
|
|
152
|
-
readonly format: "uuid";
|
|
153
|
-
readonly description: "The external ID of the workflow run";
|
|
154
|
-
};
|
|
155
|
-
readonly workflowVersionId: {
|
|
156
|
-
readonly type: "string";
|
|
157
|
-
readonly format: "uuid";
|
|
158
|
-
readonly description: "The version ID of the workflow";
|
|
159
|
-
};
|
|
160
|
-
readonly workflowConfig: {
|
|
161
|
-
readonly type: "object";
|
|
162
|
-
};
|
|
163
|
-
readonly parentTaskExternalId: {
|
|
164
|
-
readonly type: "string";
|
|
165
|
-
readonly description: "The external ID of the parent task.";
|
|
166
|
-
readonly format: "uuid";
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
readonly required: readonly ["metadata", "createdAt", "displayName", "id", "input", "numSpawnedChildren", "output", "status", "taskExternalId", "taskId", "taskInsertedAt", "tenantId", "type", "workflowId", "workflowRunExternalId"];
|
|
170
|
-
};
|
|
171
|
-
export declare const V1TaskStatusSchema: {
|
|
172
|
-
readonly type: "string";
|
|
173
|
-
readonly enum: readonly ["QUEUED", "RUNNING", "COMPLETED", "CANCELLED", "FAILED"];
|
|
174
|
-
};
|
|
175
|
-
export declare const V1WorkflowTypeSchema: {
|
|
176
|
-
readonly type: "string";
|
|
177
|
-
readonly enum: readonly ["DAG", "TASK"];
|
|
178
|
-
};
|
|
179
|
-
export declare const APIErrorSchema: {
|
|
180
|
-
readonly type: "object";
|
|
181
|
-
readonly properties: {
|
|
182
|
-
readonly code: {
|
|
183
|
-
readonly type: "integer";
|
|
184
|
-
readonly description: "a custom Hatchet error code";
|
|
185
|
-
readonly format: "uint64";
|
|
186
|
-
readonly example: 1400;
|
|
187
|
-
};
|
|
188
|
-
readonly field: {
|
|
189
|
-
readonly type: "string";
|
|
190
|
-
readonly description: "the field that this error is associated with, if applicable";
|
|
191
|
-
readonly example: "name";
|
|
192
|
-
};
|
|
193
|
-
readonly description: {
|
|
194
|
-
readonly type: "string";
|
|
195
|
-
readonly description: "a description for this error";
|
|
196
|
-
readonly example: "A descriptive error message";
|
|
197
|
-
};
|
|
198
|
-
readonly docs_link: {
|
|
199
|
-
readonly type: "string";
|
|
200
|
-
readonly description: "a link to the documentation for this error, if it exists";
|
|
201
|
-
readonly example: "github.com/hatchet-dev/hatchet";
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
readonly required: readonly ["description"];
|
|
205
|
-
};
|
|
206
|
-
export declare const APIErrorsSchema: {
|
|
207
|
-
readonly type: "object";
|
|
208
|
-
readonly properties: {
|
|
209
|
-
readonly errors: {
|
|
210
|
-
readonly type: "array";
|
|
211
|
-
readonly items: {
|
|
212
|
-
readonly $ref: "#/components/schemas/APIError";
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
readonly required: readonly ["errors"];
|
|
217
|
-
};
|
|
218
|
-
export declare const PaginationResponseSchema: {
|
|
219
|
-
readonly type: "object";
|
|
220
|
-
readonly properties: {
|
|
221
|
-
readonly current_page: {
|
|
222
|
-
readonly type: "integer";
|
|
223
|
-
readonly description: "the current page";
|
|
224
|
-
readonly format: "int64";
|
|
225
|
-
readonly example: 2;
|
|
226
|
-
};
|
|
227
|
-
readonly next_page: {
|
|
228
|
-
readonly type: "integer";
|
|
229
|
-
readonly description: "the next page";
|
|
230
|
-
readonly format: "int64";
|
|
231
|
-
readonly example: 3;
|
|
232
|
-
};
|
|
233
|
-
readonly num_pages: {
|
|
234
|
-
readonly type: "integer";
|
|
235
|
-
readonly description: "the total number of pages for listing";
|
|
236
|
-
readonly format: "int64";
|
|
237
|
-
readonly example: 10;
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
|
-
readonly example: {
|
|
241
|
-
readonly next_page: 3;
|
|
242
|
-
readonly num_pages: 10;
|
|
243
|
-
readonly current_page: 2;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
export declare const V1TaskEventTypeSchema: {
|
|
247
|
-
readonly type: "string";
|
|
248
|
-
readonly enum: readonly ["REQUEUED_NO_WORKER", "REQUEUED_RATE_LIMIT", "SCHEDULING_TIMED_OUT", "ASSIGNED", "STARTED", "FINISHED", "FAILED", "RETRYING", "CANCELLED", "TIMED_OUT", "REASSIGNED", "SLOT_RELEASED", "TIMEOUT_REFRESHED", "RETRIED_BY_USER", "SENT_TO_WORKER", "RATE_LIMIT_ERROR", "ACKNOWLEDGED", "CREATED", "QUEUED", "SKIPPED"];
|
|
249
|
-
};
|
|
250
|
-
export declare const V1TaskEventSchema: {
|
|
251
|
-
readonly type: "object";
|
|
252
|
-
readonly properties: {
|
|
253
|
-
readonly id: {
|
|
254
|
-
readonly type: "integer";
|
|
255
|
-
};
|
|
256
|
-
readonly taskId: {
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
readonly format: "uuid";
|
|
259
|
-
};
|
|
260
|
-
readonly timestamp: {
|
|
261
|
-
readonly type: "string";
|
|
262
|
-
readonly format: "date-time";
|
|
263
|
-
};
|
|
264
|
-
readonly eventType: {
|
|
265
|
-
readonly $ref: "#/components/schemas/V1TaskEventType";
|
|
266
|
-
};
|
|
267
|
-
readonly message: {
|
|
268
|
-
readonly type: "string";
|
|
269
|
-
};
|
|
270
|
-
readonly errorMessage: {
|
|
271
|
-
readonly type: "string";
|
|
272
|
-
};
|
|
273
|
-
readonly output: {
|
|
274
|
-
readonly type: "string";
|
|
275
|
-
};
|
|
276
|
-
readonly workerId: {
|
|
277
|
-
readonly type: "string";
|
|
278
|
-
readonly format: "uuid";
|
|
279
|
-
};
|
|
280
|
-
readonly taskDisplayName: {
|
|
281
|
-
readonly type: "string";
|
|
282
|
-
};
|
|
283
|
-
readonly retryCount: {
|
|
284
|
-
readonly type: "integer";
|
|
285
|
-
readonly description: "The number of retries of the task.";
|
|
286
|
-
};
|
|
287
|
-
readonly attempt: {
|
|
288
|
-
readonly type: "integer";
|
|
289
|
-
readonly description: "The attempt number of the task.";
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
readonly required: readonly ["id", "taskId", "timestamp", "eventType", "message"];
|
|
293
|
-
};
|
|
294
|
-
export declare const V1TaskEventListSchema: {
|
|
295
|
-
readonly properties: {
|
|
296
|
-
readonly pagination: {
|
|
297
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
298
|
-
};
|
|
299
|
-
readonly rows: {
|
|
300
|
-
readonly items: {
|
|
301
|
-
readonly $ref: "#/components/schemas/V1TaskEvent";
|
|
302
|
-
};
|
|
303
|
-
readonly type: "array";
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
export declare const V1LogLineLevelSchema: {
|
|
308
|
-
readonly type: "string";
|
|
309
|
-
readonly enum: readonly ["DEBUG", "INFO", "WARN", "ERROR"];
|
|
310
|
-
};
|
|
311
|
-
export declare const V1LogLineSchema: {
|
|
312
|
-
readonly properties: {
|
|
313
|
-
readonly createdAt: {
|
|
314
|
-
readonly type: "string";
|
|
315
|
-
readonly format: "date-time";
|
|
316
|
-
readonly description: "The creation date of the log line.";
|
|
317
|
-
};
|
|
318
|
-
readonly message: {
|
|
319
|
-
readonly type: "string";
|
|
320
|
-
readonly description: "The log message.";
|
|
321
|
-
};
|
|
322
|
-
readonly metadata: {
|
|
323
|
-
readonly type: "object";
|
|
324
|
-
readonly description: "The log metadata.";
|
|
325
|
-
};
|
|
326
|
-
readonly retryCount: {
|
|
327
|
-
readonly type: "integer";
|
|
328
|
-
readonly description: "The retry count of the log line.";
|
|
329
|
-
};
|
|
330
|
-
readonly attempt: {
|
|
331
|
-
readonly type: "integer";
|
|
332
|
-
readonly description: "The attempt number of the log line.";
|
|
333
|
-
};
|
|
334
|
-
readonly level: {
|
|
335
|
-
readonly $ref: "#/components/schemas/V1LogLineLevel";
|
|
336
|
-
readonly description: "The log level.";
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
readonly required: readonly ["createdAt", "message", "metadata"];
|
|
340
|
-
};
|
|
341
|
-
export declare const V1LogLineListSchema: {
|
|
342
|
-
readonly properties: {
|
|
343
|
-
readonly pagination: {
|
|
344
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
345
|
-
};
|
|
346
|
-
readonly rows: {
|
|
347
|
-
readonly items: {
|
|
348
|
-
readonly $ref: "#/components/schemas/V1LogLine";
|
|
349
|
-
};
|
|
350
|
-
readonly type: "array";
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
export declare const V1TaskFilterSchema: {
|
|
355
|
-
readonly type: "object";
|
|
356
|
-
readonly properties: {
|
|
357
|
-
readonly since: {
|
|
358
|
-
readonly type: "string";
|
|
359
|
-
readonly format: "date-time";
|
|
360
|
-
};
|
|
361
|
-
readonly until: {
|
|
362
|
-
readonly type: "string";
|
|
363
|
-
readonly format: "date-time";
|
|
364
|
-
};
|
|
365
|
-
readonly statuses: {
|
|
366
|
-
readonly type: "array";
|
|
367
|
-
readonly items: {
|
|
368
|
-
readonly $ref: "#/components/schemas/V1TaskStatus";
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
readonly workflowIds: {
|
|
372
|
-
readonly type: "array";
|
|
373
|
-
readonly items: {
|
|
374
|
-
readonly type: "string";
|
|
375
|
-
readonly format: "uuid";
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
readonly additionalMetadata: {
|
|
379
|
-
readonly type: "array";
|
|
380
|
-
readonly items: {
|
|
381
|
-
readonly type: "string";
|
|
382
|
-
};
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
readonly required: readonly ["since"];
|
|
386
|
-
};
|
|
387
|
-
export declare const V1CancelTaskRequestSchema: {
|
|
388
|
-
readonly type: "object";
|
|
389
|
-
readonly properties: {
|
|
390
|
-
readonly externalIds: {
|
|
391
|
-
readonly type: "array";
|
|
392
|
-
readonly description: "A list of external IDs, which can refer to either task or workflow run external IDs";
|
|
393
|
-
readonly items: {
|
|
394
|
-
readonly type: "string";
|
|
395
|
-
readonly format: "uuid";
|
|
396
|
-
readonly minLength: 36;
|
|
397
|
-
readonly maxLength: 36;
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
readonly filter: {
|
|
401
|
-
readonly $ref: "#/components/schemas/V1TaskFilter";
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
export declare const V1CancelledTasksSchema: {
|
|
406
|
-
readonly properties: {
|
|
407
|
-
readonly ids: {
|
|
408
|
-
readonly type: "array";
|
|
409
|
-
readonly description: "The list of task external ids that were cancelled";
|
|
410
|
-
readonly items: {
|
|
411
|
-
readonly type: "string";
|
|
412
|
-
readonly format: "uuid";
|
|
413
|
-
readonly minLength: 36;
|
|
414
|
-
readonly maxLength: 36;
|
|
415
|
-
};
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
export declare const V1ReplayTaskRequestSchema: {
|
|
420
|
-
readonly type: "object";
|
|
421
|
-
readonly properties: {
|
|
422
|
-
readonly externalIds: {
|
|
423
|
-
readonly type: "array";
|
|
424
|
-
readonly description: "A list of external IDs, which can refer to either task or workflow run external IDs";
|
|
425
|
-
readonly items: {
|
|
426
|
-
readonly type: "string";
|
|
427
|
-
readonly format: "uuid";
|
|
428
|
-
readonly minLength: 36;
|
|
429
|
-
readonly maxLength: 36;
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
readonly filter: {
|
|
433
|
-
readonly $ref: "#/components/schemas/V1TaskFilter";
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
export declare const V1ReplayedTasksSchema: {
|
|
438
|
-
readonly properties: {
|
|
439
|
-
readonly ids: {
|
|
440
|
-
readonly type: "array";
|
|
441
|
-
readonly description: "The list of task external ids that were replayed";
|
|
442
|
-
readonly items: {
|
|
443
|
-
readonly type: "string";
|
|
444
|
-
readonly format: "uuid";
|
|
445
|
-
readonly minLength: 36;
|
|
446
|
-
readonly maxLength: 36;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
export declare const V1DagChildrenSchema: {
|
|
452
|
-
readonly type: "object";
|
|
453
|
-
readonly properties: {
|
|
454
|
-
readonly dagId: {
|
|
455
|
-
readonly type: "string";
|
|
456
|
-
readonly format: "uuid";
|
|
457
|
-
};
|
|
458
|
-
readonly children: {
|
|
459
|
-
readonly type: "array";
|
|
460
|
-
readonly items: {
|
|
461
|
-
readonly $ref: "#/components/schemas/V1TaskSummary";
|
|
462
|
-
};
|
|
463
|
-
};
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
export declare const V1TaskSummaryListSchema: {
|
|
467
|
-
readonly type: "object";
|
|
468
|
-
readonly properties: {
|
|
469
|
-
readonly pagination: {
|
|
470
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
471
|
-
};
|
|
472
|
-
readonly rows: {
|
|
473
|
-
readonly type: "array";
|
|
474
|
-
readonly items: {
|
|
475
|
-
readonly $ref: "#/components/schemas/V1TaskSummary";
|
|
476
|
-
};
|
|
477
|
-
readonly description: "The list of tasks";
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
readonly required: readonly ["pagination", "rows"];
|
|
481
|
-
};
|
|
482
|
-
export declare const V1WorkflowRunDisplayNameSchema: {
|
|
483
|
-
readonly properties: {
|
|
484
|
-
readonly metadata: {
|
|
485
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
486
|
-
};
|
|
487
|
-
readonly displayName: {
|
|
488
|
-
readonly type: "string";
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
readonly required: readonly ["metadata", "displayName"];
|
|
492
|
-
};
|
|
493
|
-
export declare const V1WorkflowRunDisplayNameListSchema: {
|
|
494
|
-
readonly type: "object";
|
|
495
|
-
readonly properties: {
|
|
496
|
-
readonly pagination: {
|
|
497
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
498
|
-
};
|
|
499
|
-
readonly rows: {
|
|
500
|
-
readonly type: "array";
|
|
501
|
-
readonly items: {
|
|
502
|
-
readonly $ref: "#/components/schemas/V1WorkflowRunDisplayName";
|
|
503
|
-
};
|
|
504
|
-
readonly description: "The list of display names";
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
readonly required: readonly ["pagination", "rows"];
|
|
508
|
-
};
|
|
509
|
-
export declare const V1WorkflowRunExternalIdListSchema: {
|
|
510
|
-
readonly type: "array";
|
|
511
|
-
readonly items: {
|
|
512
|
-
readonly type: "string";
|
|
513
|
-
readonly format: "uuid";
|
|
514
|
-
readonly minLength: 36;
|
|
515
|
-
readonly maxLength: 36;
|
|
516
|
-
};
|
|
517
|
-
readonly description: "The list of external IDs";
|
|
518
|
-
};
|
|
519
|
-
export declare const V1TriggerWorkflowRunRequestSchema: {
|
|
520
|
-
readonly properties: {
|
|
521
|
-
readonly workflowName: {
|
|
522
|
-
readonly type: "string";
|
|
523
|
-
readonly description: "The name of the workflow.";
|
|
524
|
-
};
|
|
525
|
-
readonly input: {
|
|
526
|
-
readonly type: "object";
|
|
527
|
-
};
|
|
528
|
-
readonly additionalMetadata: {
|
|
529
|
-
readonly type: "object";
|
|
530
|
-
};
|
|
531
|
-
readonly priority: {
|
|
532
|
-
readonly type: "integer";
|
|
533
|
-
readonly description: "The priority of the workflow run.";
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
readonly required: readonly ["workflowName", "input"];
|
|
537
|
-
};
|
|
538
|
-
export declare const V1WorkflowRunSchema: {
|
|
539
|
-
readonly properties: {
|
|
540
|
-
readonly metadata: {
|
|
541
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
542
|
-
};
|
|
543
|
-
readonly status: {
|
|
544
|
-
readonly $ref: "#/components/schemas/V1TaskStatus";
|
|
545
|
-
};
|
|
546
|
-
readonly startedAt: {
|
|
547
|
-
readonly type: "string";
|
|
548
|
-
readonly format: "date-time";
|
|
549
|
-
readonly description: "The timestamp the task run started.";
|
|
550
|
-
};
|
|
551
|
-
readonly finishedAt: {
|
|
552
|
-
readonly type: "string";
|
|
553
|
-
readonly format: "date-time";
|
|
554
|
-
readonly description: "The timestamp the task run finished.";
|
|
555
|
-
};
|
|
556
|
-
readonly duration: {
|
|
557
|
-
readonly type: "integer";
|
|
558
|
-
readonly description: "The duration of the task run, in milliseconds.";
|
|
559
|
-
};
|
|
560
|
-
readonly tenantId: {
|
|
561
|
-
readonly type: "string";
|
|
562
|
-
readonly description: "The ID of the tenant.";
|
|
563
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
564
|
-
readonly minLength: 36;
|
|
565
|
-
readonly maxLength: 36;
|
|
566
|
-
readonly format: "uuid";
|
|
567
|
-
};
|
|
568
|
-
readonly additionalMetadata: {
|
|
569
|
-
readonly type: "object";
|
|
570
|
-
readonly description: "Additional metadata for the task run.";
|
|
571
|
-
};
|
|
572
|
-
readonly displayName: {
|
|
573
|
-
readonly type: "string";
|
|
574
|
-
readonly description: "The display name of the task run.";
|
|
575
|
-
};
|
|
576
|
-
readonly workflowId: {
|
|
577
|
-
readonly type: "string";
|
|
578
|
-
readonly format: "uuid";
|
|
579
|
-
};
|
|
580
|
-
readonly output: {
|
|
581
|
-
readonly type: "object";
|
|
582
|
-
readonly 'x-go-type': "openapi.NonNullableJSON";
|
|
583
|
-
readonly 'x-go-type-import': {
|
|
584
|
-
readonly path: "github.com/hatchet-dev/hatchet/api/v1/server/oas";
|
|
585
|
-
readonly name: "NonNullableJSON";
|
|
586
|
-
};
|
|
587
|
-
readonly 'x-nullable': false;
|
|
588
|
-
readonly description: "The output of the task run (for the latest run)";
|
|
589
|
-
};
|
|
590
|
-
readonly errorMessage: {
|
|
591
|
-
readonly type: "string";
|
|
592
|
-
readonly description: "The error message of the task run (for the latest run)";
|
|
593
|
-
};
|
|
594
|
-
readonly workflowVersionId: {
|
|
595
|
-
readonly type: "string";
|
|
596
|
-
readonly format: "uuid";
|
|
597
|
-
readonly description: "The ID of the workflow version.";
|
|
598
|
-
};
|
|
599
|
-
readonly input: {
|
|
600
|
-
readonly type: "object";
|
|
601
|
-
readonly 'x-go-type': "openapi.NonNullableJSON";
|
|
602
|
-
readonly 'x-go-type-import': {
|
|
603
|
-
readonly path: "github.com/hatchet-dev/hatchet/api/v1/server/oas";
|
|
604
|
-
readonly name: "NonNullableJSON";
|
|
605
|
-
};
|
|
606
|
-
readonly 'x-nullable': false;
|
|
607
|
-
readonly description: "The input of the task run.";
|
|
608
|
-
};
|
|
609
|
-
readonly createdAt: {
|
|
610
|
-
readonly type: "string";
|
|
611
|
-
readonly format: "date-time";
|
|
612
|
-
readonly description: "The timestamp the task run was created.";
|
|
613
|
-
};
|
|
614
|
-
readonly parentTaskExternalId: {
|
|
615
|
-
readonly type: "string";
|
|
616
|
-
readonly format: "uuid";
|
|
617
|
-
readonly minLength: 36;
|
|
618
|
-
readonly maxLength: 36;
|
|
619
|
-
};
|
|
620
|
-
};
|
|
621
|
-
readonly required: readonly ["metadata", "id", "status", "tenantId", "displayName", "workflowId", "output", "input"];
|
|
622
|
-
};
|
|
623
|
-
export declare const WorkflowRunShapeItemForWorkflowRunDetailsSchema: {
|
|
624
|
-
readonly type: "object";
|
|
625
|
-
readonly properties: {
|
|
626
|
-
readonly taskExternalId: {
|
|
627
|
-
readonly type: "string";
|
|
628
|
-
readonly format: "uuid";
|
|
629
|
-
readonly minLength: 36;
|
|
630
|
-
readonly maxLength: 36;
|
|
631
|
-
};
|
|
632
|
-
readonly stepId: {
|
|
633
|
-
readonly type: "string";
|
|
634
|
-
readonly format: "uuid";
|
|
635
|
-
readonly minLength: 36;
|
|
636
|
-
readonly maxLength: 36;
|
|
637
|
-
};
|
|
638
|
-
readonly childrenStepIds: {
|
|
639
|
-
readonly type: "array";
|
|
640
|
-
readonly items: {
|
|
641
|
-
readonly type: "string";
|
|
642
|
-
readonly format: "uuid";
|
|
643
|
-
readonly minLength: 36;
|
|
644
|
-
readonly maxLength: 36;
|
|
645
|
-
};
|
|
646
|
-
};
|
|
647
|
-
readonly taskName: {
|
|
648
|
-
readonly type: "string";
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
readonly required: readonly ["taskExternalId", "stepId", "childrenStepIds", "taskName"];
|
|
652
|
-
};
|
|
653
|
-
export declare const WorkflowRunShapeForWorkflowRunDetailsSchema: {
|
|
654
|
-
readonly type: "array";
|
|
655
|
-
readonly items: {
|
|
656
|
-
readonly $ref: "#/components/schemas/WorkflowRunShapeItemForWorkflowRunDetails";
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
export declare const V1WorkflowRunDetailsSchema: {
|
|
660
|
-
readonly properties: {
|
|
661
|
-
readonly run: {
|
|
662
|
-
readonly $ref: "#/components/schemas/V1WorkflowRun";
|
|
663
|
-
};
|
|
664
|
-
readonly taskEvents: {
|
|
665
|
-
readonly type: "array";
|
|
666
|
-
readonly items: {
|
|
667
|
-
readonly $ref: "#/components/schemas/V1TaskEvent";
|
|
668
|
-
};
|
|
669
|
-
readonly description: "The list of task events for the workflow run";
|
|
670
|
-
};
|
|
671
|
-
readonly shape: {
|
|
672
|
-
readonly $ref: "#/components/schemas/WorkflowRunShapeForWorkflowRunDetails";
|
|
673
|
-
};
|
|
674
|
-
readonly tasks: {
|
|
675
|
-
readonly type: "array";
|
|
676
|
-
readonly items: {
|
|
677
|
-
readonly $ref: "#/components/schemas/V1TaskSummary";
|
|
678
|
-
};
|
|
679
|
-
};
|
|
680
|
-
readonly workflowConfig: {
|
|
681
|
-
readonly type: "object";
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
|
-
readonly required: readonly ["run", "taskEvents", "shape", "tasks"];
|
|
685
|
-
};
|
|
686
|
-
export declare const V1TaskTimingSchema: {
|
|
687
|
-
readonly properties: {
|
|
688
|
-
readonly metadata: {
|
|
689
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
690
|
-
};
|
|
691
|
-
readonly depth: {
|
|
692
|
-
readonly type: "integer";
|
|
693
|
-
readonly description: "The depth of the task in the waterfall.";
|
|
694
|
-
};
|
|
695
|
-
readonly status: {
|
|
696
|
-
readonly $ref: "#/components/schemas/V1TaskStatus";
|
|
697
|
-
};
|
|
698
|
-
readonly taskDisplayName: {
|
|
699
|
-
readonly type: "string";
|
|
700
|
-
readonly description: "The display name of the task run.";
|
|
701
|
-
};
|
|
702
|
-
readonly taskExternalId: {
|
|
703
|
-
readonly type: "string";
|
|
704
|
-
readonly description: "The external ID of the task.";
|
|
705
|
-
readonly format: "uuid";
|
|
706
|
-
readonly minLength: 36;
|
|
707
|
-
readonly maxLength: 36;
|
|
708
|
-
};
|
|
709
|
-
readonly taskId: {
|
|
710
|
-
readonly type: "integer";
|
|
711
|
-
readonly description: "The ID of the task.";
|
|
712
|
-
};
|
|
713
|
-
readonly taskInsertedAt: {
|
|
714
|
-
readonly type: "string";
|
|
715
|
-
readonly format: "date-time";
|
|
716
|
-
readonly description: "The timestamp the task was inserted.";
|
|
717
|
-
};
|
|
718
|
-
readonly tenantId: {
|
|
719
|
-
readonly type: "string";
|
|
720
|
-
readonly description: "The ID of the tenant.";
|
|
721
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
722
|
-
readonly minLength: 36;
|
|
723
|
-
readonly maxLength: 36;
|
|
724
|
-
readonly format: "uuid";
|
|
725
|
-
};
|
|
726
|
-
readonly parentTaskExternalId: {
|
|
727
|
-
readonly type: "string";
|
|
728
|
-
readonly description: "The external ID of the parent task.";
|
|
729
|
-
readonly format: "uuid";
|
|
730
|
-
readonly minLength: 36;
|
|
731
|
-
readonly maxLength: 36;
|
|
732
|
-
};
|
|
733
|
-
readonly queuedAt: {
|
|
734
|
-
readonly type: "string";
|
|
735
|
-
readonly format: "date-time";
|
|
736
|
-
readonly description: "The timestamp the task run was queued.";
|
|
737
|
-
};
|
|
738
|
-
readonly startedAt: {
|
|
739
|
-
readonly type: "string";
|
|
740
|
-
readonly format: "date-time";
|
|
741
|
-
readonly description: "The timestamp the task run started.";
|
|
742
|
-
};
|
|
743
|
-
readonly finishedAt: {
|
|
744
|
-
readonly type: "string";
|
|
745
|
-
readonly format: "date-time";
|
|
746
|
-
readonly description: "The timestamp the task run finished.";
|
|
747
|
-
};
|
|
748
|
-
readonly workflowRunId: {
|
|
749
|
-
readonly type: "string";
|
|
750
|
-
readonly format: "uuid";
|
|
751
|
-
readonly description: "The external ID of the workflow run.";
|
|
752
|
-
};
|
|
753
|
-
readonly retryCount: {
|
|
754
|
-
readonly type: "integer";
|
|
755
|
-
readonly description: "The number of retries of the task.";
|
|
756
|
-
};
|
|
757
|
-
readonly attempt: {
|
|
758
|
-
readonly type: "integer";
|
|
759
|
-
readonly description: "The attempt number of the task.";
|
|
760
|
-
};
|
|
761
|
-
};
|
|
762
|
-
readonly required: readonly ["metadata", "depth", "status", "taskDisplayName", "taskExternalId", "taskId", "taskInsertedAt", "tenantId"];
|
|
763
|
-
};
|
|
764
|
-
export declare const V1TaskTimingListSchema: {
|
|
765
|
-
readonly type: "object";
|
|
766
|
-
readonly properties: {
|
|
767
|
-
readonly pagination: {
|
|
768
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
769
|
-
};
|
|
770
|
-
readonly rows: {
|
|
771
|
-
readonly type: "array";
|
|
772
|
-
readonly items: {
|
|
773
|
-
readonly $ref: "#/components/schemas/V1TaskTiming";
|
|
774
|
-
};
|
|
775
|
-
readonly description: "The list of task timings";
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
readonly required: readonly ["pagination", "rows"];
|
|
779
|
-
};
|
|
780
|
-
export declare const V1TaskRunMetricSchema: {
|
|
781
|
-
readonly type: "object";
|
|
782
|
-
readonly properties: {
|
|
783
|
-
readonly status: {
|
|
784
|
-
readonly $ref: "#/components/schemas/V1TaskStatus";
|
|
785
|
-
};
|
|
786
|
-
readonly count: {
|
|
787
|
-
readonly type: "integer";
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
readonly required: readonly ["status", "count"];
|
|
791
|
-
};
|
|
792
|
-
export declare const V1TaskRunMetricsSchema: {
|
|
793
|
-
readonly type: "array";
|
|
794
|
-
readonly items: {
|
|
795
|
-
readonly $ref: "#/components/schemas/V1TaskRunMetric";
|
|
796
|
-
};
|
|
797
|
-
};
|
|
798
|
-
export declare const V1TaskPointMetricSchema: {
|
|
799
|
-
readonly type: "object";
|
|
800
|
-
readonly properties: {
|
|
801
|
-
readonly time: {
|
|
802
|
-
readonly type: "string";
|
|
803
|
-
readonly format: "date-time";
|
|
804
|
-
};
|
|
805
|
-
readonly SUCCEEDED: {
|
|
806
|
-
readonly type: "integer";
|
|
807
|
-
};
|
|
808
|
-
readonly FAILED: {
|
|
809
|
-
readonly type: "integer";
|
|
810
|
-
};
|
|
811
|
-
};
|
|
812
|
-
readonly required: readonly ["time", "SUCCEEDED", "FAILED"];
|
|
813
|
-
};
|
|
814
|
-
export declare const V1TaskPointMetricsSchema: {
|
|
815
|
-
readonly type: "object";
|
|
816
|
-
readonly properties: {
|
|
817
|
-
readonly results: {
|
|
818
|
-
readonly type: "array";
|
|
819
|
-
readonly items: {
|
|
820
|
-
readonly $ref: "#/components/schemas/V1TaskPointMetric";
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
export declare const EventKeySchema: {
|
|
826
|
-
readonly type: "string";
|
|
827
|
-
readonly description: "The key for the event.";
|
|
828
|
-
};
|
|
829
|
-
export declare const TenantVersionSchema: {
|
|
830
|
-
readonly enum: readonly ["V0", "V1"];
|
|
831
|
-
readonly type: "string";
|
|
832
|
-
};
|
|
833
|
-
export declare const TenantUIVersionSchema: {
|
|
834
|
-
readonly enum: readonly ["V0", "V1"];
|
|
835
|
-
readonly type: "string";
|
|
836
|
-
};
|
|
837
|
-
export declare const TenantEnvironmentSchema: {
|
|
838
|
-
readonly enum: readonly ["local", "development", "production"];
|
|
839
|
-
readonly type: "string";
|
|
840
|
-
};
|
|
841
|
-
export declare const TenantSchema: {
|
|
842
|
-
readonly properties: {
|
|
843
|
-
readonly metadata: {
|
|
844
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
845
|
-
};
|
|
846
|
-
readonly name: {
|
|
847
|
-
readonly type: "string";
|
|
848
|
-
readonly description: "The name of the tenant.";
|
|
849
|
-
};
|
|
850
|
-
readonly slug: {
|
|
851
|
-
readonly type: "string";
|
|
852
|
-
readonly description: "The slug of the tenant.";
|
|
853
|
-
};
|
|
854
|
-
readonly analyticsOptOut: {
|
|
855
|
-
readonly type: "boolean";
|
|
856
|
-
readonly description: "Whether the tenant has opted out of analytics.";
|
|
857
|
-
};
|
|
858
|
-
readonly alertMemberEmails: {
|
|
859
|
-
readonly type: "boolean";
|
|
860
|
-
readonly description: "Whether to alert tenant members.";
|
|
861
|
-
};
|
|
862
|
-
readonly version: {
|
|
863
|
-
readonly $ref: "#/components/schemas/TenantVersion";
|
|
864
|
-
readonly description: "The version of the tenant.";
|
|
865
|
-
};
|
|
866
|
-
readonly uiVersion: {
|
|
867
|
-
readonly $ref: "#/components/schemas/TenantUIVersion";
|
|
868
|
-
readonly description: "The UI of the tenant.";
|
|
869
|
-
};
|
|
870
|
-
readonly environment: {
|
|
871
|
-
readonly $ref: "#/components/schemas/TenantEnvironment";
|
|
872
|
-
readonly description: "The environment type of the tenant.";
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
readonly required: readonly ["metadata", "name", "slug", "version"];
|
|
876
|
-
readonly type: "object";
|
|
877
|
-
};
|
|
878
|
-
export declare const V1EventWorkflowRunSummarySchema: {
|
|
879
|
-
readonly properties: {
|
|
880
|
-
readonly running: {
|
|
881
|
-
readonly type: "integer";
|
|
882
|
-
readonly format: "int64";
|
|
883
|
-
readonly description: "The number of running runs.";
|
|
884
|
-
};
|
|
885
|
-
readonly queued: {
|
|
886
|
-
readonly type: "integer";
|
|
887
|
-
readonly format: "int64";
|
|
888
|
-
readonly description: "The number of queued runs.";
|
|
889
|
-
};
|
|
890
|
-
readonly succeeded: {
|
|
891
|
-
readonly type: "integer";
|
|
892
|
-
readonly format: "int64";
|
|
893
|
-
readonly description: "The number of succeeded runs.";
|
|
894
|
-
};
|
|
895
|
-
readonly failed: {
|
|
896
|
-
readonly type: "integer";
|
|
897
|
-
readonly format: "int64";
|
|
898
|
-
readonly description: "The number of failed runs.";
|
|
899
|
-
};
|
|
900
|
-
readonly cancelled: {
|
|
901
|
-
readonly type: "integer";
|
|
902
|
-
readonly format: "int64";
|
|
903
|
-
readonly description: "The number of cancelled runs.";
|
|
904
|
-
};
|
|
905
|
-
};
|
|
906
|
-
readonly required: readonly ["running", "queued", "succeeded", "failed", "cancelled"];
|
|
907
|
-
};
|
|
908
|
-
export declare const V1EventTriggeredRunSchema: {
|
|
909
|
-
readonly type: "object";
|
|
910
|
-
readonly properties: {
|
|
911
|
-
readonly workflowRunId: {
|
|
912
|
-
readonly type: "string";
|
|
913
|
-
readonly format: "uuid";
|
|
914
|
-
readonly description: "The external ID of the triggered run.";
|
|
915
|
-
readonly minLength: 36;
|
|
916
|
-
readonly maxLength: 36;
|
|
917
|
-
};
|
|
918
|
-
readonly filterId: {
|
|
919
|
-
readonly type: "string";
|
|
920
|
-
readonly format: "uuid";
|
|
921
|
-
readonly description: "The ID of the filter that triggered the run, if applicable.";
|
|
922
|
-
};
|
|
923
|
-
};
|
|
924
|
-
readonly required: readonly ["workflowRunId"];
|
|
925
|
-
};
|
|
926
|
-
export declare const V1EventSchema: {
|
|
927
|
-
readonly properties: {
|
|
928
|
-
readonly metadata: {
|
|
929
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
930
|
-
};
|
|
931
|
-
readonly key: {
|
|
932
|
-
readonly type: "string";
|
|
933
|
-
readonly description: "The key for the event.";
|
|
934
|
-
};
|
|
935
|
-
readonly tenant: {
|
|
936
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
937
|
-
readonly description: "The tenant associated with this event.";
|
|
938
|
-
};
|
|
939
|
-
readonly tenantId: {
|
|
940
|
-
readonly type: "string";
|
|
941
|
-
readonly description: "The ID of the tenant associated with this event.";
|
|
942
|
-
};
|
|
943
|
-
readonly workflowRunSummary: {
|
|
944
|
-
readonly $ref: "#/components/schemas/V1EventWorkflowRunSummary";
|
|
945
|
-
readonly description: "The workflow run summary for this event.";
|
|
946
|
-
};
|
|
947
|
-
readonly additionalMetadata: {
|
|
948
|
-
readonly type: "object";
|
|
949
|
-
readonly description: "Additional metadata for the event.";
|
|
950
|
-
};
|
|
951
|
-
readonly payload: {
|
|
952
|
-
readonly type: "object";
|
|
953
|
-
readonly description: "The payload of the event, which can be any JSON-serializable object.";
|
|
954
|
-
};
|
|
955
|
-
readonly scope: {
|
|
956
|
-
readonly type: "string";
|
|
957
|
-
readonly description: "The scope of the event, which can be used to filter or categorize events.";
|
|
958
|
-
};
|
|
959
|
-
readonly seenAt: {
|
|
960
|
-
readonly type: "string";
|
|
961
|
-
readonly format: "date-time";
|
|
962
|
-
readonly description: "The timestamp when the event was seen.";
|
|
963
|
-
};
|
|
964
|
-
readonly triggeredRuns: {
|
|
965
|
-
readonly description: "The external IDs of the runs that were triggered by this event.";
|
|
966
|
-
readonly type: "array";
|
|
967
|
-
readonly items: {
|
|
968
|
-
readonly $ref: "#/components/schemas/V1EventTriggeredRun";
|
|
969
|
-
};
|
|
970
|
-
};
|
|
971
|
-
readonly triggeringWebhookName: {
|
|
972
|
-
readonly type: "string";
|
|
973
|
-
readonly description: "The name of the webhook that triggered this event, if applicable.";
|
|
974
|
-
};
|
|
975
|
-
};
|
|
976
|
-
readonly required: readonly ["metadata", "key", "tenantId", "workflowRunSummary"];
|
|
977
|
-
};
|
|
978
|
-
export declare const V1EventListSchema: {
|
|
979
|
-
readonly properties: {
|
|
980
|
-
readonly pagination: {
|
|
981
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
982
|
-
};
|
|
983
|
-
readonly rows: {
|
|
984
|
-
readonly items: {
|
|
985
|
-
readonly $ref: "#/components/schemas/V1Event";
|
|
986
|
-
};
|
|
987
|
-
readonly type: "array";
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
};
|
|
991
|
-
export declare const EventKeyListSchema: {
|
|
992
|
-
readonly properties: {
|
|
993
|
-
readonly pagination: {
|
|
994
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
995
|
-
};
|
|
996
|
-
readonly rows: {
|
|
997
|
-
readonly items: {
|
|
998
|
-
readonly $ref: "#/components/schemas/EventKey";
|
|
999
|
-
};
|
|
1000
|
-
readonly type: "array";
|
|
1001
|
-
};
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
export declare const V1FilterSchema: {
|
|
1005
|
-
readonly properties: {
|
|
1006
|
-
readonly metadata: {
|
|
1007
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1008
|
-
};
|
|
1009
|
-
readonly tenantId: {
|
|
1010
|
-
readonly type: "string";
|
|
1011
|
-
readonly description: "The ID of the tenant associated with this filter.";
|
|
1012
|
-
};
|
|
1013
|
-
readonly workflowId: {
|
|
1014
|
-
readonly type: "string";
|
|
1015
|
-
readonly format: "uuid";
|
|
1016
|
-
readonly minLength: 36;
|
|
1017
|
-
readonly maxLength: 36;
|
|
1018
|
-
readonly description: "The workflow id associated with this filter.";
|
|
1019
|
-
};
|
|
1020
|
-
readonly scope: {
|
|
1021
|
-
readonly type: "string";
|
|
1022
|
-
readonly description: "The scope associated with this filter. Used for subsetting candidate filters at evaluation time";
|
|
1023
|
-
};
|
|
1024
|
-
readonly expression: {
|
|
1025
|
-
readonly type: "string";
|
|
1026
|
-
readonly description: "The expression associated with this filter.";
|
|
1027
|
-
};
|
|
1028
|
-
readonly payload: {
|
|
1029
|
-
readonly type: "object";
|
|
1030
|
-
readonly description: "Additional payload data associated with the filter";
|
|
1031
|
-
};
|
|
1032
|
-
readonly isDeclarative: {
|
|
1033
|
-
readonly type: "boolean";
|
|
1034
|
-
readonly description: "Whether the filter is declarative (true) or programmatic (false)";
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
readonly required: readonly ["metadata", "tenantId", "workflowId", "scope", "expression", "payload"];
|
|
1038
|
-
};
|
|
1039
|
-
export declare const V1FilterListSchema: {
|
|
1040
|
-
readonly type: "object";
|
|
1041
|
-
readonly properties: {
|
|
1042
|
-
readonly pagination: {
|
|
1043
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1044
|
-
};
|
|
1045
|
-
readonly rows: {
|
|
1046
|
-
readonly type: "array";
|
|
1047
|
-
readonly items: {
|
|
1048
|
-
readonly $ref: "#/components/schemas/V1Filter";
|
|
1049
|
-
};
|
|
1050
|
-
};
|
|
1051
|
-
};
|
|
1052
|
-
};
|
|
1053
|
-
export declare const V1CreateFilterRequestSchema: {
|
|
1054
|
-
readonly type: "object";
|
|
1055
|
-
readonly properties: {
|
|
1056
|
-
readonly workflowId: {
|
|
1057
|
-
readonly type: "string";
|
|
1058
|
-
readonly format: "uuid";
|
|
1059
|
-
readonly minLength: 36;
|
|
1060
|
-
readonly maxLength: 36;
|
|
1061
|
-
readonly description: "The workflow id";
|
|
1062
|
-
};
|
|
1063
|
-
readonly expression: {
|
|
1064
|
-
readonly type: "string";
|
|
1065
|
-
readonly description: "The expression for the filter";
|
|
1066
|
-
};
|
|
1067
|
-
readonly scope: {
|
|
1068
|
-
readonly type: "string";
|
|
1069
|
-
readonly description: "The scope associated with this filter. Used for subsetting candidate filters at evaluation time";
|
|
1070
|
-
};
|
|
1071
|
-
readonly payload: {
|
|
1072
|
-
readonly type: "object";
|
|
1073
|
-
readonly description: "The payload for the filter";
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
readonly required: readonly ["workflowId", "scope", "expression"];
|
|
1077
|
-
};
|
|
1078
|
-
export declare const V1UpdateFilterRequestSchema: {
|
|
1079
|
-
readonly type: "object";
|
|
1080
|
-
readonly properties: {
|
|
1081
|
-
readonly expression: {
|
|
1082
|
-
readonly type: "string";
|
|
1083
|
-
readonly description: "The expression for the filter";
|
|
1084
|
-
};
|
|
1085
|
-
readonly scope: {
|
|
1086
|
-
readonly type: "string";
|
|
1087
|
-
readonly description: "The scope associated with this filter. Used for subsetting candidate filters at evaluation time";
|
|
1088
|
-
};
|
|
1089
|
-
readonly payload: {
|
|
1090
|
-
readonly type: "object";
|
|
1091
|
-
readonly description: "The payload for the filter";
|
|
1092
|
-
};
|
|
1093
|
-
};
|
|
1094
|
-
};
|
|
1095
|
-
export declare const V1WebhookSourceNameSchema: {
|
|
1096
|
-
readonly type: "string";
|
|
1097
|
-
readonly enum: readonly ["GENERIC", "GITHUB", "STRIPE", "SLACK", "LINEAR"];
|
|
1098
|
-
};
|
|
1099
|
-
export declare const V1WebhookAuthTypeSchema: {
|
|
1100
|
-
readonly type: "string";
|
|
1101
|
-
readonly enum: readonly ["BASIC", "API_KEY", "HMAC"];
|
|
1102
|
-
};
|
|
1103
|
-
export declare const V1WebhookSchema: {
|
|
1104
|
-
readonly properties: {
|
|
1105
|
-
readonly metadata: {
|
|
1106
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1107
|
-
};
|
|
1108
|
-
readonly tenantId: {
|
|
1109
|
-
readonly type: "string";
|
|
1110
|
-
readonly description: "The ID of the tenant associated with this webhook.";
|
|
1111
|
-
};
|
|
1112
|
-
readonly name: {
|
|
1113
|
-
readonly type: "string";
|
|
1114
|
-
readonly description: "The name of the webhook";
|
|
1115
|
-
};
|
|
1116
|
-
readonly sourceName: {
|
|
1117
|
-
readonly $ref: "#/components/schemas/V1WebhookSourceName";
|
|
1118
|
-
readonly description: "The name of the source for this webhook";
|
|
1119
|
-
};
|
|
1120
|
-
readonly eventKeyExpression: {
|
|
1121
|
-
readonly type: "string";
|
|
1122
|
-
readonly description: "The CEL expression to use for the event key. This is used to create the event key from the webhook payload.";
|
|
1123
|
-
};
|
|
1124
|
-
readonly authType: {
|
|
1125
|
-
readonly $ref: "#/components/schemas/V1WebhookAuthType";
|
|
1126
|
-
readonly description: "The type of authentication to use for the webhook";
|
|
1127
|
-
};
|
|
1128
|
-
};
|
|
1129
|
-
readonly required: readonly ["metadata", "tenantId", "name", "sourceName", "eventKeyExpression", "authType"];
|
|
1130
|
-
};
|
|
1131
|
-
export declare const V1WebhookListSchema: {
|
|
1132
|
-
readonly type: "object";
|
|
1133
|
-
readonly properties: {
|
|
1134
|
-
readonly pagination: {
|
|
1135
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1136
|
-
};
|
|
1137
|
-
readonly rows: {
|
|
1138
|
-
readonly type: "array";
|
|
1139
|
-
readonly items: {
|
|
1140
|
-
readonly $ref: "#/components/schemas/V1Webhook";
|
|
1141
|
-
};
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
|
-
};
|
|
1145
|
-
export declare const V1CreateWebhookRequestBaseSchema: {
|
|
1146
|
-
readonly type: "object";
|
|
1147
|
-
readonly properties: {
|
|
1148
|
-
readonly sourceName: {
|
|
1149
|
-
readonly $ref: "#/components/schemas/V1WebhookSourceName";
|
|
1150
|
-
readonly description: "The name of the source for this webhook";
|
|
1151
|
-
};
|
|
1152
|
-
readonly name: {
|
|
1153
|
-
readonly type: "string";
|
|
1154
|
-
readonly description: "The name of the webhook";
|
|
1155
|
-
};
|
|
1156
|
-
readonly eventKeyExpression: {
|
|
1157
|
-
readonly type: "string";
|
|
1158
|
-
readonly description: "The CEL expression to use for the event key. This is used to create the event key from the webhook payload.";
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
readonly required: readonly ["name", "sourceName", "eventKeyExpression"];
|
|
1162
|
-
};
|
|
1163
|
-
export declare const V1WebhookBasicAuthSchema: {
|
|
1164
|
-
readonly type: "object";
|
|
1165
|
-
readonly properties: {
|
|
1166
|
-
readonly username: {
|
|
1167
|
-
readonly type: "string";
|
|
1168
|
-
readonly description: "The username for basic auth";
|
|
1169
|
-
};
|
|
1170
|
-
readonly password: {
|
|
1171
|
-
readonly type: "string";
|
|
1172
|
-
readonly description: "The password for basic auth";
|
|
1173
|
-
};
|
|
1174
|
-
};
|
|
1175
|
-
readonly required: readonly ["username", "password"];
|
|
1176
|
-
};
|
|
1177
|
-
export declare const V1CreateWebhookRequestBasicAuthSchema: {
|
|
1178
|
-
readonly allOf: readonly [{
|
|
1179
|
-
readonly $ref: "#/components/schemas/V1CreateWebhookRequestBase";
|
|
1180
|
-
}, {
|
|
1181
|
-
readonly type: "object";
|
|
1182
|
-
readonly properties: {
|
|
1183
|
-
readonly authType: {
|
|
1184
|
-
readonly type: "string";
|
|
1185
|
-
readonly enum: readonly ["BASIC"];
|
|
1186
|
-
readonly description: "The type of authentication to use for the webhook";
|
|
1187
|
-
};
|
|
1188
|
-
readonly auth: {
|
|
1189
|
-
readonly $ref: "#/components/schemas/V1WebhookBasicAuth";
|
|
1190
|
-
};
|
|
1191
|
-
};
|
|
1192
|
-
readonly required: readonly ["authType", "auth"];
|
|
1193
|
-
}];
|
|
1194
|
-
};
|
|
1195
|
-
export declare const V1WebhookAPIKeyAuthSchema: {
|
|
1196
|
-
readonly type: "object";
|
|
1197
|
-
readonly properties: {
|
|
1198
|
-
readonly headerName: {
|
|
1199
|
-
readonly type: "string";
|
|
1200
|
-
readonly description: "The name of the header to use for the API key";
|
|
1201
|
-
};
|
|
1202
|
-
readonly apiKey: {
|
|
1203
|
-
readonly type: "string";
|
|
1204
|
-
readonly description: "The API key to use for authentication";
|
|
1205
|
-
};
|
|
1206
|
-
};
|
|
1207
|
-
readonly required: readonly ["headerName", "apiKey"];
|
|
1208
|
-
};
|
|
1209
|
-
export declare const V1CreateWebhookRequestAPIKeySchema: {
|
|
1210
|
-
readonly allOf: readonly [{
|
|
1211
|
-
readonly $ref: "#/components/schemas/V1CreateWebhookRequestBase";
|
|
1212
|
-
}, {
|
|
1213
|
-
readonly type: "object";
|
|
1214
|
-
readonly properties: {
|
|
1215
|
-
readonly authType: {
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly enum: readonly ["API_KEY"];
|
|
1218
|
-
readonly description: "The type of authentication to use for the webhook";
|
|
1219
|
-
};
|
|
1220
|
-
readonly auth: {
|
|
1221
|
-
readonly $ref: "#/components/schemas/V1WebhookAPIKeyAuth";
|
|
1222
|
-
};
|
|
1223
|
-
};
|
|
1224
|
-
readonly required: readonly ["authType", "auth"];
|
|
1225
|
-
}];
|
|
1226
|
-
};
|
|
1227
|
-
export declare const V1WebhookHMACAlgorithmSchema: {
|
|
1228
|
-
readonly type: "string";
|
|
1229
|
-
readonly enum: readonly ["SHA1", "SHA256", "SHA512", "MD5"];
|
|
1230
|
-
};
|
|
1231
|
-
export declare const V1WebhookHMACEncodingSchema: {
|
|
1232
|
-
readonly type: "string";
|
|
1233
|
-
readonly enum: readonly ["HEX", "BASE64", "BASE64URL"];
|
|
1234
|
-
};
|
|
1235
|
-
export declare const V1WebhookHMACAuthSchema: {
|
|
1236
|
-
readonly type: "object";
|
|
1237
|
-
readonly properties: {
|
|
1238
|
-
readonly algorithm: {
|
|
1239
|
-
readonly $ref: "#/components/schemas/V1WebhookHMACAlgorithm";
|
|
1240
|
-
readonly description: "The HMAC algorithm to use for the webhook";
|
|
1241
|
-
};
|
|
1242
|
-
readonly encoding: {
|
|
1243
|
-
readonly $ref: "#/components/schemas/V1WebhookHMACEncoding";
|
|
1244
|
-
readonly description: "The encoding to use for the HMAC signature";
|
|
1245
|
-
};
|
|
1246
|
-
readonly signatureHeaderName: {
|
|
1247
|
-
readonly type: "string";
|
|
1248
|
-
readonly description: "The name of the header to use for the HMAC signature";
|
|
1249
|
-
};
|
|
1250
|
-
readonly signingSecret: {
|
|
1251
|
-
readonly type: "string";
|
|
1252
|
-
readonly description: "The secret key used to sign the HMAC signature";
|
|
1253
|
-
};
|
|
1254
|
-
};
|
|
1255
|
-
readonly required: readonly ["algorithm", "encoding", "signatureHeaderName", "signingSecret"];
|
|
1256
|
-
};
|
|
1257
|
-
export declare const V1CreateWebhookRequestHMACSchema: {
|
|
1258
|
-
readonly allOf: readonly [{
|
|
1259
|
-
readonly $ref: "#/components/schemas/V1CreateWebhookRequestBase";
|
|
1260
|
-
}, {
|
|
1261
|
-
readonly type: "object";
|
|
1262
|
-
readonly properties: {
|
|
1263
|
-
readonly authType: {
|
|
1264
|
-
readonly type: "string";
|
|
1265
|
-
readonly enum: readonly ["HMAC"];
|
|
1266
|
-
readonly description: "The type of authentication to use for the webhook";
|
|
1267
|
-
};
|
|
1268
|
-
readonly auth: {
|
|
1269
|
-
readonly $ref: "#/components/schemas/V1WebhookHMACAuth";
|
|
1270
|
-
};
|
|
1271
|
-
};
|
|
1272
|
-
readonly required: readonly ["authType", "auth"];
|
|
1273
|
-
}];
|
|
1274
|
-
};
|
|
1275
|
-
export declare const V1CreateWebhookRequestSchema: {
|
|
1276
|
-
readonly oneOf: readonly [{
|
|
1277
|
-
readonly $ref: "#/components/schemas/V1CreateWebhookRequestBasicAuth";
|
|
1278
|
-
}, {
|
|
1279
|
-
readonly $ref: "#/components/schemas/V1CreateWebhookRequestAPIKey";
|
|
1280
|
-
}, {
|
|
1281
|
-
readonly $ref: "#/components/schemas/V1CreateWebhookRequestHMAC";
|
|
1282
|
-
}];
|
|
1283
|
-
};
|
|
1284
|
-
export declare const V1UpdateWebhookRequestSchema: {
|
|
1285
|
-
readonly type: "object";
|
|
1286
|
-
readonly properties: {
|
|
1287
|
-
readonly eventKeyExpression: {
|
|
1288
|
-
readonly type: "string";
|
|
1289
|
-
readonly description: "The CEL expression to use for the event key. This is used to create the event key from the webhook payload.";
|
|
1290
|
-
};
|
|
1291
|
-
};
|
|
1292
|
-
readonly required: readonly ["eventKeyExpression"];
|
|
1293
|
-
};
|
|
1294
|
-
export declare const V1CELDebugRequestSchema: {
|
|
1295
|
-
readonly type: "object";
|
|
1296
|
-
readonly properties: {
|
|
1297
|
-
readonly expression: {
|
|
1298
|
-
readonly type: "string";
|
|
1299
|
-
readonly description: "The CEL expression to evaluate";
|
|
1300
|
-
};
|
|
1301
|
-
readonly input: {
|
|
1302
|
-
readonly type: "object";
|
|
1303
|
-
readonly description: "The input, which simulates the workflow run input";
|
|
1304
|
-
};
|
|
1305
|
-
readonly filterPayload: {
|
|
1306
|
-
readonly type: "object";
|
|
1307
|
-
readonly description: "The filter payload, which simulates a payload set on a previous-created filter";
|
|
1308
|
-
};
|
|
1309
|
-
readonly additionalMetadata: {
|
|
1310
|
-
readonly type: "object";
|
|
1311
|
-
readonly description: "Additional metadata, which simulates metadata that could be sent with an event or a workflow run";
|
|
1312
|
-
};
|
|
1313
|
-
};
|
|
1314
|
-
readonly required: readonly ["expression", "input"];
|
|
1315
|
-
};
|
|
1316
|
-
export declare const V1CELDebugResponseStatusSchema: {
|
|
1317
|
-
readonly type: "string";
|
|
1318
|
-
readonly description: "The status of the CEL evaluation";
|
|
1319
|
-
readonly enum: readonly ["SUCCESS", "ERROR"];
|
|
1320
|
-
};
|
|
1321
|
-
export declare const V1CELDebugResponseSchema: {
|
|
1322
|
-
readonly type: "object";
|
|
1323
|
-
readonly properties: {
|
|
1324
|
-
readonly status: {
|
|
1325
|
-
readonly $ref: "#/components/schemas/V1CELDebugResponseStatus";
|
|
1326
|
-
};
|
|
1327
|
-
readonly output: {
|
|
1328
|
-
readonly type: "boolean";
|
|
1329
|
-
readonly description: "The result of the CEL expression evaluation, if successful";
|
|
1330
|
-
};
|
|
1331
|
-
readonly error: {
|
|
1332
|
-
readonly type: "string";
|
|
1333
|
-
readonly description: "The error message if the evaluation failed";
|
|
1334
|
-
};
|
|
1335
|
-
};
|
|
1336
|
-
readonly required: readonly ["status"];
|
|
1337
|
-
};
|
|
1338
|
-
export declare const APIMetaAuthSchema: {
|
|
1339
|
-
readonly type: "object";
|
|
1340
|
-
readonly properties: {
|
|
1341
|
-
readonly schemes: {
|
|
1342
|
-
readonly items: {
|
|
1343
|
-
readonly type: "string";
|
|
1344
|
-
};
|
|
1345
|
-
readonly type: "array";
|
|
1346
|
-
readonly description: "the supported types of authentication";
|
|
1347
|
-
readonly example: readonly ["basic", "google"];
|
|
1348
|
-
};
|
|
1349
|
-
};
|
|
1350
|
-
};
|
|
1351
|
-
export declare const APIMetaPosthogSchema: {
|
|
1352
|
-
readonly type: "object";
|
|
1353
|
-
readonly properties: {
|
|
1354
|
-
readonly apiKey: {
|
|
1355
|
-
readonly type: "string";
|
|
1356
|
-
readonly description: "the PostHog API key";
|
|
1357
|
-
readonly example: "phk_1234567890abcdef";
|
|
1358
|
-
};
|
|
1359
|
-
readonly apiHost: {
|
|
1360
|
-
readonly type: "string";
|
|
1361
|
-
readonly description: "the PostHog API host";
|
|
1362
|
-
readonly example: "https://posthog.example.com";
|
|
1363
|
-
};
|
|
1364
|
-
};
|
|
1365
|
-
};
|
|
1366
|
-
export declare const APIMetaSchema: {
|
|
1367
|
-
readonly type: "object";
|
|
1368
|
-
readonly properties: {
|
|
1369
|
-
readonly auth: {
|
|
1370
|
-
readonly $ref: "#/components/schemas/APIMetaAuth";
|
|
1371
|
-
};
|
|
1372
|
-
readonly pylonAppId: {
|
|
1373
|
-
readonly type: "string";
|
|
1374
|
-
readonly description: "the Pylon app ID for usepylon.com chat support";
|
|
1375
|
-
readonly example: "12345678-1234-1234-1234-123456789012";
|
|
1376
|
-
};
|
|
1377
|
-
readonly posthog: {
|
|
1378
|
-
readonly $ref: "#/components/schemas/APIMetaPosthog";
|
|
1379
|
-
};
|
|
1380
|
-
readonly allowSignup: {
|
|
1381
|
-
readonly type: "boolean";
|
|
1382
|
-
readonly description: "whether or not users can sign up for this instance";
|
|
1383
|
-
readonly example: true;
|
|
1384
|
-
};
|
|
1385
|
-
readonly allowInvites: {
|
|
1386
|
-
readonly type: "boolean";
|
|
1387
|
-
readonly description: "whether or not users can invite other users to this instance";
|
|
1388
|
-
readonly example: true;
|
|
1389
|
-
};
|
|
1390
|
-
readonly allowCreateTenant: {
|
|
1391
|
-
readonly type: "boolean";
|
|
1392
|
-
readonly description: "whether or not users can create new tenants";
|
|
1393
|
-
readonly example: true;
|
|
1394
|
-
};
|
|
1395
|
-
readonly allowChangePassword: {
|
|
1396
|
-
readonly type: "boolean";
|
|
1397
|
-
readonly description: "whether or not users can change their password";
|
|
1398
|
-
readonly example: true;
|
|
1399
|
-
};
|
|
1400
|
-
};
|
|
1401
|
-
};
|
|
1402
|
-
export declare const APIMetaIntegrationSchema: {
|
|
1403
|
-
readonly type: "object";
|
|
1404
|
-
readonly properties: {
|
|
1405
|
-
readonly name: {
|
|
1406
|
-
readonly type: "string";
|
|
1407
|
-
readonly description: "the name of the integration";
|
|
1408
|
-
readonly example: "github";
|
|
1409
|
-
};
|
|
1410
|
-
readonly enabled: {
|
|
1411
|
-
readonly type: "boolean";
|
|
1412
|
-
readonly description: "whether this integration is enabled on the instance";
|
|
1413
|
-
};
|
|
1414
|
-
};
|
|
1415
|
-
readonly required: readonly ["name", "enabled"];
|
|
1416
|
-
};
|
|
1417
|
-
export declare const ListAPIMetaIntegrationSchema: {
|
|
1418
|
-
readonly type: "array";
|
|
1419
|
-
readonly items: {
|
|
1420
|
-
readonly $ref: "#/components/schemas/APIMetaIntegration";
|
|
1421
|
-
};
|
|
1422
|
-
};
|
|
1423
|
-
export declare const UserLoginRequestSchema: {
|
|
1424
|
-
readonly properties: {
|
|
1425
|
-
readonly email: {
|
|
1426
|
-
readonly type: "string";
|
|
1427
|
-
readonly format: "email";
|
|
1428
|
-
readonly description: "The email address of the user.";
|
|
1429
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1430
|
-
readonly validate: "required,email";
|
|
1431
|
-
};
|
|
1432
|
-
};
|
|
1433
|
-
readonly password: {
|
|
1434
|
-
readonly type: "string";
|
|
1435
|
-
readonly description: "The password of the user.";
|
|
1436
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1437
|
-
readonly validate: "required,password";
|
|
1438
|
-
};
|
|
1439
|
-
};
|
|
1440
|
-
};
|
|
1441
|
-
readonly required: readonly ["email", "password"];
|
|
1442
|
-
readonly type: "object";
|
|
1443
|
-
};
|
|
1444
|
-
export declare const UserSchema: {
|
|
1445
|
-
readonly properties: {
|
|
1446
|
-
readonly metadata: {
|
|
1447
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1448
|
-
};
|
|
1449
|
-
readonly name: {
|
|
1450
|
-
readonly type: "string";
|
|
1451
|
-
readonly description: "The display name of the user.";
|
|
1452
|
-
};
|
|
1453
|
-
readonly email: {
|
|
1454
|
-
readonly type: "string";
|
|
1455
|
-
readonly format: "email";
|
|
1456
|
-
readonly description: "The email address of the user.";
|
|
1457
|
-
};
|
|
1458
|
-
readonly emailVerified: {
|
|
1459
|
-
readonly type: "boolean";
|
|
1460
|
-
readonly description: "Whether the user has verified their email address.";
|
|
1461
|
-
};
|
|
1462
|
-
readonly hasPassword: {
|
|
1463
|
-
readonly type: "boolean";
|
|
1464
|
-
readonly description: "Whether the user has a password set.";
|
|
1465
|
-
};
|
|
1466
|
-
readonly emailHash: {
|
|
1467
|
-
readonly type: "string";
|
|
1468
|
-
readonly description: "A hash of the user's email address for use with Pylon Support Chat";
|
|
1469
|
-
};
|
|
1470
|
-
};
|
|
1471
|
-
readonly required: readonly ["metadata", "email", "emailVerified"];
|
|
1472
|
-
readonly type: "object";
|
|
1473
|
-
};
|
|
1474
|
-
export declare const SNSIntegrationSchema: {
|
|
1475
|
-
readonly type: "object";
|
|
1476
|
-
readonly properties: {
|
|
1477
|
-
readonly metadata: {
|
|
1478
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1479
|
-
};
|
|
1480
|
-
readonly tenantId: {
|
|
1481
|
-
readonly type: "string";
|
|
1482
|
-
readonly format: "uuid";
|
|
1483
|
-
readonly description: "The unique identifier for the tenant that the SNS integration belongs to.";
|
|
1484
|
-
};
|
|
1485
|
-
readonly topicArn: {
|
|
1486
|
-
readonly type: "string";
|
|
1487
|
-
readonly description: "The Amazon Resource Name (ARN) of the SNS topic.";
|
|
1488
|
-
};
|
|
1489
|
-
readonly ingestUrl: {
|
|
1490
|
-
readonly type: "string";
|
|
1491
|
-
readonly description: "The URL to send SNS messages to.";
|
|
1492
|
-
};
|
|
1493
|
-
};
|
|
1494
|
-
readonly required: readonly ["metadata", "tenantId", "topicArn"];
|
|
1495
|
-
};
|
|
1496
|
-
export declare const ListSNSIntegrationsSchema: {
|
|
1497
|
-
readonly type: "object";
|
|
1498
|
-
readonly properties: {
|
|
1499
|
-
readonly pagination: {
|
|
1500
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1501
|
-
};
|
|
1502
|
-
readonly rows: {
|
|
1503
|
-
readonly type: "array";
|
|
1504
|
-
readonly items: {
|
|
1505
|
-
readonly $ref: "#/components/schemas/SNSIntegration";
|
|
1506
|
-
};
|
|
1507
|
-
};
|
|
1508
|
-
};
|
|
1509
|
-
readonly required: readonly ["pagination", "rows"];
|
|
1510
|
-
};
|
|
1511
|
-
export declare const CreateSNSIntegrationRequestSchema: {
|
|
1512
|
-
readonly properties: {
|
|
1513
|
-
readonly topicArn: {
|
|
1514
|
-
readonly type: "string";
|
|
1515
|
-
readonly description: "The Amazon Resource Name (ARN) of the SNS topic.";
|
|
1516
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1517
|
-
readonly validate: "required,min=1,max=256";
|
|
1518
|
-
};
|
|
1519
|
-
};
|
|
1520
|
-
};
|
|
1521
|
-
readonly required: readonly ["topicArn"];
|
|
1522
|
-
readonly type: "object";
|
|
1523
|
-
};
|
|
1524
|
-
export declare const TenantAlertEmailGroupSchema: {
|
|
1525
|
-
readonly properties: {
|
|
1526
|
-
readonly metadata: {
|
|
1527
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1528
|
-
};
|
|
1529
|
-
readonly emails: {
|
|
1530
|
-
readonly type: "array";
|
|
1531
|
-
readonly items: {
|
|
1532
|
-
readonly type: "string";
|
|
1533
|
-
};
|
|
1534
|
-
readonly description: "A list of emails for users";
|
|
1535
|
-
};
|
|
1536
|
-
};
|
|
1537
|
-
readonly required: readonly ["metadata", "emails"];
|
|
1538
|
-
readonly type: "object";
|
|
1539
|
-
};
|
|
1540
|
-
export declare const TenantAlertEmailGroupListSchema: {
|
|
1541
|
-
readonly properties: {
|
|
1542
|
-
readonly pagination: {
|
|
1543
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1544
|
-
};
|
|
1545
|
-
readonly rows: {
|
|
1546
|
-
readonly items: {
|
|
1547
|
-
readonly $ref: "#/components/schemas/TenantAlertEmailGroup";
|
|
1548
|
-
};
|
|
1549
|
-
readonly type: "array";
|
|
1550
|
-
readonly 'x-go-name': "Rows";
|
|
1551
|
-
};
|
|
1552
|
-
};
|
|
1553
|
-
};
|
|
1554
|
-
export declare const CreateTenantAlertEmailGroupRequestSchema: {
|
|
1555
|
-
readonly properties: {
|
|
1556
|
-
readonly emails: {
|
|
1557
|
-
readonly type: "array";
|
|
1558
|
-
readonly items: {
|
|
1559
|
-
readonly type: "string";
|
|
1560
|
-
};
|
|
1561
|
-
readonly description: "A list of emails for users";
|
|
1562
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1563
|
-
readonly validate: "required,dive,email";
|
|
1564
|
-
};
|
|
1565
|
-
};
|
|
1566
|
-
};
|
|
1567
|
-
readonly required: readonly ["emails"];
|
|
1568
|
-
readonly type: "object";
|
|
1569
|
-
};
|
|
1570
|
-
export declare const TenantResourceSchema: {
|
|
1571
|
-
readonly enum: readonly ["WORKER", "WORKER_SLOT", "EVENT", "WORKFLOW_RUN", "TASK_RUN", "CRON", "SCHEDULE", "INCOMING_WEBHOOK"];
|
|
1572
|
-
readonly type: "string";
|
|
1573
|
-
};
|
|
1574
|
-
export declare const TenantResourceLimitSchema: {
|
|
1575
|
-
readonly properties: {
|
|
1576
|
-
readonly metadata: {
|
|
1577
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1578
|
-
};
|
|
1579
|
-
readonly resource: {
|
|
1580
|
-
readonly $ref: "#/components/schemas/TenantResource";
|
|
1581
|
-
readonly description: "The resource associated with this limit.";
|
|
1582
|
-
};
|
|
1583
|
-
readonly limitValue: {
|
|
1584
|
-
readonly type: "integer";
|
|
1585
|
-
readonly description: "The limit associated with this limit.";
|
|
1586
|
-
};
|
|
1587
|
-
readonly alarmValue: {
|
|
1588
|
-
readonly type: "integer";
|
|
1589
|
-
readonly description: "The alarm value associated with this limit to warn of approaching limit value.";
|
|
1590
|
-
};
|
|
1591
|
-
readonly value: {
|
|
1592
|
-
readonly type: "integer";
|
|
1593
|
-
readonly description: "The current value associated with this limit.";
|
|
1594
|
-
};
|
|
1595
|
-
readonly window: {
|
|
1596
|
-
readonly type: "string";
|
|
1597
|
-
readonly description: "The meter window for the limit. (i.e. 1 day, 1 week, 1 month)";
|
|
1598
|
-
};
|
|
1599
|
-
readonly lastRefill: {
|
|
1600
|
-
readonly type: "string";
|
|
1601
|
-
readonly description: "The last time the limit was refilled.";
|
|
1602
|
-
readonly format: "date-time";
|
|
1603
|
-
};
|
|
1604
|
-
};
|
|
1605
|
-
readonly required: readonly ["metadata", "tenantId", "resource", "limitValue", "value"];
|
|
1606
|
-
readonly type: "object";
|
|
1607
|
-
};
|
|
1608
|
-
export declare const TenantResourcePolicySchema: {
|
|
1609
|
-
readonly properties: {
|
|
1610
|
-
readonly limits: {
|
|
1611
|
-
readonly type: "array";
|
|
1612
|
-
readonly items: {
|
|
1613
|
-
readonly $ref: "#/components/schemas/TenantResourceLimit";
|
|
1614
|
-
};
|
|
1615
|
-
readonly description: "A list of resource limits for the tenant.";
|
|
1616
|
-
};
|
|
1617
|
-
};
|
|
1618
|
-
readonly required: readonly ["limits"];
|
|
1619
|
-
readonly type: "object";
|
|
1620
|
-
};
|
|
1621
|
-
export declare const UpdateTenantAlertEmailGroupRequestSchema: {
|
|
1622
|
-
readonly properties: {
|
|
1623
|
-
readonly emails: {
|
|
1624
|
-
readonly type: "array";
|
|
1625
|
-
readonly items: {
|
|
1626
|
-
readonly type: "string";
|
|
1627
|
-
};
|
|
1628
|
-
readonly description: "A list of emails for users";
|
|
1629
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1630
|
-
readonly validate: "required,dive,email";
|
|
1631
|
-
};
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
readonly required: readonly ["emails"];
|
|
1635
|
-
readonly type: "object";
|
|
1636
|
-
};
|
|
1637
|
-
export declare const SlackWebhookSchema: {
|
|
1638
|
-
readonly type: "object";
|
|
1639
|
-
readonly properties: {
|
|
1640
|
-
readonly metadata: {
|
|
1641
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1642
|
-
};
|
|
1643
|
-
readonly tenantId: {
|
|
1644
|
-
readonly type: "string";
|
|
1645
|
-
readonly format: "uuid";
|
|
1646
|
-
readonly description: "The unique identifier for the tenant that the SNS integration belongs to.";
|
|
1647
|
-
};
|
|
1648
|
-
readonly teamName: {
|
|
1649
|
-
readonly type: "string";
|
|
1650
|
-
readonly description: "The team name associated with this slack webhook.";
|
|
1651
|
-
};
|
|
1652
|
-
readonly teamId: {
|
|
1653
|
-
readonly type: "string";
|
|
1654
|
-
readonly description: "The team id associated with this slack webhook.";
|
|
1655
|
-
};
|
|
1656
|
-
readonly channelName: {
|
|
1657
|
-
readonly type: "string";
|
|
1658
|
-
readonly description: "The channel name associated with this slack webhook.";
|
|
1659
|
-
};
|
|
1660
|
-
readonly channelId: {
|
|
1661
|
-
readonly type: "string";
|
|
1662
|
-
readonly description: "The channel id associated with this slack webhook.";
|
|
1663
|
-
};
|
|
1664
|
-
};
|
|
1665
|
-
readonly required: readonly ["metadata", "tenantId", "teamName", "teamId", "channelName", "channelId"];
|
|
1666
|
-
};
|
|
1667
|
-
export declare const ListSlackWebhooksSchema: {
|
|
1668
|
-
readonly type: "object";
|
|
1669
|
-
readonly properties: {
|
|
1670
|
-
readonly pagination: {
|
|
1671
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1672
|
-
};
|
|
1673
|
-
readonly rows: {
|
|
1674
|
-
readonly type: "array";
|
|
1675
|
-
readonly items: {
|
|
1676
|
-
readonly $ref: "#/components/schemas/SlackWebhook";
|
|
1677
|
-
};
|
|
1678
|
-
};
|
|
1679
|
-
};
|
|
1680
|
-
readonly required: readonly ["pagination", "rows"];
|
|
1681
|
-
};
|
|
1682
|
-
export declare const UserChangePasswordRequestSchema: {
|
|
1683
|
-
readonly properties: {
|
|
1684
|
-
readonly password: {
|
|
1685
|
-
readonly type: "string";
|
|
1686
|
-
readonly description: "The password of the user.";
|
|
1687
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1688
|
-
readonly validate: "required,password";
|
|
1689
|
-
};
|
|
1690
|
-
};
|
|
1691
|
-
readonly newPassword: {
|
|
1692
|
-
readonly type: "string";
|
|
1693
|
-
readonly description: "The new password for the user.";
|
|
1694
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1695
|
-
readonly validate: "required,password";
|
|
1696
|
-
};
|
|
1697
|
-
};
|
|
1698
|
-
};
|
|
1699
|
-
readonly required: readonly ["password", "newPassword"];
|
|
1700
|
-
readonly type: "object";
|
|
1701
|
-
};
|
|
1702
|
-
export declare const UserRegisterRequestSchema: {
|
|
1703
|
-
readonly properties: {
|
|
1704
|
-
readonly name: {
|
|
1705
|
-
readonly type: "string";
|
|
1706
|
-
readonly description: "The name of the user.";
|
|
1707
|
-
};
|
|
1708
|
-
readonly email: {
|
|
1709
|
-
readonly type: "string";
|
|
1710
|
-
readonly format: "email";
|
|
1711
|
-
readonly description: "The email address of the user.";
|
|
1712
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1713
|
-
readonly validate: "required,email";
|
|
1714
|
-
};
|
|
1715
|
-
};
|
|
1716
|
-
readonly password: {
|
|
1717
|
-
readonly type: "string";
|
|
1718
|
-
readonly description: "The password of the user.";
|
|
1719
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1720
|
-
readonly validate: "required,password";
|
|
1721
|
-
};
|
|
1722
|
-
};
|
|
1723
|
-
};
|
|
1724
|
-
readonly required: readonly ["name", "email", "password"];
|
|
1725
|
-
readonly type: "object";
|
|
1726
|
-
};
|
|
1727
|
-
export declare const UserTenantPublicSchema: {
|
|
1728
|
-
readonly properties: {
|
|
1729
|
-
readonly email: {
|
|
1730
|
-
readonly type: "string";
|
|
1731
|
-
readonly format: "email";
|
|
1732
|
-
readonly description: "The email address of the user.";
|
|
1733
|
-
};
|
|
1734
|
-
readonly name: {
|
|
1735
|
-
readonly type: "string";
|
|
1736
|
-
readonly description: "The display name of the user.";
|
|
1737
|
-
};
|
|
1738
|
-
};
|
|
1739
|
-
readonly required: readonly ["email"];
|
|
1740
|
-
readonly type: "object";
|
|
1741
|
-
};
|
|
1742
|
-
export declare const TenantMemberRoleSchema: {
|
|
1743
|
-
readonly enum: readonly ["OWNER", "ADMIN", "MEMBER"];
|
|
1744
|
-
readonly type: "string";
|
|
1745
|
-
};
|
|
1746
|
-
export declare const TenantMemberSchema: {
|
|
1747
|
-
readonly properties: {
|
|
1748
|
-
readonly metadata: {
|
|
1749
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1750
|
-
};
|
|
1751
|
-
readonly user: {
|
|
1752
|
-
readonly $ref: "#/components/schemas/UserTenantPublic";
|
|
1753
|
-
readonly description: "The user associated with this tenant member.";
|
|
1754
|
-
};
|
|
1755
|
-
readonly role: {
|
|
1756
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
1757
|
-
readonly description: "The role of the user in the tenant.";
|
|
1758
|
-
};
|
|
1759
|
-
readonly tenant: {
|
|
1760
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
1761
|
-
readonly description: "The tenant associated with this tenant member.";
|
|
1762
|
-
};
|
|
1763
|
-
};
|
|
1764
|
-
readonly required: readonly ["metadata", "user", "role"];
|
|
1765
|
-
readonly type: "object";
|
|
1766
|
-
};
|
|
1767
|
-
export declare const UserTenantMembershipsListSchema: {
|
|
1768
|
-
readonly properties: {
|
|
1769
|
-
readonly pagination: {
|
|
1770
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1771
|
-
};
|
|
1772
|
-
readonly rows: {
|
|
1773
|
-
readonly items: {
|
|
1774
|
-
readonly $ref: "#/components/schemas/TenantMember";
|
|
1775
|
-
};
|
|
1776
|
-
readonly type: "array";
|
|
1777
|
-
readonly 'x-go-name': "Rows";
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
};
|
|
1781
|
-
export declare const TenantInviteSchema: {
|
|
1782
|
-
readonly properties: {
|
|
1783
|
-
readonly metadata: {
|
|
1784
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1785
|
-
};
|
|
1786
|
-
readonly email: {
|
|
1787
|
-
readonly type: "string";
|
|
1788
|
-
readonly description: "The email of the user to invite.";
|
|
1789
|
-
};
|
|
1790
|
-
readonly role: {
|
|
1791
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
1792
|
-
readonly description: "The role of the user in the tenant.";
|
|
1793
|
-
};
|
|
1794
|
-
readonly tenantId: {
|
|
1795
|
-
readonly type: "string";
|
|
1796
|
-
readonly description: "The tenant id associated with this tenant invite.";
|
|
1797
|
-
};
|
|
1798
|
-
readonly tenantName: {
|
|
1799
|
-
readonly type: "string";
|
|
1800
|
-
readonly description: "The tenant name for the tenant.";
|
|
1801
|
-
};
|
|
1802
|
-
readonly expires: {
|
|
1803
|
-
readonly type: "string";
|
|
1804
|
-
readonly description: "The time that this invite expires.";
|
|
1805
|
-
readonly format: "date-time";
|
|
1806
|
-
};
|
|
1807
|
-
};
|
|
1808
|
-
readonly required: readonly ["metadata", "email", "role", "expires", "tenantId"];
|
|
1809
|
-
readonly type: "object";
|
|
1810
|
-
};
|
|
1811
|
-
export declare const TenantInviteListSchema: {
|
|
1812
|
-
readonly properties: {
|
|
1813
|
-
readonly pagination: {
|
|
1814
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1815
|
-
};
|
|
1816
|
-
readonly rows: {
|
|
1817
|
-
readonly items: {
|
|
1818
|
-
readonly $ref: "#/components/schemas/TenantInvite";
|
|
1819
|
-
};
|
|
1820
|
-
readonly type: "array";
|
|
1821
|
-
readonly 'x-go-name': "Rows";
|
|
1822
|
-
};
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
export declare const AcceptInviteRequestSchema: {
|
|
1826
|
-
readonly properties: {
|
|
1827
|
-
readonly invite: {
|
|
1828
|
-
readonly type: "string";
|
|
1829
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
1830
|
-
readonly minLength: 36;
|
|
1831
|
-
readonly maxLength: 36;
|
|
1832
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1833
|
-
readonly validate: "required,uuid";
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
};
|
|
1837
|
-
readonly required: readonly ["invite"];
|
|
1838
|
-
readonly type: "object";
|
|
1839
|
-
};
|
|
1840
|
-
export declare const RejectInviteRequestSchema: {
|
|
1841
|
-
readonly properties: {
|
|
1842
|
-
readonly invite: {
|
|
1843
|
-
readonly type: "string";
|
|
1844
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
1845
|
-
readonly minLength: 36;
|
|
1846
|
-
readonly maxLength: 36;
|
|
1847
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1848
|
-
readonly validate: "required,uuid";
|
|
1849
|
-
};
|
|
1850
|
-
};
|
|
1851
|
-
};
|
|
1852
|
-
readonly required: readonly ["invite"];
|
|
1853
|
-
readonly type: "object";
|
|
1854
|
-
};
|
|
1855
|
-
export declare const CreateTenantRequestSchema: {
|
|
1856
|
-
readonly properties: {
|
|
1857
|
-
readonly name: {
|
|
1858
|
-
readonly type: "string";
|
|
1859
|
-
readonly description: "The name of the tenant.";
|
|
1860
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1861
|
-
readonly validate: "required";
|
|
1862
|
-
};
|
|
1863
|
-
};
|
|
1864
|
-
readonly slug: {
|
|
1865
|
-
readonly type: "string";
|
|
1866
|
-
readonly description: "The slug of the tenant.";
|
|
1867
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1868
|
-
readonly validate: "required,hatchetName";
|
|
1869
|
-
};
|
|
1870
|
-
};
|
|
1871
|
-
readonly uiVersion: {
|
|
1872
|
-
readonly $ref: "#/components/schemas/TenantUIVersion";
|
|
1873
|
-
readonly description: "The UI version of the tenant. Defaults to V0.";
|
|
1874
|
-
};
|
|
1875
|
-
readonly engineVersion: {
|
|
1876
|
-
readonly $ref: "#/components/schemas/TenantVersion";
|
|
1877
|
-
readonly description: "The engine version of the tenant. Defaults to V0.";
|
|
1878
|
-
};
|
|
1879
|
-
readonly environment: {
|
|
1880
|
-
readonly $ref: "#/components/schemas/TenantEnvironment";
|
|
1881
|
-
readonly description: "The environment type of the tenant.";
|
|
1882
|
-
};
|
|
1883
|
-
readonly onboardingData: {
|
|
1884
|
-
readonly type: "object";
|
|
1885
|
-
readonly description: "Additional onboarding data to store with the tenant.";
|
|
1886
|
-
readonly additionalProperties: true;
|
|
1887
|
-
};
|
|
1888
|
-
};
|
|
1889
|
-
readonly required: readonly ["name", "slug"];
|
|
1890
|
-
readonly type: "object";
|
|
1891
|
-
};
|
|
1892
|
-
export declare const UpdateTenantRequestSchema: {
|
|
1893
|
-
readonly properties: {
|
|
1894
|
-
readonly name: {
|
|
1895
|
-
readonly type: "string";
|
|
1896
|
-
readonly description: "The name of the tenant.";
|
|
1897
|
-
};
|
|
1898
|
-
readonly analyticsOptOut: {
|
|
1899
|
-
readonly type: "boolean";
|
|
1900
|
-
readonly description: "Whether the tenant has opted out of analytics.";
|
|
1901
|
-
};
|
|
1902
|
-
readonly alertMemberEmails: {
|
|
1903
|
-
readonly type: "boolean";
|
|
1904
|
-
readonly description: "Whether to alert tenant members.";
|
|
1905
|
-
};
|
|
1906
|
-
readonly enableWorkflowRunFailureAlerts: {
|
|
1907
|
-
readonly type: "boolean";
|
|
1908
|
-
readonly description: "Whether to send alerts when workflow runs fail.";
|
|
1909
|
-
};
|
|
1910
|
-
readonly enableExpiringTokenAlerts: {
|
|
1911
|
-
readonly type: "boolean";
|
|
1912
|
-
readonly description: "Whether to enable alerts when tokens are approaching expiration.";
|
|
1913
|
-
};
|
|
1914
|
-
readonly enableTenantResourceLimitAlerts: {
|
|
1915
|
-
readonly type: "boolean";
|
|
1916
|
-
readonly description: "Whether to enable alerts when tenant resources are approaching limits.";
|
|
1917
|
-
};
|
|
1918
|
-
readonly maxAlertingFrequency: {
|
|
1919
|
-
readonly type: "string";
|
|
1920
|
-
readonly description: "The max frequency at which to alert.";
|
|
1921
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1922
|
-
readonly validate: "omitnil,duration";
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
readonly version: {
|
|
1926
|
-
readonly $ref: "#/components/schemas/TenantVersion";
|
|
1927
|
-
readonly description: "The version of the tenant.";
|
|
1928
|
-
};
|
|
1929
|
-
readonly uiVersion: {
|
|
1930
|
-
readonly $ref: "#/components/schemas/TenantUIVersion";
|
|
1931
|
-
readonly description: "The UI of the tenant.";
|
|
1932
|
-
};
|
|
1933
|
-
};
|
|
1934
|
-
readonly type: "object";
|
|
1935
|
-
};
|
|
1936
|
-
export declare const TenantAlertingSettingsSchema: {
|
|
1937
|
-
readonly properties: {
|
|
1938
|
-
readonly metadata: {
|
|
1939
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1940
|
-
};
|
|
1941
|
-
readonly alertMemberEmails: {
|
|
1942
|
-
readonly type: "boolean";
|
|
1943
|
-
readonly description: "Whether to alert tenant members.";
|
|
1944
|
-
};
|
|
1945
|
-
readonly enableWorkflowRunFailureAlerts: {
|
|
1946
|
-
readonly type: "boolean";
|
|
1947
|
-
readonly description: "Whether to send alerts when workflow runs fail.";
|
|
1948
|
-
};
|
|
1949
|
-
readonly enableExpiringTokenAlerts: {
|
|
1950
|
-
readonly type: "boolean";
|
|
1951
|
-
readonly description: "Whether to enable alerts when tokens are approaching expiration.";
|
|
1952
|
-
};
|
|
1953
|
-
readonly enableTenantResourceLimitAlerts: {
|
|
1954
|
-
readonly type: "boolean";
|
|
1955
|
-
readonly description: "Whether to enable alerts when tenant resources are approaching limits.";
|
|
1956
|
-
};
|
|
1957
|
-
readonly maxAlertingFrequency: {
|
|
1958
|
-
readonly type: "string";
|
|
1959
|
-
readonly description: "The max frequency at which to alert.";
|
|
1960
|
-
};
|
|
1961
|
-
readonly lastAlertedAt: {
|
|
1962
|
-
readonly type: "string";
|
|
1963
|
-
readonly description: "The last time an alert was sent.";
|
|
1964
|
-
readonly format: "date-time";
|
|
1965
|
-
};
|
|
1966
|
-
};
|
|
1967
|
-
readonly required: readonly ["metadata", "maxAlertingFrequency"];
|
|
1968
|
-
readonly type: "object";
|
|
1969
|
-
};
|
|
1970
|
-
export declare const CreateTenantInviteRequestSchema: {
|
|
1971
|
-
readonly properties: {
|
|
1972
|
-
readonly email: {
|
|
1973
|
-
readonly type: "string";
|
|
1974
|
-
readonly description: "The email of the user to invite.";
|
|
1975
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1976
|
-
readonly validate: "required,email";
|
|
1977
|
-
};
|
|
1978
|
-
};
|
|
1979
|
-
readonly role: {
|
|
1980
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
1981
|
-
readonly description: "The role of the user in the tenant.";
|
|
1982
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1983
|
-
readonly validate: "required";
|
|
1984
|
-
};
|
|
1985
|
-
};
|
|
1986
|
-
};
|
|
1987
|
-
readonly required: readonly ["email", "role"];
|
|
1988
|
-
readonly type: "object";
|
|
1989
|
-
};
|
|
1990
|
-
export declare const UpdateTenantInviteRequestSchema: {
|
|
1991
|
-
readonly properties: {
|
|
1992
|
-
readonly role: {
|
|
1993
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
1994
|
-
readonly description: "The role of the user in the tenant.";
|
|
1995
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
1996
|
-
readonly validate: "required";
|
|
1997
|
-
};
|
|
1998
|
-
};
|
|
1999
|
-
};
|
|
2000
|
-
readonly required: readonly ["role"];
|
|
2001
|
-
readonly type: "object";
|
|
2002
|
-
};
|
|
2003
|
-
export declare const APITokenSchema: {
|
|
2004
|
-
readonly type: "object";
|
|
2005
|
-
readonly properties: {
|
|
2006
|
-
readonly metadata: {
|
|
2007
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2008
|
-
};
|
|
2009
|
-
readonly name: {
|
|
2010
|
-
readonly type: "string";
|
|
2011
|
-
readonly description: "The name of the API token.";
|
|
2012
|
-
readonly maxLength: 255;
|
|
2013
|
-
};
|
|
2014
|
-
readonly expiresAt: {
|
|
2015
|
-
readonly type: "string";
|
|
2016
|
-
readonly format: "date-time";
|
|
2017
|
-
readonly description: "When the API token expires.";
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
readonly required: readonly ["metadata", "name", "expiresAt"];
|
|
2021
|
-
};
|
|
2022
|
-
export declare const ListAPITokensResponseSchema: {
|
|
2023
|
-
readonly properties: {
|
|
2024
|
-
readonly pagination: {
|
|
2025
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2026
|
-
};
|
|
2027
|
-
readonly rows: {
|
|
2028
|
-
readonly items: {
|
|
2029
|
-
readonly $ref: "#/components/schemas/APIToken";
|
|
2030
|
-
};
|
|
2031
|
-
readonly type: "array";
|
|
2032
|
-
};
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
export declare const CreateAPITokenRequestSchema: {
|
|
2036
|
-
readonly type: "object";
|
|
2037
|
-
readonly properties: {
|
|
2038
|
-
readonly name: {
|
|
2039
|
-
readonly type: "string";
|
|
2040
|
-
readonly description: "A name for the API token.";
|
|
2041
|
-
readonly maxLength: 255;
|
|
2042
|
-
};
|
|
2043
|
-
readonly expiresIn: {
|
|
2044
|
-
readonly type: "string";
|
|
2045
|
-
readonly description: "The duration for which the token is valid.";
|
|
2046
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
2047
|
-
readonly validate: "omitnil,duration";
|
|
2048
|
-
};
|
|
2049
|
-
};
|
|
2050
|
-
};
|
|
2051
|
-
readonly required: readonly ["name"];
|
|
2052
|
-
};
|
|
2053
|
-
export declare const CreateAPITokenResponseSchema: {
|
|
2054
|
-
readonly type: "object";
|
|
2055
|
-
readonly properties: {
|
|
2056
|
-
readonly token: {
|
|
2057
|
-
readonly type: "string";
|
|
2058
|
-
readonly description: "The API token.";
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
2061
|
-
readonly required: readonly ["token"];
|
|
2062
|
-
};
|
|
2063
|
-
export declare const WorkflowIDSchema: {
|
|
2064
|
-
readonly type: "string";
|
|
2065
|
-
readonly description: "A workflow ID.";
|
|
2066
|
-
};
|
|
2067
|
-
export declare const QueueMetricsSchema: {
|
|
2068
|
-
readonly type: "object";
|
|
2069
|
-
readonly properties: {
|
|
2070
|
-
readonly numQueued: {
|
|
2071
|
-
readonly type: "integer";
|
|
2072
|
-
readonly description: "The number of items in the queue.";
|
|
2073
|
-
};
|
|
2074
|
-
readonly numRunning: {
|
|
2075
|
-
readonly type: "integer";
|
|
2076
|
-
readonly description: "The number of items running.";
|
|
2077
|
-
};
|
|
2078
|
-
readonly numPending: {
|
|
2079
|
-
readonly type: "integer";
|
|
2080
|
-
readonly description: "The number of items pending.";
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
readonly required: readonly ["numQueued", "numRunning", "numPending"];
|
|
2084
|
-
};
|
|
2085
|
-
export declare const TenantQueueMetricsSchema: {
|
|
2086
|
-
readonly properties: {
|
|
2087
|
-
readonly total: {
|
|
2088
|
-
readonly $ref: "#/components/schemas/QueueMetrics";
|
|
2089
|
-
readonly description: "The total queue metrics.";
|
|
2090
|
-
};
|
|
2091
|
-
readonly workflow: {
|
|
2092
|
-
readonly type: "object";
|
|
2093
|
-
readonly additionalProperties: {
|
|
2094
|
-
readonly $ref: "#/components/schemas/QueueMetrics";
|
|
2095
|
-
};
|
|
2096
|
-
};
|
|
2097
|
-
readonly queues: {
|
|
2098
|
-
readonly type: "object";
|
|
2099
|
-
readonly additionalProperties: {
|
|
2100
|
-
readonly type: "integer";
|
|
2101
|
-
};
|
|
2102
|
-
};
|
|
2103
|
-
};
|
|
2104
|
-
};
|
|
2105
|
-
export declare const TenantStepRunQueueMetricsSchema: {
|
|
2106
|
-
readonly properties: {
|
|
2107
|
-
readonly queues: {
|
|
2108
|
-
readonly type: "object";
|
|
2109
|
-
};
|
|
2110
|
-
};
|
|
2111
|
-
};
|
|
2112
|
-
export declare const WorkflowRunStatusSchema: {
|
|
2113
|
-
readonly type: "string";
|
|
2114
|
-
readonly enum: readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED", "QUEUED", "BACKOFF"];
|
|
2115
|
-
};
|
|
2116
|
-
export declare const WorkflowRunStatusListSchema: {
|
|
2117
|
-
readonly type: "array";
|
|
2118
|
-
readonly items: {
|
|
2119
|
-
readonly $ref: "#/components/schemas/WorkflowRunStatus";
|
|
2120
|
-
};
|
|
2121
|
-
};
|
|
2122
|
-
export declare const EventSearchSchema: {
|
|
2123
|
-
readonly type: "string";
|
|
2124
|
-
};
|
|
2125
|
-
export declare const EventOrderByFieldSchema: {
|
|
2126
|
-
readonly type: "string";
|
|
2127
|
-
readonly enum: readonly ["createdAt"];
|
|
2128
|
-
};
|
|
2129
|
-
export declare const EventOrderByDirectionSchema: {
|
|
2130
|
-
readonly type: "string";
|
|
2131
|
-
readonly enum: readonly ["asc", "desc"];
|
|
2132
|
-
};
|
|
2133
|
-
export declare const EventWorkflowRunSummarySchema: {
|
|
2134
|
-
readonly properties: {
|
|
2135
|
-
readonly pending: {
|
|
2136
|
-
readonly type: "integer";
|
|
2137
|
-
readonly format: "int64";
|
|
2138
|
-
readonly description: "The number of pending runs.";
|
|
2139
|
-
};
|
|
2140
|
-
readonly running: {
|
|
2141
|
-
readonly type: "integer";
|
|
2142
|
-
readonly format: "int64";
|
|
2143
|
-
readonly description: "The number of running runs.";
|
|
2144
|
-
};
|
|
2145
|
-
readonly queued: {
|
|
2146
|
-
readonly type: "integer";
|
|
2147
|
-
readonly format: "int64";
|
|
2148
|
-
readonly description: "The number of queued runs.";
|
|
2149
|
-
};
|
|
2150
|
-
readonly succeeded: {
|
|
2151
|
-
readonly type: "integer";
|
|
2152
|
-
readonly format: "int64";
|
|
2153
|
-
readonly description: "The number of succeeded runs.";
|
|
2154
|
-
};
|
|
2155
|
-
readonly failed: {
|
|
2156
|
-
readonly type: "integer";
|
|
2157
|
-
readonly format: "int64";
|
|
2158
|
-
readonly description: "The number of failed runs.";
|
|
2159
|
-
};
|
|
2160
|
-
readonly cancelled: {
|
|
2161
|
-
readonly type: "integer";
|
|
2162
|
-
readonly format: "int64";
|
|
2163
|
-
readonly description: "The number of cancelled runs.";
|
|
2164
|
-
};
|
|
2165
|
-
};
|
|
2166
|
-
};
|
|
2167
|
-
export declare const EventSchema: {
|
|
2168
|
-
readonly properties: {
|
|
2169
|
-
readonly metadata: {
|
|
2170
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2171
|
-
};
|
|
2172
|
-
readonly key: {
|
|
2173
|
-
readonly type: "string";
|
|
2174
|
-
readonly description: "The key for the event.";
|
|
2175
|
-
};
|
|
2176
|
-
readonly tenant: {
|
|
2177
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
2178
|
-
readonly description: "The tenant associated with this event.";
|
|
2179
|
-
};
|
|
2180
|
-
readonly tenantId: {
|
|
2181
|
-
readonly type: "string";
|
|
2182
|
-
readonly description: "The ID of the tenant associated with this event.";
|
|
2183
|
-
};
|
|
2184
|
-
readonly workflowRunSummary: {
|
|
2185
|
-
readonly $ref: "#/components/schemas/EventWorkflowRunSummary";
|
|
2186
|
-
readonly description: "The workflow run summary for this event.";
|
|
2187
|
-
};
|
|
2188
|
-
readonly additionalMetadata: {
|
|
2189
|
-
readonly type: "object";
|
|
2190
|
-
readonly description: "Additional metadata for the event.";
|
|
2191
|
-
};
|
|
2192
|
-
};
|
|
2193
|
-
readonly required: readonly ["metadata", "key", "tenantId"];
|
|
2194
|
-
};
|
|
2195
|
-
export declare const EventListSchema: {
|
|
2196
|
-
readonly properties: {
|
|
2197
|
-
readonly pagination: {
|
|
2198
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2199
|
-
};
|
|
2200
|
-
readonly rows: {
|
|
2201
|
-
readonly items: {
|
|
2202
|
-
readonly $ref: "#/components/schemas/Event";
|
|
2203
|
-
};
|
|
2204
|
-
readonly type: "array";
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
};
|
|
2208
|
-
export declare const CreateEventRequestSchema: {
|
|
2209
|
-
readonly properties: {
|
|
2210
|
-
readonly key: {
|
|
2211
|
-
readonly type: "string";
|
|
2212
|
-
readonly description: "The key for the event.";
|
|
2213
|
-
};
|
|
2214
|
-
readonly data: {
|
|
2215
|
-
readonly type: "object";
|
|
2216
|
-
readonly description: "The data for the event.";
|
|
2217
|
-
};
|
|
2218
|
-
readonly additionalMetadata: {
|
|
2219
|
-
readonly type: "object";
|
|
2220
|
-
readonly description: "Additional metadata for the event.";
|
|
2221
|
-
};
|
|
2222
|
-
readonly priority: {
|
|
2223
|
-
readonly type: "integer";
|
|
2224
|
-
readonly description: "The priority of the event.";
|
|
2225
|
-
readonly format: "int32";
|
|
2226
|
-
};
|
|
2227
|
-
readonly scope: {
|
|
2228
|
-
readonly type: "string";
|
|
2229
|
-
readonly description: "The scope for event filtering.";
|
|
2230
|
-
};
|
|
2231
|
-
};
|
|
2232
|
-
readonly required: readonly ["key", "data"];
|
|
2233
|
-
};
|
|
2234
|
-
export declare const BulkCreateEventRequestSchema: {
|
|
2235
|
-
readonly properties: {
|
|
2236
|
-
readonly events: {
|
|
2237
|
-
readonly type: "array";
|
|
2238
|
-
readonly items: {
|
|
2239
|
-
readonly $ref: "#/components/schemas/CreateEventRequest";
|
|
2240
|
-
};
|
|
2241
|
-
};
|
|
2242
|
-
};
|
|
2243
|
-
readonly required: readonly ["events"];
|
|
2244
|
-
};
|
|
2245
|
-
export declare const EventsSchema: {
|
|
2246
|
-
readonly properties: {
|
|
2247
|
-
readonly metadata: {
|
|
2248
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2249
|
-
};
|
|
2250
|
-
readonly events: {
|
|
2251
|
-
readonly type: "array";
|
|
2252
|
-
readonly items: {
|
|
2253
|
-
readonly $ref: "#/components/schemas/Event";
|
|
2254
|
-
};
|
|
2255
|
-
readonly description: "The events.";
|
|
2256
|
-
};
|
|
2257
|
-
};
|
|
2258
|
-
readonly required: readonly ["metadata", "events"];
|
|
2259
|
-
};
|
|
2260
|
-
export declare const ReplayEventRequestSchema: {
|
|
2261
|
-
readonly properties: {
|
|
2262
|
-
readonly eventIds: {
|
|
2263
|
-
readonly type: "array";
|
|
2264
|
-
readonly items: {
|
|
2265
|
-
readonly type: "string";
|
|
2266
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
2267
|
-
readonly minLength: 36;
|
|
2268
|
-
readonly maxLength: 36;
|
|
2269
|
-
readonly format: "uuid";
|
|
2270
|
-
};
|
|
2271
|
-
};
|
|
2272
|
-
};
|
|
2273
|
-
readonly required: readonly ["eventIds"];
|
|
2274
|
-
};
|
|
2275
|
-
export declare const CancelEventRequestSchema: {
|
|
2276
|
-
readonly properties: {
|
|
2277
|
-
readonly eventIds: {
|
|
2278
|
-
readonly type: "array";
|
|
2279
|
-
readonly items: {
|
|
2280
|
-
readonly type: "string";
|
|
2281
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
2282
|
-
readonly minLength: 36;
|
|
2283
|
-
readonly maxLength: 36;
|
|
2284
|
-
readonly format: "uuid";
|
|
2285
|
-
};
|
|
2286
|
-
};
|
|
2287
|
-
};
|
|
2288
|
-
readonly required: readonly ["eventIds"];
|
|
2289
|
-
};
|
|
2290
|
-
export declare const RateLimitOrderByFieldSchema: {
|
|
2291
|
-
readonly type: "string";
|
|
2292
|
-
readonly enum: readonly ["key", "value", "limitValue"];
|
|
2293
|
-
};
|
|
2294
|
-
export declare const RateLimitOrderByDirectionSchema: {
|
|
2295
|
-
readonly type: "string";
|
|
2296
|
-
readonly enum: readonly ["asc", "desc"];
|
|
2297
|
-
};
|
|
2298
|
-
export declare const RateLimitSchema: {
|
|
2299
|
-
readonly properties: {
|
|
2300
|
-
readonly key: {
|
|
2301
|
-
readonly type: "string";
|
|
2302
|
-
readonly description: "The key for the rate limit.";
|
|
2303
|
-
};
|
|
2304
|
-
readonly tenantId: {
|
|
2305
|
-
readonly type: "string";
|
|
2306
|
-
readonly description: "The ID of the tenant associated with this rate limit.";
|
|
2307
|
-
};
|
|
2308
|
-
readonly limitValue: {
|
|
2309
|
-
readonly type: "integer";
|
|
2310
|
-
readonly description: "The maximum number of requests allowed within the window.";
|
|
2311
|
-
};
|
|
2312
|
-
readonly value: {
|
|
2313
|
-
readonly type: "integer";
|
|
2314
|
-
readonly description: "The current number of requests made within the window.";
|
|
2315
|
-
};
|
|
2316
|
-
readonly window: {
|
|
2317
|
-
readonly type: "string";
|
|
2318
|
-
readonly description: "The window of time in which the limitValue is enforced.";
|
|
2319
|
-
};
|
|
2320
|
-
readonly lastRefill: {
|
|
2321
|
-
readonly type: "string";
|
|
2322
|
-
readonly format: "date-time";
|
|
2323
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
2324
|
-
readonly description: "The last time the rate limit was refilled.";
|
|
2325
|
-
};
|
|
2326
|
-
};
|
|
2327
|
-
readonly required: readonly ["key", "tenantId", "limitValue", "value", "window", "lastRefill"];
|
|
2328
|
-
};
|
|
2329
|
-
export declare const RateLimitListSchema: {
|
|
2330
|
-
readonly properties: {
|
|
2331
|
-
readonly pagination: {
|
|
2332
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2333
|
-
};
|
|
2334
|
-
readonly rows: {
|
|
2335
|
-
readonly items: {
|
|
2336
|
-
readonly $ref: "#/components/schemas/RateLimit";
|
|
2337
|
-
};
|
|
2338
|
-
readonly type: "array";
|
|
2339
|
-
};
|
|
2340
|
-
};
|
|
2341
|
-
};
|
|
2342
|
-
export declare const TenantMemberListSchema: {
|
|
2343
|
-
readonly properties: {
|
|
2344
|
-
readonly pagination: {
|
|
2345
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2346
|
-
};
|
|
2347
|
-
readonly rows: {
|
|
2348
|
-
readonly items: {
|
|
2349
|
-
readonly $ref: "#/components/schemas/TenantMember";
|
|
2350
|
-
};
|
|
2351
|
-
readonly type: "array";
|
|
2352
|
-
readonly 'x-go-name': "Rows";
|
|
2353
|
-
};
|
|
2354
|
-
};
|
|
2355
|
-
};
|
|
2356
|
-
export declare const UpdateTenantMemberRequestSchema: {
|
|
2357
|
-
readonly properties: {
|
|
2358
|
-
readonly role: {
|
|
2359
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
2360
|
-
readonly description: "The role of the user in the tenant.";
|
|
2361
|
-
readonly 'x-oapi-codegen-extra-tags': {
|
|
2362
|
-
readonly validate: "required";
|
|
2363
|
-
};
|
|
2364
|
-
};
|
|
2365
|
-
};
|
|
2366
|
-
readonly required: readonly ["role"];
|
|
2367
|
-
readonly type: "object";
|
|
2368
|
-
};
|
|
2369
|
-
export declare const EventDataSchema: {
|
|
2370
|
-
readonly properties: {
|
|
2371
|
-
readonly data: {
|
|
2372
|
-
readonly type: "string";
|
|
2373
|
-
readonly description: "The data for the event (JSON bytes).";
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
readonly required: readonly ["data"];
|
|
2377
|
-
};
|
|
2378
|
-
export declare const WorkflowSchema: {
|
|
2379
|
-
readonly properties: {
|
|
2380
|
-
readonly metadata: {
|
|
2381
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2382
|
-
};
|
|
2383
|
-
readonly name: {
|
|
2384
|
-
readonly type: "string";
|
|
2385
|
-
readonly description: "The name of the workflow.";
|
|
2386
|
-
};
|
|
2387
|
-
readonly description: {
|
|
2388
|
-
readonly type: "string";
|
|
2389
|
-
readonly description: "The description of the workflow.";
|
|
2390
|
-
};
|
|
2391
|
-
readonly isPaused: {
|
|
2392
|
-
readonly type: "boolean";
|
|
2393
|
-
readonly description: "Whether the workflow is paused.";
|
|
2394
|
-
};
|
|
2395
|
-
readonly versions: {
|
|
2396
|
-
readonly type: "array";
|
|
2397
|
-
readonly items: {
|
|
2398
|
-
readonly $ref: "#/components/schemas/WorkflowVersionMeta";
|
|
2399
|
-
};
|
|
2400
|
-
};
|
|
2401
|
-
readonly tags: {
|
|
2402
|
-
readonly type: "array";
|
|
2403
|
-
readonly items: {
|
|
2404
|
-
readonly $ref: "#/components/schemas/WorkflowTag";
|
|
2405
|
-
};
|
|
2406
|
-
readonly description: "The tags of the workflow.";
|
|
2407
|
-
};
|
|
2408
|
-
readonly jobs: {
|
|
2409
|
-
readonly type: "array";
|
|
2410
|
-
readonly items: {
|
|
2411
|
-
readonly $ref: "#/components/schemas/Job";
|
|
2412
|
-
};
|
|
2413
|
-
readonly description: "The jobs of the workflow.";
|
|
2414
|
-
};
|
|
2415
|
-
readonly tenantId: {
|
|
2416
|
-
readonly type: "string";
|
|
2417
|
-
readonly description: "The tenant id of the workflow.";
|
|
2418
|
-
};
|
|
2419
|
-
};
|
|
2420
|
-
readonly required: readonly ["metadata", "name", "tenantId"];
|
|
2421
|
-
readonly type: "object";
|
|
2422
|
-
};
|
|
2423
|
-
export declare const WorkflowVersionMetaSchema: {
|
|
2424
|
-
readonly type: "object";
|
|
2425
|
-
readonly properties: {
|
|
2426
|
-
readonly metadata: {
|
|
2427
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2428
|
-
};
|
|
2429
|
-
readonly version: {
|
|
2430
|
-
readonly type: "string";
|
|
2431
|
-
readonly description: "The version of the workflow.";
|
|
2432
|
-
};
|
|
2433
|
-
readonly order: {
|
|
2434
|
-
readonly type: "integer";
|
|
2435
|
-
readonly format: "int32";
|
|
2436
|
-
};
|
|
2437
|
-
readonly workflowId: {
|
|
2438
|
-
readonly type: "string";
|
|
2439
|
-
};
|
|
2440
|
-
readonly workflow: {
|
|
2441
|
-
readonly $ref: "#/components/schemas/Workflow";
|
|
2442
|
-
};
|
|
2443
|
-
};
|
|
2444
|
-
readonly required: readonly ["metadata", "version", "order", "workflowId"];
|
|
2445
|
-
};
|
|
2446
|
-
export declare const WorkflowTagSchema: {
|
|
2447
|
-
readonly type: "object";
|
|
2448
|
-
readonly properties: {
|
|
2449
|
-
readonly name: {
|
|
2450
|
-
readonly type: "string";
|
|
2451
|
-
readonly description: "The name of the workflow.";
|
|
2452
|
-
};
|
|
2453
|
-
readonly color: {
|
|
2454
|
-
readonly type: "string";
|
|
2455
|
-
readonly description: "The description of the workflow.";
|
|
2456
|
-
};
|
|
2457
|
-
};
|
|
2458
|
-
readonly required: readonly ["name", "color"];
|
|
2459
|
-
};
|
|
2460
|
-
export declare const StepSchema: {
|
|
2461
|
-
readonly type: "object";
|
|
2462
|
-
readonly properties: {
|
|
2463
|
-
readonly metadata: {
|
|
2464
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2465
|
-
};
|
|
2466
|
-
readonly readableId: {
|
|
2467
|
-
readonly type: "string";
|
|
2468
|
-
readonly description: "The readable id of the step.";
|
|
2469
|
-
};
|
|
2470
|
-
readonly tenantId: {
|
|
2471
|
-
readonly type: "string";
|
|
2472
|
-
};
|
|
2473
|
-
readonly jobId: {
|
|
2474
|
-
readonly type: "string";
|
|
2475
|
-
};
|
|
2476
|
-
readonly action: {
|
|
2477
|
-
readonly type: "string";
|
|
2478
|
-
};
|
|
2479
|
-
readonly timeout: {
|
|
2480
|
-
readonly type: "string";
|
|
2481
|
-
readonly description: "The timeout of the step.";
|
|
2482
|
-
};
|
|
2483
|
-
readonly children: {
|
|
2484
|
-
readonly type: "array";
|
|
2485
|
-
readonly items: {
|
|
2486
|
-
readonly type: "string";
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
readonly parents: {
|
|
2490
|
-
readonly type: "array";
|
|
2491
|
-
readonly items: {
|
|
2492
|
-
readonly type: "string";
|
|
2493
|
-
};
|
|
2494
|
-
};
|
|
2495
|
-
};
|
|
2496
|
-
readonly required: readonly ["metadata", "readableId", "tenantId", "jobId", "action", "nextId"];
|
|
2497
|
-
};
|
|
2498
|
-
export declare const JobSchema: {
|
|
2499
|
-
readonly type: "object";
|
|
2500
|
-
readonly properties: {
|
|
2501
|
-
readonly metadata: {
|
|
2502
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2503
|
-
};
|
|
2504
|
-
readonly tenantId: {
|
|
2505
|
-
readonly type: "string";
|
|
2506
|
-
};
|
|
2507
|
-
readonly versionId: {
|
|
2508
|
-
readonly type: "string";
|
|
2509
|
-
};
|
|
2510
|
-
readonly name: {
|
|
2511
|
-
readonly type: "string";
|
|
2512
|
-
};
|
|
2513
|
-
readonly description: {
|
|
2514
|
-
readonly type: "string";
|
|
2515
|
-
readonly description: "The description of the job.";
|
|
2516
|
-
};
|
|
2517
|
-
readonly steps: {
|
|
2518
|
-
readonly type: "array";
|
|
2519
|
-
readonly items: {
|
|
2520
|
-
readonly $ref: "#/components/schemas/Step";
|
|
2521
|
-
};
|
|
2522
|
-
};
|
|
2523
|
-
readonly timeout: {
|
|
2524
|
-
readonly type: "string";
|
|
2525
|
-
readonly description: "The timeout of the job.";
|
|
2526
|
-
};
|
|
2527
|
-
};
|
|
2528
|
-
readonly required: readonly ["metadata", "tenantId", "versionId", "name", "steps"];
|
|
2529
|
-
};
|
|
2530
|
-
export declare const WorkflowListSchema: {
|
|
2531
|
-
readonly type: "object";
|
|
2532
|
-
readonly properties: {
|
|
2533
|
-
readonly metadata: {
|
|
2534
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2535
|
-
};
|
|
2536
|
-
readonly rows: {
|
|
2537
|
-
readonly type: "array";
|
|
2538
|
-
readonly items: {
|
|
2539
|
-
readonly $ref: "#/components/schemas/Workflow";
|
|
2540
|
-
};
|
|
2541
|
-
};
|
|
2542
|
-
readonly pagination: {
|
|
2543
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2544
|
-
};
|
|
2545
|
-
};
|
|
2546
|
-
};
|
|
2547
|
-
export declare const ScheduleWorkflowRunRequestSchema: {
|
|
2548
|
-
readonly properties: {
|
|
2549
|
-
readonly input: {
|
|
2550
|
-
readonly type: "object";
|
|
2551
|
-
};
|
|
2552
|
-
readonly additionalMetadata: {
|
|
2553
|
-
readonly type: "object";
|
|
2554
|
-
};
|
|
2555
|
-
readonly triggerAt: {
|
|
2556
|
-
readonly type: "string";
|
|
2557
|
-
readonly format: "date-time";
|
|
2558
|
-
};
|
|
2559
|
-
readonly priority: {
|
|
2560
|
-
readonly type: "integer";
|
|
2561
|
-
readonly minimum: 1;
|
|
2562
|
-
readonly maximum: 3;
|
|
2563
|
-
readonly format: "int32";
|
|
2564
|
-
};
|
|
2565
|
-
};
|
|
2566
|
-
readonly required: readonly ["input", "additionalMetadata", "triggerAt"];
|
|
2567
|
-
};
|
|
2568
|
-
export declare const ScheduledWorkflowsMethodSchema: {
|
|
2569
|
-
readonly type: "string";
|
|
2570
|
-
readonly enum: readonly ["DEFAULT", "API"];
|
|
2571
|
-
};
|
|
2572
|
-
export declare const ScheduledWorkflowsSchema: {
|
|
2573
|
-
readonly type: "object";
|
|
2574
|
-
readonly properties: {
|
|
2575
|
-
readonly metadata: {
|
|
2576
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2577
|
-
};
|
|
2578
|
-
readonly tenantId: {
|
|
2579
|
-
readonly type: "string";
|
|
2580
|
-
};
|
|
2581
|
-
readonly workflowVersionId: {
|
|
2582
|
-
readonly type: "string";
|
|
2583
|
-
};
|
|
2584
|
-
readonly workflowId: {
|
|
2585
|
-
readonly type: "string";
|
|
2586
|
-
};
|
|
2587
|
-
readonly workflowName: {
|
|
2588
|
-
readonly type: "string";
|
|
2589
|
-
};
|
|
2590
|
-
readonly triggerAt: {
|
|
2591
|
-
readonly type: "string";
|
|
2592
|
-
readonly format: "date-time";
|
|
2593
|
-
};
|
|
2594
|
-
readonly input: {
|
|
2595
|
-
readonly type: "object";
|
|
2596
|
-
readonly additionalProperties: true;
|
|
2597
|
-
};
|
|
2598
|
-
readonly additionalMetadata: {
|
|
2599
|
-
readonly type: "object";
|
|
2600
|
-
readonly additionalProperties: true;
|
|
2601
|
-
};
|
|
2602
|
-
readonly workflowRunCreatedAt: {
|
|
2603
|
-
readonly type: "string";
|
|
2604
|
-
readonly format: "date-time";
|
|
2605
|
-
};
|
|
2606
|
-
readonly workflowRunName: {
|
|
2607
|
-
readonly type: "string";
|
|
2608
|
-
};
|
|
2609
|
-
readonly workflowRunStatus: {
|
|
2610
|
-
readonly $ref: "#/components/schemas/WorkflowRunStatus";
|
|
2611
|
-
};
|
|
2612
|
-
readonly workflowRunId: {
|
|
2613
|
-
readonly type: "string";
|
|
2614
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
2615
|
-
readonly minLength: 36;
|
|
2616
|
-
readonly maxLength: 36;
|
|
2617
|
-
readonly format: "uuid";
|
|
2618
|
-
};
|
|
2619
|
-
readonly method: {
|
|
2620
|
-
readonly $ref: "#/components/schemas/ScheduledWorkflowsMethod";
|
|
2621
|
-
};
|
|
2622
|
-
readonly priority: {
|
|
2623
|
-
readonly type: "integer";
|
|
2624
|
-
readonly minimum: 1;
|
|
2625
|
-
readonly maximum: 3;
|
|
2626
|
-
readonly format: "int32";
|
|
2627
|
-
};
|
|
2628
|
-
};
|
|
2629
|
-
readonly required: readonly ["metadata", "tenantId", "workflowVersionId", "workflowName", "workflowId", "triggerAt", "method"];
|
|
2630
|
-
};
|
|
2631
|
-
export declare const ScheduledWorkflowsOrderByFieldSchema: {
|
|
2632
|
-
readonly type: "string";
|
|
2633
|
-
readonly enum: readonly ["triggerAt", "createdAt"];
|
|
2634
|
-
};
|
|
2635
|
-
export declare const WorkflowRunOrderByDirectionSchema: {
|
|
2636
|
-
readonly type: "string";
|
|
2637
|
-
readonly enum: readonly ["ASC", "DESC"];
|
|
2638
|
-
};
|
|
2639
|
-
export declare const ScheduledRunStatusSchema: {
|
|
2640
|
-
readonly type: "string";
|
|
2641
|
-
readonly enum: readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED", "QUEUED", "SCHEDULED"];
|
|
2642
|
-
};
|
|
2643
|
-
export declare const ScheduledWorkflowsListSchema: {
|
|
2644
|
-
readonly type: "object";
|
|
2645
|
-
readonly properties: {
|
|
2646
|
-
readonly rows: {
|
|
2647
|
-
readonly type: "array";
|
|
2648
|
-
readonly items: {
|
|
2649
|
-
readonly $ref: "#/components/schemas/ScheduledWorkflows";
|
|
2650
|
-
};
|
|
2651
|
-
};
|
|
2652
|
-
readonly pagination: {
|
|
2653
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2654
|
-
};
|
|
2655
|
-
};
|
|
2656
|
-
};
|
|
2657
|
-
export declare const CreateCronWorkflowTriggerRequestSchema: {
|
|
2658
|
-
readonly properties: {
|
|
2659
|
-
readonly input: {
|
|
2660
|
-
readonly type: "object";
|
|
2661
|
-
};
|
|
2662
|
-
readonly additionalMetadata: {
|
|
2663
|
-
readonly type: "object";
|
|
2664
|
-
};
|
|
2665
|
-
readonly cronName: {
|
|
2666
|
-
readonly type: "string";
|
|
2667
|
-
};
|
|
2668
|
-
readonly cronExpression: {
|
|
2669
|
-
readonly type: "string";
|
|
2670
|
-
};
|
|
2671
|
-
readonly priority: {
|
|
2672
|
-
readonly type: "integer";
|
|
2673
|
-
readonly minimum: 1;
|
|
2674
|
-
readonly maximum: 3;
|
|
2675
|
-
readonly format: "int32";
|
|
2676
|
-
};
|
|
2677
|
-
};
|
|
2678
|
-
readonly required: readonly ["input", "additionalMetadata", "cronName", "cronExpression"];
|
|
2679
|
-
};
|
|
2680
|
-
export declare const CronWorkflowsMethodSchema: {
|
|
2681
|
-
readonly type: "string";
|
|
2682
|
-
readonly enum: readonly ["DEFAULT", "API"];
|
|
2683
|
-
};
|
|
2684
|
-
export declare const CronWorkflowsSchema: {
|
|
2685
|
-
readonly type: "object";
|
|
2686
|
-
readonly properties: {
|
|
2687
|
-
readonly metadata: {
|
|
2688
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2689
|
-
};
|
|
2690
|
-
readonly tenantId: {
|
|
2691
|
-
readonly type: "string";
|
|
2692
|
-
};
|
|
2693
|
-
readonly workflowVersionId: {
|
|
2694
|
-
readonly type: "string";
|
|
2695
|
-
};
|
|
2696
|
-
readonly workflowId: {
|
|
2697
|
-
readonly type: "string";
|
|
2698
|
-
};
|
|
2699
|
-
readonly workflowName: {
|
|
2700
|
-
readonly type: "string";
|
|
2701
|
-
};
|
|
2702
|
-
readonly cron: {
|
|
2703
|
-
readonly type: "string";
|
|
2704
|
-
};
|
|
2705
|
-
readonly name: {
|
|
2706
|
-
readonly type: "string";
|
|
2707
|
-
};
|
|
2708
|
-
readonly input: {
|
|
2709
|
-
readonly type: "object";
|
|
2710
|
-
readonly additionalProperties: true;
|
|
2711
|
-
};
|
|
2712
|
-
readonly additionalMetadata: {
|
|
2713
|
-
readonly type: "object";
|
|
2714
|
-
readonly additionalProperties: true;
|
|
2715
|
-
};
|
|
2716
|
-
readonly enabled: {
|
|
2717
|
-
readonly type: "boolean";
|
|
2718
|
-
};
|
|
2719
|
-
readonly method: {
|
|
2720
|
-
readonly $ref: "#/components/schemas/CronWorkflowsMethod";
|
|
2721
|
-
};
|
|
2722
|
-
readonly priority: {
|
|
2723
|
-
readonly type: "integer";
|
|
2724
|
-
readonly minimum: 1;
|
|
2725
|
-
readonly maximum: 3;
|
|
2726
|
-
readonly format: "int32";
|
|
2727
|
-
};
|
|
2728
|
-
};
|
|
2729
|
-
readonly required: readonly ["metadata", "tenantId", "workflowVersionId", "workflowName", "workflowId", "cron", "enabled", "method"];
|
|
2730
|
-
};
|
|
2731
|
-
export declare const CronWorkflowsOrderByFieldSchema: {
|
|
2732
|
-
readonly type: "string";
|
|
2733
|
-
readonly enum: readonly ["name", "createdAt"];
|
|
2734
|
-
};
|
|
2735
|
-
export declare const CronWorkflowsListSchema: {
|
|
2736
|
-
readonly type: "object";
|
|
2737
|
-
readonly properties: {
|
|
2738
|
-
readonly rows: {
|
|
2739
|
-
readonly type: "array";
|
|
2740
|
-
readonly items: {
|
|
2741
|
-
readonly $ref: "#/components/schemas/CronWorkflows";
|
|
2742
|
-
};
|
|
2743
|
-
};
|
|
2744
|
-
readonly pagination: {
|
|
2745
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2746
|
-
};
|
|
2747
|
-
};
|
|
2748
|
-
};
|
|
2749
|
-
export declare const UpdateCronWorkflowTriggerRequestSchema: {
|
|
2750
|
-
readonly properties: {
|
|
2751
|
-
readonly enabled: {
|
|
2752
|
-
readonly type: "boolean";
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
};
|
|
2756
|
-
export declare const WorkflowRunsCancelRequestSchema: {
|
|
2757
|
-
readonly type: "object";
|
|
2758
|
-
readonly properties: {
|
|
2759
|
-
readonly workflowRunIds: {
|
|
2760
|
-
readonly type: "array";
|
|
2761
|
-
readonly items: {
|
|
2762
|
-
readonly type: "string";
|
|
2763
|
-
readonly format: "uuid";
|
|
2764
|
-
readonly minLength: 36;
|
|
2765
|
-
readonly maxLength: 36;
|
|
2766
|
-
};
|
|
2767
|
-
};
|
|
2768
|
-
};
|
|
2769
|
-
readonly required: readonly ["workflowRunIds"];
|
|
2770
|
-
};
|
|
2771
|
-
export declare const WorkflowUpdateRequestSchema: {
|
|
2772
|
-
readonly type: "object";
|
|
2773
|
-
readonly properties: {
|
|
2774
|
-
readonly isPaused: {
|
|
2775
|
-
readonly type: "boolean";
|
|
2776
|
-
readonly description: "Whether the workflow is paused.";
|
|
2777
|
-
};
|
|
2778
|
-
};
|
|
2779
|
-
};
|
|
2780
|
-
export declare const ConcurrencyLimitStrategySchema: {
|
|
2781
|
-
readonly type: "string";
|
|
2782
|
-
readonly enum: readonly ["CANCEL_IN_PROGRESS", "DROP_NEWEST", "QUEUE_NEWEST", "GROUP_ROUND_ROBIN"];
|
|
2783
|
-
};
|
|
2784
|
-
export declare const WorkflowConcurrencySchema: {
|
|
2785
|
-
readonly type: "object";
|
|
2786
|
-
readonly properties: {
|
|
2787
|
-
readonly maxRuns: {
|
|
2788
|
-
readonly type: "integer";
|
|
2789
|
-
readonly format: "int32";
|
|
2790
|
-
readonly description: "The maximum number of concurrent workflow runs.";
|
|
2791
|
-
};
|
|
2792
|
-
readonly limitStrategy: {
|
|
2793
|
-
readonly $ref: "#/components/schemas/ConcurrencyLimitStrategy";
|
|
2794
|
-
readonly description: "The strategy to use when the concurrency limit is reached.";
|
|
2795
|
-
};
|
|
2796
|
-
readonly getConcurrencyGroup: {
|
|
2797
|
-
readonly type: "string";
|
|
2798
|
-
readonly description: "An action which gets the concurrency group for the WorkflowRun.";
|
|
2799
|
-
};
|
|
2800
|
-
};
|
|
2801
|
-
readonly required: readonly ["maxRuns", "limitStrategy", "getConcurrencyGroup"];
|
|
2802
|
-
};
|
|
2803
|
-
export declare const WorkflowTriggerEventRefSchema: {
|
|
2804
|
-
readonly type: "object";
|
|
2805
|
-
readonly properties: {
|
|
2806
|
-
readonly parent_id: {
|
|
2807
|
-
readonly type: "string";
|
|
2808
|
-
};
|
|
2809
|
-
readonly event_key: {
|
|
2810
|
-
readonly type: "string";
|
|
2811
|
-
};
|
|
2812
|
-
};
|
|
2813
|
-
};
|
|
2814
|
-
export declare const WorkflowTriggerCronRefSchema: {
|
|
2815
|
-
readonly type: "object";
|
|
2816
|
-
readonly properties: {
|
|
2817
|
-
readonly parent_id: {
|
|
2818
|
-
readonly type: "string";
|
|
2819
|
-
};
|
|
2820
|
-
readonly cron: {
|
|
2821
|
-
readonly type: "string";
|
|
2822
|
-
};
|
|
2823
|
-
};
|
|
2824
|
-
};
|
|
2825
|
-
export declare const WorkflowTriggersSchema: {
|
|
2826
|
-
readonly type: "object";
|
|
2827
|
-
readonly properties: {
|
|
2828
|
-
readonly metadata: {
|
|
2829
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2830
|
-
};
|
|
2831
|
-
readonly workflow_version_id: {
|
|
2832
|
-
readonly type: "string";
|
|
2833
|
-
};
|
|
2834
|
-
readonly tenant_id: {
|
|
2835
|
-
readonly type: "string";
|
|
2836
|
-
};
|
|
2837
|
-
readonly events: {
|
|
2838
|
-
readonly type: "array";
|
|
2839
|
-
readonly items: {
|
|
2840
|
-
readonly $ref: "#/components/schemas/WorkflowTriggerEventRef";
|
|
2841
|
-
};
|
|
2842
|
-
};
|
|
2843
|
-
readonly crons: {
|
|
2844
|
-
readonly type: "array";
|
|
2845
|
-
readonly items: {
|
|
2846
|
-
readonly $ref: "#/components/schemas/WorkflowTriggerCronRef";
|
|
2847
|
-
};
|
|
2848
|
-
};
|
|
2849
|
-
};
|
|
2850
|
-
};
|
|
2851
|
-
export declare const WorkflowVersionSchema: {
|
|
2852
|
-
readonly type: "object";
|
|
2853
|
-
readonly properties: {
|
|
2854
|
-
readonly metadata: {
|
|
2855
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2856
|
-
};
|
|
2857
|
-
readonly version: {
|
|
2858
|
-
readonly type: "string";
|
|
2859
|
-
readonly description: "The version of the workflow.";
|
|
2860
|
-
};
|
|
2861
|
-
readonly order: {
|
|
2862
|
-
readonly type: "integer";
|
|
2863
|
-
readonly format: "int32";
|
|
2864
|
-
};
|
|
2865
|
-
readonly workflowId: {
|
|
2866
|
-
readonly type: "string";
|
|
2867
|
-
};
|
|
2868
|
-
readonly sticky: {
|
|
2869
|
-
readonly type: "string";
|
|
2870
|
-
readonly description: "The sticky strategy of the workflow.";
|
|
2871
|
-
};
|
|
2872
|
-
readonly defaultPriority: {
|
|
2873
|
-
readonly type: "integer";
|
|
2874
|
-
readonly format: "int32";
|
|
2875
|
-
readonly description: "The default priority of the workflow.";
|
|
2876
|
-
};
|
|
2877
|
-
readonly workflow: {
|
|
2878
|
-
readonly $ref: "#/components/schemas/Workflow";
|
|
2879
|
-
};
|
|
2880
|
-
readonly concurrency: {
|
|
2881
|
-
readonly $ref: "#/components/schemas/WorkflowConcurrency";
|
|
2882
|
-
};
|
|
2883
|
-
readonly triggers: {
|
|
2884
|
-
readonly $ref: "#/components/schemas/WorkflowTriggers";
|
|
2885
|
-
};
|
|
2886
|
-
readonly scheduleTimeout: {
|
|
2887
|
-
readonly type: "string";
|
|
2888
|
-
};
|
|
2889
|
-
readonly jobs: {
|
|
2890
|
-
readonly type: "array";
|
|
2891
|
-
readonly items: {
|
|
2892
|
-
readonly $ref: "#/components/schemas/Job";
|
|
2893
|
-
};
|
|
2894
|
-
};
|
|
2895
|
-
readonly workflowConfig: {
|
|
2896
|
-
readonly type: "object";
|
|
2897
|
-
};
|
|
2898
|
-
};
|
|
2899
|
-
readonly required: readonly ["metadata", "version", "order", "workflowId"];
|
|
2900
|
-
};
|
|
2901
|
-
export declare const TriggerWorkflowRunRequestSchema: {
|
|
2902
|
-
readonly properties: {
|
|
2903
|
-
readonly input: {
|
|
2904
|
-
readonly type: "object";
|
|
2905
|
-
};
|
|
2906
|
-
readonly additionalMetadata: {
|
|
2907
|
-
readonly type: "object";
|
|
2908
|
-
};
|
|
2909
|
-
};
|
|
2910
|
-
readonly required: readonly ["input"];
|
|
2911
|
-
};
|
|
2912
|
-
export declare const WorkflowRunSchema: {
|
|
2913
|
-
readonly type: "object";
|
|
2914
|
-
readonly properties: {
|
|
2915
|
-
readonly metadata: {
|
|
2916
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2917
|
-
};
|
|
2918
|
-
readonly tenantId: {
|
|
2919
|
-
readonly type: "string";
|
|
2920
|
-
};
|
|
2921
|
-
readonly workflowVersionId: {
|
|
2922
|
-
readonly type: "string";
|
|
2923
|
-
};
|
|
2924
|
-
readonly workflowVersion: {
|
|
2925
|
-
readonly $ref: "#/components/schemas/WorkflowVersion";
|
|
2926
|
-
};
|
|
2927
|
-
readonly status: {
|
|
2928
|
-
readonly $ref: "#/components/schemas/WorkflowRunStatus";
|
|
2929
|
-
};
|
|
2930
|
-
readonly displayName: {
|
|
2931
|
-
readonly type: "string";
|
|
2932
|
-
};
|
|
2933
|
-
readonly jobRuns: {
|
|
2934
|
-
readonly type: "array";
|
|
2935
|
-
readonly items: {
|
|
2936
|
-
readonly $ref: "#/components/schemas/JobRun";
|
|
2937
|
-
};
|
|
2938
|
-
};
|
|
2939
|
-
readonly triggeredBy: {
|
|
2940
|
-
readonly $ref: "#/components/schemas/WorkflowRunTriggeredBy";
|
|
2941
|
-
};
|
|
2942
|
-
readonly input: {
|
|
2943
|
-
readonly type: "object";
|
|
2944
|
-
readonly additionalProperties: true;
|
|
2945
|
-
};
|
|
2946
|
-
readonly error: {
|
|
2947
|
-
readonly type: "string";
|
|
2948
|
-
};
|
|
2949
|
-
readonly startedAt: {
|
|
2950
|
-
readonly type: "string";
|
|
2951
|
-
readonly format: "date-time";
|
|
2952
|
-
};
|
|
2953
|
-
readonly finishedAt: {
|
|
2954
|
-
readonly type: "string";
|
|
2955
|
-
readonly format: "date-time";
|
|
2956
|
-
};
|
|
2957
|
-
readonly duration: {
|
|
2958
|
-
readonly type: "integer";
|
|
2959
|
-
readonly example: 1000;
|
|
2960
|
-
};
|
|
2961
|
-
readonly parentId: {
|
|
2962
|
-
readonly type: "string";
|
|
2963
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
2964
|
-
readonly minLength: 36;
|
|
2965
|
-
readonly maxLength: 36;
|
|
2966
|
-
readonly format: "uuid";
|
|
2967
|
-
};
|
|
2968
|
-
readonly parentStepRunId: {
|
|
2969
|
-
readonly type: "string";
|
|
2970
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
2971
|
-
readonly minLength: 36;
|
|
2972
|
-
readonly maxLength: 36;
|
|
2973
|
-
readonly format: "uuid";
|
|
2974
|
-
};
|
|
2975
|
-
readonly additionalMetadata: {
|
|
2976
|
-
readonly type: "object";
|
|
2977
|
-
readonly additionalProperties: true;
|
|
2978
|
-
};
|
|
2979
|
-
};
|
|
2980
|
-
readonly required: readonly ["metadata", "tenantId", "workflowVersionId", "status", "triggeredBy"];
|
|
2981
|
-
};
|
|
2982
|
-
export declare const JobRunSchema: {
|
|
2983
|
-
readonly type: "object";
|
|
2984
|
-
readonly properties: {
|
|
2985
|
-
readonly metadata: {
|
|
2986
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2987
|
-
};
|
|
2988
|
-
readonly tenantId: {
|
|
2989
|
-
readonly type: "string";
|
|
2990
|
-
};
|
|
2991
|
-
readonly workflowRunId: {
|
|
2992
|
-
readonly type: "string";
|
|
2993
|
-
};
|
|
2994
|
-
readonly workflowRun: {
|
|
2995
|
-
readonly $ref: "#/components/schemas/WorkflowRun";
|
|
2996
|
-
};
|
|
2997
|
-
readonly jobId: {
|
|
2998
|
-
readonly type: "string";
|
|
2999
|
-
};
|
|
3000
|
-
readonly job: {
|
|
3001
|
-
readonly $ref: "#/components/schemas/Job";
|
|
3002
|
-
};
|
|
3003
|
-
readonly tickerId: {
|
|
3004
|
-
readonly type: "string";
|
|
3005
|
-
};
|
|
3006
|
-
readonly stepRuns: {
|
|
3007
|
-
readonly type: "array";
|
|
3008
|
-
readonly items: {
|
|
3009
|
-
readonly $ref: "#/components/schemas/StepRun";
|
|
3010
|
-
};
|
|
3011
|
-
};
|
|
3012
|
-
readonly status: {
|
|
3013
|
-
readonly $ref: "#/components/schemas/JobRunStatus";
|
|
3014
|
-
};
|
|
3015
|
-
readonly result: {
|
|
3016
|
-
readonly type: "object";
|
|
3017
|
-
};
|
|
3018
|
-
readonly startedAt: {
|
|
3019
|
-
readonly type: "string";
|
|
3020
|
-
readonly format: "date-time";
|
|
3021
|
-
};
|
|
3022
|
-
readonly finishedAt: {
|
|
3023
|
-
readonly type: "string";
|
|
3024
|
-
readonly format: "date-time";
|
|
3025
|
-
};
|
|
3026
|
-
readonly timeoutAt: {
|
|
3027
|
-
readonly type: "string";
|
|
3028
|
-
readonly format: "date-time";
|
|
3029
|
-
};
|
|
3030
|
-
readonly cancelledAt: {
|
|
3031
|
-
readonly type: "string";
|
|
3032
|
-
readonly format: "date-time";
|
|
3033
|
-
};
|
|
3034
|
-
readonly cancelledReason: {
|
|
3035
|
-
readonly type: "string";
|
|
3036
|
-
};
|
|
3037
|
-
readonly cancelledError: {
|
|
3038
|
-
readonly type: "string";
|
|
3039
|
-
};
|
|
3040
|
-
};
|
|
3041
|
-
readonly required: readonly ["metadata", "tenantId", "workflowRunId", "jobId", "status"];
|
|
3042
|
-
};
|
|
3043
|
-
export declare const StepRunStatusSchema: {
|
|
3044
|
-
readonly type: "string";
|
|
3045
|
-
readonly enum: readonly ["PENDING", "PENDING_ASSIGNMENT", "ASSIGNED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED", "CANCELLING", "BACKOFF"];
|
|
3046
|
-
};
|
|
3047
|
-
export declare const StepRunSchema: {
|
|
3048
|
-
readonly type: "object";
|
|
3049
|
-
readonly properties: {
|
|
3050
|
-
readonly metadata: {
|
|
3051
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3052
|
-
};
|
|
3053
|
-
readonly tenantId: {
|
|
3054
|
-
readonly type: "string";
|
|
3055
|
-
};
|
|
3056
|
-
readonly jobRunId: {
|
|
3057
|
-
readonly type: "string";
|
|
3058
|
-
};
|
|
3059
|
-
readonly jobRun: {
|
|
3060
|
-
readonly $ref: "#/components/schemas/JobRun";
|
|
3061
|
-
};
|
|
3062
|
-
readonly stepId: {
|
|
3063
|
-
readonly type: "string";
|
|
3064
|
-
};
|
|
3065
|
-
readonly step: {
|
|
3066
|
-
readonly $ref: "#/components/schemas/Step";
|
|
3067
|
-
};
|
|
3068
|
-
readonly childWorkflowsCount: {
|
|
3069
|
-
readonly type: "integer";
|
|
3070
|
-
};
|
|
3071
|
-
readonly parents: {
|
|
3072
|
-
readonly type: "array";
|
|
3073
|
-
readonly items: {
|
|
3074
|
-
readonly type: "string";
|
|
3075
|
-
};
|
|
3076
|
-
};
|
|
3077
|
-
readonly childWorkflowRuns: {
|
|
3078
|
-
readonly type: "array";
|
|
3079
|
-
readonly items: {
|
|
3080
|
-
readonly type: "string";
|
|
3081
|
-
};
|
|
3082
|
-
};
|
|
3083
|
-
readonly workerId: {
|
|
3084
|
-
readonly type: "string";
|
|
3085
|
-
};
|
|
3086
|
-
readonly input: {
|
|
3087
|
-
readonly type: "string";
|
|
3088
|
-
};
|
|
3089
|
-
readonly output: {
|
|
3090
|
-
readonly type: "string";
|
|
3091
|
-
};
|
|
3092
|
-
readonly status: {
|
|
3093
|
-
readonly $ref: "#/components/schemas/StepRunStatus";
|
|
3094
|
-
};
|
|
3095
|
-
readonly requeueAfter: {
|
|
3096
|
-
readonly type: "string";
|
|
3097
|
-
readonly format: "date-time";
|
|
3098
|
-
};
|
|
3099
|
-
readonly result: {
|
|
3100
|
-
readonly type: "object";
|
|
3101
|
-
};
|
|
3102
|
-
readonly error: {
|
|
3103
|
-
readonly type: "string";
|
|
3104
|
-
};
|
|
3105
|
-
readonly startedAt: {
|
|
3106
|
-
readonly type: "string";
|
|
3107
|
-
readonly format: "date-time";
|
|
3108
|
-
};
|
|
3109
|
-
readonly startedAtEpoch: {
|
|
3110
|
-
readonly type: "integer";
|
|
3111
|
-
};
|
|
3112
|
-
readonly finishedAt: {
|
|
3113
|
-
readonly type: "string";
|
|
3114
|
-
readonly format: "date-time";
|
|
3115
|
-
};
|
|
3116
|
-
readonly finishedAtEpoch: {
|
|
3117
|
-
readonly type: "integer";
|
|
3118
|
-
};
|
|
3119
|
-
readonly timeoutAt: {
|
|
3120
|
-
readonly type: "string";
|
|
3121
|
-
readonly format: "date-time";
|
|
3122
|
-
};
|
|
3123
|
-
readonly timeoutAtEpoch: {
|
|
3124
|
-
readonly type: "integer";
|
|
3125
|
-
};
|
|
3126
|
-
readonly cancelledAt: {
|
|
3127
|
-
readonly type: "string";
|
|
3128
|
-
readonly format: "date-time";
|
|
3129
|
-
};
|
|
3130
|
-
readonly cancelledAtEpoch: {
|
|
3131
|
-
readonly type: "integer";
|
|
3132
|
-
};
|
|
3133
|
-
readonly cancelledReason: {
|
|
3134
|
-
readonly type: "string";
|
|
3135
|
-
};
|
|
3136
|
-
readonly cancelledError: {
|
|
3137
|
-
readonly type: "string";
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
readonly required: readonly ["metadata", "tenantId", "jobRunId", "stepId", "status"];
|
|
3141
|
-
};
|
|
3142
|
-
export declare const JobRunStatusSchema: {
|
|
3143
|
-
readonly type: "string";
|
|
3144
|
-
readonly enum: readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED", "BACKOFF"];
|
|
3145
|
-
};
|
|
3146
|
-
export declare const WorkflowRunTriggeredBySchema: {
|
|
3147
|
-
readonly type: "object";
|
|
3148
|
-
readonly properties: {
|
|
3149
|
-
readonly metadata: {
|
|
3150
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3151
|
-
};
|
|
3152
|
-
readonly parentWorkflowRunId: {
|
|
3153
|
-
readonly type: "string";
|
|
3154
|
-
};
|
|
3155
|
-
readonly eventId: {
|
|
3156
|
-
readonly type: "string";
|
|
3157
|
-
};
|
|
3158
|
-
readonly cronParentId: {
|
|
3159
|
-
readonly type: "string";
|
|
3160
|
-
};
|
|
3161
|
-
readonly cronSchedule: {
|
|
3162
|
-
readonly type: "string";
|
|
3163
|
-
};
|
|
3164
|
-
};
|
|
3165
|
-
readonly required: readonly ["metadata"];
|
|
3166
|
-
};
|
|
3167
|
-
export declare const WorkflowMetricsSchema: {
|
|
3168
|
-
readonly type: "object";
|
|
3169
|
-
readonly properties: {
|
|
3170
|
-
readonly groupKeyRunsCount: {
|
|
3171
|
-
readonly type: "integer";
|
|
3172
|
-
readonly description: "The number of runs for a specific group key (passed via filter)";
|
|
3173
|
-
};
|
|
3174
|
-
readonly groupKeyCount: {
|
|
3175
|
-
readonly type: "integer";
|
|
3176
|
-
readonly description: "The total number of concurrency group keys.";
|
|
3177
|
-
};
|
|
3178
|
-
};
|
|
3179
|
-
};
|
|
3180
|
-
export declare const LogLineLevelSchema: {
|
|
3181
|
-
readonly type: "string";
|
|
3182
|
-
readonly enum: readonly ["DEBUG", "INFO", "WARN", "ERROR"];
|
|
3183
|
-
};
|
|
3184
|
-
export declare const LogLineLevelFieldSchema: {
|
|
3185
|
-
readonly type: "array";
|
|
3186
|
-
readonly items: {
|
|
3187
|
-
readonly $ref: "#/components/schemas/LogLineLevel";
|
|
3188
|
-
};
|
|
3189
|
-
};
|
|
3190
|
-
export declare const LogLineSearchSchema: {
|
|
3191
|
-
readonly type: "string";
|
|
3192
|
-
};
|
|
3193
|
-
export declare const LogLineOrderByFieldSchema: {
|
|
3194
|
-
readonly type: "string";
|
|
3195
|
-
readonly enum: readonly ["createdAt"];
|
|
3196
|
-
};
|
|
3197
|
-
export declare const LogLineOrderByDirectionSchema: {
|
|
3198
|
-
readonly type: "string";
|
|
3199
|
-
readonly enum: readonly ["asc", "desc"];
|
|
3200
|
-
};
|
|
3201
|
-
export declare const LogLineSchema: {
|
|
3202
|
-
readonly properties: {
|
|
3203
|
-
readonly createdAt: {
|
|
3204
|
-
readonly type: "string";
|
|
3205
|
-
readonly format: "date-time";
|
|
3206
|
-
readonly description: "The creation date of the log line.";
|
|
3207
|
-
};
|
|
3208
|
-
readonly message: {
|
|
3209
|
-
readonly type: "string";
|
|
3210
|
-
readonly description: "The log message.";
|
|
3211
|
-
};
|
|
3212
|
-
readonly metadata: {
|
|
3213
|
-
readonly type: "object";
|
|
3214
|
-
readonly description: "The log metadata.";
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
readonly required: readonly ["createdAt", "message", "metadata"];
|
|
3218
|
-
};
|
|
3219
|
-
export declare const LogLineListSchema: {
|
|
3220
|
-
readonly properties: {
|
|
3221
|
-
readonly pagination: {
|
|
3222
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3223
|
-
};
|
|
3224
|
-
readonly rows: {
|
|
3225
|
-
readonly items: {
|
|
3226
|
-
readonly $ref: "#/components/schemas/LogLine";
|
|
3227
|
-
};
|
|
3228
|
-
readonly type: "array";
|
|
3229
|
-
};
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
export declare const StepRunEventReasonSchema: {
|
|
3233
|
-
readonly type: "string";
|
|
3234
|
-
readonly enum: readonly ["REQUEUED_NO_WORKER", "REQUEUED_RATE_LIMIT", "SCHEDULING_TIMED_OUT", "ASSIGNED", "STARTED", "ACKNOWLEDGED", "FINISHED", "FAILED", "RETRYING", "CANCELLED", "TIMEOUT_REFRESHED", "REASSIGNED", "TIMED_OUT", "SLOT_RELEASED", "RETRIED_BY_USER", "WORKFLOW_RUN_GROUP_KEY_SUCCEEDED", "WORKFLOW_RUN_GROUP_KEY_FAILED"];
|
|
3235
|
-
};
|
|
3236
|
-
export declare const StepRunEventSeveritySchema: {
|
|
3237
|
-
readonly type: "string";
|
|
3238
|
-
readonly enum: readonly ["INFO", "WARNING", "CRITICAL"];
|
|
3239
|
-
};
|
|
3240
|
-
export declare const StepRunEventSchema: {
|
|
3241
|
-
readonly type: "object";
|
|
3242
|
-
readonly properties: {
|
|
3243
|
-
readonly id: {
|
|
3244
|
-
readonly type: "integer";
|
|
3245
|
-
};
|
|
3246
|
-
readonly timeFirstSeen: {
|
|
3247
|
-
readonly type: "string";
|
|
3248
|
-
readonly format: "date-time";
|
|
3249
|
-
};
|
|
3250
|
-
readonly timeLastSeen: {
|
|
3251
|
-
readonly type: "string";
|
|
3252
|
-
readonly format: "date-time";
|
|
3253
|
-
};
|
|
3254
|
-
readonly stepRunId: {
|
|
3255
|
-
readonly type: "string";
|
|
3256
|
-
};
|
|
3257
|
-
readonly workflowRunId: {
|
|
3258
|
-
readonly type: "string";
|
|
3259
|
-
};
|
|
3260
|
-
readonly reason: {
|
|
3261
|
-
readonly $ref: "#/components/schemas/StepRunEventReason";
|
|
3262
|
-
};
|
|
3263
|
-
readonly severity: {
|
|
3264
|
-
readonly $ref: "#/components/schemas/StepRunEventSeverity";
|
|
3265
|
-
};
|
|
3266
|
-
readonly message: {
|
|
3267
|
-
readonly type: "string";
|
|
3268
|
-
};
|
|
3269
|
-
readonly count: {
|
|
3270
|
-
readonly type: "integer";
|
|
3271
|
-
};
|
|
3272
|
-
readonly data: {
|
|
3273
|
-
readonly type: "object";
|
|
3274
|
-
};
|
|
3275
|
-
};
|
|
3276
|
-
readonly required: readonly ["id", "timeFirstSeen", "timeLastSeen", "reason", "severity", "message", "count"];
|
|
3277
|
-
};
|
|
3278
|
-
export declare const StepRunEventListSchema: {
|
|
3279
|
-
readonly properties: {
|
|
3280
|
-
readonly pagination: {
|
|
3281
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3282
|
-
};
|
|
3283
|
-
readonly rows: {
|
|
3284
|
-
readonly items: {
|
|
3285
|
-
readonly $ref: "#/components/schemas/StepRunEvent";
|
|
3286
|
-
};
|
|
3287
|
-
readonly type: "array";
|
|
3288
|
-
};
|
|
3289
|
-
};
|
|
3290
|
-
};
|
|
3291
|
-
export declare const StepRunArchiveSchema: {
|
|
3292
|
-
readonly type: "object";
|
|
3293
|
-
readonly properties: {
|
|
3294
|
-
readonly stepRunId: {
|
|
3295
|
-
readonly type: "string";
|
|
3296
|
-
};
|
|
3297
|
-
readonly order: {
|
|
3298
|
-
readonly type: "integer";
|
|
3299
|
-
};
|
|
3300
|
-
readonly input: {
|
|
3301
|
-
readonly type: "string";
|
|
3302
|
-
};
|
|
3303
|
-
readonly output: {
|
|
3304
|
-
readonly type: "string";
|
|
3305
|
-
};
|
|
3306
|
-
readonly startedAt: {
|
|
3307
|
-
readonly type: "string";
|
|
3308
|
-
readonly format: "date-time";
|
|
3309
|
-
};
|
|
3310
|
-
readonly error: {
|
|
3311
|
-
readonly type: "string";
|
|
3312
|
-
};
|
|
3313
|
-
readonly retryCount: {
|
|
3314
|
-
readonly type: "integer";
|
|
3315
|
-
};
|
|
3316
|
-
readonly createdAt: {
|
|
3317
|
-
readonly type: "string";
|
|
3318
|
-
readonly format: "date-time";
|
|
3319
|
-
};
|
|
3320
|
-
readonly startedAtEpoch: {
|
|
3321
|
-
readonly type: "integer";
|
|
3322
|
-
};
|
|
3323
|
-
readonly finishedAt: {
|
|
3324
|
-
readonly type: "string";
|
|
3325
|
-
readonly format: "date-time";
|
|
3326
|
-
};
|
|
3327
|
-
readonly finishedAtEpoch: {
|
|
3328
|
-
readonly type: "integer";
|
|
3329
|
-
};
|
|
3330
|
-
readonly timeoutAt: {
|
|
3331
|
-
readonly type: "string";
|
|
3332
|
-
readonly format: "date-time";
|
|
3333
|
-
};
|
|
3334
|
-
readonly timeoutAtEpoch: {
|
|
3335
|
-
readonly type: "integer";
|
|
3336
|
-
};
|
|
3337
|
-
readonly cancelledAt: {
|
|
3338
|
-
readonly type: "string";
|
|
3339
|
-
readonly format: "date-time";
|
|
3340
|
-
};
|
|
3341
|
-
readonly cancelledAtEpoch: {
|
|
3342
|
-
readonly type: "integer";
|
|
3343
|
-
};
|
|
3344
|
-
readonly cancelledReason: {
|
|
3345
|
-
readonly type: "string";
|
|
3346
|
-
};
|
|
3347
|
-
readonly cancelledError: {
|
|
3348
|
-
readonly type: "string";
|
|
3349
|
-
};
|
|
3350
|
-
};
|
|
3351
|
-
readonly required: readonly ["stepRunId", "retryCount", "order", "createdAt"];
|
|
3352
|
-
};
|
|
3353
|
-
export declare const StepRunArchiveListSchema: {
|
|
3354
|
-
readonly properties: {
|
|
3355
|
-
readonly pagination: {
|
|
3356
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3357
|
-
};
|
|
3358
|
-
readonly rows: {
|
|
3359
|
-
readonly items: {
|
|
3360
|
-
readonly $ref: "#/components/schemas/StepRunArchive";
|
|
3361
|
-
};
|
|
3362
|
-
readonly type: "array";
|
|
3363
|
-
};
|
|
3364
|
-
};
|
|
3365
|
-
};
|
|
3366
|
-
export declare const WorkflowWorkersCountSchema: {
|
|
3367
|
-
readonly type: "object";
|
|
3368
|
-
readonly properties: {
|
|
3369
|
-
readonly freeSlotCount: {
|
|
3370
|
-
readonly type: "integer";
|
|
3371
|
-
};
|
|
3372
|
-
readonly maxSlotCount: {
|
|
3373
|
-
readonly type: "integer";
|
|
3374
|
-
};
|
|
3375
|
-
readonly workflowRunId: {
|
|
3376
|
-
readonly type: "string";
|
|
3377
|
-
};
|
|
3378
|
-
};
|
|
3379
|
-
readonly required: readonly ["count"];
|
|
3380
|
-
};
|
|
3381
|
-
export declare const WorkflowKindSchema: {
|
|
3382
|
-
readonly type: "string";
|
|
3383
|
-
readonly enum: readonly ["FUNCTION", "DURABLE", "DAG"];
|
|
3384
|
-
};
|
|
3385
|
-
export declare const WorkflowKindListSchema: {
|
|
3386
|
-
readonly type: "array";
|
|
3387
|
-
readonly items: {
|
|
3388
|
-
readonly $ref: "#/components/schemas/WorkflowKind";
|
|
3389
|
-
};
|
|
3390
|
-
};
|
|
3391
|
-
export declare const WorkflowRunOrderByFieldSchema: {
|
|
3392
|
-
readonly type: "string";
|
|
3393
|
-
readonly enum: readonly ["createdAt", "startedAt", "finishedAt", "duration"];
|
|
3394
|
-
};
|
|
3395
|
-
export declare const WorkflowRunListSchema: {
|
|
3396
|
-
readonly type: "object";
|
|
3397
|
-
readonly properties: {
|
|
3398
|
-
readonly rows: {
|
|
3399
|
-
readonly type: "array";
|
|
3400
|
-
readonly items: {
|
|
3401
|
-
readonly $ref: "#/components/schemas/WorkflowRun";
|
|
3402
|
-
};
|
|
3403
|
-
};
|
|
3404
|
-
readonly pagination: {
|
|
3405
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3406
|
-
};
|
|
3407
|
-
};
|
|
3408
|
-
};
|
|
3409
|
-
export declare const ReplayWorkflowRunsRequestSchema: {
|
|
3410
|
-
readonly properties: {
|
|
3411
|
-
readonly workflowRunIds: {
|
|
3412
|
-
readonly type: "array";
|
|
3413
|
-
readonly maxLength: 500;
|
|
3414
|
-
readonly items: {
|
|
3415
|
-
readonly type: "string";
|
|
3416
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
3417
|
-
readonly minLength: 36;
|
|
3418
|
-
readonly maxLength: 36;
|
|
3419
|
-
readonly format: "uuid";
|
|
3420
|
-
};
|
|
3421
|
-
};
|
|
3422
|
-
};
|
|
3423
|
-
readonly required: readonly ["workflowRunIds"];
|
|
3424
|
-
};
|
|
3425
|
-
export declare const ReplayWorkflowRunsResponseSchema: {
|
|
3426
|
-
readonly properties: {
|
|
3427
|
-
readonly workflowRuns: {
|
|
3428
|
-
readonly type: "array";
|
|
3429
|
-
readonly items: {
|
|
3430
|
-
readonly $ref: "#/components/schemas/WorkflowRun";
|
|
3431
|
-
};
|
|
3432
|
-
};
|
|
3433
|
-
};
|
|
3434
|
-
readonly required: readonly ["workflowRuns"];
|
|
3435
|
-
};
|
|
3436
|
-
export declare const WorkflowRunsMetricsCountsSchema: {
|
|
3437
|
-
readonly type: "object";
|
|
3438
|
-
readonly properties: {
|
|
3439
|
-
readonly PENDING: {
|
|
3440
|
-
readonly type: "integer";
|
|
3441
|
-
};
|
|
3442
|
-
readonly RUNNING: {
|
|
3443
|
-
readonly type: "integer";
|
|
3444
|
-
};
|
|
3445
|
-
readonly SUCCEEDED: {
|
|
3446
|
-
readonly type: "integer";
|
|
3447
|
-
};
|
|
3448
|
-
readonly FAILED: {
|
|
3449
|
-
readonly type: "integer";
|
|
3450
|
-
};
|
|
3451
|
-
readonly QUEUED: {
|
|
3452
|
-
readonly type: "integer";
|
|
3453
|
-
};
|
|
3454
|
-
readonly CANCELLED: {
|
|
3455
|
-
readonly type: "integer";
|
|
3456
|
-
};
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
export declare const WorkflowRunsMetricsSchema: {
|
|
3460
|
-
readonly type: "object";
|
|
3461
|
-
readonly properties: {
|
|
3462
|
-
readonly counts: {
|
|
3463
|
-
readonly type: "object";
|
|
3464
|
-
readonly $ref: "#/components/schemas/WorkflowRunsMetricsCounts";
|
|
3465
|
-
};
|
|
3466
|
-
};
|
|
3467
|
-
};
|
|
3468
|
-
export declare const WorkflowRunShapeSchema: {
|
|
3469
|
-
readonly type: "object";
|
|
3470
|
-
readonly properties: {
|
|
3471
|
-
readonly metadata: {
|
|
3472
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3473
|
-
};
|
|
3474
|
-
readonly tenantId: {
|
|
3475
|
-
readonly type: "string";
|
|
3476
|
-
};
|
|
3477
|
-
readonly workflowId: {
|
|
3478
|
-
readonly type: "string";
|
|
3479
|
-
};
|
|
3480
|
-
readonly workflowVersionId: {
|
|
3481
|
-
readonly type: "string";
|
|
3482
|
-
};
|
|
3483
|
-
readonly workflowVersion: {
|
|
3484
|
-
readonly $ref: "#/components/schemas/WorkflowVersion";
|
|
3485
|
-
};
|
|
3486
|
-
readonly status: {
|
|
3487
|
-
readonly $ref: "#/components/schemas/WorkflowRunStatus";
|
|
3488
|
-
};
|
|
3489
|
-
readonly displayName: {
|
|
3490
|
-
readonly type: "string";
|
|
3491
|
-
};
|
|
3492
|
-
readonly jobRuns: {
|
|
3493
|
-
readonly type: "array";
|
|
3494
|
-
readonly items: {
|
|
3495
|
-
readonly $ref: "#/components/schemas/JobRun";
|
|
3496
|
-
};
|
|
3497
|
-
};
|
|
3498
|
-
readonly triggeredBy: {
|
|
3499
|
-
readonly $ref: "#/components/schemas/WorkflowRunTriggeredBy";
|
|
3500
|
-
};
|
|
3501
|
-
readonly input: {
|
|
3502
|
-
readonly type: "object";
|
|
3503
|
-
readonly additionalProperties: true;
|
|
3504
|
-
};
|
|
3505
|
-
readonly error: {
|
|
3506
|
-
readonly type: "string";
|
|
3507
|
-
};
|
|
3508
|
-
readonly startedAt: {
|
|
3509
|
-
readonly type: "string";
|
|
3510
|
-
readonly format: "date-time";
|
|
3511
|
-
};
|
|
3512
|
-
readonly finishedAt: {
|
|
3513
|
-
readonly type: "string";
|
|
3514
|
-
readonly format: "date-time";
|
|
3515
|
-
};
|
|
3516
|
-
readonly duration: {
|
|
3517
|
-
readonly type: "integer";
|
|
3518
|
-
readonly example: 1000;
|
|
3519
|
-
};
|
|
3520
|
-
readonly parentId: {
|
|
3521
|
-
readonly type: "string";
|
|
3522
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
3523
|
-
readonly minLength: 36;
|
|
3524
|
-
readonly maxLength: 36;
|
|
3525
|
-
readonly format: "uuid";
|
|
3526
|
-
};
|
|
3527
|
-
readonly parentStepRunId: {
|
|
3528
|
-
readonly type: "string";
|
|
3529
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
3530
|
-
readonly minLength: 36;
|
|
3531
|
-
readonly maxLength: 36;
|
|
3532
|
-
readonly format: "uuid";
|
|
3533
|
-
};
|
|
3534
|
-
readonly additionalMetadata: {
|
|
3535
|
-
readonly type: "object";
|
|
3536
|
-
readonly additionalProperties: true;
|
|
3537
|
-
};
|
|
3538
|
-
};
|
|
3539
|
-
readonly required: readonly ["metadata", "tenantId", "workflowVersionId", "status", "triggeredBy"];
|
|
3540
|
-
};
|
|
3541
|
-
export declare const RerunStepRunRequestSchema: {
|
|
3542
|
-
readonly properties: {
|
|
3543
|
-
readonly input: {
|
|
3544
|
-
readonly type: "object";
|
|
3545
|
-
};
|
|
3546
|
-
};
|
|
3547
|
-
readonly required: readonly ["input"];
|
|
3548
|
-
};
|
|
3549
|
-
export declare const WorkerTypeSchema: {
|
|
3550
|
-
readonly type: "string";
|
|
3551
|
-
readonly enum: readonly ["SELFHOSTED", "MANAGED", "WEBHOOK"];
|
|
3552
|
-
};
|
|
3553
|
-
export declare const RegisteredWorkflowSchema: {
|
|
3554
|
-
readonly type: "object";
|
|
3555
|
-
readonly properties: {
|
|
3556
|
-
readonly id: {
|
|
3557
|
-
readonly type: "string";
|
|
3558
|
-
readonly description: "The workflow id registered on this worker.";
|
|
3559
|
-
readonly format: "uuid";
|
|
3560
|
-
};
|
|
3561
|
-
readonly name: {
|
|
3562
|
-
readonly type: "string";
|
|
3563
|
-
readonly description: "The name of the workflow registered on this worker.";
|
|
3564
|
-
};
|
|
3565
|
-
};
|
|
3566
|
-
readonly required: readonly ["id", "name"];
|
|
3567
|
-
};
|
|
3568
|
-
export declare const SemaphoreSlotsSchema: {
|
|
3569
|
-
readonly properties: {
|
|
3570
|
-
readonly stepRunId: {
|
|
3571
|
-
readonly type: "string";
|
|
3572
|
-
readonly description: "The step run id.";
|
|
3573
|
-
readonly format: "uuid";
|
|
3574
|
-
};
|
|
3575
|
-
readonly actionId: {
|
|
3576
|
-
readonly type: "string";
|
|
3577
|
-
readonly description: "The action id.";
|
|
3578
|
-
};
|
|
3579
|
-
readonly startedAt: {
|
|
3580
|
-
readonly type: "string";
|
|
3581
|
-
readonly description: "The time this slot was started.";
|
|
3582
|
-
readonly format: "date-time";
|
|
3583
|
-
};
|
|
3584
|
-
readonly timeoutAt: {
|
|
3585
|
-
readonly type: "string";
|
|
3586
|
-
readonly description: "The time this slot will timeout.";
|
|
3587
|
-
readonly format: "date-time";
|
|
3588
|
-
};
|
|
3589
|
-
readonly workflowRunId: {
|
|
3590
|
-
readonly type: "string";
|
|
3591
|
-
readonly description: "The workflow run id.";
|
|
3592
|
-
readonly format: "uuid";
|
|
3593
|
-
};
|
|
3594
|
-
readonly status: {
|
|
3595
|
-
readonly $ref: "#/components/schemas/StepRunStatus";
|
|
3596
|
-
};
|
|
3597
|
-
};
|
|
3598
|
-
readonly required: readonly ["stepRunId", "actionId", "workflowRunId"];
|
|
3599
|
-
};
|
|
3600
|
-
export declare const RecentStepRunsSchema: {
|
|
3601
|
-
readonly properties: {
|
|
3602
|
-
readonly metadata: {
|
|
3603
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3604
|
-
};
|
|
3605
|
-
readonly actionId: {
|
|
3606
|
-
readonly type: "string";
|
|
3607
|
-
readonly description: "The action id.";
|
|
3608
|
-
};
|
|
3609
|
-
readonly status: {
|
|
3610
|
-
readonly $ref: "#/components/schemas/StepRunStatus";
|
|
3611
|
-
};
|
|
3612
|
-
readonly startedAt: {
|
|
3613
|
-
readonly type: "string";
|
|
3614
|
-
readonly format: "date-time";
|
|
3615
|
-
};
|
|
3616
|
-
readonly finishedAt: {
|
|
3617
|
-
readonly type: "string";
|
|
3618
|
-
readonly format: "date-time";
|
|
3619
|
-
};
|
|
3620
|
-
readonly cancelledAt: {
|
|
3621
|
-
readonly type: "string";
|
|
3622
|
-
readonly format: "date-time";
|
|
3623
|
-
};
|
|
3624
|
-
readonly workflowRunId: {
|
|
3625
|
-
readonly type: "string";
|
|
3626
|
-
readonly format: "uuid";
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
readonly required: readonly ["actionId", "metadata", "status", "workflowRunId"];
|
|
3630
|
-
readonly type: "object";
|
|
3631
|
-
};
|
|
3632
|
-
export declare const WorkerLabelSchema: {
|
|
3633
|
-
readonly properties: {
|
|
3634
|
-
readonly metadata: {
|
|
3635
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3636
|
-
};
|
|
3637
|
-
readonly key: {
|
|
3638
|
-
readonly type: "string";
|
|
3639
|
-
readonly description: "The key of the label.";
|
|
3640
|
-
};
|
|
3641
|
-
readonly value: {
|
|
3642
|
-
readonly type: "string";
|
|
3643
|
-
readonly description: "The value of the label.";
|
|
3644
|
-
};
|
|
3645
|
-
};
|
|
3646
|
-
readonly required: readonly ["metadata", "key"];
|
|
3647
|
-
readonly type: "object";
|
|
3648
|
-
};
|
|
3649
|
-
export declare const WorkerRuntimeSDKsSchema: {
|
|
3650
|
-
readonly type: "string";
|
|
3651
|
-
readonly enum: readonly ["GOLANG", "PYTHON", "TYPESCRIPT"];
|
|
3652
|
-
};
|
|
3653
|
-
export declare const WorkerRuntimeInfoSchema: {
|
|
3654
|
-
readonly properties: {
|
|
3655
|
-
readonly sdkVersion: {
|
|
3656
|
-
readonly type: "string";
|
|
3657
|
-
};
|
|
3658
|
-
readonly language: {
|
|
3659
|
-
readonly $ref: "#/components/schemas/WorkerRuntimeSDKs";
|
|
3660
|
-
};
|
|
3661
|
-
readonly languageVersion: {
|
|
3662
|
-
readonly type: "string";
|
|
3663
|
-
};
|
|
3664
|
-
readonly os: {
|
|
3665
|
-
readonly type: "string";
|
|
3666
|
-
};
|
|
3667
|
-
readonly runtimeExtra: {
|
|
3668
|
-
readonly type: "string";
|
|
3669
|
-
};
|
|
3670
|
-
};
|
|
3671
|
-
};
|
|
3672
|
-
export declare const WorkerSchema: {
|
|
3673
|
-
readonly properties: {
|
|
3674
|
-
readonly metadata: {
|
|
3675
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3676
|
-
};
|
|
3677
|
-
readonly name: {
|
|
3678
|
-
readonly type: "string";
|
|
3679
|
-
readonly description: "The name of the worker.";
|
|
3680
|
-
};
|
|
3681
|
-
readonly type: {
|
|
3682
|
-
readonly $ref: "#/components/schemas/WorkerType";
|
|
3683
|
-
};
|
|
3684
|
-
readonly lastHeartbeatAt: {
|
|
3685
|
-
readonly type: "string";
|
|
3686
|
-
readonly description: "The time this worker last sent a heartbeat.";
|
|
3687
|
-
readonly format: "date-time";
|
|
3688
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
3689
|
-
};
|
|
3690
|
-
readonly lastListenerEstablished: {
|
|
3691
|
-
readonly type: "string";
|
|
3692
|
-
readonly description: "The time this worker last sent a heartbeat.";
|
|
3693
|
-
readonly format: "date-time";
|
|
3694
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
3695
|
-
};
|
|
3696
|
-
readonly actions: {
|
|
3697
|
-
readonly type: "array";
|
|
3698
|
-
readonly description: "The actions this worker can perform.";
|
|
3699
|
-
readonly items: {
|
|
3700
|
-
readonly type: "string";
|
|
3701
|
-
};
|
|
3702
|
-
};
|
|
3703
|
-
readonly registeredWorkflows: {
|
|
3704
|
-
readonly type: "array";
|
|
3705
|
-
readonly description: "The workflow ids registered on this worker.";
|
|
3706
|
-
readonly items: {
|
|
3707
|
-
readonly $ref: "#/components/schemas/RegisteredWorkflow";
|
|
3708
|
-
};
|
|
3709
|
-
};
|
|
3710
|
-
readonly slots: {
|
|
3711
|
-
readonly type: "array";
|
|
3712
|
-
readonly description: "The semaphore slot state for the worker.";
|
|
3713
|
-
readonly items: {
|
|
3714
|
-
readonly $ref: "#/components/schemas/SemaphoreSlots";
|
|
3715
|
-
};
|
|
3716
|
-
};
|
|
3717
|
-
readonly recentStepRuns: {
|
|
3718
|
-
readonly type: "array";
|
|
3719
|
-
readonly description: "The recent step runs for the worker.";
|
|
3720
|
-
readonly items: {
|
|
3721
|
-
readonly $ref: "#/components/schemas/RecentStepRuns";
|
|
3722
|
-
};
|
|
3723
|
-
};
|
|
3724
|
-
readonly status: {
|
|
3725
|
-
readonly type: "string";
|
|
3726
|
-
readonly description: "The status of the worker.";
|
|
3727
|
-
readonly enum: readonly ["ACTIVE", "INACTIVE", "PAUSED"];
|
|
3728
|
-
};
|
|
3729
|
-
readonly maxRuns: {
|
|
3730
|
-
readonly type: "integer";
|
|
3731
|
-
readonly description: "The maximum number of runs this worker can execute concurrently.";
|
|
3732
|
-
};
|
|
3733
|
-
readonly availableRuns: {
|
|
3734
|
-
readonly type: "integer";
|
|
3735
|
-
readonly description: "The number of runs this worker can execute concurrently.";
|
|
3736
|
-
};
|
|
3737
|
-
readonly dispatcherId: {
|
|
3738
|
-
readonly type: "string";
|
|
3739
|
-
readonly description: "the id of the assigned dispatcher, in UUID format";
|
|
3740
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
3741
|
-
readonly minLength: 36;
|
|
3742
|
-
readonly maxLength: 36;
|
|
3743
|
-
readonly format: "uuid";
|
|
3744
|
-
};
|
|
3745
|
-
readonly labels: {
|
|
3746
|
-
readonly type: "array";
|
|
3747
|
-
readonly description: "The current label state of the worker.";
|
|
3748
|
-
readonly items: {
|
|
3749
|
-
readonly $ref: "#/components/schemas/WorkerLabel";
|
|
3750
|
-
};
|
|
3751
|
-
};
|
|
3752
|
-
readonly webhookUrl: {
|
|
3753
|
-
readonly type: "string";
|
|
3754
|
-
readonly description: "The webhook URL for the worker.";
|
|
3755
|
-
};
|
|
3756
|
-
readonly webhookId: {
|
|
3757
|
-
readonly type: "string";
|
|
3758
|
-
readonly description: "The webhook ID for the worker.";
|
|
3759
|
-
readonly format: "uuid";
|
|
3760
|
-
};
|
|
3761
|
-
readonly runtimeInfo: {
|
|
3762
|
-
readonly $ref: "#/components/schemas/WorkerRuntimeInfo";
|
|
3763
|
-
};
|
|
3764
|
-
};
|
|
3765
|
-
readonly required: readonly ["metadata", "name", "type"];
|
|
3766
|
-
readonly type: "object";
|
|
3767
|
-
};
|
|
3768
|
-
export declare const WorkerListSchema: {
|
|
3769
|
-
readonly properties: {
|
|
3770
|
-
readonly pagination: {
|
|
3771
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3772
|
-
};
|
|
3773
|
-
readonly rows: {
|
|
3774
|
-
readonly items: {
|
|
3775
|
-
readonly $ref: "#/components/schemas/Worker";
|
|
3776
|
-
};
|
|
3777
|
-
readonly type: "array";
|
|
3778
|
-
};
|
|
3779
|
-
};
|
|
3780
|
-
};
|
|
3781
|
-
export declare const UpdateWorkerRequestSchema: {
|
|
3782
|
-
readonly properties: {
|
|
3783
|
-
readonly isPaused: {
|
|
3784
|
-
readonly type: "boolean";
|
|
3785
|
-
readonly description: "Whether the worker is paused and cannot accept new runs.";
|
|
3786
|
-
};
|
|
3787
|
-
};
|
|
3788
|
-
readonly type: "object";
|
|
3789
|
-
};
|
|
3790
|
-
export declare const WebhookWorkerSchema: {
|
|
3791
|
-
readonly properties: {
|
|
3792
|
-
readonly metadata: {
|
|
3793
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3794
|
-
};
|
|
3795
|
-
readonly name: {
|
|
3796
|
-
readonly type: "string";
|
|
3797
|
-
readonly description: "The name of the webhook worker.";
|
|
3798
|
-
};
|
|
3799
|
-
readonly url: {
|
|
3800
|
-
readonly type: "string";
|
|
3801
|
-
readonly description: "The webhook url.";
|
|
3802
|
-
};
|
|
3803
|
-
};
|
|
3804
|
-
readonly required: readonly ["metadata", "name", "url"];
|
|
3805
|
-
readonly type: "object";
|
|
3806
|
-
};
|
|
3807
|
-
export declare const WebhookWorkerListResponseSchema: {
|
|
3808
|
-
readonly properties: {
|
|
3809
|
-
readonly pagination: {
|
|
3810
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3811
|
-
};
|
|
3812
|
-
readonly rows: {
|
|
3813
|
-
readonly items: {
|
|
3814
|
-
readonly $ref: "#/components/schemas/WebhookWorker";
|
|
3815
|
-
};
|
|
3816
|
-
readonly type: "array";
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
readonly type: "object";
|
|
3820
|
-
};
|
|
3821
|
-
export declare const WebhookWorkerCreateRequestSchema: {
|
|
3822
|
-
readonly properties: {
|
|
3823
|
-
readonly name: {
|
|
3824
|
-
readonly type: "string";
|
|
3825
|
-
readonly description: "The name of the webhook worker.";
|
|
3826
|
-
};
|
|
3827
|
-
readonly url: {
|
|
3828
|
-
readonly type: "string";
|
|
3829
|
-
readonly description: "The webhook url.";
|
|
3830
|
-
};
|
|
3831
|
-
readonly secret: {
|
|
3832
|
-
readonly type: "string";
|
|
3833
|
-
readonly description: "The secret key for validation. If not provided, a random secret will be generated.";
|
|
3834
|
-
readonly minLength: 32;
|
|
3835
|
-
};
|
|
3836
|
-
};
|
|
3837
|
-
readonly required: readonly ["name", "url"];
|
|
3838
|
-
readonly type: "object";
|
|
3839
|
-
};
|
|
3840
|
-
export declare const WebhookWorkerCreatedSchema: {
|
|
3841
|
-
readonly properties: {
|
|
3842
|
-
readonly metadata: {
|
|
3843
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3844
|
-
};
|
|
3845
|
-
readonly name: {
|
|
3846
|
-
readonly type: "string";
|
|
3847
|
-
readonly description: "The name of the webhook worker.";
|
|
3848
|
-
};
|
|
3849
|
-
readonly url: {
|
|
3850
|
-
readonly type: "string";
|
|
3851
|
-
readonly description: "The webhook url.";
|
|
3852
|
-
};
|
|
3853
|
-
readonly secret: {
|
|
3854
|
-
readonly type: "string";
|
|
3855
|
-
readonly description: "The secret key for validation.";
|
|
3856
|
-
};
|
|
3857
|
-
};
|
|
3858
|
-
readonly required: readonly ["metadata", "name", "url", "secret"];
|
|
3859
|
-
readonly type: "object";
|
|
3860
|
-
};
|
|
3861
|
-
export declare const WebhookWorkerRequestMethodSchema: {
|
|
3862
|
-
readonly enum: readonly ["GET", "POST", "PUT"];
|
|
3863
|
-
};
|
|
3864
|
-
export declare const WebhookWorkerRequestSchema: {
|
|
3865
|
-
readonly properties: {
|
|
3866
|
-
readonly created_at: {
|
|
3867
|
-
readonly type: "string";
|
|
3868
|
-
readonly format: "date-time";
|
|
3869
|
-
readonly description: "The date and time the request was created.";
|
|
3870
|
-
};
|
|
3871
|
-
readonly method: {
|
|
3872
|
-
readonly $ref: "#/components/schemas/WebhookWorkerRequestMethod";
|
|
3873
|
-
readonly description: "The HTTP method used for the request.";
|
|
3874
|
-
};
|
|
3875
|
-
readonly statusCode: {
|
|
3876
|
-
readonly type: "integer";
|
|
3877
|
-
readonly description: "The HTTP status code of the response.";
|
|
3878
|
-
};
|
|
3879
|
-
};
|
|
3880
|
-
readonly required: readonly ["created_at", "method", "statusCode"];
|
|
3881
|
-
readonly type: "object";
|
|
3882
|
-
};
|
|
3883
|
-
export declare const WebhookWorkerRequestListResponseSchema: {
|
|
3884
|
-
readonly properties: {
|
|
3885
|
-
readonly requests: {
|
|
3886
|
-
readonly type: "array";
|
|
3887
|
-
readonly items: {
|
|
3888
|
-
readonly $ref: "#/components/schemas/WebhookWorkerRequest";
|
|
3889
|
-
};
|
|
3890
|
-
readonly description: "The list of webhook requests.";
|
|
3891
|
-
};
|
|
3892
|
-
};
|
|
3893
|
-
readonly type: "object";
|
|
3894
|
-
};
|
|
3895
|
-
export declare const ConcurrencyStatSchema: {
|
|
3896
|
-
readonly properties: {
|
|
3897
|
-
readonly expression: {
|
|
3898
|
-
readonly type: "string";
|
|
3899
|
-
};
|
|
3900
|
-
readonly type: {
|
|
3901
|
-
readonly type: "string";
|
|
3902
|
-
};
|
|
3903
|
-
readonly keys: {
|
|
3904
|
-
readonly type: "object";
|
|
3905
|
-
readonly additionalProperties: {
|
|
3906
|
-
readonly type: "integer";
|
|
3907
|
-
readonly format: "int64";
|
|
3908
|
-
};
|
|
3909
|
-
};
|
|
3910
|
-
};
|
|
3911
|
-
readonly type: "object";
|
|
3912
|
-
};
|
|
3913
|
-
export declare const TaskStatusStatSchema: {
|
|
3914
|
-
readonly properties: {
|
|
3915
|
-
readonly total: {
|
|
3916
|
-
readonly type: "integer";
|
|
3917
|
-
readonly format: "int64";
|
|
3918
|
-
};
|
|
3919
|
-
readonly queues: {
|
|
3920
|
-
readonly type: "object";
|
|
3921
|
-
readonly additionalProperties: {
|
|
3922
|
-
readonly type: "integer";
|
|
3923
|
-
readonly format: "int64";
|
|
3924
|
-
};
|
|
3925
|
-
};
|
|
3926
|
-
readonly concurrency: {
|
|
3927
|
-
readonly type: "array";
|
|
3928
|
-
readonly items: {
|
|
3929
|
-
readonly $ref: "#/components/schemas/ConcurrencyStat";
|
|
3930
|
-
};
|
|
3931
|
-
};
|
|
3932
|
-
};
|
|
3933
|
-
readonly type: "object";
|
|
3934
|
-
};
|
|
3935
|
-
export declare const TaskStatSchema: {
|
|
3936
|
-
readonly properties: {
|
|
3937
|
-
readonly queued: {
|
|
3938
|
-
readonly $ref: "#/components/schemas/TaskStatusStat";
|
|
3939
|
-
};
|
|
3940
|
-
readonly running: {
|
|
3941
|
-
readonly $ref: "#/components/schemas/TaskStatusStat";
|
|
3942
|
-
};
|
|
3943
|
-
};
|
|
3944
|
-
readonly type: "object";
|
|
3945
|
-
};
|
|
3946
|
-
export declare const TaskStatsSchema: {
|
|
3947
|
-
readonly type: "object";
|
|
3948
|
-
readonly additionalProperties: {
|
|
3949
|
-
readonly $ref: "#/components/schemas/TaskStat";
|
|
3950
|
-
};
|
|
3951
|
-
};
|
|
3952
|
-
export declare const TenantListSchema: {
|
|
3953
|
-
readonly properties: {
|
|
3954
|
-
readonly pagination: {
|
|
3955
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3956
|
-
};
|
|
3957
|
-
readonly rows: {
|
|
3958
|
-
readonly items: {
|
|
3959
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
3960
|
-
};
|
|
3961
|
-
readonly type: "array";
|
|
3962
|
-
readonly 'x-go-name': "Rows";
|
|
3963
|
-
};
|
|
3964
|
-
};
|
|
3965
|
-
};
|
|
3966
|
-
export declare const WorkflowVersionDefinitionSchema: {
|
|
3967
|
-
readonly type: "object";
|
|
3968
|
-
readonly properties: {
|
|
3969
|
-
readonly rawDefinition: {
|
|
3970
|
-
readonly type: "string";
|
|
3971
|
-
readonly description: "The raw YAML definition of the workflow.";
|
|
3972
|
-
};
|
|
3973
|
-
};
|
|
3974
|
-
readonly required: readonly ["rawDefinition"];
|
|
3975
|
-
};
|
|
3976
|
-
export declare const CreatePullRequestFromStepRunSchema: {
|
|
3977
|
-
readonly properties: {
|
|
3978
|
-
readonly branchName: {
|
|
3979
|
-
readonly type: "string";
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
|
-
readonly required: readonly ["branchName"];
|
|
3983
|
-
};
|
|
3984
|
-
export declare const StepRunDiffSchema: {
|
|
3985
|
-
readonly properties: {
|
|
3986
|
-
readonly key: {
|
|
3987
|
-
readonly type: "string";
|
|
3988
|
-
};
|
|
3989
|
-
readonly original: {
|
|
3990
|
-
readonly type: "string";
|
|
3991
|
-
};
|
|
3992
|
-
readonly modified: {
|
|
3993
|
-
readonly type: "string";
|
|
3994
|
-
};
|
|
3995
|
-
};
|
|
3996
|
-
readonly required: readonly ["key", "original", "modified"];
|
|
3997
|
-
};
|
|
3998
|
-
export declare const GetStepRunDiffResponseSchema: {
|
|
3999
|
-
readonly properties: {
|
|
4000
|
-
readonly diffs: {
|
|
4001
|
-
readonly type: "array";
|
|
4002
|
-
readonly items: {
|
|
4003
|
-
readonly $ref: "#/components/schemas/StepRunDiff";
|
|
4004
|
-
};
|
|
4005
|
-
};
|
|
4006
|
-
};
|
|
4007
|
-
readonly required: readonly ["diffs"];
|
|
4008
|
-
};
|
|
4009
|
-
export declare const PullRequestStateSchema: {
|
|
4010
|
-
readonly type: "string";
|
|
4011
|
-
readonly enum: readonly ["open", "closed"];
|
|
4012
|
-
};
|
|
4013
|
-
export declare const PullRequestSchema: {
|
|
4014
|
-
readonly properties: {
|
|
4015
|
-
readonly repositoryOwner: {
|
|
4016
|
-
readonly type: "string";
|
|
4017
|
-
};
|
|
4018
|
-
readonly repositoryName: {
|
|
4019
|
-
readonly type: "string";
|
|
4020
|
-
};
|
|
4021
|
-
readonly pullRequestID: {
|
|
4022
|
-
readonly type: "integer";
|
|
4023
|
-
};
|
|
4024
|
-
readonly pullRequestTitle: {
|
|
4025
|
-
readonly type: "string";
|
|
4026
|
-
};
|
|
4027
|
-
readonly pullRequestNumber: {
|
|
4028
|
-
readonly type: "integer";
|
|
4029
|
-
};
|
|
4030
|
-
readonly pullRequestHeadBranch: {
|
|
4031
|
-
readonly type: "string";
|
|
4032
|
-
};
|
|
4033
|
-
readonly pullRequestBaseBranch: {
|
|
4034
|
-
readonly type: "string";
|
|
4035
|
-
};
|
|
4036
|
-
readonly pullRequestState: {
|
|
4037
|
-
readonly $ref: "#/components/schemas/PullRequestState";
|
|
4038
|
-
};
|
|
4039
|
-
};
|
|
4040
|
-
readonly required: readonly ["repositoryOwner", "repositoryName", "pullRequestID", "pullRequestTitle", "pullRequestNumber", "pullRequestHeadBranch", "pullRequestBaseBranch", "pullRequestState"];
|
|
4041
|
-
};
|
|
4042
|
-
export declare const ListPullRequestsResponseSchema: {
|
|
4043
|
-
readonly properties: {
|
|
4044
|
-
readonly pullRequests: {
|
|
4045
|
-
readonly type: "array";
|
|
4046
|
-
readonly items: {
|
|
4047
|
-
readonly $ref: "#/components/schemas/PullRequest";
|
|
4048
|
-
};
|
|
4049
|
-
};
|
|
4050
|
-
};
|
|
4051
|
-
readonly required: readonly ["pullRequests"];
|
|
4052
|
-
};
|
|
4053
|
-
export declare const WebhookWorkerCreateResponseSchema: {
|
|
4054
|
-
readonly properties: {
|
|
4055
|
-
readonly worker: {
|
|
4056
|
-
readonly $ref: "#/components/schemas/WebhookWorkerCreated";
|
|
4057
|
-
};
|
|
4058
|
-
};
|
|
4059
|
-
readonly type: "object";
|
|
4060
|
-
};
|
|
4061
|
-
export declare const V1TaskRunStatusSchema: {
|
|
4062
|
-
readonly type: "string";
|
|
4063
|
-
readonly enum: readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"];
|
|
4064
|
-
};
|
|
4065
|
-
export declare const BulkCreateEventResponseSchema: {
|
|
4066
|
-
readonly $ref: "#/components/schemas/Events";
|
|
4067
|
-
};
|
|
4068
|
-
//# sourceMappingURL=schemas.gen.d.ts.map
|