@communecter/cocolight-api-client 1.0.76 → 1.0.78

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.
@@ -1,5 +1,5 @@
1
1
  import type ApiClient from "../ApiClient.js";
2
- import type { PersonRegisterData, AuthenticateUrlData, RefreshTokenUrlData, PasswordRecoveryData, ServerExchangeTokenData, ChangePasswordData, DeleteAccountData, UpdateSettingsData, UpdateBlockDescriptionData, UpdateBlockInfoData, UpdateBlockSocialData, UpdateBlockLocalityData, UpdateBlockSlugData, CheckData, ProfilImageData, ProfilBannerData, GetElementsAboutData, MulticonnectData, GetNewsData, GetNewsByIdData, AddNewsData, AddImageNewsData, AddFileNewsData, DeleteNewsData, UpdateNewsData, ShareNewsData, GetCommentsData, AddCommentsData, DeleteCommentsData, UpdateCommentsData, SearchTagsData, ShowVoteData, GlobalAutocompleteData, CityAutocompleteData, CityAutocompleteByCountryData, SuggestionInputData, GetProjectsNoAdminData, GetProjectsAdminData, GetPoisNoAdminData, GetPoisAdminData, GetOrganizationsNoAdminData, GetOrganizationsAdminData, GetMembersNoAdminData, GetMembersAdminData, GetFriendsAdminData, GetSubscriptionsData, GetSubscriptionsAdminData, GetSubscribersData, GetSubscribersAdminData, GetContributorsNoAdminData, GetContributorsAdminData, GetBadgesData, GetBadgesFiltersData, ConnectData, DisconnectData, GetElementsKeyData, GetFavorisData, DeleteFavorisData, AddFavorisData, AddOrganizationData, AddProjectData, AddPoiData, AddEventData, DeletePoiData, DeleteEventData, DeleteElementData, AddImageElementData, LinkValidateData, SearchMemberAutocompleteData, GetNotificationsData, GetNotificationsCountData, NotificationUpdateData, MarkNotificationAsReadData, ActivitypubSearchData, ActivitypubLinkData, ActivitypubGetCommunityData, GetBadgeData, AddBadgesData, AssignBadgesData, GetEventsData, ShareEventsData, InviteEventData, FollowData, GetCostumJsonData, GlobalAutocompleteCostumData, CostumEventRequestActorsData, CostumEventRequestSubeventsData, CostumEventRequestElementEventData, CostumEventRequestCategoriesData, CostumEventRequestDatesData, CostumEventRequestEventData, CostumEventRequestLinkTlToEventData, CostumEventRequestLoadContextTagData, GetGalleryData, GetAttendeesNoAdminData, GetAttendeesAdminData, CoformAnswersSearchData, CoformAnswersByIdData, AddVoteData, AddReportAbuseData, UpdatePathValueData } from "./EndpointApi.types.js";
2
+ import type { PersonRegisterData, AuthenticateUrlData, RefreshTokenUrlData, PasswordRecoveryData, ServerExchangeTokenData, ChangePasswordData, DeleteAccountData, UpdateSettingsData, UpdateBlockDescriptionData, UpdateBlockInfoData, UpdateBlockSocialData, UpdateBlockLocalityData, UpdateBlockSlugData, CheckData, ProfilImageData, ProfilBannerData, GetElementsAboutData, MulticonnectData, GetNewsData, GetNewsByIdData, AddNewsData, AddImageNewsData, AddFileNewsData, DeleteNewsData, UpdateNewsData, ShareNewsData, GetCommentsData, AddCommentsData, DeleteCommentsData, UpdateCommentsData, SearchTagsData, ShowVoteData, GlobalAutocompleteData, CityAutocompleteData, CityAutocompleteByCountryData, SuggestionInputData, GetProjectsNoAdminData, GetProjectsAdminData, GetPoisNoAdminData, GetPoisAdminData, GetOrganizationsNoAdminData, GetOrganizationsAdminData, GetMembersNoAdminData, GetMembersAdminData, GetFriendsAdminData, GetSubscriptionsData, GetSubscriptionsAdminData, GetSubscribersData, GetSubscribersAdminData, GetContributorsNoAdminData, GetContributorsAdminData, GetBadgesData, GetBadgesFiltersData, ConnectData, DisconnectData, GetElementsKeyData, GetFavorisData, DeleteFavorisData, AddFavorisData, AddOrganizationData, AddProjectData, AddPoiData, AddEventData, DeletePoiData, DeleteEventData, DeleteElementData, AddImageElementData, LinkValidateData, SearchMemberAutocompleteData, GetNotificationsData, GetNotificationsCountData, NotificationUpdateData, MarkNotificationAsReadData, ActivitypubSearchData, ActivitypubLinkData, ActivitypubGetCommunityData, GetBadgeData, AddBadgesData, AssignBadgesData, GetEventsData, ShareEventsData, InviteEventData, FollowData, GetCostumJsonData, GlobalAutocompleteCostumData, CostumEventRequestActorsData, CostumEventRequestSubeventsData, CostumEventRequestElementEventData, CostumEventRequestCategoriesData, CostumEventRequestDatesData, CostumEventRequestEventData, CostumEventRequestLinkTlToEventData, CostumEventRequestLoadContextTagData, GetGalleryData, GetAttendeesNoAdminData, GetAttendeesAdminData, CoformAnswersSearchData, CoformAnswersByIdData, AddVoteData, AddReportAbuseData, UpdatePathValueData, DeleteDocumentByContextData } from "./EndpointApi.types.js";
3
3
  /**
4
4
  * Classe EndpointApi générée automatiquement depuis endpoints-copie.json
5
5
  */
@@ -1039,5 +1039,15 @@ export declare class EndpointApi {
1039
1039
  * @throws {Error} - En cas d'erreur inattendue.
1040
1040
  */
1041
1041
  updatePathValue(data: UpdatePathValueData): Promise<any>;
1042
+ /**
1043
+ * Supprimer une image/document par contexte d’entité : Supprimer des documents associés à une entité dans un contexte spécifique
1044
+ * Constant : DELETE_DOCUMENT_BY_CONTEXT
1045
+ * @param data - Données envoyées à l'API
1046
+ * @returns Les données de réponse.
1047
+ * @throws {ApiResponseError} - En cas d'erreur détectée dans la réponse.
1048
+ * @throws {ApiAuthenticationError} - En cas d'erreur d'authentification.
1049
+ * @throws {Error} - En cas d'erreur inattendue.
1050
+ */
1051
+ deleteDocumentByContext(data: DeleteDocumentByContextData): Promise<any>;
1042
1052
  }
1043
1053
  export default EndpointApi;
@@ -4480,3 +4480,30 @@ export interface UpdatePathValueData {
4480
4480
  };
4481
4481
  [k: string]: unknown;
4482
4482
  }
4483
+ export interface DeleteDocumentByContextData {
4484
+ /**
4485
+ * ID de l’utilisateur
4486
+ */
4487
+ parentId?: string;
4488
+ /**
4489
+ * Type de contexte de l’entité
4490
+ */
4491
+ parentType?: "citoyens" | "organizations" | "projects" | "events" | "poi";
4492
+ path: "communecter";
4493
+ /**
4494
+ * ID image/document à supprimer
4495
+ */
4496
+ ids?: string;
4497
+ pathParams?: {
4498
+ /**
4499
+ * ID du contexte de l’entité
4500
+ */
4501
+ contextId: string;
4502
+ /**
4503
+ * Type de contexte de l’entité
4504
+ */
4505
+ contextType: "citoyens" | "organizations" | "projects" | "events" | "poi";
4506
+ [k: string]: unknown;
4507
+ };
4508
+ [k: string]: unknown;
4509
+ }
@@ -341,5 +341,142 @@ export declare class User extends BaseEntity<UserItemNormalized> {
341
341
  * @returns L'entité correspondante au slug.
342
342
  */
343
343
  entityBySlug(slug: string): Promise<EntityTypes>;
344
+ /**
345
+ * Valide les préconditions communes pour les méthodes de vérification de rôle.
346
+ * @private
347
+ * @param methodName - Nom de la méthode appelante (pour les messages d'erreur).
348
+ * @param expectedTypes - Types d'entité parent autorisés.
349
+ * @throws {ApiError} 401 - Si l'utilisateur n'est pas connecté.
350
+ * @throws {ApiError} 401 - Si l'utilisateur connecté n'est pas administrateur de l'entité parente.
351
+ * @throws {ApiError} 404 - Si l'utilisateur n'est pas enregistré.
352
+ * @throws {ApiError} 404 - Si l'entité parente n'est pas enregistrée.
353
+ * @throws {ApiError} 400 - Si le type d'entité parent n'est pas valide.
354
+ */
355
+ private _validateRoleCheckPreconditions;
356
+ /**
357
+ * Récupère le lien utilisateur pour l'entité parente.
358
+ * @private
359
+ * @returns Le lien utilisateur ou null.
360
+ */
361
+ private _getUserLinkForParent;
362
+ /**
363
+ * Vérifie si l'utilisateur est administrateur de l'entité parente.
364
+ *
365
+ * Cette méthode permet de vérifier si un utilisateur possède les droits d'administration
366
+ * sur l'organisation ou le projet parent. Elle est particulièrement utile après avoir
367
+ * récupéré des membres via `getMembers()` pour déterminer leur niveau de permissions.
368
+ *
369
+ * @returns `true` si l'utilisateur est administrateur de l'entité parente, `false` sinon.
370
+ *
371
+ * @throws {ApiError} 401 - Si l'utilisateur n'est pas connecté.
372
+ * @throws {ApiError} 401 - Si l'utilisateur connecté n'est pas administrateur de l'entité parente.
373
+ * @throws {ApiError} 404 - Si l'utilisateur n'est pas enregistré (pas d'ID).
374
+ * @throws {ApiError} 404 - Si l'entité parente n'est pas enregistrée (pas d'ID).
375
+ * @throws {ApiError} 400 - Si l'entité parente n'est pas de type "organizations" ou "projects".
376
+ *
377
+ * @example
378
+ * // Vérifier les admins d'une organisation
379
+ * const org = await me.organization({ slug: "openAtlas" });
380
+ * const members = await org.getMembers();
381
+ *
382
+ * for (const member of members.results) {
383
+ * if (member.getEntityType() === "citoyens") {
384
+ * if (member.isAdmin()) {
385
+ * console.log(`${member.data.name} est administrateur`);
386
+ * }
387
+ * }
388
+ * }
389
+ *
390
+ * @example
391
+ * // Récupérer uniquement les membres admins
392
+ * const org = await me.organization({ slug: "myOrg" });
393
+ * const adminMembers = await org.getMembers({}, { isAdmin: true });
394
+ *
395
+ * // Vérifier chaque admin
396
+ * for (const admin of adminMembers.results) {
397
+ * if (admin.getEntityType() === "citoyens" && admin.isAdmin()) {
398
+ * console.log(`${admin.data.name} a les droits admin`);
399
+ * }
400
+ * }
401
+ */
402
+ isAdmin(): boolean;
403
+ /**
404
+ * Vérifie si l'utilisateur est membre de l'organisation parente.
405
+ *
406
+ * Cette méthode permet de vérifier si un utilisateur est membre actif d'une organisation.
407
+ * Elle est utile pour déterminer si un utilisateur a accès aux ressources de l'organisation.
408
+ *
409
+ * @returns `true` si l'utilisateur est membre validé de l'organisation parente, `false` sinon.
410
+ *
411
+ * @throws {ApiError} 401 - Si l'utilisateur n'est pas connecté.
412
+ * @throws {ApiError} 401 - Si l'utilisateur connecté n'est pas administrateur de l'entité parente.
413
+ * @throws {ApiError} 404 - Si l'utilisateur n'est pas enregistré (pas d'ID).
414
+ * @throws {ApiError} 404 - Si l'entité parente n'est pas enregistrée (pas d'ID).
415
+ * @throws {ApiError} 400 - Si l'entité parente n'est pas de type "organizations".
416
+ *
417
+ * @example
418
+ * // Vérifier les membres d'une organisation
419
+ * const org = await me.organization({ slug: "myOrg" });
420
+ * const members = await org.getMembers();
421
+ *
422
+ * for (const member of members.results) {
423
+ * if (member.getEntityType() === "citoyens" && member.isMember()) {
424
+ * console.log(`${member.data.name} est membre de l'organisation`);
425
+ * }
426
+ * }
427
+ */
428
+ isMember(): boolean;
429
+ /**
430
+ * Vérifie si l'utilisateur est contributeur du projet parent.
431
+ *
432
+ * Cette méthode permet de vérifier si un utilisateur est contributeur actif d'un projet.
433
+ * Elle est utile pour déterminer si un utilisateur peut participer aux activités du projet.
434
+ *
435
+ * @returns `true` si l'utilisateur est contributeur validé du projet parent, `false` sinon.
436
+ *
437
+ * @throws {ApiError} 401 - Si l'utilisateur n'est pas connecté.
438
+ * @throws {ApiError} 401 - Si l'utilisateur connecté n'est pas administrateur de l'entité parente.
439
+ * @throws {ApiError} 404 - Si l'utilisateur n'est pas enregistré (pas d'ID).
440
+ * @throws {ApiError} 404 - Si l'entité parente n'est pas enregistrée (pas d'ID).
441
+ * @throws {ApiError} 400 - Si l'entité parente n'est pas de type "projects".
442
+ *
443
+ * @example
444
+ * // Vérifier les contributeurs d'un projet
445
+ * const project = await me.project({ slug: "myProject" });
446
+ * const contributors = await project.getContributors();
447
+ *
448
+ * for (const contributor of contributors.results) {
449
+ * if (contributor.getEntityType() === "citoyens" && contributor.isContributor()) {
450
+ * console.log(`${contributor.data.name} est contributeur du projet`);
451
+ * }
452
+ * }
453
+ */
454
+ isContributor(): boolean;
455
+ /**
456
+ * Vérifie si l'utilisateur est participant de l'événement parent.
457
+ *
458
+ * Cette méthode permet de vérifier si un utilisateur est inscrit comme participant à un événement.
459
+ * Elle est utile pour déterminer si un utilisateur a confirmé sa participation à l'événement.
460
+ *
461
+ * @returns `true` si l'utilisateur est participant validé de l'événement parent, `false` sinon.
462
+ *
463
+ * @throws {ApiError} 401 - Si l'utilisateur n'est pas connecté.
464
+ * @throws {ApiError} 401 - Si l'utilisateur connecté n'est pas administrateur de l'entité parente.
465
+ * @throws {ApiError} 404 - Si l'utilisateur n'est pas enregistré (pas d'ID).
466
+ * @throws {ApiError} 404 - Si l'entité parente n'est pas enregistrée (pas d'ID).
467
+ * @throws {ApiError} 400 - Si l'entité parente n'est pas de type "events".
468
+ *
469
+ * @example
470
+ * // Vérifier les participants d'un événement
471
+ * const event = await me.event({ slug: "myEvent" });
472
+ * const attendees = await event.getAttendees();
473
+ *
474
+ * for (const attendee of attendees.results) {
475
+ * if (attendee.getEntityType() === "citoyens" && attendee.isAttendee()) {
476
+ * console.log(`${attendee.data.name} participe à l'événement`);
477
+ * }
478
+ * }
479
+ */
480
+ isAttendee(): boolean;
344
481
  }
345
482
  export {};
@@ -4086,6 +4086,8 @@ declare const endpoints: {
4086
4086
  address?: undefined;
4087
4087
  userId?: undefined;
4088
4088
  docType?: undefined;
4089
+ contextId?: undefined;
4090
+ contextType?: undefined;
4089
4091
  };
4090
4092
  required: string[];
4091
4093
  then: {
@@ -4534,6 +4536,8 @@ declare const endpoints: {
4534
4536
  address?: undefined;
4535
4537
  userId?: undefined;
4536
4538
  docType?: undefined;
4539
+ contextId?: undefined;
4540
+ contextType?: undefined;
4537
4541
  };
4538
4542
  required: string[];
4539
4543
  then: {
@@ -6776,6 +6780,8 @@ declare const endpoints: {
6776
6780
  address?: undefined;
6777
6781
  userId?: undefined;
6778
6782
  docType?: undefined;
6783
+ contextId?: undefined;
6784
+ contextType?: undefined;
6779
6785
  };
6780
6786
  required: string[];
6781
6787
  type: string;
@@ -9596,6 +9602,8 @@ declare const endpoints: {
9596
9602
  address?: undefined;
9597
9603
  userId?: undefined;
9598
9604
  docType?: undefined;
9605
+ contextId?: undefined;
9606
+ contextType?: undefined;
9599
9607
  };
9600
9608
  required: string[];
9601
9609
  then: {
@@ -12226,6 +12234,8 @@ declare const endpoints: {
12226
12234
  address?: undefined;
12227
12235
  userId?: undefined;
12228
12236
  docType?: undefined;
12237
+ contextId?: undefined;
12238
+ contextType?: undefined;
12229
12239
  };
12230
12240
  required: string[];
12231
12241
  type: string;
@@ -14352,6 +14362,8 @@ declare const endpoints: {
14352
14362
  address?: undefined;
14353
14363
  userId?: undefined;
14354
14364
  docType?: undefined;
14365
+ contextId?: undefined;
14366
+ contextType?: undefined;
14355
14367
  };
14356
14368
  required: string[];
14357
14369
  type: string;
@@ -14388,6 +14400,8 @@ declare const endpoints: {
14388
14400
  address?: undefined;
14389
14401
  userId?: undefined;
14390
14402
  docType?: undefined;
14403
+ contextId?: undefined;
14404
+ contextType?: undefined;
14391
14405
  };
14392
14406
  type: string;
14393
14407
  additionalProperties?: undefined;
@@ -14875,7 +14889,6 @@ declare const endpoints: {
14875
14889
  const: string;
14876
14890
  default: string;
14877
14891
  type: string;
14878
- enum?: undefined;
14879
14892
  };
14880
14893
  email: {
14881
14894
  format: string;
@@ -15199,7 +15212,6 @@ declare const endpoints: {
15199
15212
  const: string;
15200
15213
  default: string;
15201
15214
  type: string;
15202
- enum?: undefined;
15203
15215
  };
15204
15216
  geo: {
15205
15217
  additionalProperties: boolean;
@@ -16283,6 +16295,8 @@ declare const endpoints: {
16283
16295
  address?: undefined;
16284
16296
  userId?: undefined;
16285
16297
  docType?: undefined;
16298
+ contextId?: undefined;
16299
+ contextType?: undefined;
16286
16300
  };
16287
16301
  required: string[];
16288
16302
  type: string;
@@ -16334,6 +16348,8 @@ declare const endpoints: {
16334
16348
  address?: undefined;
16335
16349
  userId?: undefined;
16336
16350
  docType?: undefined;
16351
+ contextId?: undefined;
16352
+ contextType?: undefined;
16337
16353
  };
16338
16354
  required: string[];
16339
16355
  type: string;
@@ -17496,6 +17512,8 @@ declare const endpoints: {
17496
17512
  ownerId?: undefined;
17497
17513
  userId?: undefined;
17498
17514
  docType?: undefined;
17515
+ contextId?: undefined;
17516
+ contextType?: undefined;
17499
17517
  };
17500
17518
  required: string[];
17501
17519
  type: string;
@@ -17734,6 +17752,8 @@ declare const endpoints: {
17734
17752
  ownerId?: undefined;
17735
17753
  address?: undefined;
17736
17754
  docType?: undefined;
17755
+ contextId?: undefined;
17756
+ contextType?: undefined;
17737
17757
  };
17738
17758
  required: string[];
17739
17759
  type: string;
@@ -20500,6 +20520,8 @@ declare const endpoints: {
20500
20520
  ownerId?: undefined;
20501
20521
  address?: undefined;
20502
20522
  userId?: undefined;
20523
+ contextId?: undefined;
20524
+ contextType?: undefined;
20503
20525
  };
20504
20526
  required: string[];
20505
20527
  then: {
@@ -22063,7 +22085,6 @@ declare const endpoints: {
22063
22085
  default: string;
22064
22086
  enum: string[];
22065
22087
  type: string;
22066
- const?: undefined;
22067
22088
  };
22068
22089
  id: {
22069
22090
  default: string;
@@ -22233,6 +22254,226 @@ declare const endpoints: {
22233
22254
  pathParams?: undefined;
22234
22255
  params?: undefined;
22235
22256
  functionCocostum?: undefined;
22257
+ } | {
22258
+ auth: string;
22259
+ constant: string;
22260
+ contentType: string;
22261
+ method: string;
22262
+ path: string;
22263
+ pathParams: {
22264
+ additionalProperties: boolean;
22265
+ properties: {
22266
+ contextId: {
22267
+ default: string;
22268
+ pattern: string;
22269
+ type: string;
22270
+ };
22271
+ contextType: {
22272
+ default: string;
22273
+ enum: string[];
22274
+ type: string;
22275
+ };
22276
+ id?: undefined;
22277
+ type?: undefined;
22278
+ isLive?: undefined;
22279
+ q?: undefined;
22280
+ slug?: undefined;
22281
+ index?: undefined;
22282
+ folder?: undefined;
22283
+ ownerId?: undefined;
22284
+ address?: undefined;
22285
+ userId?: undefined;
22286
+ docType?: undefined;
22287
+ };
22288
+ required: string[];
22289
+ type: string;
22290
+ else?: undefined;
22291
+ if?: undefined;
22292
+ then?: undefined;
22293
+ allOf?: undefined;
22294
+ slug?: undefined;
22295
+ };
22296
+ request: {
22297
+ additionalProperties: boolean;
22298
+ properties: {
22299
+ ids: {
22300
+ pattern: string;
22301
+ type: string;
22302
+ };
22303
+ parentId: {
22304
+ default: string;
22305
+ pattern: string;
22306
+ type: string;
22307
+ };
22308
+ parentType: {
22309
+ default: string;
22310
+ enum: string[];
22311
+ type: string;
22312
+ };
22313
+ path: {
22314
+ const: string;
22315
+ default: string;
22316
+ type: string;
22317
+ };
22318
+ app?: undefined;
22319
+ email?: undefined;
22320
+ isInvitation?: undefined;
22321
+ mode?: undefined;
22322
+ name?: undefined;
22323
+ pendingUserId?: undefined;
22324
+ pwd?: undefined;
22325
+ username?: undefined;
22326
+ password?: undefined;
22327
+ refreshToken?: undefined;
22328
+ type?: undefined;
22329
+ serverUrl?: undefined;
22330
+ newPassword?: undefined;
22331
+ newPassword2?: undefined;
22332
+ oldPassword?: undefined;
22333
+ scope?: undefined;
22334
+ userId?: undefined;
22335
+ idEntity?: undefined;
22336
+ typeEntity?: undefined;
22337
+ value?: undefined;
22338
+ block?: undefined;
22339
+ descMentions?: undefined;
22340
+ description?: undefined;
22341
+ id?: undefined;
22342
+ shortDescription?: undefined;
22343
+ typeElement?: undefined;
22344
+ diaspora?: undefined;
22345
+ facebook?: undefined;
22346
+ github?: undefined;
22347
+ gitlab?: undefined;
22348
+ instagram?: undefined;
22349
+ mastodon?: undefined;
22350
+ signal?: undefined;
22351
+ telegram?: undefined;
22352
+ twitter?: undefined;
22353
+ address?: undefined;
22354
+ geo?: undefined;
22355
+ geoPosition?: undefined;
22356
+ slug?: undefined;
22357
+ profil_avatar?: undefined;
22358
+ banner?: undefined;
22359
+ cropH?: undefined;
22360
+ cropW?: undefined;
22361
+ cropX?: undefined;
22362
+ cropY?: undefined;
22363
+ formOrigin?: undefined;
22364
+ tpl?: undefined;
22365
+ listInvite?: undefined;
22366
+ dateLimit?: undefined;
22367
+ indexStep?: undefined;
22368
+ search?: undefined;
22369
+ json?: undefined;
22370
+ markdownActive?: undefined;
22371
+ mediaFile?: undefined;
22372
+ mediaImg?: undefined;
22373
+ mentions?: undefined;
22374
+ tags?: undefined;
22375
+ text?: undefined;
22376
+ newsImage?: undefined;
22377
+ newsFile?: undefined;
22378
+ isLive?: undefined;
22379
+ idNews?: undefined;
22380
+ childId?: undefined;
22381
+ childType?: undefined;
22382
+ comment?: undefined;
22383
+ connectType?: undefined;
22384
+ argval?: undefined;
22385
+ contextId?: undefined;
22386
+ contextType?: undefined;
22387
+ parentCommentId?: undefined;
22388
+ params?: undefined;
22389
+ count?: undefined;
22390
+ countType?: undefined;
22391
+ fediverse?: undefined;
22392
+ filters?: undefined;
22393
+ indexMax?: undefined;
22394
+ indexMin?: undefined;
22395
+ initType?: undefined;
22396
+ locality?: undefined;
22397
+ notSourceKey?: undefined;
22398
+ ranges?: undefined;
22399
+ searchBy?: undefined;
22400
+ searchTags?: undefined;
22401
+ searchType?: undefined;
22402
+ countryCode?: undefined;
22403
+ formInMap?: undefined;
22404
+ scopeValue?: undefined;
22405
+ fields?: undefined;
22406
+ collection?: undefined;
22407
+ pull?: undefined;
22408
+ arrayForm?: undefined;
22409
+ key?: undefined;
22410
+ preferences?: undefined;
22411
+ role?: undefined;
22412
+ url?: undefined;
22413
+ parent?: undefined;
22414
+ public?: undefined;
22415
+ urls?: undefined;
22416
+ endDate?: undefined;
22417
+ openingHours?: undefined;
22418
+ organizer?: undefined;
22419
+ recurrency?: undefined;
22420
+ startDate?: undefined;
22421
+ timeZone?: undefined;
22422
+ qqfile?: undefined;
22423
+ qqfilename?: undefined;
22424
+ qqtotalfilesize?: undefined;
22425
+ qquuid?: undefined;
22426
+ linkOption?: undefined;
22427
+ searchMode?: undefined;
22428
+ refreshTimestamp?: undefined;
22429
+ action?: undefined;
22430
+ all?: undefined;
22431
+ actor?: undefined;
22432
+ payload?: undefined;
22433
+ criteria?: undefined;
22434
+ isParcours?: undefined;
22435
+ issuer?: undefined;
22436
+ award?: undefined;
22437
+ badgeId?: undefined;
22438
+ evidences?: undefined;
22439
+ narative?: undefined;
22440
+ endDateUTC?: undefined;
22441
+ startDateUTC?: undefined;
22442
+ costumEditMode?: undefined;
22443
+ costumSlug?: undefined;
22444
+ mapUsed?: undefined;
22445
+ options?: undefined;
22446
+ sortBy?: undefined;
22447
+ sourceKey?: undefined;
22448
+ parent_only?: undefined;
22449
+ types?: undefined;
22450
+ date?: undefined;
22451
+ fromToday?: undefined;
22452
+ regions?: undefined;
22453
+ timezone?: undefined;
22454
+ event?: undefined;
22455
+ tl?: undefined;
22456
+ contentKey?: undefined;
22457
+ folderId?: undefined;
22458
+ answerId?: undefined;
22459
+ finderPath?: undefined;
22460
+ details?: undefined;
22461
+ };
22462
+ required: string[];
22463
+ type: string;
22464
+ allOf?: undefined;
22465
+ $defs?: undefined;
22466
+ else?: undefined;
22467
+ if?: undefined;
22468
+ then?: undefined;
22469
+ anyOf?: undefined;
22470
+ startBeforeEnd?: undefined;
22471
+ };
22472
+ generateModule?: undefined;
22473
+ onlyAuthNone?: undefined;
22474
+ postActions?: undefined;
22475
+ params?: undefined;
22476
+ functionCocostum?: undefined;
22236
22477
  })[];
22237
22478
  };
22238
22479
  export default endpoints;