@communecter/cocolight-api-client 1.0.150 → 1.0.151
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 +1 -1
- 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 +3 -2
- package/src/api/BaseEntity.ts +5 -1
- package/src/api/EndpointApi.types.ts +198 -200
- package/src/endpoints.module.ts +317 -207
- package/types/api/EndpointApi.types.d.ts +18 -42
- package/types/endpoints.module.d.ts +411 -287
|
@@ -2588,7 +2588,7 @@ export interface AddOrganizationData {
|
|
|
2588
2588
|
* Rôle principal de l’organisation
|
|
2589
2589
|
*/
|
|
2590
2590
|
role: "admin" | "member";
|
|
2591
|
-
tags?: string[];
|
|
2591
|
+
tags?: "" | string[];
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Email de l’organisation
|
|
2594
2594
|
*/
|
|
@@ -2612,18 +2612,12 @@ export interface AddOrganizationData {
|
|
|
2612
2612
|
isOpenEdition: boolean;
|
|
2613
2613
|
[k: string]: unknown;
|
|
2614
2614
|
};
|
|
2615
|
-
|
|
2616
|
-
* Coordonnées géographiques
|
|
2617
|
-
*/
|
|
2618
|
-
geo?: {
|
|
2615
|
+
geo?: "" | {
|
|
2619
2616
|
"@type"?: "GeoCoordinates";
|
|
2620
2617
|
latitude: string | number;
|
|
2621
2618
|
longitude: string | number;
|
|
2622
2619
|
};
|
|
2623
|
-
|
|
2624
|
-
* Position géographique GeoJSON
|
|
2625
|
-
*/
|
|
2626
|
-
geoPosition?: {
|
|
2620
|
+
geoPosition?: "" | {
|
|
2627
2621
|
/**
|
|
2628
2622
|
* Type GeoJSON (doit être 'Point')
|
|
2629
2623
|
*/
|
|
@@ -2638,7 +2632,7 @@ export interface AddOrganizationData {
|
|
|
2638
2632
|
/**
|
|
2639
2633
|
* Indicateur pour forcer la conversion en float côté serveur
|
|
2640
2634
|
*/
|
|
2641
|
-
float
|
|
2635
|
+
float?: true;
|
|
2642
2636
|
[k: string]: unknown;
|
|
2643
2637
|
};
|
|
2644
2638
|
/**
|
|
@@ -2655,7 +2649,7 @@ export interface AddOrganizationData {
|
|
|
2655
2649
|
tags: string[];
|
|
2656
2650
|
};
|
|
2657
2651
|
};
|
|
2658
|
-
address?: {
|
|
2652
|
+
address?: "" | {
|
|
2659
2653
|
"@type": "PostalAddress";
|
|
2660
2654
|
addressCountry: string;
|
|
2661
2655
|
codeInsee: string;
|
|
@@ -2885,7 +2879,7 @@ export interface AddProjectData {
|
|
|
2885
2879
|
* Visibilité (true/false)
|
|
2886
2880
|
*/
|
|
2887
2881
|
public: boolean;
|
|
2888
|
-
tags?: string[];
|
|
2882
|
+
tags?: "" | string[];
|
|
2889
2883
|
/**
|
|
2890
2884
|
* Description courte
|
|
2891
2885
|
*/
|
|
@@ -2909,18 +2903,12 @@ export interface AddProjectData {
|
|
|
2909
2903
|
crowdfunding?: boolean;
|
|
2910
2904
|
[k: string]: unknown;
|
|
2911
2905
|
};
|
|
2912
|
-
|
|
2913
|
-
* Coordonnées géographiques
|
|
2914
|
-
*/
|
|
2915
|
-
geo?: {
|
|
2906
|
+
geo?: "" | {
|
|
2916
2907
|
"@type"?: "GeoCoordinates";
|
|
2917
2908
|
latitude: string | number;
|
|
2918
2909
|
longitude: string | number;
|
|
2919
2910
|
};
|
|
2920
|
-
|
|
2921
|
-
* Position géographique GeoJSON
|
|
2922
|
-
*/
|
|
2923
|
-
geoPosition?: {
|
|
2911
|
+
geoPosition?: "" | {
|
|
2924
2912
|
/**
|
|
2925
2913
|
* Type GeoJSON (doit être 'Point')
|
|
2926
2914
|
*/
|
|
@@ -2935,10 +2923,10 @@ export interface AddProjectData {
|
|
|
2935
2923
|
/**
|
|
2936
2924
|
* Indicateur pour forcer la conversion en float côté serveur
|
|
2937
2925
|
*/
|
|
2938
|
-
float
|
|
2926
|
+
float?: true;
|
|
2939
2927
|
[k: string]: unknown;
|
|
2940
2928
|
};
|
|
2941
|
-
address?: {
|
|
2929
|
+
address?: "" | {
|
|
2942
2930
|
"@type": "PostalAddress";
|
|
2943
2931
|
addressCountry: string;
|
|
2944
2932
|
codeInsee: string;
|
|
@@ -3018,23 +3006,17 @@ export interface AddPoiData {
|
|
|
3018
3006
|
* Description
|
|
3019
3007
|
*/
|
|
3020
3008
|
description?: string;
|
|
3021
|
-
tags?: string[];
|
|
3009
|
+
tags?: "" | string[];
|
|
3022
3010
|
/**
|
|
3023
3011
|
* URLs externes associées
|
|
3024
3012
|
*/
|
|
3025
3013
|
urls?: string[];
|
|
3026
|
-
|
|
3027
|
-
* Coordonnées géographiques
|
|
3028
|
-
*/
|
|
3029
|
-
geo?: {
|
|
3014
|
+
geo?: "" | {
|
|
3030
3015
|
"@type"?: "GeoCoordinates";
|
|
3031
3016
|
latitude: string | number;
|
|
3032
3017
|
longitude: string | number;
|
|
3033
3018
|
};
|
|
3034
|
-
|
|
3035
|
-
* Position géographique GeoJSON
|
|
3036
|
-
*/
|
|
3037
|
-
geoPosition?: {
|
|
3019
|
+
geoPosition?: "" | {
|
|
3038
3020
|
/**
|
|
3039
3021
|
* Type GeoJSON (doit être 'Point')
|
|
3040
3022
|
*/
|
|
@@ -3049,10 +3031,10 @@ export interface AddPoiData {
|
|
|
3049
3031
|
/**
|
|
3050
3032
|
* Indicateur pour forcer la conversion en float côté serveur
|
|
3051
3033
|
*/
|
|
3052
|
-
float
|
|
3034
|
+
float?: true;
|
|
3053
3035
|
[k: string]: unknown;
|
|
3054
3036
|
};
|
|
3055
|
-
address?: {
|
|
3037
|
+
address?: "" | {
|
|
3056
3038
|
"@type": "PostalAddress";
|
|
3057
3039
|
addressCountry: string;
|
|
3058
3040
|
codeInsee: string;
|
|
@@ -3323,18 +3305,12 @@ export interface AddEventData {
|
|
|
3323
3305
|
}[];
|
|
3324
3306
|
})
|
|
3325
3307
|
];
|
|
3326
|
-
|
|
3327
|
-
* Coordonnées géographiques
|
|
3328
|
-
*/
|
|
3329
|
-
geo?: {
|
|
3308
|
+
geo?: "" | {
|
|
3330
3309
|
"@type"?: "GeoCoordinates";
|
|
3331
3310
|
latitude: string | number;
|
|
3332
3311
|
longitude: string | number;
|
|
3333
3312
|
};
|
|
3334
|
-
|
|
3335
|
-
* Position géographique GeoJSON
|
|
3336
|
-
*/
|
|
3337
|
-
geoPosition?: {
|
|
3313
|
+
geoPosition?: "" | {
|
|
3338
3314
|
/**
|
|
3339
3315
|
* Type GeoJSON (doit être 'Point')
|
|
3340
3316
|
*/
|
|
@@ -3349,7 +3325,7 @@ export interface AddEventData {
|
|
|
3349
3325
|
/**
|
|
3350
3326
|
* Indicateur pour forcer la conversion en float côté serveur
|
|
3351
3327
|
*/
|
|
3352
|
-
float
|
|
3328
|
+
float?: true;
|
|
3353
3329
|
[k: string]: unknown;
|
|
3354
3330
|
};
|
|
3355
3331
|
address?: "" | {
|