@keboola/api-client 44.0.0 → 46.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/CHANGELOG.md +32 -0
- package/dist/ManagementSessionMintError-5FFyvBZi.js +36 -0
- package/dist/ManagementSessionMintError-5FFyvBZi.js.map +1 -0
- package/dist/ManagementSessionMintError-Bm8s6yDB.cjs +47 -0
- package/dist/ManagementSessionMintError-Bm8s6yDB.cjs.map +1 -0
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/{appLogs-BS6ViVGR.d.ts → appLogs-DGIctwbb.d.ts} +2 -2
- package/dist/{appLogs-C9YlJ2g8.d.cts → appLogs-Dl0v684o.d.cts} +2 -2
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/types.d.cts +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{authClient-CBVAT3v9.d.cts → authClient-DSa5t2Ft.d.cts} +27 -33
- package/dist/{authClient-CRumc934.d.ts → authClient-ZiaKSKpp.d.ts} +27 -33
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/domain/permissions/index.cjs +1 -1
- package/dist/domain/permissions/index.d.cts +2 -2
- package/dist/domain/permissions/index.d.ts +2 -2
- package/dist/domain/permissions/index.js +1 -1
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/{index-DzGmgUvQ.d.ts → index-BP3choXr.d.ts} +578 -526
- package/dist/{index-04pgr-EO.d.cts → index-BhDxP0x4.d.cts} +4 -4
- package/dist/{index-zyxZVJnd.d.ts → index-BnPYPXGQ.d.ts} +3 -3
- package/dist/{index-D9UsQOuT.d.cts → index-Bt43tKyu.d.cts} +5 -5
- package/dist/{index-BVhHt5lx.d.cts → index-BzhLY7el.d.cts} +15 -2
- package/dist/{index-CWPi7lBF.d.ts → index-CH5Sg3rk.d.ts} +6 -6
- package/dist/{index-Cvkrjh--.d.cts → index-CTKC-mwi.d.cts} +30 -4
- package/dist/{index-DkCXaYsn.d.cts → index-CiwWDu-q.d.cts} +3 -3
- package/dist/{index-DINB7vsV.d.cts → index-D-4TT5yW.d.cts} +4 -4
- package/dist/{index-Bf8dr2KQ.d.ts → index-DCAnnlcL.d.ts} +3 -3
- package/dist/{index-CA6QxbhZ.d.ts → index-DCxVLGHH.d.ts} +239 -236
- package/dist/{index-Dd40ojPr.d.cts → index-DQwjlSJi.d.cts} +6 -6
- package/dist/{index-BCgmwncs.d.ts → index-DRaVzOLM.d.ts} +5 -5
- package/dist/{index-BMiZx-4_.d.cts → index-DS6O4UDB.d.cts} +4 -4
- package/dist/{index-B72LTF-k.d.ts → index-DWFxcmVD.d.ts} +4 -4
- package/dist/{index-CGCXR_6Q.d.ts → index-DXcTukgn.d.ts} +4 -4
- package/dist/{index-DkvrbR2i.d.cts → index-GVxpBH6j.d.cts} +239 -236
- package/dist/{index-BgR5zcjJ.d.ts → index-PyTPrtaL.d.ts} +15 -2
- package/dist/{index-R-w0Zncz.d.ts → index-se5ee8U1.d.ts} +4 -4
- package/dist/{index-DZcQUZaO.d.cts → index-syAYY5LC.d.cts} +578 -526
- package/dist/{index-BHWTa4YN.d.cts → index-x8ET_BTN.d.cts} +3 -3
- package/dist/{index-CX8GAP2g.d.ts → index-yJ0HrxY6.d.ts} +30 -4
- package/dist/index.cjs +36 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +33 -9
- package/dist/index.js.map +1 -1
- package/dist/{jobStatus-CcNlIy5R.cjs → jobStatus-B0E-MZ9I.cjs} +2 -2
- package/dist/{jobStatus-CcNlIy5R.cjs.map → jobStatus-B0E-MZ9I.cjs.map} +1 -1
- package/dist/{jobStatus-CDp4r5JQ.js → jobStatus-BJdbZ72V.js} +2 -2
- package/dist/{jobStatus-CDp4r5JQ.js.map → jobStatus-BJdbZ72V.js.map} +1 -1
- package/dist/kaiAgent/index.d.cts +2 -2
- package/dist/kaiAgent/index.d.ts +2 -2
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/management/index.cjs +2 -1
- package/dist/management/index.d.cts +2 -2
- package/dist/management/index.d.ts +2 -2
- package/dist/management/index.js +2 -2
- package/dist/management/types.d.cts +1 -1
- package/dist/management/types.d.ts +1 -1
- package/dist/{management-C5lf9nsU.cjs → management-0cWVLHei.cjs} +25 -6
- package/dist/management-0cWVLHei.cjs.map +1 -0
- package/dist/{management-WAtKH6Tu.js → management-eg4Ig-Cx.js} +18 -5
- package/dist/management-eg4Ig-Cx.js.map +1 -0
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/microsoftGraph/index.d.cts +3 -3
- package/dist/microsoftGraph/index.d.ts +3 -3
- package/dist/microsoftGraph/types.d.cts +2 -2
- package/dist/microsoftGraph/types.d.ts +2 -2
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-B8wtlstY.d.cts → project-BN7YRWFS.d.cts} +8 -2
- package/dist/{project-DWwZv66D.js → project-BXLFrWJ6.js} +7 -1
- package/dist/project-BXLFrWJ6.js.map +1 -0
- package/dist/{project-BCc3mpAy.d.ts → project-BpWTnoQ_.d.ts} +8 -2
- package/dist/{project-BvFi19K_.cjs → project-CpgplgCr.cjs} +7 -1
- package/dist/project-CpgplgCr.cjs.map +1 -0
- package/dist/queryService/index.cjs +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/index.js +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/{queryService-OgdbrBjA.js → queryService-Blfz59Ms.js} +2 -2
- package/dist/{queryService-OgdbrBjA.js.map → queryService-Blfz59Ms.js.map} +1 -1
- package/dist/{queryService-e2ql5eev.cjs → queryService-RlNYw7LG.cjs} +2 -2
- package/dist/{queryService-e2ql5eev.cjs.map → queryService-RlNYw7LG.cjs.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +9 -3
- package/dist/queue/index.d.ts +9 -3
- package/dist/queue/index.js +1 -1
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/{queue-DGoMbK1X.cjs → queue-BrgRdtOr.cjs} +2 -2
- package/dist/{queue-DGoMbK1X.cjs.map → queue-BrgRdtOr.cjs.map} +1 -1
- package/dist/{queue-BZwZuZZx.js → queue-CNvR-M23.js} +2 -2
- package/dist/{queue-BZwZuZZx.js.map → queue-CNvR-M23.js.map} +1 -1
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/{schema-DJa9WBjR.d.cts → schema-BUyMwQnM.d.cts} +7 -1
- package/dist/{schema-DJa9WBjR.d.ts → schema-BUyMwQnM.d.ts} +7 -1
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/developerPortal/index.d.cts +29 -3
- package/dist/sdk/developerPortal/index.d.ts +29 -3
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.cjs +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +1 -1
- package/dist/sdk/semanticLayer/index.cjs +1 -2
- package/dist/sdk/semanticLayer/index.d.cts +3 -20
- package/dist/sdk/semanticLayer/index.d.ts +3 -20
- package/dist/sdk/semanticLayer/index.js +2 -2
- package/dist/sdk/semanticLayer/types.d.cts +2 -2
- package/dist/sdk/semanticLayer/types.d.ts +2 -2
- package/dist/sdk/storage/index.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +2 -2
- package/dist/sdk/tag/index.d.ts +2 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/{semanticLayer-Cz22bIjd.cjs → semanticLayer-7BejcMj_.cjs} +10 -84
- package/dist/semanticLayer-7BejcMj_.cjs.map +1 -0
- package/dist/{semanticLayer-JSE51K68.js → semanticLayer-DvjS_nzo.js} +11 -79
- package/dist/semanticLayer-DvjS_nzo.js.map +1 -0
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/storage/index.cjs +4 -3
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +3 -3
- package/dist/storage/types.d.cts +2 -2
- package/dist/storage/types.d.ts +2 -2
- package/dist/{storage-B4AnXas_.cjs → storage-76Sf_z_H.cjs} +2 -2
- package/dist/{storage-B4AnXas_.cjs.map → storage-76Sf_z_H.cjs.map} +1 -1
- package/dist/{storage-CsdA47AL.js → storage-RkNaOFJ-.js} +2 -2
- package/dist/{storage-CsdA47AL.js.map → storage-RkNaOFJ-.js.map} +1 -1
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{types-DgPt4LY_.d.cts → types--owScV0r.d.cts} +183 -77
- package/dist/{types-CLHaZv9f.d.cts → types-1B3ioN33.d.cts} +3 -3
- package/dist/{types-CAAgCRmE.d.cts → types-5HdT1rSH.d.cts} +13 -2
- package/dist/{types-DaMmgW-O.d.ts → types-B1GN_I06.d.ts} +2 -2
- package/dist/{types-CoJVrRAD.d.ts → types-B5kkD7h4.d.cts} +2 -2
- package/dist/{types-D9axmt5o.d.cts → types-BE7mRarT.d.ts} +8 -2
- package/dist/{types-CcYxlqtB.d.cts → types-BGICH80a.d.cts} +2 -2
- package/dist/{types-BaSlU0uo.d.ts → types-BHxsCu0f.d.ts} +2 -2
- package/dist/{types-CV7jmgtX.d.ts → types-BMWeCO5M.d.ts} +3 -3
- package/dist/{types-CGm2fQKK.d.cts → types-BRvs3fXN.d.cts} +64 -5
- package/dist/{types-CwZgZqrA.d.ts → types-BTqxM-IN.d.ts} +13 -2
- package/dist/{types-DxN2siRW.d.ts → types-BjIuVrAZ.d.ts} +3 -3
- package/dist/{types-DoZtE9tz.d.cts → types-BksK2Eo0.d.cts} +2 -2
- package/dist/{types-DicSaNwq.d.ts → types-BoNqe_Lz.d.ts} +2 -2
- package/dist/{types-CAp1VexS.d.ts → types-Br04cEri.d.ts} +16 -4
- package/dist/{types-CN6huo55.d.ts → types-BtII5RSD.d.ts} +183 -77
- package/dist/types-Btb8r9iw.d.ts +1467 -0
- package/dist/{types-B2w2TtSA.d.ts → types-BuKviWct.d.ts} +2 -2
- package/dist/{types-04GTqleJ.d.cts → types-C05ALlV6.d.cts} +3 -3
- package/dist/{types-DzV6LaZq.d.ts → types-C4yryy-R.d.ts} +132 -5
- package/dist/{types-DyArI_Jq.d.cts → types-C8oZX0oP.d.cts} +4 -8
- package/dist/{types-BhEx9iRx.d.ts → types-CESP1ONj.d.ts} +1364 -1316
- package/dist/{types-ByLH46Dt.d.cts → types-CFurl1xe.d.cts} +2 -2
- package/dist/{types-DUMal2E-.d.cts → types-CGhu0tID.d.cts} +30 -3
- package/dist/{types-QSchmyvO.d.ts → types-CaBhH99H.d.ts} +3 -3
- package/dist/{types-D1A4mAG0.d.cts → types-CclheyE7.d.cts} +3 -3
- package/dist/{types-DrvKfXXd.d.cts → types-CoQET4Ep.d.ts} +2 -2
- package/dist/{types-BiEh5c_t.d.cts → types-Csmy6qFk.d.cts} +132 -5
- package/dist/{types-CgBzm1YR.d.cts → types-CyO8qCKl.d.cts} +2 -2
- package/dist/{types-DlQw6FCi.d.ts → types-DDjp9lXD.d.ts} +2 -2
- package/dist/{types-CBPKpLTf.d.cts → types-DGu-wPPm.d.cts} +169 -2
- package/dist/{types-BgHtMe8s.d.cts → types-DHdXufVf.d.cts} +3 -3
- package/dist/{types-BPy5Ozee.d.cts → types-DMWfdZ5C.d.cts} +2 -2
- package/dist/{types-WZBztugL.d.ts → types-DQauEri3.d.ts} +2 -2
- package/dist/{types-BZDV8DZk.d.ts → types-DSv1XS7s.d.ts} +11 -6
- package/dist/{types-YHUEArkR.d.cts → types-DUDQg4ry.d.cts} +2 -2
- package/dist/{types-CigD_EF5.d.ts → types-DiE081mn.d.ts} +4 -8
- package/dist/{types-CZJlLCbA.d.ts → types-Dvysi2Eo.d.ts} +2 -2
- package/dist/{types-sV9OaqTI.d.cts → types-GaOcVZ3d.d.cts} +1364 -1316
- package/dist/{types-Bydx6ga_.d.cts → types-LxDyOfdY.d.cts} +2 -2
- package/dist/{types-D8pGSkRe.d.ts → types-M9vU_ONp.d.ts} +3 -3
- package/dist/{types-CfwqVkEA.d.ts → types-Nwq1QtYe.d.ts} +2 -2
- package/dist/{types-DwVSj-Da.d.ts → types-P_61P9Nd.d.ts} +30 -3
- package/dist/{types-pvQzbgNE.d.cts → types-QroFANIW.d.cts} +11 -6
- package/dist/{types-Fs4a3mVs.d.ts → types-UI2aZ74n.d.ts} +64 -5
- package/dist/{types-Dd31Lw4S.d.cts → types-XHNJRi3-.d.cts} +2 -2
- package/dist/{types-BBUZ9EHs.d.ts → types-YdE2VJzw.d.cts} +8 -2
- package/dist/{types-DazRtukc.d.ts → types-fAqPUl-a.d.ts} +521 -270
- package/dist/{types-c_bsDkV6.d.cts → types-ggpJFEWZ.d.cts} +16 -4
- package/dist/{types-CaOtNjSZ.d.ts → types-j30rKMe6.d.ts} +2 -2
- package/dist/{types-ePSqbXRr.d.cts → types-q5lgElyc.d.cts} +2 -2
- package/dist/{types-AYX7VtS6.d.ts → types-qGMVZGSB.d.ts} +169 -2
- package/dist/{types-D3wcs4tp.d.ts → types-qWA5iU0j.d.ts} +2 -2
- package/dist/{types-DVt0qlzI.d.cts → types-sI3K5t3w.d.cts} +521 -270
- package/dist/types-sg2xnYlr.d.cts +1467 -0
- package/dist/{types-B8N_k79M.d.cts → types-tJLoKlMX.d.cts} +2 -2
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +1 -1
- package/surface/auth.md +19 -19
- package/surface/kaiAgent.md +1 -1
- package/surface/management.md +41 -41
- package/surface/queue.md +7 -7
- package/surface/storage.md +21 -21
- package/dist/ManagementClientAuthError-BcPYxAWZ.js +0 -16
- package/dist/ManagementClientAuthError-BcPYxAWZ.js.map +0 -1
- package/dist/ManagementClientAuthError-DHuykEPF.cjs +0 -21
- package/dist/ManagementClientAuthError-DHuykEPF.cjs.map +0 -1
- package/dist/management-C5lf9nsU.cjs.map +0 -1
- package/dist/management-WAtKH6Tu.js.map +0 -1
- package/dist/project-BvFi19K_.cjs.map +0 -1
- package/dist/project-DWwZv66D.js.map +0 -1
- package/dist/semanticLayer-Cz22bIjd.cjs.map +0 -1
- package/dist/semanticLayer-JSE51K68.js.map +0 -1
- package/dist/types-BhOUS9j1.d.cts +0 -749
- package/dist/types-gcAb6olM.d.ts +0 -749
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @keboola/api-client
|
|
2
2
|
|
|
3
|
+
## 46.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Regenerate the omnisearch, developerPortal, vault, dataScience, apps, kaiAgent, storage, management, auth, oauth and microsoftGraph OpenAPI types against the live services
|
|
8
|
+
- **Breaking:** `auth.me.getOrganizations`, `getProjects` and `getMaintainers` return a cursor page `{ data, meta, links }` instead of `{ count, items, limit, offset, hasMore }`, and take `{ page: { after, limit }, filter: { … } }` instead of `limit` / `offset` / top-level filters (`q` is now `filter.name`).
|
|
9
|
+
- `storage.tokens.createToken` resolves `token` as a required `string`.
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- The admin behind a Manage token, as a domain object.
|
|
14
|
+
- `createAdminAccount({ managementToken })` mirrors `createProject`: `isSuperAdmin`, `hasAdminFeature`, `hasAnyAdminFeature`, the raw `user` and the token.
|
|
15
|
+
- A token with no admin behind it, or `null` for no token at all, yields an account where every helper answers `false`.
|
|
16
|
+
- `ManagementSessionMintError` (a `ManagementClientAuthError`) when the legacy client could not mint a session token from the login cookie, with `isManagementSessionMintError`. A bearer client never raises it.
|
|
17
|
+
|
|
18
|
+
## 45.0.0
|
|
19
|
+
|
|
20
|
+
### Major Changes
|
|
21
|
+
|
|
22
|
+
- `semanticLayer.deleteModel` sends one `DELETE`; the metastore deletes the model's child objects in the same transaction
|
|
23
|
+
- `SemanticLayerCascadeDeleteError` and the `SemanticModelChildDeleteFailure` type are gone: a model delete either deletes everything or nothing.
|
|
24
|
+
- A `409` `ApiError` means another object holds a `restrict` reference to the model; nothing was deleted.
|
|
25
|
+
- A `404` `ApiError` means the model does not exist or was already deleted.
|
|
26
|
+
- `deleteModel` no longer lists the children first, so it no longer throws `SemanticLayerUnreadableChildrenError`. `listModelChildren` still does.
|
|
27
|
+
- The regenerated metastore schema declares the `409` on `DELETE /repository/{objectType}/{UUID}`.
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- A queue job says whether it succeeded.
|
|
32
|
+
- `QueueJob` gains `isSuccess: boolean | null` — `null` while `isFinished` is `false`, `true` for `success` and `warning`, `false` for `error`, `cancelled` and `terminated`.
|
|
33
|
+
- With a job in hand, read `job.isSuccess`; `jobStatus.queue` stays for callers holding only a status.
|
|
34
|
+
|
|
3
35
|
## 44.0.0
|
|
4
36
|
|
|
5
37
|
### Major Changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { p as ApiError } from "./createFetchClient-DITkTV2k.js";
|
|
2
|
+
//#region src/errors/ManagementClientAuthError.ts
|
|
3
|
+
var ManagementClientAuthError = class extends ApiError {
|
|
4
|
+
title;
|
|
5
|
+
message;
|
|
6
|
+
constructor(title, message, res) {
|
|
7
|
+
super(res);
|
|
8
|
+
this.name = "ManagementClientAuthError";
|
|
9
|
+
this.title = title;
|
|
10
|
+
this.message = message;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/errors/ManagementSessionMintError.ts
|
|
15
|
+
/**
|
|
16
|
+
* The Manage client has no credential of its own and could not mint a session token from the
|
|
17
|
+
* login cookie.
|
|
18
|
+
*
|
|
19
|
+
* - Only the legacy (SAPI) entry point mints; a bearer client never raises it.
|
|
20
|
+
* - The login page in place of the token: the session expired, or there is no cookie (off the
|
|
21
|
+
* stack host).
|
|
22
|
+
*/
|
|
23
|
+
var ManagementSessionMintError = class extends ManagementClientAuthError {
|
|
24
|
+
constructor({ title, message, response, request, data }) {
|
|
25
|
+
super(title, message, {
|
|
26
|
+
response,
|
|
27
|
+
request,
|
|
28
|
+
data
|
|
29
|
+
});
|
|
30
|
+
this.name = "ManagementSessionMintError";
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ManagementClientAuthError as n, ManagementSessionMintError as t };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=ManagementSessionMintError-5FFyvBZi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagementSessionMintError-5FFyvBZi.js","names":[],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+C,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const require_createFetchClient = require("./createFetchClient-ClWD4ua3.cjs");
|
|
2
|
+
//#region src/errors/ManagementClientAuthError.ts
|
|
3
|
+
var ManagementClientAuthError = class extends require_createFetchClient.ApiError {
|
|
4
|
+
title;
|
|
5
|
+
message;
|
|
6
|
+
constructor(title, message, res) {
|
|
7
|
+
super(res);
|
|
8
|
+
this.name = "ManagementClientAuthError";
|
|
9
|
+
this.title = title;
|
|
10
|
+
this.message = message;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/errors/ManagementSessionMintError.ts
|
|
15
|
+
/**
|
|
16
|
+
* The Manage client has no credential of its own and could not mint a session token from the
|
|
17
|
+
* login cookie.
|
|
18
|
+
*
|
|
19
|
+
* - Only the legacy (SAPI) entry point mints; a bearer client never raises it.
|
|
20
|
+
* - The login page in place of the token: the session expired, or there is no cookie (off the
|
|
21
|
+
* stack host).
|
|
22
|
+
*/
|
|
23
|
+
var ManagementSessionMintError = class extends ManagementClientAuthError {
|
|
24
|
+
constructor({ title, message, response, request, data }) {
|
|
25
|
+
super(title, message, {
|
|
26
|
+
response,
|
|
27
|
+
request,
|
|
28
|
+
data
|
|
29
|
+
});
|
|
30
|
+
this.name = "ManagementSessionMintError";
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
Object.defineProperty(exports, "ManagementClientAuthError", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function() {
|
|
37
|
+
return ManagementClientAuthError;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "ManagementSessionMintError", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function() {
|
|
43
|
+
return ManagementSessionMintError;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=ManagementSessionMintError-Bm8s6yDB.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagementSessionMintError-Bm8s6yDB.cjs","names":["ApiError"],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+CA,0BAAAA,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
|
package/dist/ai/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-
|
|
2
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-DUDQg4ry.cjs";
|
|
2
|
+
import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
|
|
3
3
|
//#region src/clients/ai/aiClient.d.ts
|
|
4
4
|
declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
package/dist/ai/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-
|
|
2
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-Nwq1QtYe.js";
|
|
2
|
+
import { n as ClientInitOptions } from "../types-BuKviWct.js";
|
|
3
3
|
//#region src/clients/ai/aiClient.d.ts
|
|
4
4
|
declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
package/dist/ai/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-DUDQg4ry.cjs";
|
|
2
2
|
export { ComponentDocsDetail, ComponentSuggestion, DescribeConfigurationBody, DescribeConfigurationMergeBody, DescribeConfigurationVersionBody, DocsAnswer, DocsQuestionBody, ErrorExplanation, ExplainErrorBody, FeedbackBody, ObjectDescription, SuggestComponentBody };
|
package/dist/ai/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-Nwq1QtYe.js";
|
|
2
2
|
export { ComponentDocsDetail, ComponentSuggestion, DescribeConfigurationBody, DescribeConfigurationMergeBody, DescribeConfigurationVersionBody, DocsAnswer, DocsQuestionBody, ErrorExplanation, ExplainErrorBody, FeedbackBody, ObjectDescription, SuggestComponentBody };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-PyTPrtaL.js";
|
|
2
2
|
//#region src/domain/appLogs.d.ts
|
|
3
3
|
type LogEntry = {
|
|
4
4
|
timestamp: string | null;
|
|
@@ -7,4 +7,4 @@ type LogEntry = {
|
|
|
7
7
|
declare const parseLogLines: (raw: unknown) => LogEntry[];
|
|
8
8
|
//#endregion
|
|
9
9
|
export { parseLogLines as n, LogEntry as t };
|
|
10
|
-
//# sourceMappingURL=appLogs-
|
|
10
|
+
//# sourceMappingURL=appLogs-DGIctwbb.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-BzhLY7el.cjs";
|
|
2
2
|
//#region src/domain/appLogs.d.ts
|
|
3
3
|
type LogEntry = {
|
|
4
4
|
timestamp: string | null;
|
|
@@ -7,4 +7,4 @@ type LogEntry = {
|
|
|
7
7
|
declare const parseLogLines: (raw: unknown) => LogEntry[];
|
|
8
8
|
//#endregion
|
|
9
9
|
export { parseLogLines as n, LogEntry as t };
|
|
10
|
-
//# sourceMappingURL=appLogs-
|
|
10
|
+
//# sourceMappingURL=appLogs-Dl0v684o.d.cts.map
|
package/dist/apps/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-
|
|
3
|
-
import { t as LogEntry } from "../appLogs-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
|
|
2
|
+
import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-QroFANIW.cjs";
|
|
3
|
+
import { t as LogEntry } from "../appLogs-Dl0v684o.cjs";
|
|
4
4
|
//#region src/clients/apps/appsClient.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Options every write takes.
|
package/dist/apps/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-
|
|
3
|
-
import { t as LogEntry } from "../appLogs-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BuKviWct.js";
|
|
2
|
+
import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-DSv1XS7s.js";
|
|
3
|
+
import { t as LogEntry } from "../appLogs-DGIctwbb.js";
|
|
4
4
|
//#region src/clients/apps/appsClient.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Options every write takes.
|
package/dist/apps/types.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-
|
|
2
|
-
import { t as LogEntry } from "../appLogs-
|
|
1
|
+
import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-QroFANIW.cjs";
|
|
2
|
+
import { t as LogEntry } from "../appLogs-Dl0v684o.cjs";
|
|
3
3
|
export { App, AppGitRepo, AppId, AppPassword, AppRun, AppState, CreateAppBody, CreateCredentialBody, CreateDeploymentBody, CreatedCredential, Credential, CredentialId, CredentialList, Deployment, DeploymentBuildState, DeploymentId, DeploymentRunState, GetAppRunsQuery, GetAppsQuery, GetDeploymentsQuery, GetLogsTailQuery, type LogEntry, RunId };
|
package/dist/apps/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-
|
|
2
|
-
import { t as LogEntry } from "../appLogs-
|
|
1
|
+
import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-DSv1XS7s.js";
|
|
2
|
+
import { t as LogEntry } from "../appLogs-DGIctwbb.js";
|
|
3
3
|
export { App, AppGitRepo, AppId, AppPassword, AppRun, AppState, CreateAppBody, CreateCredentialBody, CreateDeploymentBody, CreatedCredential, Credential, CredentialId, CredentialList, Deployment, DeploymentBuildState, DeploymentId, DeploymentRunState, GetAppRunsQuery, GetAppsQuery, GetDeploymentsQuery, GetLogsTailQuery, type LogEntry, RunId };
|
package/dist/assets/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
|
|
2
2
|
//#region src/clients/assets/assetsClient.d.ts
|
|
3
3
|
declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
|
|
4
4
|
getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<{
|
package/dist/assets/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BuKviWct.js";
|
|
2
2
|
//#region src/clients/assets/assetsClient.d.ts
|
|
3
3
|
declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
|
|
4
4
|
getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<{
|
package/dist/auth/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-
|
|
1
|
+
import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-DSa5t2Ft.cjs";
|
|
2
2
|
export { ApiLoginResult, ApiLoginSuccess, AuthClientInitOptions, AuthOpenApiFetchClient, BrowserLoginResult, BrowserLoginSuccess, ChangePasswordInput, LoginResultFor, LoginUser, MFA_METHOD, MfaChallenge, MfaCodeInput, MfaMethod, MfaWebauthnInput, OidcInput, PasswordInput, RefreshSessionInput, RefreshTokenInput, ResetInput, ResetRequestInput, TotpVerifyInput, apiLoginResultSchema, apiLoginSuccessSchema, browserLoginResultSchema, browserLoginSuccessSchema, changeInputSchema, createAuthClient, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, passwordInputSchema, refreshSessionInputSchema, refreshTokenInputSchema, resetInputSchema, resetRequestInputSchema, totpVerifyInputSchema };
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-
|
|
1
|
+
import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-ZiaKSKpp.js";
|
|
2
2
|
export { ApiLoginResult, ApiLoginSuccess, AuthClientInitOptions, AuthOpenApiFetchClient, BrowserLoginResult, BrowserLoginSuccess, ChangePasswordInput, LoginResultFor, LoginUser, MFA_METHOD, MfaChallenge, MfaCodeInput, MfaMethod, MfaWebauthnInput, OidcInput, PasswordInput, RefreshSessionInput, RefreshTokenInput, ResetInput, ResetRequestInput, TotpVerifyInput, apiLoginResultSchema, apiLoginSuccessSchema, browserLoginResultSchema, browserLoginSuccessSchema, changeInputSchema, createAuthClient, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, passwordInputSchema, refreshSessionInputSchema, refreshTokenInputSchema, resetInputSchema, resetRequestInputSchema, totpVerifyInputSchema };
|
package/dist/auth/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types
|
|
1
|
+
import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types--owScV0r.cjs";
|
|
2
2
|
export { ApproveDeviceAuthorizationBody, ApproveDeviceAuthorizationResult, AssertSamlBody, AssertSamlResult, CreateDeviceAuthorizationBody, CreateDeviceAuthorizationResult, CreatePatBodyRaw, CreatePatInput, CreatePatResult, DisableTotpPath, ExchangePatBodyRaw, ExchangePatInput, GetDeviceAuthorizationTokenBody, GetDeviceAuthorizationTokenResult, GetMeMaintainersQuery, GetMeOrganizationsQuery, GetMeProjectsQuery, GetPkceTokenBody, GetPkceTokenResult, InitiateSamlBody, InitiateSamlResult, IntrospectTokenResult, ListPatsResult, ListWebauthnCredentialsResult, LoginBody, PatScopeInput, RefreshTokenBody, RefreshTokenPartialBody, RefreshTokenResult, RegenerateRecoveryCodesResult, RegisterWebauthnInput, RegisterWebauthnOptionsResult, RegisterWebauthnResult, RemoveWebauthnInput, RemoveWebauthnPath, RemoveWebauthnQuery, RevokePatPath, RevokeSessionPath, RevokeTokenBody, SudoBody, SudoBodyRaw, SudoChallengeResult, SudoResult, TotpSetupResult, TotpVerifyResult, VerifyMfaBody, VerifyMfaResult, VerifyMfaType };
|
package/dist/auth/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types-
|
|
1
|
+
import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types-BtII5RSD.js";
|
|
2
2
|
export { ApproveDeviceAuthorizationBody, ApproveDeviceAuthorizationResult, AssertSamlBody, AssertSamlResult, CreateDeviceAuthorizationBody, CreateDeviceAuthorizationResult, CreatePatBodyRaw, CreatePatInput, CreatePatResult, DisableTotpPath, ExchangePatBodyRaw, ExchangePatInput, GetDeviceAuthorizationTokenBody, GetDeviceAuthorizationTokenResult, GetMeMaintainersQuery, GetMeOrganizationsQuery, GetMeProjectsQuery, GetPkceTokenBody, GetPkceTokenResult, InitiateSamlBody, InitiateSamlResult, IntrospectTokenResult, ListPatsResult, ListWebauthnCredentialsResult, LoginBody, PatScopeInput, RefreshTokenBody, RefreshTokenPartialBody, RefreshTokenResult, RegenerateRecoveryCodesResult, RegisterWebauthnInput, RegisterWebauthnOptionsResult, RegisterWebauthnResult, RemoveWebauthnInput, RemoveWebauthnPath, RemoveWebauthnQuery, RevokePatPath, RevokeSessionPath, RevokeTokenBody, SudoBody, SudoBodyRaw, SudoChallengeResult, SudoResult, TotpSetupResult, TotpVerifyResult, VerifyMfaBody, VerifyMfaResult, VerifyMfaType };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types
|
|
1
|
+
import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-BzhLY7el.cjs";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-BksK2Eo0.cjs";
|
|
3
|
+
import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types--owScV0r.cjs";
|
|
4
4
|
import * as z$1 from "zod";
|
|
5
5
|
//#region src/clients/auth/login/schemas.d.ts
|
|
6
6
|
declare const passwordInputSchema: z$1.ZodObject<{
|
|
@@ -205,7 +205,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
205
205
|
mfa: {
|
|
206
206
|
verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
|
|
207
207
|
accessToken: string;
|
|
208
|
-
refreshToken?: string
|
|
208
|
+
refreshToken?: string;
|
|
209
209
|
tokenType: string;
|
|
210
210
|
expiresIn: number;
|
|
211
211
|
sessionId: string;
|
|
@@ -213,7 +213,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
213
213
|
}>;
|
|
214
214
|
verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
|
|
215
215
|
accessToken: string;
|
|
216
|
-
refreshToken?: string
|
|
216
|
+
refreshToken?: string;
|
|
217
217
|
tokenType: string;
|
|
218
218
|
expiresIn: number;
|
|
219
219
|
sessionId: string;
|
|
@@ -231,7 +231,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
231
231
|
verify: (input: TotpVerifyInput, signal?: AbortSignal) => Promise<{
|
|
232
232
|
id: number;
|
|
233
233
|
mfaType: string;
|
|
234
|
-
recoveryCodes?: string[]
|
|
234
|
+
recoveryCodes?: string[];
|
|
235
235
|
}>;
|
|
236
236
|
disable: (id: DisableTotpPath['id'], signal?: AbortSignal) => Promise<void>;
|
|
237
237
|
};
|
|
@@ -244,7 +244,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
244
244
|
saml: {
|
|
245
245
|
assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
|
|
246
246
|
accessToken: string;
|
|
247
|
-
refreshToken?: string
|
|
247
|
+
refreshToken?: string;
|
|
248
248
|
tokenType: string;
|
|
249
249
|
expiresIn: number;
|
|
250
250
|
sessionId: string;
|
|
@@ -317,31 +317,25 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
317
317
|
};
|
|
318
318
|
}>;
|
|
319
319
|
getOrganizations: (query?: GetMeOrganizationsQuery, signal?: AbortSignal) => Promise<{
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
offset: number;
|
|
324
|
-
hasMore: boolean;
|
|
320
|
+
data: Record<string, never>[];
|
|
321
|
+
meta: components['schemas']['PaginationMeta'];
|
|
322
|
+
links: components['schemas']['PaginationLinks'];
|
|
325
323
|
} & {
|
|
326
|
-
|
|
324
|
+
data?: components['schemas']['OrganizationAccessItem'][];
|
|
327
325
|
}>;
|
|
328
326
|
getMaintainers: (query?: GetMeMaintainersQuery, signal?: AbortSignal) => Promise<{
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
offset: number;
|
|
333
|
-
hasMore: boolean;
|
|
327
|
+
data: Record<string, never>[];
|
|
328
|
+
meta: components['schemas']['PaginationMeta'];
|
|
329
|
+
links: components['schemas']['PaginationLinks'];
|
|
334
330
|
} & {
|
|
335
|
-
|
|
331
|
+
data?: components['schemas']['OrganizationMaintainerReference'][];
|
|
336
332
|
}>;
|
|
337
333
|
getProjects: (query?: GetMeProjectsQuery, signal?: AbortSignal) => Promise<{
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
offset: number;
|
|
342
|
-
hasMore: boolean;
|
|
334
|
+
data: Record<string, never>[];
|
|
335
|
+
meta: components['schemas']['PaginationMeta'];
|
|
336
|
+
links: components['schemas']['PaginationLinks'];
|
|
343
337
|
} & {
|
|
344
|
-
|
|
338
|
+
data?: components['schemas']['OrganizationProjectItem'][];
|
|
345
339
|
}>;
|
|
346
340
|
};
|
|
347
341
|
device: {
|
|
@@ -356,7 +350,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
356
350
|
approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
|
|
357
351
|
status: 'approved' | 'denied';
|
|
358
352
|
idempotent: boolean;
|
|
359
|
-
decision
|
|
353
|
+
decision?: components['schemas']['DeviceApprovalDecision'];
|
|
360
354
|
}>;
|
|
361
355
|
getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
|
|
362
356
|
accessToken: string;
|
|
@@ -400,7 +394,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
400
394
|
token: {
|
|
401
395
|
refreshWithToken: (input: RefreshTokenInput, signal?: AbortSignal) => Promise<{
|
|
402
396
|
accessToken: string;
|
|
403
|
-
refreshToken?: string
|
|
397
|
+
refreshToken?: string;
|
|
404
398
|
tokenType: string;
|
|
405
399
|
expiresIn: number;
|
|
406
400
|
sessionId: string;
|
|
@@ -408,7 +402,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
408
402
|
}>;
|
|
409
403
|
refreshWithSession: (input: RefreshSessionInput, signal?: AbortSignal) => Promise<{
|
|
410
404
|
accessToken: string;
|
|
411
|
-
refreshToken?: string
|
|
405
|
+
refreshToken?: string;
|
|
412
406
|
tokenType: string;
|
|
413
407
|
expiresIn: number;
|
|
414
408
|
sessionId: string;
|
|
@@ -421,9 +415,9 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
421
415
|
sudoVerified: boolean;
|
|
422
416
|
createdAt: string;
|
|
423
417
|
expiresAt: string;
|
|
424
|
-
lastUsedAt
|
|
425
|
-
lastUsedIp
|
|
426
|
-
userAgent
|
|
418
|
+
lastUsedAt: string | null;
|
|
419
|
+
lastUsedIp: string | null;
|
|
420
|
+
userAgent: string | null;
|
|
427
421
|
projects: components['schemas']['ProjectAccessItem'][];
|
|
428
422
|
}>;
|
|
429
423
|
revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
|
|
@@ -437,11 +431,11 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
437
431
|
id: number;
|
|
438
432
|
deviceName: string;
|
|
439
433
|
created: string;
|
|
440
|
-
recoveryCodes?: string[]
|
|
434
|
+
recoveryCodes?: string[];
|
|
441
435
|
}>;
|
|
442
436
|
remove: ({ id, ...query }: RemoveWebauthnInput, signal?: AbortSignal) => Promise<void>;
|
|
443
437
|
};
|
|
444
438
|
};
|
|
445
439
|
//#endregion
|
|
446
440
|
export { PasswordInput as A, ApiLoginSuccess as C, LoginUser as D, LoginResultFor as E, mfaChallengeSchema as F, oidcInputSchema as I, passwordInputSchema as L, apiLoginSuccessSchema as M, browserLoginResultSchema as N, MfaChallenge as O, browserLoginSuccessSchema as P, ApiLoginResult as S, BrowserLoginSuccess as T, MfaWebauthnInput as _, RefreshTokenInput as a, mfaWebauthnInputSchema as b, ChangePasswordInput as c, changeInputSchema as d, resetInputSchema as f, MfaMethod as g, MfaCodeInput as h, RefreshSessionInput as i, apiLoginResultSchema as j, OidcInput as k, ResetInput as l, MFA_METHOD as m, AuthOpenApiFetchClient as n, refreshSessionInputSchema as o, resetRequestInputSchema as p, createAuthClient as r, refreshTokenInputSchema as s, AuthClientInitOptions as t, ResetRequestInput as u, TotpVerifyInput as v, BrowserLoginResult as w, totpVerifyInputSchema as x, mfaCodeInputSchema as y };
|
|
447
|
-
//# sourceMappingURL=authClient-
|
|
441
|
+
//# sourceMappingURL=authClient-DSa5t2Ft.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-
|
|
1
|
+
import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-PyTPrtaL.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-BuKviWct.js";
|
|
3
|
+
import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-BtII5RSD.js";
|
|
4
4
|
import * as z$1 from "zod";
|
|
5
5
|
//#region src/clients/auth/login/schemas.d.ts
|
|
6
6
|
declare const passwordInputSchema: z$1.ZodObject<{
|
|
@@ -205,7 +205,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
205
205
|
mfa: {
|
|
206
206
|
verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
|
|
207
207
|
accessToken: string;
|
|
208
|
-
refreshToken?: string
|
|
208
|
+
refreshToken?: string;
|
|
209
209
|
tokenType: string;
|
|
210
210
|
expiresIn: number;
|
|
211
211
|
sessionId: string;
|
|
@@ -213,7 +213,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
213
213
|
}>;
|
|
214
214
|
verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
|
|
215
215
|
accessToken: string;
|
|
216
|
-
refreshToken?: string
|
|
216
|
+
refreshToken?: string;
|
|
217
217
|
tokenType: string;
|
|
218
218
|
expiresIn: number;
|
|
219
219
|
sessionId: string;
|
|
@@ -231,7 +231,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
231
231
|
verify: (input: TotpVerifyInput, signal?: AbortSignal) => Promise<{
|
|
232
232
|
id: number;
|
|
233
233
|
mfaType: string;
|
|
234
|
-
recoveryCodes?: string[]
|
|
234
|
+
recoveryCodes?: string[];
|
|
235
235
|
}>;
|
|
236
236
|
disable: (id: DisableTotpPath['id'], signal?: AbortSignal) => Promise<void>;
|
|
237
237
|
};
|
|
@@ -244,7 +244,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
244
244
|
saml: {
|
|
245
245
|
assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
|
|
246
246
|
accessToken: string;
|
|
247
|
-
refreshToken?: string
|
|
247
|
+
refreshToken?: string;
|
|
248
248
|
tokenType: string;
|
|
249
249
|
expiresIn: number;
|
|
250
250
|
sessionId: string;
|
|
@@ -317,31 +317,25 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
317
317
|
};
|
|
318
318
|
}>;
|
|
319
319
|
getOrganizations: (query?: GetMeOrganizationsQuery, signal?: AbortSignal) => Promise<{
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
offset: number;
|
|
324
|
-
hasMore: boolean;
|
|
320
|
+
data: Record<string, never>[];
|
|
321
|
+
meta: components['schemas']['PaginationMeta'];
|
|
322
|
+
links: components['schemas']['PaginationLinks'];
|
|
325
323
|
} & {
|
|
326
|
-
|
|
324
|
+
data?: components['schemas']['OrganizationAccessItem'][];
|
|
327
325
|
}>;
|
|
328
326
|
getMaintainers: (query?: GetMeMaintainersQuery, signal?: AbortSignal) => Promise<{
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
offset: number;
|
|
333
|
-
hasMore: boolean;
|
|
327
|
+
data: Record<string, never>[];
|
|
328
|
+
meta: components['schemas']['PaginationMeta'];
|
|
329
|
+
links: components['schemas']['PaginationLinks'];
|
|
334
330
|
} & {
|
|
335
|
-
|
|
331
|
+
data?: components['schemas']['OrganizationMaintainerReference'][];
|
|
336
332
|
}>;
|
|
337
333
|
getProjects: (query?: GetMeProjectsQuery, signal?: AbortSignal) => Promise<{
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
offset: number;
|
|
342
|
-
hasMore: boolean;
|
|
334
|
+
data: Record<string, never>[];
|
|
335
|
+
meta: components['schemas']['PaginationMeta'];
|
|
336
|
+
links: components['schemas']['PaginationLinks'];
|
|
343
337
|
} & {
|
|
344
|
-
|
|
338
|
+
data?: components['schemas']['OrganizationProjectItem'][];
|
|
345
339
|
}>;
|
|
346
340
|
};
|
|
347
341
|
device: {
|
|
@@ -356,7 +350,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
356
350
|
approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
|
|
357
351
|
status: 'approved' | 'denied';
|
|
358
352
|
idempotent: boolean;
|
|
359
|
-
decision
|
|
353
|
+
decision?: components['schemas']['DeviceApprovalDecision'];
|
|
360
354
|
}>;
|
|
361
355
|
getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
|
|
362
356
|
accessToken: string;
|
|
@@ -400,7 +394,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
400
394
|
token: {
|
|
401
395
|
refreshWithToken: (input: RefreshTokenInput, signal?: AbortSignal) => Promise<{
|
|
402
396
|
accessToken: string;
|
|
403
|
-
refreshToken?: string
|
|
397
|
+
refreshToken?: string;
|
|
404
398
|
tokenType: string;
|
|
405
399
|
expiresIn: number;
|
|
406
400
|
sessionId: string;
|
|
@@ -408,7 +402,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
408
402
|
}>;
|
|
409
403
|
refreshWithSession: (input: RefreshSessionInput, signal?: AbortSignal) => Promise<{
|
|
410
404
|
accessToken: string;
|
|
411
|
-
refreshToken?: string
|
|
405
|
+
refreshToken?: string;
|
|
412
406
|
tokenType: string;
|
|
413
407
|
expiresIn: number;
|
|
414
408
|
sessionId: string;
|
|
@@ -421,9 +415,9 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
421
415
|
sudoVerified: boolean;
|
|
422
416
|
createdAt: string;
|
|
423
417
|
expiresAt: string;
|
|
424
|
-
lastUsedAt
|
|
425
|
-
lastUsedIp
|
|
426
|
-
userAgent
|
|
418
|
+
lastUsedAt: string | null;
|
|
419
|
+
lastUsedIp: string | null;
|
|
420
|
+
userAgent: string | null;
|
|
427
421
|
projects: components['schemas']['ProjectAccessItem'][];
|
|
428
422
|
}>;
|
|
429
423
|
revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
|
|
@@ -437,11 +431,11 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
437
431
|
id: number;
|
|
438
432
|
deviceName: string;
|
|
439
433
|
created: string;
|
|
440
|
-
recoveryCodes?: string[]
|
|
434
|
+
recoveryCodes?: string[];
|
|
441
435
|
}>;
|
|
442
436
|
remove: ({ id, ...query }: RemoveWebauthnInput, signal?: AbortSignal) => Promise<void>;
|
|
443
437
|
};
|
|
444
438
|
};
|
|
445
439
|
//#endregion
|
|
446
440
|
export { PasswordInput as A, ApiLoginSuccess as C, LoginUser as D, LoginResultFor as E, mfaChallengeSchema as F, oidcInputSchema as I, passwordInputSchema as L, apiLoginSuccessSchema as M, browserLoginResultSchema as N, MfaChallenge as O, browserLoginSuccessSchema as P, ApiLoginResult as S, BrowserLoginSuccess as T, MfaWebauthnInput as _, RefreshTokenInput as a, mfaWebauthnInputSchema as b, ChangePasswordInput as c, changeInputSchema as d, resetInputSchema as f, MfaMethod as g, MfaCodeInput as h, RefreshSessionInput as i, apiLoginResultSchema as j, OidcInput as k, ResetInput as l, MFA_METHOD as m, AuthOpenApiFetchClient as n, refreshSessionInputSchema as o, resetRequestInputSchema as p, createAuthClient as r, refreshTokenInputSchema as s, AuthClientInitOptions as t, ResetRequestInput as u, TotpVerifyInput as v, BrowserLoginResult as w, totpVerifyInputSchema as x, mfaCodeInputSchema as y };
|
|
447
|
-
//# sourceMappingURL=authClient-
|
|
441
|
+
//# sourceMappingURL=authClient-ZiaKSKpp.d.ts.map
|
package/dist/billing/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
|
|
2
2
|
//#region src/clients/billing/billingClient.d.ts
|
|
3
3
|
declare const createBillingClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
4
4
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
package/dist/billing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BuKviWct.js";
|
|
2
2
|
//#region src/clients/billing/billingClient.d.ts
|
|
3
3
|
declare const createBillingClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
4
4
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
package/dist/billing/types.d.cts
CHANGED
package/dist/billing/types.d.ts
CHANGED
package/dist/chat/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
|
|
2
|
+
import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-CFurl1xe.cjs";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "../suggestions-BH3x7xU7.cjs";
|
|
4
4
|
//#region src/clients/chat/chatClient.d.ts
|
|
5
5
|
type ChatClientOptions = ClientInitOptions & {
|