@assemblis/contracts 0.2.5 → 1.0.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,a,n,r,o;!function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH"}(t||(t={})),function(e){e.ID=":ID",e.NAME=":NAME"}(a||(a={})),function(e){e.ACCOUNT_REPORTS="/account/reports",e.ASSEMBLIES="/assemblies",e.FEEDBACK="/feedback",e.INTEREST="/interest",e.INTEREST_ASSEMBLIS="/interest/assemblis",e.LOGS="/logs",e.PINS="/pins",e.REPORTS="/reports",e.SURVEYS="/surveys",e.SURVEY_RESPONSES="/assemblies/:ID/survey-responses/:NAME"}(n||(n={})),function(e){e.DISCARDED="DISCARDED",e.DRAFTED="DRAFT",e.PUBLISHED="PUBLISHED",e.CHANGED="CHANGED"}(r||(r={})),function(e){e.DELIBERATION="deliberation",e.DEMOGRAPHIC_DATA="demographic-data",e.PRE_ASSEMBLY="pre-assembly",e.POST_ASSEMBLY="post-assembly"}(o||(o={}));const i=e.coerce.date().transform(e=>e.toISOString()),s=e=>e.nullish().transform(e=>e??null),d=e.object({id:e.uuid(),created_at:i,updated_at:i,alt:e.string(),srcset:e.string(),width:e.int(),height:e.int()}),c=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)}),p=e.object({label:e.string(),value:e.coerce.number().int()}),l=e.object({published_at:s(i),title:s(e.string()),description:s(e.string()),location:s(e.string()),outputs:s(e.string().array()),initiation_type:s(e.string()),recruitment_method:s(e.string()),recruitment_description:s(e.string()),participant_count:s(e.int()),organiser_reflections:s(e.string()),organiser_report_url:s(e.string()),location_details:s(e.string()),date:s(e.string()),duration:s(e.int()),contact_information_url:s(e.string()),cover_image_id:s(e.string())}),u=e.object({id:e.uuid(),created_at:i,updated_at:i,published_at:s(i),state:e.enum(["DISCARDED","DRAFTED","PUBLISHED","CHANGED"]),viewer_password:e.string(),draft_content:s(l),published_content:s(l),media:e.object({images:d.array()})});e.object({id:e.uuid(),created_at:i,updated_at:i,sub:e.string(),is_mutirao:e.boolean()});const _={endpoint:()=>n.ACCOUNT_REPORTS,method:t.GET,payload:e.never(),response:e.object({reports:u.array(),total:e.int()})},b={endpoint:e=>`${n.ACCOUNT_REPORTS}/${e}`,method:t.GET,payload:e.never(),response:s(u)},g={endpoint:()=>n.ACCOUNT_REPORTS,method:t.POST,payload:e.object({client_id:e.uuid(),content:s(l.omit({cover_image_id:!0}))}),response:u},m={endpoint:e=>`${n.ACCOUNT_REPORTS}/${e}/content`,method:t.PUT,payload:l.omit({published_at:!0,cover_image_id:!0}),response:u},y={endpoint:e=>`${n.ACCOUNT_REPORTS}/${e}/discard`,method:t.PATCH,payload:e.nullish(e.object()),response:s(u)},S={endpoint:e=>`${n.ACCOUNT_REPORTS}/${e}/publish`,method:t.PATCH,payload:e.object({published_at:i}),response:u},E={endpoint:e=>`${n.ACCOUNT_REPORTS}/${e}/unpublish`,method:t.PATCH,payload:e.nullish(e.object()),response:u},T={endpoint:e=>`${n.ACCOUNT_REPORTS}/${e}/cover-image`,method:t.POST,payload:d.pick({alt:!0}),response:u},f={endpoint:()=>n.INTEREST,method:t.POST,payload:c,response:e.string()},j={endpoint:()=>n.REPORTS,method:t.GET,payload:e.never(),response:e.object({reports:u.array()})},O={endpoint:e=>`${n.REPORTS}/${e}`,method:t.GET,payload:e.never(),response:s(u)},R={payload:e.object({route:e.string(),text:e.string(),metadata:e.unknown()}),response:e.string()},h={payload: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()})}),response:e.string()},A={payload: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()})}),response:e.string()},v=e.object({id:e.uuid(),text:e.string()}),P={payload:e.undefined(),response:e.object({id:e.uuid(),created_at:i,updated_at:i,name:e.string(),sections:e.object({primary:v,secondary:v.array(),options:p.array()}).array()})},C={payload:e.object({answers:e.object({question_id:e.uuid(),answer_value:e.coerce.number().int()}).array()}),response:e.object({total:e.number().int()})},I=e.object({visible_on_profile:e.boolean(),description:s(e.string())}),x=e.object({text:e.string(),agreed:s(e.coerce.number().int()),against:s(e.coerce.number().int()),abstained:s(e.coerce.number().int()),include_in_action_plan:e.boolean().default(!0),assembly_id:e.uuid()}),D=e.object({text:e.string(),complete:e.boolean().default(!1),action_id:e.uuid(),assembly_id:e.uuid()}),N=e.object({published_at:s(i),name:e.string(),about:s(e.string()),topics:e.string().array(),country:s(e.string()),hide:e.boolean().default(!1)}),U={payload:N,response:N.extend({id:e.uuid(),created_at:i,updated_at:i,image_src:s(e.string()),has_image:e.boolean().meta({deprecated:!0}),user_id:e.uuid().meta({deprecated:!0})})},$={payload:e.undefined(),response:e.object({assemblies:U.response.array()})},k=e.object({visible_on_profile:e.boolean(),name:s(e.string()),description:s(e.string()),type:s(e.string())}),w=e.object({visible_on_profile:e.boolean(),registration_link:s(e.string()),start_date:s(i)}),H=e.object({visible_on_profile:e.boolean(),background:s(e.string())}),G=e.object({visible_on_profile:e.boolean(),organisation_types:e.string().array(),description:s(e.string())}),L=e.object({visible_on_profile:e.boolean(),organisation_types:e.string().array(),description:s(e.string())}),B=e.object({visible_on_profile:e.boolean(),decision_method:s(e.string())}),M=e.object({visible_on_profile:e.boolean(),recruitment_method:s(e.string()),community:s(e.string())}),F=e.object({visible_on_profile:e.boolean(),support_options:e.string().array()}),Y=e.object({visible_on_profile:e.boolean()}),V={payload:U.payload.extend({organisation:s(k.extend({id:e.uuid().optional()})),event_details:s(w),story:s(H),supporters:s(G),funders:s(L),facilitation:s(B),participants:s(M),support:s(F),action_plan:s(I.extend({actions:x.omit({assembly_id:!0}).extend({id:e.uuid().optional(),tasks:D.omit({action_id:!0,assembly_id:!0}).extend({id:e.uuid().optional()}).array(),updates:e.unknown().array()}).array(),updates:e.unknown().array()})),surveys:s(Y)}),response:U.response.omit({user_id:!0}).extend({is_own:e.boolean(),organisation:s(k.extend({id:e.uuid(),created_at:i,updated_at:i})),event_details:s(w.extend({created_at:i,updated_at:i})),story:s(H.extend({created_at:i,updated_at:i})),supporters:s(G.extend({created_at:i,updated_at:i})),funders:s(L.extend({created_at:i,updated_at:i})),facilitation:s(B.extend({created_at:i,updated_at:i})),participants:s(M.extend({created_at:i,updated_at:i})),support:s(F.extend({created_at:i,updated_at:i})),action_plan:s(I.extend({actions:x.omit({assembly_id:!0}).extend({id:e.uuid(),created_at:i,updated_at:e.coerce.date().transform(e=>e.toISOString()),tasks:D.omit({action_id:!0,assembly_id:!0}).extend({id:e.uuid(),created_at:e.coerce.date().transform(e=>e.toISOString()),updated_at:e.coerce.date().transform(e=>e.toISOString())}).array(),updates:e.unknown().array()}).extend({created_at:e.coerce.date().transform(e=>e.toISOString()),updated_at:e.coerce.date().transform(e=>e.toISOString())}).array(),updates:e.unknown().array()}).and(e.object({created_at:e.coerce.date().transform(e=>e.toISOString()),updated_at:e.coerce.date().transform(e=>e.toISOString())}))),surveys:s(Y.extend({created_at:e.coerce.date().transform(e=>e.toISOString()),updated_at:e.coerce.date().transform(e=>e.toISOString())}).extend({data:e.record(e.string(),e.object({total:e.number().int(),responses:e.record(e.string(),p.array())}))}))})},q={payload:e.object({country:e.string(),email:e.string(),text:s(e.string())}),response: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:s(e.string()),hide:e.boolean(),image_src:s(e.string()),has_image:e.boolean().meta({deprecated:!0})})},z={payload:e.undefined(),response:e.object({assemblies:U.response.array(),pins:q.response.array()})};export{n as ApiEndpoint,t as ApiRestMethod,a as ApiRouteParameter,$ as AssembliesListSchema,V as AssemblyDetailSchema,U as AssemblyOverviewSchema,R as FeedbackSchema,b as GetAccountReportsIdSchema,_ as GetAccountReportsSchema,O as GetReportsIdSchema,j as GetReportsSchema,h as LogSchema,y as PatchAccountReportsIdDiscardSchema,S as PatchAccountReportsIdPublishSchema,E as PatchAccountReportsIdUnpublishSchema,z as PinListSchema,q as PinSchema,T as PostAccountReportsIdCoverImageSchema,g as PostAccountReportsSchema,f as PostInterestSchema,m as PutAccountReportsIdContentSchema,A as RegisterSchema,r as ReportState,o as SurveyName,C as SurveyResponseSchema,P as SurveySchema};
1
+ import t from"zod";var e,n,i;!function(t){t.ACCOUNT="/account",t.ACCOUNT_REPORTS="/account/reports",t.INTEREST="/interest",t.LOGS="/logs",t.PING="/ping",t.PINS="/pins",t.REGISTER="/register",t.REPORTS="/reports"}(e||(e={})),function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.PATCH="PATCH"}(n||(n={})),function(t){t.DISCARDED="DISCARDED",t.DRAFTED="DRAFT",t.PUBLISHED="PUBLISHED",t.CHANGED="CHANGED"}(i||(i={}));const o=t.coerce.date().transform(t=>t.toISOString()),r=t=>t.nullish().transform(t=>t??null);function a(t,e){return Object.keys(e).reduce((t,n)=>t.replace(`:${n}`,e[n]),t)}const s=t.object({id:t.uuid(),created_at:o,updated_at:o,alt:t.string(),srcset:t.string(),width:t.int(),height:t.int()}),d=t.object({recaptcha_token:t.string(),email:t.email().toLowerCase().trim(),listIds:t.int().array(),firstname:t.string().nullish().transform(t=>t??void 0),lastname:t.string().nullish().transform(t=>t??void 0),country:t.string().nullish().transform(t=>t??void 0),organisation:t.string().nullish().transform(t=>t??void 0)}),p=t.object({published_at:r(o),title:r(t.string()),description:r(t.string()),location:r(t.string()),outputs:r(t.string().array()),initiation_type:r(t.string()),recruitment_method:r(t.string()),recruitment_description:r(t.string()),participant_count:r(t.int()),organiser_reflections:r(t.string()),organiser_report_url:r(t.string()),location_details:r(t.string()),date:r(t.string()),duration:r(t.int()),contact_information_url:r(t.string()),cover_image_id:r(t.string())}),c=t.object({server_id:t.uuid(),client_id:t.uuid(),display_seq:t.int(),created_at:o,updated_at:o,published_at:r(o),state:t.enum(["DISCARDED","DRAFTED","PUBLISHED","CHANGED"]),slug:r(t.string()),draft_content:r(p),published_content:r(p),media:t.object({images:s.array()})});t.object({id:t.uuid(),created_at:o,updated_at:o,sub:t.string(),is_mutirao:t.boolean()});const l=t.object({id:t.uuid(),created_at:o,updated_at:o,image_src:r(t.string()),has_image:t.boolean().meta({deprecated:!0}),user_id:t.uuid().meta({deprecated:!0}),published_at:r(o),name:t.string(),about:r(t.string()),topics:t.string().array(),country:r(t.string()),hide:t.boolean().default(!1)}),u=t.object({id:t.uuid(),created_at:t.coerce.date().transform(t=>t.toISOString()),updated_at:t.coerce.date().transform(t=>t.toISOString()),country:t.string(),text:r(t.string()),hide:t.boolean(),image_src:r(t.string()),has_image:t.boolean().meta({deprecated:!0})}),g=t.object({message:t.string().optional(),data:t.record(t.string(),t.string().optional()).optional(),metadata:t.object({origin:t.string(),route:t.string(),status:t.number()})}),m=t.object({type:t.literal("user.created"),object:t.literal("event"),data:t.object({id:t.string(),email_addresses:t.object({email_address:t.string()}).array()})}),_={endpoint:e.ACCOUNT_REPORTS,method:n.GET,payload:t.never(),response:t.object({reports:c.array(),total:t.int()})},T={endpoint:`${e.ACCOUNT_REPORTS}/:client_id`,method:n.GET,payload:t.never(),response:r(c)},S={endpoint:e.ACCOUNT_REPORTS,method:n.POST,payload:t.object({client_id:t.uuid(),content:r(p.omit({cover_image_id:!0}))}),response:c},h={endpoint:`${e.ACCOUNT_REPORTS}/:client_id/content`,method:n.PUT,payload:p.omit({published_at:!0,cover_image_id:!0}),response:c},b={endpoint:`${e.ACCOUNT_REPORTS}/:client_id/discard`,method:n.PATCH,payload:t.nullish(t.object()),response:r(c)},E={endpoint:`${e.ACCOUNT_REPORTS}/:client_id/publish`,method:n.PATCH,payload:t.object({published_at:o}),response:c},P={endpoint:`${e.ACCOUNT_REPORTS}/:client_id/unpublish`,method:n.PATCH,payload:t.nullish(t.object()),response:c},O={endpoint:`${e.ACCOUNT_REPORTS}/:client_id/cover-image`,method:n.POST,payload:s.pick({alt:!0}),response:c},R={endpoint:e.INTEREST,method:n.POST,payload:d,response:t.string()},y={endpoint:`${e.INTEREST}/assemblis`,method:n.POST,payload:d.omit({listIds:!0}),response:t.string()},C={endpoint:e.REPORTS,method:n.GET,payload:t.never(),response:t.object({reports:c.array(),total:t.int()})},A={endpoint:`${e.REPORTS}/:slug`,method:n.GET,payload:t.never(),response:r(c)},j={endpoint:e.PINS,method:n.GET,payload:t.never(),response:t.object({assemblies:l.array(),pins:u.array()})},I={endpoint:e.PINS,method:n.POST,payload:t.object({country:t.string(),email:t.string(),text:r(t.string())}),response:u},N={endpoint:`${e.PINS}/:id/hide`,method:n.PATCH,payload:t.never(),response:u},D={endpoint:e.PING,method:n.GET,payload:t.never(),response:t.never()},f={endpoint:`${e.LOGS}/info`,method:n.POST,payload:g,response:t.string()},v={endpoint:`${e.LOGS}/error`,method:n.POST,payload:g,response:t.string()},G={endpoint:e.REGISTER,method:n.POST,payload:m,response:t.string()};export{e as ApiEndpoint,n as ApiRestMethod,T as GetAccountReportsIdSchema,_ as GetAccountReportsSchema,D as GetPingSchema,j as GetPinsSchema,C as GetReportsSchema,A as GetReportsSlugSchema,b as PatchAccountReportsIdDiscardSchema,E as PatchAccountReportsIdPublishSchema,P as PatchAccountReportsIdUnpublishSchema,N as PatchPinHideSchema,O as PostAccountReportsIdCoverImageSchema,S as PostAccountReportsSchema,y as PostInterestAssemblisSchema,R as PostInterestSchema,v as PostLogsErrorSchema,f as PostLogsInfoSchema,I as PostPinSchema,G as PostRegisterSchema,h as PutAccountReportsIdContentSchema,i as ReportState,a as resolvePath};
@@ -1,23 +1,24 @@
1
1
  import z from 'zod';
2
2
  import { ApiEndpoint, ApiRestMethod } from '../types';
3
- type AccountEndpoint = `/account/${string}`;
4
3
  export declare const GetAccountReportsSchema: {
5
- endpoint: () => AccountEndpoint;
4
+ endpoint: ApiEndpoint.ACCOUNT_REPORTS;
6
5
  method: ApiRestMethod;
7
6
  payload: z.ZodNever;
8
7
  response: z.ZodObject<{
9
8
  reports: z.ZodArray<z.ZodObject<{
10
- id: z.ZodUUID;
9
+ server_id: z.ZodUUID;
10
+ client_id: z.ZodUUID;
11
+ display_seq: z.ZodInt;
11
12
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
12
13
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
13
14
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
14
15
  state: z.ZodEnum<{
15
16
  DISCARDED: "DISCARDED";
16
- DRAFTED: "DRAFTED";
17
17
  PUBLISHED: "PUBLISHED";
18
18
  CHANGED: "CHANGED";
19
+ DRAFTED: "DRAFTED";
19
20
  }>;
20
- viewer_password: z.ZodString;
21
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
21
22
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
23
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
23
24
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -138,21 +139,23 @@ export declare const GetAccountReportsSchema: {
138
139
  }, z.core.$strip>;
139
140
  };
140
141
  export declare const GetAccountReportsIdSchema: {
141
- endpoint: (reportId: string) => AccountEndpoint;
142
+ endpoint: "/account/reports/:client_id";
142
143
  method: ApiRestMethod;
143
144
  payload: z.ZodNever;
144
145
  response: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
145
- id: z.ZodUUID;
146
+ server_id: z.ZodUUID;
147
+ client_id: z.ZodUUID;
148
+ display_seq: z.ZodInt;
146
149
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
147
150
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
148
151
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
149
152
  state: z.ZodEnum<{
150
153
  DISCARDED: "DISCARDED";
151
- DRAFTED: "DRAFTED";
152
154
  PUBLISHED: "PUBLISHED";
153
155
  CHANGED: "CHANGED";
156
+ DRAFTED: "DRAFTED";
154
157
  }>;
155
- viewer_password: z.ZodString;
158
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
156
159
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
157
160
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
158
161
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -269,12 +272,14 @@ export declare const GetAccountReportsIdSchema: {
269
272
  }, z.core.$strip>>;
270
273
  }, z.core.$strip>;
271
274
  }, z.core.$strip>>>, z.ZodTransform<{
272
- id: string;
275
+ server_id: string;
276
+ client_id: string;
277
+ display_seq: number;
273
278
  created_at: string;
274
279
  updated_at: string;
275
280
  published_at: string | null;
276
- state: "DISCARDED" | "DRAFTED" | "PUBLISHED" | "CHANGED";
277
- viewer_password: string;
281
+ state: "DISCARDED" | "PUBLISHED" | "CHANGED" | "DRAFTED";
282
+ slug: string | null;
278
283
  draft_content: {
279
284
  published_at: string | null;
280
285
  title: string | null;
@@ -323,12 +328,14 @@ export declare const GetAccountReportsIdSchema: {
323
328
  }[];
324
329
  };
325
330
  } | null, {
326
- id: string;
331
+ server_id: string;
332
+ client_id: string;
333
+ display_seq: number;
327
334
  created_at: string;
328
335
  updated_at: string;
329
336
  published_at: string | null;
330
- state: "DISCARDED" | "DRAFTED" | "PUBLISHED" | "CHANGED";
331
- viewer_password: string;
337
+ state: "DISCARDED" | "PUBLISHED" | "CHANGED" | "DRAFTED";
338
+ slug: string | null;
332
339
  draft_content: {
333
340
  published_at: string | null;
334
341
  title: string | null;
@@ -379,7 +386,7 @@ export declare const GetAccountReportsIdSchema: {
379
386
  } | null | undefined>>;
380
387
  };
381
388
  export declare const PostAccountReportsSchema: {
382
- endpoint: () => AccountEndpoint;
389
+ endpoint: ApiEndpoint.ACCOUNT_REPORTS;
383
390
  method: ApiRestMethod;
384
391
  payload: z.ZodObject<{
385
392
  client_id: z.ZodUUID;
@@ -434,17 +441,19 @@ export declare const PostAccountReportsSchema: {
434
441
  } | null | undefined>>;
435
442
  }, z.core.$strip>;
436
443
  response: z.ZodObject<{
437
- id: z.ZodUUID;
444
+ server_id: z.ZodUUID;
445
+ client_id: z.ZodUUID;
446
+ display_seq: z.ZodInt;
438
447
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
439
448
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
440
449
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
441
450
  state: z.ZodEnum<{
442
451
  DISCARDED: "DISCARDED";
443
- DRAFTED: "DRAFTED";
444
452
  PUBLISHED: "PUBLISHED";
445
453
  CHANGED: "CHANGED";
454
+ DRAFTED: "DRAFTED";
446
455
  }>;
447
- viewer_password: z.ZodString;
456
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
448
457
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
449
458
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
450
459
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -563,7 +572,7 @@ export declare const PostAccountReportsSchema: {
563
572
  }, z.core.$strip>;
564
573
  };
565
574
  export declare const PutAccountReportsIdContentSchema: {
566
- endpoint: (clientId: string) => AccountEndpoint;
575
+ endpoint: "/account/reports/:client_id/content";
567
576
  method: ApiRestMethod;
568
577
  payload: z.ZodObject<{
569
578
  date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -582,17 +591,19 @@ export declare const PutAccountReportsIdContentSchema: {
582
591
  contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
583
592
  }, z.core.$strip>;
584
593
  response: z.ZodObject<{
585
- id: z.ZodUUID;
594
+ server_id: z.ZodUUID;
595
+ client_id: z.ZodUUID;
596
+ display_seq: z.ZodInt;
586
597
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
587
598
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
588
599
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
589
600
  state: z.ZodEnum<{
590
601
  DISCARDED: "DISCARDED";
591
- DRAFTED: "DRAFTED";
592
602
  PUBLISHED: "PUBLISHED";
593
603
  CHANGED: "CHANGED";
604
+ DRAFTED: "DRAFTED";
594
605
  }>;
595
- viewer_password: z.ZodString;
606
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
596
607
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
597
608
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
598
609
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -711,21 +722,23 @@ export declare const PutAccountReportsIdContentSchema: {
711
722
  }, z.core.$strip>;
712
723
  };
713
724
  export declare const PatchAccountReportsIdDiscardSchema: {
714
- endpoint: (clientId: string) => AccountEndpoint;
725
+ endpoint: "/account/reports/:client_id/discard";
715
726
  method: ApiRestMethod;
716
727
  payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
717
728
  response: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
718
- id: z.ZodUUID;
729
+ server_id: z.ZodUUID;
730
+ client_id: z.ZodUUID;
731
+ display_seq: z.ZodInt;
719
732
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
720
733
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
721
734
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
722
735
  state: z.ZodEnum<{
723
736
  DISCARDED: "DISCARDED";
724
- DRAFTED: "DRAFTED";
725
737
  PUBLISHED: "PUBLISHED";
726
738
  CHANGED: "CHANGED";
739
+ DRAFTED: "DRAFTED";
727
740
  }>;
728
- viewer_password: z.ZodString;
741
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
729
742
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
730
743
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
731
744
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -842,12 +855,14 @@ export declare const PatchAccountReportsIdDiscardSchema: {
842
855
  }, z.core.$strip>>;
843
856
  }, z.core.$strip>;
844
857
  }, z.core.$strip>>>, z.ZodTransform<{
845
- id: string;
858
+ server_id: string;
859
+ client_id: string;
860
+ display_seq: number;
846
861
  created_at: string;
847
862
  updated_at: string;
848
863
  published_at: string | null;
849
- state: "DISCARDED" | "DRAFTED" | "PUBLISHED" | "CHANGED";
850
- viewer_password: string;
864
+ state: "DISCARDED" | "PUBLISHED" | "CHANGED" | "DRAFTED";
865
+ slug: string | null;
851
866
  draft_content: {
852
867
  published_at: string | null;
853
868
  title: string | null;
@@ -896,12 +911,14 @@ export declare const PatchAccountReportsIdDiscardSchema: {
896
911
  }[];
897
912
  };
898
913
  } | null, {
899
- id: string;
914
+ server_id: string;
915
+ client_id: string;
916
+ display_seq: number;
900
917
  created_at: string;
901
918
  updated_at: string;
902
919
  published_at: string | null;
903
- state: "DISCARDED" | "DRAFTED" | "PUBLISHED" | "CHANGED";
904
- viewer_password: string;
920
+ state: "DISCARDED" | "PUBLISHED" | "CHANGED" | "DRAFTED";
921
+ slug: string | null;
905
922
  draft_content: {
906
923
  published_at: string | null;
907
924
  title: string | null;
@@ -952,23 +969,25 @@ export declare const PatchAccountReportsIdDiscardSchema: {
952
969
  } | null | undefined>>;
953
970
  };
954
971
  export declare const PatchAccountReportsIdPublishSchema: {
955
- endpoint: (clientId: string) => AccountEndpoint;
972
+ endpoint: "/account/reports/:client_id/publish";
956
973
  method: ApiRestMethod;
957
974
  payload: z.ZodObject<{
958
975
  published_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
959
976
  }, z.core.$strip>;
960
977
  response: z.ZodObject<{
961
- id: z.ZodUUID;
978
+ server_id: z.ZodUUID;
979
+ client_id: z.ZodUUID;
980
+ display_seq: z.ZodInt;
962
981
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
963
982
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
964
983
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
965
984
  state: z.ZodEnum<{
966
985
  DISCARDED: "DISCARDED";
967
- DRAFTED: "DRAFTED";
968
986
  PUBLISHED: "PUBLISHED";
969
987
  CHANGED: "CHANGED";
988
+ DRAFTED: "DRAFTED";
970
989
  }>;
971
- viewer_password: z.ZodString;
990
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
972
991
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
973
992
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
974
993
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -1087,21 +1106,23 @@ export declare const PatchAccountReportsIdPublishSchema: {
1087
1106
  }, z.core.$strip>;
1088
1107
  };
1089
1108
  export declare const PatchAccountReportsIdUnpublishSchema: {
1090
- endpoint: (clientId: string) => AccountEndpoint;
1109
+ endpoint: "/account/reports/:client_id/unpublish";
1091
1110
  method: ApiRestMethod;
1092
1111
  payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
1093
1112
  response: z.ZodObject<{
1094
- id: z.ZodUUID;
1113
+ server_id: z.ZodUUID;
1114
+ client_id: z.ZodUUID;
1115
+ display_seq: z.ZodInt;
1095
1116
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1096
1117
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1097
1118
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1098
1119
  state: z.ZodEnum<{
1099
1120
  DISCARDED: "DISCARDED";
1100
- DRAFTED: "DRAFTED";
1101
1121
  PUBLISHED: "PUBLISHED";
1102
1122
  CHANGED: "CHANGED";
1123
+ DRAFTED: "DRAFTED";
1103
1124
  }>;
1104
- viewer_password: z.ZodString;
1125
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1105
1126
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1106
1127
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1107
1128
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -1220,23 +1241,25 @@ export declare const PatchAccountReportsIdUnpublishSchema: {
1220
1241
  }, z.core.$strip>;
1221
1242
  };
1222
1243
  export declare const PostAccountReportsIdCoverImageSchema: {
1223
- endpoint: (clientId: string) => AccountEndpoint;
1244
+ endpoint: "/account/reports/:client_id/cover-image";
1224
1245
  method: ApiRestMethod;
1225
1246
  payload: z.ZodObject<{
1226
1247
  alt: z.ZodString;
1227
1248
  }, z.core.$strip>;
1228
1249
  response: z.ZodObject<{
1229
- id: z.ZodUUID;
1250
+ server_id: z.ZodUUID;
1251
+ client_id: z.ZodUUID;
1252
+ display_seq: z.ZodInt;
1230
1253
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1231
1254
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1232
1255
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1233
1256
  state: z.ZodEnum<{
1234
1257
  DISCARDED: "DISCARDED";
1235
- DRAFTED: "DRAFTED";
1236
1258
  PUBLISHED: "PUBLISHED";
1237
1259
  CHANGED: "CHANGED";
1260
+ DRAFTED: "DRAFTED";
1238
1261
  }>;
1239
- viewer_password: z.ZodString;
1262
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1240
1263
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1241
1264
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1242
1265
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -1355,7 +1378,7 @@ export declare const PostAccountReportsIdCoverImageSchema: {
1355
1378
  }, z.core.$strip>;
1356
1379
  };
1357
1380
  export declare const PostInterestSchema: {
1358
- endpoint: () => ApiEndpoint;
1381
+ endpoint: ApiEndpoint.INTEREST;
1359
1382
  method: ApiRestMethod;
1360
1383
  payload: z.ZodObject<{
1361
1384
  recaptcha_token: z.ZodString;
@@ -1368,23 +1391,38 @@ export declare const PostInterestSchema: {
1368
1391
  }, z.core.$strip>;
1369
1392
  response: z.ZodString;
1370
1393
  };
1394
+ export declare const PostInterestAssemblisSchema: {
1395
+ endpoint: "/interest/assemblis";
1396
+ method: ApiRestMethod;
1397
+ payload: z.ZodObject<{
1398
+ recaptcha_token: z.ZodString;
1399
+ email: z.ZodEmail;
1400
+ firstname: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1401
+ lastname: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1402
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1403
+ organisation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1404
+ }, z.core.$strip>;
1405
+ response: z.ZodString;
1406
+ };
1371
1407
  export declare const GetReportsSchema: {
1372
- endpoint: () => ApiEndpoint;
1408
+ endpoint: ApiEndpoint.REPORTS;
1373
1409
  method: ApiRestMethod;
1374
1410
  payload: z.ZodNever;
1375
1411
  response: z.ZodObject<{
1376
1412
  reports: z.ZodArray<z.ZodObject<{
1377
- id: z.ZodUUID;
1413
+ server_id: z.ZodUUID;
1414
+ client_id: z.ZodUUID;
1415
+ display_seq: z.ZodInt;
1378
1416
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1379
1417
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1380
1418
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1381
1419
  state: z.ZodEnum<{
1382
1420
  DISCARDED: "DISCARDED";
1383
- DRAFTED: "DRAFTED";
1384
1421
  PUBLISHED: "PUBLISHED";
1385
1422
  CHANGED: "CHANGED";
1423
+ DRAFTED: "DRAFTED";
1386
1424
  }>;
1387
- viewer_password: z.ZodString;
1425
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1388
1426
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1389
1427
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1390
1428
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -1501,24 +1539,27 @@ export declare const GetReportsSchema: {
1501
1539
  }, z.core.$strip>>;
1502
1540
  }, z.core.$strip>;
1503
1541
  }, z.core.$strip>>;
1542
+ total: z.ZodInt;
1504
1543
  }, z.core.$strip>;
1505
1544
  };
1506
- export declare const GetReportsIdSchema: {
1507
- endpoint: (slug: string) => string;
1545
+ export declare const GetReportsSlugSchema: {
1546
+ endpoint: "/reports/:slug";
1508
1547
  method: ApiRestMethod;
1509
1548
  payload: z.ZodNever;
1510
1549
  response: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1511
- id: z.ZodUUID;
1550
+ server_id: z.ZodUUID;
1551
+ client_id: z.ZodUUID;
1552
+ display_seq: z.ZodInt;
1512
1553
  created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1513
1554
  updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1514
1555
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1515
1556
  state: z.ZodEnum<{
1516
1557
  DISCARDED: "DISCARDED";
1517
- DRAFTED: "DRAFTED";
1518
1558
  PUBLISHED: "PUBLISHED";
1519
1559
  CHANGED: "CHANGED";
1560
+ DRAFTED: "DRAFTED";
1520
1561
  }>;
1521
- viewer_password: z.ZodString;
1562
+ slug: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1522
1563
  draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1523
1564
  published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1524
1565
  title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
@@ -1635,12 +1676,14 @@ export declare const GetReportsIdSchema: {
1635
1676
  }, z.core.$strip>>;
1636
1677
  }, z.core.$strip>;
1637
1678
  }, z.core.$strip>>>, z.ZodTransform<{
1638
- id: string;
1679
+ server_id: string;
1680
+ client_id: string;
1681
+ display_seq: number;
1639
1682
  created_at: string;
1640
1683
  updated_at: string;
1641
1684
  published_at: string | null;
1642
- state: "DISCARDED" | "DRAFTED" | "PUBLISHED" | "CHANGED";
1643
- viewer_password: string;
1685
+ state: "DISCARDED" | "PUBLISHED" | "CHANGED" | "DRAFTED";
1686
+ slug: string | null;
1644
1687
  draft_content: {
1645
1688
  published_at: string | null;
1646
1689
  title: string | null;
@@ -1689,12 +1732,14 @@ export declare const GetReportsIdSchema: {
1689
1732
  }[];
1690
1733
  };
1691
1734
  } | null, {
1692
- id: string;
1735
+ server_id: string;
1736
+ client_id: string;
1737
+ display_seq: number;
1693
1738
  created_at: string;
1694
1739
  updated_at: string;
1695
1740
  published_at: string | null;
1696
- state: "DISCARDED" | "DRAFTED" | "PUBLISHED" | "CHANGED";
1697
- viewer_password: string;
1741
+ state: "DISCARDED" | "PUBLISHED" | "CHANGED" | "DRAFTED";
1742
+ slug: string | null;
1698
1743
  draft_content: {
1699
1744
  published_at: string | null;
1700
1745
  title: string | null;
@@ -1744,4 +1789,117 @@ export declare const GetReportsIdSchema: {
1744
1789
  };
1745
1790
  } | null | undefined>>;
1746
1791
  };
1747
- export {};
1792
+ export declare const GetPinsSchema: {
1793
+ endpoint: ApiEndpoint.PINS;
1794
+ method: ApiRestMethod;
1795
+ payload: z.ZodNever;
1796
+ response: z.ZodObject<{
1797
+ assemblies: z.ZodArray<z.ZodObject<{
1798
+ id: z.ZodUUID;
1799
+ created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1800
+ updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1801
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1802
+ has_image: z.ZodBoolean;
1803
+ user_id: z.ZodUUID;
1804
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>>>, z.ZodTransform<string | null, string | null | undefined>>;
1805
+ name: z.ZodString;
1806
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1807
+ topics: z.ZodArray<z.ZodString>;
1808
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1809
+ hide: z.ZodDefault<z.ZodBoolean>;
1810
+ }, z.core.$strip>>;
1811
+ pins: z.ZodArray<z.ZodObject<{
1812
+ id: z.ZodUUID;
1813
+ created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1814
+ updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1815
+ country: z.ZodString;
1816
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1817
+ hide: z.ZodBoolean;
1818
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1819
+ has_image: z.ZodBoolean;
1820
+ }, z.core.$strip>>;
1821
+ }, z.core.$strip>;
1822
+ };
1823
+ export declare const PostPinSchema: {
1824
+ endpoint: ApiEndpoint.PINS;
1825
+ method: ApiRestMethod;
1826
+ payload: z.ZodObject<{
1827
+ country: z.ZodString;
1828
+ email: z.ZodString;
1829
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1830
+ }, z.core.$strip>;
1831
+ response: z.ZodObject<{
1832
+ id: z.ZodUUID;
1833
+ created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1834
+ updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1835
+ country: z.ZodString;
1836
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1837
+ hide: z.ZodBoolean;
1838
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1839
+ has_image: z.ZodBoolean;
1840
+ }, z.core.$strip>;
1841
+ };
1842
+ export declare const PatchPinHideSchema: {
1843
+ endpoint: "/pins/:id/hide";
1844
+ method: ApiRestMethod;
1845
+ payload: z.ZodNever;
1846
+ response: z.ZodObject<{
1847
+ id: z.ZodUUID;
1848
+ created_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1849
+ updated_at: z.ZodPipe<z.ZodCoercedDate<unknown>, z.ZodTransform<string, Date>>;
1850
+ country: z.ZodString;
1851
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1852
+ hide: z.ZodBoolean;
1853
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
1854
+ has_image: z.ZodBoolean;
1855
+ }, z.core.$strip>;
1856
+ };
1857
+ export declare const GetPingSchema: {
1858
+ endpoint: ApiEndpoint.PING;
1859
+ method: ApiRestMethod;
1860
+ payload: z.ZodNever;
1861
+ response: z.ZodNever;
1862
+ };
1863
+ export declare const PostLogsInfoSchema: {
1864
+ endpoint: "/logs/info";
1865
+ method: ApiRestMethod;
1866
+ payload: z.ZodObject<{
1867
+ message: z.ZodOptional<z.ZodString>;
1868
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
1869
+ metadata: z.ZodObject<{
1870
+ origin: z.ZodString;
1871
+ route: z.ZodString;
1872
+ status: z.ZodNumber;
1873
+ }, z.core.$strip>;
1874
+ }, z.core.$strip>;
1875
+ response: z.ZodString;
1876
+ };
1877
+ export declare const PostLogsErrorSchema: {
1878
+ endpoint: "/logs/error";
1879
+ method: ApiRestMethod;
1880
+ payload: z.ZodObject<{
1881
+ message: z.ZodOptional<z.ZodString>;
1882
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
1883
+ metadata: z.ZodObject<{
1884
+ origin: z.ZodString;
1885
+ route: z.ZodString;
1886
+ status: z.ZodNumber;
1887
+ }, z.core.$strip>;
1888
+ }, z.core.$strip>;
1889
+ response: z.ZodString;
1890
+ };
1891
+ export declare const PostRegisterSchema: {
1892
+ endpoint: ApiEndpoint.REGISTER;
1893
+ method: ApiRestMethod;
1894
+ payload: z.ZodObject<{
1895
+ type: z.ZodLiteral<"user.created">;
1896
+ object: z.ZodLiteral<"event">;
1897
+ data: z.ZodObject<{
1898
+ id: z.ZodString;
1899
+ email_addresses: z.ZodArray<z.ZodObject<{
1900
+ email_address: z.ZodString;
1901
+ }, z.core.$strip>>;
1902
+ }, z.core.$strip>;
1903
+ }, z.core.$strip>;
1904
+ response: z.ZodString;
1905
+ };