@communecter/cocolight-api-client 1.0.85 → 1.0.86

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.
@@ -357,7 +357,7 @@ export declare class EndpointApi {
357
357
  */
358
358
  searchTags(data: SearchTagsData): Promise<any>;
359
359
  /**
360
- * Afficher les votes d'une actualité : Récupère la liste des votes (like, love, etc.) sur une actualité.
360
+ * Afficher les votes d'une actualité/commentaire : Récupère la liste des votes (like, love, etc.) sur une actualité/commentaire.
361
361
  * Constant : SHOW_VOTE
362
362
  * @param data - Données envoyées à l'API
363
363
  * @returns Les données de réponse.
@@ -871,7 +871,7 @@ export interface ShowVoteData {
871
871
  /**
872
872
  * Type de l'élément
873
873
  */
874
- type: "news";
874
+ type: "news" | "comments";
875
875
  /**
876
876
  * ID de l'élément dont on veut récupérer les votes
877
877
  */
@@ -6352,6 +6352,50 @@ declare const endpoints: {
6352
6352
  pathParams?: undefined;
6353
6353
  params?: undefined;
6354
6354
  functionCocostum?: undefined;
6355
+ } | {
6356
+ auth: string;
6357
+ constant: string;
6358
+ contentType: string;
6359
+ method: string;
6360
+ path: string;
6361
+ pathParams: {
6362
+ additionalProperties: boolean;
6363
+ properties: {
6364
+ id: {
6365
+ pattern: string;
6366
+ type: string;
6367
+ };
6368
+ type: {
6369
+ default: string;
6370
+ enum: string[];
6371
+ type: string;
6372
+ };
6373
+ isLive?: undefined;
6374
+ q?: undefined;
6375
+ slug?: undefined;
6376
+ index?: undefined;
6377
+ folder?: undefined;
6378
+ ownerId?: undefined;
6379
+ address?: undefined;
6380
+ userId?: undefined;
6381
+ docType?: undefined;
6382
+ contextId?: undefined;
6383
+ contextType?: undefined;
6384
+ };
6385
+ required: string[];
6386
+ type: string;
6387
+ else?: undefined;
6388
+ if?: undefined;
6389
+ then?: undefined;
6390
+ allOf?: undefined;
6391
+ slug?: undefined;
6392
+ };
6393
+ generateModule?: undefined;
6394
+ onlyAuthNone?: undefined;
6395
+ request?: undefined;
6396
+ postActions?: undefined;
6397
+ params?: undefined;
6398
+ functionCocostum?: undefined;
6355
6399
  } | {
6356
6400
  auth: string;
6357
6401
  constant: string;