@deepintel-ltd/farmpro-contracts 1.16.10 → 1.16.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/admin.routes.d.ts +1036 -0
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +29 -1
- package/dist/routes/agent-workflows.routes.d.ts +246 -246
- package/dist/routes/agents.routes.d.ts +16 -16
- package/dist/routes/fertigation.routes.d.ts +336 -336
- package/dist/routes/field-monitoring.routes.d.ts +8 -8
- package/dist/routes/field-observations.routes.d.ts +56 -56
- package/dist/routes/fields.routes.d.ts +63 -63
- package/dist/routes/health.routes.d.ts +66 -0
- package/dist/routes/health.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.d.ts +8 -8
- package/dist/routes/livestock.routes.d.ts +50 -50
- package/dist/routes/payments.routes.d.ts +20 -20
- package/dist/routes/pest-disease-risk.routes.d.ts +4 -4
- package/dist/routes/soil-tests.routes.d.ts +40 -40
- package/dist/schemas/admin.schemas.d.ts +267 -0
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +38 -0
- package/dist/schemas/agent-workflows.schemas.d.ts +206 -206
- package/dist/schemas/agents.schemas.d.ts +16 -16
- package/dist/schemas/fertigation.schemas.d.ts +128 -128
- package/dist/schemas/field-monitoring.schemas.d.ts +8 -8
- package/dist/schemas/field-observations.schemas.d.ts +46 -46
- package/dist/schemas/fields.schemas.d.ts +59 -59
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +8 -1
- package/dist/schemas/health.schemas.d.ts +33 -0
- package/dist/schemas/health.schemas.d.ts.map +1 -1
- package/dist/schemas/health.schemas.js +1 -0
- package/dist/schemas/livestock.schemas.d.ts +50 -50
- package/dist/schemas/payments.schemas.d.ts +20 -20
- package/dist/schemas/pest-disease-risk.schemas.d.ts +2 -2
- package/dist/schemas/soil-tests.schemas.d.ts +42 -42
- package/package.json +1 -1
|
@@ -4974,6 +4974,1042 @@ export declare const adminRouter: {
|
|
|
4974
4974
|
}>;
|
|
4975
4975
|
};
|
|
4976
4976
|
};
|
|
4977
|
+
retryObservationAnalysis: {
|
|
4978
|
+
summary: "Re-queue observation analysis (bulk)";
|
|
4979
|
+
description: "Re-enqueue AI analysis for pending or failed observations. Optional observationIds, statuses, limit (max 500), and force.";
|
|
4980
|
+
method: "POST";
|
|
4981
|
+
body: z.ZodDefault<z.ZodObject<{
|
|
4982
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
4983
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
4984
|
+
observationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4985
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["pending", "failed", "processing"]>, "many">>;
|
|
4986
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4987
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
4988
|
+
}, "strip", z.ZodTypeAny, {
|
|
4989
|
+
limit?: number | undefined;
|
|
4990
|
+
observationIds?: string[] | undefined;
|
|
4991
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
4992
|
+
force?: boolean | undefined;
|
|
4993
|
+
}, {
|
|
4994
|
+
limit?: number | undefined;
|
|
4995
|
+
observationIds?: string[] | undefined;
|
|
4996
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
4997
|
+
force?: boolean | undefined;
|
|
4998
|
+
}>>;
|
|
4999
|
+
}, "strip", z.ZodTypeAny, {
|
|
5000
|
+
attributes?: {
|
|
5001
|
+
limit?: number | undefined;
|
|
5002
|
+
observationIds?: string[] | undefined;
|
|
5003
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
5004
|
+
force?: boolean | undefined;
|
|
5005
|
+
} | undefined;
|
|
5006
|
+
}, {
|
|
5007
|
+
attributes?: {
|
|
5008
|
+
limit?: number | undefined;
|
|
5009
|
+
observationIds?: string[] | undefined;
|
|
5010
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
5011
|
+
force?: boolean | undefined;
|
|
5012
|
+
} | undefined;
|
|
5013
|
+
}>>;
|
|
5014
|
+
}, "strip", z.ZodTypeAny, {
|
|
5015
|
+
data?: {
|
|
5016
|
+
attributes?: {
|
|
5017
|
+
limit?: number | undefined;
|
|
5018
|
+
observationIds?: string[] | undefined;
|
|
5019
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
5020
|
+
force?: boolean | undefined;
|
|
5021
|
+
} | undefined;
|
|
5022
|
+
} | undefined;
|
|
5023
|
+
}, {
|
|
5024
|
+
data?: {
|
|
5025
|
+
attributes?: {
|
|
5026
|
+
limit?: number | undefined;
|
|
5027
|
+
observationIds?: string[] | undefined;
|
|
5028
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
5029
|
+
force?: boolean | undefined;
|
|
5030
|
+
} | undefined;
|
|
5031
|
+
} | undefined;
|
|
5032
|
+
}>>;
|
|
5033
|
+
path: "/admin/observations/retry-analysis";
|
|
5034
|
+
responses: {
|
|
5035
|
+
200: z.ZodObject<{
|
|
5036
|
+
data: z.ZodObject<{
|
|
5037
|
+
type: z.ZodLiteral<string>;
|
|
5038
|
+
id: z.ZodString;
|
|
5039
|
+
attributes: z.ZodObject<{
|
|
5040
|
+
queued: z.ZodNumber;
|
|
5041
|
+
skipped: z.ZodNumber;
|
|
5042
|
+
results: z.ZodArray<z.ZodObject<{
|
|
5043
|
+
observationId: z.ZodString;
|
|
5044
|
+
status: z.ZodEnum<["queued", "skipped"]>;
|
|
5045
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5046
|
+
}, "strip", z.ZodTypeAny, {
|
|
5047
|
+
status: "skipped" | "queued";
|
|
5048
|
+
observationId: string;
|
|
5049
|
+
reason?: string | undefined;
|
|
5050
|
+
}, {
|
|
5051
|
+
status: "skipped" | "queued";
|
|
5052
|
+
observationId: string;
|
|
5053
|
+
reason?: string | undefined;
|
|
5054
|
+
}>, "many">;
|
|
5055
|
+
}, "strip", z.ZodTypeAny, {
|
|
5056
|
+
skipped: number;
|
|
5057
|
+
queued: number;
|
|
5058
|
+
results: {
|
|
5059
|
+
status: "skipped" | "queued";
|
|
5060
|
+
observationId: string;
|
|
5061
|
+
reason?: string | undefined;
|
|
5062
|
+
}[];
|
|
5063
|
+
}, {
|
|
5064
|
+
skipped: number;
|
|
5065
|
+
queued: number;
|
|
5066
|
+
results: {
|
|
5067
|
+
status: "skipped" | "queued";
|
|
5068
|
+
observationId: string;
|
|
5069
|
+
reason?: string | undefined;
|
|
5070
|
+
}[];
|
|
5071
|
+
}>;
|
|
5072
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5073
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5074
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5075
|
+
}, "strip", z.ZodTypeAny, {
|
|
5076
|
+
type: string;
|
|
5077
|
+
id: string;
|
|
5078
|
+
attributes: {
|
|
5079
|
+
skipped: number;
|
|
5080
|
+
queued: number;
|
|
5081
|
+
results: {
|
|
5082
|
+
status: "skipped" | "queued";
|
|
5083
|
+
observationId: string;
|
|
5084
|
+
reason?: string | undefined;
|
|
5085
|
+
}[];
|
|
5086
|
+
};
|
|
5087
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5088
|
+
links?: Record<string, string> | undefined;
|
|
5089
|
+
meta?: Record<string, unknown> | undefined;
|
|
5090
|
+
}, {
|
|
5091
|
+
type: string;
|
|
5092
|
+
id: string;
|
|
5093
|
+
attributes: {
|
|
5094
|
+
skipped: number;
|
|
5095
|
+
queued: number;
|
|
5096
|
+
results: {
|
|
5097
|
+
status: "skipped" | "queued";
|
|
5098
|
+
observationId: string;
|
|
5099
|
+
reason?: string | undefined;
|
|
5100
|
+
}[];
|
|
5101
|
+
};
|
|
5102
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5103
|
+
links?: Record<string, string> | undefined;
|
|
5104
|
+
meta?: Record<string, unknown> | undefined;
|
|
5105
|
+
}>;
|
|
5106
|
+
included: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5107
|
+
type: z.ZodString;
|
|
5108
|
+
id: z.ZodString;
|
|
5109
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5110
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5111
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5112
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5113
|
+
}, "strip", z.ZodTypeAny, {
|
|
5114
|
+
type: string;
|
|
5115
|
+
id: string;
|
|
5116
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5117
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5118
|
+
links?: Record<string, string> | undefined;
|
|
5119
|
+
meta?: Record<string, unknown> | undefined;
|
|
5120
|
+
}, {
|
|
5121
|
+
type: string;
|
|
5122
|
+
id: string;
|
|
5123
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5124
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5125
|
+
links?: Record<string, string> | undefined;
|
|
5126
|
+
meta?: Record<string, unknown> | undefined;
|
|
5127
|
+
}>, "many">>;
|
|
5128
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5129
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5130
|
+
}, "strip", z.ZodTypeAny, {
|
|
5131
|
+
data: {
|
|
5132
|
+
type: string;
|
|
5133
|
+
id: string;
|
|
5134
|
+
attributes: {
|
|
5135
|
+
skipped: number;
|
|
5136
|
+
queued: number;
|
|
5137
|
+
results: {
|
|
5138
|
+
status: "skipped" | "queued";
|
|
5139
|
+
observationId: string;
|
|
5140
|
+
reason?: string | undefined;
|
|
5141
|
+
}[];
|
|
5142
|
+
};
|
|
5143
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5144
|
+
links?: Record<string, string> | undefined;
|
|
5145
|
+
meta?: Record<string, unknown> | undefined;
|
|
5146
|
+
};
|
|
5147
|
+
links?: Record<string, string> | undefined;
|
|
5148
|
+
meta?: Record<string, unknown> | undefined;
|
|
5149
|
+
included?: {
|
|
5150
|
+
type: string;
|
|
5151
|
+
id: string;
|
|
5152
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5153
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5154
|
+
links?: Record<string, string> | undefined;
|
|
5155
|
+
meta?: Record<string, unknown> | undefined;
|
|
5156
|
+
}[] | undefined;
|
|
5157
|
+
}, {
|
|
5158
|
+
data: {
|
|
5159
|
+
type: string;
|
|
5160
|
+
id: string;
|
|
5161
|
+
attributes: {
|
|
5162
|
+
skipped: number;
|
|
5163
|
+
queued: number;
|
|
5164
|
+
results: {
|
|
5165
|
+
status: "skipped" | "queued";
|
|
5166
|
+
observationId: string;
|
|
5167
|
+
reason?: string | undefined;
|
|
5168
|
+
}[];
|
|
5169
|
+
};
|
|
5170
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5171
|
+
links?: Record<string, string> | undefined;
|
|
5172
|
+
meta?: Record<string, unknown> | undefined;
|
|
5173
|
+
};
|
|
5174
|
+
links?: Record<string, string> | undefined;
|
|
5175
|
+
meta?: Record<string, unknown> | undefined;
|
|
5176
|
+
included?: {
|
|
5177
|
+
type: string;
|
|
5178
|
+
id: string;
|
|
5179
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5180
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5181
|
+
links?: Record<string, string> | undefined;
|
|
5182
|
+
meta?: Record<string, unknown> | undefined;
|
|
5183
|
+
}[] | undefined;
|
|
5184
|
+
}>;
|
|
5185
|
+
401: z.ZodObject<{
|
|
5186
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5187
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5188
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5189
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5190
|
+
}, "strip", z.ZodTypeAny, {
|
|
5191
|
+
about?: string | undefined;
|
|
5192
|
+
}, {
|
|
5193
|
+
about?: string | undefined;
|
|
5194
|
+
}>>;
|
|
5195
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5196
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5197
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5198
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5199
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5200
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5201
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5202
|
+
}, "strip", z.ZodTypeAny, {
|
|
5203
|
+
pointer?: string | undefined;
|
|
5204
|
+
parameter?: string | undefined;
|
|
5205
|
+
}, {
|
|
5206
|
+
pointer?: string | undefined;
|
|
5207
|
+
parameter?: string | undefined;
|
|
5208
|
+
}>>;
|
|
5209
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5210
|
+
}, "strip", z.ZodTypeAny, {
|
|
5211
|
+
status?: string | undefined;
|
|
5212
|
+
code?: string | undefined;
|
|
5213
|
+
id?: string | undefined;
|
|
5214
|
+
links?: {
|
|
5215
|
+
about?: string | undefined;
|
|
5216
|
+
} | undefined;
|
|
5217
|
+
meta?: Record<string, unknown> | undefined;
|
|
5218
|
+
title?: string | undefined;
|
|
5219
|
+
detail?: string | undefined;
|
|
5220
|
+
source?: {
|
|
5221
|
+
pointer?: string | undefined;
|
|
5222
|
+
parameter?: string | undefined;
|
|
5223
|
+
} | undefined;
|
|
5224
|
+
}, {
|
|
5225
|
+
status?: string | undefined;
|
|
5226
|
+
code?: string | undefined;
|
|
5227
|
+
id?: string | undefined;
|
|
5228
|
+
links?: {
|
|
5229
|
+
about?: string | undefined;
|
|
5230
|
+
} | undefined;
|
|
5231
|
+
meta?: Record<string, unknown> | undefined;
|
|
5232
|
+
title?: string | undefined;
|
|
5233
|
+
detail?: string | undefined;
|
|
5234
|
+
source?: {
|
|
5235
|
+
pointer?: string | undefined;
|
|
5236
|
+
parameter?: string | undefined;
|
|
5237
|
+
} | undefined;
|
|
5238
|
+
}>, "many">;
|
|
5239
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5240
|
+
}, "strip", z.ZodTypeAny, {
|
|
5241
|
+
errors: {
|
|
5242
|
+
status?: string | undefined;
|
|
5243
|
+
code?: string | undefined;
|
|
5244
|
+
id?: string | undefined;
|
|
5245
|
+
links?: {
|
|
5246
|
+
about?: string | undefined;
|
|
5247
|
+
} | undefined;
|
|
5248
|
+
meta?: Record<string, unknown> | undefined;
|
|
5249
|
+
title?: string | undefined;
|
|
5250
|
+
detail?: string | undefined;
|
|
5251
|
+
source?: {
|
|
5252
|
+
pointer?: string | undefined;
|
|
5253
|
+
parameter?: string | undefined;
|
|
5254
|
+
} | undefined;
|
|
5255
|
+
}[];
|
|
5256
|
+
meta?: Record<string, unknown> | undefined;
|
|
5257
|
+
}, {
|
|
5258
|
+
errors: {
|
|
5259
|
+
status?: string | undefined;
|
|
5260
|
+
code?: string | undefined;
|
|
5261
|
+
id?: string | undefined;
|
|
5262
|
+
links?: {
|
|
5263
|
+
about?: string | undefined;
|
|
5264
|
+
} | undefined;
|
|
5265
|
+
meta?: Record<string, unknown> | undefined;
|
|
5266
|
+
title?: string | undefined;
|
|
5267
|
+
detail?: string | undefined;
|
|
5268
|
+
source?: {
|
|
5269
|
+
pointer?: string | undefined;
|
|
5270
|
+
parameter?: string | undefined;
|
|
5271
|
+
} | undefined;
|
|
5272
|
+
}[];
|
|
5273
|
+
meta?: Record<string, unknown> | undefined;
|
|
5274
|
+
}>;
|
|
5275
|
+
403: z.ZodObject<{
|
|
5276
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5277
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5278
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5279
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5280
|
+
}, "strip", z.ZodTypeAny, {
|
|
5281
|
+
about?: string | undefined;
|
|
5282
|
+
}, {
|
|
5283
|
+
about?: string | undefined;
|
|
5284
|
+
}>>;
|
|
5285
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5286
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5287
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5288
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5289
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5290
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5291
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5292
|
+
}, "strip", z.ZodTypeAny, {
|
|
5293
|
+
pointer?: string | undefined;
|
|
5294
|
+
parameter?: string | undefined;
|
|
5295
|
+
}, {
|
|
5296
|
+
pointer?: string | undefined;
|
|
5297
|
+
parameter?: string | undefined;
|
|
5298
|
+
}>>;
|
|
5299
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5300
|
+
}, "strip", z.ZodTypeAny, {
|
|
5301
|
+
status?: string | undefined;
|
|
5302
|
+
code?: string | undefined;
|
|
5303
|
+
id?: string | undefined;
|
|
5304
|
+
links?: {
|
|
5305
|
+
about?: string | undefined;
|
|
5306
|
+
} | undefined;
|
|
5307
|
+
meta?: Record<string, unknown> | undefined;
|
|
5308
|
+
title?: string | undefined;
|
|
5309
|
+
detail?: string | undefined;
|
|
5310
|
+
source?: {
|
|
5311
|
+
pointer?: string | undefined;
|
|
5312
|
+
parameter?: string | undefined;
|
|
5313
|
+
} | undefined;
|
|
5314
|
+
}, {
|
|
5315
|
+
status?: string | undefined;
|
|
5316
|
+
code?: string | undefined;
|
|
5317
|
+
id?: string | undefined;
|
|
5318
|
+
links?: {
|
|
5319
|
+
about?: string | undefined;
|
|
5320
|
+
} | undefined;
|
|
5321
|
+
meta?: Record<string, unknown> | undefined;
|
|
5322
|
+
title?: string | undefined;
|
|
5323
|
+
detail?: string | undefined;
|
|
5324
|
+
source?: {
|
|
5325
|
+
pointer?: string | undefined;
|
|
5326
|
+
parameter?: string | undefined;
|
|
5327
|
+
} | undefined;
|
|
5328
|
+
}>, "many">;
|
|
5329
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5330
|
+
}, "strip", z.ZodTypeAny, {
|
|
5331
|
+
errors: {
|
|
5332
|
+
status?: string | undefined;
|
|
5333
|
+
code?: string | undefined;
|
|
5334
|
+
id?: string | undefined;
|
|
5335
|
+
links?: {
|
|
5336
|
+
about?: string | undefined;
|
|
5337
|
+
} | undefined;
|
|
5338
|
+
meta?: Record<string, unknown> | undefined;
|
|
5339
|
+
title?: string | undefined;
|
|
5340
|
+
detail?: string | undefined;
|
|
5341
|
+
source?: {
|
|
5342
|
+
pointer?: string | undefined;
|
|
5343
|
+
parameter?: string | undefined;
|
|
5344
|
+
} | undefined;
|
|
5345
|
+
}[];
|
|
5346
|
+
meta?: Record<string, unknown> | undefined;
|
|
5347
|
+
}, {
|
|
5348
|
+
errors: {
|
|
5349
|
+
status?: string | undefined;
|
|
5350
|
+
code?: string | undefined;
|
|
5351
|
+
id?: string | undefined;
|
|
5352
|
+
links?: {
|
|
5353
|
+
about?: string | undefined;
|
|
5354
|
+
} | undefined;
|
|
5355
|
+
meta?: Record<string, unknown> | undefined;
|
|
5356
|
+
title?: string | undefined;
|
|
5357
|
+
detail?: string | undefined;
|
|
5358
|
+
source?: {
|
|
5359
|
+
pointer?: string | undefined;
|
|
5360
|
+
parameter?: string | undefined;
|
|
5361
|
+
} | undefined;
|
|
5362
|
+
}[];
|
|
5363
|
+
meta?: Record<string, unknown> | undefined;
|
|
5364
|
+
}>;
|
|
5365
|
+
500: z.ZodObject<{
|
|
5366
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5367
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5368
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5369
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5370
|
+
}, "strip", z.ZodTypeAny, {
|
|
5371
|
+
about?: string | undefined;
|
|
5372
|
+
}, {
|
|
5373
|
+
about?: string | undefined;
|
|
5374
|
+
}>>;
|
|
5375
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5376
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5377
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5378
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5379
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5380
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5381
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5382
|
+
}, "strip", z.ZodTypeAny, {
|
|
5383
|
+
pointer?: string | undefined;
|
|
5384
|
+
parameter?: string | undefined;
|
|
5385
|
+
}, {
|
|
5386
|
+
pointer?: string | undefined;
|
|
5387
|
+
parameter?: string | undefined;
|
|
5388
|
+
}>>;
|
|
5389
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5390
|
+
}, "strip", z.ZodTypeAny, {
|
|
5391
|
+
status?: string | undefined;
|
|
5392
|
+
code?: string | undefined;
|
|
5393
|
+
id?: string | undefined;
|
|
5394
|
+
links?: {
|
|
5395
|
+
about?: string | undefined;
|
|
5396
|
+
} | undefined;
|
|
5397
|
+
meta?: Record<string, unknown> | undefined;
|
|
5398
|
+
title?: string | undefined;
|
|
5399
|
+
detail?: string | undefined;
|
|
5400
|
+
source?: {
|
|
5401
|
+
pointer?: string | undefined;
|
|
5402
|
+
parameter?: string | undefined;
|
|
5403
|
+
} | undefined;
|
|
5404
|
+
}, {
|
|
5405
|
+
status?: string | undefined;
|
|
5406
|
+
code?: string | undefined;
|
|
5407
|
+
id?: string | undefined;
|
|
5408
|
+
links?: {
|
|
5409
|
+
about?: string | undefined;
|
|
5410
|
+
} | undefined;
|
|
5411
|
+
meta?: Record<string, unknown> | undefined;
|
|
5412
|
+
title?: string | undefined;
|
|
5413
|
+
detail?: string | undefined;
|
|
5414
|
+
source?: {
|
|
5415
|
+
pointer?: string | undefined;
|
|
5416
|
+
parameter?: string | undefined;
|
|
5417
|
+
} | undefined;
|
|
5418
|
+
}>, "many">;
|
|
5419
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5420
|
+
}, "strip", z.ZodTypeAny, {
|
|
5421
|
+
errors: {
|
|
5422
|
+
status?: string | undefined;
|
|
5423
|
+
code?: string | undefined;
|
|
5424
|
+
id?: string | undefined;
|
|
5425
|
+
links?: {
|
|
5426
|
+
about?: string | undefined;
|
|
5427
|
+
} | undefined;
|
|
5428
|
+
meta?: Record<string, unknown> | undefined;
|
|
5429
|
+
title?: string | undefined;
|
|
5430
|
+
detail?: string | undefined;
|
|
5431
|
+
source?: {
|
|
5432
|
+
pointer?: string | undefined;
|
|
5433
|
+
parameter?: string | undefined;
|
|
5434
|
+
} | undefined;
|
|
5435
|
+
}[];
|
|
5436
|
+
meta?: Record<string, unknown> | undefined;
|
|
5437
|
+
}, {
|
|
5438
|
+
errors: {
|
|
5439
|
+
status?: string | undefined;
|
|
5440
|
+
code?: string | undefined;
|
|
5441
|
+
id?: string | undefined;
|
|
5442
|
+
links?: {
|
|
5443
|
+
about?: string | undefined;
|
|
5444
|
+
} | undefined;
|
|
5445
|
+
meta?: Record<string, unknown> | undefined;
|
|
5446
|
+
title?: string | undefined;
|
|
5447
|
+
detail?: string | undefined;
|
|
5448
|
+
source?: {
|
|
5449
|
+
pointer?: string | undefined;
|
|
5450
|
+
parameter?: string | undefined;
|
|
5451
|
+
} | undefined;
|
|
5452
|
+
}[];
|
|
5453
|
+
meta?: Record<string, unknown> | undefined;
|
|
5454
|
+
}>;
|
|
5455
|
+
};
|
|
5456
|
+
};
|
|
5457
|
+
retryObservationAnalysisById: {
|
|
5458
|
+
pathParams: z.ZodObject<{
|
|
5459
|
+
id: z.ZodString;
|
|
5460
|
+
}, "strip", z.ZodTypeAny, {
|
|
5461
|
+
id: string;
|
|
5462
|
+
}, {
|
|
5463
|
+
id: string;
|
|
5464
|
+
}>;
|
|
5465
|
+
summary: "Re-queue observation analysis (single)";
|
|
5466
|
+
description: "Re-enqueue AI analysis for one observation. Use force to retry completed rows.";
|
|
5467
|
+
method: "POST";
|
|
5468
|
+
body: z.ZodObject<{
|
|
5469
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
5470
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
5471
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
5472
|
+
}, "strip", z.ZodTypeAny, {
|
|
5473
|
+
force?: boolean | undefined;
|
|
5474
|
+
}, {
|
|
5475
|
+
force?: boolean | undefined;
|
|
5476
|
+
}>>;
|
|
5477
|
+
}, "strip", z.ZodTypeAny, {
|
|
5478
|
+
attributes?: {
|
|
5479
|
+
force?: boolean | undefined;
|
|
5480
|
+
} | undefined;
|
|
5481
|
+
}, {
|
|
5482
|
+
attributes?: {
|
|
5483
|
+
force?: boolean | undefined;
|
|
5484
|
+
} | undefined;
|
|
5485
|
+
}>>;
|
|
5486
|
+
}, "strip", z.ZodTypeAny, {
|
|
5487
|
+
data?: {
|
|
5488
|
+
attributes?: {
|
|
5489
|
+
force?: boolean | undefined;
|
|
5490
|
+
} | undefined;
|
|
5491
|
+
} | undefined;
|
|
5492
|
+
}, {
|
|
5493
|
+
data?: {
|
|
5494
|
+
attributes?: {
|
|
5495
|
+
force?: boolean | undefined;
|
|
5496
|
+
} | undefined;
|
|
5497
|
+
} | undefined;
|
|
5498
|
+
}>;
|
|
5499
|
+
path: "/admin/observations/:id/retry-analysis";
|
|
5500
|
+
responses: {
|
|
5501
|
+
200: z.ZodObject<{
|
|
5502
|
+
data: z.ZodObject<{
|
|
5503
|
+
type: z.ZodLiteral<string>;
|
|
5504
|
+
id: z.ZodString;
|
|
5505
|
+
attributes: z.ZodObject<{
|
|
5506
|
+
queued: z.ZodNumber;
|
|
5507
|
+
skipped: z.ZodNumber;
|
|
5508
|
+
results: z.ZodArray<z.ZodObject<{
|
|
5509
|
+
observationId: z.ZodString;
|
|
5510
|
+
status: z.ZodEnum<["queued", "skipped"]>;
|
|
5511
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
}, "strip", z.ZodTypeAny, {
|
|
5513
|
+
status: "skipped" | "queued";
|
|
5514
|
+
observationId: string;
|
|
5515
|
+
reason?: string | undefined;
|
|
5516
|
+
}, {
|
|
5517
|
+
status: "skipped" | "queued";
|
|
5518
|
+
observationId: string;
|
|
5519
|
+
reason?: string | undefined;
|
|
5520
|
+
}>, "many">;
|
|
5521
|
+
}, "strip", z.ZodTypeAny, {
|
|
5522
|
+
skipped: number;
|
|
5523
|
+
queued: number;
|
|
5524
|
+
results: {
|
|
5525
|
+
status: "skipped" | "queued";
|
|
5526
|
+
observationId: string;
|
|
5527
|
+
reason?: string | undefined;
|
|
5528
|
+
}[];
|
|
5529
|
+
}, {
|
|
5530
|
+
skipped: number;
|
|
5531
|
+
queued: number;
|
|
5532
|
+
results: {
|
|
5533
|
+
status: "skipped" | "queued";
|
|
5534
|
+
observationId: string;
|
|
5535
|
+
reason?: string | undefined;
|
|
5536
|
+
}[];
|
|
5537
|
+
}>;
|
|
5538
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5539
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5540
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5541
|
+
}, "strip", z.ZodTypeAny, {
|
|
5542
|
+
type: string;
|
|
5543
|
+
id: string;
|
|
5544
|
+
attributes: {
|
|
5545
|
+
skipped: number;
|
|
5546
|
+
queued: number;
|
|
5547
|
+
results: {
|
|
5548
|
+
status: "skipped" | "queued";
|
|
5549
|
+
observationId: string;
|
|
5550
|
+
reason?: string | undefined;
|
|
5551
|
+
}[];
|
|
5552
|
+
};
|
|
5553
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5554
|
+
links?: Record<string, string> | undefined;
|
|
5555
|
+
meta?: Record<string, unknown> | undefined;
|
|
5556
|
+
}, {
|
|
5557
|
+
type: string;
|
|
5558
|
+
id: string;
|
|
5559
|
+
attributes: {
|
|
5560
|
+
skipped: number;
|
|
5561
|
+
queued: number;
|
|
5562
|
+
results: {
|
|
5563
|
+
status: "skipped" | "queued";
|
|
5564
|
+
observationId: string;
|
|
5565
|
+
reason?: string | undefined;
|
|
5566
|
+
}[];
|
|
5567
|
+
};
|
|
5568
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5569
|
+
links?: Record<string, string> | undefined;
|
|
5570
|
+
meta?: Record<string, unknown> | undefined;
|
|
5571
|
+
}>;
|
|
5572
|
+
included: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5573
|
+
type: z.ZodString;
|
|
5574
|
+
id: z.ZodString;
|
|
5575
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5576
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5577
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5578
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5579
|
+
}, "strip", z.ZodTypeAny, {
|
|
5580
|
+
type: string;
|
|
5581
|
+
id: string;
|
|
5582
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5583
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5584
|
+
links?: Record<string, string> | undefined;
|
|
5585
|
+
meta?: Record<string, unknown> | undefined;
|
|
5586
|
+
}, {
|
|
5587
|
+
type: string;
|
|
5588
|
+
id: string;
|
|
5589
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5590
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5591
|
+
links?: Record<string, string> | undefined;
|
|
5592
|
+
meta?: Record<string, unknown> | undefined;
|
|
5593
|
+
}>, "many">>;
|
|
5594
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5595
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5596
|
+
}, "strip", z.ZodTypeAny, {
|
|
5597
|
+
data: {
|
|
5598
|
+
type: string;
|
|
5599
|
+
id: string;
|
|
5600
|
+
attributes: {
|
|
5601
|
+
skipped: number;
|
|
5602
|
+
queued: number;
|
|
5603
|
+
results: {
|
|
5604
|
+
status: "skipped" | "queued";
|
|
5605
|
+
observationId: string;
|
|
5606
|
+
reason?: string | undefined;
|
|
5607
|
+
}[];
|
|
5608
|
+
};
|
|
5609
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5610
|
+
links?: Record<string, string> | undefined;
|
|
5611
|
+
meta?: Record<string, unknown> | undefined;
|
|
5612
|
+
};
|
|
5613
|
+
links?: Record<string, string> | undefined;
|
|
5614
|
+
meta?: Record<string, unknown> | undefined;
|
|
5615
|
+
included?: {
|
|
5616
|
+
type: string;
|
|
5617
|
+
id: string;
|
|
5618
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5619
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5620
|
+
links?: Record<string, string> | undefined;
|
|
5621
|
+
meta?: Record<string, unknown> | undefined;
|
|
5622
|
+
}[] | undefined;
|
|
5623
|
+
}, {
|
|
5624
|
+
data: {
|
|
5625
|
+
type: string;
|
|
5626
|
+
id: string;
|
|
5627
|
+
attributes: {
|
|
5628
|
+
skipped: number;
|
|
5629
|
+
queued: number;
|
|
5630
|
+
results: {
|
|
5631
|
+
status: "skipped" | "queued";
|
|
5632
|
+
observationId: string;
|
|
5633
|
+
reason?: string | undefined;
|
|
5634
|
+
}[];
|
|
5635
|
+
};
|
|
5636
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5637
|
+
links?: Record<string, string> | undefined;
|
|
5638
|
+
meta?: Record<string, unknown> | undefined;
|
|
5639
|
+
};
|
|
5640
|
+
links?: Record<string, string> | undefined;
|
|
5641
|
+
meta?: Record<string, unknown> | undefined;
|
|
5642
|
+
included?: {
|
|
5643
|
+
type: string;
|
|
5644
|
+
id: string;
|
|
5645
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5646
|
+
relationships?: Record<string, unknown> | undefined;
|
|
5647
|
+
links?: Record<string, string> | undefined;
|
|
5648
|
+
meta?: Record<string, unknown> | undefined;
|
|
5649
|
+
}[] | undefined;
|
|
5650
|
+
}>;
|
|
5651
|
+
401: z.ZodObject<{
|
|
5652
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5653
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5654
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5655
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5656
|
+
}, "strip", z.ZodTypeAny, {
|
|
5657
|
+
about?: string | undefined;
|
|
5658
|
+
}, {
|
|
5659
|
+
about?: string | undefined;
|
|
5660
|
+
}>>;
|
|
5661
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5662
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5663
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5664
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5665
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5666
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5667
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5668
|
+
}, "strip", z.ZodTypeAny, {
|
|
5669
|
+
pointer?: string | undefined;
|
|
5670
|
+
parameter?: string | undefined;
|
|
5671
|
+
}, {
|
|
5672
|
+
pointer?: string | undefined;
|
|
5673
|
+
parameter?: string | undefined;
|
|
5674
|
+
}>>;
|
|
5675
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5676
|
+
}, "strip", z.ZodTypeAny, {
|
|
5677
|
+
status?: string | undefined;
|
|
5678
|
+
code?: string | undefined;
|
|
5679
|
+
id?: string | undefined;
|
|
5680
|
+
links?: {
|
|
5681
|
+
about?: string | undefined;
|
|
5682
|
+
} | undefined;
|
|
5683
|
+
meta?: Record<string, unknown> | undefined;
|
|
5684
|
+
title?: string | undefined;
|
|
5685
|
+
detail?: string | undefined;
|
|
5686
|
+
source?: {
|
|
5687
|
+
pointer?: string | undefined;
|
|
5688
|
+
parameter?: string | undefined;
|
|
5689
|
+
} | undefined;
|
|
5690
|
+
}, {
|
|
5691
|
+
status?: string | undefined;
|
|
5692
|
+
code?: string | undefined;
|
|
5693
|
+
id?: string | undefined;
|
|
5694
|
+
links?: {
|
|
5695
|
+
about?: string | undefined;
|
|
5696
|
+
} | undefined;
|
|
5697
|
+
meta?: Record<string, unknown> | undefined;
|
|
5698
|
+
title?: string | undefined;
|
|
5699
|
+
detail?: string | undefined;
|
|
5700
|
+
source?: {
|
|
5701
|
+
pointer?: string | undefined;
|
|
5702
|
+
parameter?: string | undefined;
|
|
5703
|
+
} | undefined;
|
|
5704
|
+
}>, "many">;
|
|
5705
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5706
|
+
}, "strip", z.ZodTypeAny, {
|
|
5707
|
+
errors: {
|
|
5708
|
+
status?: string | undefined;
|
|
5709
|
+
code?: string | undefined;
|
|
5710
|
+
id?: string | undefined;
|
|
5711
|
+
links?: {
|
|
5712
|
+
about?: string | undefined;
|
|
5713
|
+
} | undefined;
|
|
5714
|
+
meta?: Record<string, unknown> | undefined;
|
|
5715
|
+
title?: string | undefined;
|
|
5716
|
+
detail?: string | undefined;
|
|
5717
|
+
source?: {
|
|
5718
|
+
pointer?: string | undefined;
|
|
5719
|
+
parameter?: string | undefined;
|
|
5720
|
+
} | undefined;
|
|
5721
|
+
}[];
|
|
5722
|
+
meta?: Record<string, unknown> | undefined;
|
|
5723
|
+
}, {
|
|
5724
|
+
errors: {
|
|
5725
|
+
status?: string | undefined;
|
|
5726
|
+
code?: string | undefined;
|
|
5727
|
+
id?: string | undefined;
|
|
5728
|
+
links?: {
|
|
5729
|
+
about?: string | undefined;
|
|
5730
|
+
} | undefined;
|
|
5731
|
+
meta?: Record<string, unknown> | undefined;
|
|
5732
|
+
title?: string | undefined;
|
|
5733
|
+
detail?: string | undefined;
|
|
5734
|
+
source?: {
|
|
5735
|
+
pointer?: string | undefined;
|
|
5736
|
+
parameter?: string | undefined;
|
|
5737
|
+
} | undefined;
|
|
5738
|
+
}[];
|
|
5739
|
+
meta?: Record<string, unknown> | undefined;
|
|
5740
|
+
}>;
|
|
5741
|
+
403: z.ZodObject<{
|
|
5742
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5743
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5744
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5745
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5746
|
+
}, "strip", z.ZodTypeAny, {
|
|
5747
|
+
about?: string | undefined;
|
|
5748
|
+
}, {
|
|
5749
|
+
about?: string | undefined;
|
|
5750
|
+
}>>;
|
|
5751
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5752
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5753
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5754
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5755
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5756
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5757
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5758
|
+
}, "strip", z.ZodTypeAny, {
|
|
5759
|
+
pointer?: string | undefined;
|
|
5760
|
+
parameter?: string | undefined;
|
|
5761
|
+
}, {
|
|
5762
|
+
pointer?: string | undefined;
|
|
5763
|
+
parameter?: string | undefined;
|
|
5764
|
+
}>>;
|
|
5765
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5766
|
+
}, "strip", z.ZodTypeAny, {
|
|
5767
|
+
status?: string | undefined;
|
|
5768
|
+
code?: string | undefined;
|
|
5769
|
+
id?: string | undefined;
|
|
5770
|
+
links?: {
|
|
5771
|
+
about?: string | undefined;
|
|
5772
|
+
} | undefined;
|
|
5773
|
+
meta?: Record<string, unknown> | undefined;
|
|
5774
|
+
title?: string | undefined;
|
|
5775
|
+
detail?: string | undefined;
|
|
5776
|
+
source?: {
|
|
5777
|
+
pointer?: string | undefined;
|
|
5778
|
+
parameter?: string | undefined;
|
|
5779
|
+
} | undefined;
|
|
5780
|
+
}, {
|
|
5781
|
+
status?: string | undefined;
|
|
5782
|
+
code?: string | undefined;
|
|
5783
|
+
id?: string | undefined;
|
|
5784
|
+
links?: {
|
|
5785
|
+
about?: string | undefined;
|
|
5786
|
+
} | undefined;
|
|
5787
|
+
meta?: Record<string, unknown> | undefined;
|
|
5788
|
+
title?: string | undefined;
|
|
5789
|
+
detail?: string | undefined;
|
|
5790
|
+
source?: {
|
|
5791
|
+
pointer?: string | undefined;
|
|
5792
|
+
parameter?: string | undefined;
|
|
5793
|
+
} | undefined;
|
|
5794
|
+
}>, "many">;
|
|
5795
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5796
|
+
}, "strip", z.ZodTypeAny, {
|
|
5797
|
+
errors: {
|
|
5798
|
+
status?: string | undefined;
|
|
5799
|
+
code?: string | undefined;
|
|
5800
|
+
id?: string | undefined;
|
|
5801
|
+
links?: {
|
|
5802
|
+
about?: string | undefined;
|
|
5803
|
+
} | undefined;
|
|
5804
|
+
meta?: Record<string, unknown> | undefined;
|
|
5805
|
+
title?: string | undefined;
|
|
5806
|
+
detail?: string | undefined;
|
|
5807
|
+
source?: {
|
|
5808
|
+
pointer?: string | undefined;
|
|
5809
|
+
parameter?: string | undefined;
|
|
5810
|
+
} | undefined;
|
|
5811
|
+
}[];
|
|
5812
|
+
meta?: Record<string, unknown> | undefined;
|
|
5813
|
+
}, {
|
|
5814
|
+
errors: {
|
|
5815
|
+
status?: string | undefined;
|
|
5816
|
+
code?: string | undefined;
|
|
5817
|
+
id?: string | undefined;
|
|
5818
|
+
links?: {
|
|
5819
|
+
about?: string | undefined;
|
|
5820
|
+
} | undefined;
|
|
5821
|
+
meta?: Record<string, unknown> | undefined;
|
|
5822
|
+
title?: string | undefined;
|
|
5823
|
+
detail?: string | undefined;
|
|
5824
|
+
source?: {
|
|
5825
|
+
pointer?: string | undefined;
|
|
5826
|
+
parameter?: string | undefined;
|
|
5827
|
+
} | undefined;
|
|
5828
|
+
}[];
|
|
5829
|
+
meta?: Record<string, unknown> | undefined;
|
|
5830
|
+
}>;
|
|
5831
|
+
404: z.ZodObject<{
|
|
5832
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5833
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5834
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5835
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5836
|
+
}, "strip", z.ZodTypeAny, {
|
|
5837
|
+
about?: string | undefined;
|
|
5838
|
+
}, {
|
|
5839
|
+
about?: string | undefined;
|
|
5840
|
+
}>>;
|
|
5841
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5842
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5843
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5844
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5845
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5846
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5847
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5848
|
+
}, "strip", z.ZodTypeAny, {
|
|
5849
|
+
pointer?: string | undefined;
|
|
5850
|
+
parameter?: string | undefined;
|
|
5851
|
+
}, {
|
|
5852
|
+
pointer?: string | undefined;
|
|
5853
|
+
parameter?: string | undefined;
|
|
5854
|
+
}>>;
|
|
5855
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5856
|
+
}, "strip", z.ZodTypeAny, {
|
|
5857
|
+
status?: string | undefined;
|
|
5858
|
+
code?: string | undefined;
|
|
5859
|
+
id?: string | undefined;
|
|
5860
|
+
links?: {
|
|
5861
|
+
about?: string | undefined;
|
|
5862
|
+
} | undefined;
|
|
5863
|
+
meta?: Record<string, unknown> | undefined;
|
|
5864
|
+
title?: string | undefined;
|
|
5865
|
+
detail?: string | undefined;
|
|
5866
|
+
source?: {
|
|
5867
|
+
pointer?: string | undefined;
|
|
5868
|
+
parameter?: string | undefined;
|
|
5869
|
+
} | undefined;
|
|
5870
|
+
}, {
|
|
5871
|
+
status?: string | undefined;
|
|
5872
|
+
code?: string | undefined;
|
|
5873
|
+
id?: string | undefined;
|
|
5874
|
+
links?: {
|
|
5875
|
+
about?: string | undefined;
|
|
5876
|
+
} | undefined;
|
|
5877
|
+
meta?: Record<string, unknown> | undefined;
|
|
5878
|
+
title?: string | undefined;
|
|
5879
|
+
detail?: string | undefined;
|
|
5880
|
+
source?: {
|
|
5881
|
+
pointer?: string | undefined;
|
|
5882
|
+
parameter?: string | undefined;
|
|
5883
|
+
} | undefined;
|
|
5884
|
+
}>, "many">;
|
|
5885
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5886
|
+
}, "strip", z.ZodTypeAny, {
|
|
5887
|
+
errors: {
|
|
5888
|
+
status?: string | undefined;
|
|
5889
|
+
code?: string | undefined;
|
|
5890
|
+
id?: string | undefined;
|
|
5891
|
+
links?: {
|
|
5892
|
+
about?: string | undefined;
|
|
5893
|
+
} | undefined;
|
|
5894
|
+
meta?: Record<string, unknown> | undefined;
|
|
5895
|
+
title?: string | undefined;
|
|
5896
|
+
detail?: string | undefined;
|
|
5897
|
+
source?: {
|
|
5898
|
+
pointer?: string | undefined;
|
|
5899
|
+
parameter?: string | undefined;
|
|
5900
|
+
} | undefined;
|
|
5901
|
+
}[];
|
|
5902
|
+
meta?: Record<string, unknown> | undefined;
|
|
5903
|
+
}, {
|
|
5904
|
+
errors: {
|
|
5905
|
+
status?: string | undefined;
|
|
5906
|
+
code?: string | undefined;
|
|
5907
|
+
id?: string | undefined;
|
|
5908
|
+
links?: {
|
|
5909
|
+
about?: string | undefined;
|
|
5910
|
+
} | undefined;
|
|
5911
|
+
meta?: Record<string, unknown> | undefined;
|
|
5912
|
+
title?: string | undefined;
|
|
5913
|
+
detail?: string | undefined;
|
|
5914
|
+
source?: {
|
|
5915
|
+
pointer?: string | undefined;
|
|
5916
|
+
parameter?: string | undefined;
|
|
5917
|
+
} | undefined;
|
|
5918
|
+
}[];
|
|
5919
|
+
meta?: Record<string, unknown> | undefined;
|
|
5920
|
+
}>;
|
|
5921
|
+
500: z.ZodObject<{
|
|
5922
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5923
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5924
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5925
|
+
about: z.ZodOptional<z.ZodString>;
|
|
5926
|
+
}, "strip", z.ZodTypeAny, {
|
|
5927
|
+
about?: string | undefined;
|
|
5928
|
+
}, {
|
|
5929
|
+
about?: string | undefined;
|
|
5930
|
+
}>>;
|
|
5931
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5932
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5933
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5934
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5935
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
5936
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
5937
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
5938
|
+
}, "strip", z.ZodTypeAny, {
|
|
5939
|
+
pointer?: string | undefined;
|
|
5940
|
+
parameter?: string | undefined;
|
|
5941
|
+
}, {
|
|
5942
|
+
pointer?: string | undefined;
|
|
5943
|
+
parameter?: string | undefined;
|
|
5944
|
+
}>>;
|
|
5945
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5946
|
+
}, "strip", z.ZodTypeAny, {
|
|
5947
|
+
status?: string | undefined;
|
|
5948
|
+
code?: string | undefined;
|
|
5949
|
+
id?: string | undefined;
|
|
5950
|
+
links?: {
|
|
5951
|
+
about?: string | undefined;
|
|
5952
|
+
} | undefined;
|
|
5953
|
+
meta?: Record<string, unknown> | undefined;
|
|
5954
|
+
title?: string | undefined;
|
|
5955
|
+
detail?: string | undefined;
|
|
5956
|
+
source?: {
|
|
5957
|
+
pointer?: string | undefined;
|
|
5958
|
+
parameter?: string | undefined;
|
|
5959
|
+
} | undefined;
|
|
5960
|
+
}, {
|
|
5961
|
+
status?: string | undefined;
|
|
5962
|
+
code?: string | undefined;
|
|
5963
|
+
id?: string | undefined;
|
|
5964
|
+
links?: {
|
|
5965
|
+
about?: string | undefined;
|
|
5966
|
+
} | undefined;
|
|
5967
|
+
meta?: Record<string, unknown> | undefined;
|
|
5968
|
+
title?: string | undefined;
|
|
5969
|
+
detail?: string | undefined;
|
|
5970
|
+
source?: {
|
|
5971
|
+
pointer?: string | undefined;
|
|
5972
|
+
parameter?: string | undefined;
|
|
5973
|
+
} | undefined;
|
|
5974
|
+
}>, "many">;
|
|
5975
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5976
|
+
}, "strip", z.ZodTypeAny, {
|
|
5977
|
+
errors: {
|
|
5978
|
+
status?: string | undefined;
|
|
5979
|
+
code?: string | undefined;
|
|
5980
|
+
id?: string | undefined;
|
|
5981
|
+
links?: {
|
|
5982
|
+
about?: string | undefined;
|
|
5983
|
+
} | undefined;
|
|
5984
|
+
meta?: Record<string, unknown> | undefined;
|
|
5985
|
+
title?: string | undefined;
|
|
5986
|
+
detail?: string | undefined;
|
|
5987
|
+
source?: {
|
|
5988
|
+
pointer?: string | undefined;
|
|
5989
|
+
parameter?: string | undefined;
|
|
5990
|
+
} | undefined;
|
|
5991
|
+
}[];
|
|
5992
|
+
meta?: Record<string, unknown> | undefined;
|
|
5993
|
+
}, {
|
|
5994
|
+
errors: {
|
|
5995
|
+
status?: string | undefined;
|
|
5996
|
+
code?: string | undefined;
|
|
5997
|
+
id?: string | undefined;
|
|
5998
|
+
links?: {
|
|
5999
|
+
about?: string | undefined;
|
|
6000
|
+
} | undefined;
|
|
6001
|
+
meta?: Record<string, unknown> | undefined;
|
|
6002
|
+
title?: string | undefined;
|
|
6003
|
+
detail?: string | undefined;
|
|
6004
|
+
source?: {
|
|
6005
|
+
pointer?: string | undefined;
|
|
6006
|
+
parameter?: string | undefined;
|
|
6007
|
+
} | undefined;
|
|
6008
|
+
}[];
|
|
6009
|
+
meta?: Record<string, unknown> | undefined;
|
|
6010
|
+
}>;
|
|
6011
|
+
};
|
|
6012
|
+
};
|
|
4977
6013
|
sendPlatformDigest: {
|
|
4978
6014
|
summary: "Send platform digest now";
|
|
4979
6015
|
description: "Send the previous-month platform digest email. Restricted to super admins.";
|