@assemblis/contracts 1.4.0 → 1.5.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.js CHANGED
@@ -1 +1 @@
1
- import e from"zod";var t,n,o;!function(e){e.ACCOUNT="/account",e.ACCOUNT_REPORTS="/account/reports",e.ADMIN="/admin",e.ADMIN_HEALTHCHECK="/admin/healthcheck",e.ADMIN_PINS="/admin/pins",e.ADMIN_REPORTS="/admin/reports",e.ADMIN_USERS="/admin/users",e.INTEREST="/interest",e.LOGS="/logs",e.PING="/ping",e.PINS="/pins",e.REGISTER="/register",e.REPORTS="/reports"}(t||(t={})),function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH"}(n||(n={})),function(e){e.DISCARDED="DISCARDED",e.DRAFTED="DRAFT",e.PUBLISHED="PUBLISHED",e.CHANGED="CHANGED"}(o||(o={}));const i=e.coerce.date().transform(e=>e.toISOString()),r=e=>e.nullish().transform(e=>e??null);function a(e,t){return Object.keys(t).reduce((e,n)=>e.replace(`:${n}`,t[n]),e)}const s=e.object({id:e.uuid(),created_at:i,updated_at:i,alt:e.string(),srcset:e.string(),width:e.int(),height:e.int()}),d=e.object({recaptcha_token:e.string(),email:e.email().toLowerCase().trim(),listIds:e.int().array(),firstname:e.string().nullish().transform(e=>e??void 0),lastname:e.string().nullish().transform(e=>e??void 0),country:e.string().nullish().transform(e=>e??void 0),organisation:e.string().nullish().transform(e=>e??void 0),has_assemblis_account:e.boolean().nullish().transform(e=>e??!1)}),p=e.object({published_at:r(i),title:r(e.string()),description:r(e.string()),location:r(e.string()),outputs:r(e.string().array()),initiation_type:r(e.string()),recruitment_method:r(e.string()),recruitment_description:r(e.string()),participant_count:r(e.int()),organiser_reflections:r(e.string()),organiser_report_url:r(e.string()),location_details:r(e.string()),date:r(e.string()),duration:r(e.int()),contact_information_url:r(e.string()),cover_image_id:r(e.string())}),l=e.object({server_id:e.uuid(),client_id:e.uuid(),display_seq:e.int(),created_at:i,updated_at:i,published_at:r(i),state:e.enum(["DISCARDED","DRAFTED","PUBLISHED","CHANGED"]),slug:r(e.string()),draft_content:r(p),published_content:r(p),media:e.object({images:s.array()})}),c=l.extend({creator_id:e.uuid()});e.object({id:e.uuid(),created_at:i,updated_at:i,sub:e.string(),is_mutirao:e.boolean()});const u=e.object({id:e.uuid(),sub:e.string(),created_at:i,updated_at:i,report_count:e.int(),email:r(e.string())}),m=e.object({id:e.uuid(),created_at:i,updated_at:i,image_src:r(e.string()),has_image:e.boolean().meta({deprecated:!0}),user_id:e.uuid().meta({deprecated:!0}),published_at:r(i),name:e.string(),about:r(e.string()),topics:e.string().array(),country:r(e.string()),hide:e.boolean().default(!1)}),_=e.object({id:e.uuid(),created_at:e.coerce.date().transform(e=>e.toISOString()),updated_at:e.coerce.date().transform(e=>e.toISOString()),country:e.string(),text:r(e.string()),hide:e.boolean(),image_src:r(e.string()),has_image:e.boolean().meta({deprecated:!0})}),g=e.object({message:e.string().optional(),data:e.record(e.string(),e.string().optional()).optional(),metadata:e.object({origin:e.string(),route:e.string(),status:e.number()})}),T=e.object({type:e.literal("user.created"),object:e.literal("event"),data:e.object({id:e.string(),email_addresses:e.object({email_address:e.string()}).array()})}),h={endpoint:t.ACCOUNT_REPORTS,method:n.GET,payload:e.never(),response:e.object({reports:l.array(),total:e.int()})},b={endpoint:`${t.ACCOUNT_REPORTS}/:client_id`,method:n.GET,payload:e.never(),response:r(l)},S={endpoint:t.ACCOUNT_REPORTS,method:n.POST,payload:e.object({client_id:e.uuid(),content:r(p.omit({cover_image_id:!0}))}),response:l},E={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/content`,method:n.PUT,payload:p.omit({published_at:!0,cover_image_id:!0}),response:l},y={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/discard`,method:n.PATCH,payload:e.nullish(e.object()),response:r(l)},P={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/publish`,method:n.PATCH,payload:e.object({published_at:i}),response:l},R={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/unpublish`,method:n.PATCH,payload:e.nullish(e.object()),response:l},O={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/cover-image`,method:n.POST,payload:s.pick({alt:!0}),response:l},A={endpoint:t.INTEREST,method:n.POST,payload:d,response:e.string()},C={endpoint:`${t.INTEREST}/assemblis`,method:n.POST,payload:d.omit({listIds:!0}),response:e.string()},I={endpoint:t.REPORTS,method:n.GET,payload:e.never(),response:e.object({reports:l.array(),total:e.int()})},N={endpoint:`${t.REPORTS}/:slug`,method:n.GET,payload:e.never(),response:r(l)},D={endpoint:t.PINS,method:n.GET,payload:e.never(),response:e.object({assemblies:m.array(),pins:_.array()})},j={endpoint:t.PINS,method:n.POST,payload:e.object({country:e.string(),email:e.string(),text:r(e.string())}),response:_},v={endpoint:t.ADMIN_REPORTS,method:n.GET,payload:e.never(),response:e.object({reports:c.array(),total:e.int()})},G={endpoint:t.ADMIN_USERS,method:n.GET,payload:e.never(),response:e.object({users:u.array(),total:e.int()})},f={endpoint:t.ADMIN_PINS,method:n.GET,payload:e.never(),response:e.object({pins:_.array()})},H={endpoint:`${t.ADMIN_PINS}/:id/hide`,method:n.PATCH,payload:e.never(),response:_},U={endpoint:t.ADMIN_HEALTHCHECK,method:n.GET,payload:e.never(),response:e.object({commit_hash:e.string().nullable(),deployed_at:e.string().nullable(),uptime_ms:e.int().nullable(),checks:e.object({database:e.enum(["ok","error"]),clerk:e.enum(["ok","error"])})})},$={endpoint:t.PING,method:n.GET,payload:e.never(),response:e.never()},M={endpoint:`${t.LOGS}/info`,method:n.POST,payload:g,response:e.string()},L={endpoint:`${t.LOGS}/error`,method:n.POST,payload:g,response:e.string()},k={endpoint:t.REGISTER,method:n.POST,payload:T,response:e.string()};export{t as ApiEndpoint,n as ApiRestMethod,b as GetAccountReportsIdSchema,h as GetAccountReportsSchema,U as GetAdminHealthcheckSchema,f as GetAdminPinsSchema,v as GetAdminReportsSchema,G as GetAdminUsersSchema,$ as GetPingSchema,D as GetPinsSchema,I as GetReportsSchema,N as GetReportsSlugSchema,y as PatchAccountReportsIdDiscardSchema,P as PatchAccountReportsIdPublishSchema,R as PatchAccountReportsIdUnpublishSchema,H as PatchAdminPinHideSchema,O as PostAccountReportsIdCoverImageSchema,S as PostAccountReportsSchema,C as PostInterestAssemblisSchema,A as PostInterestSchema,L as PostLogsErrorSchema,M as PostLogsInfoSchema,j as PostPinSchema,k as PostRegisterSchema,E as PutAccountReportsIdContentSchema,o as ReportState,a as resolvePath};
1
+ import e from"zod";var t,n,o;!function(e){e.ACCOUNT="/account",e.ACCOUNT_REPORTS="/account/reports",e.ADMIN="/admin",e.ADMIN_HEALTHCHECK="/admin/healthcheck",e.ADMIN_PINS="/admin/pins",e.ADMIN_REPORTS="/admin/reports",e.ADMIN_USERS="/admin/users",e.INTEREST="/interest",e.LOGS="/logs",e.PING="/ping",e.PINS="/pins",e.REGISTER="/register",e.REPORTS="/reports"}(t||(t={})),function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH"}(n||(n={})),function(e){e.DISCARDED="DISCARDED",e.DRAFTED="DRAFT",e.PUBLISHED="PUBLISHED",e.CHANGED="CHANGED"}(o||(o={}));const i=e.coerce.date().transform(e=>e.toISOString()),r=e=>e.nullish().transform(e=>e??null);function a(e,t){return Object.keys(t).reduce((e,n)=>e.replace(`:${n}`,t[n]),e)}const s=e.object({id:e.uuid(),created_at:i,updated_at:i,alt:e.string(),srcset:e.string(),width:e.int(),height:e.int()}),d=e.object({recaptcha_token:e.string(),email:e.email().toLowerCase().trim(),listIds:e.int().array(),firstname:e.string().nullish().transform(e=>e??void 0),lastname:e.string().nullish().transform(e=>e??void 0),country:e.string().nullish().transform(e=>e??void 0),organisation:e.string().nullish().transform(e=>e??void 0),has_assemblis_account:e.boolean().nullish().transform(e=>e??!1)}),p=e.object({published_at:r(i),title:r(e.string()),description:r(e.string()),location:r(e.string()),outputs:r(e.string().array()),initiation_type:r(e.string()),recruitment_method:r(e.string()),recruitment_description:r(e.string()),participant_count:r(e.int()),organiser_reflections:r(e.string()),organiser_report_url:r(e.string()),location_details:r(e.string()),date:r(e.string()),duration:r(e.int()),contact_information_url:r(e.string()),language:r(e.string().regex(/^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/)),cover_image_id:r(e.string())}),l=e.object({server_id:e.uuid(),client_id:e.uuid(),display_seq:e.int(),created_at:i,updated_at:i,published_at:r(i),state:e.enum(["DISCARDED","DRAFTED","PUBLISHED","CHANGED"]),slug:r(e.string()),draft_content:r(p),published_content:r(p),media:e.object({images:s.array()})}),c=l.extend({creator_id:e.uuid()});e.object({id:e.uuid(),created_at:i,updated_at:i,sub:e.string(),is_mutirao:e.boolean()});const u=e.object({id:e.uuid(),sub:e.string(),created_at:i,updated_at:i,report_count:e.int(),email:r(e.string())}),m=e.object({id:e.uuid(),created_at:i,updated_at:i,image_src:r(e.string()),has_image:e.boolean().meta({deprecated:!0}),user_id:e.uuid().meta({deprecated:!0}),published_at:r(i),name:e.string(),about:r(e.string()),topics:e.string().array(),country:r(e.string()),hide:e.boolean().default(!1)}),_=e.object({id:e.uuid(),created_at:e.coerce.date().transform(e=>e.toISOString()),updated_at:e.coerce.date().transform(e=>e.toISOString()),country:e.string(),text:r(e.string()),hide:e.boolean(),image_src:r(e.string()),has_image:e.boolean().meta({deprecated:!0})}),g=e.object({message:e.string().optional(),data:e.record(e.string(),e.string().optional()).optional(),metadata:e.object({origin:e.string(),route:e.string(),status:e.number()})}),T=e.object({type:e.literal("user.created"),object:e.literal("event"),data:e.object({id:e.string(),email_addresses:e.object({email_address:e.string()}).array()})}),h={endpoint:t.ACCOUNT_REPORTS,method:n.GET,payload:e.never(),response:e.object({reports:l.array(),total:e.int()})},b={endpoint:`${t.ACCOUNT_REPORTS}/:client_id`,method:n.GET,payload:e.never(),response:r(l)},S={endpoint:t.ACCOUNT_REPORTS,method:n.POST,payload:e.object({client_id:e.uuid(),content:r(p.omit({cover_image_id:!0}))}),response:l},E={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/content`,method:n.PUT,payload:p.omit({published_at:!0,cover_image_id:!0}),response:l},y={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/discard`,method:n.PATCH,payload:e.nullish(e.object()),response:r(l)},P={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/publish`,method:n.PATCH,payload:e.object({published_at:i}),response:l},R={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/unpublish`,method:n.PATCH,payload:e.nullish(e.object()),response:l},O={endpoint:`${t.ACCOUNT_REPORTS}/:client_id/cover-image`,method:n.POST,payload:s.pick({alt:!0}),response:l},A={endpoint:t.INTEREST,method:n.POST,payload:d,response:e.string()},C={endpoint:`${t.INTEREST}/assemblis`,method:n.POST,payload:d.omit({listIds:!0}),response:e.string()},I={endpoint:t.REPORTS,method:n.GET,payload:e.never(),response:e.object({reports:l.array(),total:e.int()})},N={endpoint:`${t.REPORTS}/:slug`,method:n.GET,payload:e.never(),response:r(l)},D={endpoint:t.PINS,method:n.GET,payload:e.never(),response:e.object({assemblies:m.array(),pins:_.array()})},j={endpoint:t.PINS,method:n.POST,payload:e.object({country:e.string(),email:e.string(),text:r(e.string())}),response:_},v={endpoint:t.ADMIN_REPORTS,method:n.GET,payload:e.never(),response:e.object({reports:c.array(),total:e.int()})},G={endpoint:t.ADMIN_USERS,method:n.GET,payload:e.never(),response:e.object({users:u.array(),total:e.int()})},f={endpoint:t.ADMIN_PINS,method:n.GET,payload:e.never(),response:e.object({pins:_.array()})},H={endpoint:`${t.ADMIN_PINS}/:id/hide`,method:n.PATCH,payload:e.never(),response:_},U={endpoint:t.ADMIN_HEALTHCHECK,method:n.GET,payload:e.never(),response:e.object({commit_hash:e.string().nullable(),deployed_at:e.string().nullable(),uptime_ms:e.int().nullable(),checks:e.object({database:e.enum(["ok","error"]),clerk:e.enum(["ok","error"])})})},$={endpoint:t.PING,method:n.GET,payload:e.never(),response:e.never()},M={endpoint:`${t.LOGS}/info`,method:n.POST,payload:g,response:e.string()},L={endpoint:`${t.LOGS}/error`,method:n.POST,payload:g,response:e.string()},k={endpoint:t.REGISTER,method:n.POST,payload:T,response:e.string()};export{t as ApiEndpoint,n as ApiRestMethod,b as GetAccountReportsIdSchema,h as GetAccountReportsSchema,U as GetAdminHealthcheckSchema,f as GetAdminPinsSchema,v as GetAdminReportsSchema,G as GetAdminUsersSchema,$ as GetPingSchema,D as GetPinsSchema,I as GetReportsSchema,N as GetReportsSlugSchema,y as PatchAccountReportsIdDiscardSchema,P as PatchAccountReportsIdPublishSchema,R as PatchAccountReportsIdUnpublishSchema,H as PatchAdminPinHideSchema,O as PostAccountReportsIdCoverImageSchema,S as PostAccountReportsSchema,C as PostInterestAssemblisSchema,A as PostInterestSchema,L as PostLogsErrorSchema,M as PostLogsInfoSchema,j as PostPinSchema,k as PostRegisterSchema,E as PutAccountReportsIdContentSchema,o as ReportState,a as resolvePath};
@@ -35,6 +35,7 @@ export declare const GetAccountReportsSchema: {
35
35
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
36
36
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
37
37
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
38
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
38
39
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
39
40
  }, z.core.$strip>>>, z.ZodTransform<{
40
41
  published_at: string | null;
@@ -52,6 +53,7 @@ export declare const GetAccountReportsSchema: {
52
53
  date: string | null;
53
54
  duration: number | null;
54
55
  contact_information_url: string | null;
56
+ language: string | null;
55
57
  cover_image_id: string | null;
56
58
  } | null, {
57
59
  published_at: string | null;
@@ -69,6 +71,7 @@ export declare const GetAccountReportsSchema: {
69
71
  date: string | null;
70
72
  duration: number | null;
71
73
  contact_information_url: string | null;
74
+ language: string | null;
72
75
  cover_image_id: string | null;
73
76
  } | null | undefined>>;
74
77
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -87,6 +90,7 @@ export declare const GetAccountReportsSchema: {
87
90
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
88
91
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
89
92
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
93
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
90
94
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
91
95
  }, z.core.$strip>>>, z.ZodTransform<{
92
96
  published_at: string | null;
@@ -104,6 +108,7 @@ export declare const GetAccountReportsSchema: {
104
108
  date: string | null;
105
109
  duration: number | null;
106
110
  contact_information_url: string | null;
111
+ language: string | null;
107
112
  cover_image_id: string | null;
108
113
  } | null, {
109
114
  published_at: string | null;
@@ -121,6 +126,7 @@ export declare const GetAccountReportsSchema: {
121
126
  date: string | null;
122
127
  duration: number | null;
123
128
  contact_information_url: string | null;
129
+ language: string | null;
124
130
  cover_image_id: string | null;
125
131
  } | null | undefined>>;
126
132
  media: z.ZodObject<{
@@ -172,6 +178,7 @@ export declare const GetAccountReportsIdSchema: {
172
178
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
173
179
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
174
180
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
181
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
175
182
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
176
183
  }, z.core.$strip>>>, z.ZodTransform<{
177
184
  published_at: string | null;
@@ -189,6 +196,7 @@ export declare const GetAccountReportsIdSchema: {
189
196
  date: string | null;
190
197
  duration: number | null;
191
198
  contact_information_url: string | null;
199
+ language: string | null;
192
200
  cover_image_id: string | null;
193
201
  } | null, {
194
202
  published_at: string | null;
@@ -206,6 +214,7 @@ export declare const GetAccountReportsIdSchema: {
206
214
  date: string | null;
207
215
  duration: number | null;
208
216
  contact_information_url: string | null;
217
+ language: string | null;
209
218
  cover_image_id: string | null;
210
219
  } | null | undefined>>;
211
220
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -224,6 +233,7 @@ export declare const GetAccountReportsIdSchema: {
224
233
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
225
234
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
226
235
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
236
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
227
237
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
228
238
  }, z.core.$strip>>>, z.ZodTransform<{
229
239
  published_at: string | null;
@@ -241,6 +251,7 @@ export declare const GetAccountReportsIdSchema: {
241
251
  date: string | null;
242
252
  duration: number | null;
243
253
  contact_information_url: string | null;
254
+ language: string | null;
244
255
  cover_image_id: string | null;
245
256
  } | null, {
246
257
  published_at: string | null;
@@ -258,6 +269,7 @@ export declare const GetAccountReportsIdSchema: {
258
269
  date: string | null;
259
270
  duration: number | null;
260
271
  contact_information_url: string | null;
272
+ language: string | null;
261
273
  cover_image_id: string | null;
262
274
  } | null | undefined>>;
263
275
  media: z.ZodObject<{
@@ -296,6 +308,7 @@ export declare const GetAccountReportsIdSchema: {
296
308
  date: string | null;
297
309
  duration: number | null;
298
310
  contact_information_url: string | null;
311
+ language: string | null;
299
312
  cover_image_id: string | null;
300
313
  } | null;
301
314
  published_content: {
@@ -314,6 +327,7 @@ export declare const GetAccountReportsIdSchema: {
314
327
  date: string | null;
315
328
  duration: number | null;
316
329
  contact_information_url: string | null;
330
+ language: string | null;
317
331
  cover_image_id: string | null;
318
332
  } | null;
319
333
  media: {
@@ -352,6 +366,7 @@ export declare const GetAccountReportsIdSchema: {
352
366
  date: string | null;
353
367
  duration: number | null;
354
368
  contact_information_url: string | null;
369
+ language: string | null;
355
370
  cover_image_id: string | null;
356
371
  } | null;
357
372
  published_content: {
@@ -370,6 +385,7 @@ export declare const GetAccountReportsIdSchema: {
370
385
  date: string | null;
371
386
  duration: number | null;
372
387
  contact_information_url: string | null;
388
+ language: string | null;
373
389
  cover_image_id: string | null;
374
390
  } | null;
375
391
  media: {
@@ -406,6 +422,7 @@ export declare const PostAccountReportsSchema: {
406
422
  location_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
407
423
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
408
424
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
425
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
409
426
  }, z.core.$strip>>>, z.ZodTransform<{
410
427
  date: string | null;
411
428
  published_at: string | null;
@@ -422,6 +439,7 @@ export declare const PostAccountReportsSchema: {
422
439
  location_details: string | null;
423
440
  duration: number | null;
424
441
  contact_information_url: string | null;
442
+ language: string | null;
425
443
  } | null, {
426
444
  date: string | null;
427
445
  published_at: string | null;
@@ -438,6 +456,7 @@ export declare const PostAccountReportsSchema: {
438
456
  location_details: string | null;
439
457
  duration: number | null;
440
458
  contact_information_url: string | null;
459
+ language: string | null;
441
460
  } | null | undefined>>;
442
461
  }, z.core.$strip>;
443
462
  response: z.ZodObject<{
@@ -470,6 +489,7 @@ export declare const PostAccountReportsSchema: {
470
489
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
471
490
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
472
491
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
492
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
473
493
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
474
494
  }, z.core.$strip>>>, z.ZodTransform<{
475
495
  published_at: string | null;
@@ -487,6 +507,7 @@ export declare const PostAccountReportsSchema: {
487
507
  date: string | null;
488
508
  duration: number | null;
489
509
  contact_information_url: string | null;
510
+ language: string | null;
490
511
  cover_image_id: string | null;
491
512
  } | null, {
492
513
  published_at: string | null;
@@ -504,6 +525,7 @@ export declare const PostAccountReportsSchema: {
504
525
  date: string | null;
505
526
  duration: number | null;
506
527
  contact_information_url: string | null;
528
+ language: string | null;
507
529
  cover_image_id: string | null;
508
530
  } | null | undefined>>;
509
531
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -522,6 +544,7 @@ export declare const PostAccountReportsSchema: {
522
544
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
523
545
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
524
546
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
547
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
525
548
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
526
549
  }, z.core.$strip>>>, z.ZodTransform<{
527
550
  published_at: string | null;
@@ -539,6 +562,7 @@ export declare const PostAccountReportsSchema: {
539
562
  date: string | null;
540
563
  duration: number | null;
541
564
  contact_information_url: string | null;
565
+ language: string | null;
542
566
  cover_image_id: string | null;
543
567
  } | null, {
544
568
  published_at: string | null;
@@ -556,6 +580,7 @@ export declare const PostAccountReportsSchema: {
556
580
  date: string | null;
557
581
  duration: number | null;
558
582
  contact_information_url: string | null;
583
+ language: string | null;
559
584
  cover_image_id: string | null;
560
585
  } | null | undefined>>;
561
586
  media: z.ZodObject<{
@@ -589,6 +614,7 @@ export declare const PutAccountReportsIdContentSchema: {
589
614
  location_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
590
615
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
591
616
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
617
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
592
618
  }, z.core.$strip>;
593
619
  response: z.ZodObject<{
594
620
  server_id: z.ZodUUID;
@@ -620,6 +646,7 @@ export declare const PutAccountReportsIdContentSchema: {
620
646
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
621
647
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
622
648
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
649
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
623
650
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
624
651
  }, z.core.$strip>>>, z.ZodTransform<{
625
652
  published_at: string | null;
@@ -637,6 +664,7 @@ export declare const PutAccountReportsIdContentSchema: {
637
664
  date: string | null;
638
665
  duration: number | null;
639
666
  contact_information_url: string | null;
667
+ language: string | null;
640
668
  cover_image_id: string | null;
641
669
  } | null, {
642
670
  published_at: string | null;
@@ -654,6 +682,7 @@ export declare const PutAccountReportsIdContentSchema: {
654
682
  date: string | null;
655
683
  duration: number | null;
656
684
  contact_information_url: string | null;
685
+ language: string | null;
657
686
  cover_image_id: string | null;
658
687
  } | null | undefined>>;
659
688
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -672,6 +701,7 @@ export declare const PutAccountReportsIdContentSchema: {
672
701
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
673
702
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
674
703
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
704
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
675
705
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
676
706
  }, z.core.$strip>>>, z.ZodTransform<{
677
707
  published_at: string | null;
@@ -689,6 +719,7 @@ export declare const PutAccountReportsIdContentSchema: {
689
719
  date: string | null;
690
720
  duration: number | null;
691
721
  contact_information_url: string | null;
722
+ language: string | null;
692
723
  cover_image_id: string | null;
693
724
  } | null, {
694
725
  published_at: string | null;
@@ -706,6 +737,7 @@ export declare const PutAccountReportsIdContentSchema: {
706
737
  date: string | null;
707
738
  duration: number | null;
708
739
  contact_information_url: string | null;
740
+ language: string | null;
709
741
  cover_image_id: string | null;
710
742
  } | null | undefined>>;
711
743
  media: z.ZodObject<{
@@ -755,6 +787,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
755
787
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
756
788
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
757
789
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
790
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
758
791
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
759
792
  }, z.core.$strip>>>, z.ZodTransform<{
760
793
  published_at: string | null;
@@ -772,6 +805,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
772
805
  date: string | null;
773
806
  duration: number | null;
774
807
  contact_information_url: string | null;
808
+ language: string | null;
775
809
  cover_image_id: string | null;
776
810
  } | null, {
777
811
  published_at: string | null;
@@ -789,6 +823,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
789
823
  date: string | null;
790
824
  duration: number | null;
791
825
  contact_information_url: string | null;
826
+ language: string | null;
792
827
  cover_image_id: string | null;
793
828
  } | null | undefined>>;
794
829
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -807,6 +842,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
807
842
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
808
843
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
809
844
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
845
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
810
846
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
811
847
  }, z.core.$strip>>>, z.ZodTransform<{
812
848
  published_at: string | null;
@@ -824,6 +860,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
824
860
  date: string | null;
825
861
  duration: number | null;
826
862
  contact_information_url: string | null;
863
+ language: string | null;
827
864
  cover_image_id: string | null;
828
865
  } | null, {
829
866
  published_at: string | null;
@@ -841,6 +878,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
841
878
  date: string | null;
842
879
  duration: number | null;
843
880
  contact_information_url: string | null;
881
+ language: string | null;
844
882
  cover_image_id: string | null;
845
883
  } | null | undefined>>;
846
884
  media: z.ZodObject<{
@@ -879,6 +917,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
879
917
  date: string | null;
880
918
  duration: number | null;
881
919
  contact_information_url: string | null;
920
+ language: string | null;
882
921
  cover_image_id: string | null;
883
922
  } | null;
884
923
  published_content: {
@@ -897,6 +936,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
897
936
  date: string | null;
898
937
  duration: number | null;
899
938
  contact_information_url: string | null;
939
+ language: string | null;
900
940
  cover_image_id: string | null;
901
941
  } | null;
902
942
  media: {
@@ -935,6 +975,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
935
975
  date: string | null;
936
976
  duration: number | null;
937
977
  contact_information_url: string | null;
978
+ language: string | null;
938
979
  cover_image_id: string | null;
939
980
  } | null;
940
981
  published_content: {
@@ -953,6 +994,7 @@ export declare const PatchAccountReportsIdDiscardSchema: {
953
994
  date: string | null;
954
995
  duration: number | null;
955
996
  contact_information_url: string | null;
997
+ language: string | null;
956
998
  cover_image_id: string | null;
957
999
  } | null;
958
1000
  media: {
@@ -1004,6 +1046,7 @@ export declare const PatchAccountReportsIdPublishSchema: {
1004
1046
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1005
1047
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1006
1048
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1049
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1007
1050
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1008
1051
  }, z.core.$strip>>>, z.ZodTransform<{
1009
1052
  published_at: string | null;
@@ -1021,6 +1064,7 @@ export declare const PatchAccountReportsIdPublishSchema: {
1021
1064
  date: string | null;
1022
1065
  duration: number | null;
1023
1066
  contact_information_url: string | null;
1067
+ language: string | null;
1024
1068
  cover_image_id: string | null;
1025
1069
  } | null, {
1026
1070
  published_at: string | null;
@@ -1038,6 +1082,7 @@ export declare const PatchAccountReportsIdPublishSchema: {
1038
1082
  date: string | null;
1039
1083
  duration: number | null;
1040
1084
  contact_information_url: string | null;
1085
+ language: string | null;
1041
1086
  cover_image_id: string | null;
1042
1087
  } | null | undefined>>;
1043
1088
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1056,6 +1101,7 @@ export declare const PatchAccountReportsIdPublishSchema: {
1056
1101
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1057
1102
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1058
1103
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1104
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1059
1105
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1060
1106
  }, z.core.$strip>>>, z.ZodTransform<{
1061
1107
  published_at: string | null;
@@ -1073,6 +1119,7 @@ export declare const PatchAccountReportsIdPublishSchema: {
1073
1119
  date: string | null;
1074
1120
  duration: number | null;
1075
1121
  contact_information_url: string | null;
1122
+ language: string | null;
1076
1123
  cover_image_id: string | null;
1077
1124
  } | null, {
1078
1125
  published_at: string | null;
@@ -1090,6 +1137,7 @@ export declare const PatchAccountReportsIdPublishSchema: {
1090
1137
  date: string | null;
1091
1138
  duration: number | null;
1092
1139
  contact_information_url: string | null;
1140
+ language: string | null;
1093
1141
  cover_image_id: string | null;
1094
1142
  } | null | undefined>>;
1095
1143
  media: z.ZodObject<{
@@ -1139,6 +1187,7 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1139
1187
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1140
1188
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1141
1189
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1190
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1142
1191
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1143
1192
  }, z.core.$strip>>>, z.ZodTransform<{
1144
1193
  published_at: string | null;
@@ -1156,6 +1205,7 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1156
1205
  date: string | null;
1157
1206
  duration: number | null;
1158
1207
  contact_information_url: string | null;
1208
+ language: string | null;
1159
1209
  cover_image_id: string | null;
1160
1210
  } | null, {
1161
1211
  published_at: string | null;
@@ -1173,6 +1223,7 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1173
1223
  date: string | null;
1174
1224
  duration: number | null;
1175
1225
  contact_information_url: string | null;
1226
+ language: string | null;
1176
1227
  cover_image_id: string | null;
1177
1228
  } | null | undefined>>;
1178
1229
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1191,6 +1242,7 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1191
1242
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1192
1243
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1193
1244
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1245
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1194
1246
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1195
1247
  }, z.core.$strip>>>, z.ZodTransform<{
1196
1248
  published_at: string | null;
@@ -1208,6 +1260,7 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1208
1260
  date: string | null;
1209
1261
  duration: number | null;
1210
1262
  contact_information_url: string | null;
1263
+ language: string | null;
1211
1264
  cover_image_id: string | null;
1212
1265
  } | null, {
1213
1266
  published_at: string | null;
@@ -1225,6 +1278,7 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1225
1278
  date: string | null;
1226
1279
  duration: number | null;
1227
1280
  contact_information_url: string | null;
1281
+ language: string | null;
1228
1282
  cover_image_id: string | null;
1229
1283
  } | null | undefined>>;
1230
1284
  media: z.ZodObject<{
@@ -1276,6 +1330,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1276
1330
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1277
1331
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1278
1332
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1333
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1279
1334
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1280
1335
  }, z.core.$strip>>>, z.ZodTransform<{
1281
1336
  published_at: string | null;
@@ -1293,6 +1348,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1293
1348
  date: string | null;
1294
1349
  duration: number | null;
1295
1350
  contact_information_url: string | null;
1351
+ language: string | null;
1296
1352
  cover_image_id: string | null;
1297
1353
  } | null, {
1298
1354
  published_at: string | null;
@@ -1310,6 +1366,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1310
1366
  date: string | null;
1311
1367
  duration: number | null;
1312
1368
  contact_information_url: string | null;
1369
+ language: string | null;
1313
1370
  cover_image_id: string | null;
1314
1371
  } | null | undefined>>;
1315
1372
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1328,6 +1385,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1328
1385
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1329
1386
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1330
1387
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1388
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1331
1389
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1332
1390
  }, z.core.$strip>>>, z.ZodTransform<{
1333
1391
  published_at: string | null;
@@ -1345,6 +1403,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1345
1403
  date: string | null;
1346
1404
  duration: number | null;
1347
1405
  contact_information_url: string | null;
1406
+ language: string | null;
1348
1407
  cover_image_id: string | null;
1349
1408
  } | null, {
1350
1409
  published_at: string | null;
@@ -1362,6 +1421,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1362
1421
  date: string | null;
1363
1422
  duration: number | null;
1364
1423
  contact_information_url: string | null;
1424
+ language: string | null;
1365
1425
  cover_image_id: string | null;
1366
1426
  } | null | undefined>>;
1367
1427
  media: z.ZodObject<{
@@ -1441,6 +1501,7 @@ export declare const GetReportsSchema: {
1441
1501
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1442
1502
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1443
1503
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1504
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1444
1505
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1445
1506
  }, z.core.$strip>>>, z.ZodTransform<{
1446
1507
  published_at: string | null;
@@ -1458,6 +1519,7 @@ export declare const GetReportsSchema: {
1458
1519
  date: string | null;
1459
1520
  duration: number | null;
1460
1521
  contact_information_url: string | null;
1522
+ language: string | null;
1461
1523
  cover_image_id: string | null;
1462
1524
  } | null, {
1463
1525
  published_at: string | null;
@@ -1475,6 +1537,7 @@ export declare const GetReportsSchema: {
1475
1537
  date: string | null;
1476
1538
  duration: number | null;
1477
1539
  contact_information_url: string | null;
1540
+ language: string | null;
1478
1541
  cover_image_id: string | null;
1479
1542
  } | null | undefined>>;
1480
1543
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1493,6 +1556,7 @@ export declare const GetReportsSchema: {
1493
1556
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1494
1557
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1495
1558
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1559
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1496
1560
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1497
1561
  }, z.core.$strip>>>, z.ZodTransform<{
1498
1562
  published_at: string | null;
@@ -1510,6 +1574,7 @@ export declare const GetReportsSchema: {
1510
1574
  date: string | null;
1511
1575
  duration: number | null;
1512
1576
  contact_information_url: string | null;
1577
+ language: string | null;
1513
1578
  cover_image_id: string | null;
1514
1579
  } | null, {
1515
1580
  published_at: string | null;
@@ -1527,6 +1592,7 @@ export declare const GetReportsSchema: {
1527
1592
  date: string | null;
1528
1593
  duration: number | null;
1529
1594
  contact_information_url: string | null;
1595
+ language: string | null;
1530
1596
  cover_image_id: string | null;
1531
1597
  } | null | undefined>>;
1532
1598
  media: z.ZodObject<{
@@ -1578,6 +1644,7 @@ export declare const GetReportsSlugSchema: {
1578
1644
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1579
1645
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1580
1646
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1647
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1581
1648
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1582
1649
  }, z.core.$strip>>>, z.ZodTransform<{
1583
1650
  published_at: string | null;
@@ -1595,6 +1662,7 @@ export declare const GetReportsSlugSchema: {
1595
1662
  date: string | null;
1596
1663
  duration: number | null;
1597
1664
  contact_information_url: string | null;
1665
+ language: string | null;
1598
1666
  cover_image_id: string | null;
1599
1667
  } | null, {
1600
1668
  published_at: string | null;
@@ -1612,6 +1680,7 @@ export declare const GetReportsSlugSchema: {
1612
1680
  date: string | null;
1613
1681
  duration: number | null;
1614
1682
  contact_information_url: string | null;
1683
+ language: string | null;
1615
1684
  cover_image_id: string | null;
1616
1685
  } | null | undefined>>;
1617
1686
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1630,6 +1699,7 @@ export declare const GetReportsSlugSchema: {
1630
1699
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1631
1700
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1632
1701
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1702
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1633
1703
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1634
1704
  }, z.core.$strip>>>, z.ZodTransform<{
1635
1705
  published_at: string | null;
@@ -1647,6 +1717,7 @@ export declare const GetReportsSlugSchema: {
1647
1717
  date: string | null;
1648
1718
  duration: number | null;
1649
1719
  contact_information_url: string | null;
1720
+ language: string | null;
1650
1721
  cover_image_id: string | null;
1651
1722
  } | null, {
1652
1723
  published_at: string | null;
@@ -1664,6 +1735,7 @@ export declare const GetReportsSlugSchema: {
1664
1735
  date: string | null;
1665
1736
  duration: number | null;
1666
1737
  contact_information_url: string | null;
1738
+ language: string | null;
1667
1739
  cover_image_id: string | null;
1668
1740
  } | null | undefined>>;
1669
1741
  media: z.ZodObject<{
@@ -1702,6 +1774,7 @@ export declare const GetReportsSlugSchema: {
1702
1774
  date: string | null;
1703
1775
  duration: number | null;
1704
1776
  contact_information_url: string | null;
1777
+ language: string | null;
1705
1778
  cover_image_id: string | null;
1706
1779
  } | null;
1707
1780
  published_content: {
@@ -1720,6 +1793,7 @@ export declare const GetReportsSlugSchema: {
1720
1793
  date: string | null;
1721
1794
  duration: number | null;
1722
1795
  contact_information_url: string | null;
1796
+ language: string | null;
1723
1797
  cover_image_id: string | null;
1724
1798
  } | null;
1725
1799
  media: {
@@ -1758,6 +1832,7 @@ export declare const GetReportsSlugSchema: {
1758
1832
  date: string | null;
1759
1833
  duration: number | null;
1760
1834
  contact_information_url: string | null;
1835
+ language: string | null;
1761
1836
  cover_image_id: string | null;
1762
1837
  } | null;
1763
1838
  published_content: {
@@ -1776,6 +1851,7 @@ export declare const GetReportsSlugSchema: {
1776
1851
  date: string | null;
1777
1852
  duration: number | null;
1778
1853
  contact_information_url: string | null;
1854
+ language: string | null;
1779
1855
  cover_image_id: string | null;
1780
1856
  } | null;
1781
1857
  media: {
@@ -1876,6 +1952,7 @@ export declare const GetAdminReportsSchema: {
1876
1952
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1877
1953
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1878
1954
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1955
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1879
1956
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1880
1957
  }, z.core.$strip>>>, z.ZodTransform<{
1881
1958
  published_at: string | null;
@@ -1893,6 +1970,7 @@ export declare const GetAdminReportsSchema: {
1893
1970
  date: string | null;
1894
1971
  duration: number | null;
1895
1972
  contact_information_url: string | null;
1973
+ language: string | null;
1896
1974
  cover_image_id: string | null;
1897
1975
  } | null, {
1898
1976
  published_at: string | null;
@@ -1910,6 +1988,7 @@ export declare const GetAdminReportsSchema: {
1910
1988
  date: string | null;
1911
1989
  duration: number | null;
1912
1990
  contact_information_url: string | null;
1991
+ language: string | null;
1913
1992
  cover_image_id: string | null;
1914
1993
  } | null | undefined>>;
1915
1994
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1928,6 +2007,7 @@ export declare const GetAdminReportsSchema: {
1928
2007
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1929
2008
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
1930
2009
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
2010
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1931
2011
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1932
2012
  }, z.core.$strip>>>, z.ZodTransform<{
1933
2013
  published_at: string | null;
@@ -1945,6 +2025,7 @@ export declare const GetAdminReportsSchema: {
1945
2025
  date: string | null;
1946
2026
  duration: number | null;
1947
2027
  contact_information_url: string | null;
2028
+ language: string | null;
1948
2029
  cover_image_id: string | null;
1949
2030
  } | null, {
1950
2031
  published_at: string | null;
@@ -1962,6 +2043,7 @@ export declare const GetAdminReportsSchema: {
1962
2043
  date: string | null;
1963
2044
  duration: number | null;
1964
2045
  contact_information_url: string | null;
2046
+ language: string | null;
1965
2047
  cover_image_id: string | null;
1966
2048
  } | null | undefined>>;
1967
2049
  media: z.ZodObject<{
@@ -34,6 +34,7 @@ export declare const ReportContentSchema: z.ZodObject<{
34
34
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
35
35
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
36
36
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
37
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
37
38
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
38
39
  }, z.core.$strip>;
39
40
  export declare const ReportSchema: z.ZodObject<{
@@ -66,6 +67,7 @@ export declare const ReportSchema: z.ZodObject<{
66
67
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
67
68
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
68
69
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
70
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
69
71
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
70
72
  }, z.core.$strip>>>, z.ZodTransform<{
71
73
  published_at: string | null;
@@ -83,6 +85,7 @@ export declare const ReportSchema: z.ZodObject<{
83
85
  date: string | null;
84
86
  duration: number | null;
85
87
  contact_information_url: string | null;
88
+ language: string | null;
86
89
  cover_image_id: string | null;
87
90
  } | null, {
88
91
  published_at: string | null;
@@ -100,6 +103,7 @@ export declare const ReportSchema: z.ZodObject<{
100
103
  date: string | null;
101
104
  duration: number | null;
102
105
  contact_information_url: string | null;
106
+ language: string | null;
103
107
  cover_image_id: string | null;
104
108
  } | null | undefined>>;
105
109
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -118,6 +122,7 @@ export declare const ReportSchema: z.ZodObject<{
118
122
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
119
123
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
120
124
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
125
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
121
126
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
122
127
  }, z.core.$strip>>>, z.ZodTransform<{
123
128
  published_at: string | null;
@@ -135,6 +140,7 @@ export declare const ReportSchema: z.ZodObject<{
135
140
  date: string | null;
136
141
  duration: number | null;
137
142
  contact_information_url: string | null;
143
+ language: string | null;
138
144
  cover_image_id: string | null;
139
145
  } | null, {
140
146
  published_at: string | null;
@@ -152,6 +158,7 @@ export declare const ReportSchema: z.ZodObject<{
152
158
  date: string | null;
153
159
  duration: number | null;
154
160
  contact_information_url: string | null;
161
+ language: string | null;
155
162
  cover_image_id: string | null;
156
163
  } | null | undefined>>;
157
164
  media: z.ZodObject<{
@@ -196,6 +203,7 @@ export declare const AdminReportSchema: z.ZodObject<{
196
203
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
197
204
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
198
205
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
206
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
199
207
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
200
208
  }, z.core.$strip>>>, z.ZodTransform<{
201
209
  published_at: string | null;
@@ -213,6 +221,7 @@ export declare const AdminReportSchema: z.ZodObject<{
213
221
  date: string | null;
214
222
  duration: number | null;
215
223
  contact_information_url: string | null;
224
+ language: string | null;
216
225
  cover_image_id: string | null;
217
226
  } | null, {
218
227
  published_at: string | null;
@@ -230,6 +239,7 @@ export declare const AdminReportSchema: z.ZodObject<{
230
239
  date: string | null;
231
240
  duration: number | null;
232
241
  contact_information_url: string | null;
242
+ language: string | null;
233
243
  cover_image_id: string | null;
234
244
  } | null | undefined>>;
235
245
  published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -248,6 +258,7 @@ export declare const AdminReportSchema: z.ZodObject<{
248
258
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
249
259
  duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
250
260
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
261
+ language: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
251
262
  cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
252
263
  }, z.core.$strip>>>, z.ZodTransform<{
253
264
  published_at: string | null;
@@ -265,6 +276,7 @@ export declare const AdminReportSchema: z.ZodObject<{
265
276
  date: string | null;
266
277
  duration: number | null;
267
278
  contact_information_url: string | null;
279
+ language: string | null;
268
280
  cover_image_id: string | null;
269
281
  } | null, {
270
282
  published_at: string | null;
@@ -282,6 +294,7 @@ export declare const AdminReportSchema: z.ZodObject<{
282
294
  date: string | null;
283
295
  duration: number | null;
284
296
  contact_information_url: string | null;
297
+ language: string | null;
285
298
  cover_image_id: string | null;
286
299
  } | null | undefined>>;
287
300
  media: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assemblis/contracts",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -56,6 +56,7 @@ export const ReportContentSchema = z.object({
56
56
  date: maybe(z.string()),
57
57
  duration: maybe(z.int()),
58
58
  contact_information_url: maybe(z.string()),
59
+ language: maybe(z.string().regex(/^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/)),
59
60
  cover_image_id: maybe(z.string())
60
61
  });
61
62