@communecter/cocolight-api-client 1.0.76 → 1.0.77
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/api/EndpointApi.ts +17 -1
- package/src/api/EndpointApi.types.ts +29 -0
- package/src/api/News.ts +21 -5
- package/src/api/Organization.ts +1 -1
- package/src/endpoints.module.ts +12 -1
- package/types/api/EndpointApi.d.ts +11 -1
- package/types/api/EndpointApi.types.d.ts +27 -0
- package/types/endpoints.module.d.ts +244 -3
|
@@ -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
|
+
}
|
|
@@ -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;
|