@burdenoff/be-sdk 2026.1110.2 → 2026.1110.4
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/configs/eslint/index.js +1 -1
- package/configs/tsconfig/tsconfig.json +1 -1
- package/dist/EventQueueFactory-9NGZV9jl.js +1457 -0
- package/dist/EventQueueFactory-9NGZV9jl.js.map +1 -0
- package/dist/RedisStreamsConnection-CY8WySJy.js +283 -0
- package/dist/RedisStreamsConnection-CY8WySJy.js.map +1 -0
- package/dist/activity/index.d.ts +165 -0
- package/dist/activity/index.js +389 -0
- package/dist/activity/index.js.map +1 -0
- package/dist/ai-credits/index.d.ts +2 -3
- package/dist/ai-credits/index.js +3 -4
- package/dist/ai-credits/index.js.map +1 -1
- package/dist/ai-credits-xxfwGpHS.js +546 -0
- package/dist/ai-credits-xxfwGpHS.js.map +1 -0
- package/dist/{assistant-session-CJZhF4D6.d.ts → assistant-session-DA5ZKJOr.d.ts} +4 -5
- package/dist/auth/index.d.ts +2 -77
- package/dist/auth/index.js +3 -7
- package/dist/auth/index.js.map +1 -1
- package/dist/auth-C5ctwSLp.js +228 -0
- package/dist/auth-C5ctwSLp.js.map +1 -0
- package/dist/bootstrap/index.d.ts +74 -0
- package/dist/bootstrap/index.js +282 -0
- package/dist/bootstrap/index.js.map +1 -0
- package/dist/cache/index.d.ts +2 -3
- package/dist/cache/index.js +3 -7
- package/dist/cache/index.js.map +1 -1
- package/dist/cache-CU0uLwcS.js +1837 -0
- package/dist/cache-CU0uLwcS.js.map +1 -0
- package/dist/captcha/index.d.ts +2 -1
- package/dist/captcha/index.js +3 -3
- package/dist/captcha/index.js.map +1 -1
- package/dist/captcha-BT7yh1YS.js +77 -0
- package/dist/captcha-BT7yh1YS.js.map +1 -0
- package/dist/client/internal-client.d.ts +4 -7
- package/dist/client/internal-client.js +172 -4
- package/dist/client/internal-client.js.map +1 -1
- package/dist/client-BgAEvDC2.d.ts +86 -0
- package/dist/client-sAJTrb4i.js +565 -0
- package/dist/client-sAJTrb4i.js.map +1 -0
- package/dist/collector-endpoint-iyQYeI50.js +50 -0
- package/dist/collector-endpoint-iyQYeI50.js.map +1 -0
- package/dist/context/index.d.ts +35 -0
- package/dist/context/index.js +283 -0
- package/dist/context/index.js.map +1 -0
- package/dist/crypto/index.d.ts +2 -1
- package/dist/crypto/index.js +3 -3
- package/dist/crypto/index.js.map +1 -1
- package/dist/crypto-DO9fM0FO.js +145 -0
- package/dist/crypto-DO9fM0FO.js.map +1 -0
- package/dist/database/index.d.ts +104 -108
- package/dist/database/index.js +468 -6
- package/dist/database/index.js.map +1 -1
- package/dist/dataloader/index.d.ts +2 -1
- package/dist/dataloader/index.js +3 -3
- package/dist/dataloader/index.js.map +1 -1
- package/dist/dataloader-DwpT3YoS.js +294 -0
- package/dist/dataloader-DwpT3YoS.js.map +1 -0
- package/dist/deployed-environment-p_Tdl3sT.js +38 -0
- package/dist/deployed-environment-p_Tdl3sT.js.map +1 -0
- package/dist/dist-BGKdXVy3.js +1718 -0
- package/dist/dist-BGKdXVy3.js.map +1 -0
- package/dist/env-DdaoGjIt.js +74 -0
- package/dist/env-DdaoGjIt.js.map +1 -0
- package/dist/event-queue/index.d.ts +2 -7
- package/dist/event-queue/index.js +7 -9
- package/dist/event-queue/index.js.map +1 -1
- package/dist/event-queue-Cw-YJPY_.js +1384 -0
- package/dist/event-queue-Cw-YJPY_.js.map +1 -0
- package/dist/{explicit-activity-scope-CCoxVwAr.d.ts → explicit-activity-scope-D8VeGGpt.d.ts} +1 -2
- package/dist/explicit-activity-scope-DikJ7NAE.js +57 -0
- package/dist/explicit-activity-scope-DikJ7NAE.js.map +1 -0
- package/dist/export/index.d.ts +2 -2
- package/dist/export/index.js +3 -14
- package/dist/export/index.js.map +1 -1
- package/dist/export-DJXE3Osa.js +642 -0
- package/dist/export-DJXE3Osa.js.map +1 -0
- package/dist/feature-flags/index.d.ts +2 -10
- package/dist/feature-flags/index.js +3 -6
- package/dist/feature-flags/index.js.map +1 -1
- package/dist/feature-flags-CP1KRgwD.js +422 -0
- package/dist/feature-flags-CP1KRgwD.js.map +1 -0
- package/dist/files/index.d.ts +2 -3
- package/dist/files/index.js +3 -4
- package/dist/files/index.js.map +1 -1
- package/dist/files-h5U-D2AF.js +830 -0
- package/dist/files-h5U-D2AF.js.map +1 -0
- package/dist/gateway/index.d.ts +4 -6
- package/dist/gateway/index.js +7 -13
- package/dist/gateway/index.js.map +1 -1
- package/dist/gateway/security/index.d.ts +2 -2
- package/dist/gateway/security/index.js +3 -5
- package/dist/gateway/security/index.js.map +1 -1
- package/dist/gateway-ByVo-n37.js +50 -0
- package/dist/gateway-ByVo-n37.js.map +1 -0
- package/dist/graph/index.d.ts +3 -10
- package/dist/graph/index.js +4 -13
- package/dist/graph/index.js.map +1 -1
- package/dist/graph-CR7u4lpl.js +2152 -0
- package/dist/graph-CR7u4lpl.js.map +1 -0
- package/dist/graph-emitter-CdOXP7Tn.js +621 -0
- package/dist/graph-emitter-CdOXP7Tn.js.map +1 -0
- package/dist/graphql/index.d.ts +3 -2
- package/dist/graphql/index.js +4 -6
- package/dist/graphql/index.js.map +1 -1
- package/dist/graphql/services/index.d.ts +2 -24
- package/dist/graphql/services/index.js +3 -4
- package/dist/graphql/services/index.js.map +1 -1
- package/dist/graphql-CUDyhibV.d.ts +21 -0
- package/dist/graphql-DHAHHcww.js +161 -0
- package/dist/graphql-DHAHHcww.js.map +1 -0
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/index.js +3 -4
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n-BBMYFd0P.js +860 -0
- package/dist/i18n-BBMYFd0P.js.map +1 -0
- package/dist/import-optional-peer-B82VYxeX.js +18 -0
- package/dist/import-optional-peer-B82VYxeX.js.map +1 -0
- package/dist/index-3KOZ1zN9.d.ts +233 -0
- package/dist/index-ADmsX0BI.d.ts +646 -0
- package/dist/index-B2LCaK0R.d.ts +500 -0
- package/dist/index-BBqooJ52.d.ts +45 -0
- package/dist/index-BGzMYJsm.d.ts +209 -0
- package/dist/index-BMIMnp6T.d.ts +8 -0
- package/dist/index-BVOL7458.d.ts +10 -0
- package/dist/index-BcqQs-Uq.d.ts +69 -0
- package/dist/index-BeVtqGO-.d.ts +208 -0
- package/dist/index-BiTzGUZP.d.ts +114 -0
- package/dist/index-C0qLquY0.d.ts +150 -0
- package/dist/index-C5uEKchX.d.ts +60 -0
- package/dist/index-CDOqxSIi.d.ts +37 -0
- package/dist/index-CG6wj66Y.d.ts +148 -0
- package/dist/index-CHwMhK6v.d.ts +63 -0
- package/dist/index-CIgoeobA.d.ts +145 -0
- package/dist/index-CPQDMSFS.d.ts +103 -0
- package/dist/index-CSRcgkVi.d.ts +23 -0
- package/dist/index-CTTwo9av.d.ts +102 -0
- package/dist/index-CVCyKzhB.d.ts +207 -0
- package/dist/index-C_GXXF32.d.ts +704 -0
- package/dist/index-CaM9JUcc.d.ts +144 -0
- package/dist/index-CliOgq6L.d.ts +203 -0
- package/dist/index-Cot73bdh.d.ts +63 -0
- package/dist/index-DGgh9DWn.d.ts +59 -0
- package/dist/index-DY3dNhMN.d.ts +420 -0
- package/dist/index-DqbGqfAy.d.ts +127 -0
- package/dist/index-Dt1HJPTX.d.ts +12 -0
- package/dist/index-DtI6aBtB.d.ts +22 -0
- package/dist/index-FKohsiex.d.ts +38 -0
- package/dist/index-FRRaa6h2.d.ts +999 -0
- package/dist/index-FbXPfen7.d.ts +132 -0
- package/dist/index-MArCb8Aq.d.ts +306 -0
- package/dist/index-U_tu3zUl.d.ts +303 -0
- package/dist/index-YOShAwkq.d.ts +45 -0
- package/dist/index-cmR9k9ga.d.ts +26 -0
- package/dist/index-yBSjMY32.d.ts +24 -0
- package/dist/index-zd_NPGJo.d.ts +206 -0
- package/dist/index.d.ts +106 -609
- package/dist/index.js +769 -2590
- package/dist/index.js.map +1 -1
- package/dist/init/index.d.ts +2 -2
- package/dist/init/index.js +3 -16
- package/dist/init/index.js.map +1 -1
- package/dist/init-CQPFmOOe.js +325 -0
- package/dist/init-CQPFmOOe.js.map +1 -0
- package/dist/instrumentation/index.d.ts +3 -4
- package/dist/instrumentation/index.js +5 -5
- package/dist/instrumentation/index.js.map +1 -1
- package/dist/instrumentation-xkkmDgJ0.js +1678 -0
- package/dist/instrumentation-xkkmDgJ0.js.map +1 -0
- package/dist/lake/index.d.ts +50 -54
- package/dist/lake/index.js +169 -193
- package/dist/lake/index.js.map +1 -1
- package/dist/layer/index.d.ts +3 -2
- package/dist/layer/index.js +4 -5
- package/dist/layer/index.js.map +1 -1
- package/dist/layer-BZBZZWeV.d.ts +69 -0
- package/dist/layer-Bcix-WCl.js +105 -0
- package/dist/layer-Bcix-WCl.js.map +1 -0
- package/dist/layer-CEKy6cm8.js +252 -0
- package/dist/layer-CEKy6cm8.js.map +1 -0
- package/dist/lifecycle/index.d.ts +2 -1
- package/dist/lifecycle/index.js +3 -4
- package/dist/lifecycle/index.js.map +1 -1
- package/dist/lifecycle-DeoLSX0U.js +76 -0
- package/dist/lifecycle-DeoLSX0U.js.map +1 -0
- package/dist/logger/index.d.ts +2 -3
- package/dist/logger/index.js +3 -3
- package/dist/logger/index.js.map +1 -1
- package/dist/logger-B6rCpb7D.js +290 -0
- package/dist/logger-B6rCpb7D.js.map +1 -0
- package/dist/metrics/index.d.ts +13 -14
- package/dist/metrics/index.js +3 -4
- package/dist/metrics/index.js.map +1 -1
- package/dist/metrics-BrLwNUrb.js +52 -0
- package/dist/metrics-BrLwNUrb.js.map +1 -0
- package/dist/metrics-collector-C2eShrlW.js +922 -0
- package/dist/metrics-collector-C2eShrlW.js.map +1 -0
- package/dist/middleware/index.d.ts +3 -3
- package/dist/middleware/index.js +3 -4
- package/dist/middleware/index.js.map +1 -1
- package/dist/middleware-CUxJVUpD.js +1243 -0
- package/dist/middleware-CUxJVUpD.js.map +1 -0
- package/dist/middleware-Cq0zFMGp.js +253 -0
- package/dist/middleware-Cq0zFMGp.js.map +1 -0
- package/dist/notifications/index.d.ts +2 -5
- package/dist/notifications/index.js +3 -6
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications-DY_i37WN.js +869 -0
- package/dist/notifications-DY_i37WN.js.map +1 -0
- package/dist/observability/index.d.ts +2 -3
- package/dist/observability/index.js +3 -4
- package/dist/observability/index.js.map +1 -1
- package/dist/observability-DBDXipTU.js +272 -0
- package/dist/observability-DBDXipTU.js.map +1 -0
- package/dist/payments/index.d.ts +144 -0
- package/dist/payments/index.js +404 -0
- package/dist/payments/index.js.map +1 -0
- package/dist/platform/index.d.ts +2 -1
- package/dist/platform/index.js +3 -5
- package/dist/platform/index.js.map +1 -1
- package/dist/platform-DZwczW7v.js +1510 -0
- package/dist/platform-DZwczW7v.js.map +1 -0
- package/dist/prisma/generator/index.d.ts +1 -1
- package/dist/prisma/generator/index.js +97 -84
- package/dist/prisma/generator/index.js.map +1 -1
- package/dist/prisma/index.d.ts +4 -7
- package/dist/prisma/index.js +5 -12
- package/dist/prisma/index.js.map +1 -1
- package/dist/prisma-BzOOdt79.js +863 -0
- package/dist/prisma-BzOOdt79.js.map +1 -0
- package/dist/prisma-extension-Cfl09swM.d.ts +172 -0
- package/dist/product-alias/index.d.ts +2 -1
- package/dist/product-alias/index.js +3 -3
- package/dist/product-alias/index.js.map +1 -1
- package/dist/product-alias-BPqtskMq.js +273 -0
- package/dist/product-alias-BPqtskMq.js.map +1 -0
- package/dist/rate-limit-CBrK_U5H.js +142 -0
- package/dist/rate-limit-CBrK_U5H.js.map +1 -0
- package/dist/rbac/index.d.ts +2 -122
- package/dist/rbac/index.js +3 -6
- package/dist/rbac/index.js.map +1 -1
- package/dist/rbac-Dvz0YzEt.js +1486 -0
- package/dist/rbac-Dvz0YzEt.js.map +1 -0
- package/dist/resource-caps/index.d.ts +66 -72
- package/dist/resource-caps/index.js +430 -5
- package/dist/resource-caps/index.js.map +1 -1
- package/dist/rolldown-runtime-ad2WFvuA.js +17 -0
- package/dist/sdk-Dju9o-sq.js +124 -0
- package/dist/sdk-Dju9o-sq.js.map +1 -0
- package/dist/search/index.d.ts +112 -0
- package/dist/search/index.js +266 -0
- package/dist/search/index.js.map +1 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +4 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/rate-limit/index.d.ts +2 -0
- package/dist/security/rate-limit/index.js +4 -0
- package/dist/security/rate-limit/index.js.map +1 -0
- package/dist/security-DIG-95Ic.js +1647 -0
- package/dist/security-DIG-95Ic.js.map +1 -0
- package/dist/server/index.d.ts +7 -164
- package/dist/server/index.js +2001 -1507
- package/dist/server/index.js.map +1 -1
- package/dist/service-jwt-Bu-WNA_-.js +80 -0
- package/dist/service-jwt-Bu-WNA_-.js.map +1 -0
- package/dist/services-BWzfz7vG.js +102 -0
- package/dist/services-BWzfz7vG.js.map +1 -0
- package/dist/sharding/index.d.ts +41 -44
- package/dist/sharding/index.js +156 -137
- package/dist/sharding/index.js.map +1 -1
- package/dist/sharing/index.d.ts +2 -1
- package/dist/sharing/index.js +3 -4
- package/dist/sharing/index.js.map +1 -1
- package/dist/sharing-CflDsSJ-.js +911 -0
- package/dist/sharing-CflDsSJ-.js.map +1 -0
- package/dist/stub-BUnfMiAS.js +577 -0
- package/dist/stub-BUnfMiAS.js.map +1 -0
- package/dist/tags/index.d.ts +2 -3
- package/dist/tags/index.js +3 -4
- package/dist/tags/index.js.map +1 -1
- package/dist/tags-CbijgoqR.js +868 -0
- package/dist/{chunk-PBZFAAOM.js.map → tags-CbijgoqR.js.map} +1 -1
- package/dist/telemetry/index.d.ts +64 -76
- package/dist/telemetry/index.js +369 -201
- package/dist/telemetry/index.js.map +1 -1
- package/dist/temporal/index.d.ts +2 -148
- package/dist/temporal/index.js +3 -5
- package/dist/temporal/index.js.map +1 -1
- package/dist/temporal-B534uYK8.js +706 -0
- package/dist/temporal-B534uYK8.js.map +1 -0
- package/dist/tracker/index.d.ts +5 -11
- package/dist/tracker/index.js +7 -20
- package/dist/tracker/index.js.map +1 -1
- package/dist/tracker-PQztSlhJ.js +458 -0
- package/dist/tracker-PQztSlhJ.js.map +1 -0
- package/dist/translation/index.d.ts +120 -0
- package/dist/translation/index.js +573 -0
- package/dist/translation/index.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +90 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types-BYMYND1L.js +44 -0
- package/dist/types-BYMYND1L.js.map +1 -0
- package/dist/types-C6EKaS3V.d.ts +106 -0
- package/dist/types-CWybW61E.d.ts +323 -0
- package/dist/types-C_yfu3XK.d.ts +34 -0
- package/dist/types-DgaQqvxo.d.ts +70 -0
- package/dist/usage/index.d.ts +2 -213
- package/dist/usage/index.js +3 -15
- package/dist/usage/index.js.map +1 -1
- package/dist/usage-BRqVP3CJ.js +682 -0
- package/dist/usage-BRqVP3CJ.js.map +1 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/utils-DL85Tnbn.js +500 -0
- package/dist/utils-DL85Tnbn.js.map +1 -0
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +3 -3
- package/dist/validation/index.js.map +1 -1
- package/dist/validation-CPUITdMk.js +762 -0
- package/dist/validation-CPUITdMk.js.map +1 -0
- package/dist/workspace-extension-COrC0dYi.js +979 -0
- package/dist/workspace-extension-COrC0dYi.js.map +1 -0
- package/dist/{workspace-extension-BGwTOV_r.d.ts → workspace-extension-DTFTdGVF.d.ts} +43 -45
- package/package.json +7 -10
- package/dist/EventQueueFactory-GXC3A7DH.js +0 -8
- package/dist/EventQueueFactory-GXC3A7DH.js.map +0 -1
- package/dist/chunk-4XIBXZ6J.js +0 -276
- package/dist/chunk-4XIBXZ6J.js.map +0 -1
- package/dist/chunk-554Z4C2K.js +0 -1006
- package/dist/chunk-554Z4C2K.js.map +0 -1
- package/dist/chunk-5CAFHK2Z.js +0 -107
- package/dist/chunk-5CAFHK2Z.js.map +0 -1
- package/dist/chunk-63ZXJ42X.js +0 -451
- package/dist/chunk-63ZXJ42X.js.map +0 -1
- package/dist/chunk-6XEXJATV.js +0 -304
- package/dist/chunk-6XEXJATV.js.map +0 -1
- package/dist/chunk-726AR6Q7.js +0 -1532
- package/dist/chunk-726AR6Q7.js.map +0 -1
- package/dist/chunk-A5F6Z5UE.js +0 -21
- package/dist/chunk-A5F6Z5UE.js.map +0 -1
- package/dist/chunk-A6DE32ZS.js +0 -1507
- package/dist/chunk-A6DE32ZS.js.map +0 -1
- package/dist/chunk-AXJDGQPE.js +0 -690
- package/dist/chunk-AXJDGQPE.js.map +0 -1
- package/dist/chunk-BJQOGOVW.js +0 -602
- package/dist/chunk-BJQOGOVW.js.map +0 -1
- package/dist/chunk-CFXWH2IS.js +0 -52
- package/dist/chunk-CFXWH2IS.js.map +0 -1
- package/dist/chunk-DRWH5XCJ.js +0 -876
- package/dist/chunk-DRWH5XCJ.js.map +0 -1
- package/dist/chunk-E4QNLVY4.js +0 -909
- package/dist/chunk-E4QNLVY4.js.map +0 -1
- package/dist/chunk-EBDHIL7V.js +0 -774
- package/dist/chunk-EBDHIL7V.js.map +0 -1
- package/dist/chunk-ELU7VL3E.js +0 -245
- package/dist/chunk-ELU7VL3E.js.map +0 -1
- package/dist/chunk-FZRODKIN.js +0 -31
- package/dist/chunk-FZRODKIN.js.map +0 -1
- package/dist/chunk-GCIB76AJ.js +0 -882
- package/dist/chunk-GCIB76AJ.js.map +0 -1
- package/dist/chunk-HC6MPUIH.js +0 -1571
- package/dist/chunk-HC6MPUIH.js.map +0 -1
- package/dist/chunk-HNMHPSAM.js +0 -272
- package/dist/chunk-HNMHPSAM.js.map +0 -1
- package/dist/chunk-HTLEGD3Q.js +0 -1480
- package/dist/chunk-HTLEGD3Q.js.map +0 -1
- package/dist/chunk-I3KOWRT3.js +0 -89
- package/dist/chunk-I3KOWRT3.js.map +0 -1
- package/dist/chunk-ID3WR4JS.js +0 -509
- package/dist/chunk-ID3WR4JS.js.map +0 -1
- package/dist/chunk-JS52ZHTK.js +0 -1346
- package/dist/chunk-JS52ZHTK.js.map +0 -1
- package/dist/chunk-JVMAQOA3.js +0 -521
- package/dist/chunk-JVMAQOA3.js.map +0 -1
- package/dist/chunk-KH4TRQCO.js +0 -1063
- package/dist/chunk-KH4TRQCO.js.map +0 -1
- package/dist/chunk-KJOSPVB2.js +0 -57
- package/dist/chunk-KJOSPVB2.js.map +0 -1
- package/dist/chunk-KO2ZXZ7W.js +0 -61
- package/dist/chunk-KO2ZXZ7W.js.map +0 -1
- package/dist/chunk-KS2HQCJR.js +0 -56
- package/dist/chunk-KS2HQCJR.js.map +0 -1
- package/dist/chunk-LA5KPWZ2.js +0 -413
- package/dist/chunk-LA5KPWZ2.js.map +0 -1
- package/dist/chunk-MESLAC5W.js +0 -574
- package/dist/chunk-MESLAC5W.js.map +0 -1
- package/dist/chunk-MWPYA2HD.js +0 -94
- package/dist/chunk-MWPYA2HD.js.map +0 -1
- package/dist/chunk-NUB5GQTU.js +0 -270
- package/dist/chunk-NUB5GQTU.js.map +0 -1
- package/dist/chunk-OBBCR6WY.js +0 -277
- package/dist/chunk-OBBCR6WY.js.map +0 -1
- package/dist/chunk-OQDSAOG3.js +0 -1908
- package/dist/chunk-OQDSAOG3.js.map +0 -1
- package/dist/chunk-OXNCBE7P.js +0 -971
- package/dist/chunk-OXNCBE7P.js.map +0 -1
- package/dist/chunk-PBZFAAOM.js +0 -941
- package/dist/chunk-PN6GIF3R.js +0 -1185
- package/dist/chunk-PN6GIF3R.js.map +0 -1
- package/dist/chunk-PYD44IHJ.js +0 -728
- package/dist/chunk-PYD44IHJ.js.map +0 -1
- package/dist/chunk-QVPIACWD.js +0 -679
- package/dist/chunk-QVPIACWD.js.map +0 -1
- package/dist/chunk-QWNNFE4P.js +0 -41
- package/dist/chunk-QWNNFE4P.js.map +0 -1
- package/dist/chunk-RU266375.js +0 -327
- package/dist/chunk-RU266375.js.map +0 -1
- package/dist/chunk-RYTSVGGA.js +0 -1624
- package/dist/chunk-RYTSVGGA.js.map +0 -1
- package/dist/chunk-RZOFS2BQ.js +0 -225
- package/dist/chunk-RZOFS2BQ.js.map +0 -1
- package/dist/chunk-SBS4S2PJ.js +0 -100
- package/dist/chunk-SBS4S2PJ.js.map +0 -1
- package/dist/chunk-SPRG6G6G.js +0 -530
- package/dist/chunk-SPRG6G6G.js.map +0 -1
- package/dist/chunk-STWFX5E2.js +0 -233
- package/dist/chunk-STWFX5E2.js.map +0 -1
- package/dist/chunk-UNASM5VJ.js +0 -419
- package/dist/chunk-UNASM5VJ.js.map +0 -1
- package/dist/chunk-VAT66FJA.js +0 -245
- package/dist/chunk-VAT66FJA.js.map +0 -1
- package/dist/chunk-VFCMR5GX.js +0 -49
- package/dist/chunk-VFCMR5GX.js.map +0 -1
- package/dist/chunk-VGAHZKNJ.js +0 -66
- package/dist/chunk-VGAHZKNJ.js.map +0 -1
- package/dist/chunk-VTJTAAXC.js +0 -627
- package/dist/chunk-VTJTAAXC.js.map +0 -1
- package/dist/chunk-VXVLKRU6.js +0 -758
- package/dist/chunk-VXVLKRU6.js.map +0 -1
- package/dist/chunk-WWUU5ETI.js +0 -163
- package/dist/chunk-WWUU5ETI.js.map +0 -1
- package/dist/chunk-XE4OXN2W.js +0 -10
- package/dist/chunk-XE4OXN2W.js.map +0 -1
- package/dist/chunk-XOJORS75.js +0 -1853
- package/dist/chunk-XOJORS75.js.map +0 -1
- package/dist/chunk-YMZEUTD2.js +0 -110
- package/dist/chunk-YMZEUTD2.js.map +0 -1
- package/dist/chunk-Z77BTSOK.js +0 -617
- package/dist/chunk-Z77BTSOK.js.map +0 -1
- package/dist/chunk-ZZK3WEDI.js +0 -181
- package/dist/chunk-ZZK3WEDI.js.map +0 -1
- package/dist/client-CCXpAZ2r.d.ts +0 -89
- package/dist/client-DSI_760t.d.ts +0 -36
- package/dist/client-JU6T3UPB.js +0 -11
- package/dist/client-JU6T3UPB.js.map +0 -1
- package/dist/dist-2X4Q7PJA.js +0 -1491
- package/dist/dist-2X4Q7PJA.js.map +0 -1
- package/dist/env-4UWSUS64.js +0 -4
- package/dist/env-4UWSUS64.js.map +0 -1
- package/dist/graph-emitter-r5TylDBm.d.ts +0 -47
- package/dist/graphql-CMHMQjvd.d.ts +0 -23
- package/dist/i18n-Qm2AkPC-.d.ts +0 -33
- package/dist/index--yvpa6ay.d.ts +0 -83
- package/dist/index-4gKQKZ2B.d.ts +0 -71
- package/dist/index-5x0XMKXN.d.ts +0 -149
- package/dist/index-B70b5mYS.d.ts +0 -33
- package/dist/index-B8KrxO4j.d.ts +0 -755
- package/dist/index-BOuDKnqD.d.ts +0 -201
- package/dist/index-BTMt4OjA.d.ts +0 -201
- package/dist/index-BejbszA7.d.ts +0 -39
- package/dist/index-BkeOYZye.d.ts +0 -198
- package/dist/index-BuAj5nXg.d.ts +0 -83
- package/dist/index-BvkVcW8I.d.ts +0 -349
- package/dist/index-CWmH_-RZ.d.ts +0 -247
- package/dist/index-CbgWNcus.d.ts +0 -258
- package/dist/index-CmfPeQza.d.ts +0 -166
- package/dist/index-CmpG-zak.d.ts +0 -607
- package/dist/index-CoMKgL-p.d.ts +0 -12
- package/dist/index-D8HGwglK.d.ts +0 -541
- package/dist/index-DCaVm66D.d.ts +0 -1101
- package/dist/index-DE2w7E0d.d.ts +0 -83
- package/dist/index-DSOpj8DI.d.ts +0 -17
- package/dist/index-DW9q22GH.d.ts +0 -75
- package/dist/index-DnjJ9CwI.d.ts +0 -347
- package/dist/index-DwMJZ8PP.d.ts +0 -317
- package/dist/index-PaojfSdd.d.ts +0 -71
- package/dist/index-aHtYvc3i.d.ts +0 -284
- package/dist/index-e_18DzAg.d.ts +0 -18
- package/dist/index-ffmipXSA.d.ts +0 -55
- package/dist/index-joONjwLt.d.ts +0 -33
- package/dist/index-kssw5ziY.d.ts +0 -250
- package/dist/index-lFffh5-G.d.ts +0 -125
- package/dist/index-pxYge_6k.d.ts +0 -79
- package/dist/layer-Cv9vSwBx.d.ts +0 -70
- package/dist/pino-logger-H4HPW5P6.js +0 -5
- package/dist/pino-logger-H4HPW5P6.js.map +0 -1
- package/dist/prisma-extension-gYhYriA0.d.ts +0 -174
- package/dist/sdk-L75WWUP3.js +0 -156
- package/dist/sdk-L75WWUP3.js.map +0 -1
- package/dist/shutdown-registry-CW9LryO8.d.ts +0 -10
- package/dist/types-Bo2wkjSP.d.ts +0 -35
- package/dist/types-DVpvrAhd.d.ts +0 -71
- package/dist/types-DgJ4lDYA.d.ts +0 -108
- package/dist/types-USOv09qy.d.ts +0 -327
- package/dist/workspace-guard-NXVYYBVJ.js +0 -5
- package/dist/workspace-guard-NXVYYBVJ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,610 +1,107 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { AuthModule } from
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export { N as NAME_MAX_LENGTH, a as NAME_MIN_LENGTH, b as NameErrorCode, c as NameValidationResult, R as RbacCoverageError, d as RbacCoverageOptions, e as RbacCoverageReport, f as RbacCoverageSource, U as USERNAME_MAX_LENGTH, g as USERNAME_MIN_LENGTH, h as UserFieldError, i as UserFieldKey, j as UserFieldsValidationResult, k as UsernameErrorCode, l as UsernameValidationResult, V as ValidatedUserFields, m as Validation, n as analyzeRbacCoverage, o as assertRbacCoverage, p as lengthInCodePoints, v as validateName, q as validateUserFields, r as validateUsername } from './index-BkeOYZye.js';
|
|
47
|
-
export { E as EmitGeneration, P as PRODUCT_RENAMES, a as PRODUCT_RENAME_EMIT, b as PRODUCT_SLUG_ALIASES, i as ProductAlias, c as ProductRename, R as RENAME_CONCERNS, d as RenameConcern, e as billingIdVariants, f as emitBillingId, g as emitName, h as emitProductSlug, j as emitQuotaKey, k as emitRbacResource, l as emitTemplateKey, m as isLegacyName, n as isSameBillingId, o as isSameGraphQLName, p as isSameName, q as isSameProductSlug, r as isSameQuotaKey, s as isSameRbacResource, t as isSameTemplateKey, u as nameVariants, v as normalizeBillingId, w as normalizeGraphQLName, x as normalizeProductSlug, y as normalizeQuotaKey, z as normalizeRbacResource, A as normalizeTemplateKey, B as productSlugVariants, C as quotaKeyVariants, D as rbacResourceVariants, F as readRenamedEnv, G as templateKeyVariants, H as toCurrentName, I as toLegacyName } from './index-BuAj5nXg.js';
|
|
48
|
-
export { C as CircuitBreakerConfig, h as DEFAULT_CIRCUIT_BREAKER_CONFIG, i as DEFAULT_GATEWAY_RETRY_CONFIG, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, f as GatewayRequestHeaders, g as GatewayRetryConfig, G as GatewayRoutingConfig, L as LayerConfig, a as LayerFullConfig, d as LayerGatewayConfig, e as LayerResourceUrls, S as ServiceLayer } from './layer-Cv9vSwBx.js';
|
|
49
|
-
export { S as ShutdownDisposable, d as disposeAll, g as getRegisteredDisposableCount, r as registerDisposable, u as unregisterDisposable } from './shutdown-registry-CW9LryO8.js';
|
|
50
|
-
import './types-USOv09qy.js';
|
|
51
|
-
import 'graphql';
|
|
52
|
-
import 'graphql-yoga';
|
|
53
|
-
import './client-CCXpAZ2r.js';
|
|
54
|
-
import '@prisma/adapter-pg';
|
|
55
|
-
import 'pg';
|
|
56
|
-
import './workspace-extension-BGwTOV_r.js';
|
|
57
|
-
import './assistant-session-CJZhF4D6.js';
|
|
58
|
-
import './types-DVpvrAhd.js';
|
|
59
|
-
import 'graphql-request';
|
|
60
|
-
import '@envelop/core';
|
|
61
|
-
import './explicit-activity-scope-CCoxVwAr.js';
|
|
62
|
-
import './client-DSI_760t.js';
|
|
63
|
-
import './types-DgJ4lDYA.js';
|
|
64
|
-
import '@clickhouse/client';
|
|
65
|
-
import './graph-emitter-r5TylDBm.js';
|
|
66
|
-
import './prisma-extension-gYhYriA0.js';
|
|
67
|
-
import '@temporalio/client';
|
|
68
|
-
import '@temporalio/common';
|
|
69
|
-
import 'elysia';
|
|
70
|
-
import './types-Bo2wkjSP.js';
|
|
71
|
-
import './graphql/services/index.js';
|
|
72
|
-
import './i18n-Qm2AkPC-.js';
|
|
73
|
-
import './index-BOuDKnqD.js';
|
|
74
|
-
|
|
75
|
-
declare class ContextManager {
|
|
76
|
-
static getContext(): SDKContext | undefined;
|
|
77
|
-
static setContext(context: SDKContext): void;
|
|
78
|
-
static setCfAccessContext(clientId?: string, clientSecret?: string, cfAuthorization?: string): void;
|
|
79
|
-
static withContext<T>(context: SDKContext, fn: () => Promise<T>): Promise<T>;
|
|
80
|
-
static withContextSync<T>(context: SDKContext, fn: () => T): T;
|
|
81
|
-
static clearContext(): void;
|
|
82
|
-
static getActorId(): string | undefined;
|
|
83
|
-
static getUser(): string | undefined;
|
|
84
|
-
static getWorkspace(): string | undefined;
|
|
85
|
-
static getTenant(): string | undefined;
|
|
86
|
-
static getOrganization(): string | undefined;
|
|
87
|
-
static getProject(): string | undefined;
|
|
88
|
-
static getApp(): string | undefined;
|
|
89
|
-
static getToken(): string | undefined;
|
|
90
|
-
static getProduct(): string | undefined;
|
|
91
|
-
static getCfAccessClientId(): string | undefined;
|
|
92
|
-
static getCfAccessClientSecret(): string | undefined;
|
|
93
|
-
static getCfAuthorization(): string | undefined;
|
|
94
|
-
static getCfAccessHeaders(): Record<string, string>;
|
|
95
|
-
static updateContext(updates: Partial<SDKContext>): void;
|
|
96
|
-
static hasContext(): boolean;
|
|
97
|
-
static getCustomField(key: string): unknown;
|
|
98
|
-
static setCustomField(key: string, value: unknown): void;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface SearchOptions {
|
|
102
|
-
query: string;
|
|
103
|
-
resourceTypes?: string[];
|
|
104
|
-
workspaceId?: string;
|
|
105
|
-
organizationId?: string;
|
|
106
|
-
projectId?: string;
|
|
107
|
-
fields?: string[];
|
|
108
|
-
fuzziness?: number;
|
|
109
|
-
boosts?: Record<string, number>;
|
|
110
|
-
filters?: SearchFilter[];
|
|
111
|
-
sort?: SearchSort[];
|
|
112
|
-
limit?: number;
|
|
113
|
-
offset?: number;
|
|
114
|
-
highlight?: boolean;
|
|
115
|
-
}
|
|
116
|
-
interface SearchFilter {
|
|
117
|
-
field: string;
|
|
118
|
-
operator: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'range';
|
|
119
|
-
value: unknown;
|
|
120
|
-
}
|
|
121
|
-
interface SearchSort {
|
|
122
|
-
field: string;
|
|
123
|
-
order: 'asc' | 'desc';
|
|
124
|
-
}
|
|
125
|
-
interface SearchResult {
|
|
126
|
-
id: string;
|
|
127
|
-
type: string;
|
|
128
|
-
title: string;
|
|
129
|
-
description?: string;
|
|
130
|
-
data: Record<string, unknown>;
|
|
131
|
-
workspaceId?: string;
|
|
132
|
-
organizationId?: string;
|
|
133
|
-
projectId?: string;
|
|
134
|
-
score: number;
|
|
135
|
-
highlights?: Record<string, string[]>;
|
|
136
|
-
createdAt: string;
|
|
137
|
-
updatedAt: string;
|
|
138
|
-
}
|
|
139
|
-
interface SearchResponse {
|
|
140
|
-
results: SearchResult[];
|
|
141
|
-
total: number;
|
|
142
|
-
took: number;
|
|
143
|
-
aggregations?: Record<string, SearchAggregation>;
|
|
144
|
-
}
|
|
145
|
-
interface SearchAggregation {
|
|
146
|
-
buckets: Array<{
|
|
147
|
-
key: string;
|
|
148
|
-
count: number;
|
|
149
|
-
}>;
|
|
150
|
-
}
|
|
151
|
-
interface IndexDocumentOptions {
|
|
152
|
-
id: string;
|
|
153
|
-
type: string;
|
|
154
|
-
title: string;
|
|
155
|
-
description?: string;
|
|
156
|
-
content?: string;
|
|
157
|
-
data: Record<string, unknown>;
|
|
158
|
-
workspaceId?: string;
|
|
159
|
-
organizationId?: string;
|
|
160
|
-
projectId?: string;
|
|
161
|
-
tags?: string[];
|
|
162
|
-
metadata?: Record<string, unknown>;
|
|
163
|
-
}
|
|
164
|
-
declare class SearchModule {
|
|
165
|
-
private client;
|
|
166
|
-
private context;
|
|
167
|
-
constructor(client: BurdenoffGraphQLClient, context: SDKContext);
|
|
168
|
-
search(options: SearchOptions): Promise<SearchResponse>;
|
|
169
|
-
indexDocument(options: IndexDocumentOptions): Promise<{
|
|
170
|
-
id: string;
|
|
171
|
-
indexed: boolean;
|
|
172
|
-
}>;
|
|
173
|
-
removeDocument(id: string, type: string): Promise<boolean>;
|
|
174
|
-
updateDocument(id: string, type: string, updates: Partial<IndexDocumentOptions>): Promise<{
|
|
175
|
-
id: string;
|
|
176
|
-
updated: boolean;
|
|
177
|
-
}>;
|
|
178
|
-
indexDocumentsBulk(documents: IndexDocumentOptions[]): Promise<{
|
|
179
|
-
indexed: number;
|
|
180
|
-
failed: number;
|
|
181
|
-
errors: string[];
|
|
182
|
-
}>;
|
|
183
|
-
suggest(prefix: string, options?: {
|
|
184
|
-
resourceTypes?: string[];
|
|
185
|
-
limit?: number;
|
|
186
|
-
}): Promise<Array<{
|
|
187
|
-
text: string;
|
|
188
|
-
score: number;
|
|
189
|
-
type?: string;
|
|
190
|
-
}>>;
|
|
191
|
-
getRelated(documentId: string, options?: {
|
|
192
|
-
limit?: number;
|
|
193
|
-
minScore?: number;
|
|
194
|
-
}): Promise<SearchResult[]>;
|
|
195
|
-
aggregate(query: string, aggregations: Array<{
|
|
196
|
-
field: string;
|
|
197
|
-
type: 'terms' | 'date_histogram' | 'range';
|
|
198
|
-
size?: number;
|
|
199
|
-
}>): Promise<Record<string, SearchAggregation>>;
|
|
200
|
-
clearIndex(workspaceId?: string): Promise<{
|
|
201
|
-
deletedCount: number;
|
|
202
|
-
}>;
|
|
203
|
-
reindex(options?: {
|
|
204
|
-
workspaceId?: string;
|
|
205
|
-
resourceTypes?: string[];
|
|
206
|
-
}): Promise<{
|
|
207
|
-
indexed: number;
|
|
208
|
-
failed: number;
|
|
209
|
-
}>;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
type SupportedLanguage = 'en' | 'es' | 'fr' | 'de' | 'it' | 'pt' | 'ru' | 'zh' | 'ja' | 'ko' | 'ar' | 'hi' | 'bn' | 'ta' | 'te' | 'ml';
|
|
213
|
-
interface TranslationOptions {
|
|
214
|
-
text: string;
|
|
215
|
-
sourceLanguage?: SupportedLanguage;
|
|
216
|
-
targetLanguage: SupportedLanguage;
|
|
217
|
-
context?: string;
|
|
218
|
-
variables?: Record<string, string | number>;
|
|
219
|
-
}
|
|
220
|
-
interface Translation {
|
|
221
|
-
original: string;
|
|
222
|
-
translated: string;
|
|
223
|
-
sourceLanguage: string;
|
|
224
|
-
targetLanguage: string;
|
|
225
|
-
confidence?: number;
|
|
226
|
-
}
|
|
227
|
-
interface GetTranslationsOptions {
|
|
228
|
-
keys: string[];
|
|
229
|
-
language: SupportedLanguage;
|
|
230
|
-
namespace?: string;
|
|
231
|
-
fallbackLanguage?: SupportedLanguage;
|
|
232
|
-
}
|
|
233
|
-
interface TranslationKey {
|
|
234
|
-
key: string;
|
|
235
|
-
value: string;
|
|
236
|
-
language: SupportedLanguage;
|
|
237
|
-
namespace?: string;
|
|
238
|
-
description?: string;
|
|
239
|
-
variables?: string[];
|
|
240
|
-
}
|
|
241
|
-
interface SetTranslationOptions {
|
|
242
|
-
key: string;
|
|
243
|
-
value: string;
|
|
244
|
-
language: SupportedLanguage;
|
|
245
|
-
namespace?: string;
|
|
246
|
-
description?: string;
|
|
247
|
-
variables?: string[];
|
|
248
|
-
}
|
|
249
|
-
type TranslationExportFormat = 'JSON' | 'CSV' | 'XLSX' | 'PO' | 'XLIFF';
|
|
250
|
-
interface ProductTranslationTree {
|
|
251
|
-
[key: string]: string | ProductTranslationTree;
|
|
252
|
-
}
|
|
253
|
-
interface ExportProductTranslationsOptions {
|
|
254
|
-
productId?: string;
|
|
255
|
-
productName?: string;
|
|
256
|
-
languageCode?: string;
|
|
257
|
-
format?: TranslationExportFormat;
|
|
258
|
-
decodeJson?: boolean;
|
|
259
|
-
}
|
|
260
|
-
interface ProductTranslationsExportResult {
|
|
261
|
-
format: TranslationExportFormat;
|
|
262
|
-
url: string;
|
|
263
|
-
translations?: Record<string, unknown>;
|
|
264
|
-
}
|
|
265
|
-
interface UpsertProductTranslationsOptions {
|
|
266
|
-
productId?: string;
|
|
267
|
-
productName?: string;
|
|
268
|
-
languageCode: string;
|
|
269
|
-
translations: Record<string, string> | ProductTranslationTree;
|
|
270
|
-
defaultValues?: Record<string, string> | ProductTranslationTree;
|
|
271
|
-
updateExisting?: boolean;
|
|
272
|
-
publish?: boolean;
|
|
273
|
-
}
|
|
274
|
-
interface UpsertProductTranslationsResult {
|
|
275
|
-
productId: string;
|
|
276
|
-
languageCode: string;
|
|
277
|
-
keysProcessed: number;
|
|
278
|
-
createdKeys: number;
|
|
279
|
-
updatedKeyDefaults: number;
|
|
280
|
-
createdTranslations: number;
|
|
281
|
-
updatedTranslations: number;
|
|
282
|
-
}
|
|
283
|
-
declare class TranslationModule {
|
|
284
|
-
private client;
|
|
285
|
-
private context;
|
|
286
|
-
constructor(client: BurdenoffGraphQLClient, context: SDKContext);
|
|
287
|
-
translate(options: TranslationOptions): Promise<Translation>;
|
|
288
|
-
getTranslations(options: GetTranslationsOptions): Promise<Record<string, string>>;
|
|
289
|
-
get(key: string, language: SupportedLanguage, variables?: Record<string, string | number>): Promise<string>;
|
|
290
|
-
setTranslation(options: SetTranslationOptions): Promise<TranslationKey>;
|
|
291
|
-
deleteTranslation(key: string, language: SupportedLanguage, namespace?: string): Promise<boolean>;
|
|
292
|
-
setTranslationsBatch(translations: SetTranslationOptions[]): Promise<TranslationKey[]>;
|
|
293
|
-
getAllTranslations(language: SupportedLanguage, namespace?: string): Promise<TranslationKey[]>;
|
|
294
|
-
detectLanguage(text: string): Promise<{
|
|
295
|
-
language: SupportedLanguage;
|
|
296
|
-
confidence: number;
|
|
297
|
-
}>;
|
|
298
|
-
getSupportedLanguages(): Promise<Array<{
|
|
299
|
-
code: SupportedLanguage;
|
|
300
|
-
name: string;
|
|
301
|
-
nativeName: string;
|
|
302
|
-
}>>;
|
|
303
|
-
importTranslations(language: SupportedLanguage, translations: Record<string, string>, namespace?: string): Promise<{
|
|
304
|
-
imported: number;
|
|
305
|
-
failed: number;
|
|
306
|
-
}>;
|
|
307
|
-
exportTranslations(language: SupportedLanguage, namespace?: string): Promise<Record<string, string>>;
|
|
308
|
-
exportProductTranslations(options: ExportProductTranslationsOptions): Promise<ProductTranslationsExportResult>;
|
|
309
|
-
upsertProductTranslations(options: UpsertProductTranslationsOptions): Promise<UpsertProductTranslationsResult>;
|
|
310
|
-
private flattenTranslationTree;
|
|
311
|
-
private decodeDataUrlJson;
|
|
312
|
-
private resolveProductId;
|
|
313
|
-
private findTranslationKeyByKey;
|
|
314
|
-
private createTranslationKey;
|
|
315
|
-
private updateTranslationKeyDefaultValue;
|
|
316
|
-
private findGlobalTranslation;
|
|
317
|
-
private createLanguageTranslation;
|
|
318
|
-
private updateLanguageTranslation;
|
|
319
|
-
private escapeRegex;
|
|
320
|
-
private interpolate;
|
|
321
|
-
formatPlural(_language: SupportedLanguage, count: number, translations: {
|
|
322
|
-
zero?: string;
|
|
323
|
-
one: string;
|
|
324
|
-
other: string;
|
|
325
|
-
}): string;
|
|
326
|
-
formatDateTime(date: Date | string, language: SupportedLanguage, options?: Intl.DateTimeFormatOptions): string;
|
|
327
|
-
formatNumber(number: number, language: SupportedLanguage, options?: Intl.NumberFormatOptions): string;
|
|
328
|
-
formatCurrency(amount: number, currency: string, language: SupportedLanguage): string;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
declare enum PaymentStatus {
|
|
332
|
-
PENDING = "pending",
|
|
333
|
-
PROCESSING = "processing",
|
|
334
|
-
SUCCEEDED = "succeeded",
|
|
335
|
-
FAILED = "failed",
|
|
336
|
-
CANCELLED = "cancelled",
|
|
337
|
-
REFUNDED = "refunded"
|
|
338
|
-
}
|
|
339
|
-
declare enum PaymentMethod {
|
|
340
|
-
CREDIT_CARD = "credit_card",
|
|
341
|
-
DEBIT_CARD = "debit_card",
|
|
342
|
-
BANK_TRANSFER = "bank_transfer",
|
|
343
|
-
UPI = "upi",
|
|
344
|
-
WALLET = "wallet",
|
|
345
|
-
PAYPAL = "paypal",
|
|
346
|
-
STRIPE = "stripe"
|
|
347
|
-
}
|
|
348
|
-
declare enum SubscriptionStatus {
|
|
349
|
-
ACTIVE = "active",
|
|
350
|
-
INACTIVE = "inactive",
|
|
351
|
-
CANCELLED = "cancelled",
|
|
352
|
-
EXPIRED = "expired",
|
|
353
|
-
PAST_DUE = "past_due",
|
|
354
|
-
TRIALING = "trialing"
|
|
355
|
-
}
|
|
356
|
-
interface CreatePaymentOptions {
|
|
357
|
-
amount: number;
|
|
358
|
-
currency: string;
|
|
359
|
-
paymentMethod: PaymentMethod;
|
|
360
|
-
customerId: string;
|
|
361
|
-
description?: string;
|
|
362
|
-
metadata?: Record<string, unknown>;
|
|
363
|
-
workspaceId?: string;
|
|
364
|
-
organizationId?: string;
|
|
365
|
-
}
|
|
366
|
-
interface Payment {
|
|
367
|
-
id: string;
|
|
368
|
-
amount: number;
|
|
369
|
-
currency: string;
|
|
370
|
-
status: PaymentStatus;
|
|
371
|
-
paymentMethod: PaymentMethod;
|
|
372
|
-
customerId: string;
|
|
373
|
-
description?: string;
|
|
374
|
-
metadata?: Record<string, unknown>;
|
|
375
|
-
workspaceId?: string;
|
|
376
|
-
organizationId?: string;
|
|
377
|
-
transactionId?: string;
|
|
378
|
-
failureReason?: string;
|
|
379
|
-
createdAt: string;
|
|
380
|
-
updatedAt: string;
|
|
381
|
-
}
|
|
382
|
-
interface CreateSubscriptionOptions {
|
|
383
|
-
customerId: string;
|
|
384
|
-
planId: string;
|
|
385
|
-
paymentMethod: PaymentMethod;
|
|
386
|
-
trialDays?: number;
|
|
387
|
-
metadata?: Record<string, unknown>;
|
|
388
|
-
workspaceId?: string;
|
|
389
|
-
organizationId?: string;
|
|
390
|
-
}
|
|
391
|
-
interface Subscription {
|
|
392
|
-
id: string;
|
|
393
|
-
customerId: string;
|
|
394
|
-
planId: string;
|
|
395
|
-
status: SubscriptionStatus;
|
|
396
|
-
currentPeriodStart: string;
|
|
397
|
-
currentPeriodEnd: string;
|
|
398
|
-
trialEnd?: string;
|
|
399
|
-
cancelledAt?: string;
|
|
400
|
-
endedAt?: string;
|
|
401
|
-
metadata?: Record<string, unknown>;
|
|
402
|
-
workspaceId?: string;
|
|
403
|
-
organizationId?: string;
|
|
404
|
-
createdAt: string;
|
|
405
|
-
updatedAt: string;
|
|
406
|
-
}
|
|
407
|
-
interface Plan {
|
|
408
|
-
id: string;
|
|
409
|
-
name: string;
|
|
410
|
-
description?: string;
|
|
411
|
-
amount: number;
|
|
412
|
-
currency: string;
|
|
413
|
-
interval: 'day' | 'week' | 'month' | 'year';
|
|
414
|
-
intervalCount: number;
|
|
415
|
-
features?: string[];
|
|
416
|
-
metadata?: Record<string, unknown>;
|
|
417
|
-
active: boolean;
|
|
418
|
-
createdAt: string;
|
|
419
|
-
}
|
|
420
|
-
interface GetPaymentsOptions {
|
|
421
|
-
customerId?: string;
|
|
422
|
-
status?: PaymentStatus;
|
|
423
|
-
workspaceId?: string;
|
|
424
|
-
organizationId?: string;
|
|
425
|
-
startDate?: string;
|
|
426
|
-
endDate?: string;
|
|
427
|
-
limit?: number;
|
|
428
|
-
offset?: number;
|
|
429
|
-
}
|
|
430
|
-
declare class PaymentsModule {
|
|
431
|
-
private client;
|
|
432
|
-
private context;
|
|
433
|
-
constructor(client: BurdenoffGraphQLClient, context: SDKContext);
|
|
434
|
-
createPayment(options: CreatePaymentOptions): Promise<Payment>;
|
|
435
|
-
getPayment(paymentId: string): Promise<Payment>;
|
|
436
|
-
getPayments(options: GetPaymentsOptions): Promise<{
|
|
437
|
-
payments: Payment[];
|
|
438
|
-
total: number;
|
|
439
|
-
}>;
|
|
440
|
-
refundPayment(paymentId: string, amount?: number, reason?: string): Promise<Payment>;
|
|
441
|
-
verifyPayment(paymentId: string, verificationData: Record<string, unknown>): Promise<{
|
|
442
|
-
verified: boolean;
|
|
443
|
-
status: PaymentStatus;
|
|
444
|
-
}>;
|
|
445
|
-
createSubscription(options: CreateSubscriptionOptions): Promise<Subscription>;
|
|
446
|
-
getSubscription(subscriptionId: string): Promise<Subscription>;
|
|
447
|
-
cancelSubscription(subscriptionId: string, cancelAtPeriodEnd?: boolean): Promise<Subscription>;
|
|
448
|
-
getCustomerSubscriptions(customerId: string): Promise<Subscription[]>;
|
|
449
|
-
getPlans(activeOnly?: boolean): Promise<Plan[]>;
|
|
450
|
-
createPaymentIntent(options: {
|
|
451
|
-
amount: number;
|
|
452
|
-
currency: string;
|
|
453
|
-
customerId: string;
|
|
454
|
-
paymentMethod?: PaymentMethod;
|
|
455
|
-
metadata?: Record<string, unknown>;
|
|
456
|
-
}): Promise<{
|
|
457
|
-
clientSecret: string;
|
|
458
|
-
paymentIntentId: string;
|
|
459
|
-
}>;
|
|
460
|
-
getPaymentStats(options?: {
|
|
461
|
-
startDate?: string;
|
|
462
|
-
endDate?: string;
|
|
463
|
-
workspaceId?: string;
|
|
464
|
-
}): Promise<{
|
|
465
|
-
totalRevenue: number;
|
|
466
|
-
totalPayments: number;
|
|
467
|
-
successfulPayments: number;
|
|
468
|
-
failedPayments: number;
|
|
469
|
-
refundedAmount: number;
|
|
470
|
-
averagePaymentAmount: number;
|
|
471
|
-
}>;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
type HeaderValue = string | string[] | undefined;
|
|
475
|
-
interface BootstrapConfig extends SDKConfig {
|
|
476
|
-
database?: DatabaseConfig;
|
|
477
|
-
healthCheck?: boolean;
|
|
478
|
-
healthCheckInterval?: number;
|
|
479
|
-
modules?: string[];
|
|
480
|
-
environment?: 'development' | 'staging' | 'production';
|
|
481
|
-
serviceName?: string;
|
|
482
|
-
serviceVersion?: string;
|
|
483
|
-
healthCheckPort?: number;
|
|
484
|
-
}
|
|
485
|
-
interface BootstrapResult {
|
|
486
|
-
success: boolean;
|
|
487
|
-
serviceName: string;
|
|
488
|
-
serviceVersion: string;
|
|
489
|
-
environment: string;
|
|
490
|
-
startedAt: string;
|
|
491
|
-
modules: string[];
|
|
492
|
-
databaseConnected: boolean;
|
|
493
|
-
healthCheckEnabled: boolean;
|
|
494
|
-
}
|
|
495
|
-
interface BootstrapHealthCheckResult {
|
|
496
|
-
healthy: boolean;
|
|
497
|
-
checks: {
|
|
498
|
-
database?: boolean;
|
|
499
|
-
graphql?: boolean;
|
|
500
|
-
memory?: {
|
|
501
|
-
used: number;
|
|
502
|
-
total: number;
|
|
503
|
-
percentage: number;
|
|
504
|
-
};
|
|
505
|
-
uptime?: number;
|
|
506
|
-
};
|
|
507
|
-
timestamp: string;
|
|
508
|
-
}
|
|
509
|
-
declare class BootstrapModule {
|
|
510
|
-
private config;
|
|
511
|
-
private startTime;
|
|
512
|
-
private healthCheckInterval?;
|
|
513
|
-
constructor(config: BootstrapConfig);
|
|
514
|
-
bootstrap(): Promise<BootstrapResult>;
|
|
515
|
-
private validateConfiguration;
|
|
516
|
-
private connectDatabase;
|
|
517
|
-
private loadModules;
|
|
518
|
-
private setupHealthChecks;
|
|
519
|
-
performHealthCheck(): Promise<BootstrapHealthCheckResult>;
|
|
520
|
-
private setupSignalHandlers;
|
|
521
|
-
private cleanup;
|
|
522
|
-
getInfo(): {
|
|
523
|
-
serviceName: string;
|
|
524
|
-
serviceVersion: string;
|
|
525
|
-
environment: string;
|
|
526
|
-
uptime: number;
|
|
527
|
-
startedAt: string;
|
|
528
|
-
};
|
|
529
|
-
setupDefaultContext(context: SDKContext): void;
|
|
530
|
-
createContextMiddleware(): (req: {
|
|
531
|
-
headers: Record<string, HeaderValue>;
|
|
532
|
-
user?: unknown;
|
|
533
|
-
}, _res: unknown, next: () => void) => Promise<void>;
|
|
534
|
-
private extractContextFromRequest;
|
|
535
|
-
loadSchema(schemaPath: string): Promise<boolean>;
|
|
536
|
-
onShutdown(callback: () => Promise<void> | void): void;
|
|
537
|
-
isReady(): Promise<boolean>;
|
|
538
|
-
getMetrics(): {
|
|
539
|
-
memory: NodeJS.MemoryUsage;
|
|
540
|
-
uptime: number;
|
|
541
|
-
cpu: NodeJS.CpuUsage;
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
declare function createBootstrap(config: BootstrapConfig): BootstrapModule;
|
|
545
|
-
|
|
1
|
+
import { a as DEFAULT_LAYER_RESOURCES, c as GatewayRetryConfig, d as LayerFullConfig, f as LayerGatewayConfig, i as DEFAULT_GATEWAY_ROUTING, l as GatewayRoutingConfig, m as ServiceLayer, n as DEFAULT_CIRCUIT_BREAKER_CONFIG, o as DEFAULT_LAYER_STREAMS, p as LayerResourceUrls, r as DEFAULT_GATEWAY_RETRY_CONFIG, s as GatewayRequestHeaders, t as CircuitBreakerConfig, u as LayerConfig } from "./layer-BZBZZWeV.js";
|
|
2
|
+
import { _ as TemporalHealthStatus, a as EventQueueSDKConfig, f as SDKConfig, g as SDKShutdownOptions, h as SDKHealthStatus, i as EventQueueHealthStatus, o as LoggerConfig, p as SDKContext, s as LoggerTransport } from "./index-CTTwo9av.js";
|
|
3
|
+
import { c as index_d_exports$17, r as Logger } from "./index-Cot73bdh.js";
|
|
4
|
+
import { ContextManager } from "./context/index.js";
|
|
5
|
+
import { t as AuthModule } from "./index-CHwMhK6v.js";
|
|
6
|
+
import { _ as TenantNotificationsModule, o as NotificationsModule, v as tenant_notifications_d_exports } from "./index-U_tu3zUl.js";
|
|
7
|
+
import { f as RBACDirectiveConfig, h as createRBACDirectiveFromEnv, m as createRBACDirectiveForLayer, o as RBACModule, p as createRBACDirective, u as LayerAwareRBACConfig } from "./index-C_GXXF32.js";
|
|
8
|
+
import { Activity, ActivityActorType, ActivityModule, ActivityOperationUnsupportedError, GetActivitiesOptions, LogActivityOptions } from "./activity/index.js";
|
|
9
|
+
import { C as OrgBillingUsageOperationInput, S as BillingUsageOperationInput, T as WorkspaceBillingUsageOperationInput, b as BillingUsageClient, m as UsageModule, w as QuotaLimit, x as BillingUsageClientConfig } from "./index-CVCyKzhB.js";
|
|
10
|
+
import { r as TrackerModule } from "./index-zd_NPGJo.js";
|
|
11
|
+
import { DatabaseModule } from "./database/index.js";
|
|
12
|
+
import { Zt as IEventPublisher, t as index_d_exports$5, yt as EventsModule } from "./index-FRRaa6h2.js";
|
|
13
|
+
import { i as GraphModule, u as index_d_exports$10 } from "./index-ADmsX0BI.js";
|
|
14
|
+
import { SearchModule } from "./search/index.js";
|
|
15
|
+
import { ExportProductTranslationsOptions, ProductTranslationTree, ProductTranslationsExportResult, TranslationExportFormat, TranslationModule, UpsertProductTranslationsOptions, UpsertProductTranslationsResult } from "./translation/index.js";
|
|
16
|
+
import { PaymentsModule } from "./payments/index.js";
|
|
17
|
+
import { BootstrapModule, createBootstrap } from "./bootstrap/index.js";
|
|
18
|
+
import { a as TemporalWorkerManager, c as TemporalClientFactory, i as TemporalWorkerFactory, l as WorkflowStartOptions, n as TemporalWorker, o as TemporalClient, r as TemporalWorkerConfig, s as TemporalClientConfig, t as TemporalModule } from "./index-CaM9JUcc.js";
|
|
19
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
20
|
+
import { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from "./client/internal-client.js";
|
|
21
|
+
import { a as registerDisposable, i as getRegisteredDisposableCount, n as ShutdownDisposable, o as unregisterDisposable, r as disposeAll, t as index_d_exports$16 } from "./index-Dt1HJPTX.js";
|
|
22
|
+
import { BillingPlanTransport, PlanTier, RESOURCE_CAP_DEFAULTS, ResourceCap, ResourceCapDefaults, ResourceCapExceededError, ResourceCapsConfig, ResourceCapsModule, ResourceName, WorkspaceResourceCapScope, configureResourceCaps, getResourceCaps } from "./resource-caps/index.js";
|
|
23
|
+
import { t as index_d_exports$23 } from "./index-CliOgq6L.js";
|
|
24
|
+
import { t as index_d_exports$24 } from "./index-3KOZ1zN9.js";
|
|
25
|
+
import { t as index_d_exports$8 } from "./index-BGzMYJsm.js";
|
|
26
|
+
import { t as index_d_exports } from "./index-FbXPfen7.js";
|
|
27
|
+
import { o as index_d_exports$1 } from "./index-MArCb8Aq.js";
|
|
28
|
+
import { t as index_d_exports$18 } from "./index-BMIMnp6T.js";
|
|
29
|
+
import { t as index_d_exports$19 } from "./index-C5uEKchX.js";
|
|
30
|
+
import { t as index_d_exports$11 } from "./index-CSRcgkVi.js";
|
|
31
|
+
import { t as index_d_exports$21 } from "./index-BiTzGUZP.js";
|
|
32
|
+
import { s as index_d_exports$25 } from "./index-FKohsiex.js";
|
|
33
|
+
import { C as getLocale, S as getLanguage, T as t, b as Translator, r as index_d_exports$12, w as hasI18n, x as createTranslator, y as I18nCapableContext } from "./index-CPQDMSFS.js";
|
|
34
|
+
import { t as index_d_exports$6 } from "./index-BeVtqGO-.js";
|
|
35
|
+
import { n as index_d_exports$13 } from "./index-DqbGqfAy.js";
|
|
36
|
+
import { p as index_d_exports$4 } from "./index-DGgh9DWn.js";
|
|
37
|
+
import { a as index_d_exports$14 } from "./index-B2LCaK0R.js";
|
|
38
|
+
import { a as index_d_exports$15 } from "./index-CDOqxSIi.js";
|
|
39
|
+
import { t as index_d_exports$3 } from "./index-BVOL7458.js";
|
|
40
|
+
import { t as index_d_exports$9 } from "./index-YOShAwkq.js";
|
|
41
|
+
import { t as index_d_exports$7 } from "./index-BcqQs-Uq.js";
|
|
42
|
+
import { a as index_d_exports$2, c as verifyCaptchaIfEnabled, n as RecaptchaVerifyResult, o as isCaptchaEnabled, s as verifyCaptcha, t as RecaptchaVerifyOptions } from "./index-yBSjMY32.js";
|
|
43
|
+
import { t as index_d_exports$20 } from "./index-DY3dNhMN.js";
|
|
44
|
+
import { B as validateUsername, D as assertRbacCoverage, E as analyzeRbacCoverage, F as validateUserFields, G as lengthInCodePoints, H as NAME_MIN_LENGTH, I as USERNAME_MAX_LENGTH, K as validateName, L as USERNAME_MIN_LENGTH, M as UserFieldKey, N as UserFieldsValidationResult, P as ValidatedUserFields, R as UsernameErrorCode, U as NameErrorCode, V as NAME_MAX_LENGTH, W as NameValidationResult, _ as RbacCoverageError, b as RbacCoverageSource, j as UserFieldError, t as index_d_exports$26, v as RbacCoverageOptions, y as RbacCoverageReport, z as UsernameValidationResult } from "./index-CIgoeobA.js";
|
|
45
|
+
import { A as normalizeTemplateKey, C as isSameTemplateKey, D as normalizeProductSlug, E as normalizeGraphQLName, F as templateKeyVariants, I as toCurrentName, L as toLegacyName, M as quotaKeyVariants, N as rbacResourceVariants, O as normalizeQuotaKey, P as readRenamedEnv, S as isSameRbacResource, T as normalizeBillingId, _ as isSameBillingId, a as ProductRename, b as isSameProductSlug, c as billingIdVariants, d as emitProductSlug, f as emitQuotaKey, g as isLegacyName, h as index_d_exports$22, i as PRODUCT_SLUG_ALIASES, j as productSlugVariants, k as normalizeRbacResource, l as emitBillingId, m as emitTemplateKey, n as PRODUCT_RENAMES, o as RENAME_CONCERNS, p as emitRbacResource, r as PRODUCT_RENAME_EMIT, s as RenameConcern, t as EmitGeneration, u as emitName, v as isSameGraphQLName, w as nameVariants, x as isSameQuotaKey, y as isSameName } from "./index-BBqooJ52.js";
|
|
546
46
|
interface TenantBackendClientConfig {
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}
|
|
551
|
-
declare class TenantBackendClient {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
}
|
|
562
|
-
declare function createTenantBackendClient(config: TenantBackendClientConfig): TenantBackendClient;
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
declare function createSDK(config: SDKConfig, context?: SDKContext): BurdenoffSDK;
|
|
609
|
-
|
|
610
|
-
export { ActivityModule, AuthModule, BootstrapModule, BurdenoffGraphQLClient, BurdenoffSDK, ContextManager, DatabaseModule, EventQueueHealthStatus, EventsModule, type ExportProductTranslationsOptions, GraphModule, NotificationsModule, PaymentsModule, type ProductTranslationTree, type ProductTranslationsExportResult, RBACModule, SDKConfig, SDKContext, SDKHealthStatus, SDKShutdownOptions, SearchModule, TemporalHealthStatus, TemporalModule, TenantBackendClient, type TenantBackendClientConfig, TrackerModule, type TranslationExportFormat, TranslationModule, type UpsertProductTranslationsOptions, type UpsertProductTranslationsResult, UsageModule, createBootstrap, createSDK, createTenantBackendClient, BurdenoffSDK as default };
|
|
47
|
+
tenantBackendUrl: string;
|
|
48
|
+
workspacesBackendUrl?: string;
|
|
49
|
+
apiKey?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare class TenantBackendClient {
|
|
52
|
+
private graphqlClient;
|
|
53
|
+
private config;
|
|
54
|
+
readonly notifications: TenantNotificationsModule;
|
|
55
|
+
constructor(config: TenantBackendClientConfig);
|
|
56
|
+
setAuthToken(token: string): void;
|
|
57
|
+
query<T>(query: string, variables?: Record<string, unknown>): Promise<T>;
|
|
58
|
+
healthCheck(): Promise<boolean>;
|
|
59
|
+
getClient(): BurdenoffGraphQLClient;
|
|
60
|
+
getConfig(): TenantBackendClientConfig;
|
|
61
|
+
}
|
|
62
|
+
export declare function createTenantBackendClient(config: TenantBackendClientConfig): TenantBackendClient;
|
|
63
|
+
export declare class BurdenoffSDK {
|
|
64
|
+
private client;
|
|
65
|
+
private defaultContext;
|
|
66
|
+
private eventPublisher;
|
|
67
|
+
private eventPublisherInitPromise;
|
|
68
|
+
private eventQueueConfig;
|
|
69
|
+
private initializationPromise;
|
|
70
|
+
private isShuttingDown;
|
|
71
|
+
readonly auth: AuthModule;
|
|
72
|
+
readonly notifications: NotificationsModule;
|
|
73
|
+
readonly tenantNotifications: TenantNotificationsModule;
|
|
74
|
+
readonly rbac: RBACModule;
|
|
75
|
+
readonly activity: ActivityModule;
|
|
76
|
+
readonly usage: UsageModule;
|
|
77
|
+
readonly tracker: TrackerModule;
|
|
78
|
+
readonly database: typeof DatabaseModule;
|
|
79
|
+
readonly events: EventsModule;
|
|
80
|
+
readonly graph: GraphModule;
|
|
81
|
+
readonly search: SearchModule;
|
|
82
|
+
readonly translation: TranslationModule;
|
|
83
|
+
readonly payments: PaymentsModule;
|
|
84
|
+
private _temporal;
|
|
85
|
+
private _temporalPromise;
|
|
86
|
+
private _temporalConfig;
|
|
87
|
+
getTemporalModule(): Promise<TemporalModule>;
|
|
88
|
+
private loadTemporalModule;
|
|
89
|
+
readonly logger: Logger;
|
|
90
|
+
readonly context: typeof ContextManager;
|
|
91
|
+
constructor(config: SDKConfig, defaultContext?: SDKContext);
|
|
92
|
+
private scheduleBackgroundInit;
|
|
93
|
+
setContext(context: SDKContext): void;
|
|
94
|
+
getContext(): SDKContext | undefined;
|
|
95
|
+
withContext<T>(context: SDKContext, fn: () => Promise<T>): Promise<T>;
|
|
96
|
+
private initializeAsync;
|
|
97
|
+
private initializeEventQueue;
|
|
98
|
+
getEventPublisher(): Promise<IEventPublisher>;
|
|
99
|
+
waitForReady(): Promise<void>;
|
|
100
|
+
isEventQueueHealthy(): Promise<EventQueueHealthStatus>;
|
|
101
|
+
isTemporalHealthy(): Promise<TemporalHealthStatus>;
|
|
102
|
+
getHealthStatus(): Promise<SDKHealthStatus>;
|
|
103
|
+
shutdown(options?: SDKShutdownOptions): Promise<void>;
|
|
104
|
+
static createBootstrap(config: Parameters<typeof createBootstrap>[0]): BootstrapModule;
|
|
105
|
+
}
|
|
106
|
+
export declare function createSDK(config: SDKConfig, context?: SDKContext): BurdenoffSDK;
|
|
107
|
+
export { type Activity, type ActivityActorType, ActivityModule, ActivityOperationUnsupportedError, index_d_exports as AiCredits, AuthModule, type BillingPlanTransport, BillingUsageClient, type BillingUsageClientConfig, type BillingUsageOperationInput, BootstrapModule, BurdenoffGraphQLClient, BurdenoffSDK as default, index_d_exports$1 as Cache, index_d_exports$2 as Captcha, type CircuitBreakerConfig, ContextManager, index_d_exports$3 as Crypto, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_GATEWAY_RETRY_CONFIG, DEFAULT_GATEWAY_ROUTING, DEFAULT_LAYER_RESOURCES, DEFAULT_LAYER_STREAMS, index_d_exports$4 as DataLoader, DatabaseModule, type EmitGeneration, index_d_exports$5 as EventQueue, type EventQueueHealthStatus, type EventQueueSDKConfig, EventsModule, index_d_exports$6 as Export, type ExportProductTranslationsOptions, index_d_exports$7 as FeatureFlags, index_d_exports$8 as Files, index_d_exports$9 as Gateway, type GatewayRequestHeaders, type GatewayRetryConfig, type GatewayRoutingConfig, type GetActivitiesOptions, index_d_exports$10 as Graph, GraphModule, index_d_exports$11 as GraphQL, index_d_exports$12 as I18n, type I18nCapableContext, index_d_exports$13 as Init, index_d_exports$14 as Instrumentation, index_d_exports$15 as Layer, type LayerAwareRBACConfig, type LayerConfig, type LayerFullConfig, type LayerGatewayConfig, type LayerResourceUrls, index_d_exports$16 as Lifecycle, type LogActivityOptions, index_d_exports$17 as Logger, type LoggerConfig, type LoggerTransport, index_d_exports$18 as Middleware, NAME_MAX_LENGTH, NAME_MIN_LENGTH, type NameErrorCode, type NameValidationResult, tenant_notifications_d_exports as Notifications, NotificationsModule, index_d_exports$19 as Observability, type OrgBillingUsageOperationInput, PRODUCT_RENAMES, PRODUCT_RENAME_EMIT, PRODUCT_SLUG_ALIASES, PaymentsModule, type PlanTier, index_d_exports$20 as Platform, index_d_exports$21 as Prisma, index_d_exports$22 as ProductAlias, type ProductRename, type ProductTranslationTree, type ProductTranslationsExportResult, type QuotaLimit, type RBACDirectiveConfig, RBACModule, RENAME_CONCERNS, RESOURCE_CAP_DEFAULTS, RbacCoverageError, type RbacCoverageOptions, type RbacCoverageReport, type RbacCoverageSource, type RecaptchaVerifyOptions, type RecaptchaVerifyResult, type RenameConcern, type ResourceCap, type ResourceCapDefaults, ResourceCapExceededError, type ResourceCapsConfig, ResourceCapsModule, type ResourceName, type SDKConfig, type SDKContext, type SDKHealthStatus, type SDKShutdownOptions, SearchModule, type ServiceLayer, index_d_exports$23 as Sharing, type ShutdownDisposable, index_d_exports$24 as Tags, TemporalClient, type TemporalClientConfig, TemporalClientFactory, type TemporalHealthStatus, TemporalModule, TemporalWorker, type TemporalWorkerConfig, TemporalWorkerFactory, TemporalWorkerManager, type TenantBackendClientConfig, TrackerModule, type TranslationExportFormat, TranslationModule, type Translator, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, type UpsertProductTranslationsOptions, type UpsertProductTranslationsResult, UsageModule, type UserFieldError, type UserFieldKey, type UserFieldsValidationResult, type UsernameErrorCode, type UsernameValidationResult, index_d_exports$25 as Utils, type ValidatedUserFields, index_d_exports$26 as Validation, type WorkflowStartOptions, type WorkspaceBillingUsageOperationInput, type WorkspaceResourceCapScope, analyzeRbacCoverage, assertRbacCoverage, billingIdVariants, configureResourceCaps, createBootstrap, createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv, createTranslator, disposeAll, emitBillingId, emitName, emitProductSlug, emitQuotaKey, emitRbacResource, emitTemplateKey, getLanguage, getLocale, getRegisteredDisposableCount, getResourceCaps, hasI18n, isCaptchaEnabled, isLegacyName, isSameBillingId, isSameGraphQLName, isSameName, isSameProductSlug, isSameQuotaKey, isSameRbacResource, isSameTemplateKey, lengthInCodePoints, nameVariants, normalizeBillingId, normalizeGraphQLName, normalizeProductSlug, normalizeQuotaKey, normalizeRbacResource, normalizeTemplateKey, productSlugVariants, quotaKeyVariants, rbacResourceVariants, readRenamedEnv, registerDisposable, t, templateKeyVariants, toCurrentName, toLegacyName, unregisterDisposable, validateName, validateUserFields, validateUsername, verifyCaptcha, verifyCaptchaIfEnabled };
|