@levr-one/cli 0.5.10 → 0.5.12
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/cli.js +7 -7
- package/dist/{importHandler-CSymzrKs.js → importHandler-Bnyx-U3z.js} +2 -2
- package/dist/{listHandler-DJkyQWFK.js → listHandler-Bsv-WRO5.js} +1 -1
- package/dist/{loginHandler-CEMdXi4w.js → loginHandler-CJK-EvQR.js} +2 -2
- package/dist/{pushHandler-QdmpPPt5.js → pushHandler-DqwTndrh.js} +2 -2
- package/dist/{resolve-workspace-D3cyw4NZ.js → resolve-workspace-CBBAbNqF.js} +1 -1
- package/dist/{sdk-client-853JZ0H8.js → sdk-client-C5-tPv06.js} +191 -916
- package/dist/{selectHandler-oH1uKvxU.js → selectHandler-sCE63-w3.js} +1 -1
- package/dist/{statusHandler-W_0aZlD1.js → statusHandler-CFwH9bOl.js} +1 -1
- package/package.json +1 -1
|
@@ -2,53 +2,53 @@ import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
|
2
2
|
import { z } from "zod/v3";
|
|
3
3
|
|
|
4
4
|
//#region ../sdk/dist/gen/_common/zod.js
|
|
5
|
-
const
|
|
6
|
-
id: z.string(),
|
|
7
|
-
profileName: z.string(),
|
|
8
|
-
providerType: z.number(),
|
|
9
|
-
providerName: z.string(),
|
|
10
|
-
modelName: z.string(),
|
|
11
|
-
temperature: z.number().optional(),
|
|
12
|
-
baseUrl: z.string().optional(),
|
|
13
|
-
isSystem: z.boolean(),
|
|
14
|
-
llmProviderId: z.string(),
|
|
15
|
-
createdAt: z.unknown(),
|
|
16
|
-
updatedAt: z.unknown()
|
|
17
|
-
});
|
|
18
|
-
const zUpdateProfileDto = z.object({
|
|
19
|
-
profileName: z.string().optional(),
|
|
20
|
-
providerType: z.number().optional(),
|
|
21
|
-
apiKey: z.string().optional(),
|
|
22
|
-
baseUrl: z.string().nullable().optional(),
|
|
23
|
-
modelName: z.string().optional(),
|
|
24
|
-
temperature: z.number().nullable().optional()
|
|
25
|
-
});
|
|
26
|
-
const zSuccessResponseDto = z.object({ success: z.boolean() });
|
|
27
|
-
const zResponseWorkspaceDto = z.object({
|
|
5
|
+
const zResponseIssueDto = z.object({
|
|
28
6
|
id: z.string().describe(""),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
company_url: z.string().nullable().optional().describe(""),
|
|
7
|
+
identifier: z.string().optional().describe(""),
|
|
8
|
+
number: z.number().optional().describe(""),
|
|
9
|
+
title: z.string().describe(""),
|
|
33
10
|
description: z.string().nullable().optional().describe(""),
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
11
|
+
priority: z.number().optional().describe(""),
|
|
12
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
13
|
+
rolled_up_estimate: z.number().nullable().optional().describe(""),
|
|
14
|
+
rolled_up_completed_estimate: z.number().nullable().optional().describe(""),
|
|
15
|
+
sequence: z.string().optional().describe(""),
|
|
16
|
+
sub_issue_sequence: z.string().nullable().optional().describe(""),
|
|
17
|
+
due_date: z.unknown().optional().describe(""),
|
|
18
|
+
snoozed_until: z.unknown().optional().describe(""),
|
|
19
|
+
started_at: z.unknown().optional().describe(""),
|
|
20
|
+
completed_at: z.unknown().optional().describe(""),
|
|
21
|
+
canceled_at: z.unknown().optional().describe(""),
|
|
22
|
+
auto_closed_at: z.unknown().optional().describe(""),
|
|
23
|
+
origin: z.string().optional().describe(""),
|
|
24
|
+
origin_detail: z.string().nullable().optional().describe(""),
|
|
25
|
+
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
26
|
+
verification_status: z.string().optional().describe(""),
|
|
27
|
+
confidence_score: z.number().nullable().optional().describe(""),
|
|
28
|
+
added_to_cycle_at: z.unknown().optional().describe(""),
|
|
29
|
+
sla_status: z.string().nullable().optional().describe(""),
|
|
30
|
+
team_id: z.string().describe(""),
|
|
31
|
+
workflow_state_id: z.string().optional().describe(""),
|
|
32
|
+
creator_id: z.string().optional().describe(""),
|
|
33
|
+
gate_set_id: z.string().nullable().optional().describe(""),
|
|
34
|
+
milestone_id: z.string().nullable().optional().describe(""),
|
|
35
|
+
spoke_key: z.string().nullable().optional().describe(""),
|
|
36
|
+
project_id: z.string().nullable().optional(),
|
|
37
|
+
assignee_id: z.string().nullable().optional(),
|
|
38
|
+
parent_id: z.string().nullable().optional(),
|
|
39
|
+
cycle_id: z.string().nullable().optional(),
|
|
40
|
+
type_label_id: z.string().nullable().optional(),
|
|
47
41
|
created_at: z.unknown().describe(""),
|
|
48
42
|
updated_at: z.unknown().describe(""),
|
|
49
43
|
epoch: z.number().describe(""),
|
|
50
44
|
created_by: z.string().describe(""),
|
|
51
|
-
updated_by: z.string().describe("")
|
|
45
|
+
updated_by: z.string().describe(""),
|
|
46
|
+
workspace_id: z.string().describe(""),
|
|
47
|
+
deleted_at: z.unknown().describe(""),
|
|
48
|
+
deleted_by: z.string().nullable().describe(""),
|
|
49
|
+
archived_at: z.unknown().describe(""),
|
|
50
|
+
archived_by: z.string().nullable().describe(""),
|
|
51
|
+
auto_archived_at: z.unknown().describe("")
|
|
52
52
|
});
|
|
53
53
|
const zPaginatedMetaDocumented = z.object({
|
|
54
54
|
itemsPerPage: z.number(),
|
|
@@ -96,54 +96,53 @@ const zResponseLabelDto = z.object({
|
|
|
96
96
|
archived_at: z.unknown().describe(""),
|
|
97
97
|
archived_by: z.string().nullable().describe("")
|
|
98
98
|
});
|
|
99
|
-
const
|
|
99
|
+
const zProfileResponseDto = z.object({
|
|
100
|
+
id: z.string(),
|
|
101
|
+
profileName: z.string(),
|
|
102
|
+
providerType: z.number(),
|
|
103
|
+
providerName: z.string(),
|
|
104
|
+
modelName: z.string(),
|
|
105
|
+
temperature: z.number().optional(),
|
|
106
|
+
baseUrl: z.string().optional(),
|
|
107
|
+
isSystem: z.boolean(),
|
|
108
|
+
llmProviderId: z.string(),
|
|
109
|
+
createdAt: z.unknown(),
|
|
110
|
+
updatedAt: z.unknown()
|
|
111
|
+
});
|
|
112
|
+
const zUpdateProfileDto = z.object({
|
|
113
|
+
profileName: z.string().optional(),
|
|
114
|
+
providerType: z.number().optional(),
|
|
115
|
+
apiKey: z.string().optional(),
|
|
116
|
+
baseUrl: z.string().nullable().optional(),
|
|
117
|
+
modelName: z.string().optional(),
|
|
118
|
+
temperature: z.number().nullable().optional()
|
|
119
|
+
});
|
|
120
|
+
const zSuccessResponseDto = z.object({ success: z.boolean() });
|
|
121
|
+
const zResponseWorkspaceDto = z.object({
|
|
100
122
|
id: z.string().describe(""),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
123
|
+
name: z.string().describe(""),
|
|
124
|
+
database_name: z.string().nullable().optional().describe(""),
|
|
125
|
+
company_name: z.string().nullable().optional().describe(""),
|
|
126
|
+
company_url: z.string().nullable().optional().describe(""),
|
|
104
127
|
description: z.string().nullable().optional().describe(""),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
origin_detail: z.string().nullable().optional().describe(""),
|
|
119
|
-
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
120
|
-
verification_status: z.string().optional().describe(""),
|
|
121
|
-
confidence_score: z.number().nullable().optional().describe(""),
|
|
122
|
-
added_to_cycle_at: z.unknown().optional().describe(""),
|
|
123
|
-
sla_status: z.string().nullable().optional().describe(""),
|
|
124
|
-
team_id: z.string().describe(""),
|
|
125
|
-
workflow_state_id: z.string().optional().describe(""),
|
|
126
|
-
creator_id: z.string().optional().describe(""),
|
|
127
|
-
initiative_id: z.string().nullable().optional().describe(""),
|
|
128
|
-
gate_set_id: z.string().nullable().optional().describe(""),
|
|
129
|
-
milestone_id: z.string().nullable().optional().describe(""),
|
|
130
|
-
spoke_key: z.string().nullable().optional().describe(""),
|
|
131
|
-
project_id: z.string().nullable().optional(),
|
|
132
|
-
assignee_id: z.string().nullable().optional(),
|
|
133
|
-
parent_id: z.string().nullable().optional(),
|
|
134
|
-
cycle_id: z.string().nullable().optional(),
|
|
135
|
-
type_label_id: z.string().nullable().optional(),
|
|
128
|
+
company_email: z.string().nullable().optional().describe(""),
|
|
129
|
+
company_phone: z.string().nullable().optional().describe(""),
|
|
130
|
+
total_run_rows: z.number().optional().describe(""),
|
|
131
|
+
total_run_result_rows: z.number().optional().describe(""),
|
|
132
|
+
total_run_result_step_rows: z.number().optional().describe(""),
|
|
133
|
+
space_limit_per_user: z.number().optional().describe(""),
|
|
134
|
+
openid_url: z.string().nullable().optional().describe(""),
|
|
135
|
+
openid_client_id: z.string().nullable().optional().describe(""),
|
|
136
|
+
type: z.number().nullable().optional().describe(""),
|
|
137
|
+
parent_workspace_id: z.string().nullable().optional().describe(""),
|
|
138
|
+
url_key: z.string().describe(""),
|
|
139
|
+
ai_budget_daily_usd: z.number().nullable().optional().describe(""),
|
|
140
|
+
ai_budget_monthly_usd: z.number().nullable().optional().describe(""),
|
|
136
141
|
created_at: z.unknown().describe(""),
|
|
137
142
|
updated_at: z.unknown().describe(""),
|
|
138
143
|
epoch: z.number().describe(""),
|
|
139
144
|
created_by: z.string().describe(""),
|
|
140
|
-
updated_by: z.string().describe("")
|
|
141
|
-
workspace_id: z.string().describe(""),
|
|
142
|
-
deleted_at: z.unknown().describe(""),
|
|
143
|
-
deleted_by: z.string().nullable().describe(""),
|
|
144
|
-
archived_at: z.unknown().describe(""),
|
|
145
|
-
archived_by: z.string().nullable().describe(""),
|
|
146
|
-
auto_archived_at: z.unknown().describe("")
|
|
145
|
+
updated_by: z.string().describe("")
|
|
147
146
|
});
|
|
148
147
|
const zResponseCommentTestDto = z.object({
|
|
149
148
|
id: z.string().describe(""),
|
|
@@ -213,6 +212,15 @@ const zResponseRoleDto = z.object({
|
|
|
213
212
|
deleted_at: z.unknown().describe(""),
|
|
214
213
|
deleted_by: z.string().nullable().describe("")
|
|
215
214
|
});
|
|
215
|
+
const zCascadeIssueRefDto = z.object({
|
|
216
|
+
id: z.string(),
|
|
217
|
+
identifier: z.record(z.string(), z.unknown()).nullable(),
|
|
218
|
+
title: z.record(z.string(), z.unknown()).nullable()
|
|
219
|
+
});
|
|
220
|
+
const zCascadeSkipDto = z.object({
|
|
221
|
+
issue: zCascadeIssueRefDto,
|
|
222
|
+
reason: z.string()
|
|
223
|
+
});
|
|
216
224
|
|
|
217
225
|
//#endregion
|
|
218
226
|
//#region ../sdk/dist/runtime/client.js
|
|
@@ -14941,18 +14949,25 @@ const zCreateInitiativeDto = z.object({
|
|
|
14941
14949
|
"at_risk",
|
|
14942
14950
|
"off_track"
|
|
14943
14951
|
]).nullable().optional().describe(""),
|
|
14944
|
-
|
|
14952
|
+
due_date: z.unknown().optional().describe(""),
|
|
14953
|
+
due_date_precision: z.enum([
|
|
14954
|
+
"day",
|
|
14955
|
+
"month",
|
|
14956
|
+
"quarter",
|
|
14957
|
+
"half_year",
|
|
14958
|
+
"year"
|
|
14959
|
+
]).optional().describe(""),
|
|
14945
14960
|
update_schedule_days: z.number().nullable().optional().describe(""),
|
|
14946
14961
|
sequence: z.string().optional().describe(""),
|
|
14947
14962
|
started_at: z.unknown().optional().describe(""),
|
|
14948
14963
|
completed_at: z.unknown().optional().describe(""),
|
|
14949
14964
|
canceled_at: z.unknown().optional().describe(""),
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
-
|
|
14965
|
+
scope: z.number().optional().describe(""),
|
|
14966
|
+
completed_scope: z.number().optional().describe(""),
|
|
14967
|
+
progress: z.number().optional().describe(""),
|
|
14968
|
+
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
14969
|
+
project_count: z.number().optional().describe(""),
|
|
14970
|
+
completed_project_count: z.number().optional().describe(""),
|
|
14956
14971
|
owner_id: z.string().nullable().optional(),
|
|
14957
14972
|
creator_id: z.string(),
|
|
14958
14973
|
parent_id: z.string().nullable().optional()
|
|
@@ -14976,18 +14991,25 @@ const zResponseInitiativeDto = z.object({
|
|
|
14976
14991
|
"at_risk",
|
|
14977
14992
|
"off_track"
|
|
14978
14993
|
]).nullable().optional().describe(""),
|
|
14979
|
-
|
|
14994
|
+
due_date: z.unknown().optional().describe(""),
|
|
14995
|
+
due_date_precision: z.enum([
|
|
14996
|
+
"day",
|
|
14997
|
+
"month",
|
|
14998
|
+
"quarter",
|
|
14999
|
+
"half_year",
|
|
15000
|
+
"year"
|
|
15001
|
+
]).optional().describe(""),
|
|
14980
15002
|
update_schedule_days: z.number().nullable().optional().describe(""),
|
|
14981
15003
|
sequence: z.string().optional().describe(""),
|
|
14982
15004
|
started_at: z.unknown().optional().describe(""),
|
|
14983
15005
|
completed_at: z.unknown().optional().describe(""),
|
|
14984
15006
|
canceled_at: z.unknown().optional().describe(""),
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
15007
|
+
scope: z.number().optional().describe(""),
|
|
15008
|
+
completed_scope: z.number().optional().describe(""),
|
|
15009
|
+
progress: z.number().optional().describe(""),
|
|
15010
|
+
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
15011
|
+
project_count: z.number().optional().describe(""),
|
|
15012
|
+
completed_project_count: z.number().optional().describe(""),
|
|
14991
15013
|
owner_id: z.string().nullable().optional(),
|
|
14992
15014
|
creator_id: z.string(),
|
|
14993
15015
|
parent_id: z.string().nullable().optional(),
|
|
@@ -15021,18 +15043,25 @@ const zUpdateInitiativeDto = z.object({
|
|
|
15021
15043
|
"at_risk",
|
|
15022
15044
|
"off_track"
|
|
15023
15045
|
]).nullable().optional().describe(""),
|
|
15024
|
-
|
|
15046
|
+
due_date: z.unknown().optional().describe(""),
|
|
15047
|
+
due_date_precision: z.enum([
|
|
15048
|
+
"day",
|
|
15049
|
+
"month",
|
|
15050
|
+
"quarter",
|
|
15051
|
+
"half_year",
|
|
15052
|
+
"year"
|
|
15053
|
+
]).optional().describe(""),
|
|
15025
15054
|
update_schedule_days: z.number().nullable().optional().describe(""),
|
|
15026
15055
|
sequence: z.string().optional().describe(""),
|
|
15027
15056
|
started_at: z.unknown().optional().describe(""),
|
|
15028
15057
|
completed_at: z.unknown().optional().describe(""),
|
|
15029
15058
|
canceled_at: z.unknown().optional().describe(""),
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
|
|
15035
|
-
|
|
15059
|
+
scope: z.number().optional().describe(""),
|
|
15060
|
+
completed_scope: z.number().optional().describe(""),
|
|
15061
|
+
progress: z.number().optional().describe(""),
|
|
15062
|
+
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
15063
|
+
project_count: z.number().optional().describe(""),
|
|
15064
|
+
completed_project_count: z.number().optional().describe(""),
|
|
15036
15065
|
owner_id: z.string().nullable().optional(),
|
|
15037
15066
|
creator_id: z.string().optional(),
|
|
15038
15067
|
parent_id: z.string().nullable().optional(),
|
|
@@ -15085,18 +15114,18 @@ const zInitiativeFindAllV1Data = z.object({
|
|
|
15085
15114
|
"filter.content": z.array(z.string()).optional(),
|
|
15086
15115
|
"filter.icon": z.array(z.string()).optional(),
|
|
15087
15116
|
"filter.color": z.array(z.string()).optional(),
|
|
15088
|
-
"filter.
|
|
15117
|
+
"filter.due_date": z.array(z.string()).optional(),
|
|
15089
15118
|
"filter.update_schedule_days": z.array(z.string()).optional(),
|
|
15090
15119
|
"filter.sequence": z.array(z.string()).optional(),
|
|
15091
15120
|
"filter.started_at": z.array(z.string()).optional(),
|
|
15092
15121
|
"filter.completed_at": z.array(z.string()).optional(),
|
|
15093
15122
|
"filter.canceled_at": z.array(z.string()).optional(),
|
|
15094
|
-
"filter.
|
|
15095
|
-
"filter.
|
|
15096
|
-
"filter.
|
|
15097
|
-
"filter.
|
|
15098
|
-
"filter.
|
|
15099
|
-
"filter.
|
|
15123
|
+
"filter.scope": z.array(z.string()).optional(),
|
|
15124
|
+
"filter.completed_scope": z.array(z.string()).optional(),
|
|
15125
|
+
"filter.progress": z.array(z.string()).optional(),
|
|
15126
|
+
"filter.scope_is_mixed_unit": z.array(z.string()).optional(),
|
|
15127
|
+
"filter.project_count": z.array(z.string()).optional(),
|
|
15128
|
+
"filter.completed_project_count": z.array(z.string()).optional(),
|
|
15100
15129
|
"filter.owner_id": z.array(z.string()).optional(),
|
|
15101
15130
|
"filter.creator_id": z.array(z.string()).optional(),
|
|
15102
15131
|
"filter.parent_id": z.array(z.string()).optional(),
|
|
@@ -15119,8 +15148,8 @@ const zInitiativeFindAllV1Data = z.object({
|
|
|
15119
15148
|
"icon:DESC",
|
|
15120
15149
|
"color:ASC",
|
|
15121
15150
|
"color:DESC",
|
|
15122
|
-
"
|
|
15123
|
-
"
|
|
15151
|
+
"due_date:ASC",
|
|
15152
|
+
"due_date:DESC",
|
|
15124
15153
|
"update_schedule_days:ASC",
|
|
15125
15154
|
"update_schedule_days:DESC",
|
|
15126
15155
|
"sequence:ASC",
|
|
@@ -15131,18 +15160,16 @@ const zInitiativeFindAllV1Data = z.object({
|
|
|
15131
15160
|
"completed_at:DESC",
|
|
15132
15161
|
"canceled_at:ASC",
|
|
15133
15162
|
"canceled_at:DESC",
|
|
15134
|
-
"
|
|
15135
|
-
"
|
|
15136
|
-
"
|
|
15137
|
-
"
|
|
15138
|
-
"
|
|
15139
|
-
"
|
|
15140
|
-
"
|
|
15141
|
-
"
|
|
15142
|
-
"
|
|
15143
|
-
"
|
|
15144
|
-
"closed_linked_issues:ASC",
|
|
15145
|
-
"closed_linked_issues:DESC",
|
|
15163
|
+
"scope:ASC",
|
|
15164
|
+
"scope:DESC",
|
|
15165
|
+
"completed_scope:ASC",
|
|
15166
|
+
"completed_scope:DESC",
|
|
15167
|
+
"progress:ASC",
|
|
15168
|
+
"progress:DESC",
|
|
15169
|
+
"project_count:ASC",
|
|
15170
|
+
"project_count:DESC",
|
|
15171
|
+
"completed_project_count:ASC",
|
|
15172
|
+
"completed_project_count:DESC",
|
|
15146
15173
|
"owner_id:ASC",
|
|
15147
15174
|
"owner_id:DESC",
|
|
15148
15175
|
"parent_id:ASC",
|
|
@@ -15194,69 +15221,43 @@ const zInitiativeUnarchiveV1Data = z.object({
|
|
|
15194
15221
|
});
|
|
15195
15222
|
|
|
15196
15223
|
//#endregion
|
|
15197
|
-
//#region ../sdk/dist/gen/initiative-
|
|
15198
|
-
const
|
|
15224
|
+
//#region ../sdk/dist/gen/initiative-project/zod.js
|
|
15225
|
+
const zCreateInitiativeProjectDto = z.object({
|
|
15199
15226
|
id: z.string().optional().describe(""),
|
|
15200
|
-
name: z.string().describe(""),
|
|
15201
|
-
definition: z.string().nullable().optional().describe(""),
|
|
15202
|
-
column_config: z.unknown().optional().describe(""),
|
|
15203
|
-
sync_stats: z.unknown().optional().describe(""),
|
|
15204
|
-
last_synced_at: z.unknown().optional().describe(""),
|
|
15205
15227
|
sequence: z.string().optional().describe(""),
|
|
15206
|
-
initiative_id: z.string()
|
|
15207
|
-
|
|
15208
|
-
project_id: z.string().nullable().optional(),
|
|
15209
|
-
creator_id: z.string()
|
|
15228
|
+
initiative_id: z.string(),
|
|
15229
|
+
project_id: z.string()
|
|
15210
15230
|
});
|
|
15211
|
-
const
|
|
15231
|
+
const zResponseInitiativeProjectDto = z.object({
|
|
15212
15232
|
id: z.string().describe(""),
|
|
15213
|
-
name: z.string().describe(""),
|
|
15214
|
-
definition: z.string().nullable().optional().describe(""),
|
|
15215
|
-
column_config: z.unknown().optional().describe(""),
|
|
15216
|
-
sync_stats: z.unknown().optional().describe(""),
|
|
15217
|
-
last_synced_at: z.unknown().optional().describe(""),
|
|
15218
15233
|
sequence: z.string().optional().describe(""),
|
|
15219
|
-
initiative_id: z.string()
|
|
15220
|
-
|
|
15221
|
-
project_id: z.string().nullable().optional(),
|
|
15222
|
-
creator_id: z.string(),
|
|
15234
|
+
initiative_id: z.string(),
|
|
15235
|
+
project_id: z.string(),
|
|
15223
15236
|
created_at: z.unknown().describe(""),
|
|
15224
15237
|
updated_at: z.unknown().describe(""),
|
|
15225
15238
|
epoch: z.number().describe(""),
|
|
15226
15239
|
created_by: z.string().describe(""),
|
|
15227
15240
|
updated_by: z.string().describe(""),
|
|
15228
|
-
workspace_id: z.string().describe("")
|
|
15229
|
-
deleted_at: z.unknown().describe(""),
|
|
15230
|
-
deleted_by: z.string().nullable().describe(""),
|
|
15231
|
-
archived_at: z.unknown().describe(""),
|
|
15232
|
-
archived_by: z.string().nullable().describe("")
|
|
15241
|
+
workspace_id: z.string().describe("")
|
|
15233
15242
|
});
|
|
15234
|
-
const
|
|
15243
|
+
const zUpdateInitiativeProjectDto = z.object({
|
|
15235
15244
|
id: z.string().optional().describe(""),
|
|
15236
|
-
name: z.string().optional().describe(""),
|
|
15237
|
-
definition: z.string().nullable().optional().describe(""),
|
|
15238
|
-
column_config: z.unknown().optional().describe(""),
|
|
15239
|
-
sync_stats: z.unknown().optional().describe(""),
|
|
15240
|
-
last_synced_at: z.unknown().optional().describe(""),
|
|
15241
15245
|
sequence: z.string().optional().describe(""),
|
|
15242
|
-
initiative_id: z.string().
|
|
15243
|
-
|
|
15244
|
-
project_id: z.string().nullable().optional(),
|
|
15245
|
-
creator_id: z.string().optional(),
|
|
15246
|
-
archived_at: z.unknown().optional().describe("")
|
|
15246
|
+
initiative_id: z.string().optional(),
|
|
15247
|
+
project_id: z.string().optional()
|
|
15247
15248
|
});
|
|
15248
|
-
const
|
|
15249
|
+
const zInitiativeProjectBulkOperationDto = z.object({
|
|
15249
15250
|
op: z.enum([
|
|
15250
15251
|
"create",
|
|
15251
15252
|
"update",
|
|
15252
15253
|
"delete"
|
|
15253
15254
|
]).describe(""),
|
|
15254
15255
|
id: z.string().optional().describe(""),
|
|
15255
|
-
data: z.union([
|
|
15256
|
+
data: z.union([zCreateInitiativeProjectDto, zUpdateInitiativeProjectDto]).optional().describe(""),
|
|
15256
15257
|
tx_id: z.string().describe("")
|
|
15257
15258
|
});
|
|
15258
|
-
const
|
|
15259
|
-
const
|
|
15259
|
+
const zBulkInitiativeProjectRequestDto = z.object({ operations: z.array(zInitiativeProjectBulkOperationDto).describe("") });
|
|
15260
|
+
const zBulkInitiativeProjectOperationResultDto = z.object({
|
|
15260
15261
|
index: z.number().describe(""),
|
|
15261
15262
|
tx_id: z.string().describe(""),
|
|
15262
15263
|
status: z.number().describe(""),
|
|
@@ -15265,10 +15266,10 @@ const zBulkInitiativeGridOperationResultDto = z.object({
|
|
|
15265
15266
|
code: z.string().optional(),
|
|
15266
15267
|
details: z.unknown().optional()
|
|
15267
15268
|
}).optional().describe(""),
|
|
15268
|
-
response:
|
|
15269
|
+
response: zResponseInitiativeProjectDto.optional().describe("")
|
|
15269
15270
|
});
|
|
15270
|
-
const
|
|
15271
|
-
results: z.array(
|
|
15271
|
+
const zBulkInitiativeProjectResponseDto = z.object({
|
|
15272
|
+
results: z.array(zBulkInitiativeProjectOperationResultDto).describe(""),
|
|
15272
15273
|
summary: z.object({
|
|
15273
15274
|
total: z.number().describe(""),
|
|
15274
15275
|
successful: z.number().describe(""),
|
|
@@ -15276,308 +15277,11 @@ const zBulkInitiativeGridResponseDto = z.object({
|
|
|
15276
15277
|
savepoints_used: z.number().describe("")
|
|
15277
15278
|
}).describe("")
|
|
15278
15279
|
});
|
|
15279
|
-
const
|
|
15280
|
-
body:
|
|
15281
|
-
url: z.literal("/v1/initiative-
|
|
15280
|
+
const zInitiativeProjectCreateV1Data = z.object({
|
|
15281
|
+
body: zCreateInitiativeProjectDto,
|
|
15282
|
+
url: z.literal("/v1/initiative-project")
|
|
15282
15283
|
});
|
|
15283
|
-
const
|
|
15284
|
-
query: z.object({
|
|
15285
|
-
"_with": z.string().optional(),
|
|
15286
|
-
"page": z.number().optional(),
|
|
15287
|
-
"limit": z.number().optional(),
|
|
15288
|
-
"filter.id": z.array(z.string()).optional(),
|
|
15289
|
-
"filter.name": z.array(z.string()).optional(),
|
|
15290
|
-
"filter.definition": z.array(z.string()).optional(),
|
|
15291
|
-
"filter.last_synced_at": z.array(z.string()).optional(),
|
|
15292
|
-
"filter.sequence": z.array(z.string()).optional(),
|
|
15293
|
-
"filter.initiative_id": z.array(z.string()).optional(),
|
|
15294
|
-
"filter.team_id": z.array(z.string()).optional(),
|
|
15295
|
-
"filter.creator_id": z.array(z.string()).optional(),
|
|
15296
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
15297
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
15298
|
-
"filter.project_id": z.array(z.string()).optional(),
|
|
15299
|
-
"filter.deleted_at": z.array(z.string()).optional(),
|
|
15300
|
-
"filter.archived_at": z.array(z.string()).optional(),
|
|
15301
|
-
"sortBy": z.array(z.enum([
|
|
15302
|
-
"id:ASC",
|
|
15303
|
-
"id:DESC",
|
|
15304
|
-
"name:ASC",
|
|
15305
|
-
"name:DESC",
|
|
15306
|
-
"definition:ASC",
|
|
15307
|
-
"definition:DESC",
|
|
15308
|
-
"last_synced_at:ASC",
|
|
15309
|
-
"last_synced_at:DESC",
|
|
15310
|
-
"sequence:ASC",
|
|
15311
|
-
"sequence:DESC",
|
|
15312
|
-
"initiative_id:ASC",
|
|
15313
|
-
"initiative_id:DESC",
|
|
15314
|
-
"project_id:ASC",
|
|
15315
|
-
"project_id:DESC",
|
|
15316
|
-
"created_at:ASC",
|
|
15317
|
-
"created_at:DESC",
|
|
15318
|
-
"updated_at:ASC",
|
|
15319
|
-
"updated_at:DESC",
|
|
15320
|
-
"deleted_at:ASC",
|
|
15321
|
-
"deleted_at:DESC",
|
|
15322
|
-
"archived_at:ASC",
|
|
15323
|
-
"archived_at:DESC"
|
|
15324
|
-
])).optional(),
|
|
15325
|
-
"search": z.string().optional(),
|
|
15326
|
-
"searchBy": z.array(z.string()).optional()
|
|
15327
|
-
}).optional(),
|
|
15328
|
-
url: z.literal("/v1/initiative-grid")
|
|
15329
|
-
});
|
|
15330
|
-
const zInitiativeGridFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/initiative-grid/recently-deleted") });
|
|
15331
|
-
const zInitiativeGridFindArchivedV1Data = z.object({ url: z.literal("/v1/initiative-grid/archived") });
|
|
15332
|
-
const zInitiativeGridFindOneV1Data = z.object({
|
|
15333
|
-
path: z.object({ "id": z.string() }),
|
|
15334
|
-
url: z.literal("/v1/initiative-grid/{id}")
|
|
15335
|
-
});
|
|
15336
|
-
const zInitiativeGridUpdateV1Data = z.object({
|
|
15337
|
-
body: zUpdateInitiativeGridDto,
|
|
15338
|
-
path: z.object({ "id": z.string() }),
|
|
15339
|
-
url: z.literal("/v1/initiative-grid/{id}")
|
|
15340
|
-
});
|
|
15341
|
-
const zInitiativeGridRemoveV1Data = z.object({
|
|
15342
|
-
path: z.object({ "id": z.string() }),
|
|
15343
|
-
url: z.literal("/v1/initiative-grid/{id}")
|
|
15344
|
-
});
|
|
15345
|
-
const zInitiativeGridBulkOperationV1Data = z.object({
|
|
15346
|
-
body: zBulkInitiativeGridRequestDto,
|
|
15347
|
-
url: z.literal("/v1/initiative-grid/bulk")
|
|
15348
|
-
});
|
|
15349
|
-
const zInitiativeGridRestoreV1Data = z.object({
|
|
15350
|
-
path: z.object({ "id": z.string() }),
|
|
15351
|
-
url: z.literal("/v1/initiative-grid/{id}/restore")
|
|
15352
|
-
});
|
|
15353
|
-
const zInitiativeGridArchiveV1Data = z.object({
|
|
15354
|
-
path: z.object({ "id": z.string() }),
|
|
15355
|
-
url: z.literal("/v1/initiative-grid/{id}/archive")
|
|
15356
|
-
});
|
|
15357
|
-
const zInitiativeGridUnarchiveV1Data = z.object({
|
|
15358
|
-
path: z.object({ "id": z.string() }),
|
|
15359
|
-
url: z.literal("/v1/initiative-grid/{id}/unarchive")
|
|
15360
|
-
});
|
|
15361
|
-
|
|
15362
|
-
//#endregion
|
|
15363
|
-
//#region ../sdk/dist/gen/initiative-grid-row/zod.js
|
|
15364
|
-
const zCreateInitiativeGridRowDto = z.object({
|
|
15365
|
-
id: z.string().optional().describe(""),
|
|
15366
|
-
depth: z.number().optional().describe(""),
|
|
15367
|
-
sequence: z.string().optional().describe(""),
|
|
15368
|
-
cells: z.unknown().optional().describe(""),
|
|
15369
|
-
last_synced_cells: z.unknown().optional().describe(""),
|
|
15370
|
-
grid_id: z.string(),
|
|
15371
|
-
issue_id: z.string().nullable().optional(),
|
|
15372
|
-
creator_id: z.string()
|
|
15373
|
-
});
|
|
15374
|
-
const zResponseInitiativeGridRowDto = z.object({
|
|
15375
|
-
id: z.string().describe(""),
|
|
15376
|
-
depth: z.number().optional().describe(""),
|
|
15377
|
-
sequence: z.string().optional().describe(""),
|
|
15378
|
-
cells: z.unknown().optional().describe(""),
|
|
15379
|
-
last_synced_cells: z.unknown().optional().describe(""),
|
|
15380
|
-
grid_id: z.string(),
|
|
15381
|
-
issue_id: z.string().nullable().optional(),
|
|
15382
|
-
creator_id: z.string(),
|
|
15383
|
-
created_at: z.unknown().describe(""),
|
|
15384
|
-
updated_at: z.unknown().describe(""),
|
|
15385
|
-
epoch: z.number().describe(""),
|
|
15386
|
-
created_by: z.string().describe(""),
|
|
15387
|
-
updated_by: z.string().describe(""),
|
|
15388
|
-
workspace_id: z.string().describe(""),
|
|
15389
|
-
deleted_at: z.unknown().describe(""),
|
|
15390
|
-
deleted_by: z.string().nullable().describe("")
|
|
15391
|
-
});
|
|
15392
|
-
const zUpdateInitiativeGridRowDto = z.object({
|
|
15393
|
-
id: z.string().optional().describe(""),
|
|
15394
|
-
depth: z.number().optional().describe(""),
|
|
15395
|
-
sequence: z.string().optional().describe(""),
|
|
15396
|
-
cells: z.unknown().optional().describe(""),
|
|
15397
|
-
last_synced_cells: z.unknown().optional().describe(""),
|
|
15398
|
-
grid_id: z.string().optional(),
|
|
15399
|
-
issue_id: z.string().nullable().optional(),
|
|
15400
|
-
creator_id: z.string().optional()
|
|
15401
|
-
});
|
|
15402
|
-
const zInitiativeGridRowBulkOperationDto = z.object({
|
|
15403
|
-
op: z.enum([
|
|
15404
|
-
"create",
|
|
15405
|
-
"update",
|
|
15406
|
-
"delete"
|
|
15407
|
-
]).describe(""),
|
|
15408
|
-
id: z.string().optional().describe(""),
|
|
15409
|
-
data: z.union([zCreateInitiativeGridRowDto, zUpdateInitiativeGridRowDto]).optional().describe(""),
|
|
15410
|
-
tx_id: z.string().describe("")
|
|
15411
|
-
});
|
|
15412
|
-
const zBulkInitiativeGridRowRequestDto = z.object({ operations: z.array(zInitiativeGridRowBulkOperationDto).describe("") });
|
|
15413
|
-
const zBulkInitiativeGridRowOperationResultDto = z.object({
|
|
15414
|
-
index: z.number().describe(""),
|
|
15415
|
-
tx_id: z.string().describe(""),
|
|
15416
|
-
status: z.number().describe(""),
|
|
15417
|
-
error: z.object({
|
|
15418
|
-
message: z.string().optional(),
|
|
15419
|
-
code: z.string().optional(),
|
|
15420
|
-
details: z.unknown().optional()
|
|
15421
|
-
}).optional().describe(""),
|
|
15422
|
-
response: zResponseInitiativeGridRowDto.optional().describe("")
|
|
15423
|
-
});
|
|
15424
|
-
const zBulkInitiativeGridRowResponseDto = z.object({
|
|
15425
|
-
results: z.array(zBulkInitiativeGridRowOperationResultDto).describe(""),
|
|
15426
|
-
summary: z.object({
|
|
15427
|
-
total: z.number().describe(""),
|
|
15428
|
-
successful: z.number().describe(""),
|
|
15429
|
-
failed: z.number().describe(""),
|
|
15430
|
-
savepoints_used: z.number().describe("")
|
|
15431
|
-
}).describe("")
|
|
15432
|
-
});
|
|
15433
|
-
const zInitiativeGridRowCreateV1Data = z.object({
|
|
15434
|
-
body: zCreateInitiativeGridRowDto,
|
|
15435
|
-
url: z.literal("/v1/initiative-grid-row")
|
|
15436
|
-
});
|
|
15437
|
-
const zInitiativeGridRowFindAllV1Data = z.object({
|
|
15438
|
-
query: z.object({
|
|
15439
|
-
"_with": z.string().optional(),
|
|
15440
|
-
"page": z.number().optional(),
|
|
15441
|
-
"limit": z.number().optional(),
|
|
15442
|
-
"filter.id": z.array(z.string()).optional(),
|
|
15443
|
-
"filter.depth": z.array(z.string()).optional(),
|
|
15444
|
-
"filter.sequence": z.array(z.string()).optional(),
|
|
15445
|
-
"filter.grid_id": z.array(z.string()).optional(),
|
|
15446
|
-
"filter.issue_id": z.array(z.string()).optional(),
|
|
15447
|
-
"filter.creator_id": z.array(z.string()).optional(),
|
|
15448
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
15449
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
15450
|
-
"filter.deleted_at": z.array(z.string()).optional(),
|
|
15451
|
-
"sortBy": z.array(z.enum([
|
|
15452
|
-
"id:ASC",
|
|
15453
|
-
"id:DESC",
|
|
15454
|
-
"depth:ASC",
|
|
15455
|
-
"depth:DESC",
|
|
15456
|
-
"sequence:ASC",
|
|
15457
|
-
"sequence:DESC",
|
|
15458
|
-
"issue_id:ASC",
|
|
15459
|
-
"issue_id:DESC",
|
|
15460
|
-
"created_at:ASC",
|
|
15461
|
-
"created_at:DESC",
|
|
15462
|
-
"updated_at:ASC",
|
|
15463
|
-
"updated_at:DESC",
|
|
15464
|
-
"deleted_at:ASC",
|
|
15465
|
-
"deleted_at:DESC"
|
|
15466
|
-
])).optional(),
|
|
15467
|
-
"search": z.string().optional(),
|
|
15468
|
-
"searchBy": z.array(z.string()).optional()
|
|
15469
|
-
}).optional(),
|
|
15470
|
-
url: z.literal("/v1/initiative-grid-row")
|
|
15471
|
-
});
|
|
15472
|
-
const zInitiativeGridRowFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/initiative-grid-row/recently-deleted") });
|
|
15473
|
-
const zInitiativeGridRowFindOneV1Data = z.object({
|
|
15474
|
-
path: z.object({ "id": z.string() }),
|
|
15475
|
-
url: z.literal("/v1/initiative-grid-row/{id}")
|
|
15476
|
-
});
|
|
15477
|
-
const zInitiativeGridRowUpdateV1Data = z.object({
|
|
15478
|
-
body: zUpdateInitiativeGridRowDto,
|
|
15479
|
-
path: z.object({ "id": z.string() }),
|
|
15480
|
-
url: z.literal("/v1/initiative-grid-row/{id}")
|
|
15481
|
-
});
|
|
15482
|
-
const zInitiativeGridRowRemoveV1Data = z.object({
|
|
15483
|
-
path: z.object({ "id": z.string() }),
|
|
15484
|
-
url: z.literal("/v1/initiative-grid-row/{id}")
|
|
15485
|
-
});
|
|
15486
|
-
const zInitiativeGridRowBulkOperationV1Data = z.object({
|
|
15487
|
-
body: zBulkInitiativeGridRowRequestDto,
|
|
15488
|
-
url: z.literal("/v1/initiative-grid-row/bulk")
|
|
15489
|
-
});
|
|
15490
|
-
const zInitiativeGridRowRestoreV1Data = z.object({
|
|
15491
|
-
path: z.object({ "id": z.string() }),
|
|
15492
|
-
url: z.literal("/v1/initiative-grid-row/{id}/restore")
|
|
15493
|
-
});
|
|
15494
|
-
|
|
15495
|
-
//#endregion
|
|
15496
|
-
//#region ../sdk/dist/gen/initiative-grid-sync/zod.js
|
|
15497
|
-
const zSyncRowConflictDto = z.object({
|
|
15498
|
-
row_id: z.string().describe(""),
|
|
15499
|
-
issue_id: z.string().describe(""),
|
|
15500
|
-
fields: z.array(z.string()).describe("")
|
|
15501
|
-
});
|
|
15502
|
-
const zSyncRowErrorDto = z.object({
|
|
15503
|
-
row_id: z.string().describe(""),
|
|
15504
|
-
message: z.string().describe("")
|
|
15505
|
-
});
|
|
15506
|
-
const zSyncInitiativeGridResponseDto = z.object({
|
|
15507
|
-
project_id: z.record(z.string(), z.unknown()).nullable().describe(""),
|
|
15508
|
-
created: z.number().describe(""),
|
|
15509
|
-
updated: z.number().describe(""),
|
|
15510
|
-
skipped: z.number().describe(""),
|
|
15511
|
-
conflicts: z.array(zSyncRowConflictDto).describe(""),
|
|
15512
|
-
errors: z.array(zSyncRowErrorDto).describe("")
|
|
15513
|
-
});
|
|
15514
|
-
const zInitiativeGridSyncSyncV1Data = z.object({
|
|
15515
|
-
path: z.object({ "id": z.string() }),
|
|
15516
|
-
url: z.literal("/v1/initiative-grid/{id}/sync")
|
|
15517
|
-
});
|
|
15518
|
-
|
|
15519
|
-
//#endregion
|
|
15520
|
-
//#region ../sdk/dist/gen/initiative-project/zod.js
|
|
15521
|
-
const zCreateInitiativeProjectDto = z.object({
|
|
15522
|
-
id: z.string().optional().describe(""),
|
|
15523
|
-
sequence: z.string().optional().describe(""),
|
|
15524
|
-
initiative_id: z.string(),
|
|
15525
|
-
project_id: z.string()
|
|
15526
|
-
});
|
|
15527
|
-
const zResponseInitiativeProjectDto = z.object({
|
|
15528
|
-
id: z.string().describe(""),
|
|
15529
|
-
sequence: z.string().optional().describe(""),
|
|
15530
|
-
initiative_id: z.string(),
|
|
15531
|
-
project_id: z.string(),
|
|
15532
|
-
created_at: z.unknown().describe(""),
|
|
15533
|
-
updated_at: z.unknown().describe(""),
|
|
15534
|
-
epoch: z.number().describe(""),
|
|
15535
|
-
created_by: z.string().describe(""),
|
|
15536
|
-
updated_by: z.string().describe(""),
|
|
15537
|
-
workspace_id: z.string().describe("")
|
|
15538
|
-
});
|
|
15539
|
-
const zUpdateInitiativeProjectDto = z.object({
|
|
15540
|
-
id: z.string().optional().describe(""),
|
|
15541
|
-
sequence: z.string().optional().describe(""),
|
|
15542
|
-
initiative_id: z.string().optional(),
|
|
15543
|
-
project_id: z.string().optional()
|
|
15544
|
-
});
|
|
15545
|
-
const zInitiativeProjectBulkOperationDto = z.object({
|
|
15546
|
-
op: z.enum([
|
|
15547
|
-
"create",
|
|
15548
|
-
"update",
|
|
15549
|
-
"delete"
|
|
15550
|
-
]).describe(""),
|
|
15551
|
-
id: z.string().optional().describe(""),
|
|
15552
|
-
data: z.union([zCreateInitiativeProjectDto, zUpdateInitiativeProjectDto]).optional().describe(""),
|
|
15553
|
-
tx_id: z.string().describe("")
|
|
15554
|
-
});
|
|
15555
|
-
const zBulkInitiativeProjectRequestDto = z.object({ operations: z.array(zInitiativeProjectBulkOperationDto).describe("") });
|
|
15556
|
-
const zBulkInitiativeProjectOperationResultDto = z.object({
|
|
15557
|
-
index: z.number().describe(""),
|
|
15558
|
-
tx_id: z.string().describe(""),
|
|
15559
|
-
status: z.number().describe(""),
|
|
15560
|
-
error: z.object({
|
|
15561
|
-
message: z.string().optional(),
|
|
15562
|
-
code: z.string().optional(),
|
|
15563
|
-
details: z.unknown().optional()
|
|
15564
|
-
}).optional().describe(""),
|
|
15565
|
-
response: zResponseInitiativeProjectDto.optional().describe("")
|
|
15566
|
-
});
|
|
15567
|
-
const zBulkInitiativeProjectResponseDto = z.object({
|
|
15568
|
-
results: z.array(zBulkInitiativeProjectOperationResultDto).describe(""),
|
|
15569
|
-
summary: z.object({
|
|
15570
|
-
total: z.number().describe(""),
|
|
15571
|
-
successful: z.number().describe(""),
|
|
15572
|
-
failed: z.number().describe(""),
|
|
15573
|
-
savepoints_used: z.number().describe("")
|
|
15574
|
-
}).describe("")
|
|
15575
|
-
});
|
|
15576
|
-
const zInitiativeProjectCreateV1Data = z.object({
|
|
15577
|
-
body: zCreateInitiativeProjectDto,
|
|
15578
|
-
url: z.literal("/v1/initiative-project")
|
|
15579
|
-
});
|
|
15580
|
-
const zInitiativeProjectFindAllV1Data = z.object({
|
|
15284
|
+
const zInitiativeProjectFindAllV1Data = z.object({
|
|
15581
15285
|
query: z.object({
|
|
15582
15286
|
"_with": z.string().optional(),
|
|
15583
15287
|
"page": z.number().optional(),
|
|
@@ -15621,162 +15325,6 @@ const zInitiativeProjectBulkOperationV1Data = z.object({
|
|
|
15621
15325
|
url: z.literal("/v1/initiative-project/bulk")
|
|
15622
15326
|
});
|
|
15623
15327
|
|
|
15624
|
-
//#endregion
|
|
15625
|
-
//#region ../sdk/dist/gen/initiative-proposal/zod.js
|
|
15626
|
-
const zCreateInitiativeProposalDto = z.object({
|
|
15627
|
-
id: z.string().optional().describe(""),
|
|
15628
|
-
status: z.enum([
|
|
15629
|
-
"pending",
|
|
15630
|
-
"partial",
|
|
15631
|
-
"applied",
|
|
15632
|
-
"dismissed"
|
|
15633
|
-
]).optional().describe(""),
|
|
15634
|
-
summary: z.string().describe(""),
|
|
15635
|
-
rationale: z.string().nullable().optional().describe(""),
|
|
15636
|
-
stats: z.unknown().optional().describe(""),
|
|
15637
|
-
applied_at: z.unknown().optional().describe(""),
|
|
15638
|
-
dismissed_at: z.unknown().optional().describe(""),
|
|
15639
|
-
initiative_id: z.string(),
|
|
15640
|
-
creator_id: z.string().nullable().optional()
|
|
15641
|
-
});
|
|
15642
|
-
const zResponseInitiativeProposalDto = z.object({
|
|
15643
|
-
id: z.string().describe(""),
|
|
15644
|
-
status: z.enum([
|
|
15645
|
-
"pending",
|
|
15646
|
-
"partial",
|
|
15647
|
-
"applied",
|
|
15648
|
-
"dismissed"
|
|
15649
|
-
]).optional().describe(""),
|
|
15650
|
-
summary: z.string().describe(""),
|
|
15651
|
-
rationale: z.string().nullable().optional().describe(""),
|
|
15652
|
-
stats: z.unknown().optional().describe(""),
|
|
15653
|
-
applied_at: z.unknown().optional().describe(""),
|
|
15654
|
-
dismissed_at: z.unknown().optional().describe(""),
|
|
15655
|
-
initiative_id: z.string(),
|
|
15656
|
-
creator_id: z.string().nullable().optional(),
|
|
15657
|
-
created_at: z.unknown().describe(""),
|
|
15658
|
-
updated_at: z.unknown().describe(""),
|
|
15659
|
-
epoch: z.number().describe(""),
|
|
15660
|
-
created_by: z.string().describe(""),
|
|
15661
|
-
updated_by: z.string().describe(""),
|
|
15662
|
-
workspace_id: z.string().describe(""),
|
|
15663
|
-
deleted_at: z.unknown().describe(""),
|
|
15664
|
-
deleted_by: z.string().nullable().describe("")
|
|
15665
|
-
});
|
|
15666
|
-
const zUpdateInitiativeProposalDto = z.object({
|
|
15667
|
-
id: z.string().optional().describe(""),
|
|
15668
|
-
status: z.enum([
|
|
15669
|
-
"pending",
|
|
15670
|
-
"partial",
|
|
15671
|
-
"applied",
|
|
15672
|
-
"dismissed"
|
|
15673
|
-
]).optional().describe(""),
|
|
15674
|
-
summary: z.string().optional().describe(""),
|
|
15675
|
-
rationale: z.string().nullable().optional().describe(""),
|
|
15676
|
-
stats: z.unknown().optional().describe(""),
|
|
15677
|
-
applied_at: z.unknown().optional().describe(""),
|
|
15678
|
-
dismissed_at: z.unknown().optional().describe(""),
|
|
15679
|
-
initiative_id: z.string().optional(),
|
|
15680
|
-
creator_id: z.string().nullable().optional()
|
|
15681
|
-
});
|
|
15682
|
-
const zInitiativeProposalBulkOperationDto = z.object({
|
|
15683
|
-
op: z.enum([
|
|
15684
|
-
"create",
|
|
15685
|
-
"update",
|
|
15686
|
-
"delete"
|
|
15687
|
-
]).describe(""),
|
|
15688
|
-
id: z.string().optional().describe(""),
|
|
15689
|
-
data: z.union([zCreateInitiativeProposalDto, zUpdateInitiativeProposalDto]).optional().describe(""),
|
|
15690
|
-
tx_id: z.string().describe("")
|
|
15691
|
-
});
|
|
15692
|
-
const zBulkInitiativeProposalRequestDto = z.object({ operations: z.array(zInitiativeProposalBulkOperationDto).describe("") });
|
|
15693
|
-
const zBulkInitiativeProposalOperationResultDto = z.object({
|
|
15694
|
-
index: z.number().describe(""),
|
|
15695
|
-
tx_id: z.string().describe(""),
|
|
15696
|
-
status: z.number().describe(""),
|
|
15697
|
-
error: z.object({
|
|
15698
|
-
message: z.string().optional(),
|
|
15699
|
-
code: z.string().optional(),
|
|
15700
|
-
details: z.unknown().optional()
|
|
15701
|
-
}).optional().describe(""),
|
|
15702
|
-
response: zResponseInitiativeProposalDto.optional().describe("")
|
|
15703
|
-
});
|
|
15704
|
-
const zBulkInitiativeProposalResponseDto = z.object({
|
|
15705
|
-
results: z.array(zBulkInitiativeProposalOperationResultDto).describe(""),
|
|
15706
|
-
summary: z.object({
|
|
15707
|
-
total: z.number().describe(""),
|
|
15708
|
-
successful: z.number().describe(""),
|
|
15709
|
-
failed: z.number().describe(""),
|
|
15710
|
-
savepoints_used: z.number().describe("")
|
|
15711
|
-
}).describe("")
|
|
15712
|
-
});
|
|
15713
|
-
const zInitiativeProposalCreateV1Data = z.object({
|
|
15714
|
-
body: zCreateInitiativeProposalDto,
|
|
15715
|
-
url: z.literal("/v1/initiative-proposal")
|
|
15716
|
-
});
|
|
15717
|
-
const zInitiativeProposalFindAllV1Data = z.object({
|
|
15718
|
-
query: z.object({
|
|
15719
|
-
"_with": z.string().optional(),
|
|
15720
|
-
"page": z.number().optional(),
|
|
15721
|
-
"limit": z.number().optional(),
|
|
15722
|
-
"filter.id": z.array(z.string()).optional(),
|
|
15723
|
-
"filter.summary": z.array(z.string()).optional(),
|
|
15724
|
-
"filter.rationale": z.array(z.string()).optional(),
|
|
15725
|
-
"filter.applied_at": z.array(z.string()).optional(),
|
|
15726
|
-
"filter.dismissed_at": z.array(z.string()).optional(),
|
|
15727
|
-
"filter.initiative_id": z.array(z.string()).optional(),
|
|
15728
|
-
"filter.creator_id": z.array(z.string()).optional(),
|
|
15729
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
15730
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
15731
|
-
"filter.deleted_at": z.array(z.string()).optional(),
|
|
15732
|
-
"sortBy": z.array(z.enum([
|
|
15733
|
-
"id:ASC",
|
|
15734
|
-
"id:DESC",
|
|
15735
|
-
"summary:ASC",
|
|
15736
|
-
"summary:DESC",
|
|
15737
|
-
"rationale:ASC",
|
|
15738
|
-
"rationale:DESC",
|
|
15739
|
-
"applied_at:ASC",
|
|
15740
|
-
"applied_at:DESC",
|
|
15741
|
-
"dismissed_at:ASC",
|
|
15742
|
-
"dismissed_at:DESC",
|
|
15743
|
-
"creator_id:ASC",
|
|
15744
|
-
"creator_id:DESC",
|
|
15745
|
-
"created_at:ASC",
|
|
15746
|
-
"created_at:DESC",
|
|
15747
|
-
"updated_at:ASC",
|
|
15748
|
-
"updated_at:DESC",
|
|
15749
|
-
"deleted_at:ASC",
|
|
15750
|
-
"deleted_at:DESC"
|
|
15751
|
-
])).optional(),
|
|
15752
|
-
"search": z.string().optional(),
|
|
15753
|
-
"searchBy": z.array(z.string()).optional()
|
|
15754
|
-
}).optional(),
|
|
15755
|
-
url: z.literal("/v1/initiative-proposal")
|
|
15756
|
-
});
|
|
15757
|
-
const zInitiativeProposalFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/initiative-proposal/recently-deleted") });
|
|
15758
|
-
const zInitiativeProposalFindOneV1Data = z.object({
|
|
15759
|
-
path: z.object({ "id": z.string() }),
|
|
15760
|
-
url: z.literal("/v1/initiative-proposal/{id}")
|
|
15761
|
-
});
|
|
15762
|
-
const zInitiativeProposalUpdateV1Data = z.object({
|
|
15763
|
-
body: zUpdateInitiativeProposalDto,
|
|
15764
|
-
path: z.object({ "id": z.string() }),
|
|
15765
|
-
url: z.literal("/v1/initiative-proposal/{id}")
|
|
15766
|
-
});
|
|
15767
|
-
const zInitiativeProposalRemoveV1Data = z.object({
|
|
15768
|
-
path: z.object({ "id": z.string() }),
|
|
15769
|
-
url: z.literal("/v1/initiative-proposal/{id}")
|
|
15770
|
-
});
|
|
15771
|
-
const zInitiativeProposalBulkOperationV1Data = z.object({
|
|
15772
|
-
body: zBulkInitiativeProposalRequestDto,
|
|
15773
|
-
url: z.literal("/v1/initiative-proposal/bulk")
|
|
15774
|
-
});
|
|
15775
|
-
const zInitiativeProposalRestoreV1Data = z.object({
|
|
15776
|
-
path: z.object({ "id": z.string() }),
|
|
15777
|
-
url: z.literal("/v1/initiative-proposal/{id}/restore")
|
|
15778
|
-
});
|
|
15779
|
-
|
|
15780
15328
|
//#endregion
|
|
15781
15329
|
//#region ../sdk/dist/gen/integration-token/zod.js
|
|
15782
15330
|
const zIntegrationTokenGetStatusV1Data = z.object({ url: z.literal("/v1/integrations/status") });
|
|
@@ -15813,7 +15361,6 @@ const zCreateIssueDto = z.object({
|
|
|
15813
15361
|
team_id: z.string().describe(""),
|
|
15814
15362
|
workflow_state_id: z.string().optional().describe(""),
|
|
15815
15363
|
creator_id: z.string().optional().describe(""),
|
|
15816
|
-
initiative_id: z.string().nullable().optional().describe(""),
|
|
15817
15364
|
gate_set_id: z.string().nullable().optional().describe(""),
|
|
15818
15365
|
milestone_id: z.string().nullable().optional().describe(""),
|
|
15819
15366
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
@@ -15851,7 +15398,6 @@ const zUpdateIssueDto = z.object({
|
|
|
15851
15398
|
team_id: z.string().optional().describe(""),
|
|
15852
15399
|
workflow_state_id: z.string().optional().describe(""),
|
|
15853
15400
|
creator_id: z.string().optional().describe(""),
|
|
15854
|
-
initiative_id: z.string().nullable().optional().describe(""),
|
|
15855
15401
|
gate_set_id: z.string().nullable().optional().describe(""),
|
|
15856
15402
|
milestone_id: z.string().nullable().optional().describe(""),
|
|
15857
15403
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
@@ -15929,7 +15475,6 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15929
15475
|
"filter.team_id": z.array(z.string()).optional(),
|
|
15930
15476
|
"filter.workflow_state_id": z.array(z.string()).optional(),
|
|
15931
15477
|
"filter.creator_id": z.array(z.string()).optional(),
|
|
15932
|
-
"filter.initiative_id": z.array(z.string()).optional(),
|
|
15933
15478
|
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
15934
15479
|
"filter.milestone_id": z.array(z.string()).optional(),
|
|
15935
15480
|
"filter.spoke_key": z.array(z.string()).optional(),
|
|
@@ -16003,8 +15548,6 @@ const zIssueFindAllV1Data = z.object({
|
|
|
16003
15548
|
"cycle_id:DESC",
|
|
16004
15549
|
"type_label_id:ASC",
|
|
16005
15550
|
"type_label_id:DESC",
|
|
16006
|
-
"initiative_id:ASC",
|
|
16007
|
-
"initiative_id:DESC",
|
|
16008
15551
|
"gate_set_id:ASC",
|
|
16009
15552
|
"gate_set_id:DESC",
|
|
16010
15553
|
"milestone_id:ASC",
|
|
@@ -17046,6 +16589,23 @@ const zIssueTestLinkBulkOperationV1Data = z.object({
|
|
|
17046
16589
|
url: z.literal("/v1/issue-test-link/bulk")
|
|
17047
16590
|
});
|
|
17048
16591
|
|
|
16592
|
+
//#endregion
|
|
16593
|
+
//#region ../sdk/dist/gen/issue-transition/zod.js
|
|
16594
|
+
const zTransitionIssueDto = z.object({
|
|
16595
|
+
workflow_state_id: z.string().describe(""),
|
|
16596
|
+
child_completion: z.enum([
|
|
16597
|
+
"require_children",
|
|
16598
|
+
"leave_children",
|
|
16599
|
+
"cascade_children"
|
|
16600
|
+
]).optional().describe(""),
|
|
16601
|
+
batch_scope: z.array(z.string()).optional().describe("")
|
|
16602
|
+
});
|
|
16603
|
+
const zIssueTransitionTransitionV1Data = z.object({
|
|
16604
|
+
body: zTransitionIssueDto,
|
|
16605
|
+
path: z.object({ "id": z.string() }),
|
|
16606
|
+
url: z.literal("/v1/issue/{id}/transition")
|
|
16607
|
+
});
|
|
16608
|
+
|
|
17049
16609
|
//#endregion
|
|
17050
16610
|
//#region ../sdk/dist/gen/issue-type-config/zod.js
|
|
17051
16611
|
const zCreateIssueTypeConfigDto = z.object({
|
|
@@ -22119,291 +21679,6 @@ const zPromptAgentSubscribeToSessionV1Data = z.object({
|
|
|
22119
21679
|
});
|
|
22120
21680
|
const zPromptAgentRespawnClaudeCliSessionV1Data = z.object({ url: z.literal("/v1/prompt-agent/claude-cli/session/respawn") });
|
|
22121
21681
|
|
|
22122
|
-
//#endregion
|
|
22123
|
-
//#region ../sdk/dist/gen/proposal-group/zod.js
|
|
22124
|
-
const zCreateProposalGroupDto = z.object({
|
|
22125
|
-
id: z.string().optional().describe(""),
|
|
22126
|
-
entity_type: z.enum(["theme", "requirement"]).describe(""),
|
|
22127
|
-
title: z.string().describe(""),
|
|
22128
|
-
narrative: z.string().nullable().optional().describe(""),
|
|
22129
|
-
is_new: z.boolean().optional().describe(""),
|
|
22130
|
-
sequence: z.string().optional().describe(""),
|
|
22131
|
-
proposal_id: z.string(),
|
|
22132
|
-
parent_group_id: z.string().nullable().optional(),
|
|
22133
|
-
target_initiative_id: z.string().nullable().optional(),
|
|
22134
|
-
target_issue_id: z.string().nullable().optional()
|
|
22135
|
-
});
|
|
22136
|
-
const zResponseProposalGroupDto = z.object({
|
|
22137
|
-
id: z.string().describe(""),
|
|
22138
|
-
entity_type: z.enum(["theme", "requirement"]).describe(""),
|
|
22139
|
-
title: z.string().describe(""),
|
|
22140
|
-
narrative: z.string().nullable().optional().describe(""),
|
|
22141
|
-
is_new: z.boolean().optional().describe(""),
|
|
22142
|
-
sequence: z.string().optional().describe(""),
|
|
22143
|
-
proposal_id: z.string(),
|
|
22144
|
-
parent_group_id: z.string().nullable().optional(),
|
|
22145
|
-
target_initiative_id: z.string().nullable().optional(),
|
|
22146
|
-
target_issue_id: z.string().nullable().optional(),
|
|
22147
|
-
created_at: z.unknown().describe(""),
|
|
22148
|
-
updated_at: z.unknown().describe(""),
|
|
22149
|
-
epoch: z.number().describe(""),
|
|
22150
|
-
created_by: z.string().describe(""),
|
|
22151
|
-
updated_by: z.string().describe(""),
|
|
22152
|
-
workspace_id: z.string().describe("")
|
|
22153
|
-
});
|
|
22154
|
-
const zUpdateProposalGroupDto = z.object({
|
|
22155
|
-
id: z.string().optional().describe(""),
|
|
22156
|
-
entity_type: z.enum(["theme", "requirement"]).optional().describe(""),
|
|
22157
|
-
title: z.string().optional().describe(""),
|
|
22158
|
-
narrative: z.string().nullable().optional().describe(""),
|
|
22159
|
-
is_new: z.boolean().optional().describe(""),
|
|
22160
|
-
sequence: z.string().optional().describe(""),
|
|
22161
|
-
proposal_id: z.string().optional(),
|
|
22162
|
-
parent_group_id: z.string().nullable().optional(),
|
|
22163
|
-
target_initiative_id: z.string().nullable().optional(),
|
|
22164
|
-
target_issue_id: z.string().nullable().optional()
|
|
22165
|
-
});
|
|
22166
|
-
const zProposalGroupBulkOperationDto = z.object({
|
|
22167
|
-
op: z.enum([
|
|
22168
|
-
"create",
|
|
22169
|
-
"update",
|
|
22170
|
-
"delete"
|
|
22171
|
-
]).describe(""),
|
|
22172
|
-
id: z.string().optional().describe(""),
|
|
22173
|
-
data: z.union([zCreateProposalGroupDto, zUpdateProposalGroupDto]).optional().describe(""),
|
|
22174
|
-
tx_id: z.string().describe("")
|
|
22175
|
-
});
|
|
22176
|
-
const zBulkProposalGroupRequestDto = z.object({ operations: z.array(zProposalGroupBulkOperationDto).describe("") });
|
|
22177
|
-
const zBulkProposalGroupOperationResultDto = z.object({
|
|
22178
|
-
index: z.number().describe(""),
|
|
22179
|
-
tx_id: z.string().describe(""),
|
|
22180
|
-
status: z.number().describe(""),
|
|
22181
|
-
error: z.object({
|
|
22182
|
-
message: z.string().optional(),
|
|
22183
|
-
code: z.string().optional(),
|
|
22184
|
-
details: z.unknown().optional()
|
|
22185
|
-
}).optional().describe(""),
|
|
22186
|
-
response: zResponseProposalGroupDto.optional().describe("")
|
|
22187
|
-
});
|
|
22188
|
-
const zBulkProposalGroupResponseDto = z.object({
|
|
22189
|
-
results: z.array(zBulkProposalGroupOperationResultDto).describe(""),
|
|
22190
|
-
summary: z.object({
|
|
22191
|
-
total: z.number().describe(""),
|
|
22192
|
-
successful: z.number().describe(""),
|
|
22193
|
-
failed: z.number().describe(""),
|
|
22194
|
-
savepoints_used: z.number().describe("")
|
|
22195
|
-
}).describe("")
|
|
22196
|
-
});
|
|
22197
|
-
const zProposalGroupCreateV1Data = z.object({
|
|
22198
|
-
body: zCreateProposalGroupDto,
|
|
22199
|
-
url: z.literal("/v1/proposal-group")
|
|
22200
|
-
});
|
|
22201
|
-
const zProposalGroupFindAllV1Data = z.object({
|
|
22202
|
-
query: z.object({
|
|
22203
|
-
"_with": z.string().optional(),
|
|
22204
|
-
"page": z.number().optional(),
|
|
22205
|
-
"limit": z.number().optional(),
|
|
22206
|
-
"filter.id": z.array(z.string()).optional(),
|
|
22207
|
-
"filter.title": z.array(z.string()).optional(),
|
|
22208
|
-
"filter.narrative": z.array(z.string()).optional(),
|
|
22209
|
-
"filter.is_new": z.array(z.string()).optional(),
|
|
22210
|
-
"filter.sequence": z.array(z.string()).optional(),
|
|
22211
|
-
"filter.proposal_id": z.array(z.string()).optional(),
|
|
22212
|
-
"filter.parent_group_id": z.array(z.string()).optional(),
|
|
22213
|
-
"filter.target_initiative_id": z.array(z.string()).optional(),
|
|
22214
|
-
"filter.target_issue_id": z.array(z.string()).optional(),
|
|
22215
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
22216
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
22217
|
-
"sortBy": z.array(z.enum([
|
|
22218
|
-
"id:ASC",
|
|
22219
|
-
"id:DESC",
|
|
22220
|
-
"title:ASC",
|
|
22221
|
-
"title:DESC",
|
|
22222
|
-
"narrative:ASC",
|
|
22223
|
-
"narrative:DESC",
|
|
22224
|
-
"sequence:ASC",
|
|
22225
|
-
"sequence:DESC",
|
|
22226
|
-
"parent_group_id:ASC",
|
|
22227
|
-
"parent_group_id:DESC",
|
|
22228
|
-
"target_initiative_id:ASC",
|
|
22229
|
-
"target_initiative_id:DESC",
|
|
22230
|
-
"target_issue_id:ASC",
|
|
22231
|
-
"target_issue_id:DESC",
|
|
22232
|
-
"created_at:ASC",
|
|
22233
|
-
"created_at:DESC",
|
|
22234
|
-
"updated_at:ASC",
|
|
22235
|
-
"updated_at:DESC"
|
|
22236
|
-
])).optional(),
|
|
22237
|
-
"search": z.string().optional(),
|
|
22238
|
-
"searchBy": z.array(z.string()).optional()
|
|
22239
|
-
}).optional(),
|
|
22240
|
-
url: z.literal("/v1/proposal-group")
|
|
22241
|
-
});
|
|
22242
|
-
const zProposalGroupFindOneV1Data = z.object({
|
|
22243
|
-
path: z.object({ "id": z.string() }),
|
|
22244
|
-
url: z.literal("/v1/proposal-group/{id}")
|
|
22245
|
-
});
|
|
22246
|
-
const zProposalGroupUpdateV1Data = z.object({
|
|
22247
|
-
body: zUpdateProposalGroupDto,
|
|
22248
|
-
path: z.object({ "id": z.string() }),
|
|
22249
|
-
url: z.literal("/v1/proposal-group/{id}")
|
|
22250
|
-
});
|
|
22251
|
-
const zProposalGroupRemoveV1Data = z.object({
|
|
22252
|
-
path: z.object({ "id": z.string() }),
|
|
22253
|
-
url: z.literal("/v1/proposal-group/{id}")
|
|
22254
|
-
});
|
|
22255
|
-
const zProposalGroupBulkOperationV1Data = z.object({
|
|
22256
|
-
body: zBulkProposalGroupRequestDto,
|
|
22257
|
-
url: z.literal("/v1/proposal-group/bulk")
|
|
22258
|
-
});
|
|
22259
|
-
|
|
22260
|
-
//#endregion
|
|
22261
|
-
//#region ../sdk/dist/gen/proposal-item/zod.js
|
|
22262
|
-
const zCreateProposalItemDto = z.object({
|
|
22263
|
-
id: z.string().optional().describe(""),
|
|
22264
|
-
action: z.enum(["link", "promote"]).optional().describe(""),
|
|
22265
|
-
rationale: z.string().nullable().optional().describe(""),
|
|
22266
|
-
state: z.enum([
|
|
22267
|
-
"pending",
|
|
22268
|
-
"accepted",
|
|
22269
|
-
"rejected"
|
|
22270
|
-
]).optional().describe(""),
|
|
22271
|
-
children_count: z.number().optional().describe(""),
|
|
22272
|
-
sequence: z.string().optional().describe(""),
|
|
22273
|
-
accepted_at: z.unknown().optional().describe(""),
|
|
22274
|
-
rejected_at: z.unknown().optional().describe(""),
|
|
22275
|
-
group_id: z.string(),
|
|
22276
|
-
issue_id: z.string()
|
|
22277
|
-
});
|
|
22278
|
-
const zResponseProposalItemDto = z.object({
|
|
22279
|
-
id: z.string().describe(""),
|
|
22280
|
-
action: z.enum(["link", "promote"]).optional().describe(""),
|
|
22281
|
-
rationale: z.string().nullable().optional().describe(""),
|
|
22282
|
-
state: z.enum([
|
|
22283
|
-
"pending",
|
|
22284
|
-
"accepted",
|
|
22285
|
-
"rejected"
|
|
22286
|
-
]).optional().describe(""),
|
|
22287
|
-
children_count: z.number().optional().describe(""),
|
|
22288
|
-
sequence: z.string().optional().describe(""),
|
|
22289
|
-
accepted_at: z.unknown().optional().describe(""),
|
|
22290
|
-
rejected_at: z.unknown().optional().describe(""),
|
|
22291
|
-
group_id: z.string(),
|
|
22292
|
-
issue_id: z.string(),
|
|
22293
|
-
created_at: z.unknown().describe(""),
|
|
22294
|
-
updated_at: z.unknown().describe(""),
|
|
22295
|
-
epoch: z.number().describe(""),
|
|
22296
|
-
created_by: z.string().describe(""),
|
|
22297
|
-
updated_by: z.string().describe(""),
|
|
22298
|
-
workspace_id: z.string().describe("")
|
|
22299
|
-
});
|
|
22300
|
-
const zUpdateProposalItemDto = z.object({
|
|
22301
|
-
id: z.string().optional().describe(""),
|
|
22302
|
-
action: z.enum(["link", "promote"]).optional().describe(""),
|
|
22303
|
-
rationale: z.string().nullable().optional().describe(""),
|
|
22304
|
-
state: z.enum([
|
|
22305
|
-
"pending",
|
|
22306
|
-
"accepted",
|
|
22307
|
-
"rejected"
|
|
22308
|
-
]).optional().describe(""),
|
|
22309
|
-
children_count: z.number().optional().describe(""),
|
|
22310
|
-
sequence: z.string().optional().describe(""),
|
|
22311
|
-
accepted_at: z.unknown().optional().describe(""),
|
|
22312
|
-
rejected_at: z.unknown().optional().describe(""),
|
|
22313
|
-
group_id: z.string().optional(),
|
|
22314
|
-
issue_id: z.string().optional()
|
|
22315
|
-
});
|
|
22316
|
-
const zProposalItemBulkOperationDto = z.object({
|
|
22317
|
-
op: z.enum([
|
|
22318
|
-
"create",
|
|
22319
|
-
"update",
|
|
22320
|
-
"delete"
|
|
22321
|
-
]).describe(""),
|
|
22322
|
-
id: z.string().optional().describe(""),
|
|
22323
|
-
data: z.union([zCreateProposalItemDto, zUpdateProposalItemDto]).optional().describe(""),
|
|
22324
|
-
tx_id: z.string().describe("")
|
|
22325
|
-
});
|
|
22326
|
-
const zBulkProposalItemRequestDto = z.object({ operations: z.array(zProposalItemBulkOperationDto).describe("") });
|
|
22327
|
-
const zBulkProposalItemOperationResultDto = z.object({
|
|
22328
|
-
index: z.number().describe(""),
|
|
22329
|
-
tx_id: z.string().describe(""),
|
|
22330
|
-
status: z.number().describe(""),
|
|
22331
|
-
error: z.object({
|
|
22332
|
-
message: z.string().optional(),
|
|
22333
|
-
code: z.string().optional(),
|
|
22334
|
-
details: z.unknown().optional()
|
|
22335
|
-
}).optional().describe(""),
|
|
22336
|
-
response: zResponseProposalItemDto.optional().describe("")
|
|
22337
|
-
});
|
|
22338
|
-
const zBulkProposalItemResponseDto = z.object({
|
|
22339
|
-
results: z.array(zBulkProposalItemOperationResultDto).describe(""),
|
|
22340
|
-
summary: z.object({
|
|
22341
|
-
total: z.number().describe(""),
|
|
22342
|
-
successful: z.number().describe(""),
|
|
22343
|
-
failed: z.number().describe(""),
|
|
22344
|
-
savepoints_used: z.number().describe("")
|
|
22345
|
-
}).describe("")
|
|
22346
|
-
});
|
|
22347
|
-
const zProposalItemCreateV1Data = z.object({
|
|
22348
|
-
body: zCreateProposalItemDto,
|
|
22349
|
-
url: z.literal("/v1/proposal-item")
|
|
22350
|
-
});
|
|
22351
|
-
const zProposalItemFindAllV1Data = z.object({
|
|
22352
|
-
query: z.object({
|
|
22353
|
-
"_with": z.string().optional(),
|
|
22354
|
-
"page": z.number().optional(),
|
|
22355
|
-
"limit": z.number().optional(),
|
|
22356
|
-
"filter.id": z.array(z.string()).optional(),
|
|
22357
|
-
"filter.rationale": z.array(z.string()).optional(),
|
|
22358
|
-
"filter.children_count": z.array(z.string()).optional(),
|
|
22359
|
-
"filter.sequence": z.array(z.string()).optional(),
|
|
22360
|
-
"filter.accepted_at": z.array(z.string()).optional(),
|
|
22361
|
-
"filter.rejected_at": z.array(z.string()).optional(),
|
|
22362
|
-
"filter.group_id": z.array(z.string()).optional(),
|
|
22363
|
-
"filter.issue_id": z.array(z.string()).optional(),
|
|
22364
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
22365
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
22366
|
-
"sortBy": z.array(z.enum([
|
|
22367
|
-
"id:ASC",
|
|
22368
|
-
"id:DESC",
|
|
22369
|
-
"rationale:ASC",
|
|
22370
|
-
"rationale:DESC",
|
|
22371
|
-
"children_count:ASC",
|
|
22372
|
-
"children_count:DESC",
|
|
22373
|
-
"sequence:ASC",
|
|
22374
|
-
"sequence:DESC",
|
|
22375
|
-
"accepted_at:ASC",
|
|
22376
|
-
"accepted_at:DESC",
|
|
22377
|
-
"rejected_at:ASC",
|
|
22378
|
-
"rejected_at:DESC",
|
|
22379
|
-
"created_at:ASC",
|
|
22380
|
-
"created_at:DESC",
|
|
22381
|
-
"updated_at:ASC",
|
|
22382
|
-
"updated_at:DESC"
|
|
22383
|
-
])).optional(),
|
|
22384
|
-
"search": z.string().optional(),
|
|
22385
|
-
"searchBy": z.array(z.string()).optional()
|
|
22386
|
-
}).optional(),
|
|
22387
|
-
url: z.literal("/v1/proposal-item")
|
|
22388
|
-
});
|
|
22389
|
-
const zProposalItemFindOneV1Data = z.object({
|
|
22390
|
-
path: z.object({ "id": z.string() }),
|
|
22391
|
-
url: z.literal("/v1/proposal-item/{id}")
|
|
22392
|
-
});
|
|
22393
|
-
const zProposalItemUpdateV1Data = z.object({
|
|
22394
|
-
body: zUpdateProposalItemDto,
|
|
22395
|
-
path: z.object({ "id": z.string() }),
|
|
22396
|
-
url: z.literal("/v1/proposal-item/{id}")
|
|
22397
|
-
});
|
|
22398
|
-
const zProposalItemRemoveV1Data = z.object({
|
|
22399
|
-
path: z.object({ "id": z.string() }),
|
|
22400
|
-
url: z.literal("/v1/proposal-item/{id}")
|
|
22401
|
-
});
|
|
22402
|
-
const zProposalItemBulkOperationV1Data = z.object({
|
|
22403
|
-
body: zBulkProposalItemRequestDto,
|
|
22404
|
-
url: z.literal("/v1/proposal-item/bulk")
|
|
22405
|
-
});
|
|
22406
|
-
|
|
22407
21682
|
//#endregion
|
|
22408
21683
|
//#region ../sdk/dist/gen/provider/zod.js
|
|
22409
21684
|
const zProviderTypeDto = z.object({
|