@channel.io/app-sdk-core 0.40.0 → 0.42.0
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/extensions/commerce.d.ts +30 -0
- package/dist/extensions/commerce.d.ts.map +1 -1
- package/dist/extensions/commerce.js +7 -1
- package/dist/extensions/commerce.js.map +1 -1
- package/dist/extensions/function-schemas.d.ts.map +1 -1
- package/dist/extensions/function-schemas.js +16 -1
- package/dist/extensions/function-schemas.js.map +1 -1
- package/dist/extensions/interfaces/issue.d.ts +10 -1
- package/dist/extensions/interfaces/issue.d.ts.map +1 -1
- package/dist/extensions/issue.d.ts +1066 -13
- package/dist/extensions/issue.d.ts.map +1 -1
- package/dist/extensions/issue.js +176 -0
- package/dist/extensions/issue.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +108 -3
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +908 -110
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +89 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IssueSubscriptionStartInput as ProtoIssueSubscriptionStartInput, IssueSubscriptionStartOutput as ProtoIssueSubscriptionStartOutput, IssueSubscriptionStopInput as ProtoIssueSubscriptionStopInput, IssueSubscriptionStopOutput as ProtoIssueSubscriptionStopOutput, IssueExecuteIssueTransitionOutput as ProtoIssueExecuteIssueTransitionOutput, IssueExecuteIssueTransitionInput as ProtoIssueExecuteIssueTransitionInput, ExternalIssue as ProtoExternalIssue, IssueError as ProtoIssueError, IssueTransition as ProtoIssueTransition, IssueSearchIssuesInput as ProtoIssueSearchIssuesInput, IssueSearchIssuesOutput as ProtoIssueSearchIssuesOutput, IssueGetIssueInput as ProtoIssueGetIssueInput, IssueGetIssueOutput as ProtoIssueGetIssueOutput, IssueGetIssuesInput as ProtoIssueGetIssuesInput, IssueGetIssuesOutput as ProtoIssueGetIssuesOutput, IssueGetIssueTransitionsInput as ProtoIssueGetIssueTransitionsInput, IssueGetIssueTransitionsOutput as ProtoIssueGetIssueTransitionsOutput } from "../gen/channel/app/sdk/v1/extension.js";
|
|
1
|
+
import type { IssueCreateCommentInput as ProtoIssueCreateCommentInput, IssueCreateCommentOutput as ProtoIssueCreateCommentOutput, IssueCreateChoice as ProtoIssueCreateChoice, IssueCreateFieldValue as ProtoIssueCreateFieldValue, IssueCreateFormField as ProtoIssueCreateFormField, IssueCreateValues as ProtoIssueCreateValues, IssueCreateSelectedValues as ProtoIssueCreateSelectedValues, IssueCreateSchemaPage as ProtoIssueCreateSchemaPage, IssueGetCreateSchemaInput as ProtoIssueGetCreateSchemaInput, IssueGetCreateSchemaOutput as ProtoIssueGetCreateSchemaOutput, IssueCreateIssueInput as ProtoIssueCreateIssueInput, IssueCreateIssueOutput as ProtoIssueCreateIssueOutput, IssueFieldError as ProtoIssueFieldError, IssueRecovery as ProtoIssueRecovery, IssueSubscriptionStartInput as ProtoIssueSubscriptionStartInput, IssueSubscriptionStartOutput as ProtoIssueSubscriptionStartOutput, IssueSubscriptionStopInput as ProtoIssueSubscriptionStopInput, IssueSubscriptionStopOutput as ProtoIssueSubscriptionStopOutput, IssueExecuteIssueTransitionOutput as ProtoIssueExecuteIssueTransitionOutput, IssueExecuteIssueTransitionInput as ProtoIssueExecuteIssueTransitionInput, ExternalIssue as ProtoExternalIssue, IssueError as ProtoIssueError, IssueTransition as ProtoIssueTransition, IssueSearchIssuesInput as ProtoIssueSearchIssuesInput, IssueSearchIssuesOutput as ProtoIssueSearchIssuesOutput, IssueGetIssueInput as ProtoIssueGetIssueInput, IssueGetIssueOutput as ProtoIssueGetIssueOutput, IssueGetIssuesInput as ProtoIssueGetIssuesInput, IssueGetIssuesOutput as ProtoIssueGetIssuesOutput, IssueGetIssueTransitionsInput as ProtoIssueGetIssueTransitionsInput, IssueGetIssueTransitionsOutput as ProtoIssueGetIssueTransitionsOutput } from "../gen/channel/app/sdk/v1/extension.js";
|
|
2
2
|
type ProtoBacked<T, Proto> = T & Omit<Proto, keyof T>;
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
export declare const ExternalIssueStateSchema: z.ZodEnum<["open", "unstarted", "started", "completed", "canceled"]>;
|
|
@@ -119,14 +119,50 @@ export declare const IssueErrorSchema: z.ZodObject<{
|
|
|
119
119
|
type: z.ZodEnum<["invalidInput", "invalidCursor", "unsupported", "unsupportedFilter", "forbidden", "notFound", "connectionUnavailable", "rateLimited", "temporaryFailure", "conflict", "invalidTransition", "outcomeUnknown"]>;
|
|
120
120
|
message: z.ZodString;
|
|
121
121
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
fieldErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
123
|
+
key: z.ZodString;
|
|
124
|
+
message: z.ZodString;
|
|
125
|
+
}, "strict", z.ZodTypeAny, {
|
|
126
|
+
message: string;
|
|
127
|
+
key: string;
|
|
128
|
+
}, {
|
|
129
|
+
message: string;
|
|
130
|
+
key: string;
|
|
131
|
+
}>, "many">>;
|
|
132
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
sourceIssueId: z.ZodString;
|
|
134
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, "strict", z.ZodTypeAny, {
|
|
136
|
+
sourceIssueId: string;
|
|
137
|
+
externalUrl?: string | undefined;
|
|
138
|
+
}, {
|
|
139
|
+
sourceIssueId: string;
|
|
140
|
+
externalUrl?: string | undefined;
|
|
141
|
+
}>>;
|
|
122
142
|
}, "strict", z.ZodTypeAny, {
|
|
123
143
|
message: string;
|
|
124
144
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
125
145
|
retryAfterMs?: number | undefined;
|
|
146
|
+
fieldErrors?: {
|
|
147
|
+
message: string;
|
|
148
|
+
key: string;
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
recovery?: {
|
|
151
|
+
sourceIssueId: string;
|
|
152
|
+
externalUrl?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
126
154
|
}, {
|
|
127
155
|
message: string;
|
|
128
156
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
129
157
|
retryAfterMs?: number | undefined;
|
|
158
|
+
fieldErrors?: {
|
|
159
|
+
message: string;
|
|
160
|
+
key: string;
|
|
161
|
+
}[] | undefined;
|
|
162
|
+
recovery?: {
|
|
163
|
+
sourceIssueId: string;
|
|
164
|
+
externalUrl?: string | undefined;
|
|
165
|
+
} | undefined;
|
|
130
166
|
}>;
|
|
131
167
|
export declare const IssueTransitionInputSchema: z.ZodObject<{
|
|
132
168
|
type: z.ZodLiteral<"object">;
|
|
@@ -248,12 +284,12 @@ export declare const IssueTransitionSchema: z.ZodDiscriminatedUnion<"availabilit
|
|
|
248
284
|
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
249
285
|
availability: "available";
|
|
250
286
|
reason?: string | undefined;
|
|
287
|
+
externalUrl?: string | undefined;
|
|
251
288
|
targetProviderState?: {
|
|
252
289
|
name: string;
|
|
253
290
|
id?: string | null | undefined;
|
|
254
291
|
category?: string | null | undefined;
|
|
255
292
|
} | undefined;
|
|
256
|
-
externalUrl?: string | undefined;
|
|
257
293
|
}, {
|
|
258
294
|
name: string;
|
|
259
295
|
inputSchema: {
|
|
@@ -271,12 +307,12 @@ export declare const IssueTransitionSchema: z.ZodDiscriminatedUnion<"availabilit
|
|
|
271
307
|
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
272
308
|
availability: "available";
|
|
273
309
|
reason?: string | undefined;
|
|
310
|
+
externalUrl?: string | undefined;
|
|
274
311
|
targetProviderState?: {
|
|
275
312
|
name: string;
|
|
276
313
|
id?: string | null | undefined;
|
|
277
314
|
category?: string | null | undefined;
|
|
278
315
|
} | undefined;
|
|
279
|
-
externalUrl?: string | undefined;
|
|
280
316
|
}>, z.ZodObject<{
|
|
281
317
|
id: z.ZodString;
|
|
282
318
|
name: z.ZodString;
|
|
@@ -343,8 +379,8 @@ export declare const IssueTransitionSchema: z.ZodDiscriminatedUnion<"availabilit
|
|
|
343
379
|
name: string;
|
|
344
380
|
id: string;
|
|
345
381
|
reason: string;
|
|
346
|
-
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
347
382
|
externalUrl: string;
|
|
383
|
+
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
348
384
|
availability: "externalOnly";
|
|
349
385
|
inputSchema?: {
|
|
350
386
|
type: "object";
|
|
@@ -366,8 +402,8 @@ export declare const IssueTransitionSchema: z.ZodDiscriminatedUnion<"availabilit
|
|
|
366
402
|
name: string;
|
|
367
403
|
id: string;
|
|
368
404
|
reason: string;
|
|
369
|
-
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
370
405
|
externalUrl: string;
|
|
406
|
+
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
371
407
|
availability: "externalOnly";
|
|
372
408
|
inputSchema?: {
|
|
373
409
|
type: "object";
|
|
@@ -935,20 +971,64 @@ export declare const IssueGetIssuesOutputSchema: z.ZodObject<{
|
|
|
935
971
|
type: z.ZodEnum<["invalidInput", "invalidCursor", "unsupported", "unsupportedFilter", "forbidden", "notFound", "connectionUnavailable", "rateLimited", "temporaryFailure", "conflict", "invalidTransition", "outcomeUnknown"]>;
|
|
936
972
|
message: z.ZodString;
|
|
937
973
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
974
|
+
fieldErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
975
|
+
key: z.ZodString;
|
|
976
|
+
message: z.ZodString;
|
|
977
|
+
}, "strict", z.ZodTypeAny, {
|
|
978
|
+
message: string;
|
|
979
|
+
key: string;
|
|
980
|
+
}, {
|
|
981
|
+
message: string;
|
|
982
|
+
key: string;
|
|
983
|
+
}>, "many">>;
|
|
984
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
985
|
+
sourceIssueId: z.ZodString;
|
|
986
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
987
|
+
}, "strict", z.ZodTypeAny, {
|
|
988
|
+
sourceIssueId: string;
|
|
989
|
+
externalUrl?: string | undefined;
|
|
990
|
+
}, {
|
|
991
|
+
sourceIssueId: string;
|
|
992
|
+
externalUrl?: string | undefined;
|
|
993
|
+
}>>;
|
|
938
994
|
}, "strict", z.ZodTypeAny, {
|
|
939
995
|
message: string;
|
|
940
996
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
941
997
|
retryAfterMs?: number | undefined;
|
|
998
|
+
fieldErrors?: {
|
|
999
|
+
message: string;
|
|
1000
|
+
key: string;
|
|
1001
|
+
}[] | undefined;
|
|
1002
|
+
recovery?: {
|
|
1003
|
+
sourceIssueId: string;
|
|
1004
|
+
externalUrl?: string | undefined;
|
|
1005
|
+
} | undefined;
|
|
942
1006
|
}, {
|
|
943
1007
|
message: string;
|
|
944
1008
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
945
1009
|
retryAfterMs?: number | undefined;
|
|
1010
|
+
fieldErrors?: {
|
|
1011
|
+
message: string;
|
|
1012
|
+
key: string;
|
|
1013
|
+
}[] | undefined;
|
|
1014
|
+
recovery?: {
|
|
1015
|
+
sourceIssueId: string;
|
|
1016
|
+
externalUrl?: string | undefined;
|
|
1017
|
+
} | undefined;
|
|
946
1018
|
}>;
|
|
947
1019
|
}, "strict", z.ZodTypeAny, {
|
|
948
1020
|
error: {
|
|
949
1021
|
message: string;
|
|
950
1022
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
951
1023
|
retryAfterMs?: number | undefined;
|
|
1024
|
+
fieldErrors?: {
|
|
1025
|
+
message: string;
|
|
1026
|
+
key: string;
|
|
1027
|
+
}[] | undefined;
|
|
1028
|
+
recovery?: {
|
|
1029
|
+
sourceIssueId: string;
|
|
1030
|
+
externalUrl?: string | undefined;
|
|
1031
|
+
} | undefined;
|
|
952
1032
|
};
|
|
953
1033
|
issueId: string;
|
|
954
1034
|
}, {
|
|
@@ -956,6 +1036,14 @@ export declare const IssueGetIssuesOutputSchema: z.ZodObject<{
|
|
|
956
1036
|
message: string;
|
|
957
1037
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
958
1038
|
retryAfterMs?: number | undefined;
|
|
1039
|
+
fieldErrors?: {
|
|
1040
|
+
message: string;
|
|
1041
|
+
key: string;
|
|
1042
|
+
}[] | undefined;
|
|
1043
|
+
recovery?: {
|
|
1044
|
+
sourceIssueId: string;
|
|
1045
|
+
externalUrl?: string | undefined;
|
|
1046
|
+
} | undefined;
|
|
959
1047
|
};
|
|
960
1048
|
issueId: string;
|
|
961
1049
|
}>]>, "many">;
|
|
@@ -993,6 +1081,14 @@ export declare const IssueGetIssuesOutputSchema: z.ZodObject<{
|
|
|
993
1081
|
message: string;
|
|
994
1082
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
995
1083
|
retryAfterMs?: number | undefined;
|
|
1084
|
+
fieldErrors?: {
|
|
1085
|
+
message: string;
|
|
1086
|
+
key: string;
|
|
1087
|
+
}[] | undefined;
|
|
1088
|
+
recovery?: {
|
|
1089
|
+
sourceIssueId: string;
|
|
1090
|
+
externalUrl?: string | undefined;
|
|
1091
|
+
} | undefined;
|
|
996
1092
|
};
|
|
997
1093
|
issueId: string;
|
|
998
1094
|
})[];
|
|
@@ -1030,6 +1126,14 @@ export declare const IssueGetIssuesOutputSchema: z.ZodObject<{
|
|
|
1030
1126
|
message: string;
|
|
1031
1127
|
type: "unsupported" | "invalidInput" | "invalidCursor" | "unsupportedFilter" | "forbidden" | "notFound" | "connectionUnavailable" | "rateLimited" | "temporaryFailure" | "conflict" | "invalidTransition" | "outcomeUnknown";
|
|
1032
1128
|
retryAfterMs?: number | undefined;
|
|
1129
|
+
fieldErrors?: {
|
|
1130
|
+
message: string;
|
|
1131
|
+
key: string;
|
|
1132
|
+
}[] | undefined;
|
|
1133
|
+
recovery?: {
|
|
1134
|
+
sourceIssueId: string;
|
|
1135
|
+
externalUrl?: string | undefined;
|
|
1136
|
+
} | undefined;
|
|
1033
1137
|
};
|
|
1034
1138
|
issueId: string;
|
|
1035
1139
|
})[];
|
|
@@ -1126,12 +1230,12 @@ export declare const IssueGetIssueTransitionsOutputSchema: z.ZodObject<{
|
|
|
1126
1230
|
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1127
1231
|
availability: "available";
|
|
1128
1232
|
reason?: string | undefined;
|
|
1233
|
+
externalUrl?: string | undefined;
|
|
1129
1234
|
targetProviderState?: {
|
|
1130
1235
|
name: string;
|
|
1131
1236
|
id?: string | null | undefined;
|
|
1132
1237
|
category?: string | null | undefined;
|
|
1133
1238
|
} | undefined;
|
|
1134
|
-
externalUrl?: string | undefined;
|
|
1135
1239
|
}, {
|
|
1136
1240
|
name: string;
|
|
1137
1241
|
inputSchema: {
|
|
@@ -1149,12 +1253,12 @@ export declare const IssueGetIssueTransitionsOutputSchema: z.ZodObject<{
|
|
|
1149
1253
|
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1150
1254
|
availability: "available";
|
|
1151
1255
|
reason?: string | undefined;
|
|
1256
|
+
externalUrl?: string | undefined;
|
|
1152
1257
|
targetProviderState?: {
|
|
1153
1258
|
name: string;
|
|
1154
1259
|
id?: string | null | undefined;
|
|
1155
1260
|
category?: string | null | undefined;
|
|
1156
1261
|
} | undefined;
|
|
1157
|
-
externalUrl?: string | undefined;
|
|
1158
1262
|
}>, z.ZodObject<{
|
|
1159
1263
|
id: z.ZodString;
|
|
1160
1264
|
name: z.ZodString;
|
|
@@ -1221,8 +1325,8 @@ export declare const IssueGetIssueTransitionsOutputSchema: z.ZodObject<{
|
|
|
1221
1325
|
name: string;
|
|
1222
1326
|
id: string;
|
|
1223
1327
|
reason: string;
|
|
1224
|
-
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1225
1328
|
externalUrl: string;
|
|
1329
|
+
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1226
1330
|
availability: "externalOnly";
|
|
1227
1331
|
inputSchema?: {
|
|
1228
1332
|
type: "object";
|
|
@@ -1244,8 +1348,8 @@ export declare const IssueGetIssueTransitionsOutputSchema: z.ZodObject<{
|
|
|
1244
1348
|
name: string;
|
|
1245
1349
|
id: string;
|
|
1246
1350
|
reason: string;
|
|
1247
|
-
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1248
1351
|
externalUrl: string;
|
|
1352
|
+
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1249
1353
|
availability: "externalOnly";
|
|
1250
1354
|
inputSchema?: {
|
|
1251
1355
|
type: "object";
|
|
@@ -1283,18 +1387,18 @@ export declare const IssueGetIssueTransitionsOutputSchema: z.ZodObject<{
|
|
|
1283
1387
|
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1284
1388
|
availability: "available";
|
|
1285
1389
|
reason?: string | undefined;
|
|
1390
|
+
externalUrl?: string | undefined;
|
|
1286
1391
|
targetProviderState?: {
|
|
1287
1392
|
name: string;
|
|
1288
1393
|
id?: string | null | undefined;
|
|
1289
1394
|
category?: string | null | undefined;
|
|
1290
1395
|
} | undefined;
|
|
1291
|
-
externalUrl?: string | undefined;
|
|
1292
1396
|
} | {
|
|
1293
1397
|
name: string;
|
|
1294
1398
|
id: string;
|
|
1295
1399
|
reason: string;
|
|
1296
|
-
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1297
1400
|
externalUrl: string;
|
|
1401
|
+
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1298
1402
|
availability: "externalOnly";
|
|
1299
1403
|
inputSchema?: {
|
|
1300
1404
|
type: "object";
|
|
@@ -1332,18 +1436,18 @@ export declare const IssueGetIssueTransitionsOutputSchema: z.ZodObject<{
|
|
|
1332
1436
|
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1333
1437
|
availability: "available";
|
|
1334
1438
|
reason?: string | undefined;
|
|
1439
|
+
externalUrl?: string | undefined;
|
|
1335
1440
|
targetProviderState?: {
|
|
1336
1441
|
name: string;
|
|
1337
1442
|
id?: string | null | undefined;
|
|
1338
1443
|
category?: string | null | undefined;
|
|
1339
1444
|
} | undefined;
|
|
1340
|
-
externalUrl?: string | undefined;
|
|
1341
1445
|
} | {
|
|
1342
1446
|
name: string;
|
|
1343
1447
|
id: string;
|
|
1344
1448
|
reason: string;
|
|
1345
|
-
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1346
1449
|
externalUrl: string;
|
|
1450
|
+
targetState: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
1347
1451
|
availability: "externalOnly";
|
|
1348
1452
|
inputSchema?: {
|
|
1349
1453
|
type: "object";
|
|
@@ -1764,5 +1868,954 @@ export type IssueSubscriptionStartInput = ProtoBacked<z.infer<typeof IssueSubscr
|
|
|
1764
1868
|
export type IssueSubscriptionStartOutput = ProtoBacked<z.infer<typeof IssueSubscriptionStartOutputSchema>, ProtoIssueSubscriptionStartOutput>;
|
|
1765
1869
|
export type IssueSubscriptionStopInput = ProtoBacked<z.infer<typeof IssueSubscriptionStopInputSchema>, ProtoIssueSubscriptionStopInput>;
|
|
1766
1870
|
export type IssueSubscriptionStopOutput = ProtoBacked<z.infer<typeof IssueSubscriptionStopOutputSchema>, ProtoIssueSubscriptionStopOutput>;
|
|
1871
|
+
export declare const IssueCreateChoiceSchema: z.ZodObject<{
|
|
1872
|
+
label: z.ZodString;
|
|
1873
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1874
|
+
}, "strict", z.ZodTypeAny, {
|
|
1875
|
+
value: string | number;
|
|
1876
|
+
label: string;
|
|
1877
|
+
}, {
|
|
1878
|
+
value: string | number;
|
|
1879
|
+
label: string;
|
|
1880
|
+
}>;
|
|
1881
|
+
export declare const IssueCreateFieldValueSchema: z.ZodObject<{
|
|
1882
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
1883
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
1884
|
+
}, "strict", z.ZodTypeAny, {
|
|
1885
|
+
value: string | number | boolean | string[] | number[];
|
|
1886
|
+
key: string;
|
|
1887
|
+
}, {
|
|
1888
|
+
value: string | number | boolean | string[] | number[];
|
|
1889
|
+
key: string;
|
|
1890
|
+
}>;
|
|
1891
|
+
export declare const IssueCreateValuesSchema: z.ZodObject<{
|
|
1892
|
+
containerId: z.ZodString;
|
|
1893
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1894
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1896
|
+
fields: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1897
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
1898
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
1899
|
+
}, "strict", z.ZodTypeAny, {
|
|
1900
|
+
value: string | number | boolean | string[] | number[];
|
|
1901
|
+
key: string;
|
|
1902
|
+
}, {
|
|
1903
|
+
value: string | number | boolean | string[] | number[];
|
|
1904
|
+
key: string;
|
|
1905
|
+
}>, "many">, {
|
|
1906
|
+
value: string | number | boolean | string[] | number[];
|
|
1907
|
+
key: string;
|
|
1908
|
+
}[], {
|
|
1909
|
+
value: string | number | boolean | string[] | number[];
|
|
1910
|
+
key: string;
|
|
1911
|
+
}[]>>;
|
|
1912
|
+
}, "strict", z.ZodTypeAny, {
|
|
1913
|
+
containerId: string;
|
|
1914
|
+
description?: string | undefined;
|
|
1915
|
+
title?: string | undefined;
|
|
1916
|
+
fields?: {
|
|
1917
|
+
value: string | number | boolean | string[] | number[];
|
|
1918
|
+
key: string;
|
|
1919
|
+
}[] | undefined;
|
|
1920
|
+
templateId?: string | undefined;
|
|
1921
|
+
}, {
|
|
1922
|
+
containerId: string;
|
|
1923
|
+
description?: string | undefined;
|
|
1924
|
+
title?: string | undefined;
|
|
1925
|
+
fields?: {
|
|
1926
|
+
value: string | number | boolean | string[] | number[];
|
|
1927
|
+
key: string;
|
|
1928
|
+
}[] | undefined;
|
|
1929
|
+
templateId?: string | undefined;
|
|
1930
|
+
}>;
|
|
1931
|
+
export declare const IssueCreateSelectedValuesSchema: z.ZodObject<{
|
|
1932
|
+
containerId: z.ZodOptional<z.ZodString>;
|
|
1933
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1934
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1935
|
+
templateId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1936
|
+
fields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1937
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
1938
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
1939
|
+
}, "strict", z.ZodTypeAny, {
|
|
1940
|
+
value: string | number | boolean | string[] | number[];
|
|
1941
|
+
key: string;
|
|
1942
|
+
}, {
|
|
1943
|
+
value: string | number | boolean | string[] | number[];
|
|
1944
|
+
key: string;
|
|
1945
|
+
}>, "many">, {
|
|
1946
|
+
value: string | number | boolean | string[] | number[];
|
|
1947
|
+
key: string;
|
|
1948
|
+
}[], {
|
|
1949
|
+
value: string | number | boolean | string[] | number[];
|
|
1950
|
+
key: string;
|
|
1951
|
+
}[]>>>;
|
|
1952
|
+
}, "strict", z.ZodTypeAny, {
|
|
1953
|
+
description?: string | undefined;
|
|
1954
|
+
title?: string | undefined;
|
|
1955
|
+
fields?: {
|
|
1956
|
+
value: string | number | boolean | string[] | number[];
|
|
1957
|
+
key: string;
|
|
1958
|
+
}[] | undefined;
|
|
1959
|
+
containerId?: string | undefined;
|
|
1960
|
+
templateId?: string | undefined;
|
|
1961
|
+
}, {
|
|
1962
|
+
description?: string | undefined;
|
|
1963
|
+
title?: string | undefined;
|
|
1964
|
+
fields?: {
|
|
1965
|
+
value: string | number | boolean | string[] | number[];
|
|
1966
|
+
key: string;
|
|
1967
|
+
}[] | undefined;
|
|
1968
|
+
containerId?: string | undefined;
|
|
1969
|
+
templateId?: string | undefined;
|
|
1970
|
+
}>;
|
|
1971
|
+
export declare const IssueCreateSchemaPageSchema: z.ZodObject<{
|
|
1972
|
+
key: z.ZodString;
|
|
1973
|
+
since: z.ZodString;
|
|
1974
|
+
}, "strict", z.ZodTypeAny, {
|
|
1975
|
+
key: string;
|
|
1976
|
+
since: string;
|
|
1977
|
+
}, {
|
|
1978
|
+
key: string;
|
|
1979
|
+
since: string;
|
|
1980
|
+
}>;
|
|
1981
|
+
export declare const IssueCreateFormFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
1982
|
+
key: z.ZodString;
|
|
1983
|
+
label: z.ZodString;
|
|
1984
|
+
type: z.ZodEnum<["text", "textarea", "number", "checkbox", "select", "multiselect"]>;
|
|
1985
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1986
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1987
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>>;
|
|
1988
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1990
|
+
label: z.ZodString;
|
|
1991
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1992
|
+
}, "strict", z.ZodTypeAny, {
|
|
1993
|
+
value: string | number;
|
|
1994
|
+
label: string;
|
|
1995
|
+
}, {
|
|
1996
|
+
value: string | number;
|
|
1997
|
+
label: string;
|
|
1998
|
+
}>, "many">>;
|
|
1999
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2000
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2001
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2002
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2003
|
+
next: z.ZodOptional<z.ZodString>;
|
|
2004
|
+
triggerFieldKeys: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["containerId", "templateId"]>, "many">, ("containerId" | "templateId")[], ("containerId" | "templateId")[]>>;
|
|
2005
|
+
}, "strict", z.ZodTypeAny, {
|
|
2006
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2007
|
+
label: string;
|
|
2008
|
+
key: string;
|
|
2009
|
+
description?: string | undefined;
|
|
2010
|
+
maxLength?: number | undefined;
|
|
2011
|
+
maxItems?: number | undefined;
|
|
2012
|
+
required?: boolean | undefined;
|
|
2013
|
+
min?: number | undefined;
|
|
2014
|
+
max?: number | undefined;
|
|
2015
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2016
|
+
readOnly?: boolean | undefined;
|
|
2017
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2018
|
+
choices?: {
|
|
2019
|
+
value: string | number;
|
|
2020
|
+
label: string;
|
|
2021
|
+
}[] | undefined;
|
|
2022
|
+
next?: string | undefined;
|
|
2023
|
+
}, {
|
|
2024
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2025
|
+
label: string;
|
|
2026
|
+
key: string;
|
|
2027
|
+
description?: string | undefined;
|
|
2028
|
+
maxLength?: number | undefined;
|
|
2029
|
+
maxItems?: number | undefined;
|
|
2030
|
+
required?: boolean | undefined;
|
|
2031
|
+
min?: number | undefined;
|
|
2032
|
+
max?: number | undefined;
|
|
2033
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2034
|
+
readOnly?: boolean | undefined;
|
|
2035
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2036
|
+
choices?: {
|
|
2037
|
+
value: string | number;
|
|
2038
|
+
label: string;
|
|
2039
|
+
}[] | undefined;
|
|
2040
|
+
next?: string | undefined;
|
|
2041
|
+
}>, {
|
|
2042
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2043
|
+
label: string;
|
|
2044
|
+
key: string;
|
|
2045
|
+
description?: string | undefined;
|
|
2046
|
+
maxLength?: number | undefined;
|
|
2047
|
+
maxItems?: number | undefined;
|
|
2048
|
+
required?: boolean | undefined;
|
|
2049
|
+
min?: number | undefined;
|
|
2050
|
+
max?: number | undefined;
|
|
2051
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2052
|
+
readOnly?: boolean | undefined;
|
|
2053
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2054
|
+
choices?: {
|
|
2055
|
+
value: string | number;
|
|
2056
|
+
label: string;
|
|
2057
|
+
}[] | undefined;
|
|
2058
|
+
next?: string | undefined;
|
|
2059
|
+
}, {
|
|
2060
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2061
|
+
label: string;
|
|
2062
|
+
key: string;
|
|
2063
|
+
description?: string | undefined;
|
|
2064
|
+
maxLength?: number | undefined;
|
|
2065
|
+
maxItems?: number | undefined;
|
|
2066
|
+
required?: boolean | undefined;
|
|
2067
|
+
min?: number | undefined;
|
|
2068
|
+
max?: number | undefined;
|
|
2069
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2070
|
+
readOnly?: boolean | undefined;
|
|
2071
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2072
|
+
choices?: {
|
|
2073
|
+
value: string | number;
|
|
2074
|
+
label: string;
|
|
2075
|
+
}[] | undefined;
|
|
2076
|
+
next?: string | undefined;
|
|
2077
|
+
}>;
|
|
2078
|
+
export declare const IssueGetCreateSchemaInputSchema: z.ZodEffects<z.ZodObject<{
|
|
2079
|
+
selected: z.ZodOptional<z.ZodObject<{
|
|
2080
|
+
containerId: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2082
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2083
|
+
templateId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2084
|
+
fields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2085
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2086
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2087
|
+
}, "strict", z.ZodTypeAny, {
|
|
2088
|
+
value: string | number | boolean | string[] | number[];
|
|
2089
|
+
key: string;
|
|
2090
|
+
}, {
|
|
2091
|
+
value: string | number | boolean | string[] | number[];
|
|
2092
|
+
key: string;
|
|
2093
|
+
}>, "many">, {
|
|
2094
|
+
value: string | number | boolean | string[] | number[];
|
|
2095
|
+
key: string;
|
|
2096
|
+
}[], {
|
|
2097
|
+
value: string | number | boolean | string[] | number[];
|
|
2098
|
+
key: string;
|
|
2099
|
+
}[]>>>;
|
|
2100
|
+
}, "strict", z.ZodTypeAny, {
|
|
2101
|
+
description?: string | undefined;
|
|
2102
|
+
title?: string | undefined;
|
|
2103
|
+
fields?: {
|
|
2104
|
+
value: string | number | boolean | string[] | number[];
|
|
2105
|
+
key: string;
|
|
2106
|
+
}[] | undefined;
|
|
2107
|
+
containerId?: string | undefined;
|
|
2108
|
+
templateId?: string | undefined;
|
|
2109
|
+
}, {
|
|
2110
|
+
description?: string | undefined;
|
|
2111
|
+
title?: string | undefined;
|
|
2112
|
+
fields?: {
|
|
2113
|
+
value: string | number | boolean | string[] | number[];
|
|
2114
|
+
key: string;
|
|
2115
|
+
}[] | undefined;
|
|
2116
|
+
containerId?: string | undefined;
|
|
2117
|
+
templateId?: string | undefined;
|
|
2118
|
+
}>>;
|
|
2119
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
2120
|
+
key: z.ZodString;
|
|
2121
|
+
since: z.ZodString;
|
|
2122
|
+
}, "strict", z.ZodTypeAny, {
|
|
2123
|
+
key: string;
|
|
2124
|
+
since: string;
|
|
2125
|
+
}, {
|
|
2126
|
+
key: string;
|
|
2127
|
+
since: string;
|
|
2128
|
+
}>>;
|
|
2129
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2130
|
+
selected: z.ZodOptional<z.ZodObject<{
|
|
2131
|
+
containerId: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2133
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2134
|
+
templateId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2135
|
+
fields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2136
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2137
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2138
|
+
}, "strict", z.ZodTypeAny, {
|
|
2139
|
+
value: string | number | boolean | string[] | number[];
|
|
2140
|
+
key: string;
|
|
2141
|
+
}, {
|
|
2142
|
+
value: string | number | boolean | string[] | number[];
|
|
2143
|
+
key: string;
|
|
2144
|
+
}>, "many">, {
|
|
2145
|
+
value: string | number | boolean | string[] | number[];
|
|
2146
|
+
key: string;
|
|
2147
|
+
}[], {
|
|
2148
|
+
value: string | number | boolean | string[] | number[];
|
|
2149
|
+
key: string;
|
|
2150
|
+
}[]>>>;
|
|
2151
|
+
}, "strict", z.ZodTypeAny, {
|
|
2152
|
+
description?: string | undefined;
|
|
2153
|
+
title?: string | undefined;
|
|
2154
|
+
fields?: {
|
|
2155
|
+
value: string | number | boolean | string[] | number[];
|
|
2156
|
+
key: string;
|
|
2157
|
+
}[] | undefined;
|
|
2158
|
+
containerId?: string | undefined;
|
|
2159
|
+
templateId?: string | undefined;
|
|
2160
|
+
}, {
|
|
2161
|
+
description?: string | undefined;
|
|
2162
|
+
title?: string | undefined;
|
|
2163
|
+
fields?: {
|
|
2164
|
+
value: string | number | boolean | string[] | number[];
|
|
2165
|
+
key: string;
|
|
2166
|
+
}[] | undefined;
|
|
2167
|
+
containerId?: string | undefined;
|
|
2168
|
+
templateId?: string | undefined;
|
|
2169
|
+
}>>;
|
|
2170
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
2171
|
+
key: z.ZodString;
|
|
2172
|
+
since: z.ZodString;
|
|
2173
|
+
}, "strict", z.ZodTypeAny, {
|
|
2174
|
+
key: string;
|
|
2175
|
+
since: string;
|
|
2176
|
+
}, {
|
|
2177
|
+
key: string;
|
|
2178
|
+
since: string;
|
|
2179
|
+
}>>;
|
|
2180
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2181
|
+
selected: z.ZodOptional<z.ZodObject<{
|
|
2182
|
+
containerId: z.ZodOptional<z.ZodString>;
|
|
2183
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2184
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2185
|
+
templateId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2186
|
+
fields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2187
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2188
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2189
|
+
}, "strict", z.ZodTypeAny, {
|
|
2190
|
+
value: string | number | boolean | string[] | number[];
|
|
2191
|
+
key: string;
|
|
2192
|
+
}, {
|
|
2193
|
+
value: string | number | boolean | string[] | number[];
|
|
2194
|
+
key: string;
|
|
2195
|
+
}>, "many">, {
|
|
2196
|
+
value: string | number | boolean | string[] | number[];
|
|
2197
|
+
key: string;
|
|
2198
|
+
}[], {
|
|
2199
|
+
value: string | number | boolean | string[] | number[];
|
|
2200
|
+
key: string;
|
|
2201
|
+
}[]>>>;
|
|
2202
|
+
}, "strict", z.ZodTypeAny, {
|
|
2203
|
+
description?: string | undefined;
|
|
2204
|
+
title?: string | undefined;
|
|
2205
|
+
fields?: {
|
|
2206
|
+
value: string | number | boolean | string[] | number[];
|
|
2207
|
+
key: string;
|
|
2208
|
+
}[] | undefined;
|
|
2209
|
+
containerId?: string | undefined;
|
|
2210
|
+
templateId?: string | undefined;
|
|
2211
|
+
}, {
|
|
2212
|
+
description?: string | undefined;
|
|
2213
|
+
title?: string | undefined;
|
|
2214
|
+
fields?: {
|
|
2215
|
+
value: string | number | boolean | string[] | number[];
|
|
2216
|
+
key: string;
|
|
2217
|
+
}[] | undefined;
|
|
2218
|
+
containerId?: string | undefined;
|
|
2219
|
+
templateId?: string | undefined;
|
|
2220
|
+
}>>;
|
|
2221
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
2222
|
+
key: z.ZodString;
|
|
2223
|
+
since: z.ZodString;
|
|
2224
|
+
}, "strict", z.ZodTypeAny, {
|
|
2225
|
+
key: string;
|
|
2226
|
+
since: string;
|
|
2227
|
+
}, {
|
|
2228
|
+
key: string;
|
|
2229
|
+
since: string;
|
|
2230
|
+
}>>;
|
|
2231
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
2232
|
+
page?: {
|
|
2233
|
+
key: string;
|
|
2234
|
+
since: string;
|
|
2235
|
+
};
|
|
2236
|
+
selected?: {
|
|
2237
|
+
description?: string | undefined;
|
|
2238
|
+
title?: string | undefined;
|
|
2239
|
+
fields?: {
|
|
2240
|
+
value: string | number | boolean | string[] | number[];
|
|
2241
|
+
key: string;
|
|
2242
|
+
}[] | undefined;
|
|
2243
|
+
containerId?: string | undefined;
|
|
2244
|
+
templateId?: string | undefined;
|
|
2245
|
+
};
|
|
2246
|
+
}, z.objectInputType<{
|
|
2247
|
+
selected: z.ZodOptional<z.ZodObject<{
|
|
2248
|
+
containerId: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2250
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2251
|
+
templateId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2252
|
+
fields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2253
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2254
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2255
|
+
}, "strict", z.ZodTypeAny, {
|
|
2256
|
+
value: string | number | boolean | string[] | number[];
|
|
2257
|
+
key: string;
|
|
2258
|
+
}, {
|
|
2259
|
+
value: string | number | boolean | string[] | number[];
|
|
2260
|
+
key: string;
|
|
2261
|
+
}>, "many">, {
|
|
2262
|
+
value: string | number | boolean | string[] | number[];
|
|
2263
|
+
key: string;
|
|
2264
|
+
}[], {
|
|
2265
|
+
value: string | number | boolean | string[] | number[];
|
|
2266
|
+
key: string;
|
|
2267
|
+
}[]>>>;
|
|
2268
|
+
}, "strict", z.ZodTypeAny, {
|
|
2269
|
+
description?: string | undefined;
|
|
2270
|
+
title?: string | undefined;
|
|
2271
|
+
fields?: {
|
|
2272
|
+
value: string | number | boolean | string[] | number[];
|
|
2273
|
+
key: string;
|
|
2274
|
+
}[] | undefined;
|
|
2275
|
+
containerId?: string | undefined;
|
|
2276
|
+
templateId?: string | undefined;
|
|
2277
|
+
}, {
|
|
2278
|
+
description?: string | undefined;
|
|
2279
|
+
title?: string | undefined;
|
|
2280
|
+
fields?: {
|
|
2281
|
+
value: string | number | boolean | string[] | number[];
|
|
2282
|
+
key: string;
|
|
2283
|
+
}[] | undefined;
|
|
2284
|
+
containerId?: string | undefined;
|
|
2285
|
+
templateId?: string | undefined;
|
|
2286
|
+
}>>;
|
|
2287
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
2288
|
+
key: z.ZodString;
|
|
2289
|
+
since: z.ZodString;
|
|
2290
|
+
}, "strict", z.ZodTypeAny, {
|
|
2291
|
+
key: string;
|
|
2292
|
+
since: string;
|
|
2293
|
+
}, {
|
|
2294
|
+
key: string;
|
|
2295
|
+
since: string;
|
|
2296
|
+
}>>;
|
|
2297
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2298
|
+
export declare const IssueGetCreateSchemaOutputSchema: z.ZodDiscriminatedUnion<"availability", [z.ZodObject<{
|
|
2299
|
+
availability: z.ZodLiteral<"available">;
|
|
2300
|
+
accountRef: z.ZodString;
|
|
2301
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2302
|
+
key: z.ZodString;
|
|
2303
|
+
label: z.ZodString;
|
|
2304
|
+
type: z.ZodEnum<["text", "textarea", "number", "checkbox", "select", "multiselect"]>;
|
|
2305
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2306
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2307
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>>;
|
|
2308
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2309
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2310
|
+
label: z.ZodString;
|
|
2311
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2312
|
+
}, "strict", z.ZodTypeAny, {
|
|
2313
|
+
value: string | number;
|
|
2314
|
+
label: string;
|
|
2315
|
+
}, {
|
|
2316
|
+
value: string | number;
|
|
2317
|
+
label: string;
|
|
2318
|
+
}>, "many">>;
|
|
2319
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2320
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2321
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2322
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2323
|
+
next: z.ZodOptional<z.ZodString>;
|
|
2324
|
+
triggerFieldKeys: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["containerId", "templateId"]>, "many">, ("containerId" | "templateId")[], ("containerId" | "templateId")[]>>;
|
|
2325
|
+
}, "strict", z.ZodTypeAny, {
|
|
2326
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2327
|
+
label: string;
|
|
2328
|
+
key: string;
|
|
2329
|
+
description?: string | undefined;
|
|
2330
|
+
maxLength?: number | undefined;
|
|
2331
|
+
maxItems?: number | undefined;
|
|
2332
|
+
required?: boolean | undefined;
|
|
2333
|
+
min?: number | undefined;
|
|
2334
|
+
max?: number | undefined;
|
|
2335
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2336
|
+
readOnly?: boolean | undefined;
|
|
2337
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2338
|
+
choices?: {
|
|
2339
|
+
value: string | number;
|
|
2340
|
+
label: string;
|
|
2341
|
+
}[] | undefined;
|
|
2342
|
+
next?: string | undefined;
|
|
2343
|
+
}, {
|
|
2344
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2345
|
+
label: string;
|
|
2346
|
+
key: string;
|
|
2347
|
+
description?: string | undefined;
|
|
2348
|
+
maxLength?: number | undefined;
|
|
2349
|
+
maxItems?: number | undefined;
|
|
2350
|
+
required?: boolean | undefined;
|
|
2351
|
+
min?: number | undefined;
|
|
2352
|
+
max?: number | undefined;
|
|
2353
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2354
|
+
readOnly?: boolean | undefined;
|
|
2355
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2356
|
+
choices?: {
|
|
2357
|
+
value: string | number;
|
|
2358
|
+
label: string;
|
|
2359
|
+
}[] | undefined;
|
|
2360
|
+
next?: string | undefined;
|
|
2361
|
+
}>, {
|
|
2362
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2363
|
+
label: string;
|
|
2364
|
+
key: string;
|
|
2365
|
+
description?: string | undefined;
|
|
2366
|
+
maxLength?: number | undefined;
|
|
2367
|
+
maxItems?: number | undefined;
|
|
2368
|
+
required?: boolean | undefined;
|
|
2369
|
+
min?: number | undefined;
|
|
2370
|
+
max?: number | undefined;
|
|
2371
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2372
|
+
readOnly?: boolean | undefined;
|
|
2373
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2374
|
+
choices?: {
|
|
2375
|
+
value: string | number;
|
|
2376
|
+
label: string;
|
|
2377
|
+
}[] | undefined;
|
|
2378
|
+
next?: string | undefined;
|
|
2379
|
+
}, {
|
|
2380
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2381
|
+
label: string;
|
|
2382
|
+
key: string;
|
|
2383
|
+
description?: string | undefined;
|
|
2384
|
+
maxLength?: number | undefined;
|
|
2385
|
+
maxItems?: number | undefined;
|
|
2386
|
+
required?: boolean | undefined;
|
|
2387
|
+
min?: number | undefined;
|
|
2388
|
+
max?: number | undefined;
|
|
2389
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2390
|
+
readOnly?: boolean | undefined;
|
|
2391
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2392
|
+
choices?: {
|
|
2393
|
+
value: string | number;
|
|
2394
|
+
label: string;
|
|
2395
|
+
}[] | undefined;
|
|
2396
|
+
next?: string | undefined;
|
|
2397
|
+
}>, "many">, {
|
|
2398
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2399
|
+
label: string;
|
|
2400
|
+
key: string;
|
|
2401
|
+
description?: string | undefined;
|
|
2402
|
+
maxLength?: number | undefined;
|
|
2403
|
+
maxItems?: number | undefined;
|
|
2404
|
+
required?: boolean | undefined;
|
|
2405
|
+
min?: number | undefined;
|
|
2406
|
+
max?: number | undefined;
|
|
2407
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2408
|
+
readOnly?: boolean | undefined;
|
|
2409
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2410
|
+
choices?: {
|
|
2411
|
+
value: string | number;
|
|
2412
|
+
label: string;
|
|
2413
|
+
}[] | undefined;
|
|
2414
|
+
next?: string | undefined;
|
|
2415
|
+
}[], {
|
|
2416
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2417
|
+
label: string;
|
|
2418
|
+
key: string;
|
|
2419
|
+
description?: string | undefined;
|
|
2420
|
+
maxLength?: number | undefined;
|
|
2421
|
+
maxItems?: number | undefined;
|
|
2422
|
+
required?: boolean | undefined;
|
|
2423
|
+
min?: number | undefined;
|
|
2424
|
+
max?: number | undefined;
|
|
2425
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2426
|
+
readOnly?: boolean | undefined;
|
|
2427
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2428
|
+
choices?: {
|
|
2429
|
+
value: string | number;
|
|
2430
|
+
label: string;
|
|
2431
|
+
}[] | undefined;
|
|
2432
|
+
next?: string | undefined;
|
|
2433
|
+
}[]>;
|
|
2434
|
+
}, "strict", z.ZodTypeAny, {
|
|
2435
|
+
fields: {
|
|
2436
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2437
|
+
label: string;
|
|
2438
|
+
key: string;
|
|
2439
|
+
description?: string | undefined;
|
|
2440
|
+
maxLength?: number | undefined;
|
|
2441
|
+
maxItems?: number | undefined;
|
|
2442
|
+
required?: boolean | undefined;
|
|
2443
|
+
min?: number | undefined;
|
|
2444
|
+
max?: number | undefined;
|
|
2445
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2446
|
+
readOnly?: boolean | undefined;
|
|
2447
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2448
|
+
choices?: {
|
|
2449
|
+
value: string | number;
|
|
2450
|
+
label: string;
|
|
2451
|
+
}[] | undefined;
|
|
2452
|
+
next?: string | undefined;
|
|
2453
|
+
}[];
|
|
2454
|
+
availability: "available";
|
|
2455
|
+
accountRef: string;
|
|
2456
|
+
}, {
|
|
2457
|
+
fields: {
|
|
2458
|
+
type: "number" | "text" | "textarea" | "select" | "multiselect" | "checkbox";
|
|
2459
|
+
label: string;
|
|
2460
|
+
key: string;
|
|
2461
|
+
description?: string | undefined;
|
|
2462
|
+
maxLength?: number | undefined;
|
|
2463
|
+
maxItems?: number | undefined;
|
|
2464
|
+
required?: boolean | undefined;
|
|
2465
|
+
min?: number | undefined;
|
|
2466
|
+
max?: number | undefined;
|
|
2467
|
+
triggerFieldKeys?: ("containerId" | "templateId")[] | undefined;
|
|
2468
|
+
readOnly?: boolean | undefined;
|
|
2469
|
+
defaultValue?: string | number | boolean | string[] | number[] | undefined;
|
|
2470
|
+
choices?: {
|
|
2471
|
+
value: string | number;
|
|
2472
|
+
label: string;
|
|
2473
|
+
}[] | undefined;
|
|
2474
|
+
next?: string | undefined;
|
|
2475
|
+
}[];
|
|
2476
|
+
availability: "available";
|
|
2477
|
+
accountRef: string;
|
|
2478
|
+
}>, z.ZodObject<{
|
|
2479
|
+
availability: z.ZodLiteral<"externalOnly">;
|
|
2480
|
+
reason: z.ZodString;
|
|
2481
|
+
externalUrl: z.ZodString;
|
|
2482
|
+
}, "strict", z.ZodTypeAny, {
|
|
2483
|
+
reason: string;
|
|
2484
|
+
externalUrl: string;
|
|
2485
|
+
availability: "externalOnly";
|
|
2486
|
+
}, {
|
|
2487
|
+
reason: string;
|
|
2488
|
+
externalUrl: string;
|
|
2489
|
+
availability: "externalOnly";
|
|
2490
|
+
}>]>;
|
|
2491
|
+
export declare const IssueCreateIssueInputSchema: z.ZodEffects<z.ZodObject<{
|
|
2492
|
+
requestId: z.ZodString;
|
|
2493
|
+
accountRef: z.ZodString;
|
|
2494
|
+
recoveryOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2495
|
+
containerId: z.ZodString;
|
|
2496
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2497
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2498
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
2499
|
+
fields: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2500
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2501
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2502
|
+
}, "strict", z.ZodTypeAny, {
|
|
2503
|
+
value: string | number | boolean | string[] | number[];
|
|
2504
|
+
key: string;
|
|
2505
|
+
}, {
|
|
2506
|
+
value: string | number | boolean | string[] | number[];
|
|
2507
|
+
key: string;
|
|
2508
|
+
}>, "many">, {
|
|
2509
|
+
value: string | number | boolean | string[] | number[];
|
|
2510
|
+
key: string;
|
|
2511
|
+
}[], {
|
|
2512
|
+
value: string | number | boolean | string[] | number[];
|
|
2513
|
+
key: string;
|
|
2514
|
+
}[]>>;
|
|
2515
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2516
|
+
requestId: z.ZodString;
|
|
2517
|
+
accountRef: z.ZodString;
|
|
2518
|
+
recoveryOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2519
|
+
containerId: z.ZodString;
|
|
2520
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
fields: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2524
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2525
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2526
|
+
}, "strict", z.ZodTypeAny, {
|
|
2527
|
+
value: string | number | boolean | string[] | number[];
|
|
2528
|
+
key: string;
|
|
2529
|
+
}, {
|
|
2530
|
+
value: string | number | boolean | string[] | number[];
|
|
2531
|
+
key: string;
|
|
2532
|
+
}>, "many">, {
|
|
2533
|
+
value: string | number | boolean | string[] | number[];
|
|
2534
|
+
key: string;
|
|
2535
|
+
}[], {
|
|
2536
|
+
value: string | number | boolean | string[] | number[];
|
|
2537
|
+
key: string;
|
|
2538
|
+
}[]>>;
|
|
2539
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2540
|
+
requestId: z.ZodString;
|
|
2541
|
+
accountRef: z.ZodString;
|
|
2542
|
+
recoveryOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2543
|
+
containerId: z.ZodString;
|
|
2544
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2546
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
2547
|
+
fields: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2548
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2549
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2550
|
+
}, "strict", z.ZodTypeAny, {
|
|
2551
|
+
value: string | number | boolean | string[] | number[];
|
|
2552
|
+
key: string;
|
|
2553
|
+
}, {
|
|
2554
|
+
value: string | number | boolean | string[] | number[];
|
|
2555
|
+
key: string;
|
|
2556
|
+
}>, "many">, {
|
|
2557
|
+
value: string | number | boolean | string[] | number[];
|
|
2558
|
+
key: string;
|
|
2559
|
+
}[], {
|
|
2560
|
+
value: string | number | boolean | string[] | number[];
|
|
2561
|
+
key: string;
|
|
2562
|
+
}[]>>;
|
|
2563
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
2564
|
+
recoveryOnly?: boolean;
|
|
2565
|
+
fields?: {
|
|
2566
|
+
value: string | number | boolean | string[] | number[];
|
|
2567
|
+
key: string;
|
|
2568
|
+
}[];
|
|
2569
|
+
templateId?: string;
|
|
2570
|
+
description?: string;
|
|
2571
|
+
title?: string;
|
|
2572
|
+
containerId: string;
|
|
2573
|
+
requestId: string;
|
|
2574
|
+
accountRef: string;
|
|
2575
|
+
}, z.objectInputType<{
|
|
2576
|
+
requestId: z.ZodString;
|
|
2577
|
+
accountRef: z.ZodString;
|
|
2578
|
+
recoveryOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2579
|
+
containerId: z.ZodString;
|
|
2580
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2581
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2582
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
fields: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2584
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
2585
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>]>;
|
|
2586
|
+
}, "strict", z.ZodTypeAny, {
|
|
2587
|
+
value: string | number | boolean | string[] | number[];
|
|
2588
|
+
key: string;
|
|
2589
|
+
}, {
|
|
2590
|
+
value: string | number | boolean | string[] | number[];
|
|
2591
|
+
key: string;
|
|
2592
|
+
}>, "many">, {
|
|
2593
|
+
value: string | number | boolean | string[] | number[];
|
|
2594
|
+
key: string;
|
|
2595
|
+
}[], {
|
|
2596
|
+
value: string | number | boolean | string[] | number[];
|
|
2597
|
+
key: string;
|
|
2598
|
+
}[]>>;
|
|
2599
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2600
|
+
export declare const IssueCreateIssueOutputSchema: z.ZodObject<{
|
|
2601
|
+
issue: z.ZodObject<{
|
|
2602
|
+
issueId: z.ZodString;
|
|
2603
|
+
identifier: z.ZodString;
|
|
2604
|
+
title: z.ZodString;
|
|
2605
|
+
url: z.ZodString;
|
|
2606
|
+
state: z.ZodEnum<["open", "unstarted", "started", "completed", "canceled"]>;
|
|
2607
|
+
providerState: z.ZodObject<{
|
|
2608
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2609
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2610
|
+
name: z.ZodString;
|
|
2611
|
+
}, "strict", z.ZodTypeAny, {
|
|
2612
|
+
name: string;
|
|
2613
|
+
id?: string | null | undefined;
|
|
2614
|
+
category?: string | null | undefined;
|
|
2615
|
+
}, {
|
|
2616
|
+
name: string;
|
|
2617
|
+
id?: string | null | undefined;
|
|
2618
|
+
category?: string | null | undefined;
|
|
2619
|
+
}>;
|
|
2620
|
+
createdAt: z.ZodString;
|
|
2621
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2622
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2623
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2624
|
+
closedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2625
|
+
name: z.ZodString;
|
|
2626
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2627
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
type: z.ZodOptional<z.ZodEnum<["user", "bot"]>>;
|
|
2629
|
+
}, "strict", z.ZodTypeAny, {
|
|
2630
|
+
name: string;
|
|
2631
|
+
type?: "user" | "bot" | undefined;
|
|
2632
|
+
id?: string | undefined;
|
|
2633
|
+
url?: string | undefined;
|
|
2634
|
+
}, {
|
|
2635
|
+
name: string;
|
|
2636
|
+
type?: "user" | "bot" | undefined;
|
|
2637
|
+
id?: string | undefined;
|
|
2638
|
+
url?: string | undefined;
|
|
2639
|
+
}>>>;
|
|
2640
|
+
} & {
|
|
2641
|
+
container: z.ZodObject<{
|
|
2642
|
+
id: z.ZodString;
|
|
2643
|
+
name: z.ZodString;
|
|
2644
|
+
}, "strict", z.ZodTypeAny, {
|
|
2645
|
+
name: string;
|
|
2646
|
+
id: string;
|
|
2647
|
+
}, {
|
|
2648
|
+
name: string;
|
|
2649
|
+
id: string;
|
|
2650
|
+
}>;
|
|
2651
|
+
}, "strict", z.ZodTypeAny, {
|
|
2652
|
+
title: string;
|
|
2653
|
+
url: string;
|
|
2654
|
+
state: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
2655
|
+
createdAt: string;
|
|
2656
|
+
identifier: string;
|
|
2657
|
+
issueId: string;
|
|
2658
|
+
providerState: {
|
|
2659
|
+
name: string;
|
|
2660
|
+
id?: string | null | undefined;
|
|
2661
|
+
category?: string | null | undefined;
|
|
2662
|
+
};
|
|
2663
|
+
container: {
|
|
2664
|
+
name: string;
|
|
2665
|
+
id: string;
|
|
2666
|
+
};
|
|
2667
|
+
description?: string | undefined;
|
|
2668
|
+
updatedAt?: string | null | undefined;
|
|
2669
|
+
closedAt?: string | null | undefined;
|
|
2670
|
+
closedBy?: {
|
|
2671
|
+
name: string;
|
|
2672
|
+
type?: "user" | "bot" | undefined;
|
|
2673
|
+
id?: string | undefined;
|
|
2674
|
+
url?: string | undefined;
|
|
2675
|
+
} | null | undefined;
|
|
2676
|
+
}, {
|
|
2677
|
+
title: string;
|
|
2678
|
+
url: string;
|
|
2679
|
+
state: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
2680
|
+
createdAt: string;
|
|
2681
|
+
identifier: string;
|
|
2682
|
+
issueId: string;
|
|
2683
|
+
providerState: {
|
|
2684
|
+
name: string;
|
|
2685
|
+
id?: string | null | undefined;
|
|
2686
|
+
category?: string | null | undefined;
|
|
2687
|
+
};
|
|
2688
|
+
container: {
|
|
2689
|
+
name: string;
|
|
2690
|
+
id: string;
|
|
2691
|
+
};
|
|
2692
|
+
description?: string | undefined;
|
|
2693
|
+
updatedAt?: string | null | undefined;
|
|
2694
|
+
closedAt?: string | null | undefined;
|
|
2695
|
+
closedBy?: {
|
|
2696
|
+
name: string;
|
|
2697
|
+
type?: "user" | "bot" | undefined;
|
|
2698
|
+
id?: string | undefined;
|
|
2699
|
+
url?: string | undefined;
|
|
2700
|
+
} | null | undefined;
|
|
2701
|
+
}>;
|
|
2702
|
+
}, "strict", z.ZodTypeAny, {
|
|
2703
|
+
issue: {
|
|
2704
|
+
title: string;
|
|
2705
|
+
url: string;
|
|
2706
|
+
state: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
2707
|
+
createdAt: string;
|
|
2708
|
+
identifier: string;
|
|
2709
|
+
issueId: string;
|
|
2710
|
+
providerState: {
|
|
2711
|
+
name: string;
|
|
2712
|
+
id?: string | null | undefined;
|
|
2713
|
+
category?: string | null | undefined;
|
|
2714
|
+
};
|
|
2715
|
+
container: {
|
|
2716
|
+
name: string;
|
|
2717
|
+
id: string;
|
|
2718
|
+
};
|
|
2719
|
+
description?: string | undefined;
|
|
2720
|
+
updatedAt?: string | null | undefined;
|
|
2721
|
+
closedAt?: string | null | undefined;
|
|
2722
|
+
closedBy?: {
|
|
2723
|
+
name: string;
|
|
2724
|
+
type?: "user" | "bot" | undefined;
|
|
2725
|
+
id?: string | undefined;
|
|
2726
|
+
url?: string | undefined;
|
|
2727
|
+
} | null | undefined;
|
|
2728
|
+
};
|
|
2729
|
+
}, {
|
|
2730
|
+
issue: {
|
|
2731
|
+
title: string;
|
|
2732
|
+
url: string;
|
|
2733
|
+
state: "completed" | "canceled" | "open" | "unstarted" | "started";
|
|
2734
|
+
createdAt: string;
|
|
2735
|
+
identifier: string;
|
|
2736
|
+
issueId: string;
|
|
2737
|
+
providerState: {
|
|
2738
|
+
name: string;
|
|
2739
|
+
id?: string | null | undefined;
|
|
2740
|
+
category?: string | null | undefined;
|
|
2741
|
+
};
|
|
2742
|
+
container: {
|
|
2743
|
+
name: string;
|
|
2744
|
+
id: string;
|
|
2745
|
+
};
|
|
2746
|
+
description?: string | undefined;
|
|
2747
|
+
updatedAt?: string | null | undefined;
|
|
2748
|
+
closedAt?: string | null | undefined;
|
|
2749
|
+
closedBy?: {
|
|
2750
|
+
name: string;
|
|
2751
|
+
type?: "user" | "bot" | undefined;
|
|
2752
|
+
id?: string | undefined;
|
|
2753
|
+
url?: string | undefined;
|
|
2754
|
+
} | null | undefined;
|
|
2755
|
+
};
|
|
2756
|
+
}>;
|
|
2757
|
+
export declare const IssueFieldErrorSchema: z.ZodObject<{
|
|
2758
|
+
key: z.ZodString;
|
|
2759
|
+
message: z.ZodString;
|
|
2760
|
+
}, "strict", z.ZodTypeAny, {
|
|
2761
|
+
message: string;
|
|
2762
|
+
key: string;
|
|
2763
|
+
}, {
|
|
2764
|
+
message: string;
|
|
2765
|
+
key: string;
|
|
2766
|
+
}>;
|
|
2767
|
+
export declare const IssueRecoverySchema: z.ZodObject<{
|
|
2768
|
+
sourceIssueId: z.ZodString;
|
|
2769
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
}, "strict", z.ZodTypeAny, {
|
|
2771
|
+
sourceIssueId: string;
|
|
2772
|
+
externalUrl?: string | undefined;
|
|
2773
|
+
}, {
|
|
2774
|
+
sourceIssueId: string;
|
|
2775
|
+
externalUrl?: string | undefined;
|
|
2776
|
+
}>;
|
|
2777
|
+
export type IssueCreateChoice = ProtoBacked<z.infer<typeof IssueCreateChoiceSchema>, ProtoIssueCreateChoice>;
|
|
2778
|
+
export type IssueCreateFieldValue = ProtoBacked<z.infer<typeof IssueCreateFieldValueSchema>, ProtoIssueCreateFieldValue>;
|
|
2779
|
+
export type IssueCreateFormField = ProtoBacked<z.infer<typeof IssueCreateFormFieldSchema>, ProtoIssueCreateFormField>;
|
|
2780
|
+
export type IssueCreateValues = ProtoBacked<z.infer<typeof IssueCreateValuesSchema>, ProtoIssueCreateValues>;
|
|
2781
|
+
export type IssueCreateSelectedValues = ProtoBacked<z.infer<typeof IssueCreateSelectedValuesSchema>, ProtoIssueCreateSelectedValues>;
|
|
2782
|
+
export type IssueCreateSchemaPage = ProtoBacked<z.infer<typeof IssueCreateSchemaPageSchema>, ProtoIssueCreateSchemaPage>;
|
|
2783
|
+
export type IssueGetCreateSchemaInput = ProtoBacked<z.infer<typeof IssueGetCreateSchemaInputSchema>, ProtoIssueGetCreateSchemaInput>;
|
|
2784
|
+
export type IssueGetCreateSchemaOutput = ProtoBacked<z.infer<typeof IssueGetCreateSchemaOutputSchema>, ProtoIssueGetCreateSchemaOutput>;
|
|
2785
|
+
export type IssueCreateIssueInput = ProtoBacked<z.infer<typeof IssueCreateIssueInputSchema>, ProtoIssueCreateIssueInput>;
|
|
2786
|
+
export type IssueCreateIssueOutput = ProtoBacked<z.infer<typeof IssueCreateIssueOutputSchema>, ProtoIssueCreateIssueOutput>;
|
|
2787
|
+
export type IssueFieldError = ProtoBacked<z.infer<typeof IssueFieldErrorSchema>, ProtoIssueFieldError>;
|
|
2788
|
+
export type IssueRecovery = ProtoBacked<z.infer<typeof IssueRecoverySchema>, ProtoIssueRecovery>;
|
|
2789
|
+
export declare const IssueCreateCommentInputSchema: z.ZodObject<{
|
|
2790
|
+
issueId: z.ZodString;
|
|
2791
|
+
body: z.ZodString;
|
|
2792
|
+
requestId: z.ZodString;
|
|
2793
|
+
accountRef: z.ZodString;
|
|
2794
|
+
recoveryOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2795
|
+
}, "strip", z.ZodTypeAny, {
|
|
2796
|
+
requestId: string;
|
|
2797
|
+
body: string;
|
|
2798
|
+
issueId: string;
|
|
2799
|
+
accountRef: string;
|
|
2800
|
+
recoveryOnly?: boolean | undefined;
|
|
2801
|
+
}, {
|
|
2802
|
+
requestId: string;
|
|
2803
|
+
body: string;
|
|
2804
|
+
issueId: string;
|
|
2805
|
+
accountRef: string;
|
|
2806
|
+
recoveryOnly?: boolean | undefined;
|
|
2807
|
+
}>;
|
|
2808
|
+
export declare const IssueCreateCommentOutputSchema: z.ZodObject<{
|
|
2809
|
+
commentId: z.ZodString;
|
|
2810
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2811
|
+
}, "strict", z.ZodTypeAny, {
|
|
2812
|
+
commentId: string;
|
|
2813
|
+
url?: string | undefined;
|
|
2814
|
+
}, {
|
|
2815
|
+
commentId: string;
|
|
2816
|
+
url?: string | undefined;
|
|
2817
|
+
}>;
|
|
2818
|
+
export type IssueCreateCommentInput = ProtoBacked<z.infer<typeof IssueCreateCommentInputSchema>, ProtoIssueCreateCommentInput>;
|
|
2819
|
+
export type IssueCreateCommentOutput = ProtoBacked<z.infer<typeof IssueCreateCommentOutputSchema>, ProtoIssueCreateCommentOutput>;
|
|
1767
2820
|
export {};
|
|
1768
2821
|
//# sourceMappingURL=issue.d.ts.map
|