@deepintel-ltd/farmpro-contracts 1.9.0 → 1.10.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/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * @module @farmpro/contracts
7
7
  */
8
8
  export { apiContract } from './routes';
9
- export type { ApiContractType, ApiContractDefinition, AuthEndpoints, UsersEndpoints, FarmsEndpoints, FieldsEndpoints, TasksEndpoints, InventoryEndpoints, FinanceEndpoints, HarvestEndpoints, SoilTestsEndpoints, WeatherEndpoints, TeamEndpoints, EquipmentEndpoints, DocumentsEndpoints, SuppliersEndpoints, AnalyticsEndpoints, CategoriesEndpoints, AgentsEndpoints, AgentWorkflowsEndpoints, FieldMonitoringEndpoints, FieldObservationsEndpoints, AdminEndpoints, HealthEndpoints, SeasonalPlansEndpoints, InputUsageEndpoints, PaymentsEndpoints, SubscriptionsEndpoints, OrganizationsEndpoints, WaybillsEndpoints, InvoicesEndpoints, FertigationEndpoints, CropNutrientProfilesEndpoints, FertilizerProductsEndpoints, FertigationSchedulesEndpoints, FertigationEventsEndpoints, FertigationRecommendationsEndpoints, CapitalEndpoints, WhatsAppGatewayEndpoints, MonitoringVisualizationEndpoints, LivestockEndpoints, LivestockGroupsEndpoints, GeofencesEndpoints, LivestockMapEndpoints, PrescriptionMapsEndpoints, MeasurementsEndpoints, CropProfilesEndpoints, FarmStatusEndpoints, LiveMonitorEndpoints, TeamPaymentsEndpoints, CooperativeEndpoints, ExtensionEndpoints, NotificationsEndpoints, CommodityDealsEndpoints, DeviceGatewayEndpoints, DeviceGatewayAdminEndpoints, FarmGatewayAdminEndpoints, FarmGatewayDeviceEndpoints, } from './routes';
9
+ export type { ApiContractType, ApiContractDefinition, AuthEndpoints, UsersEndpoints, FarmsEndpoints, FieldsEndpoints, TasksEndpoints, InventoryEndpoints, FinanceEndpoints, HarvestEndpoints, SoilTestsEndpoints, WeatherEndpoints, TeamEndpoints, EquipmentEndpoints, DocumentsEndpoints, SuppliersEndpoints, AnalyticsEndpoints, CategoriesEndpoints, AgentsEndpoints, AgentWorkflowsEndpoints, FieldMonitoringEndpoints, FieldObservationsEndpoints, AdminEndpoints, HealthEndpoints, SeasonalPlansEndpoints, InputUsageEndpoints, PaymentsEndpoints, SubscriptionsEndpoints, OrganizationsEndpoints, WaybillsEndpoints, InvoicesEndpoints, FertigationEndpoints, CropNutrientProfilesEndpoints, FertilizerProductsEndpoints, FertigationSchedulesEndpoints, FertigationEventsEndpoints, FertigationRecommendationsEndpoints, CapitalEndpoints, WhatsAppGatewayEndpoints, MonitoringVisualizationEndpoints, LivestockEndpoints, LivestockGroupsEndpoints, GeofencesEndpoints, LivestockMapEndpoints, PrescriptionMapsEndpoints, MeasurementsEndpoints, CropProfilesEndpoints, FarmStatusEndpoints, LiveMonitorEndpoints, TeamPaymentsEndpoints, CooperativeEndpoints, ExtensionEndpoints, NotificationsEndpoints, CommodityDealsEndpoints, AcademyEndpoints, DeviceGatewayEndpoints, DeviceGatewayAdminEndpoints, FarmGatewayAdminEndpoints, FarmGatewayDeviceEndpoints, } from './routes';
10
10
  export { authRouter } from './routes/auth.routes';
11
11
  export { usersRouter } from './routes/users.routes';
12
12
  export { farmsRouter } from './routes/farms.routes';
@@ -54,6 +54,7 @@ export { cooperativeRouter } from './routes/cooperative.routes';
54
54
  export { extensionRouter } from './routes/extension.routes';
55
55
  export { notificationsRouter } from './routes/notifications.routes';
56
56
  export { commodityDealsRouter } from './routes/commodity-deals.routes';
57
+ export { academyRouter } from './routes/academy.routes';
57
58
  export { deviceGatewayRouter } from './routes/device-gateway.routes';
58
59
  export { deviceGatewayAdminRouter } from './routes/device-gateway-admin.routes';
59
60
  export { farmGatewayAdminRouter } from './routes/farm-gateway.routes';
@@ -110,6 +111,7 @@ export * from './schemas/team-payments.schemas';
110
111
  export * from './schemas/cooperative.schemas';
111
112
  export * from './schemas/extension.schemas';
112
113
  export * from './schemas/notifications.schemas';
114
+ export * from './schemas/academy.schemas';
113
115
  export * from './schemas/commodity-deals.schemas';
114
116
  export * from './schemas/device-gateway.schemas';
115
117
  export * from './schemas/farm-gateway.schemas';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,mCAAmC,EACnC,gBAAgB,EAChB,wBAAwB,EACxB,gCAAgC,EAChC,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,UAAU,CAAC;AAMlB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,uB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ACT,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,mCAAmC,EACnC,gBAAgB,EAChB,wBAAwB,EACxB,gCAAgC,EAChC,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,UAAU,CAAC;AAMlB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,uBA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,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EACV,SAAS,EACT,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,qCAAqC,CAAC"}
package/dist/index.js CHANGED
@@ -59,6 +59,7 @@ export { cooperativeRouter } from './routes/cooperative.routes';
59
59
  export { extensionRouter } from './routes/extension.routes';
60
60
  export { notificationsRouter } from './routes/notifications.routes';
61
61
  export { commodityDealsRouter } from './routes/commodity-deals.routes';
62
+ export { academyRouter } from './routes/academy.routes';
62
63
  export { deviceGatewayRouter } from './routes/device-gateway.routes';
63
64
  export { deviceGatewayAdminRouter } from './routes/device-gateway-admin.routes';
64
65
  export { farmGatewayAdminRouter } from './routes/farm-gateway.routes';
@@ -118,6 +119,7 @@ export * from './schemas/team-payments.schemas';
118
119
  export * from './schemas/cooperative.schemas';
119
120
  export * from './schemas/extension.schemas';
120
121
  export * from './schemas/notifications.schemas';
122
+ export * from './schemas/academy.schemas';
121
123
  export * from './schemas/commodity-deals.schemas';
122
124
  export * from './schemas/device-gateway.schemas';
123
125
  export * from './schemas/farm-gateway.schemas';
@@ -0,0 +1,575 @@
1
+ import { z } from 'zod';
2
+ export declare const academyRouter: {
3
+ listProgress: {
4
+ summary: "List academy course progress for the authenticated user";
5
+ method: "GET";
6
+ path: "/academy/progress";
7
+ responses: {
8
+ 200: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ type: z.ZodLiteral<string>;
11
+ id: z.ZodString;
12
+ attributes: z.ZodObject<{
13
+ courseId: z.ZodEnum<["greenhouse_construction", "greenhouse", "greenhouse_pepper", "pepper_management"]>;
14
+ progress: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
+ } & {
16
+ createdAt: z.ZodString;
17
+ updatedAt: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ progress: Record<string, unknown>;
22
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
23
+ }, {
24
+ createdAt: string;
25
+ updatedAt: string;
26
+ progress: Record<string, unknown>;
27
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
28
+ }>;
29
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: string;
34
+ id: string;
35
+ attributes: {
36
+ createdAt: string;
37
+ updatedAt: string;
38
+ progress: Record<string, unknown>;
39
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
40
+ };
41
+ relationships?: Record<string, unknown> | undefined;
42
+ links?: Record<string, string> | undefined;
43
+ meta?: Record<string, unknown> | undefined;
44
+ }, {
45
+ type: string;
46
+ id: string;
47
+ attributes: {
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ progress: Record<string, unknown>;
51
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
52
+ };
53
+ relationships?: Record<string, unknown> | undefined;
54
+ links?: Record<string, string> | undefined;
55
+ meta?: Record<string, unknown> | undefined;
56
+ }>, "many">;
57
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
+ type: z.ZodString;
59
+ id: z.ZodString;
60
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
61
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
62
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
63
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ type: string;
66
+ id: string;
67
+ attributes?: Record<string, unknown> | undefined;
68
+ relationships?: Record<string, unknown> | undefined;
69
+ links?: Record<string, string> | undefined;
70
+ meta?: Record<string, unknown> | undefined;
71
+ }, {
72
+ type: string;
73
+ id: string;
74
+ attributes?: Record<string, unknown> | undefined;
75
+ relationships?: Record<string, unknown> | undefined;
76
+ links?: Record<string, string> | undefined;
77
+ meta?: Record<string, unknown> | undefined;
78
+ }>, "many">>;
79
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
80
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ data: {
83
+ type: string;
84
+ id: string;
85
+ attributes: {
86
+ createdAt: string;
87
+ updatedAt: string;
88
+ progress: Record<string, unknown>;
89
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
90
+ };
91
+ relationships?: Record<string, unknown> | undefined;
92
+ links?: Record<string, string> | undefined;
93
+ meta?: Record<string, unknown> | undefined;
94
+ }[];
95
+ links?: Record<string, string> | undefined;
96
+ meta?: Record<string, unknown> | undefined;
97
+ included?: {
98
+ type: string;
99
+ id: string;
100
+ attributes?: Record<string, unknown> | undefined;
101
+ relationships?: Record<string, unknown> | undefined;
102
+ links?: Record<string, string> | undefined;
103
+ meta?: Record<string, unknown> | undefined;
104
+ }[] | undefined;
105
+ }, {
106
+ data: {
107
+ type: string;
108
+ id: string;
109
+ attributes: {
110
+ createdAt: string;
111
+ updatedAt: string;
112
+ progress: Record<string, unknown>;
113
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
114
+ };
115
+ relationships?: Record<string, unknown> | undefined;
116
+ links?: Record<string, string> | undefined;
117
+ meta?: Record<string, unknown> | undefined;
118
+ }[];
119
+ links?: Record<string, string> | undefined;
120
+ meta?: Record<string, unknown> | undefined;
121
+ included?: {
122
+ type: string;
123
+ id: string;
124
+ attributes?: Record<string, unknown> | undefined;
125
+ relationships?: Record<string, unknown> | undefined;
126
+ links?: Record<string, string> | undefined;
127
+ meta?: Record<string, unknown> | undefined;
128
+ }[] | undefined;
129
+ }>;
130
+ 401: z.ZodObject<{
131
+ errors: z.ZodArray<z.ZodObject<{
132
+ id: z.ZodOptional<z.ZodString>;
133
+ links: z.ZodOptional<z.ZodObject<{
134
+ about: z.ZodOptional<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ about?: string | undefined;
137
+ }, {
138
+ about?: string | undefined;
139
+ }>>;
140
+ status: z.ZodOptional<z.ZodString>;
141
+ code: z.ZodOptional<z.ZodString>;
142
+ title: z.ZodOptional<z.ZodString>;
143
+ detail: z.ZodOptional<z.ZodString>;
144
+ source: z.ZodOptional<z.ZodObject<{
145
+ pointer: z.ZodOptional<z.ZodString>;
146
+ parameter: z.ZodOptional<z.ZodString>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ pointer?: string | undefined;
149
+ parameter?: string | undefined;
150
+ }, {
151
+ pointer?: string | undefined;
152
+ parameter?: string | undefined;
153
+ }>>;
154
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ status?: string | undefined;
157
+ code?: string | undefined;
158
+ id?: string | undefined;
159
+ links?: {
160
+ about?: string | undefined;
161
+ } | undefined;
162
+ meta?: Record<string, unknown> | undefined;
163
+ title?: string | undefined;
164
+ detail?: string | undefined;
165
+ source?: {
166
+ pointer?: string | undefined;
167
+ parameter?: string | undefined;
168
+ } | undefined;
169
+ }, {
170
+ status?: string | undefined;
171
+ code?: string | undefined;
172
+ id?: string | undefined;
173
+ links?: {
174
+ about?: string | undefined;
175
+ } | undefined;
176
+ meta?: Record<string, unknown> | undefined;
177
+ title?: string | undefined;
178
+ detail?: string | undefined;
179
+ source?: {
180
+ pointer?: string | undefined;
181
+ parameter?: string | undefined;
182
+ } | undefined;
183
+ }>, "many">;
184
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ errors: {
187
+ status?: string | undefined;
188
+ code?: string | undefined;
189
+ id?: string | undefined;
190
+ links?: {
191
+ about?: string | undefined;
192
+ } | undefined;
193
+ meta?: Record<string, unknown> | undefined;
194
+ title?: string | undefined;
195
+ detail?: string | undefined;
196
+ source?: {
197
+ pointer?: string | undefined;
198
+ parameter?: string | undefined;
199
+ } | undefined;
200
+ }[];
201
+ meta?: Record<string, unknown> | undefined;
202
+ }, {
203
+ errors: {
204
+ status?: string | undefined;
205
+ code?: string | undefined;
206
+ id?: string | undefined;
207
+ links?: {
208
+ about?: string | undefined;
209
+ } | undefined;
210
+ meta?: Record<string, unknown> | undefined;
211
+ title?: string | undefined;
212
+ detail?: string | undefined;
213
+ source?: {
214
+ pointer?: string | undefined;
215
+ parameter?: string | undefined;
216
+ } | undefined;
217
+ }[];
218
+ meta?: Record<string, unknown> | undefined;
219
+ }>;
220
+ };
221
+ };
222
+ upsertProgress: {
223
+ summary: "Upsert academy course progress for the authenticated user";
224
+ method: "PUT";
225
+ body: z.ZodObject<{
226
+ data: z.ZodObject<{
227
+ type: z.ZodLiteral<"academy-progress">;
228
+ attributes: z.ZodObject<{
229
+ courseId: z.ZodEnum<["greenhouse_construction", "greenhouse", "greenhouse_pepper", "pepper_management"]>;
230
+ progress: z.ZodRecord<z.ZodString, z.ZodUnknown>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ progress: Record<string, unknown>;
233
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
234
+ }, {
235
+ progress: Record<string, unknown>;
236
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
237
+ }>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ type: "academy-progress";
240
+ attributes: {
241
+ progress: Record<string, unknown>;
242
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
243
+ };
244
+ }, {
245
+ type: "academy-progress";
246
+ attributes: {
247
+ progress: Record<string, unknown>;
248
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
249
+ };
250
+ }>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ data: {
253
+ type: "academy-progress";
254
+ attributes: {
255
+ progress: Record<string, unknown>;
256
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
257
+ };
258
+ };
259
+ }, {
260
+ data: {
261
+ type: "academy-progress";
262
+ attributes: {
263
+ progress: Record<string, unknown>;
264
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
265
+ };
266
+ };
267
+ }>;
268
+ path: "/academy/progress";
269
+ responses: {
270
+ 200: z.ZodObject<{
271
+ data: z.ZodObject<{
272
+ type: z.ZodLiteral<string>;
273
+ id: z.ZodString;
274
+ attributes: z.ZodObject<{
275
+ courseId: z.ZodEnum<["greenhouse_construction", "greenhouse", "greenhouse_pepper", "pepper_management"]>;
276
+ progress: z.ZodRecord<z.ZodString, z.ZodUnknown>;
277
+ } & {
278
+ createdAt: z.ZodString;
279
+ updatedAt: z.ZodString;
280
+ }, "strip", z.ZodTypeAny, {
281
+ createdAt: string;
282
+ updatedAt: string;
283
+ progress: Record<string, unknown>;
284
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
285
+ }, {
286
+ createdAt: string;
287
+ updatedAt: string;
288
+ progress: Record<string, unknown>;
289
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
290
+ }>;
291
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
292
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
293
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ type: string;
296
+ id: string;
297
+ attributes: {
298
+ createdAt: string;
299
+ updatedAt: string;
300
+ progress: Record<string, unknown>;
301
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
302
+ };
303
+ relationships?: Record<string, unknown> | undefined;
304
+ links?: Record<string, string> | undefined;
305
+ meta?: Record<string, unknown> | undefined;
306
+ }, {
307
+ type: string;
308
+ id: string;
309
+ attributes: {
310
+ createdAt: string;
311
+ updatedAt: string;
312
+ progress: Record<string, unknown>;
313
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
314
+ };
315
+ relationships?: Record<string, unknown> | undefined;
316
+ links?: Record<string, string> | undefined;
317
+ meta?: Record<string, unknown> | undefined;
318
+ }>;
319
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
320
+ type: z.ZodString;
321
+ id: z.ZodString;
322
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
323
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
324
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
325
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ type: string;
328
+ id: string;
329
+ attributes?: Record<string, unknown> | undefined;
330
+ relationships?: Record<string, unknown> | undefined;
331
+ links?: Record<string, string> | undefined;
332
+ meta?: Record<string, unknown> | undefined;
333
+ }, {
334
+ type: string;
335
+ id: string;
336
+ attributes?: Record<string, unknown> | undefined;
337
+ relationships?: Record<string, unknown> | undefined;
338
+ links?: Record<string, string> | undefined;
339
+ meta?: Record<string, unknown> | undefined;
340
+ }>, "many">>;
341
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
342
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ data: {
345
+ type: string;
346
+ id: string;
347
+ attributes: {
348
+ createdAt: string;
349
+ updatedAt: string;
350
+ progress: Record<string, unknown>;
351
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
352
+ };
353
+ relationships?: Record<string, unknown> | undefined;
354
+ links?: Record<string, string> | undefined;
355
+ meta?: Record<string, unknown> | undefined;
356
+ };
357
+ links?: Record<string, string> | undefined;
358
+ meta?: Record<string, unknown> | undefined;
359
+ included?: {
360
+ type: string;
361
+ id: string;
362
+ attributes?: Record<string, unknown> | undefined;
363
+ relationships?: Record<string, unknown> | undefined;
364
+ links?: Record<string, string> | undefined;
365
+ meta?: Record<string, unknown> | undefined;
366
+ }[] | undefined;
367
+ }, {
368
+ data: {
369
+ type: string;
370
+ id: string;
371
+ attributes: {
372
+ createdAt: string;
373
+ updatedAt: string;
374
+ progress: Record<string, unknown>;
375
+ courseId: "greenhouse_construction" | "greenhouse" | "greenhouse_pepper" | "pepper_management";
376
+ };
377
+ relationships?: Record<string, unknown> | undefined;
378
+ links?: Record<string, string> | undefined;
379
+ meta?: Record<string, unknown> | undefined;
380
+ };
381
+ links?: Record<string, string> | undefined;
382
+ meta?: Record<string, unknown> | undefined;
383
+ included?: {
384
+ type: string;
385
+ id: string;
386
+ attributes?: Record<string, unknown> | undefined;
387
+ relationships?: Record<string, unknown> | undefined;
388
+ links?: Record<string, string> | undefined;
389
+ meta?: Record<string, unknown> | undefined;
390
+ }[] | undefined;
391
+ }>;
392
+ 400: z.ZodObject<{
393
+ errors: z.ZodArray<z.ZodObject<{
394
+ id: z.ZodOptional<z.ZodString>;
395
+ links: z.ZodOptional<z.ZodObject<{
396
+ about: z.ZodOptional<z.ZodString>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ about?: string | undefined;
399
+ }, {
400
+ about?: string | undefined;
401
+ }>>;
402
+ status: z.ZodOptional<z.ZodString>;
403
+ code: z.ZodOptional<z.ZodString>;
404
+ title: z.ZodOptional<z.ZodString>;
405
+ detail: z.ZodOptional<z.ZodString>;
406
+ source: z.ZodOptional<z.ZodObject<{
407
+ pointer: z.ZodOptional<z.ZodString>;
408
+ parameter: z.ZodOptional<z.ZodString>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ pointer?: string | undefined;
411
+ parameter?: string | undefined;
412
+ }, {
413
+ pointer?: string | undefined;
414
+ parameter?: string | undefined;
415
+ }>>;
416
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ status?: string | undefined;
419
+ code?: string | undefined;
420
+ id?: string | undefined;
421
+ links?: {
422
+ about?: string | undefined;
423
+ } | undefined;
424
+ meta?: Record<string, unknown> | undefined;
425
+ title?: string | undefined;
426
+ detail?: string | undefined;
427
+ source?: {
428
+ pointer?: string | undefined;
429
+ parameter?: string | undefined;
430
+ } | undefined;
431
+ }, {
432
+ status?: string | undefined;
433
+ code?: string | undefined;
434
+ id?: string | undefined;
435
+ links?: {
436
+ about?: string | undefined;
437
+ } | undefined;
438
+ meta?: Record<string, unknown> | undefined;
439
+ title?: string | undefined;
440
+ detail?: string | undefined;
441
+ source?: {
442
+ pointer?: string | undefined;
443
+ parameter?: string | undefined;
444
+ } | undefined;
445
+ }>, "many">;
446
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ errors: {
449
+ status?: string | undefined;
450
+ code?: string | undefined;
451
+ id?: string | undefined;
452
+ links?: {
453
+ about?: string | undefined;
454
+ } | undefined;
455
+ meta?: Record<string, unknown> | undefined;
456
+ title?: string | undefined;
457
+ detail?: string | undefined;
458
+ source?: {
459
+ pointer?: string | undefined;
460
+ parameter?: string | undefined;
461
+ } | undefined;
462
+ }[];
463
+ meta?: Record<string, unknown> | undefined;
464
+ }, {
465
+ errors: {
466
+ status?: string | undefined;
467
+ code?: string | undefined;
468
+ id?: string | undefined;
469
+ links?: {
470
+ about?: string | undefined;
471
+ } | undefined;
472
+ meta?: Record<string, unknown> | undefined;
473
+ title?: string | undefined;
474
+ detail?: string | undefined;
475
+ source?: {
476
+ pointer?: string | undefined;
477
+ parameter?: string | undefined;
478
+ } | undefined;
479
+ }[];
480
+ meta?: Record<string, unknown> | undefined;
481
+ }>;
482
+ 401: z.ZodObject<{
483
+ errors: z.ZodArray<z.ZodObject<{
484
+ id: z.ZodOptional<z.ZodString>;
485
+ links: z.ZodOptional<z.ZodObject<{
486
+ about: z.ZodOptional<z.ZodString>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ about?: string | undefined;
489
+ }, {
490
+ about?: string | undefined;
491
+ }>>;
492
+ status: z.ZodOptional<z.ZodString>;
493
+ code: z.ZodOptional<z.ZodString>;
494
+ title: z.ZodOptional<z.ZodString>;
495
+ detail: z.ZodOptional<z.ZodString>;
496
+ source: z.ZodOptional<z.ZodObject<{
497
+ pointer: z.ZodOptional<z.ZodString>;
498
+ parameter: z.ZodOptional<z.ZodString>;
499
+ }, "strip", z.ZodTypeAny, {
500
+ pointer?: string | undefined;
501
+ parameter?: string | undefined;
502
+ }, {
503
+ pointer?: string | undefined;
504
+ parameter?: string | undefined;
505
+ }>>;
506
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
507
+ }, "strip", z.ZodTypeAny, {
508
+ status?: string | undefined;
509
+ code?: string | undefined;
510
+ id?: string | undefined;
511
+ links?: {
512
+ about?: string | undefined;
513
+ } | undefined;
514
+ meta?: Record<string, unknown> | undefined;
515
+ title?: string | undefined;
516
+ detail?: string | undefined;
517
+ source?: {
518
+ pointer?: string | undefined;
519
+ parameter?: string | undefined;
520
+ } | undefined;
521
+ }, {
522
+ status?: string | undefined;
523
+ code?: string | undefined;
524
+ id?: string | undefined;
525
+ links?: {
526
+ about?: string | undefined;
527
+ } | undefined;
528
+ meta?: Record<string, unknown> | undefined;
529
+ title?: string | undefined;
530
+ detail?: string | undefined;
531
+ source?: {
532
+ pointer?: string | undefined;
533
+ parameter?: string | undefined;
534
+ } | undefined;
535
+ }>, "many">;
536
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ errors: {
539
+ status?: string | undefined;
540
+ code?: string | undefined;
541
+ id?: string | undefined;
542
+ links?: {
543
+ about?: string | undefined;
544
+ } | undefined;
545
+ meta?: Record<string, unknown> | undefined;
546
+ title?: string | undefined;
547
+ detail?: string | undefined;
548
+ source?: {
549
+ pointer?: string | undefined;
550
+ parameter?: string | undefined;
551
+ } | undefined;
552
+ }[];
553
+ meta?: Record<string, unknown> | undefined;
554
+ }, {
555
+ errors: {
556
+ status?: string | undefined;
557
+ code?: string | undefined;
558
+ id?: string | undefined;
559
+ links?: {
560
+ about?: string | undefined;
561
+ } | undefined;
562
+ meta?: Record<string, unknown> | undefined;
563
+ title?: string | undefined;
564
+ detail?: string | undefined;
565
+ source?: {
566
+ pointer?: string | undefined;
567
+ parameter?: string | undefined;
568
+ } | undefined;
569
+ }[];
570
+ meta?: Record<string, unknown> | undefined;
571
+ }>;
572
+ };
573
+ };
574
+ };
575
+ //# sourceMappingURL=academy.routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"academy.routes.d.ts","sourceRoot":"","sources":["../../src/routes/academy.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAC"}