@credal/actions 0.2.48 → 0.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actionMapper.js +39 -1
- package/dist/actions/autogen/templates.d.ts +6 -0
- package/dist/actions/autogen/templates.js +640 -0
- package/dist/actions/autogen/types.d.ts +803 -1
- package/dist/actions/autogen/types.js +222 -0
- package/dist/actions/groups.js +11 -1
- package/dist/actions/providers/github/searchRepository.js +3 -2
- package/dist/actions/providers/linear/getIssueDetails.d.ts +3 -0
- package/dist/actions/providers/linear/getIssueDetails.js +127 -0
- package/dist/actions/providers/linear/getIssues.d.ts +3 -0
- package/dist/actions/providers/linear/getIssues.js +160 -0
- package/dist/actions/providers/linear/getProjectDetails.d.ts +3 -0
- package/dist/actions/providers/linear/getProjectDetails.js +129 -0
- package/dist/actions/providers/linear/getProjects.d.ts +3 -0
- package/dist/actions/providers/linear/getProjects.js +96 -0
- package/dist/actions/providers/linear/getTeamDetails.d.ts +3 -0
- package/dist/actions/providers/linear/getTeamDetails.js +84 -0
- package/dist/actions/providers/linear/getTeams.d.ts +3 -0
- package/dist/actions/providers/linear/getTeams.js +68 -0
- package/package.json +1 -1
@@ -31,7 +31,8 @@ export declare enum ProviderName {
|
|
31
31
|
GITHUB = "github",
|
32
32
|
NOTION = "notion",
|
33
33
|
JAMF = "jamf",
|
34
|
-
GITLAB = "gitlab"
|
34
|
+
GITLAB = "gitlab",
|
35
|
+
LINEAR = "linear"
|
35
36
|
}
|
36
37
|
export type ActionFunction<P, A, O> = (input: {
|
37
38
|
params: P;
|
@@ -6866,3 +6867,804 @@ export declare const gitlabSearchGroupOutputSchema: z.ZodObject<{
|
|
6866
6867
|
}>;
|
6867
6868
|
export type gitlabSearchGroupOutputType = z.infer<typeof gitlabSearchGroupOutputSchema>;
|
6868
6869
|
export type gitlabSearchGroupFunction = ActionFunction<gitlabSearchGroupParamsType, AuthParamsType, gitlabSearchGroupOutputType>;
|
6870
|
+
export declare const linearGetIssuesParamsSchema: z.ZodObject<{
|
6871
|
+
query: z.ZodOptional<z.ZodString>;
|
6872
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
6873
|
+
}, "strip", z.ZodTypeAny, {
|
6874
|
+
query?: string | undefined;
|
6875
|
+
maxResults?: number | undefined;
|
6876
|
+
}, {
|
6877
|
+
query?: string | undefined;
|
6878
|
+
maxResults?: number | undefined;
|
6879
|
+
}>;
|
6880
|
+
export type linearGetIssuesParamsType = z.infer<typeof linearGetIssuesParamsSchema>;
|
6881
|
+
export declare const linearGetIssuesOutputSchema: z.ZodObject<{
|
6882
|
+
success: z.ZodBoolean;
|
6883
|
+
error: z.ZodOptional<z.ZodString>;
|
6884
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6885
|
+
id: z.ZodOptional<z.ZodString>;
|
6886
|
+
title: z.ZodOptional<z.ZodString>;
|
6887
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6888
|
+
state: z.ZodOptional<z.ZodString>;
|
6889
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
6890
|
+
id: z.ZodOptional<z.ZodString>;
|
6891
|
+
name: z.ZodOptional<z.ZodString>;
|
6892
|
+
}, "strip", z.ZodTypeAny, {
|
6893
|
+
name?: string | undefined;
|
6894
|
+
id?: string | undefined;
|
6895
|
+
}, {
|
6896
|
+
name?: string | undefined;
|
6897
|
+
id?: string | undefined;
|
6898
|
+
}>>;
|
6899
|
+
due_date: z.ZodOptional<z.ZodString>;
|
6900
|
+
project: z.ZodOptional<z.ZodObject<{
|
6901
|
+
id: z.ZodOptional<z.ZodString>;
|
6902
|
+
name: z.ZodOptional<z.ZodString>;
|
6903
|
+
}, "strip", z.ZodTypeAny, {
|
6904
|
+
name?: string | undefined;
|
6905
|
+
id?: string | undefined;
|
6906
|
+
}, {
|
6907
|
+
name?: string | undefined;
|
6908
|
+
id?: string | undefined;
|
6909
|
+
}>>;
|
6910
|
+
team: z.ZodOptional<z.ZodObject<{
|
6911
|
+
id: z.ZodOptional<z.ZodString>;
|
6912
|
+
name: z.ZodOptional<z.ZodString>;
|
6913
|
+
}, "strip", z.ZodTypeAny, {
|
6914
|
+
name?: string | undefined;
|
6915
|
+
id?: string | undefined;
|
6916
|
+
}, {
|
6917
|
+
name?: string | undefined;
|
6918
|
+
id?: string | undefined;
|
6919
|
+
}>>;
|
6920
|
+
url: z.ZodOptional<z.ZodString>;
|
6921
|
+
comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6922
|
+
author_name: z.ZodOptional<z.ZodString>;
|
6923
|
+
comment: z.ZodOptional<z.ZodString>;
|
6924
|
+
}, "strip", z.ZodTypeAny, {
|
6925
|
+
comment?: string | undefined;
|
6926
|
+
author_name?: string | undefined;
|
6927
|
+
}, {
|
6928
|
+
comment?: string | undefined;
|
6929
|
+
author_name?: string | undefined;
|
6930
|
+
}>, "many">>;
|
6931
|
+
}, "strip", z.ZodTypeAny, {
|
6932
|
+
assignee?: {
|
6933
|
+
name?: string | undefined;
|
6934
|
+
id?: string | undefined;
|
6935
|
+
} | undefined;
|
6936
|
+
id?: string | undefined;
|
6937
|
+
comments?: {
|
6938
|
+
comment?: string | undefined;
|
6939
|
+
author_name?: string | undefined;
|
6940
|
+
}[] | undefined;
|
6941
|
+
title?: string | undefined;
|
6942
|
+
url?: string | undefined;
|
6943
|
+
state?: string | undefined;
|
6944
|
+
project?: {
|
6945
|
+
name?: string | undefined;
|
6946
|
+
id?: string | undefined;
|
6947
|
+
} | undefined;
|
6948
|
+
team?: {
|
6949
|
+
name?: string | undefined;
|
6950
|
+
id?: string | undefined;
|
6951
|
+
} | undefined;
|
6952
|
+
labels?: string[] | undefined;
|
6953
|
+
due_date?: string | undefined;
|
6954
|
+
}, {
|
6955
|
+
assignee?: {
|
6956
|
+
name?: string | undefined;
|
6957
|
+
id?: string | undefined;
|
6958
|
+
} | undefined;
|
6959
|
+
id?: string | undefined;
|
6960
|
+
comments?: {
|
6961
|
+
comment?: string | undefined;
|
6962
|
+
author_name?: string | undefined;
|
6963
|
+
}[] | undefined;
|
6964
|
+
title?: string | undefined;
|
6965
|
+
url?: string | undefined;
|
6966
|
+
state?: string | undefined;
|
6967
|
+
project?: {
|
6968
|
+
name?: string | undefined;
|
6969
|
+
id?: string | undefined;
|
6970
|
+
} | undefined;
|
6971
|
+
team?: {
|
6972
|
+
name?: string | undefined;
|
6973
|
+
id?: string | undefined;
|
6974
|
+
} | undefined;
|
6975
|
+
labels?: string[] | undefined;
|
6976
|
+
due_date?: string | undefined;
|
6977
|
+
}>, "many">>;
|
6978
|
+
}, "strip", z.ZodTypeAny, {
|
6979
|
+
success: boolean;
|
6980
|
+
issues?: {
|
6981
|
+
assignee?: {
|
6982
|
+
name?: string | undefined;
|
6983
|
+
id?: string | undefined;
|
6984
|
+
} | undefined;
|
6985
|
+
id?: string | undefined;
|
6986
|
+
comments?: {
|
6987
|
+
comment?: string | undefined;
|
6988
|
+
author_name?: string | undefined;
|
6989
|
+
}[] | undefined;
|
6990
|
+
title?: string | undefined;
|
6991
|
+
url?: string | undefined;
|
6992
|
+
state?: string | undefined;
|
6993
|
+
project?: {
|
6994
|
+
name?: string | undefined;
|
6995
|
+
id?: string | undefined;
|
6996
|
+
} | undefined;
|
6997
|
+
team?: {
|
6998
|
+
name?: string | undefined;
|
6999
|
+
id?: string | undefined;
|
7000
|
+
} | undefined;
|
7001
|
+
labels?: string[] | undefined;
|
7002
|
+
due_date?: string | undefined;
|
7003
|
+
}[] | undefined;
|
7004
|
+
error?: string | undefined;
|
7005
|
+
}, {
|
7006
|
+
success: boolean;
|
7007
|
+
issues?: {
|
7008
|
+
assignee?: {
|
7009
|
+
name?: string | undefined;
|
7010
|
+
id?: string | undefined;
|
7011
|
+
} | undefined;
|
7012
|
+
id?: string | undefined;
|
7013
|
+
comments?: {
|
7014
|
+
comment?: string | undefined;
|
7015
|
+
author_name?: string | undefined;
|
7016
|
+
}[] | undefined;
|
7017
|
+
title?: string | undefined;
|
7018
|
+
url?: string | undefined;
|
7019
|
+
state?: string | undefined;
|
7020
|
+
project?: {
|
7021
|
+
name?: string | undefined;
|
7022
|
+
id?: string | undefined;
|
7023
|
+
} | undefined;
|
7024
|
+
team?: {
|
7025
|
+
name?: string | undefined;
|
7026
|
+
id?: string | undefined;
|
7027
|
+
} | undefined;
|
7028
|
+
labels?: string[] | undefined;
|
7029
|
+
due_date?: string | undefined;
|
7030
|
+
}[] | undefined;
|
7031
|
+
error?: string | undefined;
|
7032
|
+
}>;
|
7033
|
+
export type linearGetIssuesOutputType = z.infer<typeof linearGetIssuesOutputSchema>;
|
7034
|
+
export type linearGetIssuesFunction = ActionFunction<linearGetIssuesParamsType, AuthParamsType, linearGetIssuesOutputType>;
|
7035
|
+
export declare const linearGetIssueDetailsParamsSchema: z.ZodObject<{
|
7036
|
+
issueId: z.ZodString;
|
7037
|
+
}, "strip", z.ZodTypeAny, {
|
7038
|
+
issueId: string;
|
7039
|
+
}, {
|
7040
|
+
issueId: string;
|
7041
|
+
}>;
|
7042
|
+
export type linearGetIssueDetailsParamsType = z.infer<typeof linearGetIssueDetailsParamsSchema>;
|
7043
|
+
export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
|
7044
|
+
success: z.ZodBoolean;
|
7045
|
+
error: z.ZodOptional<z.ZodString>;
|
7046
|
+
issue: z.ZodOptional<z.ZodObject<{
|
7047
|
+
id: z.ZodOptional<z.ZodString>;
|
7048
|
+
title: z.ZodOptional<z.ZodString>;
|
7049
|
+
description: z.ZodOptional<z.ZodString>;
|
7050
|
+
state: z.ZodOptional<z.ZodString>;
|
7051
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
7052
|
+
id: z.ZodOptional<z.ZodString>;
|
7053
|
+
name: z.ZodOptional<z.ZodString>;
|
7054
|
+
}, "strip", z.ZodTypeAny, {
|
7055
|
+
name?: string | undefined;
|
7056
|
+
id?: string | undefined;
|
7057
|
+
}, {
|
7058
|
+
name?: string | undefined;
|
7059
|
+
id?: string | undefined;
|
7060
|
+
}>>;
|
7061
|
+
creator: z.ZodOptional<z.ZodObject<{
|
7062
|
+
id: z.ZodOptional<z.ZodString>;
|
7063
|
+
name: z.ZodOptional<z.ZodString>;
|
7064
|
+
}, "strip", z.ZodTypeAny, {
|
7065
|
+
name?: string | undefined;
|
7066
|
+
id?: string | undefined;
|
7067
|
+
}, {
|
7068
|
+
name?: string | undefined;
|
7069
|
+
id?: string | undefined;
|
7070
|
+
}>>;
|
7071
|
+
team: z.ZodOptional<z.ZodObject<{
|
7072
|
+
id: z.ZodOptional<z.ZodString>;
|
7073
|
+
name: z.ZodOptional<z.ZodString>;
|
7074
|
+
}, "strip", z.ZodTypeAny, {
|
7075
|
+
name?: string | undefined;
|
7076
|
+
id?: string | undefined;
|
7077
|
+
}, {
|
7078
|
+
name?: string | undefined;
|
7079
|
+
id?: string | undefined;
|
7080
|
+
}>>;
|
7081
|
+
project: z.ZodOptional<z.ZodObject<{
|
7082
|
+
id: z.ZodOptional<z.ZodString>;
|
7083
|
+
name: z.ZodOptional<z.ZodString>;
|
7084
|
+
}, "strip", z.ZodTypeAny, {
|
7085
|
+
name?: string | undefined;
|
7086
|
+
id?: string | undefined;
|
7087
|
+
}, {
|
7088
|
+
name?: string | undefined;
|
7089
|
+
id?: string | undefined;
|
7090
|
+
}>>;
|
7091
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
7092
|
+
estimate: z.ZodOptional<z.ZodNumber>;
|
7093
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
7094
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
7095
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
7096
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7097
|
+
url: z.ZodOptional<z.ZodString>;
|
7098
|
+
comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7099
|
+
author_name: z.ZodOptional<z.ZodString>;
|
7100
|
+
comment: z.ZodOptional<z.ZodString>;
|
7101
|
+
}, "strip", z.ZodTypeAny, {
|
7102
|
+
comment?: string | undefined;
|
7103
|
+
author_name?: string | undefined;
|
7104
|
+
}, {
|
7105
|
+
comment?: string | undefined;
|
7106
|
+
author_name?: string | undefined;
|
7107
|
+
}>, "many">>;
|
7108
|
+
content: z.ZodOptional<z.ZodString>;
|
7109
|
+
}, "strip", z.ZodTypeAny, {
|
7110
|
+
description?: string | undefined;
|
7111
|
+
assignee?: {
|
7112
|
+
name?: string | undefined;
|
7113
|
+
id?: string | undefined;
|
7114
|
+
} | undefined;
|
7115
|
+
id?: string | undefined;
|
7116
|
+
comments?: {
|
7117
|
+
comment?: string | undefined;
|
7118
|
+
author_name?: string | undefined;
|
7119
|
+
}[] | undefined;
|
7120
|
+
title?: string | undefined;
|
7121
|
+
content?: string | undefined;
|
7122
|
+
url?: string | undefined;
|
7123
|
+
createdAt?: string | undefined;
|
7124
|
+
priority?: number | undefined;
|
7125
|
+
state?: string | undefined;
|
7126
|
+
updatedAt?: string | undefined;
|
7127
|
+
project?: {
|
7128
|
+
name?: string | undefined;
|
7129
|
+
id?: string | undefined;
|
7130
|
+
} | undefined;
|
7131
|
+
team?: {
|
7132
|
+
name?: string | undefined;
|
7133
|
+
id?: string | undefined;
|
7134
|
+
} | undefined;
|
7135
|
+
labels?: string[] | undefined;
|
7136
|
+
creator?: {
|
7137
|
+
name?: string | undefined;
|
7138
|
+
id?: string | undefined;
|
7139
|
+
} | undefined;
|
7140
|
+
estimate?: number | undefined;
|
7141
|
+
dueDate?: string | undefined;
|
7142
|
+
}, {
|
7143
|
+
description?: string | undefined;
|
7144
|
+
assignee?: {
|
7145
|
+
name?: string | undefined;
|
7146
|
+
id?: string | undefined;
|
7147
|
+
} | undefined;
|
7148
|
+
id?: string | undefined;
|
7149
|
+
comments?: {
|
7150
|
+
comment?: string | undefined;
|
7151
|
+
author_name?: string | undefined;
|
7152
|
+
}[] | undefined;
|
7153
|
+
title?: string | undefined;
|
7154
|
+
content?: string | undefined;
|
7155
|
+
url?: string | undefined;
|
7156
|
+
createdAt?: string | undefined;
|
7157
|
+
priority?: number | undefined;
|
7158
|
+
state?: string | undefined;
|
7159
|
+
updatedAt?: string | undefined;
|
7160
|
+
project?: {
|
7161
|
+
name?: string | undefined;
|
7162
|
+
id?: string | undefined;
|
7163
|
+
} | undefined;
|
7164
|
+
team?: {
|
7165
|
+
name?: string | undefined;
|
7166
|
+
id?: string | undefined;
|
7167
|
+
} | undefined;
|
7168
|
+
labels?: string[] | undefined;
|
7169
|
+
creator?: {
|
7170
|
+
name?: string | undefined;
|
7171
|
+
id?: string | undefined;
|
7172
|
+
} | undefined;
|
7173
|
+
estimate?: number | undefined;
|
7174
|
+
dueDate?: string | undefined;
|
7175
|
+
}>>;
|
7176
|
+
}, "strip", z.ZodTypeAny, {
|
7177
|
+
success: boolean;
|
7178
|
+
error?: string | undefined;
|
7179
|
+
issue?: {
|
7180
|
+
description?: string | undefined;
|
7181
|
+
assignee?: {
|
7182
|
+
name?: string | undefined;
|
7183
|
+
id?: string | undefined;
|
7184
|
+
} | undefined;
|
7185
|
+
id?: string | undefined;
|
7186
|
+
comments?: {
|
7187
|
+
comment?: string | undefined;
|
7188
|
+
author_name?: string | undefined;
|
7189
|
+
}[] | undefined;
|
7190
|
+
title?: string | undefined;
|
7191
|
+
content?: string | undefined;
|
7192
|
+
url?: string | undefined;
|
7193
|
+
createdAt?: string | undefined;
|
7194
|
+
priority?: number | undefined;
|
7195
|
+
state?: string | undefined;
|
7196
|
+
updatedAt?: string | undefined;
|
7197
|
+
project?: {
|
7198
|
+
name?: string | undefined;
|
7199
|
+
id?: string | undefined;
|
7200
|
+
} | undefined;
|
7201
|
+
team?: {
|
7202
|
+
name?: string | undefined;
|
7203
|
+
id?: string | undefined;
|
7204
|
+
} | undefined;
|
7205
|
+
labels?: string[] | undefined;
|
7206
|
+
creator?: {
|
7207
|
+
name?: string | undefined;
|
7208
|
+
id?: string | undefined;
|
7209
|
+
} | undefined;
|
7210
|
+
estimate?: number | undefined;
|
7211
|
+
dueDate?: string | undefined;
|
7212
|
+
} | undefined;
|
7213
|
+
}, {
|
7214
|
+
success: boolean;
|
7215
|
+
error?: string | undefined;
|
7216
|
+
issue?: {
|
7217
|
+
description?: string | undefined;
|
7218
|
+
assignee?: {
|
7219
|
+
name?: string | undefined;
|
7220
|
+
id?: string | undefined;
|
7221
|
+
} | undefined;
|
7222
|
+
id?: string | undefined;
|
7223
|
+
comments?: {
|
7224
|
+
comment?: string | undefined;
|
7225
|
+
author_name?: string | undefined;
|
7226
|
+
}[] | undefined;
|
7227
|
+
title?: string | undefined;
|
7228
|
+
content?: string | undefined;
|
7229
|
+
url?: string | undefined;
|
7230
|
+
createdAt?: string | undefined;
|
7231
|
+
priority?: number | undefined;
|
7232
|
+
state?: string | undefined;
|
7233
|
+
updatedAt?: string | undefined;
|
7234
|
+
project?: {
|
7235
|
+
name?: string | undefined;
|
7236
|
+
id?: string | undefined;
|
7237
|
+
} | undefined;
|
7238
|
+
team?: {
|
7239
|
+
name?: string | undefined;
|
7240
|
+
id?: string | undefined;
|
7241
|
+
} | undefined;
|
7242
|
+
labels?: string[] | undefined;
|
7243
|
+
creator?: {
|
7244
|
+
name?: string | undefined;
|
7245
|
+
id?: string | undefined;
|
7246
|
+
} | undefined;
|
7247
|
+
estimate?: number | undefined;
|
7248
|
+
dueDate?: string | undefined;
|
7249
|
+
} | undefined;
|
7250
|
+
}>;
|
7251
|
+
export type linearGetIssueDetailsOutputType = z.infer<typeof linearGetIssueDetailsOutputSchema>;
|
7252
|
+
export type linearGetIssueDetailsFunction = ActionFunction<linearGetIssueDetailsParamsType, AuthParamsType, linearGetIssueDetailsOutputType>;
|
7253
|
+
export declare const linearGetProjectsParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
7254
|
+
export type linearGetProjectsParamsType = z.infer<typeof linearGetProjectsParamsSchema>;
|
7255
|
+
export declare const linearGetProjectsOutputSchema: z.ZodObject<{
|
7256
|
+
success: z.ZodBoolean;
|
7257
|
+
error: z.ZodOptional<z.ZodString>;
|
7258
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7259
|
+
id: z.ZodOptional<z.ZodString>;
|
7260
|
+
name: z.ZodOptional<z.ZodString>;
|
7261
|
+
status: z.ZodOptional<z.ZodString>;
|
7262
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7263
|
+
content: z.ZodOptional<z.ZodString>;
|
7264
|
+
description: z.ZodOptional<z.ZodString>;
|
7265
|
+
creator: z.ZodOptional<z.ZodObject<{
|
7266
|
+
id: z.ZodOptional<z.ZodString>;
|
7267
|
+
name: z.ZodOptional<z.ZodString>;
|
7268
|
+
}, "strip", z.ZodTypeAny, {
|
7269
|
+
name?: string | undefined;
|
7270
|
+
id?: string | undefined;
|
7271
|
+
}, {
|
7272
|
+
name?: string | undefined;
|
7273
|
+
id?: string | undefined;
|
7274
|
+
}>>;
|
7275
|
+
lead: z.ZodOptional<z.ZodObject<{
|
7276
|
+
id: z.ZodOptional<z.ZodString>;
|
7277
|
+
name: z.ZodOptional<z.ZodString>;
|
7278
|
+
}, "strip", z.ZodTypeAny, {
|
7279
|
+
name?: string | undefined;
|
7280
|
+
id?: string | undefined;
|
7281
|
+
}, {
|
7282
|
+
name?: string | undefined;
|
7283
|
+
id?: string | undefined;
|
7284
|
+
}>>;
|
7285
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
7286
|
+
url: z.ZodOptional<z.ZodString>;
|
7287
|
+
}, "strip", z.ZodTypeAny, {
|
7288
|
+
status?: string | undefined;
|
7289
|
+
description?: string | undefined;
|
7290
|
+
name?: string | undefined;
|
7291
|
+
id?: string | undefined;
|
7292
|
+
content?: string | undefined;
|
7293
|
+
url?: string | undefined;
|
7294
|
+
labels?: string[] | undefined;
|
7295
|
+
creator?: {
|
7296
|
+
name?: string | undefined;
|
7297
|
+
id?: string | undefined;
|
7298
|
+
} | undefined;
|
7299
|
+
lead?: {
|
7300
|
+
name?: string | undefined;
|
7301
|
+
id?: string | undefined;
|
7302
|
+
} | undefined;
|
7303
|
+
progress?: number | undefined;
|
7304
|
+
}, {
|
7305
|
+
status?: string | undefined;
|
7306
|
+
description?: string | undefined;
|
7307
|
+
name?: string | undefined;
|
7308
|
+
id?: string | undefined;
|
7309
|
+
content?: string | undefined;
|
7310
|
+
url?: string | undefined;
|
7311
|
+
labels?: string[] | undefined;
|
7312
|
+
creator?: {
|
7313
|
+
name?: string | undefined;
|
7314
|
+
id?: string | undefined;
|
7315
|
+
} | undefined;
|
7316
|
+
lead?: {
|
7317
|
+
name?: string | undefined;
|
7318
|
+
id?: string | undefined;
|
7319
|
+
} | undefined;
|
7320
|
+
progress?: number | undefined;
|
7321
|
+
}>, "many">>;
|
7322
|
+
}, "strip", z.ZodTypeAny, {
|
7323
|
+
success: boolean;
|
7324
|
+
error?: string | undefined;
|
7325
|
+
projects?: {
|
7326
|
+
status?: string | undefined;
|
7327
|
+
description?: string | undefined;
|
7328
|
+
name?: string | undefined;
|
7329
|
+
id?: string | undefined;
|
7330
|
+
content?: string | undefined;
|
7331
|
+
url?: string | undefined;
|
7332
|
+
labels?: string[] | undefined;
|
7333
|
+
creator?: {
|
7334
|
+
name?: string | undefined;
|
7335
|
+
id?: string | undefined;
|
7336
|
+
} | undefined;
|
7337
|
+
lead?: {
|
7338
|
+
name?: string | undefined;
|
7339
|
+
id?: string | undefined;
|
7340
|
+
} | undefined;
|
7341
|
+
progress?: number | undefined;
|
7342
|
+
}[] | undefined;
|
7343
|
+
}, {
|
7344
|
+
success: boolean;
|
7345
|
+
error?: string | undefined;
|
7346
|
+
projects?: {
|
7347
|
+
status?: string | undefined;
|
7348
|
+
description?: string | undefined;
|
7349
|
+
name?: string | undefined;
|
7350
|
+
id?: string | undefined;
|
7351
|
+
content?: string | undefined;
|
7352
|
+
url?: string | undefined;
|
7353
|
+
labels?: string[] | undefined;
|
7354
|
+
creator?: {
|
7355
|
+
name?: string | undefined;
|
7356
|
+
id?: string | undefined;
|
7357
|
+
} | undefined;
|
7358
|
+
lead?: {
|
7359
|
+
name?: string | undefined;
|
7360
|
+
id?: string | undefined;
|
7361
|
+
} | undefined;
|
7362
|
+
progress?: number | undefined;
|
7363
|
+
}[] | undefined;
|
7364
|
+
}>;
|
7365
|
+
export type linearGetProjectsOutputType = z.infer<typeof linearGetProjectsOutputSchema>;
|
7366
|
+
export type linearGetProjectsFunction = ActionFunction<linearGetProjectsParamsType, AuthParamsType, linearGetProjectsOutputType>;
|
7367
|
+
export declare const linearGetProjectDetailsParamsSchema: z.ZodObject<{
|
7368
|
+
projectId: z.ZodString;
|
7369
|
+
}, "strip", z.ZodTypeAny, {
|
7370
|
+
projectId: string;
|
7371
|
+
}, {
|
7372
|
+
projectId: string;
|
7373
|
+
}>;
|
7374
|
+
export type linearGetProjectDetailsParamsType = z.infer<typeof linearGetProjectDetailsParamsSchema>;
|
7375
|
+
export declare const linearGetProjectDetailsOutputSchema: z.ZodObject<{
|
7376
|
+
success: z.ZodBoolean;
|
7377
|
+
error: z.ZodOptional<z.ZodString>;
|
7378
|
+
project: z.ZodOptional<z.ZodObject<{
|
7379
|
+
id: z.ZodOptional<z.ZodString>;
|
7380
|
+
name: z.ZodOptional<z.ZodString>;
|
7381
|
+
description: z.ZodOptional<z.ZodString>;
|
7382
|
+
state: z.ZodOptional<z.ZodString>;
|
7383
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
7384
|
+
targetDate: z.ZodOptional<z.ZodString>;
|
7385
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
7386
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
7387
|
+
lead: z.ZodOptional<z.ZodObject<{
|
7388
|
+
id: z.ZodOptional<z.ZodString>;
|
7389
|
+
name: z.ZodOptional<z.ZodString>;
|
7390
|
+
}, "strip", z.ZodTypeAny, {
|
7391
|
+
name?: string | undefined;
|
7392
|
+
id?: string | undefined;
|
7393
|
+
}, {
|
7394
|
+
name?: string | undefined;
|
7395
|
+
id?: string | undefined;
|
7396
|
+
}>>;
|
7397
|
+
team: z.ZodOptional<z.ZodObject<{
|
7398
|
+
id: z.ZodOptional<z.ZodString>;
|
7399
|
+
name: z.ZodOptional<z.ZodString>;
|
7400
|
+
}, "strip", z.ZodTypeAny, {
|
7401
|
+
name?: string | undefined;
|
7402
|
+
id?: string | undefined;
|
7403
|
+
}, {
|
7404
|
+
name?: string | undefined;
|
7405
|
+
id?: string | undefined;
|
7406
|
+
}>>;
|
7407
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7408
|
+
id: z.ZodOptional<z.ZodString>;
|
7409
|
+
name: z.ZodOptional<z.ZodString>;
|
7410
|
+
}, "strip", z.ZodTypeAny, {
|
7411
|
+
name?: string | undefined;
|
7412
|
+
id?: string | undefined;
|
7413
|
+
}, {
|
7414
|
+
name?: string | undefined;
|
7415
|
+
id?: string | undefined;
|
7416
|
+
}>, "many">>;
|
7417
|
+
url: z.ZodOptional<z.ZodString>;
|
7418
|
+
updates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7419
|
+
id: z.ZodOptional<z.ZodString>;
|
7420
|
+
content: z.ZodOptional<z.ZodString>;
|
7421
|
+
author_name: z.ZodOptional<z.ZodString>;
|
7422
|
+
created_at: z.ZodOptional<z.ZodString>;
|
7423
|
+
}, "strip", z.ZodTypeAny, {
|
7424
|
+
id?: string | undefined;
|
7425
|
+
created_at?: string | undefined;
|
7426
|
+
content?: string | undefined;
|
7427
|
+
author_name?: string | undefined;
|
7428
|
+
}, {
|
7429
|
+
id?: string | undefined;
|
7430
|
+
created_at?: string | undefined;
|
7431
|
+
content?: string | undefined;
|
7432
|
+
author_name?: string | undefined;
|
7433
|
+
}>, "many">>;
|
7434
|
+
content: z.ZodOptional<z.ZodString>;
|
7435
|
+
}, "strip", z.ZodTypeAny, {
|
7436
|
+
issues?: {
|
7437
|
+
name?: string | undefined;
|
7438
|
+
id?: string | undefined;
|
7439
|
+
}[] | undefined;
|
7440
|
+
description?: string | undefined;
|
7441
|
+
name?: string | undefined;
|
7442
|
+
id?: string | undefined;
|
7443
|
+
content?: string | undefined;
|
7444
|
+
url?: string | undefined;
|
7445
|
+
updates?: {
|
7446
|
+
id?: string | undefined;
|
7447
|
+
created_at?: string | undefined;
|
7448
|
+
content?: string | undefined;
|
7449
|
+
author_name?: string | undefined;
|
7450
|
+
}[] | undefined;
|
7451
|
+
createdAt?: string | undefined;
|
7452
|
+
state?: string | undefined;
|
7453
|
+
updatedAt?: string | undefined;
|
7454
|
+
team?: {
|
7455
|
+
name?: string | undefined;
|
7456
|
+
id?: string | undefined;
|
7457
|
+
} | undefined;
|
7458
|
+
lead?: {
|
7459
|
+
name?: string | undefined;
|
7460
|
+
id?: string | undefined;
|
7461
|
+
} | undefined;
|
7462
|
+
progress?: number | undefined;
|
7463
|
+
targetDate?: string | undefined;
|
7464
|
+
}, {
|
7465
|
+
issues?: {
|
7466
|
+
name?: string | undefined;
|
7467
|
+
id?: string | undefined;
|
7468
|
+
}[] | undefined;
|
7469
|
+
description?: string | undefined;
|
7470
|
+
name?: string | undefined;
|
7471
|
+
id?: string | undefined;
|
7472
|
+
content?: string | undefined;
|
7473
|
+
url?: string | undefined;
|
7474
|
+
updates?: {
|
7475
|
+
id?: string | undefined;
|
7476
|
+
created_at?: string | undefined;
|
7477
|
+
content?: string | undefined;
|
7478
|
+
author_name?: string | undefined;
|
7479
|
+
}[] | undefined;
|
7480
|
+
createdAt?: string | undefined;
|
7481
|
+
state?: string | undefined;
|
7482
|
+
updatedAt?: string | undefined;
|
7483
|
+
team?: {
|
7484
|
+
name?: string | undefined;
|
7485
|
+
id?: string | undefined;
|
7486
|
+
} | undefined;
|
7487
|
+
lead?: {
|
7488
|
+
name?: string | undefined;
|
7489
|
+
id?: string | undefined;
|
7490
|
+
} | undefined;
|
7491
|
+
progress?: number | undefined;
|
7492
|
+
targetDate?: string | undefined;
|
7493
|
+
}>>;
|
7494
|
+
}, "strip", z.ZodTypeAny, {
|
7495
|
+
success: boolean;
|
7496
|
+
error?: string | undefined;
|
7497
|
+
project?: {
|
7498
|
+
issues?: {
|
7499
|
+
name?: string | undefined;
|
7500
|
+
id?: string | undefined;
|
7501
|
+
}[] | undefined;
|
7502
|
+
description?: string | undefined;
|
7503
|
+
name?: string | undefined;
|
7504
|
+
id?: string | undefined;
|
7505
|
+
content?: string | undefined;
|
7506
|
+
url?: string | undefined;
|
7507
|
+
updates?: {
|
7508
|
+
id?: string | undefined;
|
7509
|
+
created_at?: string | undefined;
|
7510
|
+
content?: string | undefined;
|
7511
|
+
author_name?: string | undefined;
|
7512
|
+
}[] | undefined;
|
7513
|
+
createdAt?: string | undefined;
|
7514
|
+
state?: string | undefined;
|
7515
|
+
updatedAt?: string | undefined;
|
7516
|
+
team?: {
|
7517
|
+
name?: string | undefined;
|
7518
|
+
id?: string | undefined;
|
7519
|
+
} | undefined;
|
7520
|
+
lead?: {
|
7521
|
+
name?: string | undefined;
|
7522
|
+
id?: string | undefined;
|
7523
|
+
} | undefined;
|
7524
|
+
progress?: number | undefined;
|
7525
|
+
targetDate?: string | undefined;
|
7526
|
+
} | undefined;
|
7527
|
+
}, {
|
7528
|
+
success: boolean;
|
7529
|
+
error?: string | undefined;
|
7530
|
+
project?: {
|
7531
|
+
issues?: {
|
7532
|
+
name?: string | undefined;
|
7533
|
+
id?: string | undefined;
|
7534
|
+
}[] | undefined;
|
7535
|
+
description?: string | undefined;
|
7536
|
+
name?: string | undefined;
|
7537
|
+
id?: string | undefined;
|
7538
|
+
content?: string | undefined;
|
7539
|
+
url?: string | undefined;
|
7540
|
+
updates?: {
|
7541
|
+
id?: string | undefined;
|
7542
|
+
created_at?: string | undefined;
|
7543
|
+
content?: string | undefined;
|
7544
|
+
author_name?: string | undefined;
|
7545
|
+
}[] | undefined;
|
7546
|
+
createdAt?: string | undefined;
|
7547
|
+
state?: string | undefined;
|
7548
|
+
updatedAt?: string | undefined;
|
7549
|
+
team?: {
|
7550
|
+
name?: string | undefined;
|
7551
|
+
id?: string | undefined;
|
7552
|
+
} | undefined;
|
7553
|
+
lead?: {
|
7554
|
+
name?: string | undefined;
|
7555
|
+
id?: string | undefined;
|
7556
|
+
} | undefined;
|
7557
|
+
progress?: number | undefined;
|
7558
|
+
targetDate?: string | undefined;
|
7559
|
+
} | undefined;
|
7560
|
+
}>;
|
7561
|
+
export type linearGetProjectDetailsOutputType = z.infer<typeof linearGetProjectDetailsOutputSchema>;
|
7562
|
+
export type linearGetProjectDetailsFunction = ActionFunction<linearGetProjectDetailsParamsType, AuthParamsType, linearGetProjectDetailsOutputType>;
|
7563
|
+
export declare const linearGetTeamDetailsParamsSchema: z.ZodObject<{
|
7564
|
+
teamId: z.ZodString;
|
7565
|
+
}, "strip", z.ZodTypeAny, {
|
7566
|
+
teamId: string;
|
7567
|
+
}, {
|
7568
|
+
teamId: string;
|
7569
|
+
}>;
|
7570
|
+
export type linearGetTeamDetailsParamsType = z.infer<typeof linearGetTeamDetailsParamsSchema>;
|
7571
|
+
export declare const linearGetTeamDetailsOutputSchema: z.ZodObject<{
|
7572
|
+
success: z.ZodBoolean;
|
7573
|
+
error: z.ZodOptional<z.ZodString>;
|
7574
|
+
team: z.ZodOptional<z.ZodObject<{
|
7575
|
+
id: z.ZodOptional<z.ZodString>;
|
7576
|
+
name: z.ZodOptional<z.ZodString>;
|
7577
|
+
identifier: z.ZodOptional<z.ZodString>;
|
7578
|
+
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7579
|
+
id: z.ZodOptional<z.ZodString>;
|
7580
|
+
name: z.ZodOptional<z.ZodString>;
|
7581
|
+
email: z.ZodOptional<z.ZodString>;
|
7582
|
+
}, "strip", z.ZodTypeAny, {
|
7583
|
+
name?: string | undefined;
|
7584
|
+
id?: string | undefined;
|
7585
|
+
email?: string | undefined;
|
7586
|
+
}, {
|
7587
|
+
name?: string | undefined;
|
7588
|
+
id?: string | undefined;
|
7589
|
+
email?: string | undefined;
|
7590
|
+
}>, "many">>;
|
7591
|
+
}, "strip", z.ZodTypeAny, {
|
7592
|
+
name?: string | undefined;
|
7593
|
+
members?: {
|
7594
|
+
name?: string | undefined;
|
7595
|
+
id?: string | undefined;
|
7596
|
+
email?: string | undefined;
|
7597
|
+
}[] | undefined;
|
7598
|
+
id?: string | undefined;
|
7599
|
+
identifier?: string | undefined;
|
7600
|
+
}, {
|
7601
|
+
name?: string | undefined;
|
7602
|
+
members?: {
|
7603
|
+
name?: string | undefined;
|
7604
|
+
id?: string | undefined;
|
7605
|
+
email?: string | undefined;
|
7606
|
+
}[] | undefined;
|
7607
|
+
id?: string | undefined;
|
7608
|
+
identifier?: string | undefined;
|
7609
|
+
}>>;
|
7610
|
+
}, "strip", z.ZodTypeAny, {
|
7611
|
+
success: boolean;
|
7612
|
+
error?: string | undefined;
|
7613
|
+
team?: {
|
7614
|
+
name?: string | undefined;
|
7615
|
+
members?: {
|
7616
|
+
name?: string | undefined;
|
7617
|
+
id?: string | undefined;
|
7618
|
+
email?: string | undefined;
|
7619
|
+
}[] | undefined;
|
7620
|
+
id?: string | undefined;
|
7621
|
+
identifier?: string | undefined;
|
7622
|
+
} | undefined;
|
7623
|
+
}, {
|
7624
|
+
success: boolean;
|
7625
|
+
error?: string | undefined;
|
7626
|
+
team?: {
|
7627
|
+
name?: string | undefined;
|
7628
|
+
members?: {
|
7629
|
+
name?: string | undefined;
|
7630
|
+
id?: string | undefined;
|
7631
|
+
email?: string | undefined;
|
7632
|
+
}[] | undefined;
|
7633
|
+
id?: string | undefined;
|
7634
|
+
identifier?: string | undefined;
|
7635
|
+
} | undefined;
|
7636
|
+
}>;
|
7637
|
+
export type linearGetTeamDetailsOutputType = z.infer<typeof linearGetTeamDetailsOutputSchema>;
|
7638
|
+
export type linearGetTeamDetailsFunction = ActionFunction<linearGetTeamDetailsParamsType, AuthParamsType, linearGetTeamDetailsOutputType>;
|
7639
|
+
export declare const linearGetTeamsParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
7640
|
+
export type linearGetTeamsParamsType = z.infer<typeof linearGetTeamsParamsSchema>;
|
7641
|
+
export declare const linearGetTeamsOutputSchema: z.ZodObject<{
|
7642
|
+
success: z.ZodBoolean;
|
7643
|
+
error: z.ZodOptional<z.ZodString>;
|
7644
|
+
teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7645
|
+
id: z.ZodOptional<z.ZodString>;
|
7646
|
+
name: z.ZodOptional<z.ZodString>;
|
7647
|
+
}, "strip", z.ZodTypeAny, {
|
7648
|
+
name?: string | undefined;
|
7649
|
+
id?: string | undefined;
|
7650
|
+
}, {
|
7651
|
+
name?: string | undefined;
|
7652
|
+
id?: string | undefined;
|
7653
|
+
}>, "many">>;
|
7654
|
+
}, "strip", z.ZodTypeAny, {
|
7655
|
+
success: boolean;
|
7656
|
+
error?: string | undefined;
|
7657
|
+
teams?: {
|
7658
|
+
name?: string | undefined;
|
7659
|
+
id?: string | undefined;
|
7660
|
+
}[] | undefined;
|
7661
|
+
}, {
|
7662
|
+
success: boolean;
|
7663
|
+
error?: string | undefined;
|
7664
|
+
teams?: {
|
7665
|
+
name?: string | undefined;
|
7666
|
+
id?: string | undefined;
|
7667
|
+
}[] | undefined;
|
7668
|
+
}>;
|
7669
|
+
export type linearGetTeamsOutputType = z.infer<typeof linearGetTeamsOutputSchema>;
|
7670
|
+
export type linearGetTeamsFunction = ActionFunction<linearGetTeamsParamsType, AuthParamsType, linearGetTeamsOutputType>;
|