@roundtable-bb/sdk 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.d.ts +193 -0
- package/dist/generated/client.d.ts.map +1 -0
- package/dist/generated/client.js +267 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/request.d.ts +10 -0
- package/dist/request.d.ts.map +1 -0
- package/dist/request.js +26 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/package.json +5 -1
- package/src/generated/client.ts +102 -40
- package/src/request.ts +2 -1
- package/codegen/bundle.mjs +0 -26
- package/codegen/extract-spec.ts +0 -27
- package/codegen/generate.ts +0 -298
- package/openapi.json +0 -13603
- package/project.json +0 -36
- package/tsconfig.json +0 -8
- package/tsconfig.lib.json +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2025.float16.d.ts","../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/tslib/modules/index.d.ts","../../../node_modules/zod/v4/core/json-schema.d.cts","../../../node_modules/zod/v4/core/standard-schema.d.cts","../../../node_modules/zod/v4/core/registries.d.cts","../../../node_modules/zod/v4/core/to-json-schema.d.cts","../../../node_modules/zod/v4/core/util.d.cts","../../../node_modules/zod/v4/core/versions.d.cts","../../../node_modules/zod/v4/core/schemas.d.cts","../../../node_modules/zod/v4/core/checks.d.cts","../../../node_modules/zod/v4/core/errors.d.cts","../../../node_modules/zod/v4/core/core.d.cts","../../../node_modules/zod/v4/core/parse.d.cts","../../../node_modules/zod/v4/core/regexes.d.cts","../../../node_modules/zod/v4/locales/ar.d.cts","../../../node_modules/zod/v4/locales/az.d.cts","../../../node_modules/zod/v4/locales/be.d.cts","../../../node_modules/zod/v4/locales/bg.d.cts","../../../node_modules/zod/v4/locales/ca.d.cts","../../../node_modules/zod/v4/locales/cs.d.cts","../../../node_modules/zod/v4/locales/da.d.cts","../../../node_modules/zod/v4/locales/de.d.cts","../../../node_modules/zod/v4/locales/el.d.cts","../../../node_modules/zod/v4/locales/en.d.cts","../../../node_modules/zod/v4/locales/eo.d.cts","../../../node_modules/zod/v4/locales/es.d.cts","../../../node_modules/zod/v4/locales/fa.d.cts","../../../node_modules/zod/v4/locales/fi.d.cts","../../../node_modules/zod/v4/locales/fr.d.cts","../../../node_modules/zod/v4/locales/fr-CA.d.cts","../../../node_modules/zod/v4/locales/he.d.cts","../../../node_modules/zod/v4/locales/hr.d.cts","../../../node_modules/zod/v4/locales/hu.d.cts","../../../node_modules/zod/v4/locales/hy.d.cts","../../../node_modules/zod/v4/locales/id.d.cts","../../../node_modules/zod/v4/locales/is.d.cts","../../../node_modules/zod/v4/locales/it.d.cts","../../../node_modules/zod/v4/locales/ja.d.cts","../../../node_modules/zod/v4/locales/ka.d.cts","../../../node_modules/zod/v4/locales/kh.d.cts","../../../node_modules/zod/v4/locales/km.d.cts","../../../node_modules/zod/v4/locales/ko.d.cts","../../../node_modules/zod/v4/locales/lt.d.cts","../../../node_modules/zod/v4/locales/mk.d.cts","../../../node_modules/zod/v4/locales/ms.d.cts","../../../node_modules/zod/v4/locales/nl.d.cts","../../../node_modules/zod/v4/locales/no.d.cts","../../../node_modules/zod/v4/locales/ota.d.cts","../../../node_modules/zod/v4/locales/ps.d.cts","../../../node_modules/zod/v4/locales/pl.d.cts","../../../node_modules/zod/v4/locales/pt.d.cts","../../../node_modules/zod/v4/locales/ro.d.cts","../../../node_modules/zod/v4/locales/ru.d.cts","../../../node_modules/zod/v4/locales/sl.d.cts","../../../node_modules/zod/v4/locales/sv.d.cts","../../../node_modules/zod/v4/locales/ta.d.cts","../../../node_modules/zod/v4/locales/th.d.cts","../../../node_modules/zod/v4/locales/tr.d.cts","../../../node_modules/zod/v4/locales/ua.d.cts","../../../node_modules/zod/v4/locales/uk.d.cts","../../../node_modules/zod/v4/locales/ur.d.cts","../../../node_modules/zod/v4/locales/uz.d.cts","../../../node_modules/zod/v4/locales/vi.d.cts","../../../node_modules/zod/v4/locales/zh-CN.d.cts","../../../node_modules/zod/v4/locales/zh-TW.d.cts","../../../node_modules/zod/v4/locales/yo.d.cts","../../../node_modules/zod/v4/locales/index.d.cts","../../../node_modules/zod/v4/core/doc.d.cts","../../../node_modules/zod/v4/core/api.d.cts","../../../node_modules/zod/v4/core/json-schema-processors.d.cts","../../../node_modules/zod/v4/core/json-schema-generator.d.cts","../../../node_modules/zod/v4/core/index.d.cts","../../../node_modules/zod/v4/classic/errors.d.cts","../../../node_modules/zod/v4/classic/parse.d.cts","../../../node_modules/zod/v4/classic/schemas.d.cts","../../../node_modules/zod/v4/classic/checks.d.cts","../../../node_modules/zod/v4/classic/compat.d.cts","../../../node_modules/zod/v4/classic/from-json-schema.d.cts","../../../node_modules/zod/v4/classic/iso.d.cts","../../../node_modules/zod/v4/classic/coerce.d.cts","../../../node_modules/zod/v4/classic/external.d.cts","../../../node_modules/zod/index.d.cts","../../types/dist/lib/common.d.ts","../../types/dist/lib/user.d.ts","../../types/dist/lib/category.d.ts","../../types/dist/lib/thread.d.ts","../../types/dist/lib/post.d.ts","../../types/dist/lib/group.d.ts","../../types/dist/lib/notification.d.ts","../../types/dist/lib/api-key.d.ts","../../types/dist/lib/search.d.ts","../../types/dist/lib/tenant.d.ts","../../types/dist/lib/platform.d.ts","../../types/dist/index.d.ts","../src/request.ts","../src/generated/client.ts","../src/index.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/undici-types/utility.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client-stats.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/round-robin-pool.d.ts","../../../node_modules/undici-types/h2c-client.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts"],"fileIdsList":[[159,211,212,214,231,232],[159,213,214,231,232],[214,231,232],[159,214,219,231,232,250],[159,214,215,220,225,231,232,234,247,258],[159,214,215,216,225,231,232,234],[159,214,231,232],[159,214,217,231,232,259],[159,214,218,219,226,231,232,236],[159,214,219,231,232,247,255],[159,214,220,222,225,231,232,234],[159,213,214,221,231,232],[159,214,222,223,231,232],[159,214,224,225,231,232],[159,213,214,225,231,232],[159,214,225,226,227,231,232,247,258],[159,214,225,226,227,231,232,242,247,250],[159,206,214,222,225,228,231,232,234,247,258],[159,214,225,226,228,229,231,232,234,247,255,258],[159,214,228,230,231,232,247,255,258],[157,158,159,160,161,162,163,164,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264],[159,214,225,231,232],[159,214,231,232,233,258],[159,214,222,225,231,232,234,247],[159,214,231,232,236],[159,214,231,232,237],[159,213,214,231,232,238],[159,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264],[159,214,231,232,240],[159,214,231,232,241],[159,214,225,231,232,242,243],[159,214,231,232,242,244,259,261],[159,214,226,231,232],[159,214,225,231,232,247,248,250],[159,214,231,232,249,250],[159,214,231,232,247,248],[159,214,231,232,250],[159,214,231,232,251],[159,211,214,231,232,247,252,258],[159,214,225,231,232,253,254],[159,214,231,232,253,254],[159,214,219,231,232,234,247,255],[159,214,231,232,256],[159,214,231,232,234,257],[159,214,228,231,232,241,258],[159,214,219,231,232,259],[159,214,231,232,247,260],[159,214,231,232,233,261],[159,214,231,232,262],[159,214,219,231,232],[159,206,214,231,232],[159,214,231,232,263],[159,206,214,225,227,231,232,238,247,250,258,260,261,263],[159,214,231,232,247,264],[60,159,214,231,232],[159,171,174,177,178,214,231,232,258],[159,174,214,231,232,247,258],[159,174,178,214,231,232,258],[159,214,231,232,247],[159,168,214,231,232],[159,172,214,231,232],[159,170,171,174,214,231,232,258],[159,214,231,232,234,255],[159,214,231,232,265],[159,168,214,231,232,265],[159,170,174,214,231,232,234,258],[159,165,166,167,169,173,214,225,231,232,247,258],[159,174,183,191,214,231,232],[159,166,172,214,231,232],[159,174,200,201,214,231,232],[159,166,169,174,214,231,232,250,258,265],[159,174,214,231,232],[159,170,174,214,231,232,258],[159,165,214,231,232],[159,168,169,170,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,214,231,232],[159,174,193,196,214,222,231,232],[159,174,183,184,185,214,231,232],[159,172,174,184,186,214,231,232],[159,173,214,231,232],[159,166,168,174,214,231,232],[159,174,178,184,186,214,231,232],[159,178,214,231,232],[159,172,174,177,214,231,232,258],[159,166,170,174,183,214,231,232],[159,174,193,214,231,232],[159,186,214,231,232],[159,168,174,200,214,231,232,250,263,265],[140,159,214,231,232],[131,159,214,231,232],[131,134,159,214,231,232],[66,126,129,131,132,133,134,135,136,137,138,139,159,214,231,232],[62,64,134,159,214,231,232],[131,132,159,214,231,232],[63,131,133,159,214,231,232],[64,66,68,69,70,71,159,214,231,232],[66,68,70,71,159,214,231,232],[66,68,70,159,214,231,232],[63,66,68,69,71,159,214,231,232],[62,64,65,66,67,68,69,70,71,72,73,126,127,128,129,130,159,214,231,232],[62,64,65,68,159,214,231,232],[64,65,68,159,214,231,232],[68,71,159,214,231,232],[62,63,65,66,67,69,70,71,159,214,231,232],[62,63,64,68,131,159,214,231,232],[68,69,70,71,159,214,231,232],[70,159,214,231,232],[74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,159,214,231,232],[61,153,154,159,214,231,232],[61,153,154,155,159,214,231,232],[61,159,214,231,232],[142,143,144,145,146,147,148,149,150,151,152,159,214,231,232],[141,159,214,231,232]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"f128dae7c44d8f35ee42e0a437000a57c9f06cc04f8b4fb42eebf44954d53dc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ecb8e347cb6b2a8927c09b86263663289418df375f5e68e11a0ae683776978f","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"c1a2e05eb6d7ca8d7e4a7f4c93ccf0c2857e842a64c98eaee4d85841ee9855e6","impliedFormat":1},{"version":"835fb2909ce458740fb4a49fc61709896c6864f5ce3db7f0a88f06c720d74d02","impliedFormat":1},{"version":"6e5857f38aa297a859cab4ec891408659218a5a2610cd317b6dcbef9979459cc","impliedFormat":1},{"version":"ead8e39c2e11891f286b06ae2aa71f208b1802661fcdb2425cffa4f494a68854","impliedFormat":1},{"version":"40ba6c32eb732a09e4446ade5cb6ad0c147f186f9c9dc6878b90b4418ad9f6ea","impliedFormat":1},{"version":"fdd814741843f85c98281522c58f5a646590ba9019fad2efaa95987655e0611b","impliedFormat":1},{"version":"c78aff4fb58b28b8f642d5095fc7eeb79f00e652a67caa19693af1adabb833c9","impliedFormat":1},{"version":"f80a08ced8818dc99359c0acd5b3f12762e1ce53758007759b0d4e503cbf4a5e","impliedFormat":1},{"version":"37935fa7564bcc6e0bc845b766a24391098d26f7c8245d6e8ab37bc016816e94","impliedFormat":1},{"version":"68add36d9632bc096d7245d24d6b0b8ad5f125183016102a3dad4c9c2438ccb0","impliedFormat":1},{"version":"3a819c2928ee06bbcc84e2797fd3558ae2ebb7e0ed8d87f71732fb2e2acc87b4","impliedFormat":1},{"version":"0f8a263f4c8595c8a07de52e3f3927640c44386c1aa2984de9eae50d75e613b2","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"346fffde7c32da87c2196eb7494422449dc2ca82d3b4e6bf55be1d1a33ffc2b0","impliedFormat":1},{"version":"add0ce7b77ba5b308492fa68f77f24d1ed1d9148534bdf05ac17c30763fc1a79","impliedFormat":1},{"version":"8b5875e4958528042103fdd775e106a7f76bafc29709f0690df9a7d2241d52a7","impliedFormat":1},{"version":"2f67911e4bf4e0717dc2ded248ce2d5e4398d945ee13889a6852c1233ea41508","impliedFormat":1},{"version":"d8430c275b0f59417ea8e173cfb888a4477b430ec35b595bf734f3ec7a7d729f","impliedFormat":1},{"version":"69364df1c776372d7df1fb46a6cb3a6bf7f55e700f533a104e3f9d70a32bec18","impliedFormat":1},{"version":"6042774c61ece4ba77b3bf375f15942eb054675b7957882a00c22c0e4fe5865c","impliedFormat":1},{"version":"5a3bd57ed7a9d9afef74c75f77fce79ba3c786401af9810cdf45907c4e93f30e","impliedFormat":1},{"version":"aef26cf95593c8ace1c62c4724f9afac77bdfa756fb8a00613cd152117cb2f43","impliedFormat":1},{"version":"30db853bb2e60170ba11e39ab48bacecb32d06d4def89eedf17e58ebab762a65","impliedFormat":1},{"version":"e27451b24234dfed45f6cf22112a04955183a99c42a2691fb4936d63cfe42761","impliedFormat":1},{"version":"2316301dd223d31962d917999acf8e543e0119c5d24ec984c9f22cb23247160c","impliedFormat":1},{"version":"58d65a2803c3b6629b0e18c8bf1bc883a686fcf0333230dd0151ab6e85b74307","impliedFormat":1},{"version":"e818471014c77c103330aee11f00a7a00b37b35500b53ea6f337aefacd6174c9","impliedFormat":1},{"version":"268fd6d9f2e807a39a6c5aa654b00f949feb63d3faa7dd0f9bba7dde9172159c","impliedFormat":1},{"version":"29f823cbe0166e10e7176a94afe609a24b9e5af3858628c541ff8ce1727023cd","impliedFormat":1},"44123b6a6f3f302dadb37ed3491d4e0e18e87aafac891c20b76f29ac77f62d91","46bbea540033e4a670dccb18897ffb8088ac65043bd2f8a3278c8322d8b168b2","9c08a9929611f9b29ed736d2986f391bf4c025ff08bf711c8a5f0100f2121dc4","eb04e9631eaf2f90053d730e58b08a41f4af3495418e9564222c33705c51e75a","69461a534ca542c080845a519738c0e47d661373e2f7f628b46802971e50312d","f624bffe3c5a30f32c2e036eeb4e8867eba5f756ba23bde7a35f93f0773d7494","005c1a70457fc3afec16c3471ea59061d34b99ecee471c48e697c85fa52fa9b5","194c468fbca684d3c9c74d8097daa0e0f6700aecb9e76cabc545860247732882","133bfeeb257ed04e29a124280e6bb66e8c2ecf0cf3fd1f3e2e2e11dcb7093121","a1f1189d8468619d5e179016b5d8a386d51ff562637bc62beb7e3d7acf94ed50","a5fd0637ed1b6fcbae0cb69a606dd84b5e6d1f3d5b9d5e40bef79fadab37a3d4","456c43008b8ea8b65d91c6092a26e4c68bc422927cdf7129fa5194ce48af78b0",{"version":"36e15d1d4a7aec4b8951d38b30dc93e99f4c34209ea3ab432167b03c9a41580f","signature":"22bde53bdea190dbcfd0d12e14e7f7d5f21aaa4b41ba8cd0b22c4ab48440ef7f"},{"version":"dbbb4532c66db4c4d58cc957b10156c9ab0947ec045ee0ee5b85b4eb1459e6ca","signature":"52719cc255dbc9c9d13aff13ee54ea229a80ad3bf956dd4292d9e979d6252b17"},{"version":"760b556ee5d97faa46a88b84b6aef112ac4eeb1018085a2e02ecec0128a054fe","signature":"f1145d257995220515d9fed3d9826c9950563b2ef022b884bb5f2edfa1ecd534"},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"10ec5e82144dfac6f04fa5d1d6c11763b3e4dbbac6d99101427219ab3e2ae887","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"074de5b2fdead0165a2757e3aaef20f27a6347b1c36adea27d51456795b37682","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"24371e69a38fc33e268d4a8716dbcda430d6c2c414a99ff9669239c4b8f40dea","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"3e11fce78ad8c0e1d1db4ba5f0652285509be3acdd519529bc8fcef85f7dafd9","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"9c32412007b5662fd34a8eb04292fb5314ec370d7016d1c2fb8aa193c807fe22","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"6ebe8ebb8659aaa9d1acbf3710d7dae3e923e97610238b9511c25dc39023a166","impliedFormat":1},{"version":"e85d7f8068f6a26710bff0cc8c0fc5e47f71089c3780fbede05857331d2ddec9","impliedFormat":1},{"version":"7befaf0e76b5671be1d47b77fcc65f2b0aad91cc26529df1904f4a7c46d216e9","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"c63b9ada8c72f95aac5db92aea07e5e87ec810353cdf63b2d78f49a58662cf6c","impliedFormat":1},{"version":"1cc2a09e1a61a5222d4174ab358a9f9de5e906afe79dbf7363d871a7edda3955","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"b64d4d1c5f877f9c666e98e833f0205edb9384acc46e98a1fef344f64d6aba44","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"c9381908473a1c92cb8c516b184e75f4d226dad95c3a85a5af35f670064d9a2f","impliedFormat":1},{"version":"f724236417941ea77ec8d38c6b7021f5fb7f8521c7f8c1538e87661f2c6a0774","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"c06b2652ffeb89afd0f1c52c165ced77032f9cd09bc481153fbd6b5504c69494","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"9d8f9e63e29a3396285620908e7f14d874d066caea747dc4b2c378f0599166b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"612422d5ba6b4a5c4537f423e9199645468ad80a689801da63ab7edb43f7b835","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"1cbdcdef62bf42688e5d825898c3a59458466c48ad8a4ef3f88d8a1cd04310d6","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc8c6f5322961b56d9906601b20798725df60baeab45ec014fba9f795d5596fd","impliedFormat":1},{"version":"67e435fa530778903f5525904e6645b7368eb5ac622055febd19bb399e328ccd","impliedFormat":1},{"version":"060d305fe4494d8cb2b99d620928d369d1ee55c1645f5e729a2aca07d0f108cb","impliedFormat":1},{"version":"5b22bf96be06fca1e134e3a85351ffe7aa2edf0c9a5bd175b7239ee48186dbf5","impliedFormat":1},{"version":"0c50296ee73dae94efc3f0da4936b1146ca6ce2217acfabb44c19c9a33fa30e5","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"5b48cc670da1dfe926036deaf349085caf822def460a6d50de23f1cc12a5f8cd","impliedFormat":1},{"version":"418f34087d52d001e2688a6282a5de9bf583ff771ed5546af0ae36e4f60a458b","affectsGlobalScope":true,"impliedFormat":1},{"version":"036c9a03b01281f99f8251fdc7088e894566be44b3f139a9d48501a978b611df","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"04bf1aa481d1adfb16d93d76e44ce71c51c8ef68039d849926551199489637f6","impliedFormat":1},{"version":"2c9adcc85574b002c9a6311ff2141055769e0071856ec979d92ff989042b1f1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1569ad5969ae0de6ad0bdfaaab0dabcd8878bc3147ab096206eed2019bb84e7f","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"42a350ce4f6f291198dc89833afcc4fd078248b4e1fdc9d05c846c66a670f710","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"b03754211d839cdc48979996525a32eb62130682c2f9801dfc2f25533ce7238d","impliedFormat":1},{"version":"3910dab597c40e173bf0e0d419d3ce9682c54ebf6ae84849f9b829b1451a17ec","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"486c074a5c0f2254345c0d1c9540380f5463999e42d7e1a159305ea823d3c4b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"f4d99ac08c4097a3cc202bec2c7198c19dcdd80d4ec6c62d1356b10d03b119d5","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"ca77e83162eccec633513723d178d4203bdd5465297267696be08013bab0aa1d","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"f61c153d5abbe4381a1fba0d41be0babdd5de51c626ee7ff14cede14dedc33f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7803171d745ab18e77f16bf82e742268ff72b7f7382ab191e4277527580c2d89","affectsGlobalScope":true,"impliedFormat":1},{"version":"0e9ba65cd3d6d194bdda7343f9f2917f7144ead96a924ca58d1a14919992dc20","impliedFormat":1},{"version":"255d948f87f24ffd57bcb2fdf95792fd418a2e1f712a98cf2cce88744d75085c","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"0b0dfb2d3e8420ead06f6a11acfb02ddcec42257e6ce391993e895ba0af86de4","affectsGlobalScope":true,"impliedFormat":1},{"version":"bfd3b3c21a56104693183942e221c1896ee23bcb8f8d91ab0b941f7b32985411","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1}],"root":[[154,156]],"options":{"composite":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":200,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedSideEffectImports":false,"noUnusedLocals":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo"},"referencedMap":[[211,1],[212,1],[213,2],[159,3],[214,4],[215,5],[216,6],[157,7],[217,8],[218,9],[219,10],[220,11],[221,12],[222,13],[223,13],[224,14],[225,15],[226,16],[227,17],[160,7],[158,7],[228,18],[229,19],[230,20],[265,21],[231,22],[232,7],[233,23],[234,24],[236,25],[237,26],[238,27],[239,28],[240,29],[241,30],[242,31],[243,31],[244,32],[245,7],[246,33],[247,34],[249,35],[248,36],[250,37],[251,38],[252,39],[253,40],[254,41],[255,42],[256,43],[257,44],[258,45],[259,46],[260,47],[261,48],[262,49],[161,7],[162,50],[163,7],[164,7],[207,51],[208,52],[209,7],[210,37],[263,53],[264,54],[235,7],[61,55],[60,7],[58,7],[59,7],[11,7],[10,7],[2,7],[12,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[3,7],[20,7],[21,7],[4,7],[22,7],[26,7],[23,7],[24,7],[25,7],[27,7],[28,7],[29,7],[5,7],[30,7],[31,7],[32,7],[33,7],[6,7],[37,7],[34,7],[35,7],[36,7],[38,7],[7,7],[39,7],[44,7],[45,7],[40,7],[41,7],[42,7],[43,7],[8,7],[49,7],[46,7],[47,7],[48,7],[50,7],[9,7],[51,7],[52,7],[53,7],[55,7],[54,7],[56,7],[1,7],[57,7],[183,56],[195,57],[180,58],[196,59],[205,60],[171,61],[172,62],[170,63],[204,64],[199,65],[203,66],[174,67],[192,68],[173,69],[202,70],[168,71],[169,65],[175,72],[176,7],[182,73],[179,72],[166,74],[206,75],[197,76],[186,77],[185,72],[187,78],[190,79],[184,80],[188,81],[200,64],[177,82],[178,83],[191,84],[167,59],[194,85],[193,72],[181,83],[189,86],[198,7],[165,7],[201,87],[141,88],[135,89],[139,90],[136,90],[132,89],[140,91],[137,92],[138,90],[133,93],[134,94],[128,95],[69,96],[71,97],[127,7],[70,98],[131,99],[130,100],[129,101],[62,7],[72,96],[73,7],[64,102],[68,103],[63,7],[65,104],[66,105],[67,7],[74,106],[75,106],[76,106],[77,106],[78,106],[79,106],[80,106],[81,106],[82,106],[83,106],[84,106],[85,106],[86,106],[87,106],[89,106],[88,106],[90,106],[91,106],[92,106],[93,106],[94,106],[126,107],[95,106],[96,106],[97,106],[98,106],[99,106],[100,106],[101,106],[102,106],[103,106],[104,106],[105,106],[106,106],[107,106],[109,106],[108,106],[110,106],[111,106],[112,106],[113,106],[114,106],[115,106],[116,106],[117,106],[118,106],[119,106],[120,106],[121,106],[122,106],[125,106],[123,106],[124,106],[155,108],[156,109],[154,110],[153,111],[149,112],[144,112],[142,112],[147,112],[148,112],[152,112],[146,112],[150,112],[151,112],[145,112],[143,112]],"latestChangedDtsFile":"./index.d.ts","version":"6.0.3"}
|
package/package.json
CHANGED
package/src/generated/client.ts
CHANGED
|
@@ -1,229 +1,291 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit manually.
|
|
2
2
|
// Run `nx run @roundtable-bb/sdk:codegen` to regenerate.
|
|
3
3
|
|
|
4
|
-
import type { ApiKey, Category, CreateApiKey, CreateGroup, CreatePost, CreateTenant, CreateThread, CreatedApiKey, GrantPlatformOwner, Id, Notification, PaginatedResponse, PlatformSetting, Post, SearchResponse, SetGroupCategories, SetThreadReadStatus, Tenant, TenantToken, Thread, ThreadReadStatus, UpdateGroup, UpdatePlatformSetting, UpdateThread, UpdateUserProfile, UserProfile } from '@roundtable-bb/types'
|
|
4
|
+
import type { ApiKey, Category, CreateApiKey, CreateCategory, CreateGroup, CreatePost, CreateTenant, CreateThread, CreatedApiKey, GrantPlatformOwner, Group, Id, Notification, PaginatedResponse, PlatformSetting, Post, ReorderCategory, SearchResponse, SearchResultType, SetGroupCategories, SetGroupPermissions, SetThreadReadStatus, SetUserGroups, Tenant, TenantToken, Thread, ThreadReadStatus, UpdateCategory, UpdateGroup, UpdatePlatformSetting, UpdateThread, UpdateUserProfile, UserMembership, UserProfile } from '@roundtable-bb/types'
|
|
5
5
|
import { request, type RoundtableClientOpts } from '../request.js'
|
|
6
6
|
|
|
7
7
|
export class RoundtableClient {
|
|
8
8
|
constructor(private readonly opts: RoundtableClientOpts) {}
|
|
9
9
|
|
|
10
|
+
/** Export a signed tenant backup (platform owners only) */
|
|
11
|
+
backupTenant(params: { id: string }, query?: { includeContent?: boolean }): Promise<unknown> {
|
|
12
|
+
return request(this.opts, 'GET', `/tenants/${params.id}/backup`, { query, useCredentials: true })
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Count read and unread notifications */
|
|
16
|
+
countNotifications(): Promise<unknown> {
|
|
17
|
+
return request(this.opts, 'GET', '/notifications/count', { useCredentials: true })
|
|
18
|
+
}
|
|
19
|
+
|
|
10
20
|
/** Create a platform-scoped API key (returned once in full) */
|
|
11
21
|
createApiKey(body: CreateApiKey): Promise<CreatedApiKey> {
|
|
12
|
-
return request(this.opts, 'POST', '/platform/api-keys', { body })
|
|
22
|
+
return request(this.opts, 'POST', '/platform/api-keys', { body, useCredentials: true })
|
|
13
23
|
}
|
|
14
24
|
|
|
15
|
-
/** Create a category (
|
|
16
|
-
createCategory(body:
|
|
17
|
-
return request(this.opts, 'POST', '/categories', { body })
|
|
25
|
+
/** Create a category (requires category.create permission) */
|
|
26
|
+
createCategory(body: CreateCategory): Promise<Category> {
|
|
27
|
+
return request(this.opts, 'POST', '/categories', { body, useCredentials: true })
|
|
18
28
|
}
|
|
19
29
|
|
|
20
|
-
/** Create a group (
|
|
21
|
-
createGroup(body: CreateGroup): Promise<
|
|
22
|
-
return request(this.opts, 'POST', '/groups', { body })
|
|
30
|
+
/** Create a group (requires group.create permission) */
|
|
31
|
+
createGroup(body: CreateGroup): Promise<Group> {
|
|
32
|
+
return request(this.opts, 'POST', '/groups', { body, useCredentials: true })
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
/** Create a post in a thread */
|
|
26
36
|
createPost(params: { threadId: string }, body: CreatePost): Promise<Post> {
|
|
37
|
+
if (!this.opts.token) throw new Error('createPost requires a token (API key or JWT)')
|
|
27
38
|
return request(this.opts, 'POST', `/threads/${params.threadId}/posts`, { body })
|
|
28
39
|
}
|
|
29
40
|
|
|
30
41
|
/** Create a new tenant (requires allow_tenant_creation platform setting or platform owner) */
|
|
31
42
|
createTenant(body: CreateTenant): Promise<Tenant> {
|
|
32
|
-
return request(this.opts, 'POST', '/tenants', { body })
|
|
43
|
+
return request(this.opts, 'POST', '/tenants', { body, useCredentials: true })
|
|
33
44
|
}
|
|
34
45
|
|
|
35
46
|
/** Create a thread (and its first post) */
|
|
36
47
|
createThread(params: { categoryId: string }, body: CreateThread): Promise<Thread> {
|
|
48
|
+
if (!this.opts.token) throw new Error('createThread requires a token (API key or JWT)')
|
|
37
49
|
return request(this.opts, 'POST', `/categories/${params.categoryId}/threads`, { body })
|
|
38
50
|
}
|
|
39
51
|
|
|
40
52
|
/** Delete a platform-scoped API key */
|
|
41
53
|
deleteApiKey(params: { id: string }): Promise<void> {
|
|
42
|
-
return request(this.opts, 'DELETE', `/platform/api-keys/${params.id}
|
|
54
|
+
return request(this.opts, 'DELETE', `/platform/api-keys/${params.id}`, { useCredentials: true })
|
|
43
55
|
}
|
|
44
56
|
|
|
45
|
-
/** Delete a category (
|
|
57
|
+
/** Delete a category (requires category.delete permission) */
|
|
46
58
|
deleteCategory(params: { id: string }): Promise<void> {
|
|
47
|
-
return request(this.opts, 'DELETE', `/categories/${params.id}
|
|
59
|
+
return request(this.opts, 'DELETE', `/categories/${params.id}`, { useCredentials: true })
|
|
48
60
|
}
|
|
49
61
|
|
|
50
|
-
/** Delete a group (
|
|
62
|
+
/** Delete a group (requires group.delete permission) */
|
|
51
63
|
deleteGroup(params: { id: string }): Promise<void> {
|
|
52
|
-
return request(this.opts, 'DELETE', `/groups/${params.id}
|
|
64
|
+
return request(this.opts, 'DELETE', `/groups/${params.id}`, { useCredentials: true })
|
|
53
65
|
}
|
|
54
66
|
|
|
55
67
|
/** Delete a notification */
|
|
56
68
|
deleteNotification(params: { id: string }): Promise<void> {
|
|
57
|
-
return request(this.opts, 'DELETE', `/notifications/${params.id}
|
|
69
|
+
return request(this.opts, 'DELETE', `/notifications/${params.id}`, { useCredentials: true })
|
|
58
70
|
}
|
|
59
71
|
|
|
60
72
|
/** Soft-delete a post */
|
|
61
73
|
deletePost(params: { id: string }): Promise<void> {
|
|
74
|
+
if (!this.opts.token) throw new Error('deletePost requires a token (API key or JWT)')
|
|
62
75
|
return request(this.opts, 'DELETE', `/posts/${params.id}`)
|
|
63
76
|
}
|
|
64
77
|
|
|
65
78
|
/** Delete a thread */
|
|
66
79
|
deleteThread(params: { id: string }): Promise<void> {
|
|
80
|
+
if (!this.opts.token) throw new Error('deleteThread requires a token (API key or JWT)')
|
|
67
81
|
return request(this.opts, 'DELETE', `/threads/${params.id}`)
|
|
68
82
|
}
|
|
69
83
|
|
|
70
84
|
/** Exchange session cookie for a short-lived tenant JWT */
|
|
71
85
|
exchangeTenantToken(): Promise<TenantToken> {
|
|
72
|
-
return request(this.opts, 'POST', '/tenant-token')
|
|
86
|
+
return request(this.opts, 'POST', '/tenant-token', { useCredentials: true })
|
|
73
87
|
}
|
|
74
88
|
|
|
75
89
|
/** Get a single category */
|
|
76
90
|
getCategory(params: { id: string }): Promise<Category> {
|
|
91
|
+
if (!this.opts.token) throw new Error('getCategory requires a token (API key or JWT)')
|
|
77
92
|
return request(this.opts, 'GET', `/categories/${params.id}`)
|
|
78
93
|
}
|
|
79
94
|
|
|
80
95
|
/** Get a group */
|
|
81
|
-
getGroup(params: { id: string }): Promise<
|
|
96
|
+
getGroup(params: { id: string }): Promise<Group> {
|
|
97
|
+
if (!this.opts.token) throw new Error('getGroup requires a token (API key or JWT)')
|
|
82
98
|
return request(this.opts, 'GET', `/groups/${params.id}`)
|
|
83
99
|
}
|
|
84
100
|
|
|
85
101
|
/** Get own profile */
|
|
86
102
|
getMe(): Promise<UserProfile> {
|
|
103
|
+
if (!this.opts.token) throw new Error('getMe requires a token (API key or JWT)')
|
|
87
104
|
return request(this.opts, 'GET', '/users/me')
|
|
88
105
|
}
|
|
89
106
|
|
|
107
|
+
/** Get the current owner of a tenant */
|
|
108
|
+
getTenantOwner(params: { id: string }): Promise<unknown> {
|
|
109
|
+
return request(this.opts, 'GET', `/tenants/${params.id}/owner`, { useCredentials: true })
|
|
110
|
+
}
|
|
111
|
+
|
|
90
112
|
/** Get a single thread */
|
|
91
113
|
getThread(params: { id: string }): Promise<Thread> {
|
|
114
|
+
if (!this.opts.token) throw new Error('getThread requires a token (API key or JWT)')
|
|
92
115
|
return request(this.opts, 'GET', `/threads/${params.id}`)
|
|
93
116
|
}
|
|
94
117
|
|
|
95
118
|
/** Get read status for the current user in a thread */
|
|
96
119
|
getThreadReadStatus(params: { id: string }): Promise<ThreadReadStatus> {
|
|
120
|
+
if (!this.opts.token) throw new Error('getThreadReadStatus requires a token (API key or JWT)')
|
|
97
121
|
return request(this.opts, 'GET', `/threads/${params.id}/read-status`)
|
|
98
122
|
}
|
|
99
123
|
|
|
100
124
|
/** Get a user profile by ID */
|
|
101
125
|
getUser(params: { id: string }): Promise<UserProfile> {
|
|
126
|
+
if (!this.opts.token) throw new Error('getUser requires a token (API key or JWT)')
|
|
102
127
|
return request(this.opts, 'GET', `/users/${params.id}`)
|
|
103
128
|
}
|
|
104
129
|
|
|
105
|
-
/** Get user
|
|
106
|
-
getUserMembership(params: { id: string }): Promise<
|
|
130
|
+
/** Get user group memberships in the current tenant */
|
|
131
|
+
getUserMembership(params: { id: string }): Promise<UserMembership> {
|
|
132
|
+
if (!this.opts.token) throw new Error('getUserMembership requires a token (API key or JWT)')
|
|
107
133
|
return request(this.opts, 'GET', `/users/${params.id}/membership`)
|
|
108
134
|
}
|
|
109
135
|
|
|
110
136
|
/** Grant platform owner status to a user (platform owners only) */
|
|
111
137
|
grantPlatformOwner(body: GrantPlatformOwner): Promise<void> {
|
|
112
|
-
return request(this.opts, 'POST', '/platform/owners', { body })
|
|
138
|
+
return request(this.opts, 'POST', '/platform/owners', { body, useCredentials: true })
|
|
113
139
|
}
|
|
114
140
|
|
|
115
141
|
/** List your platform-scoped API keys */
|
|
116
142
|
listApiKeys(): Promise<ApiKey[]> {
|
|
117
|
-
return request(this.opts, 'GET', '/platform/api-keys')
|
|
143
|
+
return request(this.opts, 'GET', '/platform/api-keys', { useCredentials: true })
|
|
118
144
|
}
|
|
119
145
|
|
|
120
146
|
/** List visible categories for the requesting user */
|
|
121
147
|
listCategories(): Promise<Category[]> {
|
|
148
|
+
if (!this.opts.token) throw new Error('listCategories requires a token (API key or JWT)')
|
|
122
149
|
return request(this.opts, 'GET', '/categories')
|
|
123
150
|
}
|
|
124
151
|
|
|
125
152
|
/** List groups */
|
|
126
|
-
listGroups(): Promise<
|
|
153
|
+
listGroups(): Promise<Group[]> {
|
|
154
|
+
if (!this.opts.token) throw new Error('listGroups requires a token (API key or JWT)')
|
|
127
155
|
return request(this.opts, 'GET', '/groups')
|
|
128
156
|
}
|
|
129
157
|
|
|
130
158
|
/** Get unified notification inbox */
|
|
131
159
|
listNotifications(query?: { cursor?: Id; limit?: number; unreadOnly?: boolean }): Promise<PaginatedResponse<Notification>> {
|
|
132
|
-
return request(this.opts, 'GET', '/notifications', { query })
|
|
160
|
+
return request(this.opts, 'GET', '/notifications', { query, useCredentials: true })
|
|
133
161
|
}
|
|
134
162
|
|
|
135
163
|
/** List platform owner user IDs (platform owners only) */
|
|
136
164
|
listPlatformOwners(): Promise<string[]> {
|
|
137
|
-
return request(this.opts, 'GET', '/platform/owners')
|
|
165
|
+
return request(this.opts, 'GET', '/platform/owners', { useCredentials: true })
|
|
138
166
|
}
|
|
139
167
|
|
|
140
168
|
/** List all platform settings (platform owners only) */
|
|
141
169
|
listPlatformSettings(): Promise<PlatformSetting[]> {
|
|
142
|
-
return request(this.opts, 'GET', '/platform/settings')
|
|
170
|
+
return request(this.opts, 'GET', '/platform/settings', { useCredentials: true })
|
|
143
171
|
}
|
|
144
172
|
|
|
145
173
|
/** List posts in a thread — cursor pagination or anchor via ?from=postId */
|
|
146
174
|
listPosts(params: { threadId: string }, query?: { cursor?: Id; limit?: number; from?: Id }): Promise<PaginatedResponse<Post>> {
|
|
175
|
+
if (!this.opts.token) throw new Error('listPosts requires a token (API key or JWT)')
|
|
147
176
|
return request(this.opts, 'GET', `/threads/${params.threadId}/posts`, { query })
|
|
148
177
|
}
|
|
149
178
|
|
|
150
179
|
/** List threads in a category */
|
|
151
180
|
listThreads(params: { categoryId: string }, query?: { cursor?: Id; limit?: number }): Promise<PaginatedResponse<Thread>> {
|
|
181
|
+
if (!this.opts.token) throw new Error('listThreads requires a token (API key or JWT)')
|
|
152
182
|
return request(this.opts, 'GET', `/categories/${params.categoryId}/threads`, { query })
|
|
153
183
|
}
|
|
154
184
|
|
|
155
185
|
/** Mark a notification as read */
|
|
156
186
|
markNotificationRead(params: { id: string }): Promise<Notification> {
|
|
157
|
-
return request(this.opts, 'PATCH', `/notifications/${params.id}/read
|
|
187
|
+
return request(this.opts, 'PATCH', `/notifications/${params.id}/read`, { useCredentials: true })
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** Set the position of each category (requires category.edit permission) */
|
|
191
|
+
reorderCategories(body: ReorderCategory): Promise<void> {
|
|
192
|
+
return request(this.opts, 'PUT', '/categories/reorder', { body, useCredentials: true })
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** Set the position of each group (requires group.edit permission) */
|
|
196
|
+
reorderGroups(body: ReorderCategory): Promise<void> {
|
|
197
|
+
return request(this.opts, 'PUT', '/groups/reorder', { body, useCredentials: true })
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** Restore a tenant from a signed backup (platform owners only) */
|
|
201
|
+
restoreTenant(params: { id: string }, body: unknown): Promise<unknown> {
|
|
202
|
+
return request(this.opts, 'POST', `/tenants/${params.id}/restore`, { body, useCredentials: true })
|
|
158
203
|
}
|
|
159
204
|
|
|
160
205
|
/** Revoke platform owner status from a user (platform owners only) */
|
|
161
206
|
revokePlatformOwner(params: { userId: string }): Promise<void> {
|
|
162
|
-
return request(this.opts, 'DELETE', `/platform/owners/${params.userId}
|
|
207
|
+
return request(this.opts, 'DELETE', `/platform/owners/${params.userId}`, { useCredentials: true })
|
|
163
208
|
}
|
|
164
209
|
|
|
165
210
|
/** Full-text search across threads and posts (visible categories only) */
|
|
166
|
-
search(query?: { q: string; categoryId?: Id; limit?: number }): Promise<SearchResponse> {
|
|
211
|
+
search(query?: { q: string; type?: SearchResultType; categoryId?: Id; limit?: number }): Promise<SearchResponse> {
|
|
212
|
+
if (!this.opts.token) throw new Error('search requires a token (API key or JWT)')
|
|
167
213
|
return request(this.opts, 'GET', '/search', { query })
|
|
168
214
|
}
|
|
169
215
|
|
|
170
|
-
/** Set category visibility for a group (
|
|
171
|
-
setGroupCategories(params: { id: string }, body: SetGroupCategories): Promise<
|
|
216
|
+
/** Set category visibility for a group (requires group.edit permission) */
|
|
217
|
+
setGroupCategories(params: { id: string }, body: SetGroupCategories): Promise<Group> {
|
|
218
|
+
if (!this.opts.token) throw new Error('setGroupCategories requires a token (API key or JWT)')
|
|
172
219
|
return request(this.opts, 'PUT', `/groups/${params.id}/categories`, { body })
|
|
173
220
|
}
|
|
174
221
|
|
|
175
|
-
/** Replace all permissions for a group (
|
|
176
|
-
setGroupPermissions(params: { id: string }, body:
|
|
222
|
+
/** Replace all permissions for a group (requires group.edit permission) */
|
|
223
|
+
setGroupPermissions(params: { id: string }, body: SetGroupPermissions): Promise<Group> {
|
|
224
|
+
if (!this.opts.token) throw new Error('setGroupPermissions requires a token (API key or JWT)')
|
|
177
225
|
return request(this.opts, 'PUT', `/groups/${params.id}/permissions`, { body })
|
|
178
226
|
}
|
|
179
227
|
|
|
180
228
|
/** Mark a thread as read up to a given post */
|
|
181
229
|
setThreadReadStatus(params: { id: string }, body: SetThreadReadStatus): Promise<void> {
|
|
230
|
+
if (!this.opts.token) throw new Error('setThreadReadStatus requires a token (API key or JWT)')
|
|
182
231
|
return request(this.opts, 'PUT', `/threads/${params.id}/read-status`, { body })
|
|
183
232
|
}
|
|
184
233
|
|
|
185
|
-
/**
|
|
186
|
-
|
|
234
|
+
/** Replace user group assignments in the current tenant (requires group.assign permission) */
|
|
235
|
+
setUserGroups(params: { id: string }, body: SetUserGroups): Promise<UserMembership> {
|
|
236
|
+
if (!this.opts.token) throw new Error('setUserGroups requires a token (API key or JWT)')
|
|
187
237
|
return request(this.opts, 'PUT', `/users/${params.id}/membership`, { body })
|
|
188
238
|
}
|
|
189
239
|
|
|
190
240
|
/** Subscribe to a thread */
|
|
191
241
|
subscribeThread(params: { id: string }): Promise<void> {
|
|
242
|
+
if (!this.opts.token) throw new Error('subscribeThread requires a token (API key or JWT)')
|
|
192
243
|
return request(this.opts, 'POST', `/threads/${params.id}/subscribe`)
|
|
193
244
|
}
|
|
194
245
|
|
|
246
|
+
/** Transfer tenant ownership to another existing user (only the current owner can do this) */
|
|
247
|
+
transferTenantOwner(params: { id: string }, body: GrantPlatformOwner): Promise<void> {
|
|
248
|
+
return request(this.opts, 'PUT', `/tenants/${params.id}/owner`, { body, useCredentials: true })
|
|
249
|
+
}
|
|
250
|
+
|
|
195
251
|
/** Unsubscribe from a thread */
|
|
196
252
|
unsubscribeThread(params: { id: string }): Promise<void> {
|
|
253
|
+
if (!this.opts.token) throw new Error('unsubscribeThread requires a token (API key or JWT)')
|
|
197
254
|
return request(this.opts, 'DELETE', `/threads/${params.id}/subscribe`)
|
|
198
255
|
}
|
|
199
256
|
|
|
200
|
-
/** Update a category (
|
|
201
|
-
updateCategory(params: { id: string }, body:
|
|
257
|
+
/** Update a category (requires category.edit permission) */
|
|
258
|
+
updateCategory(params: { id: string }, body: UpdateCategory): Promise<Category> {
|
|
259
|
+
if (!this.opts.token) throw new Error('updateCategory requires a token (API key or JWT)')
|
|
202
260
|
return request(this.opts, 'PATCH', `/categories/${params.id}`, { body })
|
|
203
261
|
}
|
|
204
262
|
|
|
205
|
-
/** Update a group (
|
|
206
|
-
updateGroup(params: { id: string }, body: UpdateGroup): Promise<
|
|
263
|
+
/** Update a group (requires group.edit permission) */
|
|
264
|
+
updateGroup(params: { id: string }, body: UpdateGroup): Promise<Group> {
|
|
265
|
+
if (!this.opts.token) throw new Error('updateGroup requires a token (API key or JWT)')
|
|
207
266
|
return request(this.opts, 'PATCH', `/groups/${params.id}`, { body })
|
|
208
267
|
}
|
|
209
268
|
|
|
210
269
|
/** Update own profile */
|
|
211
270
|
updateMe(body: UpdateUserProfile): Promise<UserProfile> {
|
|
271
|
+
if (!this.opts.token) throw new Error('updateMe requires a token (API key or JWT)')
|
|
212
272
|
return request(this.opts, 'PATCH', '/users/me', { body })
|
|
213
273
|
}
|
|
214
274
|
|
|
215
275
|
/** Update a platform setting (platform owners only) */
|
|
216
276
|
updatePlatformSetting(params: { key: string }, body: UpdatePlatformSetting): Promise<PlatformSetting> {
|
|
217
|
-
return request(this.opts, 'PATCH', `/platform/settings/${params.key}`, { body })
|
|
277
|
+
return request(this.opts, 'PATCH', `/platform/settings/${params.key}`, { body, useCredentials: true })
|
|
218
278
|
}
|
|
219
279
|
|
|
220
|
-
/** Edit a post (author or
|
|
280
|
+
/** Edit a post (author or post.edit permission) */
|
|
221
281
|
updatePost(params: { id: string }, body: CreatePost): Promise<Post> {
|
|
282
|
+
if (!this.opts.token) throw new Error('updatePost requires a token (API key or JWT)')
|
|
222
283
|
return request(this.opts, 'PATCH', `/posts/${params.id}`, { body })
|
|
223
284
|
}
|
|
224
285
|
|
|
225
286
|
/** Update a thread (title, pin, lock, move) */
|
|
226
287
|
updateThread(params: { id: string }, body: UpdateThread): Promise<Thread> {
|
|
288
|
+
if (!this.opts.token) throw new Error('updateThread requires a token (API key or JWT)')
|
|
227
289
|
return request(this.opts, 'PATCH', `/threads/${params.id}`, { body })
|
|
228
290
|
}
|
|
229
291
|
}
|
package/src/request.ts
CHANGED
|
@@ -7,7 +7,7 @@ export async function request<T>(
|
|
|
7
7
|
opts: RoundtableClientOpts,
|
|
8
8
|
method: string,
|
|
9
9
|
path: string,
|
|
10
|
-
options?: { body?: unknown; query?: Record<string, unknown
|
|
10
|
+
options?: { body?: unknown; query?: Record<string, unknown>; useCredentials?: boolean },
|
|
11
11
|
): Promise<T> {
|
|
12
12
|
const url = new URL(`${opts.baseUrl}${path}`)
|
|
13
13
|
if (options?.query) {
|
|
@@ -18,6 +18,7 @@ export async function request<T>(
|
|
|
18
18
|
|
|
19
19
|
const res = await fetch(url.toString(), {
|
|
20
20
|
method,
|
|
21
|
+
credentials: options?.useCredentials ? 'include' : undefined,
|
|
21
22
|
headers: {
|
|
22
23
|
...(options?.body !== undefined ? { 'Content-Type': 'application/json' } : {}),
|
|
23
24
|
...(opts.token ? { Authorization: `Bearer ${opts.token}` } : {}),
|
package/codegen/bundle.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bundles the SDK as an IIFE for legacy frontends (window.Roundtable).
|
|
3
|
-
* Run: node packages/sdk/codegen/bundle.mjs
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { build } from 'esbuild'
|
|
7
|
-
import { join, dirname } from 'path'
|
|
8
|
-
import { fileURLToPath } from 'url'
|
|
9
|
-
|
|
10
|
-
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
11
|
-
const root = join(__dirname, '..')
|
|
12
|
-
|
|
13
|
-
await build({
|
|
14
|
-
entryPoints: [join(root, 'src/index.ts')],
|
|
15
|
-
bundle: true,
|
|
16
|
-
platform: 'browser',
|
|
17
|
-
format: 'iife',
|
|
18
|
-
globalName: 'Roundtable',
|
|
19
|
-
outfile: join(root, 'dist/roundtable.iife.js'),
|
|
20
|
-
minify: true,
|
|
21
|
-
sourcemap: true,
|
|
22
|
-
target: ['es2017'],
|
|
23
|
-
external: [],
|
|
24
|
-
})
|
|
25
|
-
|
|
26
|
-
console.log('✓ IIFE bundle written to dist/roundtable.iife.js')
|
package/codegen/extract-spec.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Boots the Fastify app (without real connections) and writes openapi.json.
|
|
3
|
-
* Run from workspace root: tsx packages/sdk/codegen/extract-spec.ts
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// Dummy env vars — prevent real connection attempts
|
|
7
|
-
process.env['DATABASE_URL'] ??= 'postgresql://x:x@localhost:5432/x'
|
|
8
|
-
process.env['VALKEY_URL'] ??= 'redis://localhost:6379'
|
|
9
|
-
process.env['JWT_SECRET'] ??= 'dummy-for-spec-extraction'
|
|
10
|
-
process.env['BETTER_AUTH_SECRET'] ??= 'dummy-for-spec-extraction'
|
|
11
|
-
process.env['MAIN_DOMAIN'] ??= 'auth.localhost'
|
|
12
|
-
process.env['PLATFORM_OWNER_IDS'] ??= ''
|
|
13
|
-
|
|
14
|
-
import { writeFileSync } from 'fs'
|
|
15
|
-
import { join, dirname } from 'path'
|
|
16
|
-
import { fileURLToPath } from 'url'
|
|
17
|
-
import { buildApp } from '../../../apps/api/src/app.js'
|
|
18
|
-
|
|
19
|
-
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
20
|
-
|
|
21
|
-
const app = await buildApp()
|
|
22
|
-
await app.ready()
|
|
23
|
-
const spec = app.swagger()
|
|
24
|
-
const outPath = join(__dirname, '../openapi.json')
|
|
25
|
-
writeFileSync(outPath, JSON.stringify(spec, null, 2))
|
|
26
|
-
console.log(`✓ OpenAPI spec written to ${outPath}`)
|
|
27
|
-
await app.close()
|