@communecter/cocolight-api-client 1.0.123 → 1.0.125

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.
@@ -399,7 +399,7 @@ export interface GetElementsAboutData {
399
399
  /**
400
400
  * Type d'entité
401
401
  */
402
- type: "citoyens" | "projects" | "organizations" | "events" | "poi" | "badges" | "answers";
402
+ type: "citoyens" | "projects" | "organizations" | "events" | "poi" | "badges" | "answers" | "classifieds" | "forms";
403
403
  /**
404
404
  * ID de l'utilisateur ou de l'entité
405
405
  */
@@ -907,7 +907,7 @@ export interface GlobalAutocompleteData {
907
907
  /**
908
908
  * Types d'entités à inclure dans la recherche
909
909
  */
910
- searchType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "projects" | "citoyens" | "poi")[];
910
+ searchType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "projects" | "citoyens" | "poi" | "answers" | "forms")[];
911
911
  /**
912
912
  * Balises (tags) à utiliser pour filtrer la recherche
913
913
  */
@@ -915,7 +915,7 @@ export interface GlobalAutocompleteData {
915
915
  /**
916
916
  * Liste fixe des types à compter dans les résultats
917
917
  */
918
- countType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "projects" | "citoyens" | "poi")[];
918
+ countType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "projects" | "citoyens" | "poi" | "answers" | "forms")[];
919
919
  /**
920
920
  * Critère de recherche (actuellement vide)
921
921
  */
@@ -1493,7 +1493,9 @@ export interface GetOrganizationsAdminData {
1493
1493
  * Flag pour ne pas filtrer sur une clé de source spécifique
1494
1494
  */
1495
1495
  notSourceKey: true;
1496
- filters: {};
1496
+ filters: {
1497
+ [k: string]: unknown;
1498
+ };
1497
1499
  /**
1498
1500
  * Localité vide ou spécifique
1499
1501
  */
@@ -2450,22 +2452,6 @@ export interface AddFavorisData {
2450
2452
  */
2451
2453
  path: "preferences.search";
2452
2454
  arrayForm: true;
2453
- value: {
2454
- url: string;
2455
- name: string;
2456
- description?: string;
2457
- tags?: string[];
2458
- locality?: {
2459
- /**
2460
- * This interface was referenced by `undefined`'s JSON-Schema definition
2461
- * via the `patternProperty` "^[a-f0-9]{24}$".
2462
- */
2463
- [k: string]: {
2464
- name: string;
2465
- type: string;
2466
- };
2467
- };
2468
- };
2469
2455
  [k: string]: unknown;
2470
2456
  }
2471
2457
  export interface AddOrganizationData {
@@ -2601,6 +2587,216 @@ export interface AddOrganizationData {
2601
2587
  streetAddress?: string;
2602
2588
  };
2603
2589
  scope: "";
2590
+ /**
2591
+ * Nom de la structure porteuse (différent du nom du tiers-lieu)
2592
+ */
2593
+ holderOrganization?: string;
2594
+ /**
2595
+ * Mode de gestion (Association, Collectif citoyen, SCIC, etc.)
2596
+ */
2597
+ manageModel?: string;
2598
+ /**
2599
+ * Famille(s) de tiers-lieux (Coworking, Fablab, Foodlab, etc.)
2600
+ */
2601
+ typePlace?: string;
2602
+ /**
2603
+ * Réseau accompagnateur (ex: Compagnon France Tiers-Lieux)
2604
+ */
2605
+ compagnon?: string;
2606
+ /**
2607
+ * Surface bâtie en m²
2608
+ */
2609
+ buildingSurfaceArea?: number;
2610
+ /**
2611
+ * Surface extérieure en m²
2612
+ */
2613
+ siteSurfaceArea?: number;
2614
+ /**
2615
+ * Date d'ouverture du tiers-lieu (format libre, ex: 05/05/2026)
2616
+ */
2617
+ openingDate?: string;
2618
+ /**
2619
+ * Horaires d'ouverture (7 entrées, une par jour de la semaine ; "" pour un jour fermé). Doit rester synchronisé avec VIRTUAL_OPENING_HOURS dans Organization.ts.
2620
+ *
2621
+ * @minItems 7
2622
+ * @maxItems 7
2623
+ */
2624
+ openingHours?: [
2625
+ ("" | {
2626
+ /**
2627
+ * Jour de la semaine
2628
+ */
2629
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2630
+ /**
2631
+ * Liste des créneaux horaires
2632
+ */
2633
+ hours: {
2634
+ /**
2635
+ * Heure d'ouverture (HH:MM)
2636
+ */
2637
+ opens: string;
2638
+ /**
2639
+ * Heure de fermeture (HH:MM)
2640
+ */
2641
+ closes: string;
2642
+ }[];
2643
+ }),
2644
+ ("" | {
2645
+ /**
2646
+ * Jour de la semaine
2647
+ */
2648
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2649
+ /**
2650
+ * Liste des créneaux horaires
2651
+ */
2652
+ hours: {
2653
+ /**
2654
+ * Heure d'ouverture (HH:MM)
2655
+ */
2656
+ opens: string;
2657
+ /**
2658
+ * Heure de fermeture (HH:MM)
2659
+ */
2660
+ closes: string;
2661
+ }[];
2662
+ }),
2663
+ ("" | {
2664
+ /**
2665
+ * Jour de la semaine
2666
+ */
2667
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2668
+ /**
2669
+ * Liste des créneaux horaires
2670
+ */
2671
+ hours: {
2672
+ /**
2673
+ * Heure d'ouverture (HH:MM)
2674
+ */
2675
+ opens: string;
2676
+ /**
2677
+ * Heure de fermeture (HH:MM)
2678
+ */
2679
+ closes: string;
2680
+ }[];
2681
+ }),
2682
+ ("" | {
2683
+ /**
2684
+ * Jour de la semaine
2685
+ */
2686
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2687
+ /**
2688
+ * Liste des créneaux horaires
2689
+ */
2690
+ hours: {
2691
+ /**
2692
+ * Heure d'ouverture (HH:MM)
2693
+ */
2694
+ opens: string;
2695
+ /**
2696
+ * Heure de fermeture (HH:MM)
2697
+ */
2698
+ closes: string;
2699
+ }[];
2700
+ }),
2701
+ ("" | {
2702
+ /**
2703
+ * Jour de la semaine
2704
+ */
2705
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2706
+ /**
2707
+ * Liste des créneaux horaires
2708
+ */
2709
+ hours: {
2710
+ /**
2711
+ * Heure d'ouverture (HH:MM)
2712
+ */
2713
+ opens: string;
2714
+ /**
2715
+ * Heure de fermeture (HH:MM)
2716
+ */
2717
+ closes: string;
2718
+ }[];
2719
+ }),
2720
+ ("" | {
2721
+ /**
2722
+ * Jour de la semaine
2723
+ */
2724
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2725
+ /**
2726
+ * Liste des créneaux horaires
2727
+ */
2728
+ hours: {
2729
+ /**
2730
+ * Heure d'ouverture (HH:MM)
2731
+ */
2732
+ opens: string;
2733
+ /**
2734
+ * Heure de fermeture (HH:MM)
2735
+ */
2736
+ closes: string;
2737
+ }[];
2738
+ }),
2739
+ ("" | {
2740
+ /**
2741
+ * Jour de la semaine
2742
+ */
2743
+ dayOfWeek: "Mo" | "Tu" | "We" | "Th" | "Fr" | "Sa" | "Su";
2744
+ /**
2745
+ * Liste des créneaux horaires
2746
+ */
2747
+ hours: {
2748
+ /**
2749
+ * Heure d'ouverture (HH:MM)
2750
+ */
2751
+ opens: string;
2752
+ /**
2753
+ * Heure de fermeture (HH:MM)
2754
+ */
2755
+ closes: string;
2756
+ }[];
2757
+ })
2758
+ ];
2759
+ /**
2760
+ * URLs de vidéos de présentation
2761
+ */
2762
+ video?: string[];
2763
+ /**
2764
+ * Numéro de téléphone de contact
2765
+ */
2766
+ telephone?: string;
2767
+ /**
2768
+ * Description longue (markdown supporté)
2769
+ */
2770
+ description?: string;
2771
+ /**
2772
+ * Source d'insertion (costum)
2773
+ */
2774
+ source?: {
2775
+ insertOrign?: string;
2776
+ keys?: string[];
2777
+ key?: string;
2778
+ [k: string]: unknown;
2779
+ };
2780
+ /**
2781
+ * Tag principal (ex: TiersLieux)
2782
+ */
2783
+ mainTag?: string;
2784
+ /**
2785
+ * Slug du costum d'origine
2786
+ */
2787
+ costumSlug?: string;
2788
+ /**
2789
+ * ID Mongo du costum d'origine
2790
+ */
2791
+ costumId?: string;
2792
+ /**
2793
+ * Type d'entité du costum (ex: projects)
2794
+ */
2795
+ costumType?: string;
2796
+ /**
2797
+ * Mode édition costum
2798
+ */
2799
+ costumEditMode?: boolean;
2604
2800
  [k: string]: unknown;
2605
2801
  }
2606
2802
  export interface AddProjectData {
@@ -3677,7 +3873,7 @@ export interface GlobalAutocompleteCostumData {
3677
3873
  /**
3678
3874
  * Types d'entités à inclure dans la recherche
3679
3875
  */
3680
- searchType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "organizations" | "projects" | "events" | "citoyens" | "poi")[];
3876
+ searchType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "organizations" | "projects" | "events" | "citoyens" | "poi" | "answers" | "forms" | "classifieds")[];
3681
3877
  /**
3682
3878
  * Balises (tags) à utiliser pour filtrer la recherche
3683
3879
  */
@@ -3685,7 +3881,7 @@ export interface GlobalAutocompleteCostumData {
3685
3881
  /**
3686
3882
  * Liste fixe des types à compter dans les résultats
3687
3883
  */
3688
- countType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "organizations" | "projects" | "events" | "citoyens" | "poi")[];
3884
+ countType: ("NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative" | "organizations" | "projects" | "events" | "citoyens" | "poi" | "answers" | "forms" | "classifieds")[];
3689
3885
  /**
3690
3886
  * Critère de recherche (actuellement vide)
3691
3887
  */
@@ -4621,12 +4817,20 @@ export interface UpdatePathValueData {
4621
4817
  /**
4622
4818
  * Collection de l’entité
4623
4819
  */
4624
- collection: "citoyens" | "organizations" | "projects" | "events" | "poi" | "answers" | "forms";
4820
+ collection: "citoyens" | "organizations" | "projects" | "events" | "poi" | "answers" | "forms" | "actions";
4625
4821
  /**
4626
4822
  * Chemin de la valeur à mettre à jour
4627
4823
  */
4628
4824
  path: string;
4825
+ /**
4826
+ * Chemin parent utilise pour une suppression (pull)
4827
+ */
4828
+ pull?: string;
4629
4829
  arrayForm?: boolean;
4830
+ setType?: string | {
4831
+ path: string;
4832
+ type: string;
4833
+ }[];
4630
4834
  /**
4631
4835
  * Valeur à mettre à jour (peut être un objet, un tableau, une chaîne, etc.)
4632
4836
  */
@@ -4814,3 +5018,252 @@ export interface FundingEnvelopeData {
4814
5018
  };
4815
5019
  [k: string]: unknown;
4816
5020
  }
5021
+ export interface CoremuOperationData {
5022
+ /**
5023
+ * ID du formulaire
5024
+ */
5025
+ form: string;
5026
+ /**
5027
+ * Nouvelle réponse à créer
5028
+ */
5029
+ answer: "new";
5030
+ /**
5031
+ * Action à exécuter
5032
+ */
5033
+ action: "generateproposition";
5034
+ /**
5035
+ * ID du projet
5036
+ */
5037
+ project: string;
5038
+ [k: string]: unknown;
5039
+ }
5040
+ export interface CostumProjectActionRequestNewData {
5041
+ /**
5042
+ * Nom de l'action
5043
+ */
5044
+ name: string;
5045
+ /**
5046
+ * Statut de l'action
5047
+ */
5048
+ status: string;
5049
+ /**
5050
+ * ID du projet parent
5051
+ */
5052
+ parentId: string;
5053
+ /**
5054
+ * Type du parent
5055
+ */
5056
+ parentType: "projects";
5057
+ /**
5058
+ * Montant financé
5059
+ */
5060
+ credits: number;
5061
+ /**
5062
+ * ID du jalon associé
5063
+ */
5064
+ "milestone[milestoneId]": string;
5065
+ [k: string]: unknown;
5066
+ }
5067
+ export interface LinkDiscourseAccountData {
5068
+ /**
5069
+ * Nom d'utilisateur du compte Discourse
5070
+ */
5071
+ username: string;
5072
+ /**
5073
+ * Slug du costume
5074
+ */
5075
+ costumSlug: string;
5076
+ /**
5077
+ * ID du costume
5078
+ */
5079
+ costumId: string;
5080
+ /**
5081
+ * Type du costume
5082
+ */
5083
+ costumType: string;
5084
+ [k: string]: unknown;
5085
+ }
5086
+ export interface UnlinkDiscourseAccountData {
5087
+ /**
5088
+ * Slug du costume
5089
+ */
5090
+ costumSlug: string;
5091
+ /**
5092
+ * ID du costume
5093
+ */
5094
+ costumId: string;
5095
+ /**
5096
+ * Type du costume
5097
+ */
5098
+ costumType: string;
5099
+ [k: string]: unknown;
5100
+ }
5101
+ export interface DiscourseProfileData {
5102
+ /**
5103
+ * Nom d'utilisateur du compte Discourse
5104
+ */
5105
+ username: string;
5106
+ /**
5107
+ * Slug du costume
5108
+ */
5109
+ costumSlug: string;
5110
+ /**
5111
+ * ID du costume
5112
+ */
5113
+ costumId: string;
5114
+ /**
5115
+ * Type du costume
5116
+ */
5117
+ costumType: string;
5118
+ [k: string]: unknown;
5119
+ }
5120
+ export interface DiscourseCheckEmailData {
5121
+ /**
5122
+ * Slug du costume
5123
+ */
5124
+ costumSlug: string;
5125
+ /**
5126
+ * ID du costume
5127
+ */
5128
+ costumId: string;
5129
+ /**
5130
+ * Type du costume
5131
+ */
5132
+ costumType: string;
5133
+ [k: string]: unknown;
5134
+ }
5135
+ export interface DiscourseDismissLinkData {
5136
+ /**
5137
+ * Slug du costume
5138
+ */
5139
+ costumSlug: string;
5140
+ /**
5141
+ * ID du costume
5142
+ */
5143
+ costumId: string;
5144
+ /**
5145
+ * Type du costume
5146
+ */
5147
+ costumType: string;
5148
+ [k: string]: unknown;
5149
+ }
5150
+ export interface LinkMediawikiAccountData {
5151
+ /**
5152
+ * Nom d'utilisateur du compte MediaWiki
5153
+ */
5154
+ username: string;
5155
+ /**
5156
+ * Slug du costume
5157
+ */
5158
+ costumSlug: string;
5159
+ /**
5160
+ * ID du costume
5161
+ */
5162
+ costumId: string;
5163
+ /**
5164
+ * Type du costume
5165
+ */
5166
+ costumType: string;
5167
+ [k: string]: unknown;
5168
+ }
5169
+ export interface UnlinkMediawikiAccountData {
5170
+ /**
5171
+ * Slug du costume
5172
+ */
5173
+ costumSlug: string;
5174
+ /**
5175
+ * ID du costume
5176
+ */
5177
+ costumId: string;
5178
+ /**
5179
+ * Type du costume
5180
+ */
5181
+ costumType: string;
5182
+ [k: string]: unknown;
5183
+ }
5184
+ export interface GetMediawikiContributionsData {
5185
+ /**
5186
+ * Nom d'utilisateur du compte MediaWiki
5187
+ */
5188
+ username: string;
5189
+ /**
5190
+ * Nombre maximum de contributions à retourner
5191
+ */
5192
+ limit?: number;
5193
+ /**
5194
+ * Slug du costume
5195
+ */
5196
+ costumSlug: string;
5197
+ /**
5198
+ * ID du costume
5199
+ */
5200
+ costumId: string;
5201
+ /**
5202
+ * Type du costume
5203
+ */
5204
+ costumType: string;
5205
+ [k: string]: unknown;
5206
+ }
5207
+ export interface AddClassifiedData {
5208
+ id: string;
5209
+ collection: "classifieds";
5210
+ key: "classified";
5211
+ name: string;
5212
+ section: "need" | "offer";
5213
+ category: "service" | "competence" | "material";
5214
+ subtype: string;
5215
+ /**
5216
+ * Objet contenant les entités parentes (clé = ID). Si absent, le default pose l'utilisateur connecté comme parent.
5217
+ */
5218
+ parent?: {
5219
+ /**
5220
+ * This interface was referenced by `undefined`'s JSON-Schema definition
5221
+ * via the `patternProperty` "^(?:[a-f0-9]{24}|@userId)$".
5222
+ */
5223
+ [k: string]: {
5224
+ type: string;
5225
+ name?: string;
5226
+ };
5227
+ };
5228
+ description?: string;
5229
+ tags?: string[];
5230
+ preferences?: {
5231
+ isOpenData: boolean;
5232
+ isOpenEdition: boolean;
5233
+ [k: string]: unknown;
5234
+ };
5235
+ geo?: {
5236
+ "@type"?: "GeoCoordinates";
5237
+ latitude: string | number;
5238
+ longitude: string | number;
5239
+ };
5240
+ geoPosition?: {
5241
+ type: "Point";
5242
+ /**
5243
+ * @minItems 2
5244
+ * @maxItems 2
5245
+ */
5246
+ coordinates: [number, number];
5247
+ float: true;
5248
+ [k: string]: unknown;
5249
+ };
5250
+ address?: {
5251
+ "@type": "PostalAddress";
5252
+ addressCountry: string;
5253
+ codeInsee: string;
5254
+ addressLocality: string;
5255
+ localityId: string;
5256
+ level1: string;
5257
+ level1Name: string;
5258
+ level2?: string;
5259
+ level2Name?: string;
5260
+ level3?: string;
5261
+ level3Name?: string;
5262
+ level4?: string;
5263
+ level4Name?: string;
5264
+ postalCode?: string;
5265
+ streetAddress?: string;
5266
+ };
5267
+ scope: "";
5268
+ [k: string]: unknown;
5269
+ }
@@ -1,5 +1,5 @@
1
1
  import type { CollectionType } from "../types/entities.js";
2
- export type EntityTag = "User" | "Organization" | "Project" | "Event" | "Poi" | "Badge" | "News" | "Comment" | "Answer" | "Form";
2
+ export type EntityTag = "User" | "Organization" | "Project" | "Event" | "Poi" | "Badge" | "News" | "Comment" | "Answer" | "Form" | "Classified";
3
3
  export type CollectionKey = CollectionType;
4
4
  type BaseEntity = import("./BaseEntity.js").BaseEntity<any>;
5
5
  type ApiClient = import("../ApiClient.js").default;
@@ -67,7 +67,7 @@ export declare class Organization extends BaseEntity<OrganizationItemNormalized>
67
67
  readonly updateMethod: "updateOpeningHours";
68
68
  readonly schemaConstant: "VIRTUAL_OPENING_HOURS";
69
69
  }>;
70
- static ADD_BLOCKS: Map<"PROFIL_IMAGE" | "ADD_ORGANIZATION", "updateImageProfil" | "addOrganization">;
70
+ static ADD_BLOCKS: Map<"UPDATE_BLOCK_SOCIAL" | "PROFIL_IMAGE" | "ADD_ORGANIZATION", "updateImageProfil" | "updateSocial" | "addOrganization">;
71
71
  static UPDATE_BLOCKS: Map<"UPDATE_BLOCK_DESCRIPTION" | "UPDATE_BLOCK_INFO" | "UPDATE_BLOCK_SOCIAL" | "UPDATE_BLOCK_LOCALITY" | "UPDATE_BLOCK_SLUG" | "PROFIL_IMAGE", "updateImageProfil" | "updateDescription" | "updateSocial" | "updateLocality" | "updateInfo" | "updateSlug">;
72
72
  defaultFields: Record<string, any>;
73
73
  removeFields: string[];
@@ -9,6 +9,7 @@ export declare class Poi extends BaseEntity<PoiItemNormalized> {
9
9
  static UPDATE_BLOCKS: Map<"UPDATE_BLOCK_DESCRIPTION" | "UPDATE_BLOCK_INFO" | "UPDATE_BLOCK_LOCALITY" | "UPDATE_BLOCK_SLUG" | "PROFIL_IMAGE", "updateImageProfil" | "updateDescription" | "updateLocality" | "updateInfo" | "updateSlug">;
10
10
  defaultFields: Record<string, any>;
11
11
  removeFields: string[];
12
+ transforms: Record<string, (val: any, full?: any) => any>;
12
13
  _add: (payload: Record<string, any>) => Promise<void>;
13
14
  _update: (payload: Record<string, any>) => Promise<boolean>;
14
15
  addPoi(data?: Partial<AddPoiData>): Promise<unknown>;
@@ -45,6 +45,7 @@ export declare class User extends BaseEntity<UserItemNormalized> {
45
45
  News: typeof import("./News.js").News;
46
46
  Comment: typeof import("./Comment.js").Comment;
47
47
  Answer: typeof import("./Answer.js").Answer;
48
+ Classified?: typeof import("./Classified.js").Classified;
48
49
  });
49
50
  get slug(): any;
50
51
  get isMe(): boolean;
@@ -0,0 +1,72 @@
1
+ import type { GeoCoordinates, GeoPosition, IdObject, ParentsMap, PostalAddress, DateValue } from "./common.js";
2
+ import type EJSONType from "../../EJSONType.js";
3
+ type ObjectIDCtor = typeof EJSONType["ObjectID"];
4
+ type ObjectID = InstanceType<ObjectIDCtor>;
5
+ export declare const CLASSIFIED_SECTIONS: readonly ["need", "offer"];
6
+ export type ClassifiedSection = (typeof CLASSIFIED_SECTIONS)[number];
7
+ export declare const CLASSIFIED_CATEGORIES: readonly ["service", "competence", "material"];
8
+ export type ClassifiedCategory = (typeof CLASSIFIED_CATEGORIES)[number];
9
+ export interface ClassifiedSubcatEntry {
10
+ key: string;
11
+ label: string;
12
+ icon: string;
13
+ }
14
+ export interface ClassifiedCategoryDef {
15
+ key: ClassifiedCategory;
16
+ icon: string;
17
+ label: string;
18
+ subcat: Record<string, ClassifiedSubcatEntry>;
19
+ }
20
+ export declare const CLASSIFIED_SUBCATEGORIES: Record<ClassifiedCategory, ClassifiedCategoryDef>;
21
+ export type ServiceSubcat = keyof typeof CLASSIFIED_SUBCATEGORIES.service.subcat;
22
+ export type CompetenceSubcat = keyof typeof CLASSIFIED_SUBCATEGORIES.competence.subcat;
23
+ export type MaterialSubcat = keyof typeof CLASSIFIED_SUBCATEGORIES.material.subcat;
24
+ export type ClassifiedSubcat = ServiceSubcat | CompetenceSubcat | MaterialSubcat;
25
+ export interface ClassifiedItemJson {
26
+ _id: IdObject;
27
+ collection: "classifieds";
28
+ name: string;
29
+ section: ClassifiedSection;
30
+ category: ClassifiedCategory;
31
+ subtype: ClassifiedSubcat;
32
+ created?: DateValue;
33
+ updated?: DateValue;
34
+ modified?: DateValue;
35
+ parent?: ParentsMap;
36
+ description?: string;
37
+ slug?: string;
38
+ address?: PostalAddress;
39
+ geo?: GeoCoordinates;
40
+ geoPosition?: GeoPosition;
41
+ tags?: string[];
42
+ creator?: string;
43
+ profilImageUrl?: string;
44
+ profilMediumImageUrl?: string;
45
+ profilThumbImageUrl?: string;
46
+ [key: string]: unknown;
47
+ }
48
+ export interface ClassifiedItemNormalized {
49
+ id: string;
50
+ _id: ObjectID;
51
+ collection: "classifieds";
52
+ name: string;
53
+ section: ClassifiedSection;
54
+ category: ClassifiedCategory;
55
+ subtype: ClassifiedSubcat;
56
+ created?: Date;
57
+ updated?: Date;
58
+ modified?: Date;
59
+ parent?: ParentsMap;
60
+ description?: string;
61
+ slug?: string;
62
+ address?: PostalAddress;
63
+ geo?: GeoCoordinates;
64
+ geoPosition?: GeoPosition;
65
+ tags?: string[];
66
+ creator?: string;
67
+ profilImageUrl?: string;
68
+ profilMediumImageUrl?: string;
69
+ profilThumbImageUrl?: string;
70
+ [key: string]: unknown;
71
+ }
72
+ export {};