@andesine/sdk 0.4.0 → 0.5.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.
@@ -286,6 +286,154 @@ interface paths {
286
286
  patch?: never;
287
287
  trace?: never;
288
288
  };
289
+ "/extensions/self": {
290
+ parameters: {
291
+ query?: never;
292
+ header?: never;
293
+ path?: never;
294
+ cookie?: never;
295
+ };
296
+ /**
297
+ * Get the extension
298
+ * @description Returns the installed extension that the token's subject names, including disabled and uninstalled extensions.
299
+ */
300
+ get: operations["extensions.getSelf"];
301
+ put?: never;
302
+ post?: never;
303
+ delete?: never;
304
+ options?: never;
305
+ head?: never;
306
+ patch?: never;
307
+ trace?: never;
308
+ };
309
+ "/extensions/self/sessions/verify": {
310
+ parameters: {
311
+ query?: never;
312
+ header?: never;
313
+ path?: never;
314
+ cookie?: never;
315
+ };
316
+ get?: never;
317
+ put?: never;
318
+ /**
319
+ * Verify a session token
320
+ * @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.
321
+ */
322
+ post: operations["extensions.verifySession"];
323
+ delete?: never;
324
+ options?: never;
325
+ head?: never;
326
+ patch?: never;
327
+ trace?: never;
328
+ };
329
+ "/extensions/self/installations": {
330
+ parameters: {
331
+ query?: never;
332
+ header?: never;
333
+ path?: never;
334
+ cookie?: never;
335
+ };
336
+ /**
337
+ * List installations
338
+ * @description Lists the installations of the extension on this instance. Requires an app-level token: an extension JWT without a subject.
339
+ */
340
+ get: operations["extensions.listInstallations"];
341
+ put?: never;
342
+ post?: never;
343
+ delete?: never;
344
+ options?: never;
345
+ head?: never;
346
+ patch?: never;
347
+ trace?: never;
348
+ };
349
+ "/extensions/self/deliveries/{deliveryID}": {
350
+ parameters: {
351
+ query?: never;
352
+ header?: never;
353
+ path?: never;
354
+ cookie?: never;
355
+ };
356
+ /**
357
+ * Get a delivery
358
+ * @description Returns the event of a delivery to one of the extension's webhooks. Disabled and uninstalled extensions can read only lifecycle deliveries.
359
+ */
360
+ get: operations["extensions.getSelfDelivery"];
361
+ put?: never;
362
+ post?: never;
363
+ delete?: never;
364
+ options?: never;
365
+ head?: never;
366
+ patch?: never;
367
+ trace?: never;
368
+ };
369
+ "/extensions/self/configuration": {
370
+ parameters: {
371
+ query?: never;
372
+ header?: never;
373
+ path?: never;
374
+ cookie?: never;
375
+ };
376
+ /**
377
+ * Get the configuration
378
+ * @description Returns the extension's configuration, including secret fields, and its revision. Unset fields use their defaults.
379
+ */
380
+ get: operations["extensions.getSelfConfiguration"];
381
+ put?: never;
382
+ post?: never;
383
+ delete?: never;
384
+ options?: never;
385
+ head?: never;
386
+ patch?: never;
387
+ trace?: never;
388
+ };
389
+ "/extensions/self/storage/entry": {
390
+ parameters: {
391
+ query?: never;
392
+ header?: never;
393
+ path?: never;
394
+ cookie?: never;
395
+ };
396
+ /**
397
+ * Get a storage entry
398
+ * @description Returns an entry of the extension's storage, or NOT_FOUND.
399
+ */
400
+ get: operations["extensions.getSelfStorageEntry"];
401
+ /**
402
+ * Set a storage entry
403
+ * @description Creates or replaces an entry of the extension's storage. Values are JSON up to 128 KiB; the storage holds up to 10,000 entries and 10 MiB.
404
+ */
405
+ put: operations["extensions.setSelfStorageEntry"];
406
+ post?: never;
407
+ /**
408
+ * Delete a storage entry
409
+ * @description Deletes an entry of the extension's storage, if it exists.
410
+ */
411
+ delete: operations["extensions.deleteSelfStorageEntry"];
412
+ options?: never;
413
+ head?: never;
414
+ patch?: never;
415
+ trace?: never;
416
+ };
417
+ "/extensions/self/storage": {
418
+ parameters: {
419
+ query?: never;
420
+ header?: never;
421
+ path?: never;
422
+ cookie?: never;
423
+ };
424
+ /**
425
+ * List storage entries
426
+ * @description Lists the extension's storage entries in key order, optionally with a key prefix. A page ends early when its values reach 192 KiB.
427
+ */
428
+ get: operations["extensions.listSelfStorageEntries"];
429
+ put?: never;
430
+ post?: never;
431
+ delete?: never;
432
+ options?: never;
433
+ head?: never;
434
+ patch?: never;
435
+ trace?: never;
436
+ };
289
437
  "/collections": {
290
438
  parameters: {
291
439
  query?: never;
@@ -2688,7 +2836,7 @@ interface components {
2688
2836
  baseRole?: components["schemas"]["BaseRole"];
2689
2837
  };
2690
2838
  /** @enum {string} */
2691
- Permission: "content" | "publishing" | "api_keys" | "read:api_keys" | "billing" | "read:billing" | "restricted_collections" | "read:restricted_collections" | "memberships" | "roles" | "webhooks" | "read:webhooks" | "workspace";
2839
+ Permission: "content" | "publishing" | "api_keys" | "read:api_keys" | "billing" | "read:billing" | "restricted_collections" | "read:restricted_collections" | "memberships" | "roles" | "webhooks" | "read:webhooks" | "extensions" | "workspace";
2692
2840
  /** @enum {string} */
2693
2841
  BaseRole: "admin" | "viewer";
2694
2842
  /** @enum {string} */
@@ -7222,6 +7370,2686 @@ interface operations {
7222
7370
  };
7223
7371
  };
7224
7372
  };
7373
+ "extensions.getSelf": {
7374
+ parameters: {
7375
+ query?: never;
7376
+ header?: never;
7377
+ path?: never;
7378
+ cookie?: never;
7379
+ };
7380
+ requestBody?: never;
7381
+ responses: {
7382
+ /** @description OK */
7383
+ 200: {
7384
+ headers: {
7385
+ [name: string]: unknown;
7386
+ };
7387
+ content: {
7388
+ "application/json": {
7389
+ /** @description ID of the installed extension */
7390
+ id: string;
7391
+ /** @description Registry name */
7392
+ name: string;
7393
+ /** @description Active version */
7394
+ version: string;
7395
+ workspaceID: string;
7396
+ /**
7397
+ * @description Uninstalled extensions remain readable until their last lifecycle event expires
7398
+ * @enum {string}
7399
+ */
7400
+ state: "active" | "disabled" | "uninstalled";
7401
+ /** @description Why the extension is disabled; null when it is active or uninstalled */
7402
+ disabledReason: ("manual" | "approval_required" | "configuration_required" | "revoked") | null;
7403
+ };
7404
+ };
7405
+ };
7406
+ /** @description 400 */
7407
+ 400: {
7408
+ headers: {
7409
+ [name: string]: unknown;
7410
+ };
7411
+ content: {
7412
+ "application/json": {
7413
+ /** @constant */
7414
+ defined: true;
7415
+ /** @constant */
7416
+ code: "BAD_REQUEST";
7417
+ /** @constant */
7418
+ status: 400;
7419
+ /** @default Bad Request */
7420
+ message: string;
7421
+ data?: components["schemas"]["ValidationErrorData"];
7422
+ } | {
7423
+ /** @constant */
7424
+ defined: false;
7425
+ code: string;
7426
+ status: number;
7427
+ message: string;
7428
+ data?: unknown;
7429
+ };
7430
+ };
7431
+ };
7432
+ /** @description 401 */
7433
+ 401: {
7434
+ headers: {
7435
+ [name: string]: unknown;
7436
+ };
7437
+ content: {
7438
+ "application/json": {
7439
+ /** @constant */
7440
+ defined: true;
7441
+ /** @constant */
7442
+ code: "UNAUTHORIZED";
7443
+ /** @constant */
7444
+ status: 401;
7445
+ /** @default Unauthorized */
7446
+ message: string;
7447
+ data?: components["schemas"]["ErrorData"];
7448
+ } | {
7449
+ /** @constant */
7450
+ defined: false;
7451
+ code: string;
7452
+ status: number;
7453
+ message: string;
7454
+ data?: unknown;
7455
+ };
7456
+ };
7457
+ };
7458
+ /** @description 403 */
7459
+ 403: {
7460
+ headers: {
7461
+ [name: string]: unknown;
7462
+ };
7463
+ content: {
7464
+ "application/json": {
7465
+ /** @constant */
7466
+ defined: true;
7467
+ /** @constant */
7468
+ code: "FORBIDDEN";
7469
+ /** @constant */
7470
+ status: 403;
7471
+ /** @default Forbidden */
7472
+ message: string;
7473
+ data?: components["schemas"]["ForbiddenErrorData"];
7474
+ } | {
7475
+ /** @constant */
7476
+ defined: false;
7477
+ code: string;
7478
+ status: number;
7479
+ message: string;
7480
+ data?: unknown;
7481
+ };
7482
+ };
7483
+ };
7484
+ /** @description 404 */
7485
+ 404: {
7486
+ headers: {
7487
+ [name: string]: unknown;
7488
+ };
7489
+ content: {
7490
+ "application/json": {
7491
+ /** @constant */
7492
+ defined: true;
7493
+ /** @constant */
7494
+ code: "NOT_FOUND";
7495
+ /** @constant */
7496
+ status: 404;
7497
+ /** @default Not Found */
7498
+ message: string;
7499
+ data?: components["schemas"]["ErrorData"];
7500
+ } | {
7501
+ /** @constant */
7502
+ defined: false;
7503
+ code: string;
7504
+ status: number;
7505
+ message: string;
7506
+ data?: unknown;
7507
+ };
7508
+ };
7509
+ };
7510
+ /** @description 409 */
7511
+ 409: {
7512
+ headers: {
7513
+ [name: string]: unknown;
7514
+ };
7515
+ content: {
7516
+ "application/json": {
7517
+ /** @constant */
7518
+ defined: true;
7519
+ /** @constant */
7520
+ code: "CONFLICT";
7521
+ /** @constant */
7522
+ status: 409;
7523
+ /** @default Conflict */
7524
+ message: string;
7525
+ data?: components["schemas"]["ErrorData"];
7526
+ } | {
7527
+ /** @constant */
7528
+ defined: false;
7529
+ code: string;
7530
+ status: number;
7531
+ message: string;
7532
+ data?: unknown;
7533
+ };
7534
+ };
7535
+ };
7536
+ /** @description 429 */
7537
+ 429: {
7538
+ headers: {
7539
+ [name: string]: unknown;
7540
+ };
7541
+ content: {
7542
+ "application/json": {
7543
+ /** @constant */
7544
+ defined: true;
7545
+ /** @constant */
7546
+ code: "TOO_MANY_REQUESTS";
7547
+ /** @constant */
7548
+ status: 429;
7549
+ /** @default Too Many Requests */
7550
+ message: string;
7551
+ data?: components["schemas"]["RateLimitErrorData"];
7552
+ } | {
7553
+ /** @constant */
7554
+ defined: false;
7555
+ code: string;
7556
+ status: number;
7557
+ message: string;
7558
+ data?: unknown;
7559
+ };
7560
+ };
7561
+ };
7562
+ /** @description 500 */
7563
+ 500: {
7564
+ headers: {
7565
+ [name: string]: unknown;
7566
+ };
7567
+ content: {
7568
+ "application/json": {
7569
+ /** @constant */
7570
+ defined: true;
7571
+ /** @constant */
7572
+ code: "INTERNAL_SERVER_ERROR";
7573
+ /** @constant */
7574
+ status: 500;
7575
+ /** @default Internal Server Error */
7576
+ message: string;
7577
+ data?: components["schemas"]["ErrorData"];
7578
+ } | {
7579
+ /** @constant */
7580
+ defined: false;
7581
+ code: string;
7582
+ status: number;
7583
+ message: string;
7584
+ data?: unknown;
7585
+ };
7586
+ };
7587
+ };
7588
+ /** @description 503 */
7589
+ 503: {
7590
+ headers: {
7591
+ [name: string]: unknown;
7592
+ };
7593
+ content: {
7594
+ "application/json": {
7595
+ /** @constant */
7596
+ defined: true;
7597
+ /** @constant */
7598
+ code: "SERVICE_UNAVAILABLE";
7599
+ /** @constant */
7600
+ status: 503;
7601
+ /** @default Service Unavailable */
7602
+ message: string;
7603
+ data?: components["schemas"]["ErrorData"];
7604
+ } | {
7605
+ /** @constant */
7606
+ defined: false;
7607
+ code: string;
7608
+ status: number;
7609
+ message: string;
7610
+ data?: unknown;
7611
+ };
7612
+ };
7613
+ };
7614
+ };
7615
+ };
7616
+ "extensions.verifySession": {
7617
+ parameters: {
7618
+ query?: never;
7619
+ header?: never;
7620
+ path?: never;
7621
+ cookie?: never;
7622
+ };
7623
+ requestBody: {
7624
+ content: {
7625
+ "application/json": {
7626
+ token: string;
7627
+ };
7628
+ };
7629
+ };
7630
+ responses: {
7631
+ /** @description OK */
7632
+ 200: {
7633
+ headers: {
7634
+ [name: string]: unknown;
7635
+ };
7636
+ content: {
7637
+ "application/json": {
7638
+ workspaceID: string;
7639
+ /** @description The extension version the session was issued for */
7640
+ version: string;
7641
+ member: {
7642
+ /** @description ID of the membership */
7643
+ id: string;
7644
+ /** @description ID of the user */
7645
+ userID: string;
7646
+ profile: {
7647
+ id: string;
7648
+ name?: string;
7649
+ image?: string;
7650
+ /** @description Only with the read:memberships permission */
7651
+ email?: string;
7652
+ };
7653
+ };
7654
+ };
7655
+ };
7656
+ };
7657
+ /** @description 400 */
7658
+ 400: {
7659
+ headers: {
7660
+ [name: string]: unknown;
7661
+ };
7662
+ content: {
7663
+ "application/json": {
7664
+ /** @constant */
7665
+ defined: true;
7666
+ /** @constant */
7667
+ code: "BAD_REQUEST";
7668
+ /** @constant */
7669
+ status: 400;
7670
+ /** @default Bad Request */
7671
+ message: string;
7672
+ data?: components["schemas"]["ValidationErrorData"];
7673
+ } | {
7674
+ /** @constant */
7675
+ defined: false;
7676
+ code: string;
7677
+ status: number;
7678
+ message: string;
7679
+ data?: unknown;
7680
+ };
7681
+ };
7682
+ };
7683
+ /** @description 401 */
7684
+ 401: {
7685
+ headers: {
7686
+ [name: string]: unknown;
7687
+ };
7688
+ content: {
7689
+ "application/json": {
7690
+ /** @constant */
7691
+ defined: true;
7692
+ /** @constant */
7693
+ code: "UNAUTHORIZED";
7694
+ /** @constant */
7695
+ status: 401;
7696
+ /** @default Unauthorized */
7697
+ message: string;
7698
+ data?: components["schemas"]["ErrorData"];
7699
+ } | {
7700
+ /** @constant */
7701
+ defined: false;
7702
+ code: string;
7703
+ status: number;
7704
+ message: string;
7705
+ data?: unknown;
7706
+ };
7707
+ };
7708
+ };
7709
+ /** @description 403 */
7710
+ 403: {
7711
+ headers: {
7712
+ [name: string]: unknown;
7713
+ };
7714
+ content: {
7715
+ "application/json": {
7716
+ /** @constant */
7717
+ defined: true;
7718
+ /** @constant */
7719
+ code: "FORBIDDEN";
7720
+ /** @constant */
7721
+ status: 403;
7722
+ /** @default Forbidden */
7723
+ message: string;
7724
+ data?: components["schemas"]["ForbiddenErrorData"];
7725
+ } | {
7726
+ /** @constant */
7727
+ defined: false;
7728
+ code: string;
7729
+ status: number;
7730
+ message: string;
7731
+ data?: unknown;
7732
+ };
7733
+ };
7734
+ };
7735
+ /** @description 404 */
7736
+ 404: {
7737
+ headers: {
7738
+ [name: string]: unknown;
7739
+ };
7740
+ content: {
7741
+ "application/json": {
7742
+ /** @constant */
7743
+ defined: true;
7744
+ /** @constant */
7745
+ code: "NOT_FOUND";
7746
+ /** @constant */
7747
+ status: 404;
7748
+ /** @default Not Found */
7749
+ message: string;
7750
+ data?: components["schemas"]["ErrorData"];
7751
+ } | {
7752
+ /** @constant */
7753
+ defined: false;
7754
+ code: string;
7755
+ status: number;
7756
+ message: string;
7757
+ data?: unknown;
7758
+ };
7759
+ };
7760
+ };
7761
+ /** @description 409 */
7762
+ 409: {
7763
+ headers: {
7764
+ [name: string]: unknown;
7765
+ };
7766
+ content: {
7767
+ "application/json": {
7768
+ /** @constant */
7769
+ defined: true;
7770
+ /** @constant */
7771
+ code: "CONFLICT";
7772
+ /** @constant */
7773
+ status: 409;
7774
+ /** @default Conflict */
7775
+ message: string;
7776
+ data?: components["schemas"]["ErrorData"];
7777
+ } | {
7778
+ /** @constant */
7779
+ defined: false;
7780
+ code: string;
7781
+ status: number;
7782
+ message: string;
7783
+ data?: unknown;
7784
+ };
7785
+ };
7786
+ };
7787
+ /** @description 429 */
7788
+ 429: {
7789
+ headers: {
7790
+ [name: string]: unknown;
7791
+ };
7792
+ content: {
7793
+ "application/json": {
7794
+ /** @constant */
7795
+ defined: true;
7796
+ /** @constant */
7797
+ code: "TOO_MANY_REQUESTS";
7798
+ /** @constant */
7799
+ status: 429;
7800
+ /** @default Too Many Requests */
7801
+ message: string;
7802
+ data?: components["schemas"]["RateLimitErrorData"];
7803
+ } | {
7804
+ /** @constant */
7805
+ defined: false;
7806
+ code: string;
7807
+ status: number;
7808
+ message: string;
7809
+ data?: unknown;
7810
+ };
7811
+ };
7812
+ };
7813
+ /** @description 500 */
7814
+ 500: {
7815
+ headers: {
7816
+ [name: string]: unknown;
7817
+ };
7818
+ content: {
7819
+ "application/json": {
7820
+ /** @constant */
7821
+ defined: true;
7822
+ /** @constant */
7823
+ code: "INTERNAL_SERVER_ERROR";
7824
+ /** @constant */
7825
+ status: 500;
7826
+ /** @default Internal Server Error */
7827
+ message: string;
7828
+ data?: components["schemas"]["ErrorData"];
7829
+ } | {
7830
+ /** @constant */
7831
+ defined: false;
7832
+ code: string;
7833
+ status: number;
7834
+ message: string;
7835
+ data?: unknown;
7836
+ };
7837
+ };
7838
+ };
7839
+ /** @description 503 */
7840
+ 503: {
7841
+ headers: {
7842
+ [name: string]: unknown;
7843
+ };
7844
+ content: {
7845
+ "application/json": {
7846
+ /** @constant */
7847
+ defined: true;
7848
+ /** @constant */
7849
+ code: "SERVICE_UNAVAILABLE";
7850
+ /** @constant */
7851
+ status: 503;
7852
+ /** @default Service Unavailable */
7853
+ message: string;
7854
+ data?: components["schemas"]["ErrorData"];
7855
+ } | {
7856
+ /** @constant */
7857
+ defined: false;
7858
+ code: string;
7859
+ status: number;
7860
+ message: string;
7861
+ data?: unknown;
7862
+ };
7863
+ };
7864
+ };
7865
+ };
7866
+ };
7867
+ "extensions.listInstallations": {
7868
+ parameters: {
7869
+ query?: {
7870
+ after?: string;
7871
+ limit?: number;
7872
+ };
7873
+ header?: never;
7874
+ path?: never;
7875
+ cookie?: never;
7876
+ };
7877
+ requestBody?: never;
7878
+ responses: {
7879
+ /** @description OK */
7880
+ 200: {
7881
+ headers: {
7882
+ [name: string]: unknown;
7883
+ };
7884
+ content: {
7885
+ "application/json": {
7886
+ data: {
7887
+ id: string;
7888
+ workspaceID: string;
7889
+ version: string;
7890
+ /**
7891
+ * @description Uninstalled extensions remain readable until their last lifecycle event expires
7892
+ * @enum {string}
7893
+ */
7894
+ state: "active" | "disabled" | "uninstalled";
7895
+ }[];
7896
+ hasMore: boolean;
7897
+ };
7898
+ };
7899
+ };
7900
+ /** @description 400 */
7901
+ 400: {
7902
+ headers: {
7903
+ [name: string]: unknown;
7904
+ };
7905
+ content: {
7906
+ "application/json": {
7907
+ /** @constant */
7908
+ defined: true;
7909
+ /** @constant */
7910
+ code: "BAD_REQUEST";
7911
+ /** @constant */
7912
+ status: 400;
7913
+ /** @default Bad Request */
7914
+ message: string;
7915
+ data?: components["schemas"]["ValidationErrorData"];
7916
+ } | {
7917
+ /** @constant */
7918
+ defined: false;
7919
+ code: string;
7920
+ status: number;
7921
+ message: string;
7922
+ data?: unknown;
7923
+ };
7924
+ };
7925
+ };
7926
+ /** @description 401 */
7927
+ 401: {
7928
+ headers: {
7929
+ [name: string]: unknown;
7930
+ };
7931
+ content: {
7932
+ "application/json": {
7933
+ /** @constant */
7934
+ defined: true;
7935
+ /** @constant */
7936
+ code: "UNAUTHORIZED";
7937
+ /** @constant */
7938
+ status: 401;
7939
+ /** @default Unauthorized */
7940
+ message: string;
7941
+ data?: components["schemas"]["ErrorData"];
7942
+ } | {
7943
+ /** @constant */
7944
+ defined: false;
7945
+ code: string;
7946
+ status: number;
7947
+ message: string;
7948
+ data?: unknown;
7949
+ };
7950
+ };
7951
+ };
7952
+ /** @description 403 */
7953
+ 403: {
7954
+ headers: {
7955
+ [name: string]: unknown;
7956
+ };
7957
+ content: {
7958
+ "application/json": {
7959
+ /** @constant */
7960
+ defined: true;
7961
+ /** @constant */
7962
+ code: "FORBIDDEN";
7963
+ /** @constant */
7964
+ status: 403;
7965
+ /** @default Forbidden */
7966
+ message: string;
7967
+ data?: components["schemas"]["ForbiddenErrorData"];
7968
+ } | {
7969
+ /** @constant */
7970
+ defined: false;
7971
+ code: string;
7972
+ status: number;
7973
+ message: string;
7974
+ data?: unknown;
7975
+ };
7976
+ };
7977
+ };
7978
+ /** @description 404 */
7979
+ 404: {
7980
+ headers: {
7981
+ [name: string]: unknown;
7982
+ };
7983
+ content: {
7984
+ "application/json": {
7985
+ /** @constant */
7986
+ defined: true;
7987
+ /** @constant */
7988
+ code: "NOT_FOUND";
7989
+ /** @constant */
7990
+ status: 404;
7991
+ /** @default Not Found */
7992
+ message: string;
7993
+ data?: components["schemas"]["ErrorData"];
7994
+ } | {
7995
+ /** @constant */
7996
+ defined: false;
7997
+ code: string;
7998
+ status: number;
7999
+ message: string;
8000
+ data?: unknown;
8001
+ };
8002
+ };
8003
+ };
8004
+ /** @description 409 */
8005
+ 409: {
8006
+ headers: {
8007
+ [name: string]: unknown;
8008
+ };
8009
+ content: {
8010
+ "application/json": {
8011
+ /** @constant */
8012
+ defined: true;
8013
+ /** @constant */
8014
+ code: "CONFLICT";
8015
+ /** @constant */
8016
+ status: 409;
8017
+ /** @default Conflict */
8018
+ message: string;
8019
+ data?: components["schemas"]["ErrorData"];
8020
+ } | {
8021
+ /** @constant */
8022
+ defined: false;
8023
+ code: string;
8024
+ status: number;
8025
+ message: string;
8026
+ data?: unknown;
8027
+ };
8028
+ };
8029
+ };
8030
+ /** @description 429 */
8031
+ 429: {
8032
+ headers: {
8033
+ [name: string]: unknown;
8034
+ };
8035
+ content: {
8036
+ "application/json": {
8037
+ /** @constant */
8038
+ defined: true;
8039
+ /** @constant */
8040
+ code: "TOO_MANY_REQUESTS";
8041
+ /** @constant */
8042
+ status: 429;
8043
+ /** @default Too Many Requests */
8044
+ message: string;
8045
+ data?: components["schemas"]["RateLimitErrorData"];
8046
+ } | {
8047
+ /** @constant */
8048
+ defined: false;
8049
+ code: string;
8050
+ status: number;
8051
+ message: string;
8052
+ data?: unknown;
8053
+ };
8054
+ };
8055
+ };
8056
+ /** @description 500 */
8057
+ 500: {
8058
+ headers: {
8059
+ [name: string]: unknown;
8060
+ };
8061
+ content: {
8062
+ "application/json": {
8063
+ /** @constant */
8064
+ defined: true;
8065
+ /** @constant */
8066
+ code: "INTERNAL_SERVER_ERROR";
8067
+ /** @constant */
8068
+ status: 500;
8069
+ /** @default Internal Server Error */
8070
+ message: string;
8071
+ data?: components["schemas"]["ErrorData"];
8072
+ } | {
8073
+ /** @constant */
8074
+ defined: false;
8075
+ code: string;
8076
+ status: number;
8077
+ message: string;
8078
+ data?: unknown;
8079
+ };
8080
+ };
8081
+ };
8082
+ /** @description 503 */
8083
+ 503: {
8084
+ headers: {
8085
+ [name: string]: unknown;
8086
+ };
8087
+ content: {
8088
+ "application/json": {
8089
+ /** @constant */
8090
+ defined: true;
8091
+ /** @constant */
8092
+ code: "SERVICE_UNAVAILABLE";
8093
+ /** @constant */
8094
+ status: 503;
8095
+ /** @default Service Unavailable */
8096
+ message: string;
8097
+ data?: components["schemas"]["ErrorData"];
8098
+ } | {
8099
+ /** @constant */
8100
+ defined: false;
8101
+ code: string;
8102
+ status: number;
8103
+ message: string;
8104
+ data?: unknown;
8105
+ };
8106
+ };
8107
+ };
8108
+ };
8109
+ };
8110
+ "extensions.getSelfDelivery": {
8111
+ parameters: {
8112
+ query?: never;
8113
+ header?: never;
8114
+ path: {
8115
+ deliveryID: string;
8116
+ };
8117
+ cookie?: never;
8118
+ };
8119
+ requestBody?: never;
8120
+ responses: {
8121
+ /** @description OK */
8122
+ 200: {
8123
+ headers: {
8124
+ [name: string]: unknown;
8125
+ };
8126
+ content: {
8127
+ "application/json": {
8128
+ deliveryID: string;
8129
+ /** @description The event as the extension's webhook receives it */
8130
+ event: {
8131
+ id: string;
8132
+ operationID: string;
8133
+ /** @constant */
8134
+ schemaVersion: 1;
8135
+ /** Format: date-time */
8136
+ occurredAt: string;
8137
+ workspaceID: string;
8138
+ test: boolean;
8139
+ subject: {
8140
+ /** @constant */
8141
+ kind: "entry";
8142
+ id: string;
8143
+ };
8144
+ /** @constant */
8145
+ type: "entry.created";
8146
+ data: {
8147
+ name: string;
8148
+ collectionID: string | null;
8149
+ contentHash?: string;
8150
+ };
8151
+ } | {
8152
+ id: string;
8153
+ operationID: string;
8154
+ /** @constant */
8155
+ schemaVersion: 1;
8156
+ /** Format: date-time */
8157
+ occurredAt: string;
8158
+ workspaceID: string;
8159
+ test: boolean;
8160
+ subject: {
8161
+ /** @constant */
8162
+ kind: "entry";
8163
+ id: string;
8164
+ };
8165
+ /** @constant */
8166
+ type: "entry.updated";
8167
+ data: {
8168
+ collectionID: string | null;
8169
+ changedFields: "name"[];
8170
+ };
8171
+ } | {
8172
+ id: string;
8173
+ operationID: string;
8174
+ /** @constant */
8175
+ schemaVersion: 1;
8176
+ /** Format: date-time */
8177
+ occurredAt: string;
8178
+ workspaceID: string;
8179
+ test: boolean;
8180
+ subject: {
8181
+ /** @constant */
8182
+ kind: "entry";
8183
+ id: string;
8184
+ };
8185
+ /** @constant */
8186
+ type: "entry.content_saved";
8187
+ data: {
8188
+ collectionID: string | null;
8189
+ contentHash: string;
8190
+ /** Format: date-time */
8191
+ savedAt: string;
8192
+ };
8193
+ } | {
8194
+ id: string;
8195
+ operationID: string;
8196
+ /** @constant */
8197
+ schemaVersion: 1;
8198
+ /** Format: date-time */
8199
+ occurredAt: string;
8200
+ workspaceID: string;
8201
+ test: boolean;
8202
+ subject: {
8203
+ /** @constant */
8204
+ kind: "entry";
8205
+ id: string;
8206
+ };
8207
+ /** @constant */
8208
+ type: "entry.moved";
8209
+ data: {
8210
+ /** @constant */
8211
+ scopeTransition: "within";
8212
+ /** @enum {string} */
8213
+ reason: "direct" | "ancestor_moved" | "reordered";
8214
+ from: {
8215
+ /** @constant */
8216
+ visibility: "visible";
8217
+ /** @description Null means the workspace root, never a hidden parent */
8218
+ parentID: string | null;
8219
+ order?: string;
8220
+ };
8221
+ to: {
8222
+ /** @constant */
8223
+ visibility: "visible";
8224
+ /** @description Null means the workspace root, never a hidden parent */
8225
+ parentID: string | null;
8226
+ order?: string;
8227
+ };
8228
+ } | {
8229
+ /** @constant */
8230
+ scopeTransition: "entered";
8231
+ /** @enum {string} */
8232
+ reason: "direct" | "ancestor_moved" | "reordered";
8233
+ from: {
8234
+ /** @constant */
8235
+ visibility: "hidden";
8236
+ };
8237
+ to: {
8238
+ /** @constant */
8239
+ visibility: "visible";
8240
+ /** @description Null means the workspace root, never a hidden parent */
8241
+ parentID: string | null;
8242
+ order?: string;
8243
+ };
8244
+ } | {
8245
+ /** @constant */
8246
+ scopeTransition: "left";
8247
+ /** @enum {string} */
8248
+ reason: "direct" | "ancestor_moved" | "reordered";
8249
+ from: {
8250
+ /** @constant */
8251
+ visibility: "visible";
8252
+ /** @description Null means the workspace root, never a hidden parent */
8253
+ parentID: string | null;
8254
+ order?: string;
8255
+ };
8256
+ to: {
8257
+ /** @constant */
8258
+ visibility: "hidden";
8259
+ };
8260
+ };
8261
+ } | {
8262
+ id: string;
8263
+ operationID: string;
8264
+ /** @constant */
8265
+ schemaVersion: 1;
8266
+ /** Format: date-time */
8267
+ occurredAt: string;
8268
+ workspaceID: string;
8269
+ test: boolean;
8270
+ subject: {
8271
+ /** @constant */
8272
+ kind: "entry";
8273
+ id: string;
8274
+ };
8275
+ /** @constant */
8276
+ type: "entry.deleted";
8277
+ data: {
8278
+ name: string;
8279
+ collectionID: string | null;
8280
+ /** Format: date-time */
8281
+ deletedAt: string;
8282
+ };
8283
+ } | {
8284
+ id: string;
8285
+ operationID: string;
8286
+ /** @constant */
8287
+ schemaVersion: 1;
8288
+ /** Format: date-time */
8289
+ occurredAt: string;
8290
+ workspaceID: string;
8291
+ test: boolean;
8292
+ subject: {
8293
+ /** @constant */
8294
+ kind: "entry";
8295
+ id: string;
8296
+ };
8297
+ /** @constant */
8298
+ type: "entry.restored";
8299
+ data: {
8300
+ name: string;
8301
+ collectionID: string | null;
8302
+ };
8303
+ } | {
8304
+ id: string;
8305
+ operationID: string;
8306
+ /** @constant */
8307
+ schemaVersion: 1;
8308
+ /** Format: date-time */
8309
+ occurredAt: string;
8310
+ workspaceID: string;
8311
+ test: boolean;
8312
+ subject: {
8313
+ /** @constant */
8314
+ kind: "collection";
8315
+ id: string;
8316
+ };
8317
+ /** @constant */
8318
+ type: "collection.created";
8319
+ data: {
8320
+ name: string;
8321
+ parentID: string | null;
8322
+ };
8323
+ } | {
8324
+ id: string;
8325
+ operationID: string;
8326
+ /** @constant */
8327
+ schemaVersion: 1;
8328
+ /** Format: date-time */
8329
+ occurredAt: string;
8330
+ workspaceID: string;
8331
+ test: boolean;
8332
+ subject: {
8333
+ /** @constant */
8334
+ kind: "collection";
8335
+ id: string;
8336
+ };
8337
+ /** @constant */
8338
+ type: "collection.updated";
8339
+ data: {
8340
+ parentID: string | null;
8341
+ changedFields: ("name" | "restricted" | "publishingEnabled")[];
8342
+ };
8343
+ } | {
8344
+ id: string;
8345
+ operationID: string;
8346
+ /** @constant */
8347
+ schemaVersion: 1;
8348
+ /** Format: date-time */
8349
+ occurredAt: string;
8350
+ workspaceID: string;
8351
+ test: boolean;
8352
+ subject: {
8353
+ /** @constant */
8354
+ kind: "collection";
8355
+ id: string;
8356
+ };
8357
+ /** @constant */
8358
+ type: "collection.moved";
8359
+ data: {
8360
+ /** @constant */
8361
+ scopeTransition: "within";
8362
+ /** @enum {string} */
8363
+ reason: "direct" | "ancestor_moved" | "reordered";
8364
+ from: {
8365
+ /** @constant */
8366
+ visibility: "visible";
8367
+ /** @description Null means the workspace root, never a hidden parent */
8368
+ parentID: string | null;
8369
+ order?: string;
8370
+ };
8371
+ to: {
8372
+ /** @constant */
8373
+ visibility: "visible";
8374
+ /** @description Null means the workspace root, never a hidden parent */
8375
+ parentID: string | null;
8376
+ order?: string;
8377
+ };
8378
+ } | {
8379
+ /** @constant */
8380
+ scopeTransition: "entered";
8381
+ /** @enum {string} */
8382
+ reason: "direct" | "ancestor_moved" | "reordered";
8383
+ from: {
8384
+ /** @constant */
8385
+ visibility: "hidden";
8386
+ };
8387
+ to: {
8388
+ /** @constant */
8389
+ visibility: "visible";
8390
+ /** @description Null means the workspace root, never a hidden parent */
8391
+ parentID: string | null;
8392
+ order?: string;
8393
+ };
8394
+ } | {
8395
+ /** @constant */
8396
+ scopeTransition: "left";
8397
+ /** @enum {string} */
8398
+ reason: "direct" | "ancestor_moved" | "reordered";
8399
+ from: {
8400
+ /** @constant */
8401
+ visibility: "visible";
8402
+ /** @description Null means the workspace root, never a hidden parent */
8403
+ parentID: string | null;
8404
+ order?: string;
8405
+ };
8406
+ to: {
8407
+ /** @constant */
8408
+ visibility: "hidden";
8409
+ };
8410
+ };
8411
+ } | {
8412
+ id: string;
8413
+ operationID: string;
8414
+ /** @constant */
8415
+ schemaVersion: 1;
8416
+ /** Format: date-time */
8417
+ occurredAt: string;
8418
+ workspaceID: string;
8419
+ test: boolean;
8420
+ subject: {
8421
+ /** @constant */
8422
+ kind: "collection";
8423
+ id: string;
8424
+ };
8425
+ /** @constant */
8426
+ type: "collection.deleted";
8427
+ data: {
8428
+ name: string;
8429
+ parentID: string | null;
8430
+ /** Format: date-time */
8431
+ deletedAt: string;
8432
+ };
8433
+ } | {
8434
+ id: string;
8435
+ operationID: string;
8436
+ /** @constant */
8437
+ schemaVersion: 1;
8438
+ /** Format: date-time */
8439
+ occurredAt: string;
8440
+ workspaceID: string;
8441
+ test: boolean;
8442
+ subject: {
8443
+ /** @constant */
8444
+ kind: "collection";
8445
+ id: string;
8446
+ };
8447
+ /** @constant */
8448
+ type: "collection.restored";
8449
+ data: {
8450
+ name: string;
8451
+ parentID: string | null;
8452
+ };
8453
+ } | {
8454
+ id: string;
8455
+ operationID: string;
8456
+ /** @constant */
8457
+ schemaVersion: 1;
8458
+ /** Format: date-time */
8459
+ occurredAt: string;
8460
+ workspaceID: string;
8461
+ test: boolean;
8462
+ subject: {
8463
+ /** @constant */
8464
+ kind: "channel";
8465
+ code: string;
8466
+ };
8467
+ /** @constant */
8468
+ type: "publishing.channel_advanced";
8469
+ data: {
8470
+ previousSnapshotID: string;
8471
+ snapshotID: string;
8472
+ /** @enum {string} */
8473
+ reason: "publish" | "unpublish";
8474
+ };
8475
+ } | {
8476
+ id: string;
8477
+ operationID: string;
8478
+ /** @constant */
8479
+ schemaVersion: 1;
8480
+ /** Format: date-time */
8481
+ occurredAt: string;
8482
+ workspaceID: string;
8483
+ test: boolean;
8484
+ subject: {
8485
+ /** @constant */
8486
+ kind: "channel";
8487
+ code: string;
8488
+ };
8489
+ /** @constant */
8490
+ type: "publishing.channel_created";
8491
+ data: {
8492
+ name: string;
8493
+ builtIn: boolean;
8494
+ snapshotID: string;
8495
+ };
8496
+ } | {
8497
+ id: string;
8498
+ operationID: string;
8499
+ /** @constant */
8500
+ schemaVersion: 1;
8501
+ /** Format: date-time */
8502
+ occurredAt: string;
8503
+ workspaceID: string;
8504
+ test: boolean;
8505
+ subject: {
8506
+ /** @constant */
8507
+ kind: "channel";
8508
+ code: string;
8509
+ };
8510
+ /** @constant */
8511
+ type: "publishing.channel_deleted";
8512
+ data: {
8513
+ name: string;
8514
+ snapshotID: string;
8515
+ };
8516
+ } | {
8517
+ id: string;
8518
+ operationID: string;
8519
+ /** @constant */
8520
+ schemaVersion: 1;
8521
+ /** Format: date-time */
8522
+ occurredAt: string;
8523
+ workspaceID: string;
8524
+ test: boolean;
8525
+ subject: {
8526
+ /** @constant */
8527
+ kind: "extension";
8528
+ id: string;
8529
+ };
8530
+ /** @constant */
8531
+ type: "extension.installed";
8532
+ data: {
8533
+ version: string;
8534
+ };
8535
+ } | {
8536
+ id: string;
8537
+ operationID: string;
8538
+ /** @constant */
8539
+ schemaVersion: 1;
8540
+ /** Format: date-time */
8541
+ occurredAt: string;
8542
+ workspaceID: string;
8543
+ test: boolean;
8544
+ subject: {
8545
+ /** @constant */
8546
+ kind: "extension";
8547
+ id: string;
8548
+ };
8549
+ /** @constant */
8550
+ type: "extension.enabled";
8551
+ data: {
8552
+ version: string;
8553
+ };
8554
+ } | {
8555
+ id: string;
8556
+ operationID: string;
8557
+ /** @constant */
8558
+ schemaVersion: 1;
8559
+ /** Format: date-time */
8560
+ occurredAt: string;
8561
+ workspaceID: string;
8562
+ test: boolean;
8563
+ subject: {
8564
+ /** @constant */
8565
+ kind: "extension";
8566
+ id: string;
8567
+ };
8568
+ /** @constant */
8569
+ type: "extension.disabled";
8570
+ data: {
8571
+ version: string;
8572
+ /** @enum {string} */
8573
+ reason: "manual" | "approval_required" | "configuration_required" | "revoked";
8574
+ };
8575
+ } | {
8576
+ id: string;
8577
+ operationID: string;
8578
+ /** @constant */
8579
+ schemaVersion: 1;
8580
+ /** Format: date-time */
8581
+ occurredAt: string;
8582
+ workspaceID: string;
8583
+ test: boolean;
8584
+ subject: {
8585
+ /** @constant */
8586
+ kind: "extension";
8587
+ id: string;
8588
+ };
8589
+ /** @constant */
8590
+ type: "extension.updated";
8591
+ data: {
8592
+ version: string;
8593
+ previousVersion: string;
8594
+ };
8595
+ } | {
8596
+ id: string;
8597
+ operationID: string;
8598
+ /** @constant */
8599
+ schemaVersion: 1;
8600
+ /** Format: date-time */
8601
+ occurredAt: string;
8602
+ workspaceID: string;
8603
+ test: boolean;
8604
+ subject: {
8605
+ /** @constant */
8606
+ kind: "extension";
8607
+ id: string;
8608
+ };
8609
+ /** @constant */
8610
+ type: "extension.configured";
8611
+ data: {
8612
+ version: string;
8613
+ /** @description Keys only, never values */
8614
+ changedFields: string[];
8615
+ };
8616
+ } | {
8617
+ id: string;
8618
+ operationID: string;
8619
+ /** @constant */
8620
+ schemaVersion: 1;
8621
+ /** Format: date-time */
8622
+ occurredAt: string;
8623
+ workspaceID: string;
8624
+ test: boolean;
8625
+ subject: {
8626
+ /** @constant */
8627
+ kind: "extension";
8628
+ id: string;
8629
+ };
8630
+ /** @constant */
8631
+ type: "extension.uninstalled";
8632
+ data: {
8633
+ version: string;
8634
+ };
8635
+ };
8636
+ };
8637
+ };
8638
+ };
8639
+ /** @description 400 */
8640
+ 400: {
8641
+ headers: {
8642
+ [name: string]: unknown;
8643
+ };
8644
+ content: {
8645
+ "application/json": {
8646
+ /** @constant */
8647
+ defined: true;
8648
+ /** @constant */
8649
+ code: "BAD_REQUEST";
8650
+ /** @constant */
8651
+ status: 400;
8652
+ /** @default Bad Request */
8653
+ message: string;
8654
+ data?: components["schemas"]["ValidationErrorData"];
8655
+ } | {
8656
+ /** @constant */
8657
+ defined: false;
8658
+ code: string;
8659
+ status: number;
8660
+ message: string;
8661
+ data?: unknown;
8662
+ };
8663
+ };
8664
+ };
8665
+ /** @description 401 */
8666
+ 401: {
8667
+ headers: {
8668
+ [name: string]: unknown;
8669
+ };
8670
+ content: {
8671
+ "application/json": {
8672
+ /** @constant */
8673
+ defined: true;
8674
+ /** @constant */
8675
+ code: "UNAUTHORIZED";
8676
+ /** @constant */
8677
+ status: 401;
8678
+ /** @default Unauthorized */
8679
+ message: string;
8680
+ data?: components["schemas"]["ErrorData"];
8681
+ } | {
8682
+ /** @constant */
8683
+ defined: false;
8684
+ code: string;
8685
+ status: number;
8686
+ message: string;
8687
+ data?: unknown;
8688
+ };
8689
+ };
8690
+ };
8691
+ /** @description 403 */
8692
+ 403: {
8693
+ headers: {
8694
+ [name: string]: unknown;
8695
+ };
8696
+ content: {
8697
+ "application/json": {
8698
+ /** @constant */
8699
+ defined: true;
8700
+ /** @constant */
8701
+ code: "FORBIDDEN";
8702
+ /** @constant */
8703
+ status: 403;
8704
+ /** @default Forbidden */
8705
+ message: string;
8706
+ data?: components["schemas"]["ForbiddenErrorData"];
8707
+ } | {
8708
+ /** @constant */
8709
+ defined: false;
8710
+ code: string;
8711
+ status: number;
8712
+ message: string;
8713
+ data?: unknown;
8714
+ };
8715
+ };
8716
+ };
8717
+ /** @description 404 */
8718
+ 404: {
8719
+ headers: {
8720
+ [name: string]: unknown;
8721
+ };
8722
+ content: {
8723
+ "application/json": {
8724
+ /** @constant */
8725
+ defined: true;
8726
+ /** @constant */
8727
+ code: "NOT_FOUND";
8728
+ /** @constant */
8729
+ status: 404;
8730
+ /** @default Not Found */
8731
+ message: string;
8732
+ data?: components["schemas"]["ErrorData"];
8733
+ } | {
8734
+ /** @constant */
8735
+ defined: false;
8736
+ code: string;
8737
+ status: number;
8738
+ message: string;
8739
+ data?: unknown;
8740
+ };
8741
+ };
8742
+ };
8743
+ /** @description 409 */
8744
+ 409: {
8745
+ headers: {
8746
+ [name: string]: unknown;
8747
+ };
8748
+ content: {
8749
+ "application/json": {
8750
+ /** @constant */
8751
+ defined: true;
8752
+ /** @constant */
8753
+ code: "CONFLICT";
8754
+ /** @constant */
8755
+ status: 409;
8756
+ /** @default Conflict */
8757
+ message: string;
8758
+ data?: components["schemas"]["ErrorData"];
8759
+ } | {
8760
+ /** @constant */
8761
+ defined: false;
8762
+ code: string;
8763
+ status: number;
8764
+ message: string;
8765
+ data?: unknown;
8766
+ };
8767
+ };
8768
+ };
8769
+ /** @description 429 */
8770
+ 429: {
8771
+ headers: {
8772
+ [name: string]: unknown;
8773
+ };
8774
+ content: {
8775
+ "application/json": {
8776
+ /** @constant */
8777
+ defined: true;
8778
+ /** @constant */
8779
+ code: "TOO_MANY_REQUESTS";
8780
+ /** @constant */
8781
+ status: 429;
8782
+ /** @default Too Many Requests */
8783
+ message: string;
8784
+ data?: components["schemas"]["RateLimitErrorData"];
8785
+ } | {
8786
+ /** @constant */
8787
+ defined: false;
8788
+ code: string;
8789
+ status: number;
8790
+ message: string;
8791
+ data?: unknown;
8792
+ };
8793
+ };
8794
+ };
8795
+ /** @description 500 */
8796
+ 500: {
8797
+ headers: {
8798
+ [name: string]: unknown;
8799
+ };
8800
+ content: {
8801
+ "application/json": {
8802
+ /** @constant */
8803
+ defined: true;
8804
+ /** @constant */
8805
+ code: "INTERNAL_SERVER_ERROR";
8806
+ /** @constant */
8807
+ status: 500;
8808
+ /** @default Internal Server Error */
8809
+ message: string;
8810
+ data?: components["schemas"]["ErrorData"];
8811
+ } | {
8812
+ /** @constant */
8813
+ defined: false;
8814
+ code: string;
8815
+ status: number;
8816
+ message: string;
8817
+ data?: unknown;
8818
+ };
8819
+ };
8820
+ };
8821
+ /** @description 503 */
8822
+ 503: {
8823
+ headers: {
8824
+ [name: string]: unknown;
8825
+ };
8826
+ content: {
8827
+ "application/json": {
8828
+ /** @constant */
8829
+ defined: true;
8830
+ /** @constant */
8831
+ code: "SERVICE_UNAVAILABLE";
8832
+ /** @constant */
8833
+ status: 503;
8834
+ /** @default Service Unavailable */
8835
+ message: string;
8836
+ data?: components["schemas"]["ErrorData"];
8837
+ } | {
8838
+ /** @constant */
8839
+ defined: false;
8840
+ code: string;
8841
+ status: number;
8842
+ message: string;
8843
+ data?: unknown;
8844
+ };
8845
+ };
8846
+ };
8847
+ };
8848
+ };
8849
+ "extensions.getSelfConfiguration": {
8850
+ parameters: {
8851
+ query?: never;
8852
+ header?: never;
8853
+ path?: never;
8854
+ cookie?: never;
8855
+ };
8856
+ requestBody?: never;
8857
+ responses: {
8858
+ /** @description OK */
8859
+ 200: {
8860
+ headers: {
8861
+ [name: string]: unknown;
8862
+ };
8863
+ content: {
8864
+ "application/json": {
8865
+ /** @description All values, including secret fields */
8866
+ values: {
8867
+ [key: string]: string | number | boolean | null | (string | number | boolean | null | (unknown | null)[] | {
8868
+ [key: string]: unknown;
8869
+ })[] | {
8870
+ [key: string]: string | number | boolean | null | (unknown | null)[] | {
8871
+ [key: string]: unknown;
8872
+ };
8873
+ };
8874
+ };
8875
+ revision: number;
8876
+ };
8877
+ };
8878
+ };
8879
+ /** @description 400 */
8880
+ 400: {
8881
+ headers: {
8882
+ [name: string]: unknown;
8883
+ };
8884
+ content: {
8885
+ "application/json": {
8886
+ /** @constant */
8887
+ defined: true;
8888
+ /** @constant */
8889
+ code: "BAD_REQUEST";
8890
+ /** @constant */
8891
+ status: 400;
8892
+ /** @default Bad Request */
8893
+ message: string;
8894
+ data?: components["schemas"]["ValidationErrorData"];
8895
+ } | {
8896
+ /** @constant */
8897
+ defined: false;
8898
+ code: string;
8899
+ status: number;
8900
+ message: string;
8901
+ data?: unknown;
8902
+ };
8903
+ };
8904
+ };
8905
+ /** @description 401 */
8906
+ 401: {
8907
+ headers: {
8908
+ [name: string]: unknown;
8909
+ };
8910
+ content: {
8911
+ "application/json": {
8912
+ /** @constant */
8913
+ defined: true;
8914
+ /** @constant */
8915
+ code: "UNAUTHORIZED";
8916
+ /** @constant */
8917
+ status: 401;
8918
+ /** @default Unauthorized */
8919
+ message: string;
8920
+ data?: components["schemas"]["ErrorData"];
8921
+ } | {
8922
+ /** @constant */
8923
+ defined: false;
8924
+ code: string;
8925
+ status: number;
8926
+ message: string;
8927
+ data?: unknown;
8928
+ };
8929
+ };
8930
+ };
8931
+ /** @description 403 */
8932
+ 403: {
8933
+ headers: {
8934
+ [name: string]: unknown;
8935
+ };
8936
+ content: {
8937
+ "application/json": {
8938
+ /** @constant */
8939
+ defined: true;
8940
+ /** @constant */
8941
+ code: "FORBIDDEN";
8942
+ /** @constant */
8943
+ status: 403;
8944
+ /** @default Forbidden */
8945
+ message: string;
8946
+ data?: components["schemas"]["ForbiddenErrorData"];
8947
+ } | {
8948
+ /** @constant */
8949
+ defined: false;
8950
+ code: string;
8951
+ status: number;
8952
+ message: string;
8953
+ data?: unknown;
8954
+ };
8955
+ };
8956
+ };
8957
+ /** @description 404 */
8958
+ 404: {
8959
+ headers: {
8960
+ [name: string]: unknown;
8961
+ };
8962
+ content: {
8963
+ "application/json": {
8964
+ /** @constant */
8965
+ defined: true;
8966
+ /** @constant */
8967
+ code: "NOT_FOUND";
8968
+ /** @constant */
8969
+ status: 404;
8970
+ /** @default Not Found */
8971
+ message: string;
8972
+ data?: components["schemas"]["ErrorData"];
8973
+ } | {
8974
+ /** @constant */
8975
+ defined: false;
8976
+ code: string;
8977
+ status: number;
8978
+ message: string;
8979
+ data?: unknown;
8980
+ };
8981
+ };
8982
+ };
8983
+ /** @description 409 */
8984
+ 409: {
8985
+ headers: {
8986
+ [name: string]: unknown;
8987
+ };
8988
+ content: {
8989
+ "application/json": {
8990
+ /** @constant */
8991
+ defined: true;
8992
+ /** @constant */
8993
+ code: "CONFLICT";
8994
+ /** @constant */
8995
+ status: 409;
8996
+ /** @default Conflict */
8997
+ message: string;
8998
+ data?: components["schemas"]["ErrorData"];
8999
+ } | {
9000
+ /** @constant */
9001
+ defined: false;
9002
+ code: string;
9003
+ status: number;
9004
+ message: string;
9005
+ data?: unknown;
9006
+ };
9007
+ };
9008
+ };
9009
+ /** @description 429 */
9010
+ 429: {
9011
+ headers: {
9012
+ [name: string]: unknown;
9013
+ };
9014
+ content: {
9015
+ "application/json": {
9016
+ /** @constant */
9017
+ defined: true;
9018
+ /** @constant */
9019
+ code: "TOO_MANY_REQUESTS";
9020
+ /** @constant */
9021
+ status: 429;
9022
+ /** @default Too Many Requests */
9023
+ message: string;
9024
+ data?: components["schemas"]["RateLimitErrorData"];
9025
+ } | {
9026
+ /** @constant */
9027
+ defined: false;
9028
+ code: string;
9029
+ status: number;
9030
+ message: string;
9031
+ data?: unknown;
9032
+ };
9033
+ };
9034
+ };
9035
+ /** @description 500 */
9036
+ 500: {
9037
+ headers: {
9038
+ [name: string]: unknown;
9039
+ };
9040
+ content: {
9041
+ "application/json": {
9042
+ /** @constant */
9043
+ defined: true;
9044
+ /** @constant */
9045
+ code: "INTERNAL_SERVER_ERROR";
9046
+ /** @constant */
9047
+ status: 500;
9048
+ /** @default Internal Server Error */
9049
+ message: string;
9050
+ data?: components["schemas"]["ErrorData"];
9051
+ } | {
9052
+ /** @constant */
9053
+ defined: false;
9054
+ code: string;
9055
+ status: number;
9056
+ message: string;
9057
+ data?: unknown;
9058
+ };
9059
+ };
9060
+ };
9061
+ /** @description 503 */
9062
+ 503: {
9063
+ headers: {
9064
+ [name: string]: unknown;
9065
+ };
9066
+ content: {
9067
+ "application/json": {
9068
+ /** @constant */
9069
+ defined: true;
9070
+ /** @constant */
9071
+ code: "SERVICE_UNAVAILABLE";
9072
+ /** @constant */
9073
+ status: 503;
9074
+ /** @default Service Unavailable */
9075
+ message: string;
9076
+ data?: components["schemas"]["ErrorData"];
9077
+ } | {
9078
+ /** @constant */
9079
+ defined: false;
9080
+ code: string;
9081
+ status: number;
9082
+ message: string;
9083
+ data?: unknown;
9084
+ };
9085
+ };
9086
+ };
9087
+ };
9088
+ };
9089
+ "extensions.getSelfStorageEntry": {
9090
+ parameters: {
9091
+ query: {
9092
+ key: string;
9093
+ };
9094
+ header?: never;
9095
+ path?: never;
9096
+ cookie?: never;
9097
+ };
9098
+ requestBody?: never;
9099
+ responses: {
9100
+ /** @description OK */
9101
+ 200: {
9102
+ headers: {
9103
+ [name: string]: unknown;
9104
+ };
9105
+ content: {
9106
+ "application/json": {
9107
+ key: string;
9108
+ value: string | number | boolean | null | (string | number | boolean | null | (unknown | null)[] | {
9109
+ [key: string]: unknown;
9110
+ })[] | {
9111
+ [key: string]: string | number | boolean | null | (unknown | null)[] | {
9112
+ [key: string]: unknown;
9113
+ };
9114
+ };
9115
+ /** Format: date-time */
9116
+ updatedAt: string;
9117
+ };
9118
+ };
9119
+ };
9120
+ /** @description 400 */
9121
+ 400: {
9122
+ headers: {
9123
+ [name: string]: unknown;
9124
+ };
9125
+ content: {
9126
+ "application/json": {
9127
+ /** @constant */
9128
+ defined: true;
9129
+ /** @constant */
9130
+ code: "BAD_REQUEST";
9131
+ /** @constant */
9132
+ status: 400;
9133
+ /** @default Bad Request */
9134
+ message: string;
9135
+ data?: components["schemas"]["ValidationErrorData"];
9136
+ } | {
9137
+ /** @constant */
9138
+ defined: false;
9139
+ code: string;
9140
+ status: number;
9141
+ message: string;
9142
+ data?: unknown;
9143
+ };
9144
+ };
9145
+ };
9146
+ /** @description 401 */
9147
+ 401: {
9148
+ headers: {
9149
+ [name: string]: unknown;
9150
+ };
9151
+ content: {
9152
+ "application/json": {
9153
+ /** @constant */
9154
+ defined: true;
9155
+ /** @constant */
9156
+ code: "UNAUTHORIZED";
9157
+ /** @constant */
9158
+ status: 401;
9159
+ /** @default Unauthorized */
9160
+ message: string;
9161
+ data?: components["schemas"]["ErrorData"];
9162
+ } | {
9163
+ /** @constant */
9164
+ defined: false;
9165
+ code: string;
9166
+ status: number;
9167
+ message: string;
9168
+ data?: unknown;
9169
+ };
9170
+ };
9171
+ };
9172
+ /** @description 403 */
9173
+ 403: {
9174
+ headers: {
9175
+ [name: string]: unknown;
9176
+ };
9177
+ content: {
9178
+ "application/json": {
9179
+ /** @constant */
9180
+ defined: true;
9181
+ /** @constant */
9182
+ code: "FORBIDDEN";
9183
+ /** @constant */
9184
+ status: 403;
9185
+ /** @default Forbidden */
9186
+ message: string;
9187
+ data?: components["schemas"]["ForbiddenErrorData"];
9188
+ } | {
9189
+ /** @constant */
9190
+ defined: false;
9191
+ code: string;
9192
+ status: number;
9193
+ message: string;
9194
+ data?: unknown;
9195
+ };
9196
+ };
9197
+ };
9198
+ /** @description 404 */
9199
+ 404: {
9200
+ headers: {
9201
+ [name: string]: unknown;
9202
+ };
9203
+ content: {
9204
+ "application/json": {
9205
+ /** @constant */
9206
+ defined: true;
9207
+ /** @constant */
9208
+ code: "NOT_FOUND";
9209
+ /** @constant */
9210
+ status: 404;
9211
+ /** @default Not Found */
9212
+ message: string;
9213
+ data?: components["schemas"]["ErrorData"];
9214
+ } | {
9215
+ /** @constant */
9216
+ defined: false;
9217
+ code: string;
9218
+ status: number;
9219
+ message: string;
9220
+ data?: unknown;
9221
+ };
9222
+ };
9223
+ };
9224
+ /** @description 409 */
9225
+ 409: {
9226
+ headers: {
9227
+ [name: string]: unknown;
9228
+ };
9229
+ content: {
9230
+ "application/json": {
9231
+ /** @constant */
9232
+ defined: true;
9233
+ /** @constant */
9234
+ code: "CONFLICT";
9235
+ /** @constant */
9236
+ status: 409;
9237
+ /** @default Conflict */
9238
+ message: string;
9239
+ data?: components["schemas"]["ErrorData"];
9240
+ } | {
9241
+ /** @constant */
9242
+ defined: false;
9243
+ code: string;
9244
+ status: number;
9245
+ message: string;
9246
+ data?: unknown;
9247
+ };
9248
+ };
9249
+ };
9250
+ /** @description 429 */
9251
+ 429: {
9252
+ headers: {
9253
+ [name: string]: unknown;
9254
+ };
9255
+ content: {
9256
+ "application/json": {
9257
+ /** @constant */
9258
+ defined: true;
9259
+ /** @constant */
9260
+ code: "TOO_MANY_REQUESTS";
9261
+ /** @constant */
9262
+ status: 429;
9263
+ /** @default Too Many Requests */
9264
+ message: string;
9265
+ data?: components["schemas"]["RateLimitErrorData"];
9266
+ } | {
9267
+ /** @constant */
9268
+ defined: false;
9269
+ code: string;
9270
+ status: number;
9271
+ message: string;
9272
+ data?: unknown;
9273
+ };
9274
+ };
9275
+ };
9276
+ /** @description 500 */
9277
+ 500: {
9278
+ headers: {
9279
+ [name: string]: unknown;
9280
+ };
9281
+ content: {
9282
+ "application/json": {
9283
+ /** @constant */
9284
+ defined: true;
9285
+ /** @constant */
9286
+ code: "INTERNAL_SERVER_ERROR";
9287
+ /** @constant */
9288
+ status: 500;
9289
+ /** @default Internal Server Error */
9290
+ message: string;
9291
+ data?: components["schemas"]["ErrorData"];
9292
+ } | {
9293
+ /** @constant */
9294
+ defined: false;
9295
+ code: string;
9296
+ status: number;
9297
+ message: string;
9298
+ data?: unknown;
9299
+ };
9300
+ };
9301
+ };
9302
+ /** @description 503 */
9303
+ 503: {
9304
+ headers: {
9305
+ [name: string]: unknown;
9306
+ };
9307
+ content: {
9308
+ "application/json": {
9309
+ /** @constant */
9310
+ defined: true;
9311
+ /** @constant */
9312
+ code: "SERVICE_UNAVAILABLE";
9313
+ /** @constant */
9314
+ status: 503;
9315
+ /** @default Service Unavailable */
9316
+ message: string;
9317
+ data?: components["schemas"]["ErrorData"];
9318
+ } | {
9319
+ /** @constant */
9320
+ defined: false;
9321
+ code: string;
9322
+ status: number;
9323
+ message: string;
9324
+ data?: unknown;
9325
+ };
9326
+ };
9327
+ };
9328
+ };
9329
+ };
9330
+ "extensions.setSelfStorageEntry": {
9331
+ parameters: {
9332
+ query?: never;
9333
+ header?: never;
9334
+ path?: never;
9335
+ cookie?: never;
9336
+ };
9337
+ requestBody: {
9338
+ content: {
9339
+ "application/json": {
9340
+ key: string;
9341
+ value: string | number | boolean | null | (string | number | boolean | null | unknown[] | {
9342
+ [key: string]: unknown;
9343
+ })[] | {
9344
+ [key: string]: string | number | boolean | null | unknown[] | {
9345
+ [key: string]: unknown;
9346
+ };
9347
+ };
9348
+ };
9349
+ };
9350
+ };
9351
+ responses: {
9352
+ /** @description OK */
9353
+ 200: {
9354
+ headers: {
9355
+ [name: string]: unknown;
9356
+ };
9357
+ content: {
9358
+ "application/json": {
9359
+ key: string;
9360
+ /** Format: date-time */
9361
+ updatedAt: string;
9362
+ };
9363
+ };
9364
+ };
9365
+ /** @description 400 */
9366
+ 400: {
9367
+ headers: {
9368
+ [name: string]: unknown;
9369
+ };
9370
+ content: {
9371
+ "application/json": {
9372
+ /** @constant */
9373
+ defined: true;
9374
+ /** @constant */
9375
+ code: "BAD_REQUEST";
9376
+ /** @constant */
9377
+ status: 400;
9378
+ /** @default Bad Request */
9379
+ message: string;
9380
+ data?: components["schemas"]["ValidationErrorData"];
9381
+ } | {
9382
+ /** @constant */
9383
+ defined: false;
9384
+ code: string;
9385
+ status: number;
9386
+ message: string;
9387
+ data?: unknown;
9388
+ };
9389
+ };
9390
+ };
9391
+ /** @description 401 */
9392
+ 401: {
9393
+ headers: {
9394
+ [name: string]: unknown;
9395
+ };
9396
+ content: {
9397
+ "application/json": {
9398
+ /** @constant */
9399
+ defined: true;
9400
+ /** @constant */
9401
+ code: "UNAUTHORIZED";
9402
+ /** @constant */
9403
+ status: 401;
9404
+ /** @default Unauthorized */
9405
+ message: string;
9406
+ data?: components["schemas"]["ErrorData"];
9407
+ } | {
9408
+ /** @constant */
9409
+ defined: false;
9410
+ code: string;
9411
+ status: number;
9412
+ message: string;
9413
+ data?: unknown;
9414
+ };
9415
+ };
9416
+ };
9417
+ /** @description 403 */
9418
+ 403: {
9419
+ headers: {
9420
+ [name: string]: unknown;
9421
+ };
9422
+ content: {
9423
+ "application/json": {
9424
+ /** @constant */
9425
+ defined: true;
9426
+ /** @constant */
9427
+ code: "FORBIDDEN";
9428
+ /** @constant */
9429
+ status: 403;
9430
+ /** @default Forbidden */
9431
+ message: string;
9432
+ data?: components["schemas"]["ForbiddenErrorData"];
9433
+ } | {
9434
+ /** @constant */
9435
+ defined: false;
9436
+ code: string;
9437
+ status: number;
9438
+ message: string;
9439
+ data?: unknown;
9440
+ };
9441
+ };
9442
+ };
9443
+ /** @description 404 */
9444
+ 404: {
9445
+ headers: {
9446
+ [name: string]: unknown;
9447
+ };
9448
+ content: {
9449
+ "application/json": {
9450
+ /** @constant */
9451
+ defined: true;
9452
+ /** @constant */
9453
+ code: "NOT_FOUND";
9454
+ /** @constant */
9455
+ status: 404;
9456
+ /** @default Not Found */
9457
+ message: string;
9458
+ data?: components["schemas"]["ErrorData"];
9459
+ } | {
9460
+ /** @constant */
9461
+ defined: false;
9462
+ code: string;
9463
+ status: number;
9464
+ message: string;
9465
+ data?: unknown;
9466
+ };
9467
+ };
9468
+ };
9469
+ /** @description 409 */
9470
+ 409: {
9471
+ headers: {
9472
+ [name: string]: unknown;
9473
+ };
9474
+ content: {
9475
+ "application/json": {
9476
+ /** @constant */
9477
+ defined: true;
9478
+ /** @constant */
9479
+ code: "CONFLICT";
9480
+ /** @constant */
9481
+ status: 409;
9482
+ /** @default Conflict */
9483
+ message: string;
9484
+ data?: components["schemas"]["ErrorData"];
9485
+ } | {
9486
+ /** @constant */
9487
+ defined: false;
9488
+ code: string;
9489
+ status: number;
9490
+ message: string;
9491
+ data?: unknown;
9492
+ };
9493
+ };
9494
+ };
9495
+ /** @description 429 */
9496
+ 429: {
9497
+ headers: {
9498
+ [name: string]: unknown;
9499
+ };
9500
+ content: {
9501
+ "application/json": {
9502
+ /** @constant */
9503
+ defined: true;
9504
+ /** @constant */
9505
+ code: "TOO_MANY_REQUESTS";
9506
+ /** @constant */
9507
+ status: 429;
9508
+ /** @default Too Many Requests */
9509
+ message: string;
9510
+ data?: components["schemas"]["RateLimitErrorData"];
9511
+ } | {
9512
+ /** @constant */
9513
+ defined: false;
9514
+ code: string;
9515
+ status: number;
9516
+ message: string;
9517
+ data?: unknown;
9518
+ };
9519
+ };
9520
+ };
9521
+ /** @description 500 */
9522
+ 500: {
9523
+ headers: {
9524
+ [name: string]: unknown;
9525
+ };
9526
+ content: {
9527
+ "application/json": {
9528
+ /** @constant */
9529
+ defined: true;
9530
+ /** @constant */
9531
+ code: "INTERNAL_SERVER_ERROR";
9532
+ /** @constant */
9533
+ status: 500;
9534
+ /** @default Internal Server Error */
9535
+ message: string;
9536
+ data?: components["schemas"]["ErrorData"];
9537
+ } | {
9538
+ /** @constant */
9539
+ defined: false;
9540
+ code: string;
9541
+ status: number;
9542
+ message: string;
9543
+ data?: unknown;
9544
+ };
9545
+ };
9546
+ };
9547
+ /** @description 503 */
9548
+ 503: {
9549
+ headers: {
9550
+ [name: string]: unknown;
9551
+ };
9552
+ content: {
9553
+ "application/json": {
9554
+ /** @constant */
9555
+ defined: true;
9556
+ /** @constant */
9557
+ code: "SERVICE_UNAVAILABLE";
9558
+ /** @constant */
9559
+ status: 503;
9560
+ /** @default Service Unavailable */
9561
+ message: string;
9562
+ data?: components["schemas"]["ErrorData"];
9563
+ } | {
9564
+ /** @constant */
9565
+ defined: false;
9566
+ code: string;
9567
+ status: number;
9568
+ message: string;
9569
+ data?: unknown;
9570
+ };
9571
+ };
9572
+ };
9573
+ };
9574
+ };
9575
+ "extensions.deleteSelfStorageEntry": {
9576
+ parameters: {
9577
+ query: {
9578
+ key: string;
9579
+ };
9580
+ header?: never;
9581
+ path?: never;
9582
+ cookie?: never;
9583
+ };
9584
+ requestBody?: never;
9585
+ responses: {
9586
+ /** @description OK */
9587
+ 200: {
9588
+ headers: {
9589
+ [name: string]: unknown;
9590
+ };
9591
+ content: {
9592
+ "application/json": {
9593
+ deleted: boolean;
9594
+ };
9595
+ };
9596
+ };
9597
+ /** @description 400 */
9598
+ 400: {
9599
+ headers: {
9600
+ [name: string]: unknown;
9601
+ };
9602
+ content: {
9603
+ "application/json": {
9604
+ /** @constant */
9605
+ defined: true;
9606
+ /** @constant */
9607
+ code: "BAD_REQUEST";
9608
+ /** @constant */
9609
+ status: 400;
9610
+ /** @default Bad Request */
9611
+ message: string;
9612
+ data?: components["schemas"]["ValidationErrorData"];
9613
+ } | {
9614
+ /** @constant */
9615
+ defined: false;
9616
+ code: string;
9617
+ status: number;
9618
+ message: string;
9619
+ data?: unknown;
9620
+ };
9621
+ };
9622
+ };
9623
+ /** @description 401 */
9624
+ 401: {
9625
+ headers: {
9626
+ [name: string]: unknown;
9627
+ };
9628
+ content: {
9629
+ "application/json": {
9630
+ /** @constant */
9631
+ defined: true;
9632
+ /** @constant */
9633
+ code: "UNAUTHORIZED";
9634
+ /** @constant */
9635
+ status: 401;
9636
+ /** @default Unauthorized */
9637
+ message: string;
9638
+ data?: components["schemas"]["ErrorData"];
9639
+ } | {
9640
+ /** @constant */
9641
+ defined: false;
9642
+ code: string;
9643
+ status: number;
9644
+ message: string;
9645
+ data?: unknown;
9646
+ };
9647
+ };
9648
+ };
9649
+ /** @description 403 */
9650
+ 403: {
9651
+ headers: {
9652
+ [name: string]: unknown;
9653
+ };
9654
+ content: {
9655
+ "application/json": {
9656
+ /** @constant */
9657
+ defined: true;
9658
+ /** @constant */
9659
+ code: "FORBIDDEN";
9660
+ /** @constant */
9661
+ status: 403;
9662
+ /** @default Forbidden */
9663
+ message: string;
9664
+ data?: components["schemas"]["ForbiddenErrorData"];
9665
+ } | {
9666
+ /** @constant */
9667
+ defined: false;
9668
+ code: string;
9669
+ status: number;
9670
+ message: string;
9671
+ data?: unknown;
9672
+ };
9673
+ };
9674
+ };
9675
+ /** @description 404 */
9676
+ 404: {
9677
+ headers: {
9678
+ [name: string]: unknown;
9679
+ };
9680
+ content: {
9681
+ "application/json": {
9682
+ /** @constant */
9683
+ defined: true;
9684
+ /** @constant */
9685
+ code: "NOT_FOUND";
9686
+ /** @constant */
9687
+ status: 404;
9688
+ /** @default Not Found */
9689
+ message: string;
9690
+ data?: components["schemas"]["ErrorData"];
9691
+ } | {
9692
+ /** @constant */
9693
+ defined: false;
9694
+ code: string;
9695
+ status: number;
9696
+ message: string;
9697
+ data?: unknown;
9698
+ };
9699
+ };
9700
+ };
9701
+ /** @description 409 */
9702
+ 409: {
9703
+ headers: {
9704
+ [name: string]: unknown;
9705
+ };
9706
+ content: {
9707
+ "application/json": {
9708
+ /** @constant */
9709
+ defined: true;
9710
+ /** @constant */
9711
+ code: "CONFLICT";
9712
+ /** @constant */
9713
+ status: 409;
9714
+ /** @default Conflict */
9715
+ message: string;
9716
+ data?: components["schemas"]["ErrorData"];
9717
+ } | {
9718
+ /** @constant */
9719
+ defined: false;
9720
+ code: string;
9721
+ status: number;
9722
+ message: string;
9723
+ data?: unknown;
9724
+ };
9725
+ };
9726
+ };
9727
+ /** @description 429 */
9728
+ 429: {
9729
+ headers: {
9730
+ [name: string]: unknown;
9731
+ };
9732
+ content: {
9733
+ "application/json": {
9734
+ /** @constant */
9735
+ defined: true;
9736
+ /** @constant */
9737
+ code: "TOO_MANY_REQUESTS";
9738
+ /** @constant */
9739
+ status: 429;
9740
+ /** @default Too Many Requests */
9741
+ message: string;
9742
+ data?: components["schemas"]["RateLimitErrorData"];
9743
+ } | {
9744
+ /** @constant */
9745
+ defined: false;
9746
+ code: string;
9747
+ status: number;
9748
+ message: string;
9749
+ data?: unknown;
9750
+ };
9751
+ };
9752
+ };
9753
+ /** @description 500 */
9754
+ 500: {
9755
+ headers: {
9756
+ [name: string]: unknown;
9757
+ };
9758
+ content: {
9759
+ "application/json": {
9760
+ /** @constant */
9761
+ defined: true;
9762
+ /** @constant */
9763
+ code: "INTERNAL_SERVER_ERROR";
9764
+ /** @constant */
9765
+ status: 500;
9766
+ /** @default Internal Server Error */
9767
+ message: string;
9768
+ data?: components["schemas"]["ErrorData"];
9769
+ } | {
9770
+ /** @constant */
9771
+ defined: false;
9772
+ code: string;
9773
+ status: number;
9774
+ message: string;
9775
+ data?: unknown;
9776
+ };
9777
+ };
9778
+ };
9779
+ /** @description 503 */
9780
+ 503: {
9781
+ headers: {
9782
+ [name: string]: unknown;
9783
+ };
9784
+ content: {
9785
+ "application/json": {
9786
+ /** @constant */
9787
+ defined: true;
9788
+ /** @constant */
9789
+ code: "SERVICE_UNAVAILABLE";
9790
+ /** @constant */
9791
+ status: 503;
9792
+ /** @default Service Unavailable */
9793
+ message: string;
9794
+ data?: components["schemas"]["ErrorData"];
9795
+ } | {
9796
+ /** @constant */
9797
+ defined: false;
9798
+ code: string;
9799
+ status: number;
9800
+ message: string;
9801
+ data?: unknown;
9802
+ };
9803
+ };
9804
+ };
9805
+ };
9806
+ };
9807
+ "extensions.listSelfStorageEntries": {
9808
+ parameters: {
9809
+ query?: {
9810
+ prefix?: string;
9811
+ after?: string;
9812
+ limit?: number;
9813
+ };
9814
+ header?: never;
9815
+ path?: never;
9816
+ cookie?: never;
9817
+ };
9818
+ requestBody?: never;
9819
+ responses: {
9820
+ /** @description OK */
9821
+ 200: {
9822
+ headers: {
9823
+ [name: string]: unknown;
9824
+ };
9825
+ content: {
9826
+ "application/json": {
9827
+ data: {
9828
+ key: string;
9829
+ value: string | number | boolean | null | (string | number | boolean | null | (unknown | null)[] | {
9830
+ [key: string]: unknown;
9831
+ })[] | {
9832
+ [key: string]: string | number | boolean | null | (unknown | null)[] | {
9833
+ [key: string]: unknown;
9834
+ };
9835
+ };
9836
+ /** Format: date-time */
9837
+ updatedAt: string;
9838
+ }[];
9839
+ hasMore: boolean;
9840
+ };
9841
+ };
9842
+ };
9843
+ /** @description 400 */
9844
+ 400: {
9845
+ headers: {
9846
+ [name: string]: unknown;
9847
+ };
9848
+ content: {
9849
+ "application/json": {
9850
+ /** @constant */
9851
+ defined: true;
9852
+ /** @constant */
9853
+ code: "BAD_REQUEST";
9854
+ /** @constant */
9855
+ status: 400;
9856
+ /** @default Bad Request */
9857
+ message: string;
9858
+ data?: components["schemas"]["ValidationErrorData"];
9859
+ } | {
9860
+ /** @constant */
9861
+ defined: false;
9862
+ code: string;
9863
+ status: number;
9864
+ message: string;
9865
+ data?: unknown;
9866
+ };
9867
+ };
9868
+ };
9869
+ /** @description 401 */
9870
+ 401: {
9871
+ headers: {
9872
+ [name: string]: unknown;
9873
+ };
9874
+ content: {
9875
+ "application/json": {
9876
+ /** @constant */
9877
+ defined: true;
9878
+ /** @constant */
9879
+ code: "UNAUTHORIZED";
9880
+ /** @constant */
9881
+ status: 401;
9882
+ /** @default Unauthorized */
9883
+ message: string;
9884
+ data?: components["schemas"]["ErrorData"];
9885
+ } | {
9886
+ /** @constant */
9887
+ defined: false;
9888
+ code: string;
9889
+ status: number;
9890
+ message: string;
9891
+ data?: unknown;
9892
+ };
9893
+ };
9894
+ };
9895
+ /** @description 403 */
9896
+ 403: {
9897
+ headers: {
9898
+ [name: string]: unknown;
9899
+ };
9900
+ content: {
9901
+ "application/json": {
9902
+ /** @constant */
9903
+ defined: true;
9904
+ /** @constant */
9905
+ code: "FORBIDDEN";
9906
+ /** @constant */
9907
+ status: 403;
9908
+ /** @default Forbidden */
9909
+ message: string;
9910
+ data?: components["schemas"]["ForbiddenErrorData"];
9911
+ } | {
9912
+ /** @constant */
9913
+ defined: false;
9914
+ code: string;
9915
+ status: number;
9916
+ message: string;
9917
+ data?: unknown;
9918
+ };
9919
+ };
9920
+ };
9921
+ /** @description 404 */
9922
+ 404: {
9923
+ headers: {
9924
+ [name: string]: unknown;
9925
+ };
9926
+ content: {
9927
+ "application/json": {
9928
+ /** @constant */
9929
+ defined: true;
9930
+ /** @constant */
9931
+ code: "NOT_FOUND";
9932
+ /** @constant */
9933
+ status: 404;
9934
+ /** @default Not Found */
9935
+ message: string;
9936
+ data?: components["schemas"]["ErrorData"];
9937
+ } | {
9938
+ /** @constant */
9939
+ defined: false;
9940
+ code: string;
9941
+ status: number;
9942
+ message: string;
9943
+ data?: unknown;
9944
+ };
9945
+ };
9946
+ };
9947
+ /** @description 409 */
9948
+ 409: {
9949
+ headers: {
9950
+ [name: string]: unknown;
9951
+ };
9952
+ content: {
9953
+ "application/json": {
9954
+ /** @constant */
9955
+ defined: true;
9956
+ /** @constant */
9957
+ code: "CONFLICT";
9958
+ /** @constant */
9959
+ status: 409;
9960
+ /** @default Conflict */
9961
+ message: string;
9962
+ data?: components["schemas"]["ErrorData"];
9963
+ } | {
9964
+ /** @constant */
9965
+ defined: false;
9966
+ code: string;
9967
+ status: number;
9968
+ message: string;
9969
+ data?: unknown;
9970
+ };
9971
+ };
9972
+ };
9973
+ /** @description 429 */
9974
+ 429: {
9975
+ headers: {
9976
+ [name: string]: unknown;
9977
+ };
9978
+ content: {
9979
+ "application/json": {
9980
+ /** @constant */
9981
+ defined: true;
9982
+ /** @constant */
9983
+ code: "TOO_MANY_REQUESTS";
9984
+ /** @constant */
9985
+ status: 429;
9986
+ /** @default Too Many Requests */
9987
+ message: string;
9988
+ data?: components["schemas"]["RateLimitErrorData"];
9989
+ } | {
9990
+ /** @constant */
9991
+ defined: false;
9992
+ code: string;
9993
+ status: number;
9994
+ message: string;
9995
+ data?: unknown;
9996
+ };
9997
+ };
9998
+ };
9999
+ /** @description 500 */
10000
+ 500: {
10001
+ headers: {
10002
+ [name: string]: unknown;
10003
+ };
10004
+ content: {
10005
+ "application/json": {
10006
+ /** @constant */
10007
+ defined: true;
10008
+ /** @constant */
10009
+ code: "INTERNAL_SERVER_ERROR";
10010
+ /** @constant */
10011
+ status: 500;
10012
+ /** @default Internal Server Error */
10013
+ message: string;
10014
+ data?: components["schemas"]["ErrorData"];
10015
+ } | {
10016
+ /** @constant */
10017
+ defined: false;
10018
+ code: string;
10019
+ status: number;
10020
+ message: string;
10021
+ data?: unknown;
10022
+ };
10023
+ };
10024
+ };
10025
+ /** @description 503 */
10026
+ 503: {
10027
+ headers: {
10028
+ [name: string]: unknown;
10029
+ };
10030
+ content: {
10031
+ "application/json": {
10032
+ /** @constant */
10033
+ defined: true;
10034
+ /** @constant */
10035
+ code: "SERVICE_UNAVAILABLE";
10036
+ /** @constant */
10037
+ status: 503;
10038
+ /** @default Service Unavailable */
10039
+ message: string;
10040
+ data?: components["schemas"]["ErrorData"];
10041
+ } | {
10042
+ /** @constant */
10043
+ defined: false;
10044
+ code: string;
10045
+ status: number;
10046
+ message: string;
10047
+ data?: unknown;
10048
+ };
10049
+ };
10050
+ };
10051
+ };
10052
+ };
7225
10053
  "collections.create": {
7226
10054
  parameters: {
7227
10055
  query?: never;
@@ -27615,4 +30443,4 @@ interface operations {
27615
30443
  }
27616
30444
  //#endregion
27617
30445
  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 };
27618
- //# sourceMappingURL=schema-BcVop8NH.d.ts.map
30446
+ //# sourceMappingURL=schema-CrquN_J6.d.ts.map