@communecter/cocolight-api-client 1.0.91 → 1.0.93
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 +1 -1
- package/src/ApiClient.ts +8 -0
- package/src/api/EndpointApi.types.ts +31 -29
- package/src/endpoints.module.ts +305 -226
- package/types/api/EndpointApi.types.d.ts +3 -3
- package/types/endpoints.module.d.ts +80 -53
|
@@ -2862,7 +2862,7 @@ export interface AddEventData {
|
|
|
2862
2862
|
* Description courte
|
|
2863
2863
|
*/
|
|
2864
2864
|
shortDescription?: string;
|
|
2865
|
-
tags?: string[];
|
|
2865
|
+
tags?: string[] | "";
|
|
2866
2866
|
/**
|
|
2867
2867
|
* Site web
|
|
2868
2868
|
*/
|
|
@@ -2870,7 +2870,7 @@ export interface AddEventData {
|
|
|
2870
2870
|
/**
|
|
2871
2871
|
* Email de l’organisation
|
|
2872
2872
|
*/
|
|
2873
|
-
email?: string;
|
|
2873
|
+
email?: string | "";
|
|
2874
2874
|
preferences?: {
|
|
2875
2875
|
/**
|
|
2876
2876
|
* Open data (true/false)
|
|
@@ -3068,7 +3068,7 @@ export interface AddEventData {
|
|
|
3068
3068
|
float: true;
|
|
3069
3069
|
[k: string]: unknown;
|
|
3070
3070
|
};
|
|
3071
|
-
address?: {
|
|
3071
|
+
address?: "" | {
|
|
3072
3072
|
"@type": "PostalAddress";
|
|
3073
3073
|
addressCountry: string;
|
|
3074
3074
|
codeInsee: string;
|
|
@@ -1673,9 +1673,11 @@ declare const endpoints: {
|
|
|
1673
1673
|
anyOf: ({
|
|
1674
1674
|
format: string;
|
|
1675
1675
|
type: string;
|
|
1676
|
+
const?: undefined;
|
|
1676
1677
|
} | {
|
|
1677
1678
|
const: string;
|
|
1678
1679
|
type: string;
|
|
1680
|
+
format?: undefined;
|
|
1679
1681
|
})[];
|
|
1680
1682
|
};
|
|
1681
1683
|
name: {
|
|
@@ -2956,6 +2958,9 @@ declare const endpoints: {
|
|
|
2956
2958
|
oneOf: ({
|
|
2957
2959
|
const: string;
|
|
2958
2960
|
type: string;
|
|
2961
|
+
additionalProperties?: undefined;
|
|
2962
|
+
properties?: undefined;
|
|
2963
|
+
required?: undefined;
|
|
2959
2964
|
} | {
|
|
2960
2965
|
additionalProperties: boolean;
|
|
2961
2966
|
properties: {
|
|
@@ -3006,6 +3011,7 @@ declare const endpoints: {
|
|
|
3006
3011
|
};
|
|
3007
3012
|
required: string[];
|
|
3008
3013
|
type: string;
|
|
3014
|
+
const?: undefined;
|
|
3009
3015
|
})[];
|
|
3010
3016
|
};
|
|
3011
3017
|
block: {
|
|
@@ -16063,55 +16069,64 @@ declare const endpoints: {
|
|
|
16063
16069
|
};
|
|
16064
16070
|
properties: {
|
|
16065
16071
|
address: {
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
|
|
16100
|
-
|
|
16101
|
-
|
|
16102
|
-
|
|
16103
|
-
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16072
|
+
oneOf: ({
|
|
16073
|
+
const: string;
|
|
16074
|
+
type: string;
|
|
16075
|
+
additionalProperties?: undefined;
|
|
16076
|
+
properties?: undefined;
|
|
16077
|
+
required?: undefined;
|
|
16078
|
+
} | {
|
|
16079
|
+
additionalProperties: boolean;
|
|
16080
|
+
properties: {
|
|
16081
|
+
"@type": {
|
|
16082
|
+
const: string;
|
|
16083
|
+
type: string;
|
|
16084
|
+
};
|
|
16085
|
+
addressCountry: {
|
|
16086
|
+
type: string;
|
|
16087
|
+
};
|
|
16088
|
+
addressLocality: {
|
|
16089
|
+
type: string;
|
|
16090
|
+
};
|
|
16091
|
+
codeInsee: {
|
|
16092
|
+
type: string;
|
|
16093
|
+
};
|
|
16094
|
+
level1: {
|
|
16095
|
+
type: string;
|
|
16096
|
+
};
|
|
16097
|
+
level1Name: {
|
|
16098
|
+
type: string;
|
|
16099
|
+
};
|
|
16100
|
+
level3: {
|
|
16101
|
+
minLength: number;
|
|
16102
|
+
type: string;
|
|
16103
|
+
};
|
|
16104
|
+
level3Name: {
|
|
16105
|
+
minLength: number;
|
|
16106
|
+
type: string;
|
|
16107
|
+
};
|
|
16108
|
+
level4: {
|
|
16109
|
+
minLength: number;
|
|
16110
|
+
type: string;
|
|
16111
|
+
};
|
|
16112
|
+
level4Name: {
|
|
16113
|
+
minLength: number;
|
|
16114
|
+
type: string;
|
|
16115
|
+
};
|
|
16116
|
+
localityId: {
|
|
16117
|
+
type: string;
|
|
16118
|
+
};
|
|
16119
|
+
postalCode: {
|
|
16120
|
+
type: string;
|
|
16121
|
+
};
|
|
16122
|
+
streetAddress: {
|
|
16123
|
+
type: string;
|
|
16124
|
+
};
|
|
16111
16125
|
};
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16126
|
+
required: string[];
|
|
16127
|
+
type: string;
|
|
16128
|
+
const?: undefined;
|
|
16129
|
+
})[];
|
|
16115
16130
|
};
|
|
16116
16131
|
collection: {
|
|
16117
16132
|
const: string;
|
|
@@ -16119,8 +16134,15 @@ declare const endpoints: {
|
|
|
16119
16134
|
type: string;
|
|
16120
16135
|
};
|
|
16121
16136
|
email: {
|
|
16122
|
-
|
|
16123
|
-
|
|
16137
|
+
anyOf: ({
|
|
16138
|
+
format: string;
|
|
16139
|
+
type: string;
|
|
16140
|
+
const?: undefined;
|
|
16141
|
+
} | {
|
|
16142
|
+
const: string;
|
|
16143
|
+
type: string;
|
|
16144
|
+
format?: undefined;
|
|
16145
|
+
})[];
|
|
16124
16146
|
};
|
|
16125
16147
|
endDate: {
|
|
16126
16148
|
format: string;
|
|
@@ -16306,10 +16328,15 @@ declare const endpoints: {
|
|
|
16306
16328
|
type: string;
|
|
16307
16329
|
};
|
|
16308
16330
|
tags: {
|
|
16309
|
-
|
|
16331
|
+
anyOf: ({
|
|
16332
|
+
const: string;
|
|
16310
16333
|
type: string;
|
|
16311
|
-
}
|
|
16312
|
-
|
|
16334
|
+
} | {
|
|
16335
|
+
items: {
|
|
16336
|
+
type: string;
|
|
16337
|
+
};
|
|
16338
|
+
type: string;
|
|
16339
|
+
})[];
|
|
16313
16340
|
};
|
|
16314
16341
|
timeZone: {
|
|
16315
16342
|
type: string;
|