@andesine/sdk 0.7.0 → 0.8.0
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/CHANGELOG.md +23 -0
- package/dist/{client-D7hqNIEY.js → client-CyhWWH37.js} +65 -1
- package/dist/client-CyhWWH37.js.map +1 -0
- package/dist/{client-TZ83eSln.d.ts → client-QR7crUNC.d.ts} +48 -3
- package/dist/extensions.d.ts +8 -3
- package/dist/extensions.js +6 -3
- package/dist/extensions.js.map +1 -1
- package/dist/{index-BL6xmKO6.d.ts → index-DcU5xEPe.d.ts} +23 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{schema-D7yh5Hbs.d.ts → schema-CMpGUItd.d.ts} +1971 -278
- package/dist/streaming.d.ts +1 -1
- package/dist/webhooks.d.ts +1 -1
- package/openapi.json +3020 -512
- package/package.json +1 -1
- package/dist/client-D7hqNIEY.js.map +0 -1
|
@@ -361,7 +361,7 @@ interface paths {
|
|
|
361
361
|
put?: never;
|
|
362
362
|
/**
|
|
363
363
|
* Verify a session token
|
|
364
|
-
* @description Verifies a session token from the extension frontend and returns its member. Tokens of other extensions, expired tokens, and tokens of an earlier extension generation fail with NOT_FOUND.
|
|
364
|
+
* @description Verifies a session token from the extension frontend and returns its member. Tokens of other extensions, expired tokens, and tokens of an earlier extension generation fail with NOT_FOUND. checks evaluates collection and entry actions for the member, in collections the extension can read (restricted collections included), so the backend can authorize the member's request.
|
|
365
365
|
*/
|
|
366
366
|
post: operations["extensions.verifySession"];
|
|
367
367
|
delete?: never;
|
|
@@ -430,6 +430,54 @@ interface paths {
|
|
|
430
430
|
patch?: never;
|
|
431
431
|
trace?: never;
|
|
432
432
|
};
|
|
433
|
+
"/extensions/self/publishable-keys": {
|
|
434
|
+
parameters: {
|
|
435
|
+
query?: never;
|
|
436
|
+
header?: never;
|
|
437
|
+
path?: never;
|
|
438
|
+
cookie?: never;
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* List managed publishable keys
|
|
442
|
+
* @description Lists the publishable keys that the extension manages. Requires the publishable-keys permission.
|
|
443
|
+
*/
|
|
444
|
+
get: operations["extensions.listSelfPublishableKeys"];
|
|
445
|
+
put?: never;
|
|
446
|
+
/**
|
|
447
|
+
* Create a managed publishable key
|
|
448
|
+
* @description Creates a publishable key that the extension manages: read:publishing, and ai-answers with answers. Its collections must be readable by the extension. Members see it in API settings and can only delete it. It stops working while the extension is disabled or revoked; losing the permission or read:publishing, or uninstalling, deletes it, and losing ai-answers removes that permission. Up to 10 keys per installation. Requires the publishable-keys permission.
|
|
449
|
+
*/
|
|
450
|
+
post: operations["extensions.createSelfPublishableKey"];
|
|
451
|
+
delete?: never;
|
|
452
|
+
options?: never;
|
|
453
|
+
head?: never;
|
|
454
|
+
patch?: never;
|
|
455
|
+
trace?: never;
|
|
456
|
+
};
|
|
457
|
+
"/extensions/self/publishable-keys/{keyID}": {
|
|
458
|
+
parameters: {
|
|
459
|
+
query?: never;
|
|
460
|
+
header?: never;
|
|
461
|
+
path?: never;
|
|
462
|
+
cookie?: never;
|
|
463
|
+
};
|
|
464
|
+
get?: never;
|
|
465
|
+
put?: never;
|
|
466
|
+
post?: never;
|
|
467
|
+
/**
|
|
468
|
+
* Delete a managed publishable key
|
|
469
|
+
* @description Deletes a key that the extension manages, if it exists. Requires the publishable-keys permission.
|
|
470
|
+
*/
|
|
471
|
+
delete: operations["extensions.deleteSelfPublishableKey"];
|
|
472
|
+
options?: never;
|
|
473
|
+
head?: never;
|
|
474
|
+
/**
|
|
475
|
+
* Update a managed publishable key
|
|
476
|
+
* @description Changes the name, collections, origins, or AI answers of a key that the extension manages. Requires the publishable-keys permission.
|
|
477
|
+
*/
|
|
478
|
+
patch: operations["extensions.updateSelfPublishableKey"];
|
|
479
|
+
trace?: never;
|
|
480
|
+
};
|
|
433
481
|
"/extensions/self/storage/entry": {
|
|
434
482
|
parameters: {
|
|
435
483
|
query?: never;
|
|
@@ -478,6 +526,28 @@ interface paths {
|
|
|
478
526
|
patch?: never;
|
|
479
527
|
trace?: never;
|
|
480
528
|
};
|
|
529
|
+
"/extensions/elements": {
|
|
530
|
+
parameters: {
|
|
531
|
+
query?: never;
|
|
532
|
+
header?: never;
|
|
533
|
+
path?: never;
|
|
534
|
+
cookie?: never;
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* List custom elements
|
|
538
|
+
* @description The custom elements that the workspace's active extensions draw in the editor, e.g. Tabs: their props, whether they have content, which child blocks their content accepts, and the elements that belong inside them. Write them in MDX as <Name prop="value">content</Name>. The editor guides edits by these rules and offers a clean-up; the API doesn't enforce them.
|
|
539
|
+
*
|
|
540
|
+
* Required API key permissions: read:entries. Write permissions also grant read access for the same resource.
|
|
541
|
+
*/
|
|
542
|
+
get: operations["extensions.listElements"];
|
|
543
|
+
put?: never;
|
|
544
|
+
post?: never;
|
|
545
|
+
delete?: never;
|
|
546
|
+
options?: never;
|
|
547
|
+
head?: never;
|
|
548
|
+
patch?: never;
|
|
549
|
+
trace?: never;
|
|
550
|
+
};
|
|
481
551
|
"/collections": {
|
|
482
552
|
parameters: {
|
|
483
553
|
query?: never;
|
|
@@ -572,6 +642,28 @@ interface paths {
|
|
|
572
642
|
patch?: never;
|
|
573
643
|
trace?: never;
|
|
574
644
|
};
|
|
645
|
+
"/collections/get": {
|
|
646
|
+
parameters: {
|
|
647
|
+
query?: never;
|
|
648
|
+
header?: never;
|
|
649
|
+
path?: never;
|
|
650
|
+
cookie?: never;
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* Get a collection
|
|
654
|
+
* @description Returns one collection by collectionID, collectionPath, or collectionSlugPath, with its name, path, and ancestors.
|
|
655
|
+
*
|
|
656
|
+
* Required API key permissions: read:collections. Write permissions also grant read access for the same resource.
|
|
657
|
+
*/
|
|
658
|
+
get: operations["collections.get"];
|
|
659
|
+
put?: never;
|
|
660
|
+
post?: never;
|
|
661
|
+
delete?: never;
|
|
662
|
+
options?: never;
|
|
663
|
+
head?: never;
|
|
664
|
+
patch?: never;
|
|
665
|
+
trace?: never;
|
|
666
|
+
};
|
|
575
667
|
"/collections/list": {
|
|
576
668
|
parameters: {
|
|
577
669
|
query?: never;
|
|
@@ -3693,7 +3785,7 @@ interface components {
|
|
|
3693
3785
|
/** @enum {string} */
|
|
3694
3786
|
AssetFileFormat: "jpeg" | "png" | "webp";
|
|
3695
3787
|
/** @enum {string} */
|
|
3696
|
-
AssetVariant: "thumbnail" | "display";
|
|
3788
|
+
AssetVariant: "thumbnail" | "display" | "source";
|
|
3697
3789
|
AssetSearchResult: {
|
|
3698
3790
|
assetID: string;
|
|
3699
3791
|
entryID: string;
|
|
@@ -9076,6 +9168,8 @@ interface operations {
|
|
|
9076
9168
|
/** @description Active version */
|
|
9077
9169
|
version: string;
|
|
9078
9170
|
workspaceID: string;
|
|
9171
|
+
/** @description The workspace's effective plan, e.g. free or pro; pro when the instance has no billing */
|
|
9172
|
+
workspacePlan: string;
|
|
9079
9173
|
/**
|
|
9080
9174
|
* @description Uninstalled extensions remain readable until their last lifecycle event expires
|
|
9081
9175
|
* @enum {string}
|
|
@@ -9307,6 +9401,12 @@ interface operations {
|
|
|
9307
9401
|
content: {
|
|
9308
9402
|
"application/json": {
|
|
9309
9403
|
token: string;
|
|
9404
|
+
checks?: {
|
|
9405
|
+
/** @description Collection to check; null for the top level */
|
|
9406
|
+
collectionID: string | null;
|
|
9407
|
+
/** @description Collection and entry actions that the member must be able to take */
|
|
9408
|
+
actions: (("collection:read" | "collection:create-child" | "collection:update" | "collection:move" | "collection:delete" | "collection:set-restricted" | "collection:manage-restricted-access" | "collection:set-publishing" | "publishing:publish-tree" | "publishing:unpublish-tree") | ("entry:create" | "entry:read" | "entry:update" | "entry:move" | "entry:delete" | "version:read" | "version:create" | "version:update" | "version:revert" | "publishing:read" | "publishing:publish" | "publishing:unpublish"))[];
|
|
9409
|
+
}[];
|
|
9310
9410
|
};
|
|
9311
9411
|
};
|
|
9312
9412
|
};
|
|
@@ -9319,6 +9419,8 @@ interface operations {
|
|
|
9319
9419
|
content: {
|
|
9320
9420
|
"application/json": {
|
|
9321
9421
|
workspaceID: string;
|
|
9422
|
+
/** @description The workspace's effective plan, e.g. free or pro; pro when the instance has no billing */
|
|
9423
|
+
workspacePlan: string;
|
|
9322
9424
|
/** @description The extension version the session was issued for */
|
|
9323
9425
|
version: string;
|
|
9324
9426
|
member: {
|
|
@@ -9334,249 +9436,257 @@ interface operations {
|
|
|
9334
9436
|
email?: string;
|
|
9335
9437
|
};
|
|
9336
9438
|
};
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
};
|
|
9345
|
-
content: {
|
|
9346
|
-
"application/json": {
|
|
9347
|
-
/** @constant */
|
|
9348
|
-
defined: true;
|
|
9349
|
-
/** @constant */
|
|
9350
|
-
code: "BAD_REQUEST";
|
|
9351
|
-
/** @constant */
|
|
9352
|
-
status: 400;
|
|
9353
|
-
/** @default Bad Request */
|
|
9354
|
-
message: string;
|
|
9355
|
-
data?: components["schemas"]["ValidationErrorData"];
|
|
9356
|
-
} | {
|
|
9357
|
-
/** @constant */
|
|
9358
|
-
defined: false;
|
|
9359
|
-
code: string;
|
|
9360
|
-
status: number;
|
|
9361
|
-
message: string;
|
|
9362
|
-
data?: unknown;
|
|
9363
|
-
};
|
|
9364
|
-
};
|
|
9365
|
-
};
|
|
9366
|
-
/** @description 401 */
|
|
9367
|
-
401: {
|
|
9368
|
-
headers: {
|
|
9369
|
-
[name: string]: unknown;
|
|
9370
|
-
};
|
|
9371
|
-
content: {
|
|
9372
|
-
"application/json": {
|
|
9373
|
-
/** @constant */
|
|
9374
|
-
defined: true;
|
|
9375
|
-
/** @constant */
|
|
9376
|
-
code: "UNAUTHORIZED";
|
|
9377
|
-
/** @constant */
|
|
9378
|
-
status: 401;
|
|
9379
|
-
/** @default Unauthorized */
|
|
9380
|
-
message: string;
|
|
9381
|
-
data?: components["schemas"]["ErrorData"];
|
|
9382
|
-
} | {
|
|
9383
|
-
/** @constant */
|
|
9384
|
-
defined: false;
|
|
9385
|
-
code: string;
|
|
9386
|
-
status: number;
|
|
9387
|
-
message: string;
|
|
9388
|
-
data?: unknown;
|
|
9389
|
-
};
|
|
9390
|
-
};
|
|
9391
|
-
};
|
|
9392
|
-
/** @description 403 */
|
|
9393
|
-
403: {
|
|
9394
|
-
headers: {
|
|
9395
|
-
[name: string]: unknown;
|
|
9396
|
-
};
|
|
9397
|
-
content: {
|
|
9398
|
-
"application/json": {
|
|
9399
|
-
/** @constant */
|
|
9400
|
-
defined: true;
|
|
9401
|
-
/** @constant */
|
|
9402
|
-
code: "FORBIDDEN";
|
|
9403
|
-
/** @constant */
|
|
9404
|
-
status: 403;
|
|
9405
|
-
/** @default Forbidden */
|
|
9406
|
-
message: string;
|
|
9407
|
-
data?: components["schemas"]["ForbiddenErrorData"];
|
|
9408
|
-
} | {
|
|
9409
|
-
/** @constant */
|
|
9410
|
-
defined: false;
|
|
9411
|
-
code: string;
|
|
9412
|
-
status: number;
|
|
9413
|
-
message: string;
|
|
9414
|
-
data?: unknown;
|
|
9415
|
-
};
|
|
9416
|
-
};
|
|
9417
|
-
};
|
|
9418
|
-
/** @description 404 */
|
|
9419
|
-
404: {
|
|
9420
|
-
headers: {
|
|
9421
|
-
[name: string]: unknown;
|
|
9422
|
-
};
|
|
9423
|
-
content: {
|
|
9424
|
-
"application/json": {
|
|
9425
|
-
/** @constant */
|
|
9426
|
-
defined: true;
|
|
9427
|
-
/** @constant */
|
|
9428
|
-
code: "NOT_FOUND";
|
|
9429
|
-
/** @constant */
|
|
9430
|
-
status: 404;
|
|
9431
|
-
/** @default Not Found */
|
|
9432
|
-
message: string;
|
|
9433
|
-
data?: components["schemas"]["ErrorData"];
|
|
9434
|
-
} | {
|
|
9435
|
-
/** @constant */
|
|
9436
|
-
defined: false;
|
|
9437
|
-
code: string;
|
|
9438
|
-
status: number;
|
|
9439
|
-
message: string;
|
|
9440
|
-
data?: unknown;
|
|
9441
|
-
};
|
|
9442
|
-
};
|
|
9443
|
-
};
|
|
9444
|
-
/** @description 409 */
|
|
9445
|
-
409: {
|
|
9446
|
-
headers: {
|
|
9447
|
-
[name: string]: unknown;
|
|
9448
|
-
};
|
|
9449
|
-
content: {
|
|
9450
|
-
"application/json": {
|
|
9451
|
-
/** @constant */
|
|
9452
|
-
defined: true;
|
|
9453
|
-
/** @constant */
|
|
9454
|
-
code: "CONFLICT";
|
|
9455
|
-
/** @constant */
|
|
9456
|
-
status: 409;
|
|
9457
|
-
/** @default Conflict */
|
|
9458
|
-
message: string;
|
|
9459
|
-
data?: components["schemas"]["ErrorData"];
|
|
9460
|
-
} | {
|
|
9461
|
-
/** @constant */
|
|
9462
|
-
defined: false;
|
|
9463
|
-
code: string;
|
|
9464
|
-
status: number;
|
|
9465
|
-
message: string;
|
|
9466
|
-
data?: unknown;
|
|
9467
|
-
};
|
|
9468
|
-
};
|
|
9469
|
-
};
|
|
9470
|
-
/** @description 429 */
|
|
9471
|
-
429: {
|
|
9472
|
-
headers: {
|
|
9473
|
-
[name: string]: unknown;
|
|
9474
|
-
};
|
|
9475
|
-
content: {
|
|
9476
|
-
"application/json": {
|
|
9477
|
-
/** @constant */
|
|
9478
|
-
defined: true;
|
|
9479
|
-
/** @constant */
|
|
9480
|
-
code: "TOO_MANY_REQUESTS";
|
|
9481
|
-
/** @constant */
|
|
9482
|
-
status: 429;
|
|
9483
|
-
/** @default Too Many Requests */
|
|
9484
|
-
message: string;
|
|
9485
|
-
data?: components["schemas"]["RateLimitErrorData"];
|
|
9486
|
-
} | {
|
|
9487
|
-
/** @constant */
|
|
9488
|
-
defined: false;
|
|
9489
|
-
code: string;
|
|
9490
|
-
status: number;
|
|
9491
|
-
message: string;
|
|
9492
|
-
data?: unknown;
|
|
9493
|
-
};
|
|
9494
|
-
};
|
|
9495
|
-
};
|
|
9496
|
-
/** @description 500 */
|
|
9497
|
-
500: {
|
|
9498
|
-
headers: {
|
|
9499
|
-
[name: string]: unknown;
|
|
9500
|
-
};
|
|
9501
|
-
content: {
|
|
9502
|
-
"application/json": {
|
|
9503
|
-
/** @constant */
|
|
9504
|
-
defined: true;
|
|
9505
|
-
/** @constant */
|
|
9506
|
-
code: "INTERNAL_SERVER_ERROR";
|
|
9507
|
-
/** @constant */
|
|
9508
|
-
status: 500;
|
|
9509
|
-
/** @default Internal Server Error */
|
|
9510
|
-
message: string;
|
|
9511
|
-
data?: components["schemas"]["ErrorData"];
|
|
9512
|
-
} | {
|
|
9513
|
-
/** @constant */
|
|
9514
|
-
defined: false;
|
|
9515
|
-
code: string;
|
|
9516
|
-
status: number;
|
|
9517
|
-
message: string;
|
|
9518
|
-
data?: unknown;
|
|
9519
|
-
};
|
|
9520
|
-
};
|
|
9521
|
-
};
|
|
9522
|
-
/** @description 503 */
|
|
9523
|
-
503: {
|
|
9524
|
-
headers: {
|
|
9525
|
-
[name: string]: unknown;
|
|
9526
|
-
};
|
|
9527
|
-
content: {
|
|
9528
|
-
"application/json": {
|
|
9529
|
-
/** @constant */
|
|
9530
|
-
defined: true;
|
|
9531
|
-
/** @constant */
|
|
9532
|
-
code: "SERVICE_UNAVAILABLE";
|
|
9533
|
-
/** @constant */
|
|
9534
|
-
status: 503;
|
|
9535
|
-
/** @default Service Unavailable */
|
|
9536
|
-
message: string;
|
|
9537
|
-
data?: components["schemas"]["ErrorData"];
|
|
9538
|
-
} | {
|
|
9539
|
-
/** @constant */
|
|
9540
|
-
defined: false;
|
|
9541
|
-
code: string;
|
|
9542
|
-
status: number;
|
|
9543
|
-
message: string;
|
|
9544
|
-
data?: unknown;
|
|
9545
|
-
};
|
|
9546
|
-
};
|
|
9547
|
-
};
|
|
9548
|
-
};
|
|
9549
|
-
};
|
|
9550
|
-
"extensions.listInstallations": {
|
|
9551
|
-
parameters: {
|
|
9552
|
-
query?: {
|
|
9553
|
-
after?: string;
|
|
9554
|
-
limit?: number;
|
|
9555
|
-
};
|
|
9556
|
-
header?: never;
|
|
9557
|
-
path?: never;
|
|
9558
|
-
cookie?: never;
|
|
9559
|
-
};
|
|
9560
|
-
requestBody?: never;
|
|
9561
|
-
responses: {
|
|
9562
|
-
/** @description OK */
|
|
9563
|
-
200: {
|
|
9564
|
-
headers: {
|
|
9565
|
-
[name: string]: unknown;
|
|
9566
|
-
};
|
|
9567
|
-
content: {
|
|
9568
|
-
"application/json": {
|
|
9569
|
-
data: {
|
|
9570
|
-
id: string;
|
|
9571
|
-
workspaceID: string;
|
|
9572
|
-
version: string;
|
|
9573
|
-
/**
|
|
9574
|
-
* @description Uninstalled extensions remain readable until their last lifecycle event expires
|
|
9575
|
-
* @enum {string}
|
|
9576
|
-
*/
|
|
9577
|
-
state: "active" | "disabled" | "uninstalled";
|
|
9439
|
+
/** @description Results of the requested checks, in their order */
|
|
9440
|
+
checks: {
|
|
9441
|
+
collectionID: string | null;
|
|
9442
|
+
/** @description Whether the member and the extension can take every action */
|
|
9443
|
+
allowed: boolean;
|
|
9444
|
+
/** @description Actions that are not allowed */
|
|
9445
|
+
denied: (("collection:read" | "collection:create-child" | "collection:update" | "collection:move" | "collection:delete" | "collection:set-restricted" | "collection:manage-restricted-access" | "collection:set-publishing" | "publishing:publish-tree" | "publishing:unpublish-tree") | ("entry:create" | "entry:read" | "entry:update" | "entry:move" | "entry:delete" | "version:read" | "version:create" | "version:update" | "version:revert" | "publishing:read" | "publishing:publish" | "publishing:unpublish"))[];
|
|
9578
9446
|
}[];
|
|
9579
|
-
|
|
9447
|
+
};
|
|
9448
|
+
};
|
|
9449
|
+
};
|
|
9450
|
+
/** @description 400 */
|
|
9451
|
+
400: {
|
|
9452
|
+
headers: {
|
|
9453
|
+
[name: string]: unknown;
|
|
9454
|
+
};
|
|
9455
|
+
content: {
|
|
9456
|
+
"application/json": {
|
|
9457
|
+
/** @constant */
|
|
9458
|
+
defined: true;
|
|
9459
|
+
/** @constant */
|
|
9460
|
+
code: "BAD_REQUEST";
|
|
9461
|
+
/** @constant */
|
|
9462
|
+
status: 400;
|
|
9463
|
+
/** @default Bad Request */
|
|
9464
|
+
message: string;
|
|
9465
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
9466
|
+
} | {
|
|
9467
|
+
/** @constant */
|
|
9468
|
+
defined: false;
|
|
9469
|
+
code: string;
|
|
9470
|
+
status: number;
|
|
9471
|
+
message: string;
|
|
9472
|
+
data?: unknown;
|
|
9473
|
+
};
|
|
9474
|
+
};
|
|
9475
|
+
};
|
|
9476
|
+
/** @description 401 */
|
|
9477
|
+
401: {
|
|
9478
|
+
headers: {
|
|
9479
|
+
[name: string]: unknown;
|
|
9480
|
+
};
|
|
9481
|
+
content: {
|
|
9482
|
+
"application/json": {
|
|
9483
|
+
/** @constant */
|
|
9484
|
+
defined: true;
|
|
9485
|
+
/** @constant */
|
|
9486
|
+
code: "UNAUTHORIZED";
|
|
9487
|
+
/** @constant */
|
|
9488
|
+
status: 401;
|
|
9489
|
+
/** @default Unauthorized */
|
|
9490
|
+
message: string;
|
|
9491
|
+
data?: components["schemas"]["ErrorData"];
|
|
9492
|
+
} | {
|
|
9493
|
+
/** @constant */
|
|
9494
|
+
defined: false;
|
|
9495
|
+
code: string;
|
|
9496
|
+
status: number;
|
|
9497
|
+
message: string;
|
|
9498
|
+
data?: unknown;
|
|
9499
|
+
};
|
|
9500
|
+
};
|
|
9501
|
+
};
|
|
9502
|
+
/** @description 403 */
|
|
9503
|
+
403: {
|
|
9504
|
+
headers: {
|
|
9505
|
+
[name: string]: unknown;
|
|
9506
|
+
};
|
|
9507
|
+
content: {
|
|
9508
|
+
"application/json": {
|
|
9509
|
+
/** @constant */
|
|
9510
|
+
defined: true;
|
|
9511
|
+
/** @constant */
|
|
9512
|
+
code: "FORBIDDEN";
|
|
9513
|
+
/** @constant */
|
|
9514
|
+
status: 403;
|
|
9515
|
+
/** @default Forbidden */
|
|
9516
|
+
message: string;
|
|
9517
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
9518
|
+
} | {
|
|
9519
|
+
/** @constant */
|
|
9520
|
+
defined: false;
|
|
9521
|
+
code: string;
|
|
9522
|
+
status: number;
|
|
9523
|
+
message: string;
|
|
9524
|
+
data?: unknown;
|
|
9525
|
+
};
|
|
9526
|
+
};
|
|
9527
|
+
};
|
|
9528
|
+
/** @description 404 */
|
|
9529
|
+
404: {
|
|
9530
|
+
headers: {
|
|
9531
|
+
[name: string]: unknown;
|
|
9532
|
+
};
|
|
9533
|
+
content: {
|
|
9534
|
+
"application/json": {
|
|
9535
|
+
/** @constant */
|
|
9536
|
+
defined: true;
|
|
9537
|
+
/** @constant */
|
|
9538
|
+
code: "NOT_FOUND";
|
|
9539
|
+
/** @constant */
|
|
9540
|
+
status: 404;
|
|
9541
|
+
/** @default Not Found */
|
|
9542
|
+
message: string;
|
|
9543
|
+
data?: components["schemas"]["ErrorData"];
|
|
9544
|
+
} | {
|
|
9545
|
+
/** @constant */
|
|
9546
|
+
defined: false;
|
|
9547
|
+
code: string;
|
|
9548
|
+
status: number;
|
|
9549
|
+
message: string;
|
|
9550
|
+
data?: unknown;
|
|
9551
|
+
};
|
|
9552
|
+
};
|
|
9553
|
+
};
|
|
9554
|
+
/** @description 409 */
|
|
9555
|
+
409: {
|
|
9556
|
+
headers: {
|
|
9557
|
+
[name: string]: unknown;
|
|
9558
|
+
};
|
|
9559
|
+
content: {
|
|
9560
|
+
"application/json": {
|
|
9561
|
+
/** @constant */
|
|
9562
|
+
defined: true;
|
|
9563
|
+
/** @constant */
|
|
9564
|
+
code: "CONFLICT";
|
|
9565
|
+
/** @constant */
|
|
9566
|
+
status: 409;
|
|
9567
|
+
/** @default Conflict */
|
|
9568
|
+
message: string;
|
|
9569
|
+
data?: components["schemas"]["ErrorData"];
|
|
9570
|
+
} | {
|
|
9571
|
+
/** @constant */
|
|
9572
|
+
defined: false;
|
|
9573
|
+
code: string;
|
|
9574
|
+
status: number;
|
|
9575
|
+
message: string;
|
|
9576
|
+
data?: unknown;
|
|
9577
|
+
};
|
|
9578
|
+
};
|
|
9579
|
+
};
|
|
9580
|
+
/** @description 429 */
|
|
9581
|
+
429: {
|
|
9582
|
+
headers: {
|
|
9583
|
+
[name: string]: unknown;
|
|
9584
|
+
};
|
|
9585
|
+
content: {
|
|
9586
|
+
"application/json": {
|
|
9587
|
+
/** @constant */
|
|
9588
|
+
defined: true;
|
|
9589
|
+
/** @constant */
|
|
9590
|
+
code: "TOO_MANY_REQUESTS";
|
|
9591
|
+
/** @constant */
|
|
9592
|
+
status: 429;
|
|
9593
|
+
/** @default Too Many Requests */
|
|
9594
|
+
message: string;
|
|
9595
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
9596
|
+
} | {
|
|
9597
|
+
/** @constant */
|
|
9598
|
+
defined: false;
|
|
9599
|
+
code: string;
|
|
9600
|
+
status: number;
|
|
9601
|
+
message: string;
|
|
9602
|
+
data?: unknown;
|
|
9603
|
+
};
|
|
9604
|
+
};
|
|
9605
|
+
};
|
|
9606
|
+
/** @description 500 */
|
|
9607
|
+
500: {
|
|
9608
|
+
headers: {
|
|
9609
|
+
[name: string]: unknown;
|
|
9610
|
+
};
|
|
9611
|
+
content: {
|
|
9612
|
+
"application/json": {
|
|
9613
|
+
/** @constant */
|
|
9614
|
+
defined: true;
|
|
9615
|
+
/** @constant */
|
|
9616
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
9617
|
+
/** @constant */
|
|
9618
|
+
status: 500;
|
|
9619
|
+
/** @default Internal Server Error */
|
|
9620
|
+
message: string;
|
|
9621
|
+
data?: components["schemas"]["ErrorData"];
|
|
9622
|
+
} | {
|
|
9623
|
+
/** @constant */
|
|
9624
|
+
defined: false;
|
|
9625
|
+
code: string;
|
|
9626
|
+
status: number;
|
|
9627
|
+
message: string;
|
|
9628
|
+
data?: unknown;
|
|
9629
|
+
};
|
|
9630
|
+
};
|
|
9631
|
+
};
|
|
9632
|
+
/** @description 503 */
|
|
9633
|
+
503: {
|
|
9634
|
+
headers: {
|
|
9635
|
+
[name: string]: unknown;
|
|
9636
|
+
};
|
|
9637
|
+
content: {
|
|
9638
|
+
"application/json": {
|
|
9639
|
+
/** @constant */
|
|
9640
|
+
defined: true;
|
|
9641
|
+
/** @constant */
|
|
9642
|
+
code: "SERVICE_UNAVAILABLE";
|
|
9643
|
+
/** @constant */
|
|
9644
|
+
status: 503;
|
|
9645
|
+
/** @default Service Unavailable */
|
|
9646
|
+
message: string;
|
|
9647
|
+
data?: components["schemas"]["ErrorData"];
|
|
9648
|
+
} | {
|
|
9649
|
+
/** @constant */
|
|
9650
|
+
defined: false;
|
|
9651
|
+
code: string;
|
|
9652
|
+
status: number;
|
|
9653
|
+
message: string;
|
|
9654
|
+
data?: unknown;
|
|
9655
|
+
};
|
|
9656
|
+
};
|
|
9657
|
+
};
|
|
9658
|
+
};
|
|
9659
|
+
};
|
|
9660
|
+
"extensions.listInstallations": {
|
|
9661
|
+
parameters: {
|
|
9662
|
+
query?: {
|
|
9663
|
+
after?: string;
|
|
9664
|
+
limit?: number;
|
|
9665
|
+
};
|
|
9666
|
+
header?: never;
|
|
9667
|
+
path?: never;
|
|
9668
|
+
cookie?: never;
|
|
9669
|
+
};
|
|
9670
|
+
requestBody?: never;
|
|
9671
|
+
responses: {
|
|
9672
|
+
/** @description OK */
|
|
9673
|
+
200: {
|
|
9674
|
+
headers: {
|
|
9675
|
+
[name: string]: unknown;
|
|
9676
|
+
};
|
|
9677
|
+
content: {
|
|
9678
|
+
"application/json": {
|
|
9679
|
+
data: {
|
|
9680
|
+
id: string;
|
|
9681
|
+
workspaceID: string;
|
|
9682
|
+
version: string;
|
|
9683
|
+
/**
|
|
9684
|
+
* @description Uninstalled extensions remain readable until their last lifecycle event expires
|
|
9685
|
+
* @enum {string}
|
|
9686
|
+
*/
|
|
9687
|
+
state: "active" | "disabled" | "uninstalled";
|
|
9688
|
+
}[];
|
|
9689
|
+
hasMore: boolean;
|
|
9580
9690
|
};
|
|
9581
9691
|
};
|
|
9582
9692
|
};
|
|
@@ -10989,14 +11099,1021 @@ interface operations {
|
|
|
10989
11099
|
};
|
|
10990
11100
|
};
|
|
10991
11101
|
};
|
|
10992
|
-
"extensions.getSelfConfiguration": {
|
|
11102
|
+
"extensions.getSelfConfiguration": {
|
|
11103
|
+
parameters: {
|
|
11104
|
+
query?: never;
|
|
11105
|
+
header?: never;
|
|
11106
|
+
path?: never;
|
|
11107
|
+
cookie?: never;
|
|
11108
|
+
};
|
|
11109
|
+
requestBody?: never;
|
|
11110
|
+
responses: {
|
|
11111
|
+
/** @description OK */
|
|
11112
|
+
200: {
|
|
11113
|
+
headers: {
|
|
11114
|
+
[name: string]: unknown;
|
|
11115
|
+
};
|
|
11116
|
+
content: {
|
|
11117
|
+
"application/json": {
|
|
11118
|
+
/** @description All values, including secret fields */
|
|
11119
|
+
values: {
|
|
11120
|
+
[key: string]: string | number | boolean | null | (string | number | boolean | null | (unknown | null)[] | {
|
|
11121
|
+
[key: string]: unknown;
|
|
11122
|
+
})[] | {
|
|
11123
|
+
[key: string]: string | number | boolean | null | (unknown | null)[] | {
|
|
11124
|
+
[key: string]: unknown;
|
|
11125
|
+
};
|
|
11126
|
+
};
|
|
11127
|
+
};
|
|
11128
|
+
revision: number;
|
|
11129
|
+
};
|
|
11130
|
+
};
|
|
11131
|
+
};
|
|
11132
|
+
/** @description 400 */
|
|
11133
|
+
400: {
|
|
11134
|
+
headers: {
|
|
11135
|
+
[name: string]: unknown;
|
|
11136
|
+
};
|
|
11137
|
+
content: {
|
|
11138
|
+
"application/json": {
|
|
11139
|
+
/** @constant */
|
|
11140
|
+
defined: true;
|
|
11141
|
+
/** @constant */
|
|
11142
|
+
code: "BAD_REQUEST";
|
|
11143
|
+
/** @constant */
|
|
11144
|
+
status: 400;
|
|
11145
|
+
/** @default Bad Request */
|
|
11146
|
+
message: string;
|
|
11147
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
11148
|
+
} | {
|
|
11149
|
+
/** @constant */
|
|
11150
|
+
defined: false;
|
|
11151
|
+
code: string;
|
|
11152
|
+
status: number;
|
|
11153
|
+
message: string;
|
|
11154
|
+
data?: unknown;
|
|
11155
|
+
};
|
|
11156
|
+
};
|
|
11157
|
+
};
|
|
11158
|
+
/** @description 401 */
|
|
11159
|
+
401: {
|
|
11160
|
+
headers: {
|
|
11161
|
+
[name: string]: unknown;
|
|
11162
|
+
};
|
|
11163
|
+
content: {
|
|
11164
|
+
"application/json": {
|
|
11165
|
+
/** @constant */
|
|
11166
|
+
defined: true;
|
|
11167
|
+
/** @constant */
|
|
11168
|
+
code: "UNAUTHORIZED";
|
|
11169
|
+
/** @constant */
|
|
11170
|
+
status: 401;
|
|
11171
|
+
/** @default Unauthorized */
|
|
11172
|
+
message: string;
|
|
11173
|
+
data?: components["schemas"]["ErrorData"];
|
|
11174
|
+
} | {
|
|
11175
|
+
/** @constant */
|
|
11176
|
+
defined: false;
|
|
11177
|
+
code: string;
|
|
11178
|
+
status: number;
|
|
11179
|
+
message: string;
|
|
11180
|
+
data?: unknown;
|
|
11181
|
+
};
|
|
11182
|
+
};
|
|
11183
|
+
};
|
|
11184
|
+
/** @description 403 */
|
|
11185
|
+
403: {
|
|
11186
|
+
headers: {
|
|
11187
|
+
[name: string]: unknown;
|
|
11188
|
+
};
|
|
11189
|
+
content: {
|
|
11190
|
+
"application/json": {
|
|
11191
|
+
/** @constant */
|
|
11192
|
+
defined: true;
|
|
11193
|
+
/** @constant */
|
|
11194
|
+
code: "FORBIDDEN";
|
|
11195
|
+
/** @constant */
|
|
11196
|
+
status: 403;
|
|
11197
|
+
/** @default Forbidden */
|
|
11198
|
+
message: string;
|
|
11199
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
11200
|
+
} | {
|
|
11201
|
+
/** @constant */
|
|
11202
|
+
defined: false;
|
|
11203
|
+
code: string;
|
|
11204
|
+
status: number;
|
|
11205
|
+
message: string;
|
|
11206
|
+
data?: unknown;
|
|
11207
|
+
};
|
|
11208
|
+
};
|
|
11209
|
+
};
|
|
11210
|
+
/** @description 404 */
|
|
11211
|
+
404: {
|
|
11212
|
+
headers: {
|
|
11213
|
+
[name: string]: unknown;
|
|
11214
|
+
};
|
|
11215
|
+
content: {
|
|
11216
|
+
"application/json": {
|
|
11217
|
+
/** @constant */
|
|
11218
|
+
defined: true;
|
|
11219
|
+
/** @constant */
|
|
11220
|
+
code: "NOT_FOUND";
|
|
11221
|
+
/** @constant */
|
|
11222
|
+
status: 404;
|
|
11223
|
+
/** @default Not Found */
|
|
11224
|
+
message: string;
|
|
11225
|
+
data?: components["schemas"]["ErrorData"];
|
|
11226
|
+
} | {
|
|
11227
|
+
/** @constant */
|
|
11228
|
+
defined: false;
|
|
11229
|
+
code: string;
|
|
11230
|
+
status: number;
|
|
11231
|
+
message: string;
|
|
11232
|
+
data?: unknown;
|
|
11233
|
+
};
|
|
11234
|
+
};
|
|
11235
|
+
};
|
|
11236
|
+
/** @description 409 */
|
|
11237
|
+
409: {
|
|
11238
|
+
headers: {
|
|
11239
|
+
[name: string]: unknown;
|
|
11240
|
+
};
|
|
11241
|
+
content: {
|
|
11242
|
+
"application/json": {
|
|
11243
|
+
/** @constant */
|
|
11244
|
+
defined: true;
|
|
11245
|
+
/** @constant */
|
|
11246
|
+
code: "CONFLICT";
|
|
11247
|
+
/** @constant */
|
|
11248
|
+
status: 409;
|
|
11249
|
+
/** @default Conflict */
|
|
11250
|
+
message: string;
|
|
11251
|
+
data?: components["schemas"]["ErrorData"];
|
|
11252
|
+
} | {
|
|
11253
|
+
/** @constant */
|
|
11254
|
+
defined: false;
|
|
11255
|
+
code: string;
|
|
11256
|
+
status: number;
|
|
11257
|
+
message: string;
|
|
11258
|
+
data?: unknown;
|
|
11259
|
+
};
|
|
11260
|
+
};
|
|
11261
|
+
};
|
|
11262
|
+
/** @description 429 */
|
|
11263
|
+
429: {
|
|
11264
|
+
headers: {
|
|
11265
|
+
[name: string]: unknown;
|
|
11266
|
+
};
|
|
11267
|
+
content: {
|
|
11268
|
+
"application/json": {
|
|
11269
|
+
/** @constant */
|
|
11270
|
+
defined: true;
|
|
11271
|
+
/** @constant */
|
|
11272
|
+
code: "TOO_MANY_REQUESTS";
|
|
11273
|
+
/** @constant */
|
|
11274
|
+
status: 429;
|
|
11275
|
+
/** @default Too Many Requests */
|
|
11276
|
+
message: string;
|
|
11277
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
11278
|
+
} | {
|
|
11279
|
+
/** @constant */
|
|
11280
|
+
defined: false;
|
|
11281
|
+
code: string;
|
|
11282
|
+
status: number;
|
|
11283
|
+
message: string;
|
|
11284
|
+
data?: unknown;
|
|
11285
|
+
};
|
|
11286
|
+
};
|
|
11287
|
+
};
|
|
11288
|
+
/** @description 500 */
|
|
11289
|
+
500: {
|
|
11290
|
+
headers: {
|
|
11291
|
+
[name: string]: unknown;
|
|
11292
|
+
};
|
|
11293
|
+
content: {
|
|
11294
|
+
"application/json": {
|
|
11295
|
+
/** @constant */
|
|
11296
|
+
defined: true;
|
|
11297
|
+
/** @constant */
|
|
11298
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
11299
|
+
/** @constant */
|
|
11300
|
+
status: 500;
|
|
11301
|
+
/** @default Internal Server Error */
|
|
11302
|
+
message: string;
|
|
11303
|
+
data?: components["schemas"]["ErrorData"];
|
|
11304
|
+
} | {
|
|
11305
|
+
/** @constant */
|
|
11306
|
+
defined: false;
|
|
11307
|
+
code: string;
|
|
11308
|
+
status: number;
|
|
11309
|
+
message: string;
|
|
11310
|
+
data?: unknown;
|
|
11311
|
+
};
|
|
11312
|
+
};
|
|
11313
|
+
};
|
|
11314
|
+
/** @description 503 */
|
|
11315
|
+
503: {
|
|
11316
|
+
headers: {
|
|
11317
|
+
[name: string]: unknown;
|
|
11318
|
+
};
|
|
11319
|
+
content: {
|
|
11320
|
+
"application/json": {
|
|
11321
|
+
/** @constant */
|
|
11322
|
+
defined: true;
|
|
11323
|
+
/** @constant */
|
|
11324
|
+
code: "SERVICE_UNAVAILABLE";
|
|
11325
|
+
/** @constant */
|
|
11326
|
+
status: 503;
|
|
11327
|
+
/** @default Service Unavailable */
|
|
11328
|
+
message: string;
|
|
11329
|
+
data?: components["schemas"]["ErrorData"];
|
|
11330
|
+
} | {
|
|
11331
|
+
/** @constant */
|
|
11332
|
+
defined: false;
|
|
11333
|
+
code: string;
|
|
11334
|
+
status: number;
|
|
11335
|
+
message: string;
|
|
11336
|
+
data?: unknown;
|
|
11337
|
+
};
|
|
11338
|
+
};
|
|
11339
|
+
};
|
|
11340
|
+
};
|
|
11341
|
+
};
|
|
11342
|
+
"extensions.listSelfPublishableKeys": {
|
|
11343
|
+
parameters: {
|
|
11344
|
+
query?: never;
|
|
11345
|
+
header?: never;
|
|
11346
|
+
path?: never;
|
|
11347
|
+
cookie?: never;
|
|
11348
|
+
};
|
|
11349
|
+
requestBody?: never;
|
|
11350
|
+
responses: {
|
|
11351
|
+
/** @description OK */
|
|
11352
|
+
200: {
|
|
11353
|
+
headers: {
|
|
11354
|
+
[name: string]: unknown;
|
|
11355
|
+
};
|
|
11356
|
+
content: {
|
|
11357
|
+
"application/json": {
|
|
11358
|
+
data: {
|
|
11359
|
+
/** @description The ID of the API key */
|
|
11360
|
+
id: string;
|
|
11361
|
+
/** @description The name for the API key */
|
|
11362
|
+
name: string;
|
|
11363
|
+
/** @description The permissions of the API key */
|
|
11364
|
+
permissions: ("entries" | "read:entries" | "versions" | "read:versions" | "publishing" | "read:publishing" | "collections" | "read:collections" | "memberships" | "read:memberships" | "roles" | "read:roles" | "webhooks" | "read:webhooks" | "ai-answers")[];
|
|
11365
|
+
/** @description Publishable keys: the collections, with their descendants, that the key can read; none for all */
|
|
11366
|
+
collectionIDs: string[];
|
|
11367
|
+
/** @description Publishable keys: the browser origins that can use the key, with localhost */
|
|
11368
|
+
allowedOrigins: string[];
|
|
11369
|
+
/**
|
|
11370
|
+
* Format: date-time
|
|
11371
|
+
* @description The creation date
|
|
11372
|
+
*/
|
|
11373
|
+
createdAt: string;
|
|
11374
|
+
/**
|
|
11375
|
+
* Format: date-time
|
|
11376
|
+
* @description The last update date
|
|
11377
|
+
*/
|
|
11378
|
+
updatedAt: string;
|
|
11379
|
+
/** @description The raw key, which is public */
|
|
11380
|
+
value: string;
|
|
11381
|
+
}[];
|
|
11382
|
+
};
|
|
11383
|
+
};
|
|
11384
|
+
};
|
|
11385
|
+
/** @description 400 */
|
|
11386
|
+
400: {
|
|
11387
|
+
headers: {
|
|
11388
|
+
[name: string]: unknown;
|
|
11389
|
+
};
|
|
11390
|
+
content: {
|
|
11391
|
+
"application/json": {
|
|
11392
|
+
/** @constant */
|
|
11393
|
+
defined: true;
|
|
11394
|
+
/** @constant */
|
|
11395
|
+
code: "BAD_REQUEST";
|
|
11396
|
+
/** @constant */
|
|
11397
|
+
status: 400;
|
|
11398
|
+
/** @default Bad Request */
|
|
11399
|
+
message: string;
|
|
11400
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
11401
|
+
} | {
|
|
11402
|
+
/** @constant */
|
|
11403
|
+
defined: false;
|
|
11404
|
+
code: string;
|
|
11405
|
+
status: number;
|
|
11406
|
+
message: string;
|
|
11407
|
+
data?: unknown;
|
|
11408
|
+
};
|
|
11409
|
+
};
|
|
11410
|
+
};
|
|
11411
|
+
/** @description 401 */
|
|
11412
|
+
401: {
|
|
11413
|
+
headers: {
|
|
11414
|
+
[name: string]: unknown;
|
|
11415
|
+
};
|
|
11416
|
+
content: {
|
|
11417
|
+
"application/json": {
|
|
11418
|
+
/** @constant */
|
|
11419
|
+
defined: true;
|
|
11420
|
+
/** @constant */
|
|
11421
|
+
code: "UNAUTHORIZED";
|
|
11422
|
+
/** @constant */
|
|
11423
|
+
status: 401;
|
|
11424
|
+
/** @default Unauthorized */
|
|
11425
|
+
message: string;
|
|
11426
|
+
data?: components["schemas"]["ErrorData"];
|
|
11427
|
+
} | {
|
|
11428
|
+
/** @constant */
|
|
11429
|
+
defined: false;
|
|
11430
|
+
code: string;
|
|
11431
|
+
status: number;
|
|
11432
|
+
message: string;
|
|
11433
|
+
data?: unknown;
|
|
11434
|
+
};
|
|
11435
|
+
};
|
|
11436
|
+
};
|
|
11437
|
+
/** @description 403 */
|
|
11438
|
+
403: {
|
|
11439
|
+
headers: {
|
|
11440
|
+
[name: string]: unknown;
|
|
11441
|
+
};
|
|
11442
|
+
content: {
|
|
11443
|
+
"application/json": {
|
|
11444
|
+
/** @constant */
|
|
11445
|
+
defined: true;
|
|
11446
|
+
/** @constant */
|
|
11447
|
+
code: "FORBIDDEN";
|
|
11448
|
+
/** @constant */
|
|
11449
|
+
status: 403;
|
|
11450
|
+
/** @default Forbidden */
|
|
11451
|
+
message: string;
|
|
11452
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
11453
|
+
} | {
|
|
11454
|
+
/** @constant */
|
|
11455
|
+
defined: false;
|
|
11456
|
+
code: string;
|
|
11457
|
+
status: number;
|
|
11458
|
+
message: string;
|
|
11459
|
+
data?: unknown;
|
|
11460
|
+
};
|
|
11461
|
+
};
|
|
11462
|
+
};
|
|
11463
|
+
/** @description 404 */
|
|
11464
|
+
404: {
|
|
11465
|
+
headers: {
|
|
11466
|
+
[name: string]: unknown;
|
|
11467
|
+
};
|
|
11468
|
+
content: {
|
|
11469
|
+
"application/json": {
|
|
11470
|
+
/** @constant */
|
|
11471
|
+
defined: true;
|
|
11472
|
+
/** @constant */
|
|
11473
|
+
code: "NOT_FOUND";
|
|
11474
|
+
/** @constant */
|
|
11475
|
+
status: 404;
|
|
11476
|
+
/** @default Not Found */
|
|
11477
|
+
message: string;
|
|
11478
|
+
data?: components["schemas"]["ErrorData"];
|
|
11479
|
+
} | {
|
|
11480
|
+
/** @constant */
|
|
11481
|
+
defined: false;
|
|
11482
|
+
code: string;
|
|
11483
|
+
status: number;
|
|
11484
|
+
message: string;
|
|
11485
|
+
data?: unknown;
|
|
11486
|
+
};
|
|
11487
|
+
};
|
|
11488
|
+
};
|
|
11489
|
+
/** @description 409 */
|
|
11490
|
+
409: {
|
|
11491
|
+
headers: {
|
|
11492
|
+
[name: string]: unknown;
|
|
11493
|
+
};
|
|
11494
|
+
content: {
|
|
11495
|
+
"application/json": {
|
|
11496
|
+
/** @constant */
|
|
11497
|
+
defined: true;
|
|
11498
|
+
/** @constant */
|
|
11499
|
+
code: "CONFLICT";
|
|
11500
|
+
/** @constant */
|
|
11501
|
+
status: 409;
|
|
11502
|
+
/** @default Conflict */
|
|
11503
|
+
message: string;
|
|
11504
|
+
data?: components["schemas"]["ErrorData"];
|
|
11505
|
+
} | {
|
|
11506
|
+
/** @constant */
|
|
11507
|
+
defined: false;
|
|
11508
|
+
code: string;
|
|
11509
|
+
status: number;
|
|
11510
|
+
message: string;
|
|
11511
|
+
data?: unknown;
|
|
11512
|
+
};
|
|
11513
|
+
};
|
|
11514
|
+
};
|
|
11515
|
+
/** @description 429 */
|
|
11516
|
+
429: {
|
|
11517
|
+
headers: {
|
|
11518
|
+
[name: string]: unknown;
|
|
11519
|
+
};
|
|
11520
|
+
content: {
|
|
11521
|
+
"application/json": {
|
|
11522
|
+
/** @constant */
|
|
11523
|
+
defined: true;
|
|
11524
|
+
/** @constant */
|
|
11525
|
+
code: "TOO_MANY_REQUESTS";
|
|
11526
|
+
/** @constant */
|
|
11527
|
+
status: 429;
|
|
11528
|
+
/** @default Too Many Requests */
|
|
11529
|
+
message: string;
|
|
11530
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
11531
|
+
} | {
|
|
11532
|
+
/** @constant */
|
|
11533
|
+
defined: false;
|
|
11534
|
+
code: string;
|
|
11535
|
+
status: number;
|
|
11536
|
+
message: string;
|
|
11537
|
+
data?: unknown;
|
|
11538
|
+
};
|
|
11539
|
+
};
|
|
11540
|
+
};
|
|
11541
|
+
/** @description 500 */
|
|
11542
|
+
500: {
|
|
11543
|
+
headers: {
|
|
11544
|
+
[name: string]: unknown;
|
|
11545
|
+
};
|
|
11546
|
+
content: {
|
|
11547
|
+
"application/json": {
|
|
11548
|
+
/** @constant */
|
|
11549
|
+
defined: true;
|
|
11550
|
+
/** @constant */
|
|
11551
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
11552
|
+
/** @constant */
|
|
11553
|
+
status: 500;
|
|
11554
|
+
/** @default Internal Server Error */
|
|
11555
|
+
message: string;
|
|
11556
|
+
data?: components["schemas"]["ErrorData"];
|
|
11557
|
+
} | {
|
|
11558
|
+
/** @constant */
|
|
11559
|
+
defined: false;
|
|
11560
|
+
code: string;
|
|
11561
|
+
status: number;
|
|
11562
|
+
message: string;
|
|
11563
|
+
data?: unknown;
|
|
11564
|
+
};
|
|
11565
|
+
};
|
|
11566
|
+
};
|
|
11567
|
+
/** @description 503 */
|
|
11568
|
+
503: {
|
|
11569
|
+
headers: {
|
|
11570
|
+
[name: string]: unknown;
|
|
11571
|
+
};
|
|
11572
|
+
content: {
|
|
11573
|
+
"application/json": {
|
|
11574
|
+
/** @constant */
|
|
11575
|
+
defined: true;
|
|
11576
|
+
/** @constant */
|
|
11577
|
+
code: "SERVICE_UNAVAILABLE";
|
|
11578
|
+
/** @constant */
|
|
11579
|
+
status: 503;
|
|
11580
|
+
/** @default Service Unavailable */
|
|
11581
|
+
message: string;
|
|
11582
|
+
data?: components["schemas"]["ErrorData"];
|
|
11583
|
+
} | {
|
|
11584
|
+
/** @constant */
|
|
11585
|
+
defined: false;
|
|
11586
|
+
code: string;
|
|
11587
|
+
status: number;
|
|
11588
|
+
message: string;
|
|
11589
|
+
data?: unknown;
|
|
11590
|
+
};
|
|
11591
|
+
};
|
|
11592
|
+
};
|
|
11593
|
+
};
|
|
11594
|
+
};
|
|
11595
|
+
"extensions.createSelfPublishableKey": {
|
|
11596
|
+
parameters: {
|
|
11597
|
+
query?: never;
|
|
11598
|
+
header?: never;
|
|
11599
|
+
path?: never;
|
|
11600
|
+
cookie?: never;
|
|
11601
|
+
};
|
|
11602
|
+
requestBody: {
|
|
11603
|
+
content: {
|
|
11604
|
+
"application/json": {
|
|
11605
|
+
/** @description A name shown in API settings */
|
|
11606
|
+
name: string;
|
|
11607
|
+
/** @description Collections, with their descendants, that the key can read */
|
|
11608
|
+
collectionIDs: string[];
|
|
11609
|
+
/** @description Browser origins that can use the key, besides localhost */
|
|
11610
|
+
allowedOrigins: string[];
|
|
11611
|
+
/**
|
|
11612
|
+
* @description Whether the key can ask for AI answers; needs the extension's ai-answers permission
|
|
11613
|
+
* @default false
|
|
11614
|
+
*/
|
|
11615
|
+
answers?: boolean;
|
|
11616
|
+
};
|
|
11617
|
+
};
|
|
11618
|
+
};
|
|
11619
|
+
responses: {
|
|
11620
|
+
/** @description OK */
|
|
11621
|
+
200: {
|
|
11622
|
+
headers: {
|
|
11623
|
+
[name: string]: unknown;
|
|
11624
|
+
};
|
|
11625
|
+
content: {
|
|
11626
|
+
"application/json": {
|
|
11627
|
+
/** @description The ID of the API key */
|
|
11628
|
+
id: string;
|
|
11629
|
+
/** @description The name for the API key */
|
|
11630
|
+
name: string;
|
|
11631
|
+
/** @description The permissions of the API key */
|
|
11632
|
+
permissions: ("entries" | "read:entries" | "versions" | "read:versions" | "publishing" | "read:publishing" | "collections" | "read:collections" | "memberships" | "read:memberships" | "roles" | "read:roles" | "webhooks" | "read:webhooks" | "ai-answers")[];
|
|
11633
|
+
/** @description Publishable keys: the collections, with their descendants, that the key can read; none for all */
|
|
11634
|
+
collectionIDs: string[];
|
|
11635
|
+
/** @description Publishable keys: the browser origins that can use the key, with localhost */
|
|
11636
|
+
allowedOrigins: string[];
|
|
11637
|
+
/**
|
|
11638
|
+
* Format: date-time
|
|
11639
|
+
* @description The creation date
|
|
11640
|
+
*/
|
|
11641
|
+
createdAt: string;
|
|
11642
|
+
/**
|
|
11643
|
+
* Format: date-time
|
|
11644
|
+
* @description The last update date
|
|
11645
|
+
*/
|
|
11646
|
+
updatedAt: string;
|
|
11647
|
+
/** @description The raw key, which is public */
|
|
11648
|
+
value: string;
|
|
11649
|
+
};
|
|
11650
|
+
};
|
|
11651
|
+
};
|
|
11652
|
+
/** @description 400 */
|
|
11653
|
+
400: {
|
|
11654
|
+
headers: {
|
|
11655
|
+
[name: string]: unknown;
|
|
11656
|
+
};
|
|
11657
|
+
content: {
|
|
11658
|
+
"application/json": {
|
|
11659
|
+
/** @constant */
|
|
11660
|
+
defined: true;
|
|
11661
|
+
/** @constant */
|
|
11662
|
+
code: "BAD_REQUEST";
|
|
11663
|
+
/** @constant */
|
|
11664
|
+
status: 400;
|
|
11665
|
+
/** @default Bad Request */
|
|
11666
|
+
message: string;
|
|
11667
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
11668
|
+
} | {
|
|
11669
|
+
/** @constant */
|
|
11670
|
+
defined: false;
|
|
11671
|
+
code: string;
|
|
11672
|
+
status: number;
|
|
11673
|
+
message: string;
|
|
11674
|
+
data?: unknown;
|
|
11675
|
+
};
|
|
11676
|
+
};
|
|
11677
|
+
};
|
|
11678
|
+
/** @description 401 */
|
|
11679
|
+
401: {
|
|
11680
|
+
headers: {
|
|
11681
|
+
[name: string]: unknown;
|
|
11682
|
+
};
|
|
11683
|
+
content: {
|
|
11684
|
+
"application/json": {
|
|
11685
|
+
/** @constant */
|
|
11686
|
+
defined: true;
|
|
11687
|
+
/** @constant */
|
|
11688
|
+
code: "UNAUTHORIZED";
|
|
11689
|
+
/** @constant */
|
|
11690
|
+
status: 401;
|
|
11691
|
+
/** @default Unauthorized */
|
|
11692
|
+
message: string;
|
|
11693
|
+
data?: components["schemas"]["ErrorData"];
|
|
11694
|
+
} | {
|
|
11695
|
+
/** @constant */
|
|
11696
|
+
defined: false;
|
|
11697
|
+
code: string;
|
|
11698
|
+
status: number;
|
|
11699
|
+
message: string;
|
|
11700
|
+
data?: unknown;
|
|
11701
|
+
};
|
|
11702
|
+
};
|
|
11703
|
+
};
|
|
11704
|
+
/** @description 403 */
|
|
11705
|
+
403: {
|
|
11706
|
+
headers: {
|
|
11707
|
+
[name: string]: unknown;
|
|
11708
|
+
};
|
|
11709
|
+
content: {
|
|
11710
|
+
"application/json": {
|
|
11711
|
+
/** @constant */
|
|
11712
|
+
defined: true;
|
|
11713
|
+
/** @constant */
|
|
11714
|
+
code: "FORBIDDEN";
|
|
11715
|
+
/** @constant */
|
|
11716
|
+
status: 403;
|
|
11717
|
+
/** @default Forbidden */
|
|
11718
|
+
message: string;
|
|
11719
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
11720
|
+
} | {
|
|
11721
|
+
/** @constant */
|
|
11722
|
+
defined: false;
|
|
11723
|
+
code: string;
|
|
11724
|
+
status: number;
|
|
11725
|
+
message: string;
|
|
11726
|
+
data?: unknown;
|
|
11727
|
+
};
|
|
11728
|
+
};
|
|
11729
|
+
};
|
|
11730
|
+
/** @description 404 */
|
|
11731
|
+
404: {
|
|
11732
|
+
headers: {
|
|
11733
|
+
[name: string]: unknown;
|
|
11734
|
+
};
|
|
11735
|
+
content: {
|
|
11736
|
+
"application/json": {
|
|
11737
|
+
/** @constant */
|
|
11738
|
+
defined: true;
|
|
11739
|
+
/** @constant */
|
|
11740
|
+
code: "NOT_FOUND";
|
|
11741
|
+
/** @constant */
|
|
11742
|
+
status: 404;
|
|
11743
|
+
/** @default Not Found */
|
|
11744
|
+
message: string;
|
|
11745
|
+
data?: components["schemas"]["ErrorData"];
|
|
11746
|
+
} | {
|
|
11747
|
+
/** @constant */
|
|
11748
|
+
defined: false;
|
|
11749
|
+
code: string;
|
|
11750
|
+
status: number;
|
|
11751
|
+
message: string;
|
|
11752
|
+
data?: unknown;
|
|
11753
|
+
};
|
|
11754
|
+
};
|
|
11755
|
+
};
|
|
11756
|
+
/** @description 409 */
|
|
11757
|
+
409: {
|
|
11758
|
+
headers: {
|
|
11759
|
+
[name: string]: unknown;
|
|
11760
|
+
};
|
|
11761
|
+
content: {
|
|
11762
|
+
"application/json": {
|
|
11763
|
+
/** @constant */
|
|
11764
|
+
defined: true;
|
|
11765
|
+
/** @constant */
|
|
11766
|
+
code: "CONFLICT";
|
|
11767
|
+
/** @constant */
|
|
11768
|
+
status: 409;
|
|
11769
|
+
/** @default Conflict */
|
|
11770
|
+
message: string;
|
|
11771
|
+
data?: components["schemas"]["ErrorData"];
|
|
11772
|
+
} | {
|
|
11773
|
+
/** @constant */
|
|
11774
|
+
defined: false;
|
|
11775
|
+
code: string;
|
|
11776
|
+
status: number;
|
|
11777
|
+
message: string;
|
|
11778
|
+
data?: unknown;
|
|
11779
|
+
};
|
|
11780
|
+
};
|
|
11781
|
+
};
|
|
11782
|
+
/** @description 429 */
|
|
11783
|
+
429: {
|
|
11784
|
+
headers: {
|
|
11785
|
+
[name: string]: unknown;
|
|
11786
|
+
};
|
|
11787
|
+
content: {
|
|
11788
|
+
"application/json": {
|
|
11789
|
+
/** @constant */
|
|
11790
|
+
defined: true;
|
|
11791
|
+
/** @constant */
|
|
11792
|
+
code: "TOO_MANY_REQUESTS";
|
|
11793
|
+
/** @constant */
|
|
11794
|
+
status: 429;
|
|
11795
|
+
/** @default Too Many Requests */
|
|
11796
|
+
message: string;
|
|
11797
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
11798
|
+
} | {
|
|
11799
|
+
/** @constant */
|
|
11800
|
+
defined: false;
|
|
11801
|
+
code: string;
|
|
11802
|
+
status: number;
|
|
11803
|
+
message: string;
|
|
11804
|
+
data?: unknown;
|
|
11805
|
+
};
|
|
11806
|
+
};
|
|
11807
|
+
};
|
|
11808
|
+
/** @description 500 */
|
|
11809
|
+
500: {
|
|
11810
|
+
headers: {
|
|
11811
|
+
[name: string]: unknown;
|
|
11812
|
+
};
|
|
11813
|
+
content: {
|
|
11814
|
+
"application/json": {
|
|
11815
|
+
/** @constant */
|
|
11816
|
+
defined: true;
|
|
11817
|
+
/** @constant */
|
|
11818
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
11819
|
+
/** @constant */
|
|
11820
|
+
status: 500;
|
|
11821
|
+
/** @default Internal Server Error */
|
|
11822
|
+
message: string;
|
|
11823
|
+
data?: components["schemas"]["ErrorData"];
|
|
11824
|
+
} | {
|
|
11825
|
+
/** @constant */
|
|
11826
|
+
defined: false;
|
|
11827
|
+
code: string;
|
|
11828
|
+
status: number;
|
|
11829
|
+
message: string;
|
|
11830
|
+
data?: unknown;
|
|
11831
|
+
};
|
|
11832
|
+
};
|
|
11833
|
+
};
|
|
11834
|
+
/** @description 503 */
|
|
11835
|
+
503: {
|
|
11836
|
+
headers: {
|
|
11837
|
+
[name: string]: unknown;
|
|
11838
|
+
};
|
|
11839
|
+
content: {
|
|
11840
|
+
"application/json": {
|
|
11841
|
+
/** @constant */
|
|
11842
|
+
defined: true;
|
|
11843
|
+
/** @constant */
|
|
11844
|
+
code: "SERVICE_UNAVAILABLE";
|
|
11845
|
+
/** @constant */
|
|
11846
|
+
status: 503;
|
|
11847
|
+
/** @default Service Unavailable */
|
|
11848
|
+
message: string;
|
|
11849
|
+
data?: components["schemas"]["ErrorData"];
|
|
11850
|
+
} | {
|
|
11851
|
+
/** @constant */
|
|
11852
|
+
defined: false;
|
|
11853
|
+
code: string;
|
|
11854
|
+
status: number;
|
|
11855
|
+
message: string;
|
|
11856
|
+
data?: unknown;
|
|
11857
|
+
};
|
|
11858
|
+
};
|
|
11859
|
+
};
|
|
11860
|
+
};
|
|
11861
|
+
};
|
|
11862
|
+
"extensions.deleteSelfPublishableKey": {
|
|
11863
|
+
parameters: {
|
|
11864
|
+
query?: never;
|
|
11865
|
+
header?: never;
|
|
11866
|
+
path: {
|
|
11867
|
+
keyID: string;
|
|
11868
|
+
};
|
|
11869
|
+
cookie?: never;
|
|
11870
|
+
};
|
|
11871
|
+
requestBody?: never;
|
|
11872
|
+
responses: {
|
|
11873
|
+
/** @description OK */
|
|
11874
|
+
200: {
|
|
11875
|
+
headers: {
|
|
11876
|
+
[name: string]: unknown;
|
|
11877
|
+
};
|
|
11878
|
+
content: {
|
|
11879
|
+
"application/json": {
|
|
11880
|
+
deleted: boolean;
|
|
11881
|
+
};
|
|
11882
|
+
};
|
|
11883
|
+
};
|
|
11884
|
+
/** @description 400 */
|
|
11885
|
+
400: {
|
|
11886
|
+
headers: {
|
|
11887
|
+
[name: string]: unknown;
|
|
11888
|
+
};
|
|
11889
|
+
content: {
|
|
11890
|
+
"application/json": {
|
|
11891
|
+
/** @constant */
|
|
11892
|
+
defined: true;
|
|
11893
|
+
/** @constant */
|
|
11894
|
+
code: "BAD_REQUEST";
|
|
11895
|
+
/** @constant */
|
|
11896
|
+
status: 400;
|
|
11897
|
+
/** @default Bad Request */
|
|
11898
|
+
message: string;
|
|
11899
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
11900
|
+
} | {
|
|
11901
|
+
/** @constant */
|
|
11902
|
+
defined: false;
|
|
11903
|
+
code: string;
|
|
11904
|
+
status: number;
|
|
11905
|
+
message: string;
|
|
11906
|
+
data?: unknown;
|
|
11907
|
+
};
|
|
11908
|
+
};
|
|
11909
|
+
};
|
|
11910
|
+
/** @description 401 */
|
|
11911
|
+
401: {
|
|
11912
|
+
headers: {
|
|
11913
|
+
[name: string]: unknown;
|
|
11914
|
+
};
|
|
11915
|
+
content: {
|
|
11916
|
+
"application/json": {
|
|
11917
|
+
/** @constant */
|
|
11918
|
+
defined: true;
|
|
11919
|
+
/** @constant */
|
|
11920
|
+
code: "UNAUTHORIZED";
|
|
11921
|
+
/** @constant */
|
|
11922
|
+
status: 401;
|
|
11923
|
+
/** @default Unauthorized */
|
|
11924
|
+
message: string;
|
|
11925
|
+
data?: components["schemas"]["ErrorData"];
|
|
11926
|
+
} | {
|
|
11927
|
+
/** @constant */
|
|
11928
|
+
defined: false;
|
|
11929
|
+
code: string;
|
|
11930
|
+
status: number;
|
|
11931
|
+
message: string;
|
|
11932
|
+
data?: unknown;
|
|
11933
|
+
};
|
|
11934
|
+
};
|
|
11935
|
+
};
|
|
11936
|
+
/** @description 403 */
|
|
11937
|
+
403: {
|
|
11938
|
+
headers: {
|
|
11939
|
+
[name: string]: unknown;
|
|
11940
|
+
};
|
|
11941
|
+
content: {
|
|
11942
|
+
"application/json": {
|
|
11943
|
+
/** @constant */
|
|
11944
|
+
defined: true;
|
|
11945
|
+
/** @constant */
|
|
11946
|
+
code: "FORBIDDEN";
|
|
11947
|
+
/** @constant */
|
|
11948
|
+
status: 403;
|
|
11949
|
+
/** @default Forbidden */
|
|
11950
|
+
message: string;
|
|
11951
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
11952
|
+
} | {
|
|
11953
|
+
/** @constant */
|
|
11954
|
+
defined: false;
|
|
11955
|
+
code: string;
|
|
11956
|
+
status: number;
|
|
11957
|
+
message: string;
|
|
11958
|
+
data?: unknown;
|
|
11959
|
+
};
|
|
11960
|
+
};
|
|
11961
|
+
};
|
|
11962
|
+
/** @description 404 */
|
|
11963
|
+
404: {
|
|
11964
|
+
headers: {
|
|
11965
|
+
[name: string]: unknown;
|
|
11966
|
+
};
|
|
11967
|
+
content: {
|
|
11968
|
+
"application/json": {
|
|
11969
|
+
/** @constant */
|
|
11970
|
+
defined: true;
|
|
11971
|
+
/** @constant */
|
|
11972
|
+
code: "NOT_FOUND";
|
|
11973
|
+
/** @constant */
|
|
11974
|
+
status: 404;
|
|
11975
|
+
/** @default Not Found */
|
|
11976
|
+
message: string;
|
|
11977
|
+
data?: components["schemas"]["ErrorData"];
|
|
11978
|
+
} | {
|
|
11979
|
+
/** @constant */
|
|
11980
|
+
defined: false;
|
|
11981
|
+
code: string;
|
|
11982
|
+
status: number;
|
|
11983
|
+
message: string;
|
|
11984
|
+
data?: unknown;
|
|
11985
|
+
};
|
|
11986
|
+
};
|
|
11987
|
+
};
|
|
11988
|
+
/** @description 409 */
|
|
11989
|
+
409: {
|
|
11990
|
+
headers: {
|
|
11991
|
+
[name: string]: unknown;
|
|
11992
|
+
};
|
|
11993
|
+
content: {
|
|
11994
|
+
"application/json": {
|
|
11995
|
+
/** @constant */
|
|
11996
|
+
defined: true;
|
|
11997
|
+
/** @constant */
|
|
11998
|
+
code: "CONFLICT";
|
|
11999
|
+
/** @constant */
|
|
12000
|
+
status: 409;
|
|
12001
|
+
/** @default Conflict */
|
|
12002
|
+
message: string;
|
|
12003
|
+
data?: components["schemas"]["ErrorData"];
|
|
12004
|
+
} | {
|
|
12005
|
+
/** @constant */
|
|
12006
|
+
defined: false;
|
|
12007
|
+
code: string;
|
|
12008
|
+
status: number;
|
|
12009
|
+
message: string;
|
|
12010
|
+
data?: unknown;
|
|
12011
|
+
};
|
|
12012
|
+
};
|
|
12013
|
+
};
|
|
12014
|
+
/** @description 429 */
|
|
12015
|
+
429: {
|
|
12016
|
+
headers: {
|
|
12017
|
+
[name: string]: unknown;
|
|
12018
|
+
};
|
|
12019
|
+
content: {
|
|
12020
|
+
"application/json": {
|
|
12021
|
+
/** @constant */
|
|
12022
|
+
defined: true;
|
|
12023
|
+
/** @constant */
|
|
12024
|
+
code: "TOO_MANY_REQUESTS";
|
|
12025
|
+
/** @constant */
|
|
12026
|
+
status: 429;
|
|
12027
|
+
/** @default Too Many Requests */
|
|
12028
|
+
message: string;
|
|
12029
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
12030
|
+
} | {
|
|
12031
|
+
/** @constant */
|
|
12032
|
+
defined: false;
|
|
12033
|
+
code: string;
|
|
12034
|
+
status: number;
|
|
12035
|
+
message: string;
|
|
12036
|
+
data?: unknown;
|
|
12037
|
+
};
|
|
12038
|
+
};
|
|
12039
|
+
};
|
|
12040
|
+
/** @description 500 */
|
|
12041
|
+
500: {
|
|
12042
|
+
headers: {
|
|
12043
|
+
[name: string]: unknown;
|
|
12044
|
+
};
|
|
12045
|
+
content: {
|
|
12046
|
+
"application/json": {
|
|
12047
|
+
/** @constant */
|
|
12048
|
+
defined: true;
|
|
12049
|
+
/** @constant */
|
|
12050
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
12051
|
+
/** @constant */
|
|
12052
|
+
status: 500;
|
|
12053
|
+
/** @default Internal Server Error */
|
|
12054
|
+
message: string;
|
|
12055
|
+
data?: components["schemas"]["ErrorData"];
|
|
12056
|
+
} | {
|
|
12057
|
+
/** @constant */
|
|
12058
|
+
defined: false;
|
|
12059
|
+
code: string;
|
|
12060
|
+
status: number;
|
|
12061
|
+
message: string;
|
|
12062
|
+
data?: unknown;
|
|
12063
|
+
};
|
|
12064
|
+
};
|
|
12065
|
+
};
|
|
12066
|
+
/** @description 503 */
|
|
12067
|
+
503: {
|
|
12068
|
+
headers: {
|
|
12069
|
+
[name: string]: unknown;
|
|
12070
|
+
};
|
|
12071
|
+
content: {
|
|
12072
|
+
"application/json": {
|
|
12073
|
+
/** @constant */
|
|
12074
|
+
defined: true;
|
|
12075
|
+
/** @constant */
|
|
12076
|
+
code: "SERVICE_UNAVAILABLE";
|
|
12077
|
+
/** @constant */
|
|
12078
|
+
status: 503;
|
|
12079
|
+
/** @default Service Unavailable */
|
|
12080
|
+
message: string;
|
|
12081
|
+
data?: components["schemas"]["ErrorData"];
|
|
12082
|
+
} | {
|
|
12083
|
+
/** @constant */
|
|
12084
|
+
defined: false;
|
|
12085
|
+
code: string;
|
|
12086
|
+
status: number;
|
|
12087
|
+
message: string;
|
|
12088
|
+
data?: unknown;
|
|
12089
|
+
};
|
|
12090
|
+
};
|
|
12091
|
+
};
|
|
12092
|
+
};
|
|
12093
|
+
};
|
|
12094
|
+
"extensions.updateSelfPublishableKey": {
|
|
10993
12095
|
parameters: {
|
|
10994
12096
|
query?: never;
|
|
10995
12097
|
header?: never;
|
|
10996
|
-
path
|
|
12098
|
+
path: {
|
|
12099
|
+
keyID: string;
|
|
12100
|
+
};
|
|
10997
12101
|
cookie?: never;
|
|
10998
12102
|
};
|
|
10999
|
-
requestBody?:
|
|
12103
|
+
requestBody?: {
|
|
12104
|
+
content: {
|
|
12105
|
+
"application/json": {
|
|
12106
|
+
/** @description A name shown in API settings */
|
|
12107
|
+
name?: string;
|
|
12108
|
+
/** @description Collections, with their descendants, that the key can read */
|
|
12109
|
+
collectionIDs?: string[];
|
|
12110
|
+
/** @description Browser origins that can use the key, besides localhost */
|
|
12111
|
+
allowedOrigins?: string[];
|
|
12112
|
+
/** @description Whether the key can ask for AI answers; needs the extension's ai-answers permission */
|
|
12113
|
+
answers?: boolean;
|
|
12114
|
+
};
|
|
12115
|
+
};
|
|
12116
|
+
};
|
|
11000
12117
|
responses: {
|
|
11001
12118
|
/** @description OK */
|
|
11002
12119
|
200: {
|
|
@@ -11005,17 +12122,28 @@ interface operations {
|
|
|
11005
12122
|
};
|
|
11006
12123
|
content: {
|
|
11007
12124
|
"application/json": {
|
|
11008
|
-
/** @description
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
12125
|
+
/** @description The ID of the API key */
|
|
12126
|
+
id: string;
|
|
12127
|
+
/** @description The name for the API key */
|
|
12128
|
+
name: string;
|
|
12129
|
+
/** @description The permissions of the API key */
|
|
12130
|
+
permissions: ("entries" | "read:entries" | "versions" | "read:versions" | "publishing" | "read:publishing" | "collections" | "read:collections" | "memberships" | "read:memberships" | "roles" | "read:roles" | "webhooks" | "read:webhooks" | "ai-answers")[];
|
|
12131
|
+
/** @description Publishable keys: the collections, with their descendants, that the key can read; none for all */
|
|
12132
|
+
collectionIDs: string[];
|
|
12133
|
+
/** @description Publishable keys: the browser origins that can use the key, with localhost */
|
|
12134
|
+
allowedOrigins: string[];
|
|
12135
|
+
/**
|
|
12136
|
+
* Format: date-time
|
|
12137
|
+
* @description The creation date
|
|
12138
|
+
*/
|
|
12139
|
+
createdAt: string;
|
|
12140
|
+
/**
|
|
12141
|
+
* Format: date-time
|
|
12142
|
+
* @description The last update date
|
|
12143
|
+
*/
|
|
12144
|
+
updatedAt: string;
|
|
12145
|
+
/** @description The raw key, which is public */
|
|
12146
|
+
value: string;
|
|
11019
12147
|
};
|
|
11020
12148
|
};
|
|
11021
12149
|
};
|
|
@@ -11947,14 +13075,259 @@ interface operations {
|
|
|
11947
13075
|
};
|
|
11948
13076
|
};
|
|
11949
13077
|
};
|
|
11950
|
-
"extensions.listSelfStorageEntries": {
|
|
13078
|
+
"extensions.listSelfStorageEntries": {
|
|
13079
|
+
parameters: {
|
|
13080
|
+
query?: {
|
|
13081
|
+
prefix?: string;
|
|
13082
|
+
after?: string;
|
|
13083
|
+
limit?: number;
|
|
13084
|
+
};
|
|
13085
|
+
header?: never;
|
|
13086
|
+
path?: never;
|
|
13087
|
+
cookie?: never;
|
|
13088
|
+
};
|
|
13089
|
+
requestBody?: never;
|
|
13090
|
+
responses: {
|
|
13091
|
+
/** @description OK */
|
|
13092
|
+
200: {
|
|
13093
|
+
headers: {
|
|
13094
|
+
[name: string]: unknown;
|
|
13095
|
+
};
|
|
13096
|
+
content: {
|
|
13097
|
+
"application/json": {
|
|
13098
|
+
data: {
|
|
13099
|
+
key: string;
|
|
13100
|
+
value: string | number | boolean | null | (string | number | boolean | null | (unknown | null)[] | {
|
|
13101
|
+
[key: string]: unknown;
|
|
13102
|
+
})[] | {
|
|
13103
|
+
[key: string]: string | number | boolean | null | (unknown | null)[] | {
|
|
13104
|
+
[key: string]: unknown;
|
|
13105
|
+
};
|
|
13106
|
+
};
|
|
13107
|
+
/** Format: date-time */
|
|
13108
|
+
updatedAt: string;
|
|
13109
|
+
}[];
|
|
13110
|
+
hasMore: boolean;
|
|
13111
|
+
};
|
|
13112
|
+
};
|
|
13113
|
+
};
|
|
13114
|
+
/** @description 400 */
|
|
13115
|
+
400: {
|
|
13116
|
+
headers: {
|
|
13117
|
+
[name: string]: unknown;
|
|
13118
|
+
};
|
|
13119
|
+
content: {
|
|
13120
|
+
"application/json": {
|
|
13121
|
+
/** @constant */
|
|
13122
|
+
defined: true;
|
|
13123
|
+
/** @constant */
|
|
13124
|
+
code: "BAD_REQUEST";
|
|
13125
|
+
/** @constant */
|
|
13126
|
+
status: 400;
|
|
13127
|
+
/** @default Bad Request */
|
|
13128
|
+
message: string;
|
|
13129
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
13130
|
+
} | {
|
|
13131
|
+
/** @constant */
|
|
13132
|
+
defined: false;
|
|
13133
|
+
code: string;
|
|
13134
|
+
status: number;
|
|
13135
|
+
message: string;
|
|
13136
|
+
data?: unknown;
|
|
13137
|
+
};
|
|
13138
|
+
};
|
|
13139
|
+
};
|
|
13140
|
+
/** @description 401 */
|
|
13141
|
+
401: {
|
|
13142
|
+
headers: {
|
|
13143
|
+
[name: string]: unknown;
|
|
13144
|
+
};
|
|
13145
|
+
content: {
|
|
13146
|
+
"application/json": {
|
|
13147
|
+
/** @constant */
|
|
13148
|
+
defined: true;
|
|
13149
|
+
/** @constant */
|
|
13150
|
+
code: "UNAUTHORIZED";
|
|
13151
|
+
/** @constant */
|
|
13152
|
+
status: 401;
|
|
13153
|
+
/** @default Unauthorized */
|
|
13154
|
+
message: string;
|
|
13155
|
+
data?: components["schemas"]["ErrorData"];
|
|
13156
|
+
} | {
|
|
13157
|
+
/** @constant */
|
|
13158
|
+
defined: false;
|
|
13159
|
+
code: string;
|
|
13160
|
+
status: number;
|
|
13161
|
+
message: string;
|
|
13162
|
+
data?: unknown;
|
|
13163
|
+
};
|
|
13164
|
+
};
|
|
13165
|
+
};
|
|
13166
|
+
/** @description 403 */
|
|
13167
|
+
403: {
|
|
13168
|
+
headers: {
|
|
13169
|
+
[name: string]: unknown;
|
|
13170
|
+
};
|
|
13171
|
+
content: {
|
|
13172
|
+
"application/json": {
|
|
13173
|
+
/** @constant */
|
|
13174
|
+
defined: true;
|
|
13175
|
+
/** @constant */
|
|
13176
|
+
code: "FORBIDDEN";
|
|
13177
|
+
/** @constant */
|
|
13178
|
+
status: 403;
|
|
13179
|
+
/** @default Forbidden */
|
|
13180
|
+
message: string;
|
|
13181
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
13182
|
+
} | {
|
|
13183
|
+
/** @constant */
|
|
13184
|
+
defined: false;
|
|
13185
|
+
code: string;
|
|
13186
|
+
status: number;
|
|
13187
|
+
message: string;
|
|
13188
|
+
data?: unknown;
|
|
13189
|
+
};
|
|
13190
|
+
};
|
|
13191
|
+
};
|
|
13192
|
+
/** @description 404 */
|
|
13193
|
+
404: {
|
|
13194
|
+
headers: {
|
|
13195
|
+
[name: string]: unknown;
|
|
13196
|
+
};
|
|
13197
|
+
content: {
|
|
13198
|
+
"application/json": {
|
|
13199
|
+
/** @constant */
|
|
13200
|
+
defined: true;
|
|
13201
|
+
/** @constant */
|
|
13202
|
+
code: "NOT_FOUND";
|
|
13203
|
+
/** @constant */
|
|
13204
|
+
status: 404;
|
|
13205
|
+
/** @default Not Found */
|
|
13206
|
+
message: string;
|
|
13207
|
+
data?: components["schemas"]["ErrorData"];
|
|
13208
|
+
} | {
|
|
13209
|
+
/** @constant */
|
|
13210
|
+
defined: false;
|
|
13211
|
+
code: string;
|
|
13212
|
+
status: number;
|
|
13213
|
+
message: string;
|
|
13214
|
+
data?: unknown;
|
|
13215
|
+
};
|
|
13216
|
+
};
|
|
13217
|
+
};
|
|
13218
|
+
/** @description 409 */
|
|
13219
|
+
409: {
|
|
13220
|
+
headers: {
|
|
13221
|
+
[name: string]: unknown;
|
|
13222
|
+
};
|
|
13223
|
+
content: {
|
|
13224
|
+
"application/json": {
|
|
13225
|
+
/** @constant */
|
|
13226
|
+
defined: true;
|
|
13227
|
+
/** @constant */
|
|
13228
|
+
code: "CONFLICT";
|
|
13229
|
+
/** @constant */
|
|
13230
|
+
status: 409;
|
|
13231
|
+
/** @default Conflict */
|
|
13232
|
+
message: string;
|
|
13233
|
+
data?: components["schemas"]["ErrorData"];
|
|
13234
|
+
} | {
|
|
13235
|
+
/** @constant */
|
|
13236
|
+
defined: false;
|
|
13237
|
+
code: string;
|
|
13238
|
+
status: number;
|
|
13239
|
+
message: string;
|
|
13240
|
+
data?: unknown;
|
|
13241
|
+
};
|
|
13242
|
+
};
|
|
13243
|
+
};
|
|
13244
|
+
/** @description 429 */
|
|
13245
|
+
429: {
|
|
13246
|
+
headers: {
|
|
13247
|
+
[name: string]: unknown;
|
|
13248
|
+
};
|
|
13249
|
+
content: {
|
|
13250
|
+
"application/json": {
|
|
13251
|
+
/** @constant */
|
|
13252
|
+
defined: true;
|
|
13253
|
+
/** @constant */
|
|
13254
|
+
code: "TOO_MANY_REQUESTS";
|
|
13255
|
+
/** @constant */
|
|
13256
|
+
status: 429;
|
|
13257
|
+
/** @default Too Many Requests */
|
|
13258
|
+
message: string;
|
|
13259
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
13260
|
+
} | {
|
|
13261
|
+
/** @constant */
|
|
13262
|
+
defined: false;
|
|
13263
|
+
code: string;
|
|
13264
|
+
status: number;
|
|
13265
|
+
message: string;
|
|
13266
|
+
data?: unknown;
|
|
13267
|
+
};
|
|
13268
|
+
};
|
|
13269
|
+
};
|
|
13270
|
+
/** @description 500 */
|
|
13271
|
+
500: {
|
|
13272
|
+
headers: {
|
|
13273
|
+
[name: string]: unknown;
|
|
13274
|
+
};
|
|
13275
|
+
content: {
|
|
13276
|
+
"application/json": {
|
|
13277
|
+
/** @constant */
|
|
13278
|
+
defined: true;
|
|
13279
|
+
/** @constant */
|
|
13280
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
13281
|
+
/** @constant */
|
|
13282
|
+
status: 500;
|
|
13283
|
+
/** @default Internal Server Error */
|
|
13284
|
+
message: string;
|
|
13285
|
+
data?: components["schemas"]["ErrorData"];
|
|
13286
|
+
} | {
|
|
13287
|
+
/** @constant */
|
|
13288
|
+
defined: false;
|
|
13289
|
+
code: string;
|
|
13290
|
+
status: number;
|
|
13291
|
+
message: string;
|
|
13292
|
+
data?: unknown;
|
|
13293
|
+
};
|
|
13294
|
+
};
|
|
13295
|
+
};
|
|
13296
|
+
/** @description 503 */
|
|
13297
|
+
503: {
|
|
13298
|
+
headers: {
|
|
13299
|
+
[name: string]: unknown;
|
|
13300
|
+
};
|
|
13301
|
+
content: {
|
|
13302
|
+
"application/json": {
|
|
13303
|
+
/** @constant */
|
|
13304
|
+
defined: true;
|
|
13305
|
+
/** @constant */
|
|
13306
|
+
code: "SERVICE_UNAVAILABLE";
|
|
13307
|
+
/** @constant */
|
|
13308
|
+
status: 503;
|
|
13309
|
+
/** @default Service Unavailable */
|
|
13310
|
+
message: string;
|
|
13311
|
+
data?: components["schemas"]["ErrorData"];
|
|
13312
|
+
} | {
|
|
13313
|
+
/** @constant */
|
|
13314
|
+
defined: false;
|
|
13315
|
+
code: string;
|
|
13316
|
+
status: number;
|
|
13317
|
+
message: string;
|
|
13318
|
+
data?: unknown;
|
|
13319
|
+
};
|
|
13320
|
+
};
|
|
13321
|
+
};
|
|
13322
|
+
};
|
|
13323
|
+
};
|
|
13324
|
+
"extensions.listElements": {
|
|
11951
13325
|
parameters: {
|
|
11952
|
-
query?:
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
13326
|
+
query?: never;
|
|
13327
|
+
header?: {
|
|
13328
|
+
/** @description Required for OAuth: ID of the workspace to access. API keys use their own workspace. */
|
|
13329
|
+
"x-workspace-id"?: string;
|
|
11956
13330
|
};
|
|
11957
|
-
header?: never;
|
|
11958
13331
|
path?: never;
|
|
11959
13332
|
cookie?: never;
|
|
11960
13333
|
};
|
|
@@ -11967,20 +13340,104 @@ interface operations {
|
|
|
11967
13340
|
};
|
|
11968
13341
|
content: {
|
|
11969
13342
|
"application/json": {
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
13343
|
+
element: string;
|
|
13344
|
+
name: string;
|
|
13345
|
+
description?: string;
|
|
13346
|
+
/** @description False for an element without content, written as <Name /> */
|
|
13347
|
+
content: boolean;
|
|
13348
|
+
/** @description The direct child blocks that its content accepts; without it, any blocks */
|
|
13349
|
+
accepts?: {
|
|
13350
|
+
elements?: string[];
|
|
13351
|
+
blocks?: string[];
|
|
13352
|
+
};
|
|
13353
|
+
/** @description The direct child blocks that its content doesn't accept, even if `accepts` lists them */
|
|
13354
|
+
rejects?: {
|
|
13355
|
+
elements?: string[];
|
|
13356
|
+
blocks?: string[];
|
|
13357
|
+
};
|
|
13358
|
+
/** @description The props, with their defaults, which a new element gets */
|
|
13359
|
+
props?: ({
|
|
13360
|
+
name: string;
|
|
13361
|
+
title?: string;
|
|
13362
|
+
description?: string;
|
|
13363
|
+
/** @constant */
|
|
13364
|
+
type: "string";
|
|
13365
|
+
enum?: string[];
|
|
13366
|
+
/** @enum {string} */
|
|
13367
|
+
control?: "input" | "textarea" | "icon" | "link" | "select" | "toggle";
|
|
13368
|
+
placeholder?: string;
|
|
13369
|
+
minLength?: number;
|
|
13370
|
+
maxLength?: number;
|
|
13371
|
+
default?: string;
|
|
13372
|
+
} | {
|
|
13373
|
+
name: string;
|
|
13374
|
+
title?: string;
|
|
13375
|
+
description?: string;
|
|
13376
|
+
/** @enum {string} */
|
|
13377
|
+
type: "number" | "integer";
|
|
13378
|
+
minimum?: number;
|
|
13379
|
+
maximum?: number;
|
|
13380
|
+
default?: number;
|
|
13381
|
+
} | {
|
|
13382
|
+
name: string;
|
|
13383
|
+
title?: string;
|
|
13384
|
+
description?: string;
|
|
13385
|
+
/** @constant */
|
|
13386
|
+
type: "boolean";
|
|
13387
|
+
default?: boolean;
|
|
13388
|
+
})[];
|
|
13389
|
+
/** @description The extension that renders it, e.g. andesine/pages */
|
|
13390
|
+
extension: string;
|
|
13391
|
+
/** @description Elements that belong inside this one, e.g. Tab in Tabs */
|
|
13392
|
+
children: {
|
|
13393
|
+
element: string;
|
|
13394
|
+
name?: string;
|
|
13395
|
+
description?: string;
|
|
13396
|
+
/** @description False for an element without content, written as <Name /> */
|
|
13397
|
+
content: boolean;
|
|
13398
|
+
/** @description The direct child blocks that its content accepts; without it, any blocks */
|
|
13399
|
+
accepts?: {
|
|
13400
|
+
elements?: string[];
|
|
13401
|
+
blocks?: string[];
|
|
11978
13402
|
};
|
|
11979
|
-
/**
|
|
11980
|
-
|
|
13403
|
+
/** @description The direct child blocks that its content doesn't accept, even if `accepts` lists them */
|
|
13404
|
+
rejects?: {
|
|
13405
|
+
elements?: string[];
|
|
13406
|
+
blocks?: string[];
|
|
13407
|
+
};
|
|
13408
|
+
/** @description The props, with their defaults, which a new element gets */
|
|
13409
|
+
props?: ({
|
|
13410
|
+
name: string;
|
|
13411
|
+
title?: string;
|
|
13412
|
+
description?: string;
|
|
13413
|
+
/** @constant */
|
|
13414
|
+
type: "string";
|
|
13415
|
+
enum?: string[];
|
|
13416
|
+
/** @enum {string} */
|
|
13417
|
+
control?: "input" | "textarea" | "icon" | "link" | "select" | "toggle";
|
|
13418
|
+
placeholder?: string;
|
|
13419
|
+
minLength?: number;
|
|
13420
|
+
maxLength?: number;
|
|
13421
|
+
default?: string;
|
|
13422
|
+
} | {
|
|
13423
|
+
name: string;
|
|
13424
|
+
title?: string;
|
|
13425
|
+
description?: string;
|
|
13426
|
+
/** @enum {string} */
|
|
13427
|
+
type: "number" | "integer";
|
|
13428
|
+
minimum?: number;
|
|
13429
|
+
maximum?: number;
|
|
13430
|
+
default?: number;
|
|
13431
|
+
} | {
|
|
13432
|
+
name: string;
|
|
13433
|
+
title?: string;
|
|
13434
|
+
description?: string;
|
|
13435
|
+
/** @constant */
|
|
13436
|
+
type: "boolean";
|
|
13437
|
+
default?: boolean;
|
|
13438
|
+
})[];
|
|
11981
13439
|
}[];
|
|
11982
|
-
|
|
11983
|
-
};
|
|
13440
|
+
}[];
|
|
11984
13441
|
};
|
|
11985
13442
|
};
|
|
11986
13443
|
/** @description 400 */
|
|
@@ -13600,6 +15057,242 @@ interface operations {
|
|
|
13600
15057
|
};
|
|
13601
15058
|
};
|
|
13602
15059
|
};
|
|
15060
|
+
"collections.get": {
|
|
15061
|
+
parameters: {
|
|
15062
|
+
query?: {
|
|
15063
|
+
/** @example coll_example */
|
|
15064
|
+
collectionID?: string;
|
|
15065
|
+
collectionPath?: string;
|
|
15066
|
+
collectionSlugPath?: string;
|
|
15067
|
+
};
|
|
15068
|
+
header?: {
|
|
15069
|
+
/** @description Required for OAuth: ID of the workspace to access. API keys use their own workspace. */
|
|
15070
|
+
"x-workspace-id"?: string;
|
|
15071
|
+
};
|
|
15072
|
+
path?: never;
|
|
15073
|
+
cookie?: never;
|
|
15074
|
+
};
|
|
15075
|
+
requestBody?: never;
|
|
15076
|
+
responses: {
|
|
15077
|
+
/** @description OK */
|
|
15078
|
+
200: {
|
|
15079
|
+
headers: {
|
|
15080
|
+
[name: string]: unknown;
|
|
15081
|
+
};
|
|
15082
|
+
content: {
|
|
15083
|
+
"application/json": components["schemas"]["Collection"];
|
|
15084
|
+
};
|
|
15085
|
+
};
|
|
15086
|
+
/** @description 400 */
|
|
15087
|
+
400: {
|
|
15088
|
+
headers: {
|
|
15089
|
+
[name: string]: unknown;
|
|
15090
|
+
};
|
|
15091
|
+
content: {
|
|
15092
|
+
"application/json": {
|
|
15093
|
+
/** @constant */
|
|
15094
|
+
defined: true;
|
|
15095
|
+
/** @constant */
|
|
15096
|
+
code: "BAD_REQUEST";
|
|
15097
|
+
/** @constant */
|
|
15098
|
+
status: 400;
|
|
15099
|
+
/** @default Bad Request */
|
|
15100
|
+
message: string;
|
|
15101
|
+
data?: components["schemas"]["ValidationErrorData"];
|
|
15102
|
+
} | {
|
|
15103
|
+
/** @constant */
|
|
15104
|
+
defined: false;
|
|
15105
|
+
code: string;
|
|
15106
|
+
status: number;
|
|
15107
|
+
message: string;
|
|
15108
|
+
data?: unknown;
|
|
15109
|
+
};
|
|
15110
|
+
};
|
|
15111
|
+
};
|
|
15112
|
+
/** @description 401 */
|
|
15113
|
+
401: {
|
|
15114
|
+
headers: {
|
|
15115
|
+
[name: string]: unknown;
|
|
15116
|
+
};
|
|
15117
|
+
content: {
|
|
15118
|
+
"application/json": {
|
|
15119
|
+
/** @constant */
|
|
15120
|
+
defined: true;
|
|
15121
|
+
/** @constant */
|
|
15122
|
+
code: "UNAUTHORIZED";
|
|
15123
|
+
/** @constant */
|
|
15124
|
+
status: 401;
|
|
15125
|
+
/** @default Unauthorized */
|
|
15126
|
+
message: string;
|
|
15127
|
+
data?: components["schemas"]["ErrorData"];
|
|
15128
|
+
} | {
|
|
15129
|
+
/** @constant */
|
|
15130
|
+
defined: false;
|
|
15131
|
+
code: string;
|
|
15132
|
+
status: number;
|
|
15133
|
+
message: string;
|
|
15134
|
+
data?: unknown;
|
|
15135
|
+
};
|
|
15136
|
+
};
|
|
15137
|
+
};
|
|
15138
|
+
/** @description 403 */
|
|
15139
|
+
403: {
|
|
15140
|
+
headers: {
|
|
15141
|
+
[name: string]: unknown;
|
|
15142
|
+
};
|
|
15143
|
+
content: {
|
|
15144
|
+
"application/json": {
|
|
15145
|
+
/** @constant */
|
|
15146
|
+
defined: true;
|
|
15147
|
+
/** @constant */
|
|
15148
|
+
code: "FORBIDDEN";
|
|
15149
|
+
/** @constant */
|
|
15150
|
+
status: 403;
|
|
15151
|
+
/** @default Forbidden */
|
|
15152
|
+
message: string;
|
|
15153
|
+
data?: components["schemas"]["ForbiddenErrorData"];
|
|
15154
|
+
} | {
|
|
15155
|
+
/** @constant */
|
|
15156
|
+
defined: false;
|
|
15157
|
+
code: string;
|
|
15158
|
+
status: number;
|
|
15159
|
+
message: string;
|
|
15160
|
+
data?: unknown;
|
|
15161
|
+
};
|
|
15162
|
+
};
|
|
15163
|
+
};
|
|
15164
|
+
/** @description 404 */
|
|
15165
|
+
404: {
|
|
15166
|
+
headers: {
|
|
15167
|
+
[name: string]: unknown;
|
|
15168
|
+
};
|
|
15169
|
+
content: {
|
|
15170
|
+
"application/json": {
|
|
15171
|
+
/** @constant */
|
|
15172
|
+
defined: true;
|
|
15173
|
+
/** @constant */
|
|
15174
|
+
code: "NOT_FOUND";
|
|
15175
|
+
/** @constant */
|
|
15176
|
+
status: 404;
|
|
15177
|
+
/** @default Not Found */
|
|
15178
|
+
message: string;
|
|
15179
|
+
data?: components["schemas"]["ErrorData"];
|
|
15180
|
+
} | {
|
|
15181
|
+
/** @constant */
|
|
15182
|
+
defined: false;
|
|
15183
|
+
code: string;
|
|
15184
|
+
status: number;
|
|
15185
|
+
message: string;
|
|
15186
|
+
data?: unknown;
|
|
15187
|
+
};
|
|
15188
|
+
};
|
|
15189
|
+
};
|
|
15190
|
+
/** @description 409 */
|
|
15191
|
+
409: {
|
|
15192
|
+
headers: {
|
|
15193
|
+
[name: string]: unknown;
|
|
15194
|
+
};
|
|
15195
|
+
content: {
|
|
15196
|
+
"application/json": {
|
|
15197
|
+
/** @constant */
|
|
15198
|
+
defined: true;
|
|
15199
|
+
/** @constant */
|
|
15200
|
+
code: "CONFLICT";
|
|
15201
|
+
/** @constant */
|
|
15202
|
+
status: 409;
|
|
15203
|
+
/** @default Conflict */
|
|
15204
|
+
message: string;
|
|
15205
|
+
data?: components["schemas"]["ErrorData"];
|
|
15206
|
+
} | {
|
|
15207
|
+
/** @constant */
|
|
15208
|
+
defined: false;
|
|
15209
|
+
code: string;
|
|
15210
|
+
status: number;
|
|
15211
|
+
message: string;
|
|
15212
|
+
data?: unknown;
|
|
15213
|
+
};
|
|
15214
|
+
};
|
|
15215
|
+
};
|
|
15216
|
+
/** @description 429 */
|
|
15217
|
+
429: {
|
|
15218
|
+
headers: {
|
|
15219
|
+
[name: string]: unknown;
|
|
15220
|
+
};
|
|
15221
|
+
content: {
|
|
15222
|
+
"application/json": {
|
|
15223
|
+
/** @constant */
|
|
15224
|
+
defined: true;
|
|
15225
|
+
/** @constant */
|
|
15226
|
+
code: "TOO_MANY_REQUESTS";
|
|
15227
|
+
/** @constant */
|
|
15228
|
+
status: 429;
|
|
15229
|
+
/** @default Too Many Requests */
|
|
15230
|
+
message: string;
|
|
15231
|
+
data?: components["schemas"]["RateLimitErrorData"];
|
|
15232
|
+
} | {
|
|
15233
|
+
/** @constant */
|
|
15234
|
+
defined: false;
|
|
15235
|
+
code: string;
|
|
15236
|
+
status: number;
|
|
15237
|
+
message: string;
|
|
15238
|
+
data?: unknown;
|
|
15239
|
+
};
|
|
15240
|
+
};
|
|
15241
|
+
};
|
|
15242
|
+
/** @description 500 */
|
|
15243
|
+
500: {
|
|
15244
|
+
headers: {
|
|
15245
|
+
[name: string]: unknown;
|
|
15246
|
+
};
|
|
15247
|
+
content: {
|
|
15248
|
+
"application/json": {
|
|
15249
|
+
/** @constant */
|
|
15250
|
+
defined: true;
|
|
15251
|
+
/** @constant */
|
|
15252
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
15253
|
+
/** @constant */
|
|
15254
|
+
status: 500;
|
|
15255
|
+
/** @default Internal Server Error */
|
|
15256
|
+
message: string;
|
|
15257
|
+
data?: components["schemas"]["ErrorData"];
|
|
15258
|
+
} | {
|
|
15259
|
+
/** @constant */
|
|
15260
|
+
defined: false;
|
|
15261
|
+
code: string;
|
|
15262
|
+
status: number;
|
|
15263
|
+
message: string;
|
|
15264
|
+
data?: unknown;
|
|
15265
|
+
};
|
|
15266
|
+
};
|
|
15267
|
+
};
|
|
15268
|
+
/** @description 503 */
|
|
15269
|
+
503: {
|
|
15270
|
+
headers: {
|
|
15271
|
+
[name: string]: unknown;
|
|
15272
|
+
};
|
|
15273
|
+
content: {
|
|
15274
|
+
"application/json": {
|
|
15275
|
+
/** @constant */
|
|
15276
|
+
defined: true;
|
|
15277
|
+
/** @constant */
|
|
15278
|
+
code: "SERVICE_UNAVAILABLE";
|
|
15279
|
+
/** @constant */
|
|
15280
|
+
status: 503;
|
|
15281
|
+
/** @default Service Unavailable */
|
|
15282
|
+
message: string;
|
|
15283
|
+
data?: components["schemas"]["ErrorData"];
|
|
15284
|
+
} | {
|
|
15285
|
+
/** @constant */
|
|
15286
|
+
defined: false;
|
|
15287
|
+
code: string;
|
|
15288
|
+
status: number;
|
|
15289
|
+
message: string;
|
|
15290
|
+
data?: unknown;
|
|
15291
|
+
};
|
|
15292
|
+
};
|
|
15293
|
+
};
|
|
15294
|
+
};
|
|
15295
|
+
};
|
|
13603
15296
|
"collections.list": {
|
|
13604
15297
|
parameters: {
|
|
13605
15298
|
query?: {
|
|
@@ -14612,7 +16305,7 @@ interface operations {
|
|
|
14612
16305
|
/** @example ast_example */
|
|
14613
16306
|
assetID: string;
|
|
14614
16307
|
/** @example display */
|
|
14615
|
-
variant: "thumbnail" | "display";
|
|
16308
|
+
variant: "thumbnail" | "display" | "source";
|
|
14616
16309
|
};
|
|
14617
16310
|
cookie?: never;
|
|
14618
16311
|
};
|
|
@@ -33338,4 +35031,4 @@ interface operations {
|
|
|
33338
35031
|
}
|
|
33339
35032
|
//#endregion
|
|
33340
35033
|
export { InvitePendingErrorData as $, TextPropertyFilter as $t, ContentNodeInput as A, ResolvedSchemaField as At, EntryPropertyKind as B, SchemaFragment as Bt, Collection as C, PublishedVersion as Ct, ContentMarkInput as D, PublishingSnapshotErrorData as Dt, ContentMark as E, PublishingChannelListItem as Et, DatePropertyFilter as F, SchemaDefinition as Ft, EntryVersion as G, SchemaProperty as Gt, EntryPublication as H, SchemaMigrationContentLossEntry as Ht, EffectiveCollectionSchema as I, SchemaDraftDefinition as It, ForbiddenErrorData as J, SchemaVersion as Jt, EntryVersionSummary as K, SchemaPropertyValue as Kt, Entry as L, SchemaField as Lt, ContentSchemaIssue as M, Role as Mt, ContentSchemaMetadata as N, SchemaApplicationResult as Nt, ContentNameConflictErrorData as O, RateLimitErrorData as Ot, ContentSchemaMismatchErrorData as P, SchemaBlockType as Pt, InviteDeliveryResult as Q, SearchResults as Qt, EntryFragment as R, SchemaFieldKeyConflictErrorData as Rt, ChannelContentStatus as S, PublishedTree as St, ComparisonOperator as T, PublishingChannelCode as Tt, EntryPublicationChannel as U, SchemaMigrationErrorData as Ut, EntryPropertyValue as V, SchemaMigration as Vt, EntrySummary as W, SchemaMigrationStatus as Wt, InstanceInfo as X, SearchPropertyValue as Xt, Identity as Y, SchemaVersionSummary as Yt, Invite as Z, SearchResult as Zt, BaseRole as _, operations as _n, PublishedEntriesResult as _t, Asset as a, UserProfile as an, NumberPropertyFilter as at, ChannelContentCollection as b, PublishedEntrySummary as bt, AssetConflictErrorData as c, VersionReason as cn, PropertyFilter as ct, AssetSearchResult as d, WebhookEndpoint as dn, PublishedAnswerEvent as dt, TypeMetadata as en, InviteStatus as et, AssetStatus as f, WebhookEvent as fn, PublishedAnswerSource as ft, AssetVariant as g, components as gn, PublishedContent as gt, AssetValidationErrorData as h, WorkspaceListItem as hn, PublishedCollectionSummary as ht, AnswerSource as i, UnpublishedEntriesResult as in, MembershipInviteResult as it, ContentSchemaInvalidErrorData as j, RevertPublishingChangesResult as jt, ContentNode as k, ResolvedSchemaDefinition as kt, AssetFile as l, WebhookAttempt as ln, PublishEntryTarget as lt, AssetUploadRegistration as m, WebhookRun as mn, PublishedCollection as mt, AnswerEvent as n, TypeMetadataEntry as nn, Membership as nt, AssetAnalysis as o, ValidationErrorData as on, Pagination as ot, AssetStorageErrorData as p, WebhookEventName as pn, PublishedAsset as pt, ErrorData as q, SchemaRevision as qt, AnswerHistoryMessage as r, TypeMetadataTree as rn, MembershipExistsErrorData as rt, AssetAnalysisStatus as s, ValidationIssue as sn, Permission as st, Answer as t, TypeMetadataCollection as tn, LocalCollectionSchema as tt, AssetFileFormat as u, WebhookDelivery as un, PublishedAnswer as ut, BooleanPropertyFilter as v, paths as vn, PublishedEntry as vt, CollectionSchema as w, PublishingChannel as wt, ChannelContentEntry as x, PublishedSearchResult as xt, ChannelContent as y, PublishedEntryContent as yt, EntryProperty as z, SchemaFieldSource as zt };
|
|
33341
|
-
//# sourceMappingURL=schema-
|
|
35034
|
+
//# sourceMappingURL=schema-CMpGUItd.d.ts.map
|