@keboola/api-client 24.0.0 → 27.0.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/AGENTS.md +489 -0
- package/API-SURFACE.md +129 -57
- package/README.md +29 -25
- package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
- package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
- package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
- package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
- package/dist/ai/index.cjs +4 -4
- package/dist/ai/index.d.cts +6 -3
- package/dist/ai/index.d.ts +6 -3
- package/dist/ai/index.js +3 -3
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
- package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
- package/dist/apps/index.cjs +16 -0
- package/dist/apps/index.cjs.map +1 -0
- package/dist/apps/index.d.cts +249 -0
- package/dist/apps/index.d.ts +249 -0
- package/dist/apps/index.js +7 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/types.cjs +4 -0
- package/dist/apps/types.cjs.map +1 -0
- package/dist/apps/types.d.cts +3 -0
- package/dist/apps/types.d.ts +3 -0
- package/dist/apps/types.js +3 -0
- package/dist/apps/types.js.map +1 -0
- package/dist/assets/index.cjs +2 -2
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +17 -13
- package/dist/auth/index.d.cts +19 -6
- package/dist/auth/index.d.ts +19 -6
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +3 -3
- package/dist/auth/types.d.ts +3 -3
- package/dist/backends-UNp_e5y9.d.cts +7 -0
- package/dist/backends-UNp_e5y9.d.ts +7 -0
- package/dist/chat/index.cjs +4 -4
- package/dist/chat/index.d.cts +6 -3
- package/dist/chat/index.d.ts +6 -3
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
- package/dist/chunk-24YVNNAG.js.map +1 -0
- package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
- package/dist/chunk-255CHZ3U.js.map +1 -0
- package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
- package/dist/chunk-2BCH2U57.js.map +1 -0
- package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
- package/dist/chunk-2BQBKU6E.js.map +1 -0
- package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
- package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
- package/dist/chunk-3UBGQFBU.js +29 -0
- package/dist/chunk-3UBGQFBU.js.map +1 -0
- package/dist/chunk-57Q4CY4H.js +190 -0
- package/dist/chunk-57Q4CY4H.js.map +1 -0
- package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
- package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
- package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
- package/dist/chunk-5HEIR4DC.js.map +1 -0
- package/dist/chunk-5SR2L35Y.cjs +1828 -0
- package/dist/chunk-5SR2L35Y.cjs.map +1 -0
- package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
- package/dist/chunk-62LG5KPI.js.map +1 -0
- package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
- package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
- package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
- package/dist/chunk-6PVEHUJL.cjs.map +1 -0
- package/dist/chunk-6XFXU5N4.js +119 -0
- package/dist/chunk-6XFXU5N4.js.map +1 -0
- package/dist/chunk-6ZQBFK2Y.js +24 -0
- package/dist/chunk-6ZQBFK2Y.js.map +1 -0
- package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
- package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
- package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
- package/dist/chunk-AXYNFDUI.cjs.map +1 -0
- package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
- package/dist/chunk-B45B4AYG.js.map +1 -0
- package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
- package/dist/chunk-B4T4QCLB.js.map +1 -0
- package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
- package/dist/chunk-BGJWHTBJ.js.map +1 -0
- package/dist/chunk-BVRPZKRE.cjs +147 -0
- package/dist/chunk-BVRPZKRE.cjs.map +1 -0
- package/dist/chunk-BZB4UVQA.cjs +192 -0
- package/dist/chunk-BZB4UVQA.cjs.map +1 -0
- package/dist/{chunk-D3ZZQIY2.cjs → chunk-CHRBWCL7.cjs} +8 -8
- package/dist/chunk-CHRBWCL7.cjs.map +1 -0
- package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
- package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
- package/dist/{chunk-D6O5C67S.js → chunk-DVV35AIS.js} +7 -7
- package/dist/chunk-DVV35AIS.js.map +1 -0
- package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
- package/dist/chunk-E7GGDLAH.cjs.map +1 -0
- package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
- package/dist/chunk-EQPBR3BE.cjs.map +1 -0
- package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
- package/dist/chunk-ERZEQ5JR.js.map +1 -0
- package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
- package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
- package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
- package/dist/chunk-FEAE6L3K.cjs.map +1 -0
- package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
- package/dist/chunk-FVU7WU2H.cjs.map +1 -0
- package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
- package/dist/chunk-FW5GBBKL.js.map +1 -0
- package/dist/chunk-G2SWCC3X.js +90 -0
- package/dist/chunk-G2SWCC3X.js.map +1 -0
- package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
- package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
- package/dist/{chunk-KH6BHTXN.js → chunk-HGKDXF35.js} +59 -108
- package/dist/chunk-HGKDXF35.js.map +1 -0
- package/dist/chunk-HITKHHWN.cjs +174 -0
- package/dist/chunk-HITKHHWN.cjs.map +1 -0
- package/dist/chunk-HQO572JW.cjs +34 -0
- package/dist/chunk-HQO572JW.cjs.map +1 -0
- package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
- package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
- package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
- package/dist/chunk-HZDVMHU6.js.map +1 -0
- package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
- package/dist/chunk-ICWUR5WA.cjs.map +1 -0
- package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
- package/dist/chunk-IQFNHQWP.cjs.map +1 -0
- package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
- package/dist/chunk-IZ4QM7O4.js.map +1 -0
- package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
- package/dist/chunk-J5JCXSAS.cjs.map +1 -0
- package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
- package/dist/chunk-JI7HLIDL.cjs.map +1 -0
- package/dist/chunk-JWISA775.cjs +92 -0
- package/dist/chunk-JWISA775.cjs.map +1 -0
- package/dist/chunk-K3BLXPLA.cjs +16 -0
- package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
- package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
- package/dist/chunk-KATUDT3E.js.map +1 -0
- package/dist/chunk-KGBWWS6I.js +32 -0
- package/dist/chunk-KGBWWS6I.js.map +1 -0
- package/dist/chunk-KQENBXPS.cjs +34 -0
- package/dist/chunk-KQENBXPS.cjs.map +1 -0
- package/dist/chunk-KTKJD4DM.js +60 -0
- package/dist/chunk-KTKJD4DM.js.map +1 -0
- package/dist/chunk-LNZP2O4P.js +169 -0
- package/dist/chunk-LNZP2O4P.js.map +1 -0
- package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
- package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
- package/dist/chunk-N4COL54U.cjs +22 -0
- package/dist/chunk-N4COL54U.cjs.map +1 -0
- package/dist/chunk-NFJKJGXR.js +397 -0
- package/dist/chunk-NFJKJGXR.js.map +1 -0
- package/dist/chunk-NH2TQGRL.cjs +28 -0
- package/dist/chunk-NH2TQGRL.cjs.map +1 -0
- package/dist/{chunk-XMC355U2.js → chunk-NHYL5QPM.js} +17 -3
- package/dist/chunk-NHYL5QPM.js.map +1 -0
- package/dist/{chunk-WFXW4XU3.js → chunk-ON4ILCHP.js} +899 -555
- package/dist/chunk-ON4ILCHP.js.map +1 -0
- package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
- package/dist/chunk-PLF4JX5B.cjs.map +1 -0
- package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
- package/dist/chunk-QNF3L4B7.js.map +1 -0
- package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
- package/dist/chunk-RBN3ITTM.js.map +1 -0
- package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
- package/dist/chunk-RXYT7EMN.cjs.map +1 -0
- package/dist/chunk-S46FMY4G.cjs +64 -0
- package/dist/chunk-S46FMY4G.cjs.map +1 -0
- package/dist/chunk-S6BWQKHJ.cjs +116 -0
- package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
- package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
- package/dist/chunk-SFTI6QFB.cjs.map +1 -0
- package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
- package/dist/chunk-SNP577FA.cjs.map +1 -0
- package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
- package/dist/chunk-SUVM3S2T.cjs.map +1 -0
- package/dist/chunk-SYZ5OFNT.js +114 -0
- package/dist/chunk-SYZ5OFNT.js.map +1 -0
- package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
- package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
- package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
- package/dist/chunk-TBHJQCAE.js.map +1 -0
- package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
- package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
- package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
- package/dist/chunk-UVX733BX.js.map +1 -0
- package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
- package/dist/chunk-V6FT3RTU.cjs.map +1 -0
- package/dist/{chunk-35MODDCL.cjs → chunk-VB56OVFM.cjs} +59 -111
- package/dist/chunk-VB56OVFM.cjs.map +1 -0
- package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
- package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
- package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
- package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
- package/dist/{chunk-3KEVPUSX.cjs → chunk-WUJ53PP7.cjs} +17 -3
- package/dist/chunk-WUJ53PP7.cjs.map +1 -0
- package/dist/chunk-YDOSWWE4.cjs +419 -0
- package/dist/chunk-YDOSWWE4.cjs.map +1 -0
- package/dist/chunk-YGEJDWGG.js +19 -0
- package/dist/chunk-YGEJDWGG.js.map +1 -0
- package/dist/constants/index.cjs +16 -164
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +14 -1
- package/dist/constants/index.d.ts +14 -1
- package/dist/constants/index.js +2 -163
- package/dist/constants/index.js.map +1 -1
- package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
- package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
- package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
- package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
- package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +2 -2
- package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +2 -2
- package/dist/dataScience/index.cjs +6 -5
- package/dist/dataScience/index.d.cts +8 -6
- package/dist/dataScience/index.d.ts +8 -6
- package/dist/dataScience/index.js +4 -3
- package/dist/dataScience/types.d.cts +2172 -2
- package/dist/dataScience/types.d.ts +2172 -2
- package/dist/domain/permissions/index.cjs +3 -3
- package/dist/domain/permissions/index.d.cts +5 -4
- package/dist/domain/permissions/index.d.ts +5 -4
- package/dist/domain/permissions/index.js +1 -1
- package/dist/editor/index.cjs +4 -4
- package/dist/editor/index.d.cts +6 -3
- package/dist/editor/index.d.ts +6 -3
- package/dist/editor/index.js +3 -3
- package/dist/editor/types.d.cts +2 -2
- package/dist/editor/types.d.ts +2 -2
- package/dist/encryption/index.cjs +3 -3
- package/dist/encryption/index.d.cts +6 -4
- package/dist/encryption/index.d.ts +6 -4
- package/dist/encryption/index.js +2 -2
- package/dist/encryption/types.d.cts +4 -3
- package/dist/encryption/types.d.ts +4 -3
- package/dist/import/index.cjs +4 -4
- package/dist/import/index.d.cts +6 -3
- package/dist/import/index.d.ts +6 -3
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +228 -135
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +952 -463
- package/dist/index.d.ts +952 -463
- package/dist/index.js +98 -46
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +62 -69
- package/dist/management/index.d.ts +62 -69
- package/dist/management/index.js +3 -3
- package/dist/management/types.d.cts +3 -3
- package/dist/management/types.d.ts +3 -3
- package/dist/metastore/index.cjs +4 -4
- package/dist/metastore/index.d.cts +6 -7
- package/dist/metastore/index.d.ts +6 -7
- package/dist/metastore/index.js +3 -3
- package/dist/metastore/types.d.cts +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/notifications/index.cjs +5 -5
- package/dist/notifications/index.d.cts +4 -3
- package/dist/notifications/index.d.ts +4 -3
- package/dist/notifications/index.js +4 -4
- package/dist/notifications/types.d.cts +2 -2
- package/dist/notifications/types.d.ts +2 -2
- package/dist/oauth/index.cjs +4 -4
- package/dist/oauth/index.d.cts +3 -2
- package/dist/oauth/index.d.ts +3 -2
- package/dist/oauth/index.js +3 -3
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.cjs +14 -0
- package/dist/omnisearch/index.cjs.map +1 -0
- package/dist/omnisearch/index.d.cts +32 -0
- package/dist/omnisearch/index.d.ts +32 -0
- package/dist/omnisearch/index.js +5 -0
- package/dist/omnisearch/index.js.map +1 -0
- package/dist/omnisearch/types.cjs +4 -0
- package/dist/omnisearch/types.cjs.map +1 -0
- package/dist/omnisearch/types.d.cts +3 -0
- package/dist/omnisearch/types.d.ts +3 -0
- package/dist/omnisearch/types.js +3 -0
- package/dist/omnisearch/types.js.map +1 -0
- package/dist/{project-DmC8vKnh.d.ts → project-Dmr-zrQG.d.ts} +2 -2
- package/dist/{project-CSJzVylj.d.cts → project-DstzWVMN.d.cts} +2 -2
- package/dist/queryService/index.cjs +4 -4
- package/dist/queryService/index.d.cts +4 -3
- package/dist/queryService/index.d.ts +4 -3
- package/dist/queryService/index.js +3 -3
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/queue/index.cjs +4 -4
- package/dist/queue/index.d.cts +9 -3
- package/dist/queue/index.d.ts +9 -3
- package/dist/queue/index.js +3 -3
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/scheduler/index.cjs +5 -5
- package/dist/scheduler/index.d.cts +3 -2
- package/dist/scheduler/index.d.ts +3 -2
- package/dist/scheduler/index.js +4 -4
- package/dist/scheduler/types.d.cts +3 -3
- package/dist/scheduler/types.d.ts +3 -3
- package/dist/sdk/configurations/index.cjs +3 -3
- package/dist/sdk/configurations/index.d.cts +9 -8
- package/dist/sdk/configurations/index.d.ts +9 -8
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/queryService/index.cjs +16 -0
- package/dist/sdk/queryService/index.cjs.map +1 -0
- package/dist/sdk/queryService/index.d.cts +35 -0
- package/dist/sdk/queryService/index.d.ts +35 -0
- package/dist/sdk/queryService/index.js +7 -0
- package/dist/sdk/queryService/index.js.map +1 -0
- package/dist/sdk/semanticLayer/index.cjs +18 -14
- package/dist/sdk/semanticLayer/index.d.cts +26 -11
- package/dist/sdk/semanticLayer/index.d.ts +26 -11
- package/dist/sdk/semanticLayer/index.js +2 -2
- package/dist/sdk/semanticLayer/types.d.cts +26 -6
- package/dist/sdk/semanticLayer/types.d.ts +26 -6
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +9 -8
- package/dist/sdk/storage/index.d.ts +9 -8
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.cjs +3 -3
- package/dist/sdk/tag/index.d.cts +4 -4
- package/dist/sdk/tag/index.d.ts +4 -4
- package/dist/sdk/tag/index.js +2 -2
- package/dist/sdk/tag/types.d.cts +11 -5
- package/dist/sdk/tag/types.d.ts +11 -5
- package/dist/sdk/vault/index.cjs +8 -8
- package/dist/sdk/vault/index.d.cts +6 -5
- package/dist/sdk/vault/index.d.ts +6 -5
- package/dist/sdk/vault/index.js +2 -2
- package/dist/status/index.cjs +2 -2
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +59 -12
- package/dist/storage/index.d.cts +21 -22
- package/dist/storage/index.d.ts +21 -22
- package/dist/storage/index.js +8 -5
- package/dist/storage/types.d.cts +741 -390
- package/dist/storage/types.d.ts +741 -390
- package/dist/{storageClient-B4OooGB9.d.ts → storageClient-BAid0vi2.d.cts} +482 -250
- package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-BX50Attd.d.ts} +482 -250
- package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-BS5982c_.d.cts} +23 -16
- package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-BeJcnEIO.d.ts} +23 -16
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.d.cts +4 -3
- package/dist/stream/index.d.ts +4 -3
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +2 -2
- package/dist/stream/types.d.ts +2 -2
- package/dist/syncActions/index.cjs +9 -4
- package/dist/syncActions/index.d.cts +55 -80
- package/dist/syncActions/index.d.ts +55 -80
- package/dist/syncActions/index.js +8 -3
- package/dist/syncActions/types.d.cts +387 -25
- package/dist/syncActions/types.d.ts +387 -25
- package/dist/telemetry/index.cjs +4 -4
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/index.js +3 -3
- package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
- package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
- package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
- package/dist/types-BcaALDYY.d.cts +2130 -0
- package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
- package/dist/types-Bp8d9PJf.d.cts +607 -0
- package/dist/types-BsejtGjZ.d.ts +2130 -0
- package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
- package/dist/{types-WGZN6XLN.d.cts → types-C5DdOzx8.d.cts} +1 -1
- package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
- package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
- package/dist/{types-Brc6lq7i.d.ts → types-C_jxWM7A.d.ts} +1 -1
- package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
- package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
- package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
- package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
- package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
- package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
- package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
- package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
- package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
- package/dist/types-DOc5_aYZ.d.ts +607 -0
- package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
- package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
- package/dist/{types-BhlJw2f2.d.ts → types-EZBBpiFU.d.ts} +886 -114
- package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.cts} +1 -1
- package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.ts} +1 -1
- package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
- package/dist/{types-DVhcwrwN.d.cts → types-cxk-0ftN.d.cts} +886 -114
- package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
- package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
- package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
- package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
- package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +3 -2
- package/dist/vault/index.d.ts +3 -2
- package/dist/vault/index.js +3 -3
- package/dist/vault/types.d.cts +3 -3
- package/dist/vault/types.d.ts +3 -3
- package/package.json +71 -3
- package/surface/ai.md +1 -0
- package/surface/apps.md +32 -0
- package/surface/auth.md +6 -4
- package/surface/chat.md +2 -1
- package/surface/dataScience.md +1 -0
- package/surface/editor.md +1 -0
- package/surface/encryption.md +1 -0
- package/surface/import.md +1 -0
- package/surface/kaiAgent.md +2 -1
- package/surface/management.md +17 -16
- package/surface/metastore.md +2 -1
- package/surface/notifications.md +1 -0
- package/surface/oauth.md +1 -0
- package/surface/omnisearch.md +9 -0
- package/surface/queryService.md +1 -0
- package/surface/queue.md +8 -7
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +17 -17
- package/surface/storage.md +125 -88
- package/surface/stream.md +1 -0
- package/surface/syncActions.md +19 -7
- package/surface/vault.md +1 -0
- package/dist/chunk-34GM6NXB.js.map +0 -1
- package/dist/chunk-35MODDCL.cjs.map +0 -1
- package/dist/chunk-3BFPNM2J.js.map +0 -1
- package/dist/chunk-3FZHFTLG.cjs +0 -12
- package/dist/chunk-3FZHFTLG.cjs.map +0 -1
- package/dist/chunk-3KEVPUSX.cjs.map +0 -1
- package/dist/chunk-3MTY6I2W.js +0 -192
- package/dist/chunk-3MTY6I2W.js.map +0 -1
- package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
- package/dist/chunk-4VVF2PIX.js.map +0 -1
- package/dist/chunk-77LILJYX.js.map +0 -1
- package/dist/chunk-7R22VKV7.cjs.map +0 -1
- package/dist/chunk-7RO6PKZ4.cjs +0 -16
- package/dist/chunk-7YXL4FKN.cjs.map +0 -1
- package/dist/chunk-7Z4MU7ZB.js.map +0 -1
- package/dist/chunk-AFJGNBVM.cjs.map +0 -1
- package/dist/chunk-AXEANGGK.js +0 -226
- package/dist/chunk-AXEANGGK.js.map +0 -1
- package/dist/chunk-BR6WZE3O.cjs.map +0 -1
- package/dist/chunk-BZA3FGO6.js.map +0 -1
- package/dist/chunk-CV2JGHBN.js.map +0 -1
- package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
- package/dist/chunk-D3ZZQIY2.cjs.map +0 -1
- package/dist/chunk-D6O5C67S.js.map +0 -1
- package/dist/chunk-DRNOCC6W.cjs.map +0 -1
- package/dist/chunk-FMS5PNM2.cjs.map +0 -1
- package/dist/chunk-G66EP527.js.map +0 -1
- package/dist/chunk-GF4XZK5N.cjs.map +0 -1
- package/dist/chunk-GM3AKU5T.js +0 -10
- package/dist/chunk-GM3AKU5T.js.map +0 -1
- package/dist/chunk-HMCZUHR7.js.map +0 -1
- package/dist/chunk-HY7J3OD3.cjs.map +0 -1
- package/dist/chunk-IDWGBCSB.cjs.map +0 -1
- package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
- package/dist/chunk-KH6BHTXN.js.map +0 -1
- package/dist/chunk-KUYVBCUM.cjs.map +0 -1
- package/dist/chunk-L262THNK.cjs +0 -253
- package/dist/chunk-L262THNK.cjs.map +0 -1
- package/dist/chunk-LD3JERYP.js.map +0 -1
- package/dist/chunk-LIXSIM3H.cjs.map +0 -1
- package/dist/chunk-MMOAH3EH.cjs.map +0 -1
- package/dist/chunk-NVRVPWNY.js.map +0 -1
- package/dist/chunk-OUSPQ55W.js.map +0 -1
- package/dist/chunk-PPQF7LTS.cjs.map +0 -1
- package/dist/chunk-QZKDBVAU.cjs +0 -1482
- package/dist/chunk-QZKDBVAU.cjs.map +0 -1
- package/dist/chunk-S4JK7DKM.js.map +0 -1
- package/dist/chunk-SJZ66FD5.js.map +0 -1
- package/dist/chunk-T242YFMT.cjs.map +0 -1
- package/dist/chunk-UABYNGBZ.js.map +0 -1
- package/dist/chunk-UP5SEEYZ.js.map +0 -1
- package/dist/chunk-UWQUHP3T.cjs.map +0 -1
- package/dist/chunk-WFXW4XU3.js.map +0 -1
- package/dist/chunk-XHDYLUM4.js.map +0 -1
- package/dist/chunk-XIIER7QQ.js.map +0 -1
- package/dist/chunk-XKIENBIE.js.map +0 -1
- package/dist/chunk-XMC355U2.js.map +0 -1
- package/dist/chunk-Y44G2VDC.cjs +0 -214
- package/dist/chunk-Y44G2VDC.cjs.map +0 -1
- package/dist/utils-B_SOM1XR.d.ts +0 -3051
- package/dist/utils-DK7uJcmR.d.cts +0 -3051
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenapiBodyType, b as OpenapiReturnType, d as OpenapiPathType } from './types-
|
|
1
|
+
import { O as OpenapiBodyType, b as OpenapiReturnType, d as OpenapiPathType } from './types-f8dUjMX4.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -86,6 +86,74 @@ type paths = {
|
|
|
86
86
|
patch?: never;
|
|
87
87
|
trace?: never;
|
|
88
88
|
};
|
|
89
|
+
'/v1/auth/methods': {
|
|
90
|
+
parameters: {
|
|
91
|
+
query?: never;
|
|
92
|
+
header?: never;
|
|
93
|
+
path?: never;
|
|
94
|
+
cookie?: never;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Discover stack login methods
|
|
98
|
+
* @description Returns the login methods available on this stack, including public OAuth client IDs. Use POST /v1/auth/methods to narrow the list for a specific email address.
|
|
99
|
+
*/
|
|
100
|
+
get: operations['get_auth_login_methods'];
|
|
101
|
+
put?: never;
|
|
102
|
+
/**
|
|
103
|
+
* Discover login methods for an email address
|
|
104
|
+
* @description Narrows the stack login methods to what the address's domain allows. The answer depends on the domain alone, so it is identical for existing and non-existing accounts.
|
|
105
|
+
*/
|
|
106
|
+
post: operations['post_auth_login_methods_resolve'];
|
|
107
|
+
delete?: never;
|
|
108
|
+
options?: never;
|
|
109
|
+
head?: never;
|
|
110
|
+
patch?: never;
|
|
111
|
+
trace?: never;
|
|
112
|
+
};
|
|
113
|
+
'/v1/auth/manage-tokens': {
|
|
114
|
+
parameters: {
|
|
115
|
+
query?: never;
|
|
116
|
+
header?: never;
|
|
117
|
+
path?: never;
|
|
118
|
+
cookie?: never;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* List Manage API tokens
|
|
122
|
+
* @description Returns the calling admin's Manage API tokens under `tokens` and their session tokens under `sessionTokens`, newest first. Metadata only — token values are never retrievable after creation.
|
|
123
|
+
*/
|
|
124
|
+
get: operations['get_auth_manage_token_list'];
|
|
125
|
+
put?: never;
|
|
126
|
+
/**
|
|
127
|
+
* Create a Manage API token
|
|
128
|
+
* @description Issues a Manage API token owned by the calling admin. Requires an active sudo window. The token is returned once in the response and never again — only its hash is stored. `expiresIn` is a required lifetime in seconds, honored as sent; the only limit is that the expiry must fall before 9999-12-31 23:59:59. A non-expiring token cannot be requested here. Issuance is rate-limited per admin and answers `429` with `Retry-After` once the window is full.
|
|
129
|
+
*/
|
|
130
|
+
post: operations['post_auth_manage_token_create'];
|
|
131
|
+
delete?: never;
|
|
132
|
+
options?: never;
|
|
133
|
+
head?: never;
|
|
134
|
+
patch?: never;
|
|
135
|
+
trace?: never;
|
|
136
|
+
};
|
|
137
|
+
'/v1/auth/manage-tokens/{id}': {
|
|
138
|
+
parameters: {
|
|
139
|
+
query?: never;
|
|
140
|
+
header?: never;
|
|
141
|
+
path?: never;
|
|
142
|
+
cookie?: never;
|
|
143
|
+
};
|
|
144
|
+
get?: never;
|
|
145
|
+
put?: never;
|
|
146
|
+
post?: never;
|
|
147
|
+
/**
|
|
148
|
+
* Delete a Manage API token
|
|
149
|
+
* @description Deletes a Manage API token (or session token) owned by the calling admin. Sudo is not required — deleting your own credential only reduces access. A token that does not exist or belongs to another user returns 404. Not idempotent: the row is hard-deleted, so a repeated call returns 404.
|
|
150
|
+
*/
|
|
151
|
+
delete: operations['delete_auth_manage_token_delete'];
|
|
152
|
+
options?: never;
|
|
153
|
+
head?: never;
|
|
154
|
+
patch?: never;
|
|
155
|
+
trace?: never;
|
|
156
|
+
};
|
|
89
157
|
'/v1/auth/mfa': {
|
|
90
158
|
parameters: {
|
|
91
159
|
query?: never;
|
|
@@ -319,7 +387,7 @@ type paths = {
|
|
|
319
387
|
};
|
|
320
388
|
/**
|
|
321
389
|
* List active sessions
|
|
322
|
-
* @description Lists all active programmatic sessions for the authenticated admin.
|
|
390
|
+
* @description Lists all active programmatic sessions and OAuth grants for the authenticated admin.
|
|
323
391
|
*/
|
|
324
392
|
get: operations['get_auth_sessions_list'];
|
|
325
393
|
put?: never;
|
|
@@ -514,6 +582,86 @@ type paths = {
|
|
|
514
582
|
patch?: never;
|
|
515
583
|
trace?: never;
|
|
516
584
|
};
|
|
585
|
+
'/v1/auth/webauthn/{id}': {
|
|
586
|
+
parameters: {
|
|
587
|
+
query?: never;
|
|
588
|
+
header?: never;
|
|
589
|
+
path?: never;
|
|
590
|
+
cookie?: never;
|
|
591
|
+
};
|
|
592
|
+
get?: never;
|
|
593
|
+
put?: never;
|
|
594
|
+
post?: never;
|
|
595
|
+
/**
|
|
596
|
+
* Remove a WebAuthn/passkey credential
|
|
597
|
+
* @description Removes a registered WebAuthn credential by its id. Removing the last WebAuthn credential while WebAuthn is the active MFA factor disables MFA entirely.
|
|
598
|
+
*/
|
|
599
|
+
delete: operations['delete_auth_webauthn_delete'];
|
|
600
|
+
options?: never;
|
|
601
|
+
head?: never;
|
|
602
|
+
patch?: never;
|
|
603
|
+
trace?: never;
|
|
604
|
+
};
|
|
605
|
+
'/v1/auth/webauthn': {
|
|
606
|
+
parameters: {
|
|
607
|
+
query?: never;
|
|
608
|
+
header?: never;
|
|
609
|
+
path?: never;
|
|
610
|
+
cookie?: never;
|
|
611
|
+
};
|
|
612
|
+
/**
|
|
613
|
+
* List WebAuthn/passkey credentials
|
|
614
|
+
* @description Lists all registered WebAuthn/passkey credentials for the authenticated admin.
|
|
615
|
+
*/
|
|
616
|
+
get: operations['get_auth_webauthn_list'];
|
|
617
|
+
put?: never;
|
|
618
|
+
post?: never;
|
|
619
|
+
delete?: never;
|
|
620
|
+
options?: never;
|
|
621
|
+
head?: never;
|
|
622
|
+
patch?: never;
|
|
623
|
+
trace?: never;
|
|
624
|
+
};
|
|
625
|
+
'/v1/auth/webauthn/register': {
|
|
626
|
+
parameters: {
|
|
627
|
+
query?: never;
|
|
628
|
+
header?: never;
|
|
629
|
+
path?: never;
|
|
630
|
+
cookie?: never;
|
|
631
|
+
};
|
|
632
|
+
get?: never;
|
|
633
|
+
put?: never;
|
|
634
|
+
/**
|
|
635
|
+
* Confirm a WebAuthn/passkey enrollment
|
|
636
|
+
* @description Confirms a pending WebAuthn enrollment with the authenticator's attestation response. Registers the credential. Recovery codes are returned only when this enabled the first MFA factor.
|
|
637
|
+
*/
|
|
638
|
+
post: operations['post_auth_webauthn_register'];
|
|
639
|
+
delete?: never;
|
|
640
|
+
options?: never;
|
|
641
|
+
head?: never;
|
|
642
|
+
patch?: never;
|
|
643
|
+
trace?: never;
|
|
644
|
+
};
|
|
645
|
+
'/v1/auth/webauthn/register/options': {
|
|
646
|
+
parameters: {
|
|
647
|
+
query?: never;
|
|
648
|
+
header?: never;
|
|
649
|
+
path?: never;
|
|
650
|
+
cookie?: never;
|
|
651
|
+
};
|
|
652
|
+
get?: never;
|
|
653
|
+
put?: never;
|
|
654
|
+
/**
|
|
655
|
+
* Start a WebAuthn/passkey enrollment
|
|
656
|
+
* @description Generates WebAuthn creation options for a new passkey/authenticator enrollment. Submit the resulting attestation to POST /v1/auth/webauthn/register to complete it.
|
|
657
|
+
*/
|
|
658
|
+
post: operations['post_auth_webauthn_register_options'];
|
|
659
|
+
delete?: never;
|
|
660
|
+
options?: never;
|
|
661
|
+
head?: never;
|
|
662
|
+
patch?: never;
|
|
663
|
+
trace?: never;
|
|
664
|
+
};
|
|
517
665
|
'/admin/auth/pkce/authorize': {
|
|
518
666
|
parameters: {
|
|
519
667
|
query?: never;
|
|
@@ -530,6 +678,22 @@ type paths = {
|
|
|
530
678
|
patch?: never;
|
|
531
679
|
trace?: never;
|
|
532
680
|
};
|
|
681
|
+
'/admin/auth/pkce/project-select': {
|
|
682
|
+
parameters: {
|
|
683
|
+
query?: never;
|
|
684
|
+
header?: never;
|
|
685
|
+
path?: never;
|
|
686
|
+
cookie?: never;
|
|
687
|
+
};
|
|
688
|
+
get: operations['get_auth_pkce_project_select'];
|
|
689
|
+
put?: never;
|
|
690
|
+
post: operations['post_auth_pkce_project_select_submit'];
|
|
691
|
+
delete?: never;
|
|
692
|
+
options?: never;
|
|
693
|
+
head?: never;
|
|
694
|
+
patch?: never;
|
|
695
|
+
trace?: never;
|
|
696
|
+
};
|
|
533
697
|
};
|
|
534
698
|
type components = {
|
|
535
699
|
schemas: {
|
|
@@ -563,6 +727,16 @@ type components = {
|
|
|
563
727
|
/** @description High-entropy device code returned by create. */
|
|
564
728
|
deviceCode: string;
|
|
565
729
|
};
|
|
730
|
+
LoginMethodsRequest: {
|
|
731
|
+
/** @description Email address whose domain the login methods are resolved for. */
|
|
732
|
+
email: string;
|
|
733
|
+
};
|
|
734
|
+
ManageTokenCreateRequest: {
|
|
735
|
+
/** @description User-facing label for the token. */
|
|
736
|
+
description: string;
|
|
737
|
+
/** @description Lifetime in seconds, honored as sent. Rejected when the resulting expiry would fall past 9999-12-31 23:59:59, the largest storable expiration. */
|
|
738
|
+
expiresIn: number;
|
|
739
|
+
};
|
|
566
740
|
MfaRequest: {
|
|
567
741
|
/** @description MFA challenge token from login response. */
|
|
568
742
|
mfaToken: string;
|
|
@@ -686,6 +860,22 @@ type components = {
|
|
|
686
860
|
TotpEnrollVerifyRequest: {
|
|
687
861
|
/** @description 6-digit TOTP code generated from the pending secret. */
|
|
688
862
|
code: string;
|
|
863
|
+
/**
|
|
864
|
+
* @description When true, revokes every other session of the admin and the tokens derived from them (the calling session and any long-lived personal access token stay valid). Defaults to false.
|
|
865
|
+
* @default false
|
|
866
|
+
*/
|
|
867
|
+
revokeOtherSessions: boolean;
|
|
868
|
+
};
|
|
869
|
+
WebAuthnRegisterRequest: {
|
|
870
|
+
/** @description WebAuthn attestation response as returned by navigator.credentials.create(), serialized as a JSON string. */
|
|
871
|
+
credential: string;
|
|
872
|
+
/** @description Optional human-readable device name. Defaults to "Device <timestamp>" when omitted. */
|
|
873
|
+
deviceName: string;
|
|
874
|
+
/**
|
|
875
|
+
* @description When true, revokes every other session of the admin and the tokens derived from them (the calling session and any long-lived personal access token stay valid). Defaults to false.
|
|
876
|
+
* @default false
|
|
877
|
+
*/
|
|
878
|
+
revokeOtherSessions: boolean;
|
|
689
879
|
};
|
|
690
880
|
PkceAuthorizeQueryRequest: {
|
|
691
881
|
/**
|
|
@@ -709,6 +899,11 @@ type components = {
|
|
|
709
899
|
codeChallengeMethod?: 'S256' | null;
|
|
710
900
|
/** @description Opaque value used to maintain state between the request and callback. Required for the authorize flow to succeed. */
|
|
711
901
|
state?: string | null;
|
|
902
|
+
/**
|
|
903
|
+
* @description Project data reach requested for the issued session. Omitted or "all" completes without any interstitial and issues an unrestricted session; "selected" shows the project picker, where the admin may narrow the session to specific projects or keep it unrestricted - so "selected" does not guarantee a narrowed session. Only project (Storage) access is narrowed; Manage API access keeps the admin's existing permissions.
|
|
904
|
+
* @enum {string|null}
|
|
905
|
+
*/
|
|
906
|
+
projectScope?: 'all' | 'selected' | null;
|
|
712
907
|
};
|
|
713
908
|
PkceAuthorizeHeaderRequest: {
|
|
714
909
|
/** @description Value of the Origin request header, if present. */
|
|
@@ -781,6 +976,13 @@ type components = {
|
|
|
781
976
|
userCode: string;
|
|
782
977
|
/** @enum {string} */
|
|
783
978
|
decision: 'approve' | 'deny';
|
|
979
|
+
/**
|
|
980
|
+
* @description Send `all` to grant every project the admin is a member of. Omit it together with `projectIds` to keep the previous unrestricted meaning; omit only this field to freeze the grant to the submitted `projectIds`.
|
|
981
|
+
* @enum {string|null}
|
|
982
|
+
*/
|
|
983
|
+
projectScope?: 'all' | null;
|
|
984
|
+
/** @description Ids of the projects the grant covers. Ignored when `projectScope=all`; required otherwise. */
|
|
985
|
+
projectIds?: string[] | null;
|
|
784
986
|
};
|
|
785
987
|
/** @enum {string} */
|
|
786
988
|
DeviceApprovalDecision: 'approve' | 'deny';
|
|
@@ -832,6 +1034,93 @@ type components = {
|
|
|
832
1034
|
sessionId: string;
|
|
833
1035
|
user: components['schemas']['UserLoggedInResponse'];
|
|
834
1036
|
};
|
|
1037
|
+
/** @description One login method the caller may use, discriminated on `type`. */
|
|
1038
|
+
LoginMethod:
|
|
1039
|
+
| {
|
|
1040
|
+
/**
|
|
1041
|
+
* @description Variant discriminator.
|
|
1042
|
+
* @enum {string}
|
|
1043
|
+
*/
|
|
1044
|
+
type: 'password';
|
|
1045
|
+
/** @description Whether /v1/auth/password/reset-request is offered. */
|
|
1046
|
+
passwordResetEnabled: boolean;
|
|
1047
|
+
}
|
|
1048
|
+
| {
|
|
1049
|
+
/**
|
|
1050
|
+
* @description Variant discriminator.
|
|
1051
|
+
* @enum {string}
|
|
1052
|
+
*/
|
|
1053
|
+
type: 'oidc';
|
|
1054
|
+
/**
|
|
1055
|
+
* @description The grantType to use at /v1/auth/login. A stack with both providers configured returns one entry per provider.
|
|
1056
|
+
* @enum {string}
|
|
1057
|
+
*/
|
|
1058
|
+
provider: 'google' | 'microsoft';
|
|
1059
|
+
/** @description Public OAuth client ID to run the provider flow with. */
|
|
1060
|
+
clientId: string;
|
|
1061
|
+
}
|
|
1062
|
+
| {
|
|
1063
|
+
/**
|
|
1064
|
+
* @description Variant discriminator.
|
|
1065
|
+
* @enum {string}
|
|
1066
|
+
*/
|
|
1067
|
+
type: 'saml';
|
|
1068
|
+
/** @description Slug for /v1/auth/saml/initiate; null means the stack-wide configuration. */
|
|
1069
|
+
customerSlug: string | null;
|
|
1070
|
+
/** @description Label to render on the SSO button. */
|
|
1071
|
+
displayName: string;
|
|
1072
|
+
};
|
|
1073
|
+
LoginMethodsResponse: {
|
|
1074
|
+
/** @description Exhaustive list of login methods the caller may use. */
|
|
1075
|
+
methods: components['schemas']['LoginMethod'][];
|
|
1076
|
+
/**
|
|
1077
|
+
* @description Why the list is narrowed; null when nothing narrows it.
|
|
1078
|
+
* @enum {string|null}
|
|
1079
|
+
*/
|
|
1080
|
+
restriction: 'ssoEnforced' | 'stackSsoOnly' | null;
|
|
1081
|
+
/** @description Whether POST /v1/auth/methods can narrow the list for an email address. */
|
|
1082
|
+
emailDiscoveryEnabled: boolean;
|
|
1083
|
+
/** @description Where to send a visitor who wants to create an account; null when sign-up is unavailable. */
|
|
1084
|
+
signUpUrl: string | null;
|
|
1085
|
+
};
|
|
1086
|
+
ManageTokenItemResponse: {
|
|
1087
|
+
id: number;
|
|
1088
|
+
/** @description User-facing label. */
|
|
1089
|
+
description: string;
|
|
1090
|
+
/** @description Token type, e.g. `admin` or `session`. */
|
|
1091
|
+
type: string;
|
|
1092
|
+
/** @description Manage API scopes granted to the token. Empty for tokens that only inherit the user's permissions. */
|
|
1093
|
+
scopes: string[];
|
|
1094
|
+
isSessionToken: boolean;
|
|
1095
|
+
isExpired: boolean;
|
|
1096
|
+
isDisabled: boolean;
|
|
1097
|
+
/**
|
|
1098
|
+
* Format: date-time
|
|
1099
|
+
* @description `null` for legacy rows whose creation time was never recorded.
|
|
1100
|
+
*/
|
|
1101
|
+
createdAt?: string | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* Format: date-time
|
|
1104
|
+
* @description `null` means the token never expires.
|
|
1105
|
+
*/
|
|
1106
|
+
expiresAt?: string | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* Format: date-time
|
|
1109
|
+
* @description `null` means the token was never used.
|
|
1110
|
+
*/
|
|
1111
|
+
lastUsedAt?: string | null;
|
|
1112
|
+
};
|
|
1113
|
+
ManageTokenListResponse: {
|
|
1114
|
+
/** @description User-created Manage API tokens, newest first. */
|
|
1115
|
+
tokens: components['schemas']['ManageTokenItemResponse'][];
|
|
1116
|
+
/** @description Session tokens issued for the caller, newest first. */
|
|
1117
|
+
sessionTokens: components['schemas']['ManageTokenItemResponse'][];
|
|
1118
|
+
};
|
|
1119
|
+
ManageTokenCreateResponse: {
|
|
1120
|
+
/** @description Once-shown Manage API token. */
|
|
1121
|
+
token: string;
|
|
1122
|
+
manageToken: components['schemas']['ManageTokenItemResponse'];
|
|
1123
|
+
};
|
|
835
1124
|
MfaRequest2: {
|
|
836
1125
|
/** @description MFA challenge token from login response. */
|
|
837
1126
|
mfaToken: string;
|
|
@@ -961,11 +1250,29 @@ type components = {
|
|
|
961
1250
|
/** @description Seconds until the request handle expires. */
|
|
962
1251
|
expiresIn: number;
|
|
963
1252
|
};
|
|
1253
|
+
SessionClientResponse: {
|
|
1254
|
+
/** @description OAuth client identifier. */
|
|
1255
|
+
id: string;
|
|
1256
|
+
/** @description Client display name, null when the client no longer exists. */
|
|
1257
|
+
name?: string | null;
|
|
1258
|
+
};
|
|
1259
|
+
SessionProjectResponse: {
|
|
1260
|
+
/** @description Project identifier. */
|
|
1261
|
+
id: string;
|
|
1262
|
+
/** @description Project name, null when the project no longer exists. */
|
|
1263
|
+
name?: string | null;
|
|
1264
|
+
};
|
|
964
1265
|
SessionItemResponse: {
|
|
965
1266
|
/** @description Session identifier. */
|
|
966
1267
|
id: string;
|
|
967
1268
|
/** @description Grant type used to create the session. */
|
|
968
1269
|
grantType: string;
|
|
1270
|
+
/** @description OAuth client the session was granted to, null for grant types with no client. */
|
|
1271
|
+
client?: components['schemas']['SessionClientResponse'] | null;
|
|
1272
|
+
/** @description True when the session is not restricted to a project subset; `projects` is then empty. */
|
|
1273
|
+
allProjects: boolean;
|
|
1274
|
+
/** @description Projects the session was granted, as frozen at issuance. Empty when `allProjects` is true. */
|
|
1275
|
+
projects: components['schemas']['SessionProjectResponse'][];
|
|
969
1276
|
/**
|
|
970
1277
|
* Format: date-time
|
|
971
1278
|
* @description Session creation timestamp.
|
|
@@ -993,6 +1300,29 @@ type components = {
|
|
|
993
1300
|
/** @description Whether this is the currently authenticated session. */
|
|
994
1301
|
isCurrent: boolean;
|
|
995
1302
|
};
|
|
1303
|
+
OAuthSessionItemResponse: {
|
|
1304
|
+
client: components['schemas']['SessionClientResponse'];
|
|
1305
|
+
/** @description Project the grant is bound to, null for a project-less grant. */
|
|
1306
|
+
project?: components['schemas']['SessionProjectResponse'] | null;
|
|
1307
|
+
/** @description Storage token the grant is bound to, null for a project-less grant. */
|
|
1308
|
+
tokenId?: number | null;
|
|
1309
|
+
/** @description True when the grant reaches every project the admin is a member of, now and in the future; `projects` is then empty. */
|
|
1310
|
+
allProjects: boolean;
|
|
1311
|
+
/** @description Projects the grant reaches, as consented — not intersected with the admin's current project membership, so a project the admin has since lost access to is still listed. Empty when `allProjects` is true. */
|
|
1312
|
+
projects: components['schemas']['SessionProjectResponse'][];
|
|
1313
|
+
/** @description OAuth scopes the grant was issued with. */
|
|
1314
|
+
scopes: string[];
|
|
1315
|
+
/**
|
|
1316
|
+
* Format: date-time
|
|
1317
|
+
* @description When the admin first authorized this client, null for a grant predating consent records.
|
|
1318
|
+
*/
|
|
1319
|
+
authorizedAt?: string | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* Format: date-time
|
|
1322
|
+
* @description Access token expiration timestamp.
|
|
1323
|
+
*/
|
|
1324
|
+
expiresAt: string;
|
|
1325
|
+
};
|
|
996
1326
|
SudoRequest2: {
|
|
997
1327
|
/**
|
|
998
1328
|
* @description TOTP verification code.
|
|
@@ -1107,6 +1437,50 @@ type components = {
|
|
|
1107
1437
|
/** @description Plaintext recovery codes, present only when this enrollment enabled the first MFA factor. */
|
|
1108
1438
|
recoveryCodes?: string[] | null;
|
|
1109
1439
|
};
|
|
1440
|
+
WebAuthnCredentialItemResponse: {
|
|
1441
|
+
/** @description Credential identifier. */
|
|
1442
|
+
id: number;
|
|
1443
|
+
/** @description Human-readable device name. */
|
|
1444
|
+
deviceName: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* Format: date-time
|
|
1447
|
+
* @description Registration timestamp.
|
|
1448
|
+
*/
|
|
1449
|
+
created: string;
|
|
1450
|
+
};
|
|
1451
|
+
WebAuthnRegisterRequest2: {
|
|
1452
|
+
/** @description WebAuthn attestation response as returned by navigator.credentials.create(), serialized as a JSON string. */
|
|
1453
|
+
credential: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* @description Optional human-readable device name. Defaults to "Device <timestamp>" when omitted.
|
|
1456
|
+
* @default null
|
|
1457
|
+
*/
|
|
1458
|
+
deviceName: string | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* @description When true, revokes every other session of the admin and the tokens derived from them (the calling session and any long-lived personal access token stay valid). Defaults to false.
|
|
1461
|
+
* @default false
|
|
1462
|
+
*/
|
|
1463
|
+
revokeOtherSessions: boolean;
|
|
1464
|
+
};
|
|
1465
|
+
WebAuthnRegisterResponse: {
|
|
1466
|
+
/** @description Identifier of the newly registered credential. */
|
|
1467
|
+
id: number;
|
|
1468
|
+
/** @description Human-readable device name. */
|
|
1469
|
+
deviceName: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* Format: date-time
|
|
1472
|
+
* @description Registration timestamp.
|
|
1473
|
+
*/
|
|
1474
|
+
created: string;
|
|
1475
|
+
/** @description Freshly generated MFA recovery codes, present only when this was the first MFA factor enabled for the account. */
|
|
1476
|
+
recoveryCodes?: string[] | null;
|
|
1477
|
+
};
|
|
1478
|
+
WebAuthnRegisterOptionsResponse: {
|
|
1479
|
+
/** @description Serialized WebAuthn PublicKeyCredentialCreationOptions, consumable by navigator.credentials.create({publicKey: options}). */
|
|
1480
|
+
options: Record<string, never>;
|
|
1481
|
+
/** @description Enrollment challenge lifetime in seconds. */
|
|
1482
|
+
expiresIn: number;
|
|
1483
|
+
};
|
|
1110
1484
|
};
|
|
1111
1485
|
responses: never;
|
|
1112
1486
|
parameters: never;
|
|
@@ -1169,7 +1543,7 @@ type operations = {
|
|
|
1169
1543
|
path?: never;
|
|
1170
1544
|
cookie?: never;
|
|
1171
1545
|
};
|
|
1172
|
-
/** @description Bearer mode (session bearer in the `Authorization` header): JSON body with `userCode` and `decision`. Browser/cookie mode: form-encoded body with `decision
|
|
1546
|
+
/** @description Bearer mode (session bearer in the `Authorization` header): JSON body with `userCode` and `decision`, optionally `projectScope`/`projectIds`. Browser/cookie mode: form-encoded body with `decision`, the CSRF `_token` and the project picker fields — the device user code is read from the browser session, not the body. */
|
|
1173
1547
|
requestBody: {
|
|
1174
1548
|
content: {
|
|
1175
1549
|
'application/x-www-form-urlencoded': {
|
|
@@ -1177,6 +1551,13 @@ type operations = {
|
|
|
1177
1551
|
decision: 'approve' | 'deny';
|
|
1178
1552
|
/** @description CSRF token bound to the browser session. */
|
|
1179
1553
|
_token: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* @description Send `all` to grant every project the admin is a member of. Omit it to freeze the grant to the submitted `project_ids[]`.
|
|
1556
|
+
* @enum {string}
|
|
1557
|
+
*/
|
|
1558
|
+
project_scope?: 'all';
|
|
1559
|
+
/** @description Ids of the projects the grant covers. Ignored when `project_scope=all`; required otherwise. */
|
|
1560
|
+
project_ids?: string[];
|
|
1180
1561
|
};
|
|
1181
1562
|
'application/json': components['schemas']['DeviceAuthorizationApprovalRequest'];
|
|
1182
1563
|
};
|
|
@@ -1191,7 +1572,14 @@ type operations = {
|
|
|
1191
1572
|
'application/json': components['schemas']['DeviceAuthorizationApprovalResult'];
|
|
1192
1573
|
};
|
|
1193
1574
|
};
|
|
1194
|
-
/** @description
|
|
1575
|
+
/** @description Browser/cookie mode only: the submitted project selection was empty or named a project the admin cannot reach, so the browser is sent back to the approval page with an error code. Bearer mode answers 400/403 instead. */
|
|
1576
|
+
302: {
|
|
1577
|
+
headers: {
|
|
1578
|
+
[name: string]: unknown;
|
|
1579
|
+
};
|
|
1580
|
+
content?: never;
|
|
1581
|
+
};
|
|
1582
|
+
/** @description Request body, decision, project selection, browser session code, or device authorization state is invalid. */
|
|
1195
1583
|
400: {
|
|
1196
1584
|
headers: {
|
|
1197
1585
|
[name: string]: unknown;
|
|
@@ -1205,7 +1593,7 @@ type operations = {
|
|
|
1205
1593
|
};
|
|
1206
1594
|
content?: never;
|
|
1207
1595
|
};
|
|
1208
|
-
/** @description PAT bearer, CSRF token,
|
|
1596
|
+
/** @description PAT bearer, CSRF token, approval authentication context, or a selected project the admin cannot reach. */
|
|
1209
1597
|
403: {
|
|
1210
1598
|
headers: {
|
|
1211
1599
|
[name: string]: unknown;
|
|
@@ -1317,37 +1705,26 @@ type operations = {
|
|
|
1317
1705
|
};
|
|
1318
1706
|
};
|
|
1319
1707
|
};
|
|
1320
|
-
|
|
1708
|
+
get_auth_login_methods: {
|
|
1321
1709
|
parameters: {
|
|
1322
1710
|
query?: never;
|
|
1323
1711
|
header?: never;
|
|
1324
1712
|
path?: never;
|
|
1325
1713
|
cookie?: never;
|
|
1326
1714
|
};
|
|
1327
|
-
requestBody
|
|
1328
|
-
content: {
|
|
1329
|
-
'application/json': components['schemas']['MfaRequest2'];
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1715
|
+
requestBody?: never;
|
|
1332
1716
|
responses: {
|
|
1333
|
-
/** @description
|
|
1717
|
+
/** @description Login methods available on this stack. */
|
|
1334
1718
|
200: {
|
|
1335
1719
|
headers: {
|
|
1336
1720
|
[name: string]: unknown;
|
|
1337
1721
|
};
|
|
1338
1722
|
content: {
|
|
1339
|
-
'application/json': components['schemas']['
|
|
1723
|
+
'application/json': components['schemas']['LoginMethodsResponse'];
|
|
1340
1724
|
};
|
|
1341
1725
|
};
|
|
1342
|
-
/** @description
|
|
1343
|
-
|
|
1344
|
-
headers: {
|
|
1345
|
-
[name: string]: unknown;
|
|
1346
|
-
};
|
|
1347
|
-
content?: never;
|
|
1348
|
-
};
|
|
1349
|
-
/** @description Rate limit exceeded for MFA verification attempts. */
|
|
1350
|
-
429: {
|
|
1726
|
+
/** @description An email was passed as a query parameter. */
|
|
1727
|
+
400: {
|
|
1351
1728
|
headers: {
|
|
1352
1729
|
[name: string]: unknown;
|
|
1353
1730
|
};
|
|
@@ -1355,7 +1732,7 @@ type operations = {
|
|
|
1355
1732
|
};
|
|
1356
1733
|
};
|
|
1357
1734
|
};
|
|
1358
|
-
|
|
1735
|
+
post_auth_login_methods_resolve: {
|
|
1359
1736
|
parameters: {
|
|
1360
1737
|
query?: never;
|
|
1361
1738
|
header?: never;
|
|
@@ -1364,24 +1741,46 @@ type operations = {
|
|
|
1364
1741
|
};
|
|
1365
1742
|
requestBody: {
|
|
1366
1743
|
content: {
|
|
1367
|
-
'application/json': components['schemas']['
|
|
1744
|
+
'application/json': components['schemas']['LoginMethodsRequest'];
|
|
1368
1745
|
};
|
|
1369
1746
|
};
|
|
1370
1747
|
responses: {
|
|
1371
|
-
/** @description
|
|
1372
|
-
|
|
1748
|
+
/** @description Login methods the address may use. */
|
|
1749
|
+
200: {
|
|
1373
1750
|
headers: {
|
|
1374
1751
|
[name: string]: unknown;
|
|
1375
1752
|
};
|
|
1376
|
-
content
|
|
1753
|
+
content: {
|
|
1754
|
+
'application/json': components['schemas']['LoginMethodsResponse'];
|
|
1755
|
+
};
|
|
1377
1756
|
};
|
|
1378
|
-
/** @description
|
|
1379
|
-
|
|
1757
|
+
/** @description Per-IP request budget for discovery exhausted. */
|
|
1758
|
+
429: {
|
|
1380
1759
|
headers: {
|
|
1381
1760
|
[name: string]: unknown;
|
|
1382
1761
|
};
|
|
1383
1762
|
content?: never;
|
|
1384
1763
|
};
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
get_auth_manage_token_list: {
|
|
1767
|
+
parameters: {
|
|
1768
|
+
query?: never;
|
|
1769
|
+
header?: never;
|
|
1770
|
+
path?: never;
|
|
1771
|
+
cookie?: never;
|
|
1772
|
+
};
|
|
1773
|
+
requestBody?: never;
|
|
1774
|
+
responses: {
|
|
1775
|
+
/** @description The caller's Manage API tokens and session tokens. */
|
|
1776
|
+
200: {
|
|
1777
|
+
headers: {
|
|
1778
|
+
[name: string]: unknown;
|
|
1779
|
+
};
|
|
1780
|
+
content: {
|
|
1781
|
+
'application/json': components['schemas']['ManageTokenListResponse'];
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1385
1784
|
/** @description Invalid or missing bearer token. */
|
|
1386
1785
|
401: {
|
|
1387
1786
|
headers: {
|
|
@@ -1389,8 +1788,183 @@ type operations = {
|
|
|
1389
1788
|
};
|
|
1390
1789
|
content?: never;
|
|
1391
1790
|
};
|
|
1392
|
-
/** @description
|
|
1393
|
-
|
|
1791
|
+
/** @description Programmatic auth feature disabled on this stack. */
|
|
1792
|
+
404: {
|
|
1793
|
+
headers: {
|
|
1794
|
+
[name: string]: unknown;
|
|
1795
|
+
};
|
|
1796
|
+
content?: never;
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
};
|
|
1800
|
+
post_auth_manage_token_create: {
|
|
1801
|
+
parameters: {
|
|
1802
|
+
query?: never;
|
|
1803
|
+
header?: never;
|
|
1804
|
+
path?: never;
|
|
1805
|
+
cookie?: never;
|
|
1806
|
+
};
|
|
1807
|
+
requestBody: {
|
|
1808
|
+
content: {
|
|
1809
|
+
'application/json': components['schemas']['ManageTokenCreateRequest'];
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1812
|
+
responses: {
|
|
1813
|
+
/** @description Token created. The credential is shown in `token` and is not retrievable later. */
|
|
1814
|
+
201: {
|
|
1815
|
+
headers: {
|
|
1816
|
+
[name: string]: unknown;
|
|
1817
|
+
};
|
|
1818
|
+
content: {
|
|
1819
|
+
'application/json': components['schemas']['ManageTokenCreateResponse'];
|
|
1820
|
+
};
|
|
1821
|
+
};
|
|
1822
|
+
/** @description Invalid request payload, or `expiresIn` does not resolve to a storable future expiry. */
|
|
1823
|
+
400: {
|
|
1824
|
+
headers: {
|
|
1825
|
+
[name: string]: unknown;
|
|
1826
|
+
};
|
|
1827
|
+
content?: never;
|
|
1828
|
+
};
|
|
1829
|
+
/** @description Invalid or missing bearer token. */
|
|
1830
|
+
401: {
|
|
1831
|
+
headers: {
|
|
1832
|
+
[name: string]: unknown;
|
|
1833
|
+
};
|
|
1834
|
+
content?: never;
|
|
1835
|
+
};
|
|
1836
|
+
/** @description Sudo window not active. */
|
|
1837
|
+
403: {
|
|
1838
|
+
headers: {
|
|
1839
|
+
[name: string]: unknown;
|
|
1840
|
+
};
|
|
1841
|
+
content?: never;
|
|
1842
|
+
};
|
|
1843
|
+
/** @description Programmatic auth feature disabled on this stack. */
|
|
1844
|
+
404: {
|
|
1845
|
+
headers: {
|
|
1846
|
+
[name: string]: unknown;
|
|
1847
|
+
};
|
|
1848
|
+
content?: never;
|
|
1849
|
+
};
|
|
1850
|
+
/** @description Manage API token issuance rate limit exceeded. */
|
|
1851
|
+
429: {
|
|
1852
|
+
headers: {
|
|
1853
|
+
[name: string]: unknown;
|
|
1854
|
+
};
|
|
1855
|
+
content?: never;
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
delete_auth_manage_token_delete: {
|
|
1860
|
+
parameters: {
|
|
1861
|
+
query?: never;
|
|
1862
|
+
header?: never;
|
|
1863
|
+
path: {
|
|
1864
|
+
/** @description Manage API token identifier. */
|
|
1865
|
+
id: number;
|
|
1866
|
+
};
|
|
1867
|
+
cookie?: never;
|
|
1868
|
+
};
|
|
1869
|
+
requestBody?: never;
|
|
1870
|
+
responses: {
|
|
1871
|
+
/** @description Token deleted. */
|
|
1872
|
+
204: {
|
|
1873
|
+
headers: {
|
|
1874
|
+
[name: string]: unknown;
|
|
1875
|
+
};
|
|
1876
|
+
content?: never;
|
|
1877
|
+
};
|
|
1878
|
+
/** @description Invalid or missing bearer token. */
|
|
1879
|
+
401: {
|
|
1880
|
+
headers: {
|
|
1881
|
+
[name: string]: unknown;
|
|
1882
|
+
};
|
|
1883
|
+
content?: never;
|
|
1884
|
+
};
|
|
1885
|
+
/** @description Token not found, owned by another user, or programmatic auth disabled on this stack. */
|
|
1886
|
+
404: {
|
|
1887
|
+
headers: {
|
|
1888
|
+
[name: string]: unknown;
|
|
1889
|
+
};
|
|
1890
|
+
content?: never;
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
'post_/v1/auth/mfa': {
|
|
1895
|
+
parameters: {
|
|
1896
|
+
query?: never;
|
|
1897
|
+
header?: never;
|
|
1898
|
+
path?: never;
|
|
1899
|
+
cookie?: never;
|
|
1900
|
+
};
|
|
1901
|
+
requestBody: {
|
|
1902
|
+
content: {
|
|
1903
|
+
'application/json': components['schemas']['MfaRequest2'];
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
responses: {
|
|
1907
|
+
/** @description MFA verification successful. Returns access and refresh tokens. */
|
|
1908
|
+
200: {
|
|
1909
|
+
headers: {
|
|
1910
|
+
[name: string]: unknown;
|
|
1911
|
+
};
|
|
1912
|
+
content: {
|
|
1913
|
+
'application/json': components['schemas']['LoginResponse'];
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
/** @description MFA verification failed: invalid or expired MFA token, invalid TOTP / recovery code, exhausted challenge, or the challenge was already consumed by a concurrent request. */
|
|
1917
|
+
401: {
|
|
1918
|
+
headers: {
|
|
1919
|
+
[name: string]: unknown;
|
|
1920
|
+
};
|
|
1921
|
+
content?: never;
|
|
1922
|
+
};
|
|
1923
|
+
/** @description Rate limit exceeded for MFA verification attempts. */
|
|
1924
|
+
429: {
|
|
1925
|
+
headers: {
|
|
1926
|
+
[name: string]: unknown;
|
|
1927
|
+
};
|
|
1928
|
+
content?: never;
|
|
1929
|
+
};
|
|
1930
|
+
};
|
|
1931
|
+
};
|
|
1932
|
+
post_auth_password_change: {
|
|
1933
|
+
parameters: {
|
|
1934
|
+
query?: never;
|
|
1935
|
+
header?: never;
|
|
1936
|
+
path?: never;
|
|
1937
|
+
cookie?: never;
|
|
1938
|
+
};
|
|
1939
|
+
requestBody: {
|
|
1940
|
+
content: {
|
|
1941
|
+
'application/json': components['schemas']['PasswordChangeRequest'];
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
responses: {
|
|
1945
|
+
/** @description Password changed. Other sessions were revoked only when revokeOtherSessions was true. */
|
|
1946
|
+
204: {
|
|
1947
|
+
headers: {
|
|
1948
|
+
[name: string]: unknown;
|
|
1949
|
+
};
|
|
1950
|
+
content?: never;
|
|
1951
|
+
};
|
|
1952
|
+
/** @description Current password incorrect (auth.password.invalidCurrentPassword), or invalid request payload including a new password that violates the password policy (validation.failed). */
|
|
1953
|
+
400: {
|
|
1954
|
+
headers: {
|
|
1955
|
+
[name: string]: unknown;
|
|
1956
|
+
};
|
|
1957
|
+
content?: never;
|
|
1958
|
+
};
|
|
1959
|
+
/** @description Invalid or missing bearer token. */
|
|
1960
|
+
401: {
|
|
1961
|
+
headers: {
|
|
1962
|
+
[name: string]: unknown;
|
|
1963
|
+
};
|
|
1964
|
+
content?: never;
|
|
1965
|
+
};
|
|
1966
|
+
/** @description Password is managed by the SSO identity provider. */
|
|
1967
|
+
403: {
|
|
1394
1968
|
headers: {
|
|
1395
1969
|
[name: string]: unknown;
|
|
1396
1970
|
};
|
|
@@ -1871,6 +2445,8 @@ type operations = {
|
|
|
1871
2445
|
'application/json': {
|
|
1872
2446
|
/** @description List of active sessions. */
|
|
1873
2447
|
sessions?: components['schemas']['SessionItemResponse'][];
|
|
2448
|
+
/** @description List of active OAuth grants. */
|
|
2449
|
+
oauthSessions?: components['schemas']['OAuthSessionItemResponse'][];
|
|
1874
2450
|
};
|
|
1875
2451
|
};
|
|
1876
2452
|
};
|
|
@@ -2143,7 +2719,10 @@ type operations = {
|
|
|
2143
2719
|
};
|
|
2144
2720
|
delete_auth_mfa_totp_delete: {
|
|
2145
2721
|
parameters: {
|
|
2146
|
-
query?:
|
|
2722
|
+
query?: {
|
|
2723
|
+
/** @description When true, revokes every other session of the admin and the tokens derived from them (the calling session and any long-lived personal access token stay valid). Defaults to false. */
|
|
2724
|
+
revokeOtherSessions?: boolean;
|
|
2725
|
+
};
|
|
2147
2726
|
header?: never;
|
|
2148
2727
|
path: {
|
|
2149
2728
|
/** @description Identifier of the TOTP credential to remove. */
|
|
@@ -2289,6 +2868,201 @@ type operations = {
|
|
|
2289
2868
|
};
|
|
2290
2869
|
};
|
|
2291
2870
|
};
|
|
2871
|
+
delete_auth_webauthn_delete: {
|
|
2872
|
+
parameters: {
|
|
2873
|
+
query?: {
|
|
2874
|
+
/** @description When true, revokes every other session of the admin and the tokens derived from them (the calling session and any long-lived personal access token stay valid). Defaults to false. */
|
|
2875
|
+
revokeOtherSessions?: boolean;
|
|
2876
|
+
};
|
|
2877
|
+
header?: never;
|
|
2878
|
+
path: {
|
|
2879
|
+
/** @description Identifier of the credential to remove. */
|
|
2880
|
+
id: number;
|
|
2881
|
+
};
|
|
2882
|
+
cookie?: never;
|
|
2883
|
+
};
|
|
2884
|
+
requestBody?: never;
|
|
2885
|
+
responses: {
|
|
2886
|
+
/** @description Credential removed successfully. */
|
|
2887
|
+
204: {
|
|
2888
|
+
headers: {
|
|
2889
|
+
[name: string]: unknown;
|
|
2890
|
+
};
|
|
2891
|
+
content?: never;
|
|
2892
|
+
};
|
|
2893
|
+
/** @description Invalid or missing bearer token. */
|
|
2894
|
+
401: {
|
|
2895
|
+
headers: {
|
|
2896
|
+
[name: string]: unknown;
|
|
2897
|
+
};
|
|
2898
|
+
content?: never;
|
|
2899
|
+
};
|
|
2900
|
+
/** @description Sudo window not active. Call POST /v1/auth/sudo first. */
|
|
2901
|
+
403: {
|
|
2902
|
+
headers: {
|
|
2903
|
+
/** @description RFC 9470 step-up challenge. */
|
|
2904
|
+
'WWW-Authenticate'?: string;
|
|
2905
|
+
[name: string]: unknown;
|
|
2906
|
+
};
|
|
2907
|
+
content?: never;
|
|
2908
|
+
};
|
|
2909
|
+
/** @description Credential not found, not owned by the caller, or the feature is disabled on this stack. */
|
|
2910
|
+
404: {
|
|
2911
|
+
headers: {
|
|
2912
|
+
[name: string]: unknown;
|
|
2913
|
+
};
|
|
2914
|
+
content?: never;
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
};
|
|
2918
|
+
get_auth_webauthn_list: {
|
|
2919
|
+
parameters: {
|
|
2920
|
+
query?: never;
|
|
2921
|
+
header?: never;
|
|
2922
|
+
path?: never;
|
|
2923
|
+
cookie?: never;
|
|
2924
|
+
};
|
|
2925
|
+
requestBody?: never;
|
|
2926
|
+
responses: {
|
|
2927
|
+
/** @description List of registered WebAuthn credentials. */
|
|
2928
|
+
200: {
|
|
2929
|
+
headers: {
|
|
2930
|
+
[name: string]: unknown;
|
|
2931
|
+
};
|
|
2932
|
+
content: {
|
|
2933
|
+
'application/json': {
|
|
2934
|
+
/** @description List of registered WebAuthn credentials. */
|
|
2935
|
+
webauthnCredentials?: components['schemas']['WebAuthnCredentialItemResponse'][];
|
|
2936
|
+
};
|
|
2937
|
+
};
|
|
2938
|
+
};
|
|
2939
|
+
/** @description Invalid or missing bearer token. */
|
|
2940
|
+
401: {
|
|
2941
|
+
headers: {
|
|
2942
|
+
[name: string]: unknown;
|
|
2943
|
+
};
|
|
2944
|
+
content?: never;
|
|
2945
|
+
};
|
|
2946
|
+
/** @description Programmatic auth feature disabled on this stack. */
|
|
2947
|
+
404: {
|
|
2948
|
+
headers: {
|
|
2949
|
+
[name: string]: unknown;
|
|
2950
|
+
};
|
|
2951
|
+
content?: never;
|
|
2952
|
+
};
|
|
2953
|
+
};
|
|
2954
|
+
};
|
|
2955
|
+
post_auth_webauthn_register: {
|
|
2956
|
+
parameters: {
|
|
2957
|
+
query?: never;
|
|
2958
|
+
header?: never;
|
|
2959
|
+
path?: never;
|
|
2960
|
+
cookie?: never;
|
|
2961
|
+
};
|
|
2962
|
+
requestBody: {
|
|
2963
|
+
content: {
|
|
2964
|
+
'application/json': components['schemas']['WebAuthnRegisterRequest2'];
|
|
2965
|
+
};
|
|
2966
|
+
};
|
|
2967
|
+
responses: {
|
|
2968
|
+
/** @description WebAuthn credential registered. */
|
|
2969
|
+
201: {
|
|
2970
|
+
headers: {
|
|
2971
|
+
[name: string]: unknown;
|
|
2972
|
+
};
|
|
2973
|
+
content: {
|
|
2974
|
+
'application/json': components['schemas']['WebAuthnRegisterResponse'];
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2977
|
+
/** @description The attestation response is malformed or failed ceremony validation (auth.mfa.invalidWebAuthnAttestation). */
|
|
2978
|
+
400: {
|
|
2979
|
+
headers: {
|
|
2980
|
+
[name: string]: unknown;
|
|
2981
|
+
};
|
|
2982
|
+
content?: never;
|
|
2983
|
+
};
|
|
2984
|
+
/** @description Invalid or missing bearer token. */
|
|
2985
|
+
401: {
|
|
2986
|
+
headers: {
|
|
2987
|
+
[name: string]: unknown;
|
|
2988
|
+
};
|
|
2989
|
+
content?: never;
|
|
2990
|
+
};
|
|
2991
|
+
/** @description Sudo window not active. Call POST /v1/auth/sudo first. */
|
|
2992
|
+
403: {
|
|
2993
|
+
headers: {
|
|
2994
|
+
/** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
|
|
2995
|
+
'WWW-Authenticate'?: string;
|
|
2996
|
+
[name: string]: unknown;
|
|
2997
|
+
};
|
|
2998
|
+
content?: never;
|
|
2999
|
+
};
|
|
3000
|
+
/** @description No eligible pending enrollment — either the feature is disabled on this stack, or no enrollment was started, it expired, exceeded the maximum attempts, or was already used. */
|
|
3001
|
+
404: {
|
|
3002
|
+
headers: {
|
|
3003
|
+
[name: string]: unknown;
|
|
3004
|
+
};
|
|
3005
|
+
content?: never;
|
|
3006
|
+
};
|
|
3007
|
+
/** @description This authenticator credential is already registered (auth.mfa.webAuthnCredentialAlreadyRegistered), or a different MFA factor type (TOTP) became active for this account after this enrollment was started (auth.mfa.typeConflict). */
|
|
3008
|
+
409: {
|
|
3009
|
+
headers: {
|
|
3010
|
+
[name: string]: unknown;
|
|
3011
|
+
};
|
|
3012
|
+
content?: never;
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
post_auth_webauthn_register_options: {
|
|
3017
|
+
parameters: {
|
|
3018
|
+
query?: never;
|
|
3019
|
+
header?: never;
|
|
3020
|
+
path?: never;
|
|
3021
|
+
cookie?: never;
|
|
3022
|
+
};
|
|
3023
|
+
requestBody?: never;
|
|
3024
|
+
responses: {
|
|
3025
|
+
/** @description Enrollment started. Returns the WebAuthn creation options. */
|
|
3026
|
+
200: {
|
|
3027
|
+
headers: {
|
|
3028
|
+
[name: string]: unknown;
|
|
3029
|
+
};
|
|
3030
|
+
content: {
|
|
3031
|
+
'application/json': components['schemas']['WebAuthnRegisterOptionsResponse'];
|
|
3032
|
+
};
|
|
3033
|
+
};
|
|
3034
|
+
/** @description Invalid or missing bearer token. */
|
|
3035
|
+
401: {
|
|
3036
|
+
headers: {
|
|
3037
|
+
[name: string]: unknown;
|
|
3038
|
+
};
|
|
3039
|
+
content?: never;
|
|
3040
|
+
};
|
|
3041
|
+
/** @description Sudo window not active. Call POST /v1/auth/sudo first. */
|
|
3042
|
+
403: {
|
|
3043
|
+
headers: {
|
|
3044
|
+
/** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
|
|
3045
|
+
'WWW-Authenticate'?: string;
|
|
3046
|
+
[name: string]: unknown;
|
|
3047
|
+
};
|
|
3048
|
+
content?: never;
|
|
3049
|
+
};
|
|
3050
|
+
/** @description Programmatic auth feature disabled on this stack. */
|
|
3051
|
+
404: {
|
|
3052
|
+
headers: {
|
|
3053
|
+
[name: string]: unknown;
|
|
3054
|
+
};
|
|
3055
|
+
content?: never;
|
|
3056
|
+
};
|
|
3057
|
+
/** @description A different MFA factor type (TOTP) is already active for this account. */
|
|
3058
|
+
409: {
|
|
3059
|
+
headers: {
|
|
3060
|
+
[name: string]: unknown;
|
|
3061
|
+
};
|
|
3062
|
+
content?: never;
|
|
3063
|
+
};
|
|
3064
|
+
};
|
|
3065
|
+
};
|
|
2292
3066
|
get_auth_pkce_authorize: {
|
|
2293
3067
|
parameters: {
|
|
2294
3068
|
query?: {
|
|
@@ -2304,6 +3078,8 @@ type operations = {
|
|
|
2304
3078
|
codeChallengeMethod?: 'S256' | null;
|
|
2305
3079
|
/** @description Opaque value used to maintain state between the request and callback. Required for the authorize flow to succeed. */
|
|
2306
3080
|
state?: string | null;
|
|
3081
|
+
/** @description Project data reach requested for the issued session. Omitted or "all" completes without any interstitial and issues an unrestricted session; "selected" shows the project picker, where the admin may narrow the session to specific projects or keep it unrestricted - so "selected" does not guarantee a narrowed session. Only project (Storage) access is narrowed; Manage API access keeps the admin's existing permissions. */
|
|
3082
|
+
projectScope?: 'all' | 'selected' | null;
|
|
2307
3083
|
};
|
|
2308
3084
|
header?: never;
|
|
2309
3085
|
path?: never;
|
|
@@ -2319,19 +3095,64 @@ type operations = {
|
|
|
2319
3095
|
};
|
|
2320
3096
|
};
|
|
2321
3097
|
};
|
|
3098
|
+
get_auth_pkce_project_select: {
|
|
3099
|
+
parameters: {
|
|
3100
|
+
query?: never;
|
|
3101
|
+
header?: never;
|
|
3102
|
+
path?: never;
|
|
3103
|
+
cookie?: never;
|
|
3104
|
+
};
|
|
3105
|
+
requestBody?: never;
|
|
3106
|
+
responses: {
|
|
3107
|
+
default: {
|
|
3108
|
+
headers: {
|
|
3109
|
+
[name: string]: unknown;
|
|
3110
|
+
};
|
|
3111
|
+
content?: never;
|
|
3112
|
+
};
|
|
3113
|
+
};
|
|
3114
|
+
};
|
|
3115
|
+
post_auth_pkce_project_select_submit: {
|
|
3116
|
+
parameters: {
|
|
3117
|
+
query?: never;
|
|
3118
|
+
header?: never;
|
|
3119
|
+
path?: never;
|
|
3120
|
+
cookie?: never;
|
|
3121
|
+
};
|
|
3122
|
+
requestBody?: never;
|
|
3123
|
+
responses: {
|
|
3124
|
+
default: {
|
|
3125
|
+
headers: {
|
|
3126
|
+
[name: string]: unknown;
|
|
3127
|
+
};
|
|
3128
|
+
content?: never;
|
|
3129
|
+
};
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
2322
3132
|
};
|
|
2323
3133
|
|
|
2324
3134
|
type IntrospectTokenResult = OpenapiReturnType<paths['/v1/auth/token/introspect']['get']>;
|
|
2325
3135
|
type RefreshTokenResult = OpenapiReturnType<paths['/v1/auth/token/refresh']['post']>;
|
|
2326
3136
|
type RevokeTokenBody = OpenapiBodyType<paths['/v1/auth/token/revoke']['post']>;
|
|
2327
3137
|
|
|
2328
|
-
type ListSessionsResult = OpenapiReturnType<paths['/v1/auth/sessions']['get']>;
|
|
2329
3138
|
type RevokeSessionPath = OpenapiPathType<paths['/v1/auth/sessions/{sessionId}']['delete']>;
|
|
2330
3139
|
|
|
2331
3140
|
type GetPkceTokenBody = OpenapiBodyType<paths['/v1/auth/pkce/token']['post']>;
|
|
2332
3141
|
type GetPkceTokenResult = OpenapiReturnType<paths['/v1/auth/pkce/token']['post']>;
|
|
2333
3142
|
|
|
2334
|
-
|
|
3143
|
+
/** The generated request body — what the typed client demands, not what the endpoint accepts. */
|
|
3144
|
+
type SudoBodyRaw = OpenapiBodyType<paths['/v1/auth/sudo']['post']>;
|
|
3145
|
+
/**
|
|
3146
|
+
* The endpoint's request body is generated as `SudoRequest2`, which is **not** the input contract:
|
|
3147
|
+
* the `*Request2` schemas are built from the PHP request object's readable properties, so they pick
|
|
3148
|
+
* up getter-only artefacts (`type` here, `requestedCredentialType` on
|
|
3149
|
+
* `DeviceAuthorizationCreateRequest2`) and mark every field required. The `#[OA\Schema]`-declared
|
|
3150
|
+
* `SudoRequest` is the accepted shape: five optional factor fields, exactly one of them populated —
|
|
3151
|
+
* the server infers the factor from which one is present. Its validator is an `Assert\Collection`
|
|
3152
|
+
* with `allowExtraFields: false` and a per-field `Optional([NotBlank])`, so an unknown key like
|
|
3153
|
+
* `type` and a present-but-null field are both rejected with a 400.
|
|
3154
|
+
*/
|
|
3155
|
+
type SudoBody = components['schemas']['SudoRequest'];
|
|
2335
3156
|
type SudoResult = OpenapiReturnType<paths['/v1/auth/sudo']['post']>;
|
|
2336
3157
|
type SudoChallengeResult = OpenapiReturnType<paths['/v1/auth/sudo/challenge']['post']>;
|
|
2337
3158
|
|
|
@@ -2358,8 +3179,7 @@ type VerifyMfaBody = OpenapiBodyType<paths['/v1/auth/mfa']['post']>;
|
|
|
2358
3179
|
type VerifyMfaResult = OpenapiReturnType<paths['/v1/auth/mfa']['post']>;
|
|
2359
3180
|
type RegenerateRecoveryCodesResult = OpenapiReturnType<paths['/v1/auth/mfa/recovery-codes']['post']>;
|
|
2360
3181
|
type TotpSetupResult = OpenapiReturnType<paths['/v1/auth/mfa/totp']['post']>;
|
|
2361
|
-
type TotpVerifyBody = OpenapiBodyType<paths['/v1/auth/mfa/totp/verify']['post']>;
|
|
2362
3182
|
type TotpVerifyResult = OpenapiReturnType<paths['/v1/auth/mfa/totp/verify']['post']>;
|
|
2363
3183
|
type DisableTotpPath = OpenapiPathType<paths['/v1/auth/mfa/totp/{id}']['delete']>;
|
|
2364
3184
|
|
|
2365
|
-
export type { ApproveDeviceAuthorizationBody as A, CreateDeviceAuthorizationBody as C, DisableTotpPath as D, ExchangePatBody as E, GetDeviceAuthorizationTokenBody as G, InitiateSamlBody as I, ListPatsResult as L, RefreshTokenResult as R, SudoBody as S, TotpSetupResult as T, VerifyMfaBody as V, ApproveDeviceAuthorizationResult as a, AssertSamlBody as b, AssertSamlResult as c, CreateDeviceAuthorizationResult as d, CreatePatBody as e, CreatePatResult as f, ExchangePatResult as g, GetDeviceAuthorizationTokenResult as h, GetPkceTokenBody as i, GetPkceTokenResult as j, InitiateSamlResult as k, IntrospectTokenResult as l,
|
|
3185
|
+
export type { ApproveDeviceAuthorizationBody as A, CreateDeviceAuthorizationBody as C, DisableTotpPath as D, ExchangePatBody as E, GetDeviceAuthorizationTokenBody as G, InitiateSamlBody as I, ListPatsResult as L, RefreshTokenResult as R, SudoBody as S, TotpSetupResult as T, VerifyMfaBody as V, ApproveDeviceAuthorizationResult as a, AssertSamlBody as b, AssertSamlResult as c, CreateDeviceAuthorizationResult as d, CreatePatBody as e, CreatePatResult as f, ExchangePatResult as g, GetDeviceAuthorizationTokenResult as h, GetPkceTokenBody as i, GetPkceTokenResult as j, InitiateSamlResult as k, IntrospectTokenResult as l, RegenerateRecoveryCodesResult as m, RevokePatPath as n, RevokeSessionPath as o, paths as p, RevokeTokenBody as q, SudoBodyRaw as r, SudoChallengeResult as s, SudoResult as t, TotpVerifyResult as u, VerifyMfaResult as v, components as w };
|