mtmsdk 0.0.48 → 0.0.50
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,1849 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
import { client } from './client.gen';
|
|
3
|
-
/**
|
|
4
|
-
* Get a task
|
|
5
|
-
*
|
|
6
|
-
* Get a task by id
|
|
7
|
-
*/
|
|
8
|
-
export const v1TaskGet = (options) => (options.client ?? client).get({
|
|
9
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
10
|
-
in: 'cookie',
|
|
11
|
-
name: 'hatchet',
|
|
12
|
-
type: 'apiKey'
|
|
13
|
-
}],
|
|
14
|
-
url: '/api/v1/stable/tasks/{task}',
|
|
15
|
-
...options
|
|
16
|
-
});
|
|
17
|
-
/**
|
|
18
|
-
* List events for a task
|
|
19
|
-
*
|
|
20
|
-
* List events for a task
|
|
21
|
-
*/
|
|
22
|
-
export const v1TaskEventList = (options) => (options.client ?? client).get({
|
|
23
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
24
|
-
in: 'cookie',
|
|
25
|
-
name: 'hatchet',
|
|
26
|
-
type: 'apiKey'
|
|
27
|
-
}],
|
|
28
|
-
url: '/api/v1/stable/tasks/{task}/task-events',
|
|
29
|
-
...options
|
|
30
|
-
});
|
|
31
|
-
/**
|
|
32
|
-
* List log lines
|
|
33
|
-
*
|
|
34
|
-
* Lists log lines for a task
|
|
35
|
-
*/
|
|
36
|
-
export const v1LogLineList = (options) => (options.client ?? client).get({
|
|
37
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
38
|
-
in: 'cookie',
|
|
39
|
-
name: 'hatchet',
|
|
40
|
-
type: 'apiKey'
|
|
41
|
-
}],
|
|
42
|
-
url: '/api/v1/stable/tasks/{task}/logs',
|
|
43
|
-
...options
|
|
44
|
-
});
|
|
45
|
-
/**
|
|
46
|
-
* Cancel tasks
|
|
47
|
-
*
|
|
48
|
-
* Cancel tasks
|
|
49
|
-
*/
|
|
50
|
-
export const v1TaskCancel = (options) => (options.client ?? client).post({
|
|
51
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
52
|
-
in: 'cookie',
|
|
53
|
-
name: 'hatchet',
|
|
54
|
-
type: 'apiKey'
|
|
55
|
-
}],
|
|
56
|
-
url: '/api/v1/stable/tenants/{tenant}/tasks/cancel',
|
|
57
|
-
...options,
|
|
58
|
-
headers: {
|
|
59
|
-
'Content-Type': 'application/json',
|
|
60
|
-
...options.headers
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
/**
|
|
64
|
-
* Replay tasks
|
|
65
|
-
*
|
|
66
|
-
* Replay tasks
|
|
67
|
-
*/
|
|
68
|
-
export const v1TaskReplay = (options) => (options.client ?? client).post({
|
|
69
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
70
|
-
in: 'cookie',
|
|
71
|
-
name: 'hatchet',
|
|
72
|
-
type: 'apiKey'
|
|
73
|
-
}],
|
|
74
|
-
url: '/api/v1/stable/tenants/{tenant}/tasks/replay',
|
|
75
|
-
...options,
|
|
76
|
-
headers: {
|
|
77
|
-
'Content-Type': 'application/json',
|
|
78
|
-
...options.headers
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
/**
|
|
82
|
-
* List tasks
|
|
83
|
-
*
|
|
84
|
-
* Lists all tasks that belong a specific list of dags
|
|
85
|
-
*/
|
|
86
|
-
export const v1DagListTasks = (options) => (options.client ?? client).get({
|
|
87
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
88
|
-
in: 'cookie',
|
|
89
|
-
name: 'hatchet',
|
|
90
|
-
type: 'apiKey'
|
|
91
|
-
}],
|
|
92
|
-
url: '/api/v1/stable/dags/tasks',
|
|
93
|
-
...options
|
|
94
|
-
});
|
|
95
|
-
/**
|
|
96
|
-
* List workflow runs
|
|
97
|
-
*
|
|
98
|
-
* Lists workflow runs for a tenant.
|
|
99
|
-
*/
|
|
100
|
-
export const v1WorkflowRunList = (options) => (options.client ?? client).get({
|
|
101
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
102
|
-
in: 'cookie',
|
|
103
|
-
name: 'hatchet',
|
|
104
|
-
type: 'apiKey'
|
|
105
|
-
}],
|
|
106
|
-
url: '/api/v1/stable/tenants/{tenant}/workflow-runs',
|
|
107
|
-
...options
|
|
108
|
-
});
|
|
109
|
-
/**
|
|
110
|
-
* List workflow runs
|
|
111
|
-
*
|
|
112
|
-
* Lists displayable names of workflow runs for a tenant
|
|
113
|
-
*/
|
|
114
|
-
export const v1WorkflowRunDisplayNamesList = (options) => (options.client ?? client).get({
|
|
115
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
116
|
-
in: 'cookie',
|
|
117
|
-
name: 'hatchet',
|
|
118
|
-
type: 'apiKey'
|
|
119
|
-
}],
|
|
120
|
-
url: '/api/v1/stable/tenants/{tenant}/workflow-runs/display-names',
|
|
121
|
-
...options
|
|
122
|
-
});
|
|
123
|
-
/**
|
|
124
|
-
* List workflow run external ids
|
|
125
|
-
*
|
|
126
|
-
* Lists external ids for workflow runs matching filters
|
|
127
|
-
*/
|
|
128
|
-
export const v1WorkflowRunExternalIdsList = (options) => (options.client ?? client).get({
|
|
129
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
130
|
-
in: 'cookie',
|
|
131
|
-
name: 'hatchet',
|
|
132
|
-
type: 'apiKey'
|
|
133
|
-
}],
|
|
134
|
-
url: '/api/v1/stable/tenants/{tenant}/workflow-runs/external-ids',
|
|
135
|
-
...options
|
|
136
|
-
});
|
|
137
|
-
/**
|
|
138
|
-
* Create workflow run
|
|
139
|
-
*
|
|
140
|
-
* Trigger a new workflow run
|
|
141
|
-
*/
|
|
142
|
-
export const v1WorkflowRunCreate = (options) => (options.client ?? client).post({
|
|
143
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
144
|
-
in: 'cookie',
|
|
145
|
-
name: 'hatchet',
|
|
146
|
-
type: 'apiKey'
|
|
147
|
-
}],
|
|
148
|
-
url: '/api/v1/stable/tenants/{tenant}/workflow-runs/trigger',
|
|
149
|
-
...options,
|
|
150
|
-
headers: {
|
|
151
|
-
'Content-Type': 'application/json',
|
|
152
|
-
...options.headers
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
/**
|
|
156
|
-
* List tasks
|
|
157
|
-
*
|
|
158
|
-
* Get a workflow run and its metadata to display on the "detail" page
|
|
159
|
-
*/
|
|
160
|
-
export const v1WorkflowRunGet = (options) => (options.client ?? client).get({
|
|
161
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
162
|
-
in: 'cookie',
|
|
163
|
-
name: 'hatchet',
|
|
164
|
-
type: 'apiKey'
|
|
165
|
-
}],
|
|
166
|
-
url: '/api/v1/stable/workflow-runs/{v1-workflow-run}',
|
|
167
|
-
...options
|
|
168
|
-
});
|
|
169
|
-
/**
|
|
170
|
-
* Get workflow run status
|
|
171
|
-
*
|
|
172
|
-
* Get the status of a workflow run.
|
|
173
|
-
*/
|
|
174
|
-
export const v1WorkflowRunGetStatus = (options) => (options.client ?? client).get({
|
|
175
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
176
|
-
in: 'cookie',
|
|
177
|
-
name: 'hatchet',
|
|
178
|
-
type: 'apiKey'
|
|
179
|
-
}],
|
|
180
|
-
url: '/api/v1/stable/workflow-runs/{v1-workflow-run}/status',
|
|
181
|
-
...options
|
|
182
|
-
});
|
|
183
|
-
/**
|
|
184
|
-
* List tasks
|
|
185
|
-
*
|
|
186
|
-
* List all tasks for a workflow run
|
|
187
|
-
*/
|
|
188
|
-
export const v1WorkflowRunTaskEventsList = (options) => (options.client ?? client).get({
|
|
189
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
190
|
-
in: 'cookie',
|
|
191
|
-
name: 'hatchet',
|
|
192
|
-
type: 'apiKey'
|
|
193
|
-
}],
|
|
194
|
-
url: '/api/v1/stable/workflow-runs/{v1-workflow-run}/task-events',
|
|
195
|
-
...options
|
|
196
|
-
});
|
|
197
|
-
/**
|
|
198
|
-
* List timings for a workflow run
|
|
199
|
-
*
|
|
200
|
-
* Get the timings for a workflow run
|
|
201
|
-
*/
|
|
202
|
-
export const v1WorkflowRunGetTimings = (options) => (options.client ?? client).get({
|
|
203
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
204
|
-
in: 'cookie',
|
|
205
|
-
name: 'hatchet',
|
|
206
|
-
type: 'apiKey'
|
|
207
|
-
}],
|
|
208
|
-
url: '/api/v1/stable/workflow-runs/{v1-workflow-run}/task-timings',
|
|
209
|
-
...options
|
|
210
|
-
});
|
|
211
|
-
/**
|
|
212
|
-
* Get task metrics
|
|
213
|
-
*
|
|
214
|
-
* Get a summary of task run metrics for a tenant
|
|
215
|
-
*/
|
|
216
|
-
export const v1TaskListStatusMetrics = (options) => (options.client ?? client).get({
|
|
217
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
218
|
-
in: 'cookie',
|
|
219
|
-
name: 'hatchet',
|
|
220
|
-
type: 'apiKey'
|
|
221
|
-
}],
|
|
222
|
-
url: '/api/v1/stable/tenants/{tenant}/task-metrics',
|
|
223
|
-
...options
|
|
224
|
-
});
|
|
225
|
-
/**
|
|
226
|
-
* Get task point metrics
|
|
227
|
-
*
|
|
228
|
-
* Get a minute by minute breakdown of task metrics for a tenant
|
|
229
|
-
*/
|
|
230
|
-
export const v1TaskGetPointMetrics = (options) => (options.client ?? client).get({
|
|
231
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
232
|
-
in: 'cookie',
|
|
233
|
-
name: 'hatchet',
|
|
234
|
-
type: 'apiKey'
|
|
235
|
-
}],
|
|
236
|
-
url: '/api/v1/stable/tenants/{tenant}/task-point-metrics',
|
|
237
|
-
...options
|
|
238
|
-
});
|
|
239
|
-
/**
|
|
240
|
-
* List events
|
|
241
|
-
*
|
|
242
|
-
* Lists all events for a tenant.
|
|
243
|
-
*/
|
|
244
|
-
export const v1EventList = (options) => (options.client ?? client).get({
|
|
245
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
246
|
-
in: 'cookie',
|
|
247
|
-
name: 'hatchet',
|
|
248
|
-
type: 'apiKey'
|
|
249
|
-
}],
|
|
250
|
-
url: '/api/v1/stable/tenants/{tenant}/events',
|
|
251
|
-
...options
|
|
252
|
-
});
|
|
253
|
-
/**
|
|
254
|
-
* List event keys
|
|
255
|
-
*
|
|
256
|
-
* Lists all event keys for a tenant.
|
|
257
|
-
*/
|
|
258
|
-
export const v1EventKeyList = (options) => (options.client ?? client).get({
|
|
259
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
260
|
-
in: 'cookie',
|
|
261
|
-
name: 'hatchet',
|
|
262
|
-
type: 'apiKey'
|
|
263
|
-
}],
|
|
264
|
-
url: '/api/v1/stable/tenants/{tenant}/events/keys',
|
|
265
|
-
...options
|
|
266
|
-
});
|
|
267
|
-
/**
|
|
268
|
-
* List filters
|
|
269
|
-
*
|
|
270
|
-
* Lists all filters for a tenant.
|
|
271
|
-
*/
|
|
272
|
-
export const v1FilterList = (options) => (options.client ?? client).get({
|
|
273
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
274
|
-
in: 'cookie',
|
|
275
|
-
name: 'hatchet',
|
|
276
|
-
type: 'apiKey'
|
|
277
|
-
}],
|
|
278
|
-
url: '/api/v1/stable/tenants/{tenant}/filters',
|
|
279
|
-
...options
|
|
280
|
-
});
|
|
281
|
-
/**
|
|
282
|
-
* Create a filter
|
|
283
|
-
*
|
|
284
|
-
* Create a new filter
|
|
285
|
-
*/
|
|
286
|
-
export const v1FilterCreate = (options) => (options.client ?? client).post({
|
|
287
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
288
|
-
in: 'cookie',
|
|
289
|
-
name: 'hatchet',
|
|
290
|
-
type: 'apiKey'
|
|
291
|
-
}],
|
|
292
|
-
url: '/api/v1/stable/tenants/{tenant}/filters',
|
|
293
|
-
...options,
|
|
294
|
-
headers: {
|
|
295
|
-
'Content-Type': 'application/json',
|
|
296
|
-
...options.headers
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
/**
|
|
300
|
-
* Delete a filter
|
|
301
|
-
*/
|
|
302
|
-
export const v1FilterDelete = (options) => (options.client ?? client).delete({
|
|
303
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
304
|
-
in: 'cookie',
|
|
305
|
-
name: 'hatchet',
|
|
306
|
-
type: 'apiKey'
|
|
307
|
-
}],
|
|
308
|
-
url: '/api/v1/stable/tenants/{tenant}/filters/{v1-filter}',
|
|
309
|
-
...options
|
|
310
|
-
});
|
|
311
|
-
/**
|
|
312
|
-
* Get a filter
|
|
313
|
-
*
|
|
314
|
-
* Get a filter by its id
|
|
315
|
-
*/
|
|
316
|
-
export const v1FilterGet = (options) => (options.client ?? client).get({
|
|
317
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
318
|
-
in: 'cookie',
|
|
319
|
-
name: 'hatchet',
|
|
320
|
-
type: 'apiKey'
|
|
321
|
-
}],
|
|
322
|
-
url: '/api/v1/stable/tenants/{tenant}/filters/{v1-filter}',
|
|
323
|
-
...options
|
|
324
|
-
});
|
|
325
|
-
/**
|
|
326
|
-
* Update a filter
|
|
327
|
-
*/
|
|
328
|
-
export const v1FilterUpdate = (options) => (options.client ?? client).patch({
|
|
329
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
330
|
-
in: 'cookie',
|
|
331
|
-
name: 'hatchet',
|
|
332
|
-
type: 'apiKey'
|
|
333
|
-
}],
|
|
334
|
-
url: '/api/v1/stable/tenants/{tenant}/filters/{v1-filter}',
|
|
335
|
-
...options,
|
|
336
|
-
headers: {
|
|
337
|
-
'Content-Type': 'application/json',
|
|
338
|
-
...options.headers
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
/**
|
|
342
|
-
* List webhooks
|
|
343
|
-
*
|
|
344
|
-
* Lists all webhook for a tenant.
|
|
345
|
-
*/
|
|
346
|
-
export const v1WebhookList = (options) => (options.client ?? client).get({
|
|
347
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
348
|
-
in: 'cookie',
|
|
349
|
-
name: 'hatchet',
|
|
350
|
-
type: 'apiKey'
|
|
351
|
-
}],
|
|
352
|
-
url: '/api/v1/stable/tenants/{tenant}/webhooks',
|
|
353
|
-
...options
|
|
354
|
-
});
|
|
355
|
-
/**
|
|
356
|
-
* Create a webhook
|
|
357
|
-
*
|
|
358
|
-
* Create a new webhook
|
|
359
|
-
*/
|
|
360
|
-
export const v1WebhookCreate = (options) => (options.client ?? client).post({
|
|
361
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
362
|
-
in: 'cookie',
|
|
363
|
-
name: 'hatchet',
|
|
364
|
-
type: 'apiKey'
|
|
365
|
-
}],
|
|
366
|
-
url: '/api/v1/stable/tenants/{tenant}/webhooks',
|
|
367
|
-
...options,
|
|
368
|
-
headers: {
|
|
369
|
-
'Content-Type': 'application/json',
|
|
370
|
-
...options.headers
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
/**
|
|
374
|
-
* Delete a webhook
|
|
375
|
-
*/
|
|
376
|
-
export const v1WebhookDelete = (options) => (options.client ?? client).delete({
|
|
377
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
378
|
-
in: 'cookie',
|
|
379
|
-
name: 'hatchet',
|
|
380
|
-
type: 'apiKey'
|
|
381
|
-
}],
|
|
382
|
-
url: '/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}',
|
|
383
|
-
...options
|
|
384
|
-
});
|
|
385
|
-
/**
|
|
386
|
-
* Get a webhook
|
|
387
|
-
*
|
|
388
|
-
* Get a webhook by its name
|
|
389
|
-
*/
|
|
390
|
-
export const v1WebhookGet = (options) => (options.client ?? client).get({
|
|
391
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
392
|
-
in: 'cookie',
|
|
393
|
-
name: 'hatchet',
|
|
394
|
-
type: 'apiKey'
|
|
395
|
-
}],
|
|
396
|
-
url: '/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}',
|
|
397
|
-
...options
|
|
398
|
-
});
|
|
399
|
-
/**
|
|
400
|
-
* Update a webhook
|
|
401
|
-
*
|
|
402
|
-
* Update a webhook
|
|
403
|
-
*/
|
|
404
|
-
export const v1WebhookUpdate = (options) => (options.client ?? client).patch({
|
|
405
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
406
|
-
in: 'cookie',
|
|
407
|
-
name: 'hatchet',
|
|
408
|
-
type: 'apiKey'
|
|
409
|
-
}],
|
|
410
|
-
url: '/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}',
|
|
411
|
-
...options,
|
|
412
|
-
headers: {
|
|
413
|
-
'Content-Type': 'application/json',
|
|
414
|
-
...options.headers
|
|
415
|
-
}
|
|
416
|
-
});
|
|
417
|
-
/**
|
|
418
|
-
* Post a webhook message
|
|
419
|
-
*
|
|
420
|
-
* Post an incoming webhook message
|
|
421
|
-
*/
|
|
422
|
-
export const v1WebhookReceive = (options) => (options.client ?? client).post({ url: '/api/v1/stable/tenants/{tenant}/webhooks/{v1-webhook}', ...options });
|
|
423
|
-
/**
|
|
424
|
-
* Debug a CEL expression
|
|
425
|
-
*
|
|
426
|
-
* Evaluate a CEL expression against provided input data.
|
|
427
|
-
*/
|
|
428
|
-
export const v1CelDebug = (options) => (options.client ?? client).post({
|
|
429
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
430
|
-
in: 'cookie',
|
|
431
|
-
name: 'hatchet',
|
|
432
|
-
type: 'apiKey'
|
|
433
|
-
}],
|
|
434
|
-
url: '/api/v1/stable/tenants/{tenant}/cel/debug',
|
|
435
|
-
...options,
|
|
436
|
-
headers: {
|
|
437
|
-
'Content-Type': 'application/json',
|
|
438
|
-
...options.headers
|
|
439
|
-
}
|
|
440
|
-
});
|
|
441
|
-
/**
|
|
442
|
-
* Get readiness
|
|
443
|
-
*
|
|
444
|
-
* Gets the readiness status
|
|
445
|
-
*/
|
|
446
|
-
export const readinessGet = (options) => (options?.client ?? client).get({ url: '/api/ready', ...options });
|
|
447
|
-
/**
|
|
448
|
-
* Get liveness
|
|
449
|
-
*
|
|
450
|
-
* Gets the liveness status
|
|
451
|
-
*/
|
|
452
|
-
export const livenessGet = (options) => (options?.client ?? client).get({ url: '/api/live', ...options });
|
|
453
|
-
/**
|
|
454
|
-
* Get metadata
|
|
455
|
-
*
|
|
456
|
-
* Gets metadata for the Hatchet instance
|
|
457
|
-
*/
|
|
458
|
-
export const metadataGet = (options) => (options?.client ?? client).get({ url: '/api/v1/meta', ...options });
|
|
459
|
-
/**
|
|
460
|
-
* Get cloud metadata
|
|
461
|
-
*
|
|
462
|
-
* Gets metadata for the Hatchet cloud instance
|
|
463
|
-
*/
|
|
464
|
-
export const cloudMetadataGet = (options) => (options?.client ?? client).get({ url: '/api/v1/cloud/metadata', ...options });
|
|
465
|
-
/**
|
|
466
|
-
* List integrations
|
|
467
|
-
*
|
|
468
|
-
* List all integrations
|
|
469
|
-
*/
|
|
470
|
-
export const metadataListIntegrations = (options) => (options?.client ?? client).get({
|
|
471
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
472
|
-
in: 'cookie',
|
|
473
|
-
name: 'hatchet',
|
|
474
|
-
type: 'apiKey'
|
|
475
|
-
}],
|
|
476
|
-
url: '/api/v1/meta/integrations',
|
|
477
|
-
...options
|
|
478
|
-
});
|
|
479
|
-
/**
|
|
480
|
-
* Login user
|
|
481
|
-
*
|
|
482
|
-
* Logs in a user.
|
|
483
|
-
*/
|
|
484
|
-
export const userUpdateLogin = (options) => (options?.client ?? client).post({
|
|
485
|
-
url: '/api/v1/users/login',
|
|
486
|
-
...options,
|
|
487
|
-
headers: {
|
|
488
|
-
'Content-Type': 'application/json',
|
|
489
|
-
...options?.headers
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
/**
|
|
493
|
-
* Start OAuth flow
|
|
494
|
-
*
|
|
495
|
-
* Starts the OAuth flow
|
|
496
|
-
*/
|
|
497
|
-
export const userUpdateGoogleOauthStart = (options) => (options?.client ?? client).get({ url: '/api/v1/users/google/start', ...options });
|
|
498
|
-
/**
|
|
499
|
-
* Complete OAuth flow
|
|
500
|
-
*
|
|
501
|
-
* Completes the OAuth flow
|
|
502
|
-
*/
|
|
503
|
-
export const userUpdateGoogleOauthCallback = (options) => (options?.client ?? client).get({ url: '/api/v1/users/google/callback', ...options });
|
|
504
|
-
/**
|
|
505
|
-
* Start OAuth flow
|
|
506
|
-
*
|
|
507
|
-
* Starts the OAuth flow
|
|
508
|
-
*/
|
|
509
|
-
export const userUpdateGithubOauthStart = (options) => (options?.client ?? client).get({ url: '/api/v1/users/github/start', ...options });
|
|
510
|
-
/**
|
|
511
|
-
* Complete OAuth flow
|
|
512
|
-
*
|
|
513
|
-
* Completes the OAuth flow
|
|
514
|
-
*/
|
|
515
|
-
export const userUpdateGithubOauthCallback = (options) => (options?.client ?? client).get({ url: '/api/v1/users/github/callback', ...options });
|
|
516
|
-
/**
|
|
517
|
-
* Start OAuth flow
|
|
518
|
-
*
|
|
519
|
-
* Starts the OAuth flow
|
|
520
|
-
*/
|
|
521
|
-
export const userUpdateSlackOauthStart = (options) => (options.client ?? client).get({
|
|
522
|
-
security: [{
|
|
523
|
-
in: 'cookie',
|
|
524
|
-
name: 'hatchet',
|
|
525
|
-
type: 'apiKey'
|
|
526
|
-
}],
|
|
527
|
-
url: '/api/v1/tenants/{tenant}/slack/start',
|
|
528
|
-
...options
|
|
529
|
-
});
|
|
530
|
-
/**
|
|
531
|
-
* Complete OAuth flow
|
|
532
|
-
*
|
|
533
|
-
* Completes the OAuth flow
|
|
534
|
-
*/
|
|
535
|
-
export const userUpdateSlackOauthCallback = (options) => (options?.client ?? client).get({
|
|
536
|
-
security: [{
|
|
537
|
-
in: 'cookie',
|
|
538
|
-
name: 'hatchet',
|
|
539
|
-
type: 'apiKey'
|
|
540
|
-
}],
|
|
541
|
-
url: '/api/v1/users/slack/callback',
|
|
542
|
-
...options
|
|
543
|
-
});
|
|
544
|
-
/**
|
|
545
|
-
* Github app tenant webhook
|
|
546
|
-
*
|
|
547
|
-
* SNS event
|
|
548
|
-
*/
|
|
549
|
-
export const snsUpdate = (options) => (options.client ?? client).post({ url: '/api/v1/sns/{tenant}/{event}', ...options });
|
|
550
|
-
/**
|
|
551
|
-
* List SNS integrations
|
|
552
|
-
*
|
|
553
|
-
* List SNS integrations
|
|
554
|
-
*/
|
|
555
|
-
export const snsList = (options) => (options.client ?? client).get({
|
|
556
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
557
|
-
in: 'cookie',
|
|
558
|
-
name: 'hatchet',
|
|
559
|
-
type: 'apiKey'
|
|
560
|
-
}],
|
|
561
|
-
url: '/api/v1/tenants/{tenant}/sns',
|
|
562
|
-
...options
|
|
563
|
-
});
|
|
564
|
-
/**
|
|
565
|
-
* Create SNS integration
|
|
566
|
-
*
|
|
567
|
-
* Create SNS integration
|
|
568
|
-
*/
|
|
569
|
-
export const snsCreate = (options) => (options.client ?? client).post({
|
|
570
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
571
|
-
in: 'cookie',
|
|
572
|
-
name: 'hatchet',
|
|
573
|
-
type: 'apiKey'
|
|
574
|
-
}],
|
|
575
|
-
url: '/api/v1/tenants/{tenant}/sns',
|
|
576
|
-
...options,
|
|
577
|
-
headers: {
|
|
578
|
-
'Content-Type': 'application/json',
|
|
579
|
-
...options.headers
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
/**
|
|
583
|
-
* List tenant alert email groups
|
|
584
|
-
*
|
|
585
|
-
* Gets a list of tenant alert email groups
|
|
586
|
-
*/
|
|
587
|
-
export const alertEmailGroupList = (options) => (options.client ?? client).get({
|
|
588
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
589
|
-
in: 'cookie',
|
|
590
|
-
name: 'hatchet',
|
|
591
|
-
type: 'apiKey'
|
|
592
|
-
}],
|
|
593
|
-
url: '/api/v1/tenants/{tenant}/alerting-email-groups',
|
|
594
|
-
...options
|
|
595
|
-
});
|
|
596
|
-
/**
|
|
597
|
-
* Create tenant alert email group
|
|
598
|
-
*
|
|
599
|
-
* Creates a new tenant alert email group
|
|
600
|
-
*/
|
|
601
|
-
export const alertEmailGroupCreate = (options) => (options.client ?? client).post({
|
|
602
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
603
|
-
in: 'cookie',
|
|
604
|
-
name: 'hatchet',
|
|
605
|
-
type: 'apiKey'
|
|
606
|
-
}],
|
|
607
|
-
url: '/api/v1/tenants/{tenant}/alerting-email-groups',
|
|
608
|
-
...options,
|
|
609
|
-
headers: {
|
|
610
|
-
'Content-Type': 'application/json',
|
|
611
|
-
...options.headers
|
|
612
|
-
}
|
|
613
|
-
});
|
|
614
|
-
/**
|
|
615
|
-
* Create tenant alert email group
|
|
616
|
-
*
|
|
617
|
-
* Gets the resource policy for a tenant
|
|
618
|
-
*/
|
|
619
|
-
export const tenantResourcePolicyGet = (options) => (options.client ?? client).get({
|
|
620
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
621
|
-
in: 'cookie',
|
|
622
|
-
name: 'hatchet',
|
|
623
|
-
type: 'apiKey'
|
|
624
|
-
}],
|
|
625
|
-
url: '/api/v1/tenants/{tenant}/resource-policy',
|
|
626
|
-
...options
|
|
627
|
-
});
|
|
628
|
-
/**
|
|
629
|
-
* Delete tenant alert email group
|
|
630
|
-
*
|
|
631
|
-
* Deletes a tenant alert email group
|
|
632
|
-
*/
|
|
633
|
-
export const alertEmailGroupDelete = (options) => (options.client ?? client).delete({
|
|
634
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
635
|
-
in: 'cookie',
|
|
636
|
-
name: 'hatchet',
|
|
637
|
-
type: 'apiKey'
|
|
638
|
-
}],
|
|
639
|
-
url: '/api/v1/alerting-email-groups/{alert-email-group}',
|
|
640
|
-
...options
|
|
641
|
-
});
|
|
642
|
-
/**
|
|
643
|
-
* Update tenant alert email group
|
|
644
|
-
*
|
|
645
|
-
* Updates a tenant alert email group
|
|
646
|
-
*/
|
|
647
|
-
export const alertEmailGroupUpdate = (options) => (options.client ?? client).patch({
|
|
648
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
649
|
-
in: 'cookie',
|
|
650
|
-
name: 'hatchet',
|
|
651
|
-
type: 'apiKey'
|
|
652
|
-
}],
|
|
653
|
-
url: '/api/v1/alerting-email-groups/{alert-email-group}',
|
|
654
|
-
...options,
|
|
655
|
-
headers: {
|
|
656
|
-
'Content-Type': 'application/json',
|
|
657
|
-
...options.headers
|
|
658
|
-
}
|
|
659
|
-
});
|
|
660
|
-
/**
|
|
661
|
-
* Delete SNS integration
|
|
662
|
-
*
|
|
663
|
-
* Delete SNS integration
|
|
664
|
-
*/
|
|
665
|
-
export const snsDelete = (options) => (options.client ?? client).delete({
|
|
666
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
667
|
-
in: 'cookie',
|
|
668
|
-
name: 'hatchet',
|
|
669
|
-
type: 'apiKey'
|
|
670
|
-
}],
|
|
671
|
-
url: '/api/v1/sns/{sns}',
|
|
672
|
-
...options
|
|
673
|
-
});
|
|
674
|
-
/**
|
|
675
|
-
* List Slack integrations
|
|
676
|
-
*
|
|
677
|
-
* List Slack webhooks
|
|
678
|
-
*/
|
|
679
|
-
export const slackWebhookList = (options) => (options.client ?? client).get({
|
|
680
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
681
|
-
in: 'cookie',
|
|
682
|
-
name: 'hatchet',
|
|
683
|
-
type: 'apiKey'
|
|
684
|
-
}],
|
|
685
|
-
url: '/api/v1/tenants/{tenant}/slack',
|
|
686
|
-
...options
|
|
687
|
-
});
|
|
688
|
-
/**
|
|
689
|
-
* Delete Slack webhook
|
|
690
|
-
*
|
|
691
|
-
* Delete Slack webhook
|
|
692
|
-
*/
|
|
693
|
-
export const slackWebhookDelete = (options) => (options.client ?? client).delete({
|
|
694
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
695
|
-
in: 'cookie',
|
|
696
|
-
name: 'hatchet',
|
|
697
|
-
type: 'apiKey'
|
|
698
|
-
}],
|
|
699
|
-
url: '/api/v1/slack/{slack}',
|
|
700
|
-
...options
|
|
701
|
-
});
|
|
702
|
-
/**
|
|
703
|
-
* Get current user
|
|
704
|
-
*
|
|
705
|
-
* Gets the current user
|
|
706
|
-
*/
|
|
707
|
-
export const userGetCurrent = (options) => (options?.client ?? client).get({
|
|
708
|
-
security: [{
|
|
709
|
-
in: 'cookie',
|
|
710
|
-
name: 'hatchet',
|
|
711
|
-
type: 'apiKey'
|
|
712
|
-
}],
|
|
713
|
-
url: '/api/v1/users/current',
|
|
714
|
-
...options
|
|
715
|
-
});
|
|
716
|
-
/**
|
|
717
|
-
* Change user password
|
|
718
|
-
*
|
|
719
|
-
* Update a user password.
|
|
720
|
-
*/
|
|
721
|
-
export const userUpdatePassword = (options) => (options?.client ?? client).post({
|
|
722
|
-
security: [{
|
|
723
|
-
in: 'cookie',
|
|
724
|
-
name: 'hatchet',
|
|
725
|
-
type: 'apiKey'
|
|
726
|
-
}],
|
|
727
|
-
url: '/api/v1/users/password',
|
|
728
|
-
...options,
|
|
729
|
-
headers: {
|
|
730
|
-
'Content-Type': 'application/json',
|
|
731
|
-
...options?.headers
|
|
732
|
-
}
|
|
733
|
-
});
|
|
734
|
-
/**
|
|
735
|
-
* Register user
|
|
736
|
-
*
|
|
737
|
-
* Registers a user.
|
|
738
|
-
*/
|
|
739
|
-
export const userCreate = (options) => (options?.client ?? client).post({
|
|
740
|
-
url: '/api/v1/users/register',
|
|
741
|
-
...options,
|
|
742
|
-
headers: {
|
|
743
|
-
'Content-Type': 'application/json',
|
|
744
|
-
...options?.headers
|
|
745
|
-
}
|
|
746
|
-
});
|
|
747
|
-
/**
|
|
748
|
-
* Logout user
|
|
749
|
-
*
|
|
750
|
-
* Logs out a user.
|
|
751
|
-
*/
|
|
752
|
-
export const userUpdateLogout = (options) => (options?.client ?? client).post({
|
|
753
|
-
security: [{
|
|
754
|
-
in: 'cookie',
|
|
755
|
-
name: 'hatchet',
|
|
756
|
-
type: 'apiKey'
|
|
757
|
-
}],
|
|
758
|
-
url: '/api/v1/users/logout',
|
|
759
|
-
...options
|
|
760
|
-
});
|
|
761
|
-
/**
|
|
762
|
-
* List tenant memberships
|
|
763
|
-
*
|
|
764
|
-
* Lists all tenant memberships for the current user
|
|
765
|
-
*/
|
|
766
|
-
export const tenantMembershipsList = (options) => (options?.client ?? client).get({
|
|
767
|
-
security: [{
|
|
768
|
-
in: 'cookie',
|
|
769
|
-
name: 'hatchet',
|
|
770
|
-
type: 'apiKey'
|
|
771
|
-
}],
|
|
772
|
-
url: '/api/v1/users/memberships',
|
|
773
|
-
...options
|
|
774
|
-
});
|
|
775
|
-
/**
|
|
776
|
-
* List tenant invites
|
|
777
|
-
*
|
|
778
|
-
* Lists all tenant invites for the current user
|
|
779
|
-
*/
|
|
780
|
-
export const userListTenantInvites = (options) => (options?.client ?? client).get({
|
|
781
|
-
security: [{
|
|
782
|
-
in: 'cookie',
|
|
783
|
-
name: 'hatchet',
|
|
784
|
-
type: 'apiKey'
|
|
785
|
-
}],
|
|
786
|
-
url: '/api/v1/users/invites',
|
|
787
|
-
...options
|
|
788
|
-
});
|
|
789
|
-
/**
|
|
790
|
-
* Accept tenant invite
|
|
791
|
-
*
|
|
792
|
-
* Accepts a tenant invite
|
|
793
|
-
*/
|
|
794
|
-
export const tenantInviteAccept = (options) => (options?.client ?? client).post({
|
|
795
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
796
|
-
in: 'cookie',
|
|
797
|
-
name: 'hatchet',
|
|
798
|
-
type: 'apiKey'
|
|
799
|
-
}],
|
|
800
|
-
url: '/api/v1/users/invites/accept',
|
|
801
|
-
...options,
|
|
802
|
-
headers: {
|
|
803
|
-
'Content-Type': 'application/json',
|
|
804
|
-
...options?.headers
|
|
805
|
-
}
|
|
806
|
-
});
|
|
807
|
-
/**
|
|
808
|
-
* Reject tenant invite
|
|
809
|
-
*
|
|
810
|
-
* Rejects a tenant invite
|
|
811
|
-
*/
|
|
812
|
-
export const tenantInviteReject = (options) => (options?.client ?? client).post({
|
|
813
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
814
|
-
in: 'cookie',
|
|
815
|
-
name: 'hatchet',
|
|
816
|
-
type: 'apiKey'
|
|
817
|
-
}],
|
|
818
|
-
url: '/api/v1/users/invites/reject',
|
|
819
|
-
...options,
|
|
820
|
-
headers: {
|
|
821
|
-
'Content-Type': 'application/json',
|
|
822
|
-
...options?.headers
|
|
823
|
-
}
|
|
824
|
-
});
|
|
825
|
-
/**
|
|
826
|
-
* Create tenant
|
|
827
|
-
*
|
|
828
|
-
* Creates a new tenant
|
|
829
|
-
*/
|
|
830
|
-
export const tenantCreate = (options) => (options.client ?? client).post({
|
|
831
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
832
|
-
in: 'cookie',
|
|
833
|
-
name: 'hatchet',
|
|
834
|
-
type: 'apiKey'
|
|
835
|
-
}],
|
|
836
|
-
url: '/api/v1/tenants',
|
|
837
|
-
...options,
|
|
838
|
-
headers: {
|
|
839
|
-
'Content-Type': 'application/json',
|
|
840
|
-
...options.headers
|
|
841
|
-
}
|
|
842
|
-
});
|
|
843
|
-
/**
|
|
844
|
-
* Get tenant
|
|
845
|
-
*
|
|
846
|
-
* Get the details of a tenant
|
|
847
|
-
*/
|
|
848
|
-
export const tenantGet = (options) => (options.client ?? client).get({
|
|
849
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
850
|
-
in: 'cookie',
|
|
851
|
-
name: 'hatchet',
|
|
852
|
-
type: 'apiKey'
|
|
853
|
-
}],
|
|
854
|
-
url: '/api/v1/tenants/{tenant}',
|
|
855
|
-
...options
|
|
856
|
-
});
|
|
857
|
-
/**
|
|
858
|
-
* Update tenant
|
|
859
|
-
*
|
|
860
|
-
* Update an existing tenant
|
|
861
|
-
*/
|
|
862
|
-
export const tenantUpdate = (options) => (options.client ?? client).patch({
|
|
863
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
864
|
-
in: 'cookie',
|
|
865
|
-
name: 'hatchet',
|
|
866
|
-
type: 'apiKey'
|
|
867
|
-
}],
|
|
868
|
-
url: '/api/v1/tenants/{tenant}',
|
|
869
|
-
...options,
|
|
870
|
-
headers: {
|
|
871
|
-
'Content-Type': 'application/json',
|
|
872
|
-
...options.headers
|
|
873
|
-
}
|
|
874
|
-
});
|
|
875
|
-
/**
|
|
876
|
-
* Get tenant alerting settings
|
|
877
|
-
*
|
|
878
|
-
* Gets the alerting settings for a tenant
|
|
879
|
-
*/
|
|
880
|
-
export const tenantAlertingSettingsGet = (options) => (options.client ?? client).get({
|
|
881
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
882
|
-
in: 'cookie',
|
|
883
|
-
name: 'hatchet',
|
|
884
|
-
type: 'apiKey'
|
|
885
|
-
}],
|
|
886
|
-
url: '/api/v1/tenants/{tenant}/alerting/settings',
|
|
887
|
-
...options
|
|
888
|
-
});
|
|
889
|
-
/**
|
|
890
|
-
* List tenant invites
|
|
891
|
-
*
|
|
892
|
-
* Gets a list of tenant invites
|
|
893
|
-
*/
|
|
894
|
-
export const tenantInviteList = (options) => (options.client ?? client).get({
|
|
895
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
896
|
-
in: 'cookie',
|
|
897
|
-
name: 'hatchet',
|
|
898
|
-
type: 'apiKey'
|
|
899
|
-
}],
|
|
900
|
-
url: '/api/v1/tenants/{tenant}/invites',
|
|
901
|
-
...options
|
|
902
|
-
});
|
|
903
|
-
/**
|
|
904
|
-
* Create tenant invite
|
|
905
|
-
*
|
|
906
|
-
* Creates a new tenant invite
|
|
907
|
-
*/
|
|
908
|
-
export const tenantInviteCreate = (options) => (options.client ?? client).post({
|
|
909
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
910
|
-
in: 'cookie',
|
|
911
|
-
name: 'hatchet',
|
|
912
|
-
type: 'apiKey'
|
|
913
|
-
}],
|
|
914
|
-
url: '/api/v1/tenants/{tenant}/invites',
|
|
915
|
-
...options,
|
|
916
|
-
headers: {
|
|
917
|
-
'Content-Type': 'application/json',
|
|
918
|
-
...options.headers
|
|
919
|
-
}
|
|
920
|
-
});
|
|
921
|
-
/**
|
|
922
|
-
* Delete invite
|
|
923
|
-
*
|
|
924
|
-
* Deletes a tenant invite
|
|
925
|
-
*/
|
|
926
|
-
export const tenantInviteDelete = (options) => (options.client ?? client).delete({
|
|
927
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
928
|
-
in: 'cookie',
|
|
929
|
-
name: 'hatchet',
|
|
930
|
-
type: 'apiKey'
|
|
931
|
-
}],
|
|
932
|
-
url: '/api/v1/tenants/{tenant}/invites/{tenant-invite}',
|
|
933
|
-
...options
|
|
934
|
-
});
|
|
935
|
-
/**
|
|
936
|
-
* Update invite
|
|
937
|
-
*
|
|
938
|
-
* Updates a tenant invite
|
|
939
|
-
*/
|
|
940
|
-
export const tenantInviteUpdate = (options) => (options.client ?? client).patch({
|
|
941
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
942
|
-
in: 'cookie',
|
|
943
|
-
name: 'hatchet',
|
|
944
|
-
type: 'apiKey'
|
|
945
|
-
}],
|
|
946
|
-
url: '/api/v1/tenants/{tenant}/invites/{tenant-invite}',
|
|
947
|
-
...options,
|
|
948
|
-
headers: {
|
|
949
|
-
'Content-Type': 'application/json',
|
|
950
|
-
...options.headers
|
|
951
|
-
}
|
|
952
|
-
});
|
|
953
|
-
/**
|
|
954
|
-
* List API Tokens
|
|
955
|
-
*
|
|
956
|
-
* List API tokens for a tenant
|
|
957
|
-
*/
|
|
958
|
-
export const apiTokenList = (options) => (options.client ?? client).get({
|
|
959
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
960
|
-
in: 'cookie',
|
|
961
|
-
name: 'hatchet',
|
|
962
|
-
type: 'apiKey'
|
|
963
|
-
}],
|
|
964
|
-
url: '/api/v1/tenants/{tenant}/api-tokens',
|
|
965
|
-
...options
|
|
966
|
-
});
|
|
967
|
-
/**
|
|
968
|
-
* Create API Token
|
|
969
|
-
*
|
|
970
|
-
* Create an API token for a tenant
|
|
971
|
-
*/
|
|
972
|
-
export const apiTokenCreate = (options) => (options.client ?? client).post({
|
|
973
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
974
|
-
in: 'cookie',
|
|
975
|
-
name: 'hatchet',
|
|
976
|
-
type: 'apiKey'
|
|
977
|
-
}],
|
|
978
|
-
url: '/api/v1/tenants/{tenant}/api-tokens',
|
|
979
|
-
...options,
|
|
980
|
-
headers: {
|
|
981
|
-
'Content-Type': 'application/json',
|
|
982
|
-
...options.headers
|
|
983
|
-
}
|
|
984
|
-
});
|
|
985
|
-
/**
|
|
986
|
-
* Revoke API Token
|
|
987
|
-
*
|
|
988
|
-
* Revoke an API token for a tenant
|
|
989
|
-
*/
|
|
990
|
-
export const apiTokenUpdateRevoke = (options) => (options.client ?? client).post({
|
|
991
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
992
|
-
in: 'cookie',
|
|
993
|
-
name: 'hatchet',
|
|
994
|
-
type: 'apiKey'
|
|
995
|
-
}],
|
|
996
|
-
url: '/api/v1/api-tokens/{api-token}',
|
|
997
|
-
...options
|
|
998
|
-
});
|
|
999
|
-
/**
|
|
1000
|
-
* Get workflow metrics
|
|
1001
|
-
*
|
|
1002
|
-
* Get the queue metrics for the tenant
|
|
1003
|
-
*/
|
|
1004
|
-
export const tenantGetQueueMetrics = (options) => (options.client ?? client).get({
|
|
1005
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1006
|
-
in: 'cookie',
|
|
1007
|
-
name: 'hatchet',
|
|
1008
|
-
type: 'apiKey'
|
|
1009
|
-
}],
|
|
1010
|
-
url: '/api/v1/tenants/{tenant}/queue-metrics',
|
|
1011
|
-
...options
|
|
1012
|
-
});
|
|
1013
|
-
/**
|
|
1014
|
-
* Get step run metrics
|
|
1015
|
-
*
|
|
1016
|
-
* Get the queue metrics for the tenant
|
|
1017
|
-
*/
|
|
1018
|
-
export const tenantGetStepRunQueueMetrics = (options) => (options.client ?? client).get({
|
|
1019
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1020
|
-
in: 'cookie',
|
|
1021
|
-
name: 'hatchet',
|
|
1022
|
-
type: 'apiKey'
|
|
1023
|
-
}],
|
|
1024
|
-
url: '/api/v1/tenants/{tenant}/step-run-queue-metrics',
|
|
1025
|
-
...options
|
|
1026
|
-
});
|
|
1027
|
-
/**
|
|
1028
|
-
* List events
|
|
1029
|
-
*
|
|
1030
|
-
* Lists all events for a tenant.
|
|
1031
|
-
*/
|
|
1032
|
-
export const eventList = (options) => (options.client ?? client).get({
|
|
1033
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1034
|
-
in: 'cookie',
|
|
1035
|
-
name: 'hatchet',
|
|
1036
|
-
type: 'apiKey'
|
|
1037
|
-
}],
|
|
1038
|
-
url: '/api/v1/tenants/{tenant}/events',
|
|
1039
|
-
...options
|
|
1040
|
-
});
|
|
1041
|
-
/**
|
|
1042
|
-
* Create event
|
|
1043
|
-
*
|
|
1044
|
-
* Creates a new event.
|
|
1045
|
-
*/
|
|
1046
|
-
export const eventCreate = (options) => (options.client ?? client).post({
|
|
1047
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1048
|
-
in: 'cookie',
|
|
1049
|
-
name: 'hatchet',
|
|
1050
|
-
type: 'apiKey'
|
|
1051
|
-
}],
|
|
1052
|
-
url: '/api/v1/tenants/{tenant}/events',
|
|
1053
|
-
...options,
|
|
1054
|
-
headers: {
|
|
1055
|
-
'Content-Type': 'application/json',
|
|
1056
|
-
...options.headers
|
|
1057
|
-
}
|
|
1058
|
-
});
|
|
1059
|
-
/**
|
|
1060
|
-
* Bulk Create events
|
|
1061
|
-
*
|
|
1062
|
-
* Bulk creates new events.
|
|
1063
|
-
*/
|
|
1064
|
-
export const eventCreateBulk = (options) => (options.client ?? client).post({
|
|
1065
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1066
|
-
in: 'cookie',
|
|
1067
|
-
name: 'hatchet',
|
|
1068
|
-
type: 'apiKey'
|
|
1069
|
-
}],
|
|
1070
|
-
url: '/api/v1/tenants/{tenant}/events/bulk',
|
|
1071
|
-
...options,
|
|
1072
|
-
headers: {
|
|
1073
|
-
'Content-Type': 'application/json',
|
|
1074
|
-
...options.headers
|
|
1075
|
-
}
|
|
1076
|
-
});
|
|
1077
|
-
/**
|
|
1078
|
-
* Replay events
|
|
1079
|
-
*
|
|
1080
|
-
* Replays a list of events.
|
|
1081
|
-
*/
|
|
1082
|
-
export const eventUpdateReplay = (options) => (options.client ?? client).post({
|
|
1083
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1084
|
-
in: 'cookie',
|
|
1085
|
-
name: 'hatchet',
|
|
1086
|
-
type: 'apiKey'
|
|
1087
|
-
}],
|
|
1088
|
-
url: '/api/v1/tenants/{tenant}/events/replay',
|
|
1089
|
-
...options,
|
|
1090
|
-
headers: {
|
|
1091
|
-
'Content-Type': 'application/json',
|
|
1092
|
-
...options.headers
|
|
1093
|
-
}
|
|
1094
|
-
});
|
|
1095
|
-
/**
|
|
1096
|
-
* Replay events
|
|
1097
|
-
*
|
|
1098
|
-
* Cancels all runs for a list of events.
|
|
1099
|
-
*/
|
|
1100
|
-
export const eventUpdateCancel = (options) => (options.client ?? client).post({
|
|
1101
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1102
|
-
in: 'cookie',
|
|
1103
|
-
name: 'hatchet',
|
|
1104
|
-
type: 'apiKey'
|
|
1105
|
-
}],
|
|
1106
|
-
url: '/api/v1/tenants/{tenant}/events/cancel',
|
|
1107
|
-
...options,
|
|
1108
|
-
headers: {
|
|
1109
|
-
'Content-Type': 'application/json',
|
|
1110
|
-
...options.headers
|
|
1111
|
-
}
|
|
1112
|
-
});
|
|
1113
|
-
/**
|
|
1114
|
-
* List rate limits
|
|
1115
|
-
*
|
|
1116
|
-
* Lists all rate limits for a tenant.
|
|
1117
|
-
*/
|
|
1118
|
-
export const rateLimitList = (options) => (options.client ?? client).get({
|
|
1119
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1120
|
-
in: 'cookie',
|
|
1121
|
-
name: 'hatchet',
|
|
1122
|
-
type: 'apiKey'
|
|
1123
|
-
}],
|
|
1124
|
-
url: '/api/v1/tenants/{tenant}/rate-limits',
|
|
1125
|
-
...options
|
|
1126
|
-
});
|
|
1127
|
-
/**
|
|
1128
|
-
* List tenant members
|
|
1129
|
-
*
|
|
1130
|
-
* Gets a list of tenant members
|
|
1131
|
-
*/
|
|
1132
|
-
export const tenantMemberList = (options) => (options.client ?? client).get({
|
|
1133
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1134
|
-
in: 'cookie',
|
|
1135
|
-
name: 'hatchet',
|
|
1136
|
-
type: 'apiKey'
|
|
1137
|
-
}],
|
|
1138
|
-
url: '/api/v1/tenants/{tenant}/members',
|
|
1139
|
-
...options
|
|
1140
|
-
});
|
|
1141
|
-
/**
|
|
1142
|
-
* Delete a tenant member
|
|
1143
|
-
*
|
|
1144
|
-
* Delete a member from a tenant
|
|
1145
|
-
*/
|
|
1146
|
-
export const tenantMemberDelete = (options) => (options.client ?? client).delete({
|
|
1147
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1148
|
-
in: 'cookie',
|
|
1149
|
-
name: 'hatchet',
|
|
1150
|
-
type: 'apiKey'
|
|
1151
|
-
}],
|
|
1152
|
-
url: '/api/v1/tenants/{tenant}/members/{member}',
|
|
1153
|
-
...options
|
|
1154
|
-
});
|
|
1155
|
-
/**
|
|
1156
|
-
* Update a tenant member
|
|
1157
|
-
*
|
|
1158
|
-
* Update a tenant member
|
|
1159
|
-
*/
|
|
1160
|
-
export const tenantMemberUpdate = (options) => (options.client ?? client).patch({
|
|
1161
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1162
|
-
in: 'cookie',
|
|
1163
|
-
name: 'hatchet',
|
|
1164
|
-
type: 'apiKey'
|
|
1165
|
-
}],
|
|
1166
|
-
url: '/api/v1/tenants/{tenant}/members/{member}',
|
|
1167
|
-
...options,
|
|
1168
|
-
headers: {
|
|
1169
|
-
'Content-Type': 'application/json',
|
|
1170
|
-
...options.headers
|
|
1171
|
-
}
|
|
1172
|
-
});
|
|
1173
|
-
/**
|
|
1174
|
-
* Get event data
|
|
1175
|
-
*
|
|
1176
|
-
* Get an event.
|
|
1177
|
-
*/
|
|
1178
|
-
export const eventGet = (options) => (options.client ?? client).get({
|
|
1179
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1180
|
-
in: 'cookie',
|
|
1181
|
-
name: 'hatchet',
|
|
1182
|
-
type: 'apiKey'
|
|
1183
|
-
}],
|
|
1184
|
-
url: '/api/v1/events/{event}',
|
|
1185
|
-
...options
|
|
1186
|
-
});
|
|
1187
|
-
/**
|
|
1188
|
-
* Get event data
|
|
1189
|
-
*
|
|
1190
|
-
* Get the data for an event.
|
|
1191
|
-
*/
|
|
1192
|
-
export const eventDataGet = (options) => (options.client ?? client).get({
|
|
1193
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1194
|
-
in: 'cookie',
|
|
1195
|
-
name: 'hatchet',
|
|
1196
|
-
type: 'apiKey'
|
|
1197
|
-
}],
|
|
1198
|
-
url: '/api/v1/events/{event}/data',
|
|
1199
|
-
...options
|
|
1200
|
-
});
|
|
1201
|
-
/**
|
|
1202
|
-
* List event keys
|
|
1203
|
-
*
|
|
1204
|
-
* Lists all event keys for a tenant.
|
|
1205
|
-
*/
|
|
1206
|
-
export const eventKeyList = (options) => (options.client ?? client).get({
|
|
1207
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1208
|
-
in: 'cookie',
|
|
1209
|
-
name: 'hatchet',
|
|
1210
|
-
type: 'apiKey'
|
|
1211
|
-
}],
|
|
1212
|
-
url: '/api/v1/tenants/{tenant}/events/keys',
|
|
1213
|
-
...options
|
|
1214
|
-
});
|
|
1215
|
-
/**
|
|
1216
|
-
* Get workflows
|
|
1217
|
-
*
|
|
1218
|
-
* Get all workflows for a tenant
|
|
1219
|
-
*/
|
|
1220
|
-
export const workflowList = (options) => (options.client ?? client).get({
|
|
1221
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1222
|
-
in: 'cookie',
|
|
1223
|
-
name: 'hatchet',
|
|
1224
|
-
type: 'apiKey'
|
|
1225
|
-
}],
|
|
1226
|
-
url: '/api/v1/tenants/{tenant}/workflows',
|
|
1227
|
-
...options
|
|
1228
|
-
});
|
|
1229
|
-
/**
|
|
1230
|
-
* Trigger workflow run
|
|
1231
|
-
*
|
|
1232
|
-
* Schedule a new workflow run for a tenant
|
|
1233
|
-
*/
|
|
1234
|
-
export const scheduledWorkflowRunCreate = (options) => (options.client ?? client).post({
|
|
1235
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1236
|
-
in: 'cookie',
|
|
1237
|
-
name: 'hatchet',
|
|
1238
|
-
type: 'apiKey'
|
|
1239
|
-
}],
|
|
1240
|
-
url: '/api/v1/tenants/{tenant}/workflows/{workflow}/scheduled',
|
|
1241
|
-
...options,
|
|
1242
|
-
headers: {
|
|
1243
|
-
'Content-Type': 'application/json',
|
|
1244
|
-
...options.headers
|
|
1245
|
-
}
|
|
1246
|
-
});
|
|
1247
|
-
/**
|
|
1248
|
-
* Get scheduled workflow runs
|
|
1249
|
-
*
|
|
1250
|
-
* Get all scheduled workflow runs for a tenant
|
|
1251
|
-
*/
|
|
1252
|
-
export const workflowScheduledList = (options) => (options.client ?? client).get({
|
|
1253
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1254
|
-
in: 'cookie',
|
|
1255
|
-
name: 'hatchet',
|
|
1256
|
-
type: 'apiKey'
|
|
1257
|
-
}],
|
|
1258
|
-
url: '/api/v1/tenants/{tenant}/workflows/scheduled',
|
|
1259
|
-
...options
|
|
1260
|
-
});
|
|
1261
|
-
/**
|
|
1262
|
-
* Delete scheduled workflow run
|
|
1263
|
-
*
|
|
1264
|
-
* Delete a scheduled workflow run for a tenant
|
|
1265
|
-
*/
|
|
1266
|
-
export const workflowScheduledDelete = (options) => (options.client ?? client).delete({
|
|
1267
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1268
|
-
in: 'cookie',
|
|
1269
|
-
name: 'hatchet',
|
|
1270
|
-
type: 'apiKey'
|
|
1271
|
-
}],
|
|
1272
|
-
url: '/api/v1/tenants/{tenant}/workflows/scheduled/{scheduled-workflow-run}',
|
|
1273
|
-
...options
|
|
1274
|
-
});
|
|
1275
|
-
/**
|
|
1276
|
-
* Get scheduled workflow run
|
|
1277
|
-
*
|
|
1278
|
-
* Get a scheduled workflow run for a tenant
|
|
1279
|
-
*/
|
|
1280
|
-
export const workflowScheduledGet = (options) => (options.client ?? client).get({
|
|
1281
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1282
|
-
in: 'cookie',
|
|
1283
|
-
name: 'hatchet',
|
|
1284
|
-
type: 'apiKey'
|
|
1285
|
-
}],
|
|
1286
|
-
url: '/api/v1/tenants/{tenant}/workflows/scheduled/{scheduled-workflow-run}',
|
|
1287
|
-
...options
|
|
1288
|
-
});
|
|
1289
|
-
/**
|
|
1290
|
-
* Create cron job workflow trigger
|
|
1291
|
-
*
|
|
1292
|
-
* Create a new cron job workflow trigger for a tenant
|
|
1293
|
-
*/
|
|
1294
|
-
export const cronWorkflowTriggerCreate = (options) => (options.client ?? client).post({
|
|
1295
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1296
|
-
in: 'cookie',
|
|
1297
|
-
name: 'hatchet',
|
|
1298
|
-
type: 'apiKey'
|
|
1299
|
-
}],
|
|
1300
|
-
url: '/api/v1/tenants/{tenant}/workflows/{workflow}/crons',
|
|
1301
|
-
...options,
|
|
1302
|
-
headers: {
|
|
1303
|
-
'Content-Type': 'application/json',
|
|
1304
|
-
...options.headers
|
|
1305
|
-
}
|
|
1306
|
-
});
|
|
1307
|
-
/**
|
|
1308
|
-
* Get cron job workflows
|
|
1309
|
-
*
|
|
1310
|
-
* Get all cron job workflow triggers for a tenant
|
|
1311
|
-
*/
|
|
1312
|
-
export const cronWorkflowList = (options) => (options.client ?? client).get({
|
|
1313
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1314
|
-
in: 'cookie',
|
|
1315
|
-
name: 'hatchet',
|
|
1316
|
-
type: 'apiKey'
|
|
1317
|
-
}],
|
|
1318
|
-
url: '/api/v1/tenants/{tenant}/workflows/crons',
|
|
1319
|
-
...options
|
|
1320
|
-
});
|
|
1321
|
-
/**
|
|
1322
|
-
* Delete cron job workflow run
|
|
1323
|
-
*
|
|
1324
|
-
* Delete a cron job workflow run for a tenant
|
|
1325
|
-
*/
|
|
1326
|
-
export const workflowCronDelete = (options) => (options.client ?? client).delete({
|
|
1327
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1328
|
-
in: 'cookie',
|
|
1329
|
-
name: 'hatchet',
|
|
1330
|
-
type: 'apiKey'
|
|
1331
|
-
}],
|
|
1332
|
-
url: '/api/v1/tenants/{tenant}/workflows/crons/{cron-workflow}',
|
|
1333
|
-
...options
|
|
1334
|
-
});
|
|
1335
|
-
/**
|
|
1336
|
-
* Get cron job workflow run
|
|
1337
|
-
*
|
|
1338
|
-
* Get a cron job workflow run for a tenant
|
|
1339
|
-
*/
|
|
1340
|
-
export const workflowCronGet = (options) => (options.client ?? client).get({
|
|
1341
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1342
|
-
in: 'cookie',
|
|
1343
|
-
name: 'hatchet',
|
|
1344
|
-
type: 'apiKey'
|
|
1345
|
-
}],
|
|
1346
|
-
url: '/api/v1/tenants/{tenant}/workflows/crons/{cron-workflow}',
|
|
1347
|
-
...options
|
|
1348
|
-
});
|
|
1349
|
-
/**
|
|
1350
|
-
* Update cron job workflow run
|
|
1351
|
-
*
|
|
1352
|
-
* Update a cron workflow for a tenant
|
|
1353
|
-
*/
|
|
1354
|
-
export const workflowCronUpdate = (options) => (options.client ?? client).patch({
|
|
1355
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1356
|
-
in: 'cookie',
|
|
1357
|
-
name: 'hatchet',
|
|
1358
|
-
type: 'apiKey'
|
|
1359
|
-
}],
|
|
1360
|
-
url: '/api/v1/tenants/{tenant}/workflows/crons/{cron-workflow}',
|
|
1361
|
-
...options,
|
|
1362
|
-
headers: {
|
|
1363
|
-
'Content-Type': 'application/json',
|
|
1364
|
-
...options.headers
|
|
1365
|
-
}
|
|
1366
|
-
});
|
|
1367
|
-
/**
|
|
1368
|
-
* Cancel workflow runs
|
|
1369
|
-
*
|
|
1370
|
-
* Cancel a batch of workflow runs
|
|
1371
|
-
*/
|
|
1372
|
-
export const workflowRunCancel = (options) => (options.client ?? client).post({
|
|
1373
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1374
|
-
in: 'cookie',
|
|
1375
|
-
name: 'hatchet',
|
|
1376
|
-
type: 'apiKey'
|
|
1377
|
-
}],
|
|
1378
|
-
url: '/api/v1/tenants/{tenant}/workflows/cancel',
|
|
1379
|
-
...options,
|
|
1380
|
-
headers: {
|
|
1381
|
-
'Content-Type': 'application/json',
|
|
1382
|
-
...options.headers
|
|
1383
|
-
}
|
|
1384
|
-
});
|
|
1385
|
-
/**
|
|
1386
|
-
* Delete workflow
|
|
1387
|
-
*
|
|
1388
|
-
* Delete a workflow for a tenant
|
|
1389
|
-
*/
|
|
1390
|
-
export const workflowDelete = (options) => (options.client ?? client).delete({
|
|
1391
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1392
|
-
in: 'cookie',
|
|
1393
|
-
name: 'hatchet',
|
|
1394
|
-
type: 'apiKey'
|
|
1395
|
-
}],
|
|
1396
|
-
url: '/api/v1/workflows/{workflow}',
|
|
1397
|
-
...options
|
|
1398
|
-
});
|
|
1399
|
-
/**
|
|
1400
|
-
* Get workflow
|
|
1401
|
-
*
|
|
1402
|
-
* Get a workflow for a tenant
|
|
1403
|
-
*/
|
|
1404
|
-
export const workflowGet = (options) => (options.client ?? client).get({
|
|
1405
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1406
|
-
in: 'cookie',
|
|
1407
|
-
name: 'hatchet',
|
|
1408
|
-
type: 'apiKey'
|
|
1409
|
-
}],
|
|
1410
|
-
url: '/api/v1/workflows/{workflow}',
|
|
1411
|
-
...options
|
|
1412
|
-
});
|
|
1413
|
-
/**
|
|
1414
|
-
* Update workflow
|
|
1415
|
-
*
|
|
1416
|
-
* Update a workflow for a tenant
|
|
1417
|
-
*/
|
|
1418
|
-
export const workflowUpdate = (options) => (options.client ?? client).patch({
|
|
1419
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1420
|
-
in: 'cookie',
|
|
1421
|
-
name: 'hatchet',
|
|
1422
|
-
type: 'apiKey'
|
|
1423
|
-
}],
|
|
1424
|
-
url: '/api/v1/workflows/{workflow}',
|
|
1425
|
-
...options,
|
|
1426
|
-
headers: {
|
|
1427
|
-
'Content-Type': 'application/json',
|
|
1428
|
-
...options.headers
|
|
1429
|
-
}
|
|
1430
|
-
});
|
|
1431
|
-
/**
|
|
1432
|
-
* Get workflow version
|
|
1433
|
-
*
|
|
1434
|
-
* Get a workflow version for a tenant
|
|
1435
|
-
*/
|
|
1436
|
-
export const workflowVersionGet = (options) => (options.client ?? client).get({
|
|
1437
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1438
|
-
in: 'cookie',
|
|
1439
|
-
name: 'hatchet',
|
|
1440
|
-
type: 'apiKey'
|
|
1441
|
-
}],
|
|
1442
|
-
url: '/api/v1/workflows/{workflow}/versions',
|
|
1443
|
-
...options
|
|
1444
|
-
});
|
|
1445
|
-
/**
|
|
1446
|
-
* Trigger workflow run
|
|
1447
|
-
*
|
|
1448
|
-
* Trigger a new workflow run for a tenant
|
|
1449
|
-
*/
|
|
1450
|
-
export const workflowRunCreate = (options) => (options.client ?? client).post({
|
|
1451
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1452
|
-
in: 'cookie',
|
|
1453
|
-
name: 'hatchet',
|
|
1454
|
-
type: 'apiKey'
|
|
1455
|
-
}],
|
|
1456
|
-
url: '/api/v1/workflows/{workflow}/trigger',
|
|
1457
|
-
...options,
|
|
1458
|
-
headers: {
|
|
1459
|
-
'Content-Type': 'application/json',
|
|
1460
|
-
...options.headers
|
|
1461
|
-
}
|
|
1462
|
-
});
|
|
1463
|
-
/**
|
|
1464
|
-
* Get workflow metrics
|
|
1465
|
-
*
|
|
1466
|
-
* Get the metrics for a workflow version
|
|
1467
|
-
*/
|
|
1468
|
-
export const workflowGetMetrics = (options) => (options.client ?? client).get({
|
|
1469
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1470
|
-
in: 'cookie',
|
|
1471
|
-
name: 'hatchet',
|
|
1472
|
-
type: 'apiKey'
|
|
1473
|
-
}],
|
|
1474
|
-
url: '/api/v1/workflows/{workflow}/metrics',
|
|
1475
|
-
...options
|
|
1476
|
-
});
|
|
1477
|
-
/**
|
|
1478
|
-
* List log lines
|
|
1479
|
-
*
|
|
1480
|
-
* Lists log lines for a step run.
|
|
1481
|
-
*/
|
|
1482
|
-
export const logLineList = (options) => (options.client ?? client).get({
|
|
1483
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1484
|
-
in: 'cookie',
|
|
1485
|
-
name: 'hatchet',
|
|
1486
|
-
type: 'apiKey'
|
|
1487
|
-
}],
|
|
1488
|
-
url: '/api/v1/step-runs/{step-run}/logs',
|
|
1489
|
-
...options
|
|
1490
|
-
});
|
|
1491
|
-
/**
|
|
1492
|
-
* List events for step run
|
|
1493
|
-
*
|
|
1494
|
-
* List events for a step run
|
|
1495
|
-
*/
|
|
1496
|
-
export const stepRunListEvents = (options) => (options.client ?? client).get({
|
|
1497
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1498
|
-
in: 'cookie',
|
|
1499
|
-
name: 'hatchet',
|
|
1500
|
-
type: 'apiKey'
|
|
1501
|
-
}],
|
|
1502
|
-
url: '/api/v1/step-runs/{step-run}/events',
|
|
1503
|
-
...options
|
|
1504
|
-
});
|
|
1505
|
-
/**
|
|
1506
|
-
* List events for all step runs for a workflow run
|
|
1507
|
-
*
|
|
1508
|
-
* List events for all step runs for a workflow run
|
|
1509
|
-
*/
|
|
1510
|
-
export const workflowRunListStepRunEvents = (options) => (options.client ?? client).get({
|
|
1511
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1512
|
-
in: 'cookie',
|
|
1513
|
-
name: 'hatchet',
|
|
1514
|
-
type: 'apiKey'
|
|
1515
|
-
}],
|
|
1516
|
-
url: '/api/v1/tenants/{tenant}/workflow-runs/{workflow-run}/step-run-events',
|
|
1517
|
-
...options
|
|
1518
|
-
});
|
|
1519
|
-
/**
|
|
1520
|
-
* List archives for step run
|
|
1521
|
-
*
|
|
1522
|
-
* List archives for a step run
|
|
1523
|
-
*/
|
|
1524
|
-
export const stepRunListArchives = (options) => (options.client ?? client).get({
|
|
1525
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1526
|
-
in: 'cookie',
|
|
1527
|
-
name: 'hatchet',
|
|
1528
|
-
type: 'apiKey'
|
|
1529
|
-
}],
|
|
1530
|
-
url: '/api/v1/step-runs/{step-run}/archives',
|
|
1531
|
-
...options
|
|
1532
|
-
});
|
|
1533
|
-
/**
|
|
1534
|
-
* Get workflow worker count
|
|
1535
|
-
*
|
|
1536
|
-
* Get a count of the workers available for workflow
|
|
1537
|
-
*/
|
|
1538
|
-
export const workflowGetWorkersCount = (options) => (options.client ?? client).get({
|
|
1539
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1540
|
-
in: 'cookie',
|
|
1541
|
-
name: 'hatchet',
|
|
1542
|
-
type: 'apiKey'
|
|
1543
|
-
}],
|
|
1544
|
-
url: '/api/v1/tenants/{tenant}/workflows/{workflow}/worker-count',
|
|
1545
|
-
...options
|
|
1546
|
-
});
|
|
1547
|
-
/**
|
|
1548
|
-
* Get workflow runs
|
|
1549
|
-
*
|
|
1550
|
-
* Get all workflow runs for a tenant
|
|
1551
|
-
*/
|
|
1552
|
-
export const workflowRunList = (options) => (options.client ?? client).get({
|
|
1553
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1554
|
-
in: 'cookie',
|
|
1555
|
-
name: 'hatchet',
|
|
1556
|
-
type: 'apiKey'
|
|
1557
|
-
}],
|
|
1558
|
-
url: '/api/v1/tenants/{tenant}/workflows/runs',
|
|
1559
|
-
...options
|
|
1560
|
-
});
|
|
1561
|
-
/**
|
|
1562
|
-
* Replay workflow runs
|
|
1563
|
-
*
|
|
1564
|
-
* Replays a list of workflow runs.
|
|
1565
|
-
*/
|
|
1566
|
-
export const workflowRunUpdateReplay = (options) => (options.client ?? client).post({
|
|
1567
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1568
|
-
in: 'cookie',
|
|
1569
|
-
name: 'hatchet',
|
|
1570
|
-
type: 'apiKey'
|
|
1571
|
-
}],
|
|
1572
|
-
url: '/api/v1/tenants/{tenant}/workflow-runs/replay',
|
|
1573
|
-
...options,
|
|
1574
|
-
headers: {
|
|
1575
|
-
'Content-Type': 'application/json',
|
|
1576
|
-
...options.headers
|
|
1577
|
-
}
|
|
1578
|
-
});
|
|
1579
|
-
/**
|
|
1580
|
-
* Get workflow runs metrics
|
|
1581
|
-
*
|
|
1582
|
-
* Get a summary of workflow run metrics for a tenant
|
|
1583
|
-
*/
|
|
1584
|
-
export const workflowRunGetMetrics = (options) => (options.client ?? client).get({
|
|
1585
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1586
|
-
in: 'cookie',
|
|
1587
|
-
name: 'hatchet',
|
|
1588
|
-
type: 'apiKey'
|
|
1589
|
-
}],
|
|
1590
|
-
url: '/api/v1/tenants/{tenant}/workflows/runs/metrics',
|
|
1591
|
-
...options
|
|
1592
|
-
});
|
|
1593
|
-
/**
|
|
1594
|
-
* Get workflow run
|
|
1595
|
-
*
|
|
1596
|
-
* Get a workflow run for a tenant
|
|
1597
|
-
*/
|
|
1598
|
-
export const workflowRunGet = (options) => (options.client ?? client).get({
|
|
1599
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1600
|
-
in: 'cookie',
|
|
1601
|
-
name: 'hatchet',
|
|
1602
|
-
type: 'apiKey'
|
|
1603
|
-
}],
|
|
1604
|
-
url: '/api/v1/tenants/{tenant}/workflow-runs/{workflow-run}',
|
|
1605
|
-
...options
|
|
1606
|
-
});
|
|
1607
|
-
/**
|
|
1608
|
-
* Get workflow run
|
|
1609
|
-
*
|
|
1610
|
-
* Get a workflow run for a tenant
|
|
1611
|
-
*/
|
|
1612
|
-
export const workflowRunGetShape = (options) => (options.client ?? client).get({
|
|
1613
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1614
|
-
in: 'cookie',
|
|
1615
|
-
name: 'hatchet',
|
|
1616
|
-
type: 'apiKey'
|
|
1617
|
-
}],
|
|
1618
|
-
url: '/api/v1/tenants/{tenant}/workflow-runs/{workflow-run}/shape',
|
|
1619
|
-
...options
|
|
1620
|
-
});
|
|
1621
|
-
/**
|
|
1622
|
-
* Get step run
|
|
1623
|
-
*
|
|
1624
|
-
* Get a step run by id
|
|
1625
|
-
*/
|
|
1626
|
-
export const stepRunGet = (options) => (options.client ?? client).get({
|
|
1627
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1628
|
-
in: 'cookie',
|
|
1629
|
-
name: 'hatchet',
|
|
1630
|
-
type: 'apiKey'
|
|
1631
|
-
}],
|
|
1632
|
-
url: '/api/v1/tenants/{tenant}/step-runs/{step-run}',
|
|
1633
|
-
...options
|
|
1634
|
-
});
|
|
1635
|
-
/**
|
|
1636
|
-
* Rerun step run
|
|
1637
|
-
*
|
|
1638
|
-
* Reruns a step run
|
|
1639
|
-
*/
|
|
1640
|
-
export const stepRunUpdateRerun = (options) => (options.client ?? client).post({
|
|
1641
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1642
|
-
in: 'cookie',
|
|
1643
|
-
name: 'hatchet',
|
|
1644
|
-
type: 'apiKey'
|
|
1645
|
-
}],
|
|
1646
|
-
url: '/api/v1/tenants/{tenant}/step-runs/{step-run}/rerun',
|
|
1647
|
-
...options,
|
|
1648
|
-
headers: {
|
|
1649
|
-
'Content-Type': 'application/json',
|
|
1650
|
-
...options.headers
|
|
1651
|
-
}
|
|
1652
|
-
});
|
|
1653
|
-
/**
|
|
1654
|
-
* Attempts to cancel a step run
|
|
1655
|
-
*
|
|
1656
|
-
* Attempts to cancel a step run
|
|
1657
|
-
*/
|
|
1658
|
-
export const stepRunUpdateCancel = (options) => (options.client ?? client).post({
|
|
1659
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1660
|
-
in: 'cookie',
|
|
1661
|
-
name: 'hatchet',
|
|
1662
|
-
type: 'apiKey'
|
|
1663
|
-
}],
|
|
1664
|
-
url: '/api/v1/tenants/{tenant}/step-runs/{step-run}/cancel',
|
|
1665
|
-
...options
|
|
1666
|
-
});
|
|
1667
|
-
/**
|
|
1668
|
-
* Get step run schema
|
|
1669
|
-
*
|
|
1670
|
-
* Get the schema for a step run
|
|
1671
|
-
*/
|
|
1672
|
-
export const stepRunGetSchema = (options) => (options.client ?? client).get({
|
|
1673
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1674
|
-
in: 'cookie',
|
|
1675
|
-
name: 'hatchet',
|
|
1676
|
-
type: 'apiKey'
|
|
1677
|
-
}],
|
|
1678
|
-
url: '/api/v1/tenants/{tenant}/step-runs/{step-run}/schema',
|
|
1679
|
-
...options
|
|
1680
|
-
});
|
|
1681
|
-
/**
|
|
1682
|
-
* Get workers
|
|
1683
|
-
*
|
|
1684
|
-
* Get all workers for a tenant
|
|
1685
|
-
*/
|
|
1686
|
-
export const workerList = (options) => (options.client ?? client).get({
|
|
1687
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1688
|
-
in: 'cookie',
|
|
1689
|
-
name: 'hatchet',
|
|
1690
|
-
type: 'apiKey'
|
|
1691
|
-
}],
|
|
1692
|
-
url: '/api/v1/tenants/{tenant}/worker',
|
|
1693
|
-
...options
|
|
1694
|
-
});
|
|
1695
|
-
/**
|
|
1696
|
-
* Get worker
|
|
1697
|
-
*
|
|
1698
|
-
* Get a worker
|
|
1699
|
-
*/
|
|
1700
|
-
export const workerGet = (options) => (options.client ?? client).get({
|
|
1701
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1702
|
-
in: 'cookie',
|
|
1703
|
-
name: 'hatchet',
|
|
1704
|
-
type: 'apiKey'
|
|
1705
|
-
}],
|
|
1706
|
-
url: '/api/v1/workers/{worker}',
|
|
1707
|
-
...options
|
|
1708
|
-
});
|
|
1709
|
-
/**
|
|
1710
|
-
* Update worker
|
|
1711
|
-
*
|
|
1712
|
-
* Update a worker
|
|
1713
|
-
*/
|
|
1714
|
-
export const workerUpdate = (options) => (options.client ?? client).patch({
|
|
1715
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1716
|
-
in: 'cookie',
|
|
1717
|
-
name: 'hatchet',
|
|
1718
|
-
type: 'apiKey'
|
|
1719
|
-
}],
|
|
1720
|
-
url: '/api/v1/workers/{worker}',
|
|
1721
|
-
...options,
|
|
1722
|
-
headers: {
|
|
1723
|
-
'Content-Type': 'application/json',
|
|
1724
|
-
...options.headers
|
|
1725
|
-
}
|
|
1726
|
-
});
|
|
1727
|
-
/**
|
|
1728
|
-
* List webhooks
|
|
1729
|
-
*
|
|
1730
|
-
* Lists all webhooks
|
|
1731
|
-
*/
|
|
1732
|
-
export const webhookList = (options) => (options.client ?? client).get({
|
|
1733
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1734
|
-
in: 'cookie',
|
|
1735
|
-
name: 'hatchet',
|
|
1736
|
-
type: 'apiKey'
|
|
1737
|
-
}],
|
|
1738
|
-
url: '/api/v1/tenants/{tenant}/webhook-workers',
|
|
1739
|
-
...options
|
|
1740
|
-
});
|
|
1741
|
-
/**
|
|
1742
|
-
* Create a webhook
|
|
1743
|
-
*
|
|
1744
|
-
* Creates a webhook
|
|
1745
|
-
*/
|
|
1746
|
-
export const webhookCreate = (options) => (options.client ?? client).post({
|
|
1747
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1748
|
-
in: 'cookie',
|
|
1749
|
-
name: 'hatchet',
|
|
1750
|
-
type: 'apiKey'
|
|
1751
|
-
}],
|
|
1752
|
-
url: '/api/v1/tenants/{tenant}/webhook-workers',
|
|
1753
|
-
...options,
|
|
1754
|
-
headers: {
|
|
1755
|
-
'Content-Type': 'application/json',
|
|
1756
|
-
...options.headers
|
|
1757
|
-
}
|
|
1758
|
-
});
|
|
1759
|
-
/**
|
|
1760
|
-
* Delete a webhook
|
|
1761
|
-
*
|
|
1762
|
-
* Deletes a webhook
|
|
1763
|
-
*/
|
|
1764
|
-
export const webhookDelete = (options) => (options.client ?? client).delete({
|
|
1765
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1766
|
-
in: 'cookie',
|
|
1767
|
-
name: 'hatchet',
|
|
1768
|
-
type: 'apiKey'
|
|
1769
|
-
}],
|
|
1770
|
-
url: '/api/v1/webhook-workers/{webhook}',
|
|
1771
|
-
...options
|
|
1772
|
-
});
|
|
1773
|
-
/**
|
|
1774
|
-
* List webhook requests
|
|
1775
|
-
*
|
|
1776
|
-
* Lists all requests for a webhook
|
|
1777
|
-
*/
|
|
1778
|
-
export const webhookRequestsList = (options) => (options.client ?? client).get({
|
|
1779
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1780
|
-
in: 'cookie',
|
|
1781
|
-
name: 'hatchet',
|
|
1782
|
-
type: 'apiKey'
|
|
1783
|
-
}],
|
|
1784
|
-
url: '/api/v1/webhook-workers/{webhook}/requests',
|
|
1785
|
-
...options
|
|
1786
|
-
});
|
|
1787
|
-
/**
|
|
1788
|
-
* Get workflow run input
|
|
1789
|
-
*
|
|
1790
|
-
* Get the input for a workflow run.
|
|
1791
|
-
*/
|
|
1792
|
-
export const workflowRunGetInput = (options) => (options.client ?? client).get({
|
|
1793
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1794
|
-
in: 'cookie',
|
|
1795
|
-
name: 'hatchet',
|
|
1796
|
-
type: 'apiKey'
|
|
1797
|
-
}],
|
|
1798
|
-
url: '/api/v1/tenants/{tenant}/workflow-runs/{workflow-run}/input',
|
|
1799
|
-
...options
|
|
1800
|
-
});
|
|
1801
|
-
/**
|
|
1802
|
-
* Detailed Health Probe For the Instance
|
|
1803
|
-
*
|
|
1804
|
-
* Triggers a workflow to check the status of the instance
|
|
1805
|
-
*/
|
|
1806
|
-
export const monitoringPostRunProbe = (options) => (options.client ?? client).post({
|
|
1807
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1808
|
-
in: 'cookie',
|
|
1809
|
-
name: 'hatchet',
|
|
1810
|
-
type: 'apiKey'
|
|
1811
|
-
}],
|
|
1812
|
-
url: '/api/v1/monitoring/{tenant}/probe',
|
|
1813
|
-
...options
|
|
1814
|
-
});
|
|
1815
|
-
/**
|
|
1816
|
-
* We return the version for the currently running server
|
|
1817
|
-
*
|
|
1818
|
-
* Get the version of the server
|
|
1819
|
-
*/
|
|
1820
|
-
export const infoGetVersion = (options) => (options?.client ?? client).get({ url: '/api/v1/version', ...options });
|
|
1821
|
-
/**
|
|
1822
|
-
* Get prometheus metrics
|
|
1823
|
-
*
|
|
1824
|
-
* Get the prometheus metrics for the tenant
|
|
1825
|
-
*/
|
|
1826
|
-
export const tenantGetPrometheusMetrics = (options) => (options.client ?? client).get({
|
|
1827
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1828
|
-
in: 'cookie',
|
|
1829
|
-
name: 'hatchet',
|
|
1830
|
-
type: 'apiKey'
|
|
1831
|
-
}],
|
|
1832
|
-
url: '/api/v1/tenants/{tenant}/prometheus-metrics',
|
|
1833
|
-
...options
|
|
1834
|
-
});
|
|
1835
|
-
/**
|
|
1836
|
-
* Get task stats for tenant
|
|
1837
|
-
*
|
|
1838
|
-
* Get task stats for tenant
|
|
1839
|
-
*/
|
|
1840
|
-
export const tenantGetTaskStats = (options) => (options.client ?? client).get({
|
|
1841
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1842
|
-
in: 'cookie',
|
|
1843
|
-
name: 'hatchet',
|
|
1844
|
-
type: 'apiKey'
|
|
1845
|
-
}],
|
|
1846
|
-
url: '/api/v1/tenants/{tenant}/task-stats',
|
|
1847
|
-
...options
|
|
1848
|
-
});
|
|
1849
|
-
//# sourceMappingURL=sdk.gen.js.map
|