@communecter/cocolight-api-client 1.0.131 → 1.0.132
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/cocolight-api-client.browser.js +3 -3
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/Api.ts +4 -4
- package/src/ApiClient.ts +3 -1
- package/src/api/Action.ts +4 -0
- package/src/api/Answer.ts +4 -1
- package/src/api/Badge.ts +5 -0
- package/src/api/BaseEntity.ts +96 -7
- package/src/api/Classified.ts +4 -0
- package/src/api/Comment.ts +3 -0
- package/src/api/EndpointApi.ts +16 -1
- package/src/api/EndpointApi.types.ts +375 -44
- package/src/api/Event.ts +5 -0
- package/src/api/Form.ts +64 -2
- package/src/api/News.ts +3 -0
- package/src/api/Organization.ts +44 -2
- package/src/api/Poi.ts +4 -0
- package/src/api/Project.ts +47 -0
- package/src/api/User.ts +10 -0
- package/src/api/serverDataType/Answer.ts +25 -0
- package/src/api/serverDataType/Form.ts +84 -4
- package/src/api/serverDataType/Organization.ts +13 -0
- package/src/api/serverDataType/Project.ts +15 -0
- package/src/endpoints.module.ts +1185 -208
- package/types/api/Action.d.ts +1 -0
- package/types/api/Answer.d.ts +1 -0
- package/types/api/Badge.d.ts +1 -0
- package/types/api/BaseEntity.d.ts +45 -0
- package/types/api/Classified.d.ts +1 -0
- package/types/api/Comment.d.ts +1 -0
- package/types/api/EndpointApi.d.ts +10 -1
- package/types/api/EndpointApi.types.d.ts +334 -41
- package/types/api/Event.d.ts +1 -0
- package/types/api/Form.d.ts +34 -0
- package/types/api/News.d.ts +1 -0
- package/types/api/Organization.d.ts +20 -1
- package/types/api/Poi.d.ts +1 -0
- package/types/api/Project.d.ts +21 -0
- package/types/api/User.d.ts +7 -0
- package/types/api/serverDataType/Answer.d.ts +22 -0
- package/types/api/serverDataType/Form.d.ts +89 -4
- package/types/api/serverDataType/Organization.d.ts +13 -0
- package/types/api/serverDataType/Project.d.ts +15 -0
- package/types/endpoints.module.d.ts +1222 -1005
|
@@ -1024,9 +1024,9 @@ export interface GlobalAutocompleteData {
|
|
|
1024
1024
|
| "forms"
|
|
1025
1025
|
)[];
|
|
1026
1026
|
/**
|
|
1027
|
-
*
|
|
1027
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1028
1028
|
*/
|
|
1029
|
-
searchBy?:
|
|
1029
|
+
searchBy?: string | [string, ...string[]];
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Index de départ global pour la pagination (toujours 0)
|
|
1032
1032
|
*/
|
|
@@ -1151,9 +1151,9 @@ export interface GetProjectsNoAdminData {
|
|
|
1151
1151
|
*/
|
|
1152
1152
|
searchType: "projects"[];
|
|
1153
1153
|
/**
|
|
1154
|
-
*
|
|
1154
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1155
1155
|
*/
|
|
1156
|
-
searchBy?:
|
|
1156
|
+
searchBy?: string | [string, ...string[]];
|
|
1157
1157
|
/**
|
|
1158
1158
|
* Index de départ global pour la pagination
|
|
1159
1159
|
*/
|
|
@@ -1231,9 +1231,9 @@ export interface GetProjectsAdminData {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
searchType: "projects"[];
|
|
1233
1233
|
/**
|
|
1234
|
-
*
|
|
1234
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1235
1235
|
*/
|
|
1236
|
-
searchBy?:
|
|
1236
|
+
searchBy?: string | [string, ...string[]];
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Index de départ global pour la pagination
|
|
1239
1239
|
*/
|
|
@@ -1322,9 +1322,9 @@ export interface GetPoisNoAdminData {
|
|
|
1322
1322
|
*/
|
|
1323
1323
|
searchType: "poi"[];
|
|
1324
1324
|
/**
|
|
1325
|
-
*
|
|
1325
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1326
1326
|
*/
|
|
1327
|
-
searchBy?:
|
|
1327
|
+
searchBy?: string | [string, ...string[]];
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Index de départ global pour la pagination
|
|
1330
1330
|
*/
|
|
@@ -1403,9 +1403,9 @@ export interface GetPoisAdminData {
|
|
|
1403
1403
|
*/
|
|
1404
1404
|
searchType: "poi"[];
|
|
1405
1405
|
/**
|
|
1406
|
-
*
|
|
1406
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1407
1407
|
*/
|
|
1408
|
-
searchBy?:
|
|
1408
|
+
searchBy?: string | [string, ...string[]];
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Index de départ global pour la pagination
|
|
1411
1411
|
*/
|
|
@@ -1526,9 +1526,9 @@ export interface GetOrganizationsNoAdminData {
|
|
|
1526
1526
|
};
|
|
1527
1527
|
};
|
|
1528
1528
|
/**
|
|
1529
|
-
*
|
|
1529
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1530
1530
|
*/
|
|
1531
|
-
searchBy?:
|
|
1531
|
+
searchBy?: string | [string, ...string[]];
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Type initial de la recherche, vide par défaut
|
|
1534
1534
|
*/
|
|
@@ -1599,9 +1599,9 @@ export interface GetOrganizationsAdminData {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
};
|
|
1601
1601
|
/**
|
|
1602
|
-
*
|
|
1602
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1603
1603
|
*/
|
|
1604
|
-
searchBy?:
|
|
1604
|
+
searchBy?: string | [string, ...string[]];
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Type initial de la recherche, vide par défaut
|
|
1607
1607
|
*/
|
|
@@ -1659,9 +1659,9 @@ export interface GetMembersNoAdminData {
|
|
|
1659
1659
|
...("citoyens" | "NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative")[]
|
|
1660
1660
|
];
|
|
1661
1661
|
/**
|
|
1662
|
-
*
|
|
1662
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1663
1663
|
*/
|
|
1664
|
-
searchBy?:
|
|
1664
|
+
searchBy?: string | [string, ...string[]];
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Index de départ global pour la pagination
|
|
1667
1667
|
*/
|
|
@@ -1739,9 +1739,9 @@ export interface GetMembersAdminData {
|
|
|
1739
1739
|
...("citoyens" | "NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative")[]
|
|
1740
1740
|
];
|
|
1741
1741
|
/**
|
|
1742
|
-
*
|
|
1742
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1743
1743
|
*/
|
|
1744
|
-
searchBy?:
|
|
1744
|
+
searchBy?: string | [string, ...string[]];
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Index de départ global pour la pagination
|
|
1747
1747
|
*/
|
|
@@ -1907,9 +1907,9 @@ export interface GetSubscriptionsData {
|
|
|
1907
1907
|
| "projects"
|
|
1908
1908
|
)[];
|
|
1909
1909
|
/**
|
|
1910
|
-
*
|
|
1910
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1911
1911
|
*/
|
|
1912
|
-
searchBy?:
|
|
1912
|
+
searchBy?: string | [string, ...string[]];
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Index de départ global pour la pagination
|
|
1915
1915
|
*/
|
|
@@ -1990,9 +1990,9 @@ export interface GetSubscriptionsAdminData {
|
|
|
1990
1990
|
| "projects"
|
|
1991
1991
|
)[];
|
|
1992
1992
|
/**
|
|
1993
|
-
*
|
|
1993
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
1994
1994
|
*/
|
|
1995
|
-
searchBy?:
|
|
1995
|
+
searchBy?: string | [string, ...string[]];
|
|
1996
1996
|
/**
|
|
1997
1997
|
* Index de départ global pour la pagination
|
|
1998
1998
|
*/
|
|
@@ -2072,9 +2072,9 @@ export interface GetSubscribersData {
|
|
|
2072
2072
|
*/
|
|
2073
2073
|
searchType: "citoyens"[];
|
|
2074
2074
|
/**
|
|
2075
|
-
*
|
|
2075
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
2076
2076
|
*/
|
|
2077
|
-
searchBy?:
|
|
2077
|
+
searchBy?: string | [string, ...string[]];
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Index de départ global pour la pagination
|
|
2080
2080
|
*/
|
|
@@ -2211,9 +2211,9 @@ export interface GetContributorsNoAdminData {
|
|
|
2211
2211
|
...("citoyens" | "NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative")[]
|
|
2212
2212
|
];
|
|
2213
2213
|
/**
|
|
2214
|
-
*
|
|
2214
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
2215
2215
|
*/
|
|
2216
|
-
searchBy?:
|
|
2216
|
+
searchBy?: string | [string, ...string[]];
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Index de départ global pour la pagination
|
|
2219
2219
|
*/
|
|
@@ -2291,9 +2291,9 @@ export interface GetContributorsAdminData {
|
|
|
2291
2291
|
...("citoyens" | "NGO" | "LocalBusiness" | "Group" | "GovernmentOrganization" | "Cooperative")[]
|
|
2292
2292
|
];
|
|
2293
2293
|
/**
|
|
2294
|
-
*
|
|
2294
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
2295
2295
|
*/
|
|
2296
|
-
searchBy?:
|
|
2296
|
+
searchBy?: string | [string, ...string[]];
|
|
2297
2297
|
/**
|
|
2298
2298
|
* Index de départ global pour la pagination
|
|
2299
2299
|
*/
|
|
@@ -2373,9 +2373,9 @@ export interface GetBadgesData {
|
|
|
2373
2373
|
*/
|
|
2374
2374
|
searchType: "badges"[];
|
|
2375
2375
|
/**
|
|
2376
|
-
*
|
|
2376
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
2377
2377
|
*/
|
|
2378
|
-
searchBy?:
|
|
2378
|
+
searchBy?: string | [string, ...string[]];
|
|
2379
2379
|
/**
|
|
2380
2380
|
* Index de départ global pour la pagination (toujours 0)
|
|
2381
2381
|
*/
|
|
@@ -4233,24 +4233,235 @@ export interface GlobalAutocompleteCostumData {
|
|
|
4233
4233
|
*/
|
|
4234
4234
|
name?: string;
|
|
4235
4235
|
/**
|
|
4236
|
-
*
|
|
4236
|
+
* Localités ciblées. Trois formes acceptées : object keyé (forme historique), array d'objets (forme alternative consommée par `foreach`), ou chaîne vide (placeholder = pas de filtre).
|
|
4237
4237
|
*/
|
|
4238
|
-
locality?:
|
|
4238
|
+
locality?:
|
|
4239
|
+
| {
|
|
4240
|
+
/**
|
|
4241
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
4242
|
+
* via the `patternProperty` "^[^\s]+$".
|
|
4243
|
+
*/
|
|
4244
|
+
[k: string]: {
|
|
4245
|
+
/**
|
|
4246
|
+
* Identifiant de la localité
|
|
4247
|
+
*/
|
|
4248
|
+
id: string;
|
|
4249
|
+
/**
|
|
4250
|
+
* Type de localité
|
|
4251
|
+
*/
|
|
4252
|
+
type: "cities" | "cp" | "country" | "level1" | "level2" | "level3" | "level4" | "level5";
|
|
4253
|
+
postalCode?: string;
|
|
4254
|
+
countryCode?: string;
|
|
4255
|
+
name?: string;
|
|
4256
|
+
level?: string | number;
|
|
4257
|
+
};
|
|
4258
|
+
}
|
|
4259
|
+
| {
|
|
4260
|
+
id: string;
|
|
4261
|
+
type: "cities" | "cp" | "country" | "level1" | "level2" | "level3" | "level4" | "level5";
|
|
4262
|
+
postalCode?: string;
|
|
4263
|
+
countryCode?: string;
|
|
4264
|
+
name?: string;
|
|
4265
|
+
level?: string | number;
|
|
4266
|
+
}[]
|
|
4267
|
+
| "";
|
|
4268
|
+
/**
|
|
4269
|
+
* Types d'entités à inclure dans la recherche
|
|
4270
|
+
*/
|
|
4271
|
+
searchType: (
|
|
4272
|
+
| "NGO"
|
|
4273
|
+
| "LocalBusiness"
|
|
4274
|
+
| "Group"
|
|
4275
|
+
| "GovernmentOrganization"
|
|
4276
|
+
| "Cooperative"
|
|
4277
|
+
| "organizations"
|
|
4278
|
+
| "projects"
|
|
4279
|
+
| "events"
|
|
4280
|
+
| "citoyens"
|
|
4281
|
+
| "poi"
|
|
4282
|
+
| "answers"
|
|
4283
|
+
| "forms"
|
|
4284
|
+
| "classifieds"
|
|
4285
|
+
)[];
|
|
4286
|
+
/**
|
|
4287
|
+
* Balises (tags) à utiliser pour filtrer la recherche
|
|
4288
|
+
*/
|
|
4289
|
+
searchTags?: string[];
|
|
4290
|
+
/**
|
|
4291
|
+
* Liste fixe des types à compter dans les résultats
|
|
4292
|
+
*/
|
|
4293
|
+
countType: (
|
|
4294
|
+
| "NGO"
|
|
4295
|
+
| "LocalBusiness"
|
|
4296
|
+
| "Group"
|
|
4297
|
+
| "GovernmentOrganization"
|
|
4298
|
+
| "Cooperative"
|
|
4299
|
+
| "organizations"
|
|
4300
|
+
| "projects"
|
|
4301
|
+
| "events"
|
|
4302
|
+
| "citoyens"
|
|
4303
|
+
| "poi"
|
|
4304
|
+
| "answers"
|
|
4305
|
+
| "forms"
|
|
4306
|
+
| "classifieds"
|
|
4307
|
+
)[];
|
|
4308
|
+
/**
|
|
4309
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
4310
|
+
*/
|
|
4311
|
+
searchBy?: string | [string, ...string[]];
|
|
4312
|
+
/**
|
|
4313
|
+
* Index de départ global pour la pagination
|
|
4314
|
+
*/
|
|
4315
|
+
indexMin: number;
|
|
4316
|
+
/**
|
|
4317
|
+
* Index de fin global pour la pagination
|
|
4318
|
+
*/
|
|
4319
|
+
indexMax?: number;
|
|
4320
|
+
/**
|
|
4321
|
+
* Nombre d’éléments à récupérer (limite de pagination)
|
|
4322
|
+
*/
|
|
4323
|
+
indexStep: number;
|
|
4324
|
+
/**
|
|
4325
|
+
* Configuration des plages de résultats pour chaque type de recherche
|
|
4326
|
+
*/
|
|
4327
|
+
ranges?: {
|
|
4239
4328
|
/**
|
|
4240
4329
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
4241
4330
|
* via the `patternProperty` "^[^\s]+$".
|
|
4242
4331
|
*/
|
|
4243
4332
|
[k: string]: {
|
|
4244
4333
|
/**
|
|
4245
|
-
*
|
|
4334
|
+
* Index de départ pour la pagination
|
|
4246
4335
|
*/
|
|
4247
|
-
|
|
4336
|
+
indexMin: number;
|
|
4248
4337
|
/**
|
|
4249
|
-
*
|
|
4338
|
+
* Index de fin pour la pagination
|
|
4339
|
+
*/
|
|
4340
|
+
indexMax: number;
|
|
4341
|
+
};
|
|
4342
|
+
};
|
|
4343
|
+
/**
|
|
4344
|
+
* Type initial de la recherche, vide par défaut
|
|
4345
|
+
*/
|
|
4346
|
+
initType: "";
|
|
4347
|
+
/**
|
|
4348
|
+
* Indique si les types doivent être comptés dans les résultats
|
|
4349
|
+
*/
|
|
4350
|
+
count: true;
|
|
4351
|
+
/**
|
|
4352
|
+
* Filtres additionnels appliqués à la recherche (objet ou chaîne vide)
|
|
4353
|
+
*/
|
|
4354
|
+
filters?:
|
|
4355
|
+
| {
|
|
4356
|
+
[k: string]: unknown;
|
|
4357
|
+
}
|
|
4358
|
+
| "";
|
|
4359
|
+
/**
|
|
4360
|
+
* Liste des champs à retourner
|
|
4361
|
+
*/
|
|
4362
|
+
fields?: string[];
|
|
4363
|
+
/**
|
|
4364
|
+
* Champ de tri (clé = champ, valeur = 1 ou -1)
|
|
4365
|
+
*/
|
|
4366
|
+
sortBy?: {
|
|
4367
|
+
[k: string]: 1 | -1;
|
|
4368
|
+
};
|
|
4369
|
+
/**
|
|
4370
|
+
* Indique si la recherche doit s'étendre au Fediverse (toujours désactivé)
|
|
4371
|
+
*/
|
|
4372
|
+
fediverse: boolean;
|
|
4373
|
+
/**
|
|
4374
|
+
* Indique si la recherche est effectuée à partir d'une carte (toujours désactivé)
|
|
4375
|
+
*/
|
|
4376
|
+
mapUsed?: true;
|
|
4377
|
+
/**
|
|
4378
|
+
* Indique si on doit exclure les éléments avec une source
|
|
4379
|
+
*/
|
|
4380
|
+
notSourceKey?: true;
|
|
4381
|
+
/**
|
|
4382
|
+
* ID du contexte de recherche (actuellement vide)
|
|
4383
|
+
*/
|
|
4384
|
+
contextId?: string;
|
|
4385
|
+
/**
|
|
4386
|
+
* Type de contexte de recherche (actuellement vide)
|
|
4387
|
+
*/
|
|
4388
|
+
contextType?: "projects" | "organizations";
|
|
4389
|
+
/**
|
|
4390
|
+
* Slug du costume utilisé pour la recherche
|
|
4391
|
+
*/
|
|
4392
|
+
costumSlug: string;
|
|
4393
|
+
/**
|
|
4394
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4395
|
+
*/
|
|
4396
|
+
costumId?: string;
|
|
4397
|
+
/**
|
|
4398
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4399
|
+
*/
|
|
4400
|
+
costumType?: "projects" | "organizations";
|
|
4401
|
+
/**
|
|
4402
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4403
|
+
*/
|
|
4404
|
+
mode?: string;
|
|
4405
|
+
/**
|
|
4406
|
+
* Clés de source pour la recherche
|
|
4407
|
+
*/
|
|
4408
|
+
sourceKey?: string[];
|
|
4409
|
+
/**
|
|
4410
|
+
* Indique si le mode d'édition du costume est activé (toujours désactivé)
|
|
4411
|
+
*/
|
|
4412
|
+
costumEditMode: boolean;
|
|
4413
|
+
options?: {
|
|
4414
|
+
tags?: {
|
|
4415
|
+
/**
|
|
4416
|
+
* Verbe d'action pour le filtre de recherche
|
|
4250
4417
|
*/
|
|
4251
|
-
|
|
4418
|
+
verb?: string;
|
|
4419
|
+
[k: string]: unknown;
|
|
4252
4420
|
};
|
|
4421
|
+
[k: string]: unknown;
|
|
4253
4422
|
};
|
|
4423
|
+
[k: string]: unknown;
|
|
4424
|
+
}
|
|
4425
|
+
|
|
4426
|
+
|
|
4427
|
+
export interface NavigatorGettlData {
|
|
4428
|
+
/**
|
|
4429
|
+
* Nom ou mot-clé de la recherche
|
|
4430
|
+
*/
|
|
4431
|
+
name?: string;
|
|
4432
|
+
/**
|
|
4433
|
+
* Localités ciblées. Trois formes acceptées : object keyé (forme historique), array d'objets (forme alternative consommée par `foreach`), ou chaîne vide (placeholder = pas de filtre).
|
|
4434
|
+
*/
|
|
4435
|
+
locality?:
|
|
4436
|
+
| {
|
|
4437
|
+
/**
|
|
4438
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
4439
|
+
* via the `patternProperty` "^[^\s]+$".
|
|
4440
|
+
*/
|
|
4441
|
+
[k: string]: {
|
|
4442
|
+
/**
|
|
4443
|
+
* Identifiant de la localité
|
|
4444
|
+
*/
|
|
4445
|
+
id: string;
|
|
4446
|
+
/**
|
|
4447
|
+
* Type de localité
|
|
4448
|
+
*/
|
|
4449
|
+
type: "cities" | "cp" | "country" | "level1" | "level2" | "level3" | "level4" | "level5";
|
|
4450
|
+
postalCode?: string;
|
|
4451
|
+
countryCode?: string;
|
|
4452
|
+
name?: string;
|
|
4453
|
+
level?: string | number;
|
|
4454
|
+
};
|
|
4455
|
+
}
|
|
4456
|
+
| {
|
|
4457
|
+
id: string;
|
|
4458
|
+
type: "cities" | "cp" | "country" | "level1" | "level2" | "level3" | "level4" | "level5";
|
|
4459
|
+
postalCode?: string;
|
|
4460
|
+
countryCode?: string;
|
|
4461
|
+
name?: string;
|
|
4462
|
+
level?: string | number;
|
|
4463
|
+
}[]
|
|
4464
|
+
| "";
|
|
4254
4465
|
/**
|
|
4255
4466
|
* Types d'entités à inclure dans la recherche
|
|
4256
4467
|
*/
|
|
@@ -4292,9 +4503,9 @@ export interface GlobalAutocompleteCostumData {
|
|
|
4292
4503
|
| "classifieds"
|
|
4293
4504
|
)[];
|
|
4294
4505
|
/**
|
|
4295
|
-
*
|
|
4506
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
4296
4507
|
*/
|
|
4297
|
-
searchBy?:
|
|
4508
|
+
searchBy?: string | [string, ...string[]];
|
|
4298
4509
|
/**
|
|
4299
4510
|
* Index de départ global pour la pagination
|
|
4300
4511
|
*/
|
|
@@ -4376,6 +4587,18 @@ export interface GlobalAutocompleteCostumData {
|
|
|
4376
4587
|
* Slug du costume utilisé pour la recherche
|
|
4377
4588
|
*/
|
|
4378
4589
|
costumSlug: string;
|
|
4590
|
+
/**
|
|
4591
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4592
|
+
*/
|
|
4593
|
+
costumId?: string;
|
|
4594
|
+
/**
|
|
4595
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4596
|
+
*/
|
|
4597
|
+
costumType?: "projects" | "organizations";
|
|
4598
|
+
/**
|
|
4599
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4600
|
+
*/
|
|
4601
|
+
mode?: string;
|
|
4379
4602
|
/**
|
|
4380
4603
|
* Clés de source pour la recherche
|
|
4381
4604
|
*/
|
|
@@ -4427,6 +4650,18 @@ export interface CostumEventRequestActorsData {
|
|
|
4427
4650
|
* Slug du costume utilisé pour la recherche
|
|
4428
4651
|
*/
|
|
4429
4652
|
costumSlug?: string;
|
|
4653
|
+
/**
|
|
4654
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4655
|
+
*/
|
|
4656
|
+
costumId?: string;
|
|
4657
|
+
/**
|
|
4658
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4659
|
+
*/
|
|
4660
|
+
costumType?: "projects" | "organizations";
|
|
4661
|
+
/**
|
|
4662
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4663
|
+
*/
|
|
4664
|
+
mode?: string;
|
|
4430
4665
|
/**
|
|
4431
4666
|
* Clés de source pour la recherche
|
|
4432
4667
|
*/
|
|
@@ -4502,6 +4737,18 @@ export interface CostumEventRequestSubeventsData {
|
|
|
4502
4737
|
* Slug du costume utilisé pour la recherche
|
|
4503
4738
|
*/
|
|
4504
4739
|
costumSlug?: string;
|
|
4740
|
+
/**
|
|
4741
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4742
|
+
*/
|
|
4743
|
+
costumId?: string;
|
|
4744
|
+
/**
|
|
4745
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4746
|
+
*/
|
|
4747
|
+
costumType?: "projects" | "organizations";
|
|
4748
|
+
/**
|
|
4749
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4750
|
+
*/
|
|
4751
|
+
mode?: string;
|
|
4505
4752
|
/**
|
|
4506
4753
|
* Clés de source pour la recherche
|
|
4507
4754
|
*/
|
|
@@ -4538,6 +4785,18 @@ export interface CostumEventRequestElementEventData {
|
|
|
4538
4785
|
* Slug du costume utilisé pour la recherche
|
|
4539
4786
|
*/
|
|
4540
4787
|
costumSlug?: string;
|
|
4788
|
+
/**
|
|
4789
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4790
|
+
*/
|
|
4791
|
+
costumId?: string;
|
|
4792
|
+
/**
|
|
4793
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4794
|
+
*/
|
|
4795
|
+
costumType?: "projects" | "organizations";
|
|
4796
|
+
/**
|
|
4797
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4798
|
+
*/
|
|
4799
|
+
mode?: string;
|
|
4541
4800
|
/**
|
|
4542
4801
|
* Clés de source pour la recherche
|
|
4543
4802
|
*/
|
|
@@ -4574,6 +4833,18 @@ export interface CostumEventRequestCategoriesData {
|
|
|
4574
4833
|
* Slug du costume utilisé pour la recherche
|
|
4575
4834
|
*/
|
|
4576
4835
|
costumSlug?: string;
|
|
4836
|
+
/**
|
|
4837
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4838
|
+
*/
|
|
4839
|
+
costumId?: string;
|
|
4840
|
+
/**
|
|
4841
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4842
|
+
*/
|
|
4843
|
+
costumType?: "projects" | "organizations";
|
|
4844
|
+
/**
|
|
4845
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4846
|
+
*/
|
|
4847
|
+
mode?: string;
|
|
4577
4848
|
/**
|
|
4578
4849
|
* Clés de source pour la recherche
|
|
4579
4850
|
*/
|
|
@@ -4628,6 +4899,18 @@ export interface CostumEventRequestDatesData {
|
|
|
4628
4899
|
* Slug du costume utilisé pour la recherche
|
|
4629
4900
|
*/
|
|
4630
4901
|
costumSlug?: string;
|
|
4902
|
+
/**
|
|
4903
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4904
|
+
*/
|
|
4905
|
+
costumId?: string;
|
|
4906
|
+
/**
|
|
4907
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4908
|
+
*/
|
|
4909
|
+
costumType?: "projects" | "organizations";
|
|
4910
|
+
/**
|
|
4911
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4912
|
+
*/
|
|
4913
|
+
mode?: string;
|
|
4631
4914
|
/**
|
|
4632
4915
|
* Clés de source pour la recherche
|
|
4633
4916
|
*/
|
|
@@ -4664,6 +4947,18 @@ export interface CostumEventRequestEventData {
|
|
|
4664
4947
|
* Slug du costume utilisé pour la recherche
|
|
4665
4948
|
*/
|
|
4666
4949
|
costumSlug?: string;
|
|
4950
|
+
/**
|
|
4951
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
4952
|
+
*/
|
|
4953
|
+
costumId?: string;
|
|
4954
|
+
/**
|
|
4955
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
4956
|
+
*/
|
|
4957
|
+
costumType?: "projects" | "organizations";
|
|
4958
|
+
/**
|
|
4959
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
4960
|
+
*/
|
|
4961
|
+
mode?: string;
|
|
4667
4962
|
/**
|
|
4668
4963
|
* Clés de source pour la recherche
|
|
4669
4964
|
*/
|
|
@@ -4708,6 +5003,18 @@ export interface CostumEventRequestLinkTlToEventData {
|
|
|
4708
5003
|
* Slug du costume utilisé pour la recherche
|
|
4709
5004
|
*/
|
|
4710
5005
|
costumSlug?: string;
|
|
5006
|
+
/**
|
|
5007
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
5008
|
+
*/
|
|
5009
|
+
costumId?: string;
|
|
5010
|
+
/**
|
|
5011
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
5012
|
+
*/
|
|
5013
|
+
costumType?: "projects" | "organizations";
|
|
5014
|
+
/**
|
|
5015
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
5016
|
+
*/
|
|
5017
|
+
mode?: string;
|
|
4711
5018
|
/**
|
|
4712
5019
|
* Clés de source pour la recherche
|
|
4713
5020
|
*/
|
|
@@ -4752,6 +5059,18 @@ export interface CostumEventRequestLoadContextTagData {
|
|
|
4752
5059
|
* Slug du costume utilisé pour la recherche
|
|
4753
5060
|
*/
|
|
4754
5061
|
costumSlug?: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
5064
|
+
*/
|
|
5065
|
+
costumId?: string;
|
|
5066
|
+
/**
|
|
5067
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
5068
|
+
*/
|
|
5069
|
+
costumType?: "projects" | "organizations";
|
|
5070
|
+
/**
|
|
5071
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
5072
|
+
*/
|
|
5073
|
+
mode?: string;
|
|
4755
5074
|
/**
|
|
4756
5075
|
* Clés de source pour la recherche
|
|
4757
5076
|
*/
|
|
@@ -4813,9 +5132,9 @@ export interface GetAttendeesNoAdminData {
|
|
|
4813
5132
|
*/
|
|
4814
5133
|
searchType: "citoyens"[];
|
|
4815
5134
|
/**
|
|
4816
|
-
*
|
|
5135
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
4817
5136
|
*/
|
|
4818
|
-
searchBy?:
|
|
5137
|
+
searchBy?: string | [string, ...string[]];
|
|
4819
5138
|
/**
|
|
4820
5139
|
* Index de départ global pour la pagination
|
|
4821
5140
|
*/
|
|
@@ -4888,9 +5207,9 @@ export interface GetAttendeesAdminData {
|
|
|
4888
5207
|
*/
|
|
4889
5208
|
searchType: "citoyens"[];
|
|
4890
5209
|
/**
|
|
4891
|
-
*
|
|
5210
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
4892
5211
|
*/
|
|
4893
|
-
searchBy?:
|
|
5212
|
+
searchBy?: string | [string, ...string[]];
|
|
4894
5213
|
/**
|
|
4895
5214
|
* Index de départ global pour la pagination
|
|
4896
5215
|
*/
|
|
@@ -4997,9 +5316,9 @@ export interface CoformAnswersSearchData {
|
|
|
4997
5316
|
*/
|
|
4998
5317
|
countType: "answers"[];
|
|
4999
5318
|
/**
|
|
5000
|
-
*
|
|
5319
|
+
* Sélecteur des champs où chercher le terme `name`. Trois formes acceptées : `"ALL"` (cherche dans name/title/slug/tags/source.keys/sigle/description), chaîne CSV (`"name,slug,tags"`), ou tableau de chemins (`["name", "address.addressLocality"]`).
|
|
5001
5320
|
*/
|
|
5002
|
-
searchBy?:
|
|
5321
|
+
searchBy?: string | [string, ...string[]];
|
|
5003
5322
|
/**
|
|
5004
5323
|
* Index de départ global pour la pagination
|
|
5005
5324
|
*/
|
|
@@ -5081,6 +5400,18 @@ export interface CoformAnswersSearchData {
|
|
|
5081
5400
|
* Slug du costume utilisé pour la recherche
|
|
5082
5401
|
*/
|
|
5083
5402
|
costumSlug?: string;
|
|
5403
|
+
/**
|
|
5404
|
+
* Alias historique de `contextId` — id du contexte costum. Le backend lit l'un OU l'autre (`isset($post['contextId']) ? ... : $post['costumId']`).
|
|
5405
|
+
*/
|
|
5406
|
+
costumId?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* Alias historique de `contextType` — type du contexte costum.
|
|
5409
|
+
*/
|
|
5410
|
+
costumType?: "projects" | "organizations";
|
|
5411
|
+
/**
|
|
5412
|
+
* Mode d'affichage / comportement côté backend. Valeurs observées : `table` (charge `creatorData`), `mapWithDirectory`. String libre.
|
|
5413
|
+
*/
|
|
5414
|
+
mode?: string;
|
|
5084
5415
|
/**
|
|
5085
5416
|
* Clés de source pour la recherche
|
|
5086
5417
|
*/
|
package/src/api/Event.ts
CHANGED
|
@@ -256,6 +256,11 @@ export class Event extends BaseEntity<EventItemNormalized> {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
|
|
259
|
+
override async form(): Promise<never> {
|
|
260
|
+
throw new ApiError(`form n'existe pas dans ${this.constructor.name}`, 501);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
|
|
259
264
|
override async event(): Promise<never> {
|
|
260
265
|
throw new ApiError(`les sous-events ne sont pas encore implémentés dans ${this.constructor.name}`, 501);
|
|
261
266
|
}
|